Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
Bad eraseblock 1 at 0x00020000
Bad eraseblock 2 at 0x00040000
Bad eraseblock 152 at 0x01300000
Bad eraseblock 571 at 0x04760000
Bad eraseblock 1594 at 0x0c740000
Creating 5 MTD partitions on 'lpc32xx_nand':
0x00000000-0x00180000 : 'smartarm3250-boot'
0x00180000-0x001c0000 : 'smartarm3250-ubt-prms'
0x00200000-0x00600000 : 'smartarm3250-kernel'
0x00600000-0x01600000 : 'smartarm3250-safefs'
0x01600000-0x10000000 : 'smartarm3250-rootfs'
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd4 to ubi0
UBI: MTD device name: 'smartarm3250-rootfs'
UBI: MTD device size: 234 MiB
UBI: number of good PEBs: 1870
UBI: number of bad PEBs: 2
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1870
UBI: number of PEBs reserved for bad PEB handling: 18
UBI: max/mean erase counter: 2/1
UBI: background thread 'ubi_bgt0d' started, PID 262
at25 spi0.0: 32 KByte at25256a eeprom, pagesize 64
mice: PS/2 mouse device common for all mice
input: LPC32xx Touchscreen as /class/input/input0
rtc-lpc32xx rtc-lpc32xx: rtc core: registered rtc-lpc32xx as rtc0
i2c /dev entries driver
PNX4008-WDT: PNX4008 Watchdog Timer: heartbeat 19 sec
mmci-pl18x: DMA buffer(10000 bytes), P:0x839e0000, V:0xffc1a000
mmc0: MMCI rev 0 cfg 00 at 0x0000000020098000 irq 15,13
Advanced Linux Sound Architecture Driver Version 1.0.17.
ASoC version 0.13.2
UDA1380 Audio Codec 0.6<3>i2c-adapter i2c-4: Master timed out. stat = 0000, cntrl = 0000. Resetting master...
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 1 rtc-lpc32xx rtc-lpc32xx: setting system clock to 2033-04-20 18:46:57 UTC (1997635617) UBIFS: mounted UBI device 0, volume 0, name 'rootfs' UBIFS: file system size: 237017088 bytes (231462 KiB, 226 MiB, 1837 LEBs) UBIFS: journal size: 11870208 bytes (11592 KiB, 11 MiB, 92 LEBs) UBIFS: default compressor: LZO UBIFS: media format 4, latest format 4 VFS: Mounted root (ubifs filesystem). Freeing init memory: 112K UBIFS: background thread 'ubifs_bgt0_0' started, PID 304 init started: BusyBox v1.11.2 () starting pid 306, tty '': '/etc/rc.d/rcS' Mounting /proc and /sys Starting the hotplug events dispatcher udevd Synthesizing initial hotplug events Setting the hostname to zlg Mounting filesystems mount: mounting usbfs on /proc/bus/usb failed: No such file or directory Running sysctl Setting up networking on loopback device: Setting up networking on eth0: Adding static route for default gateway to 192.168.7.1: Setting nameserver to 192.168.7.1 in /etc/resolv.conf: Starting inetd: Starting the port mapper: Starting the ssh server: starting pid 605, tty '': '-/bin/sh' [root@zlg /]# [root@zlg /]# ls bin etc linuxrc proc sys usr boot home mnt root tmp var dev lib opt sbin ubifs [root@zlg /]# df Filesystem 1k-blocks Used Available Use% Mounted on rootfs 217224 68612 143552 32% / ubi0:rootfs 217224 68612 143552 32% / tmpfs 30636 24 30612 0% /dev shm 30636 0 30636 0% /dev/shm rwfs 512 0 512 0% /mnt/rwfs 与YAFFS2测试对比: 从NAND FLASH中读取和复制一个文件,同样大小,分别使用YAFFS2和UBIFS系统的对比情况: [root@nxp mp3]# ls -la bh_48128.mp3 -rw-r--r-- 1 user user 5689344 Feb 29 2008 bh_48128.mp3 文件大小差不多是5M多。 yaffs2的系统,测试时间是9秒钟: [root@nxp mp3]# time cp bh_48128.mp3 bh_48128-2.mp3 real 0m 9.28s user 0m 0.01s sys 0m 9.26s ubifs系统,测试时间差不多4秒多一点。 [root@zlg mp3]# time cp bh_48128.mp3 bh_48128-2.mp3 real 0m4.130s user 0m0.000s sys 0m2.810s 从这里就可以看出UBIFS速度远比YAFFS2快。 另外,UBIFS还采用了压缩,在PC上大约110MB的rootfs,固化到UBIFS分区后大约60多MB。 UBI和UBIFS的参考链接: http://www.linux-mtd.infradead.org/doc/ubi.html http://www.linux-mtd.infradead.org/doc/ubifs.html
上一篇:Linux定时器的使用
下一篇:LPC3250 ttyS1 发送问题解决办法
推荐阅读最新更新时间:2026-03-04 14:33
- DER-928 - 60W 超紧凑型 USB PD 3.0 充电器,使用 InnoSwitch4-CZ PowiGaN、ClampZero 和 MinE-CAP
- 具有主电池组保护功能的 LTC4419IMSE 三路电源监视器的典型应用电路
- LT6656BCDC-3.3、3.3V 扩展电源范围电压基准的典型应用
- 机顶盒40W、-5V、3.3V、5V、12V交流转直流多路输出电源
- LT8570EMS8E-1 12V 电池稳定器用于 40V 瞬变的典型应用
- EVAL-AD7716EB,22 位数据采集系统评估板
- LTC2297IUP 演示板,MUX 双路 ADC,VDD=+3.0V,40Msps,14Bit,1MHz < AIN< 70MHz
- 具有静音/待机功能的 Tda7293 120V - 100W Dmos 音频放大器的典型高效应用电路
- L4979Md 低压降稳压器的典型应用框图
- Ad586 高精度 5V 基准的典型应用电路



Linux技术手册
非常经典的关于LLC的杨波博士论文
XC6406PP60DL






京公网安备 11010802033920号