I just started using UBI FS on my AM335x EVM. I followed http://processors.wiki.ti.com/index.php/UBIFS_Support to generate ubi.img and flash the FS to NAND.
EVM booted up OK but I saw many UBI related kernel printouts during kernel bootup (see bootup log below). Do they indicate any problem? I didn't see these printouts using UBIFS on DM385 EVM uisng UBIFS.
Thanks,
Bin
######## kernel bootup log ##########
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (a0270765@uda0270765-ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Wed May 9 10:57:58 EDT 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 30480
[ 0.000000] Kernel command line: mem=120M console=ttyO0,115200n8 noinitrd rootwait=1 rw ubi.mtd=7,2048 rootfstype=ubifs root=ubi0:rootfs init=/init ip=dhcp
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 120MB = 120MB total
[ 0.000000] Memory: 115360k/115360k available, 7520k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8000000 - 0xff000000 ( 880 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc7800000 ( 120 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc057c000 (5584 kB)
[ 0.000000] .init : 0xc057c000 - 0xc05b9000 ( 244 kB)
[ 0.000000] .data : 0xc05ba000 - 0xc0617fc0 ( 376 kB)
[ 0.000000] .bss : 0xc0617fe4 - 0xc0644d64 ( 180 kB)
[ 0.000000] NR_IRQS:396
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.058929] pid_max: default: 32768 minimum: 301
[ 0.059051] Security Framework initialized
[ 0.059143] Mount-cache hash table entries: 512
[ 0.059539] CPU: Testing write buffer coherency: ok
[ 0.079498] omap_hwmod: gfx: failed to hardreset
[ 0.095733] omap_hwmod: pruss: failed to hardreset
[ 0.096832] print_constraints: dummy:
[ 0.097198] NET: Registered protocol family 16
[ 0.099334] OMAP GPIO hardware version 0.1
[ 0.101928] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.104095] omap_i2c.1: alias fck already exists
[ 0.104980] omap2_mcspi.1: alias fck already exists
[ 0.105194] omap2_mcspi.2: alias fck already exists
[ 0.105468] edma.0: alias fck already exists
[ 0.105468] edma.0: alias fck already exists
[ 0.105499] edma.0: alias fck already exists
[ 0.130126] bio: create slab <bio-0> at 0
[ 0.132324] SCSI subsystem initialized
[ 0.133911] usbcore: registered new interface driver usbfs
[ 0.134216] usbcore: registered new interface driver hub
[ 0.134399] usbcore: registered new device driver usb
[ 0.134704] registerd cppi-dma Intr @ IRQ 17
[ 0.134704] Cppi41 Init Done Qmgr-base(c803a000) dma-base(c8038000)
[ 0.134735] Cppi41 Init Done
[ 0.134765] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.135070] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.136169] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.138000] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.140411] print_constraints: VRTC:
[ 0.141876] print_constraints: VIO: at 1800 mV
[ 0.144165] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
[ 0.146453] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[ 0.147430] print_constraints: VDD3: 5000 mV
[ 0.148834] print_constraints: VDIG1: at 1800 mV
[ 0.150299] print_constraints: VDIG2: at 1800 mV
[ 0.151702] print_constraints: VPLL: at 1800 mV
[ 0.153137] print_constraints: VDAC: at 1800 mV
[ 0.154541] print_constraints: VAUX1: at 1800 mV
[ 0.155975] print_constraints: VAUX2: at 3300 mV
[ 0.157379] print_constraints: VAUX33: at 3300 mV
[ 0.158813] print_constraints: VMMC: at 3300 mV
[ 0.159332] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.160217] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.161376] Switching to clocksource gp timer
[ 0.176757] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.176940] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.178100] musb-hdrc musb-hdrc.0: USB OTG mode controller at c801c000 using DMA, IRQ 18
[ 0.178283] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.178955] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.179077] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.179199] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.179229] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.179229] usb usb1: Product: MUSB HDRC host driver
[ 0.179229] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.179260] usb usb1: SerialNumber: musb-hdrc.1
[ 0.180023] hub 1-0:1.0: USB hub found
[ 0.180053] hub 1-0:1.0: 1 port detected
[ 0.180572] musb-hdrc musb-hdrc.1: USB Host mode controller at c801e800 using DMA, IRQ 19
[ 0.180999] NET: Registered protocol family 2
[ 0.181213] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.181579] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.181671] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.181732] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.181762] TCP reno registered
[ 0.181762] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.181793] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.181976] NET: Registered protocol family 1
[ 0.182220] RPC: Registered named UNIX socket transport module.
[ 0.182250] RPC: Registered udp transport module.
[ 0.182250] RPC: Registered tcp transport module.
[ 0.182250] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.182525] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.189697] VFS: Disk quotas dquot_6.5.2
[ 0.189758] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.190307] msgmni has been set to 225
[ 0.191070] io scheduler noop registered
[ 0.191101] io scheduler deadline registered
[ 0.191162] io scheduler cfq registered (default)
[ 0.195007] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.819427] console [ttyO0] enabled
[ 0.823699] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.831512] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.839324] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.847106] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.854888] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.871948] brd: module loaded
[ 0.880065] loop: module loaded
[ 0.883575] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.890014] i2c-core: driver [tsl2550] using legacy resume method
[ 0.896453] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.910369] Detected a daughter card on AM335x EVM..
[ 0.915374] Unknown CPLD version found, falling back to 1.0A
[ 0.921478] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.936645] Board name: A33515BB
[ 0.940032] Board version: 1.0D
[ 0.943298] SKU: SKU#01
[ 0.945983] The board is general purpose EVM in profile 0
[ 0.952117] da8xx_lcdc.0: alias fck already exists
[ 0.957733] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[ 0.981323] Console: switching to colour frame buffer device 100x30
[ 0.996765] TSC connected to alpha GP EVM
[ 1.002319] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 1.007324] Registering NAND on CS0
[ 1.011657] omap_i2c.2: alias fck already exists
[ 1.016967] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[ 1.023620] tsl2550 2-0039: standard operating mode
[ 1.029571] davinci-mcasp.1: alias fck already exists
[ 1.035430] omap_hsmmc.0: alias fck already exists
[ 1.040802] omap_hsmmc.2: alias fck already exists
[ 1.046356] Configure Bluetooth Enable pin...
[ 1.052185] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
[ 1.059783] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
[ 1.088256] lis3lv02d: 8 bits 3DLH sensor found
[ 1.182373] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
[ 1.193237] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.200500] omap2-nand driver initializing
[ 1.205139] ONFI flash detected
[ 1.208526] ONFI param page 0 valid
[ 1.212188] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
[ 1.220764] Creating 8 MTD partitions on "omap2-nand.0":
[ 1.226348] 0x000000000000-0x000000020000 : "SPL"
[ 1.232818] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.239746] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.246673] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.253570] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.260681] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.267547] 0x000000280000-0x000000780000 : "Kernel"
[ 1.276092] 0x000000780000-0x000010000000 : "File System"
[ 1.386108] OneNAND driver initializing
[ 1.390808] UBI: attaching mtd7 to ubi0
[ 1.394866] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.401397] UBI: logical eraseblock size: 126976 bytes
[ 1.407043] UBI: smallest flash I/O unit: 2048
[ 1.411926] UBI: sub-page size: 512
[ 1.416748] UBI: VID header offset: 2048 (aligned 2048)
[ 1.423004] UBI: data offset: 4096
[ 3.537536] UBI: max. sequence number: 99
[ 3.557556] UBI: attached mtd7 to ubi0
[ 3.561492] UBI: MTD device name: "File System"
[ 3.567260] UBI: MTD device size: 248 MiB
[ 3.572448] UBI: number of good PEBs: 1987
[ 3.577362] UBI: number of bad PEBs: 1
[ 3.581970] UBI: number of corrupted PEBs: 0
[ 3.586608] UBI: max. allowed volumes: 128
[ 3.591430] UBI: wear-leveling threshold: 4096
[ 3.596343] UBI: number of internal volumes: 1
[ 3.600952] UBI: number of user volumes: 1
[ 3.605590] UBI: available PEBs: 0
[ 3.610229] UBI: total number of reserved PEBs: 1987
[ 3.615417] UBI: number of PEBs reserved for bad PEB handling: 19
[ 3.621765] UBI: max/mean erase counter: 25/0
[ 3.626312] UBI: image sequence number: 1364140599
[ 3.631530] UBI: background thread "ubi_bgt0d" started, PID 570
[ 3.638397] CAN device driver interface
[ 3.642395] CAN bus driver for Bosch D_CAN controller 1.0
[ 3.692047] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 3.698486] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 3.705718] davinci_mdio.0: probed
[ 3.709259] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 3.716979] usbcore: registered new interface driver zd1201
[ 3.723022] usbcore: registered new interface driver cdc_ether
[ 3.729248] usbcore: registered new interface driver cdc_eem
[ 3.735321] usbcore: registered new interface driver dm9601
[ 3.741180] cdc_ncm: 04-Aug-2011
[ 3.744720] usbcore: registered new interface driver cdc_ncm
[ 3.750610] Initializing USB Mass Storage driver...
[ 3.755950] usbcore: registered new interface driver usb-storage
[ 3.762237] USB Mass Storage support registered.
[ 3.767517] mousedev: PS/2 mouse device common for all mice
[ 3.774322] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
[ 3.783416] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input2
[ 3.791534] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 3.798248] omap_rtc: already running
[ 3.802246] i2c /dev entries driver
[ 3.806488] Linux video capture interface: v2.00
[ 3.811645] usbcore: registered new interface driver uvcvideo
[ 3.817657] USB Video Class driver (1.1.1)
[ 3.822845] lm75 2-0048: hwmon0: sensor 'tmp275'
[ 3.830474] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 3.839019] cpuidle: using governor ladder
[ 3.843811] cpuidle: using governor menu
[ 3.853668] usbcore: registered new interface driver usbhid
[ 3.859497] usbhid: USB HID core driver
[ 3.864349] usbcore: registered new interface driver snd-usb-audio
[ 3.872741] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[ 3.880493] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[ 3.888214] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[ 3.895904] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[ 3.906494] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[ 3.914306] ALSA device list:
[ 3.917449] #0: AM335X EVM
[ 3.920471] oprofile: hardware counters not available
[ 3.925750] oprofile: using timer interrupt.
[ 3.930236] nf_conntrack version 0.5.0 (1802 buckets, 7208 max)
[ 3.936859] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.942565] TCP cubic registered
[ 3.945922] NET: Registered protocol family 17
[ 3.950561] can: controller area network core (rev 20090105 abi 8)
[ 3.957122] NET: Registered protocol family 29
[ 3.961761] can: raw protocol (rev 20090105)
[ 3.966217] can: broadcast manager protocol (rev 20090105 t)
[ 3.972198] Registering the dns_resolver key type
[ 3.977203] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 3.985198] ThumbEE CPU extension supported.
[ 3.989715] mux: Failed to setup hwmod io irq -22
[ 3.995300] Power Management for AM33XX family
[ 4.000122] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 4.006805] Copied the M3 firmware to UMEM
[ 4.011108] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
[ 4.028381] clock: disabling unused clocks to save power
[ 4.036102] Detected MACID=40:5f:c2:8b:d6:b6
[ 4.045867] input: gpio-keys as /devices/platform/gpio-keys/input/input3
[ 4.053558] omap_rtc omap_rtc: setting system clock to 2012-04-11 08:31:59 UTC (1334133119)
[ 4.064941]
[ 4.064941] CPSW phy found : id is : 0x4dd074
[ 4.071777] PHY 0:01 not found
[ 4.125091] mmc0: new SDHC card at address e624
[ 4.130523] mmcblk0: mmc0:e624 SD04G 3.69 GiB
[ 4.140228] mmcblk0: p1 p2
[ 6.063293] PHY: 0:00 - Link is Up - 100/Half
[ 6.092620] Sending DHCP requests ., OK
[ 6.113067] IP-Config: Got DHCP answer from 0.0.0.0, my address is 158.218.104.196
[ 6.121398] IP-Config: Complete:
[ 6.124786] device=eth0, addr=158.218.104.196, mask=255.255.255.0, gw=158.218.104.1,
[ 6.133087] host=158.218.104.196, domain=am.dhcp.ti.com, nis-domain=(none),
[ 6.140808] bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
[ 6.253448] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 6.259735] UBIFS: file system size: 199225344 bytes (194556 KiB, 189 MiB, 1569 LEBs)
[ 6.268127] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[ 6.275756] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 6.281829] UBIFS: default compressor: lzo
[ 6.286102] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 6.293670] VFS: Mounted root (ubifs filesystem) on device 0:13.
[ 6.300354] Freeing init memory: 244K
[ 6.304779] Failed to execute /init. Attempting defaults...
INIT: version 2.86 booting
[ 6.667297] UBI: scrubbed PEB 23 (LEB 0:21), data moved to PEB 680
[ 6.835296] UBI: run torture test for PEB 162
[ 7.162445] UBI: PEB 162 passed torture test, do not mark it as bad
[ 7.302917] UBI: run torture test for PEB 162
[ 7.629150] UBI: PEB 162 passed torture test, do not mark it as bad
[ 7.753234] UBI: run torture test for PEB 162
[ 8.079589] UBI: PEB 162 passed torture test, do not mark it as bad
[ 8.219238] UBI: scrubbed PEB 666 (LEB 0:23), data moved to PEB 162
[ 8.397125] UBI: scrubbed PEB 682 (LEB 0:116), data moved to PEB 666
[ 8.533630] UBI: run torture test for PEB 682
[ 8.863555] UBI: PEB 682 passed torture test, do not mark it as bad
[ 9.007232] UBI: run torture test for PEB 682
[ 9.334716] UBI: PEB 682 passed torture test, do not mark it as bad
[ 9.462677] UBI: run torture test for PEB 682
[ 9.789459] UBI: PEB 682 passed torture test, do not mark it as bad
[ 9.923095] UBI: run torture test for PEB 682
[ 10.249755] UBI: PEB 682 passed torture test, do not mark it as bad
[ 10.383270] UBI: scrubbed PEB 164 (LEB 0:113), data moved to PEB 682
Please wait: booting...
Starting udev
[ 10.693115] UBI: scrubbed PEB 675 (LEB 0:97), data moved to PEB 164
[ 10.848876] udevd (707): /proc/707/oom_adj is deprecated, please use /proc/707/oom_score_adj instead.
[ 14.652862] FAT-fs (mmcblk0): bogus number of reserved sectors
[ 14.658966] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
[ 15.301116] kjournald starting. Commit interval 5 seconds
[ 15.307006] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[ 15.328308] EXT3-fs (mmcblk0p2): using internal journal
[ 15.333831] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 15.388519] alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode.
Root filesystem already rw, not remounting
Caching udev devnodes
ALSA: Restoring mixer settings...
Configuring network interfaces... udhcpc (v1.13.2) started
[ 16.237609] UBI: run torture test for PEB 675
[ 16.564453] UBI: PEB 675 passed torture test, do not mark it as bad
[ 16.692687] UBI: run torture test for PEB 675
[ 17.021575] UBI: PEB 675 passed torture test, do not mark it as bad
[ 17.201354] UBI: scrubbed PEB 130 (LEB 0:46), data moved to PEB 675
Sending discover...
Sending select for 158.218.104.196...
Lease of 158.218.104.196 obtained, lease time 3600
adding dns 158.218.108.21
adding dns 157.170.32.67
done.
Setting up IP spoofing protection: rp_filter.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
[ 18.550506] UBI: run torture test for PEB 130
[ 18.878234] UBI: PEB 130 passed torture test, do not mark it as bad
[ 18.989959] UBI: run torture test for PEB 130
[ 19.316131] UBI: PEB 130 passed torture test, do not mark it as bad
[ 19.429260] UBI: scrubbed PEB 139 (LEB 0:112), data moved to PEB 130
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am335x-evm ttyO0
Arago 2011.09 am335x-evm ttyO0
am335x-evm login: