Tool/software: Linux
Hi Team,
My cusotmer is using AM3352 with SDK7.0, but met the UBIFS issue. However, with SDK 6.0, there's no issue.
I tried to reproduced this on the GPEVM, and saw it. The reproducing steps are shown as below:
1. Follow the UBIFS user guide to make an ubi.img according to the NAND flash used on the GPEVM.
2. Make a SDK7.0 booting SD card. Copy the ubi.img to the SD card to flash to the NAND.
3. Set the GPEVM to boot from SD card. Then in the uboot stage, flash the ubi.img to the NAND FS layout.
4. Boot the GPEVM to the kernel stage, then use "ubiattach" to mount the ubi.img
The test result showed that, in the SDK 7.0, it failed with below prompt.
root@am335x-evm:~# ubiattach /dev/ubi_ctrl -m 9
[ 60.372124] UBI: attaching mtd9 to ubi0
[ 60.376715] UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512
[ 60.384604] UBI error: validate_ec_hdr: bad EC header
[ 60.389951] Erase counter header dump:
[ 60.393928] magic 0x55424923
[ 60.397884] version 1
[ 60.401029] ec 0
[ 60.404163] vid_hdr_offset 2048
[ 60.407568] data_offset 4096
[ 60.410998] image_seq 25281982
[ 60.414770] hdr_crc 0x51f8cb19
[ 60.418729] erase counter header hexdump:
[ 60.423017] CPU: 0 PID: 1622 Comm: ubiattach Tainted: G O 3.12.10-ti2013.12.01 #1
[ 60.431853] Backtrace:
[ 60.434473] [<c0017880>] (dump_backtrace+0x0/0x10c) from [<c0017a1c>] (show_stack+0x18/0x1c)
[ 60.443401] r6:dd4d7800 r5:00000000 r4:00000000 r3:00000000
[ 60.449414] [<c0017a04>] (show_stack+0x0/0x1c) from [<c056b5b0>] (dump_stack+0x20/0x28)
[ 60.457897] [<c056b590>] (dump_stack+0x0/0x28) from [<c03ab05c>] (validate_ec_hdr+0x128/0x184)
[ 60.467028] [<c03aaf34>] (validate_ec_hdr+0x0/0x184) from [<c03abcc0>] (ubi_io_read_ec_hdr+0x164/0x238)
[ 60.476974] [<c03abb5c>] (ubi_io_read_ec_hdr+0x0/0x238) from [<c03b049c>] (ubi_attach+0x148/0x149c)
[ 60.486565] [<c03b0354>] (ubi_attach+0x0/0x149c) from [<c03a5f5c>] (ubi_attach_mtd_dev+0x5d0/0xbc4)
[ 60.496146] [<c03a598c>] (ubi_attach_mtd_dev+0x0/0xbc4) from [<c03a6794>] (ctrl_cdev_ioctl+0xd4/0x190)
[ 60.506005] [<c03a66c0>] (ctrl_cdev_ioctl+0x0/0x190) from [<c00e0ee0>] (do_vfs_ioctl+0x84/0x578)
[ 60.515299] r7:00000000 r6:40186f40 r5:00000003 r4:00005452
[ 60.521313] [<c00e0e5c>] (do_vfs_ioctl+0x0/0x578) from [<c00e1448>] (SyS_ioctl+0x74/0x84)
[ 60.529970] [<c00e13d4>] (SyS_ioctl+0x0/0x84) from [<c0014660>] (ret_fast_syscall+0x0/0x30)
[ 60.538809] UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
[ 60.547722] UBI error: ubi_attach_mtd_dev: failed to attach mtd9, error -22
ubiattach: error!: cannot attach mtd9
error 22 (Invalid argument)
However, in the SDK 6.0, it could succeed without issues.
root@am335x-evm:~# ubiattach /dev/ubi_ctrl -m 7
[ 60.047454] UBI: attaching mtd7 to ubi0
[ 60.051605] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 60.058166] UBI: logical eraseblock size: 126976 bytes
[ 60.063812] UBI: smallest flash I/O unit: 2048
[ 60.068756] UBI: VID header offset: 2048 (aligned 2048)
[ 60.075012] UBI: data offset: 4096
[ 61.295532] UBI: max. sequence number: 0
[ 61.332672] UBI: volume 0 ("rootfs") re-sized from 1958 to 1965 LEBs
[ 61.343078] UBI: attached mtd7 to ubi0
[ 61.346984] UBI: MTD device name: "File System"
[ 61.352783] UBI: MTD device size: 248 MiB
[ 61.358001] UBI: number of good PEBs: 1988
[ 61.362915] UBI: number of bad PEBs: 0
[ 61.367553] UBI: number of corrupted PEBs: 0
[ 61.372192] UBI: max. allowed volumes: 128
[ 61.377014] UBI: wear-leveling threshold: 4096
[ 61.381927] UBI: number of internal volumes: 1
[ 61.386596] UBI: number of user volumes: 1
[ 61.391235] UBI: available PEBs: 0
[ 61.395874] UBI: total number of reserved PEBs: 1988
[ 61.401062] UBI: number of PEBs reserved for bad PEB handling: 19
[ 61.407440] UBI: max/mean erase counter: 1/0
[ 61.411895] UBI: image sequence number: 25281982
[ 61.417114] UBI: background thread "ubi_bgt0d" started, PID 1685
UBI device number 0, total 1988 LEBs (252428288 bytes, 240.7 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
For the full log of the SDK 6.0 and SDK 7.0, could refer to the attached files.
I searched this issue on the e2e. And found an similiar issue with workaround:
But if using "ubiformat /dev/mtd9", we could mount the UBIFS successfully, but the filesystem would be formatted. The file stored in the UBIFS would lost, this is something we don't want.
Is there any solution for this issue? Customer doesn't want the data in the UBIFS was lost.
CCCCCCCC U-Boot SPL 2013.01.01 (Jun 25 2013 - 16:42:52) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 OMAP SD/MMC: 0 reading u-boot.img reading u-boot.img U-Boot 2013.01.01 (Jun 25 2013 - 16:42:52) I2C: ready DRAM: 1 GiB WARNING: Caches not enabled NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - bad CRC, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 U-Boot# U-Boot# U-Boot# U-Boot# nand info Device 0: nand0, sector size 128 KiB Page size 2048 b OOB size 64 b Erase size 131072 b U-Boot# nand erase.chip NAND erase.chip: device 0 whole chip Erasing at 0xffe0000 -- 100% complete. OK U-Boot# mmc rescan U-Boot# mw.b 0x82000000 0xff 0x1e0000 U-Boot# fatload mmc 0 0x81000000 ubi.img reading ubi.img 2097152 bytes read in 213 ms (9.4 MiB/s) U-Boot# nand write 0x81000000 0x780000 0x1e00000 NAND write: device 0 offset 0x780000, size 0x1e00000 31457280 bytes written: OK U-Boot# boot mmc0 is current device SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** reading uImage 3194336 bytes read in 323 ms (9.4 MiB/s) Booting from mmc ... ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.2.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3194272 Bytes = 3 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 3.2.0 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-203 [ 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] Truncating RAM at 80000000-bfffffff to -af7fffff (vmalloc region overlap). [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] AM335X ES2.1 (sgx neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 193040 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 760MB = 760MB total [ 0.000000] Memory: 764740k/764740k available, 13500k 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 : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0598000 (5696 kB) [ 0.000000] .init : 0xc0598000 - 0xc05d3000 ( 236 kB) [ 0.000000] .data : 0xc05d4000 - 0xc063e430 ( 426 kB) [ 0.000000] .bss : 0xc063e454 - 0xc066d224 ( 188 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.000061] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736) [ 0.089233] pid_max: default: 32768 minimum: 301 [ 0.089324] Security Framework initialized [ 0.089416] Mount-cache hash table entries: 512 [ 0.089752] CPU: Testing write buffer coherency: ok [ 0.109130] omap_hwmod: pruss: failed to hardreset [ 0.110107] print_constraints: dummy: [ 0.110412] NET: Registered protocol family 16 [ 0.112121] OMAP GPIO hardware version 0.1 [ 0.114074] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.115600] omap_i2c.1: alias fck already exists [ 0.116302] omap2_mcspi.1: alias fck already exists [ 0.116455] omap2_mcspi.2: alias fck already exists [ 0.117187] edma.0: alias fck already exists [ 0.117187] edma.0: alias fck already exists [ 0.117218] edma.0: alias fck already exists [ 0.137115] bio: create slab <bio-0> at 0 [ 0.138824] SCSI subsystem initialized [ 0.140167] usbcore: registered new interface driver usbfs [ 0.140411] usbcore: registered new interface driver hub [ 0.140563] usbcore: registered new device driver usb [ 0.140838] registerd cppi-dma Intr @ IRQ 17 [ 0.140838] Cppi41 Init Done Qmgr-base(f007a000) dma-base(f0078000) [ 0.140838] Cppi41 Init Done [ 0.140869] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3 [ 0.141113] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1 [ 0.141967] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz [ 0.143524] tps65910 1-002d: JTAGREVNUM 0x0 [ 0.145782] print_constraints: VRTC: [ 0.147155] print_constraints: VIO: at 1500 mV [ 0.149383] print_constraints: VDD1: 600 <--> 1500 mV at 1325 mV normal [ 0.151611] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal [ 0.152526] print_constraints: VDD3: 5000 mV [ 0.153869] print_constraints: VDIG1: at 1800 mV [ 0.155212] print_constraints: VDIG2: at 1800 mV [ 0.156555] print_constraints: VPLL: at 1800 mV [ 0.157897] print_constraints: VDAC: at 1800 mV [ 0.159271] print_constraints: VAUX1: at 1800 mV [ 0.160614] print_constraints: VAUX2: at 3300 mV [ 0.161956] print_constraints: VAUX33: at 3300 mV [ 0.163299] print_constraints: VMMC: at 3300 mV [ 0.163696] tps65910 1-002d: No interrupt support, no core IRQ [ 0.164764] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.165710] Switching to clocksource gp timer [ 0.177215] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.177368] musb-hdrc musb-hdrc.0: dma type: dma-cppi41 [ 0.177642] MUSB0 controller's USBSS revision = 4ea20800 [ 0.177673] musb0: Enabled SW babble control [ 0.178436] musb-hdrc musb-hdrc.0: USB OTG mode controller at f003c000 using DMA, IRQ 18 [ 0.178558] musb-hdrc musb-hdrc.1: dma type: dma-cppi41 [ 0.178802] MUSB1 controller's USBSS revision = 4ea20800 [ 0.178833] musb1: Enabled SW babble control [ 0.179199] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 0.179260] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 0.179382] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.179382] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.179412] usb usb1: Product: MUSB HDRC host driver [ 0.179412] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd [ 0.179412] usb usb1: SerialNumber: musb-hdrc.1 [ 0.180053] hub 1-0:1.0: USB hub found [ 0.180084] hub 1-0:1.0: 1 port detected [ 0.180541] musb-hdrc musb-hdrc.1: USB Host mode controller at f003e800 using DMA, IRQ 19 [ 0.180877] NET: Registered protocol family 2 [ 0.181060] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.181427] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.183044] TCP bind hash table entries: 65536 (order: 6, 262144 bytes) [ 0.183502] TCP: Hash tables configured (established 131072 bind 65536) [ 0.183532] TCP reno registered [ 0.183532] UDP hash table entries: 512 (order: 1, 8192 bytes) [ 0.183563] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes) [ 0.183715] NET: Registered protocol family 1 [ 0.183929] RPC: Registered named UNIX socket transport module. [ 0.183959] RPC: Registered udp transport module. [ 0.183959] RPC: Registered tcp transport module. [ 0.183959] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.184173] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.209686] VFS: Disk quotas dquot_6.5.2 [ 0.209747] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.210174] msgmni has been set to 1493 [ 0.212799] alg: No test for stdrng (krng) [ 0.213378] io scheduler noop registered [ 0.213378] io scheduler deadline registered [ 0.213439] io scheduler cfq registered (default) [ 0.216705] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 [ 0.873992] console [ttyO0] enabled [ 0.878173] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 [ 0.885894] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 [ 0.893615] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 [ 0.901306] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 [ 0.909027] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 [ 0.917114] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00 [ 0.931152] brd: module loaded [ 0.938079] loop: module loaded [ 0.941497] i2c-core: driver [tsl2550] using legacy suspend method [ 0.947998] i2c-core: driver [tsl2550] using legacy resume method [ 0.954437] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.968322] Detected a daughter card on AM335x EVM.. [ 0.973358] CPLD version: CPLD1.0G [ 0.977233] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.992370] Board name: A33515BB [ 0.995758] Board version: 1.6A [ 0.999023] SKU: SKU#01 [ 1.002105] The board is general purpose EVM in profile 0 [ 1.008636] da8xx_lcdc.0: alias fck already exists [ 1.014099] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel [ 1.035339] Console: switching to colour frame buffer device 100x30 [ 1.050048] omap-gpmc omap-gpmc: GPMC revision 6.0 [ 1.055053] Registering NAND on CS0 [ 1.059326] omap_i2c.2: alias fck already exists [ 1.064544] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz [ 1.070861] tsl2550 2-0039: standard operating mode [ 1.076660] tsl2550 2-0039: support ver. 1.2 enabled [ 1.082366] davinci-mcasp.1: alias fck already exists [ 1.088165] omap_hsmmc.0: alias fck already exists [ 1.093505] omap_hsmmc.2: alias fck already exists [ 1.098876] Configure Bluetooth Enable pin... [ 1.106231] registered am33xx_sr device [ 1.110504] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator [ 1.118103] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator [ 1.146514] lis3lv02d: 8 bits 3DLH sensor found [ 1.236633] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0 [ 1.247985] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.255187] omap2-nand driver initializing [ 1.259826] ONFI flash detected [ 1.263214] ONFI param page 0 valid [ 1.266876] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP) [ 1.275451] Creating 8 MTD partitions on "omap2-nand.0": [ 1.281036] 0x000000000000-0x000000020000 : "SPL" [ 1.287109] 0x000000020000-0x000000040000 : "SPL.backup1" [ 1.293731] 0x000000040000-0x000000060000 : "SPL.backup2" [ 1.300415] 0x000000060000-0x000000080000 : "SPL.backup3" [ 1.307067] 0x000000080000-0x000000260000 : "U-Boot" [ 1.313995] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.320587] 0x000000280000-0x000000780000 : "Kernel" [ 1.328796] 0x000000780000-0x000010000000 : "File System" [ 1.437744] OneNAND driver initializing [ 1.442871] CAN device driver interface [ 1.446899] CAN bus driver for Bosch D_CAN controller 1.0 [ 1.496337] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 [ 1.502807] davinci_mdio davinci_mdio.0: detected phy mask fffffffe [ 1.510162] davinci_mdio.0: probed [ 1.513732] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown [ 1.521392] usbcore: registered new interface driver zd1201 [ 1.527374] usbcore: registered new interface driver cdc_ether [ 1.533599] usbcore: registered new interface driver cdc_eem [ 1.539642] usbcore: registered new interface driver dm9601 [ 1.545501] cdc_ncm: 04-Aug-2011 [ 1.549011] usbcore: registered new interface driver cdc_ncm [ 1.554931] Initializing USB Mass Storage driver... [ 1.560180] usbcore: registered new interface driver usb-storage [ 1.566467] USB Mass Storage support registered. [ 1.571655] mousedev: PS/2 mouse device common for all mice [ 1.578247] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1 [ 1.587036] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input2 [ 1.595397] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0 [ 1.602630] i2c /dev entries driver [ 1.606781] Linux video capture interface: v2.00 [ 1.611846] usbcore: registered new interface driver uvcvideo [ 1.617858] USB Video Class driver (1.1.1) [ 1.622955] lm75 2-0048: hwmon0: sensor 'tmp275' [ 1.887176] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.895538] cpuidle: using governor ladder [ 1.900207] cpuidle: using governor menu [ 1.907897] omap4_aes_mod_init: loading AM33X AES driver [ 1.913574] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02 [ 1.920288] omap4_aes_probe: probe() done [ 1.924682] omap4_sham_mod_init: loading AM33X SHA/MD5 driver [ 1.930847] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03 [ 1.947753] omap4_sham_probe: probe() done [ 1.954010] usbcore: registered new interface driver usbhid [ 1.959869] usbhid: USB HID core driver [ 1.964447] tiadc tiadc: attached adc driver [ 1.969573] usbcore: registered new interface driver snd-usb-audio [ 1.977752] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator [ 1.985565] _regulator_get: 2-001b supply DVDD not found, using dummy regulator [ 1.993286] _regulator_get: 2-001b supply AVDD not found, using dummy regulator [ 2.000976] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator [ 2.010955] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok [ 2.018585] ALSA device list: [ 2.021728] #0: AM335X EVM [ 2.024719] oprofile: hardware counters not available [ 2.030029] oprofile: using timer interrupt. [ 2.034515] nf_conntrack version 0.5.0 (11949 buckets, 47796 max) [ 2.041503] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.047180] TCP cubic registered [ 2.050567] NET: Registered protocol family 17 [ 2.055206] can: controller area network core (rev 20090105 abi 8) [ 2.061737] NET: Registered protocol family 29 [ 2.066406] can: raw protocol (rev 20090105) [ 2.070861] can: broadcast manager protocol (rev 20090105 t) [ 2.076812] Registering the dns_resolver key type [ 2.081817] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 2.089843] ThumbEE CPU extension supported. [ 2.094360] mux: Failed to setup hwmod io irq -22 [ 2.099884] Power Management for AM33XX family [ 2.104736] Trying to load am335x-pm-firmware.bin (60 secs timeout) [ 2.111450] Copied the M3 firmware to UMEM [ 2.115783] Cortex M3 Firmware Version = 0x181 [ 2.122192] create_regulator: VDD1: Failed to create debugfs directory [ 2.130584] smartreflex smartreflex: am33xx_sr_probe: Driver initialized [ 2.145050] clock: disabling unused clocks to save power [ 2.151733] mmc0: new high speed SDHC card at address 59b4 [ 2.158813] mmcblk0: mmc0:59b4 USDU1 14.9 GiB [ 2.165191] mmcblk0: p1 p2 [ 2.246643] Detected MACID=d0:39:72:29:46:dc [ 2.252075] cpsw: Detected MACID = d0:39:72:29:46:de [ 2.258911] input: gpio-keys as /devices/platform/gpio-keys/input/input3 [ 2.266540] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801) [ 2.281097] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem [ 2.288238] EXT3-fs (mmcblk0p2): write access will be enabled during recovery [ 2.297760] kjournald starting. Commit interval 5 seconds [ 2.303588] EXT3-fs (mmcblk0p2): recovery complete [ 2.376770] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode [ 2.384033] VFS: Mounted root (ext3 filesystem) readonly on device 179:2. [ 2.391448] Freeing init memory: 236K INIT: version 2.88 booting Starting udev Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory bootlogd. [ 5.785949] EXT3-fs (mmcblk0p2): using internal journal ALSA: Restoring mixer settings... No state is present for card EVM Found hardware: "AM335X_EVM" "" "" "" "" Hardware is initialized using a generic method No state is present for card EVM Configuring network interfaces... [ 6.305572] net eth0: CPSW phy found : id is : 0x4dd074 done. Tue Jun 25 23:09:00 UTC 2013 INIT: Entering runlevel: 5 Starting system message bus: dbus. Starting Dropbear SSH server: dropbear. Starting telnet daemon. Performing wifi calibration... rm: can't remove '/lib/firmware/ti-connectivity/wl1271-nvs.bin': No such file or directory Error: Module wl12xx_sdio is not currently loaded nl80211 not found. [ 6.733612] Disabling lock debugging due to kernel taint Starting network benchmark server: netserver. Starting syslogd/klogd: done Starting thttpd. Starting PVR Starting Lighttpd Web Server: lighttpd. 2013-06-25 23:09:00: (log.c.166) server started / Starting Matrix GUI application. [ 8.866302] gadget: Mass Storage Function, version: 2009/09/11 [ 8.872589] gadget: Number of LUNs=1 [ 8.876434] lun0: LUN: removable file: /dev/mmcblk0p1 [ 8.881835] gadget: Mass Storage Gadget, version: 2009/09/11 [ 8.887878] gadget: userspace failed to provide iSerialNumber [ 8.893981] gadget: g_mass_storage ready [ 8.898193] musb-hdrc musb-hdrc.0: MUSB HDRC host driver [ 8.903808] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2 [ 8.911651] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 8.918762] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 8.926330] usb usb2: Product: MUSB HDRC host driver [ 8.931518] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd [ 8.937072] usb usb2: SerialNumber: musb-hdrc.0 [ 8.942291] hub 2-0:1.0: USB hub found [ 8.946228] hub 2-0:1.0: 1 port detected *************************************************************** *************************************************************** NOTICE: This file system contains the followin GPLv3 packages: binutils-symlinks binutils gdbserver If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** Stopping Bootlog daemon: bootlogd. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyO0 Arago 2013.05 am335x-evm ttyO0 am335x-evm login: root root@am335x-evm:~# ubiattach /dev/ubi_ctrl -m 7 [ 60.047454] UBI: attaching mtd7 to ubi0 [ 60.051605] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 60.058166] UBI: logical eraseblock size: 126976 bytes [ 60.063812] UBI: smallest flash I/O unit: 2048 [ 60.068756] UBI: VID header offset: 2048 (aligned 2048) [ 60.075012] UBI: data offset: 4096 [ 61.295532] UBI: max. sequence number: 0 [ 61.332672] UBI: volume 0 ("rootfs") re-sized from 1958 to 1965 LEBs [ 61.343078] UBI: attached mtd7 to ubi0 [ 61.346984] UBI: MTD device name: "File System" [ 61.352783] UBI: MTD device size: 248 MiB [ 61.358001] UBI: number of good PEBs: 1988 [ 61.362915] UBI: number of bad PEBs: 0 [ 61.367553] UBI: number of corrupted PEBs: 0 [ 61.372192] UBI: max. allowed volumes: 128 [ 61.377014] UBI: wear-leveling threshold: 4096 [ 61.381927] UBI: number of internal volumes: 1 [ 61.386596] UBI: number of user volumes: 1 [ 61.391235] UBI: available PEBs: 0 [ 61.395874] UBI: total number of reserved PEBs: 1988 [ 61.401062] UBI: number of PEBs reserved for bad PEB handling: 19 [ 61.407440] UBI: max/mean erase counter: 1/0 [ 61.411895] UBI: image sequence number: 25281982 [ 61.417114] UBI: background thread "ubi_bgt0d" started, PID 1685 UBI device number 0, total 1988 LEBs (252428288 bytes, 240.7 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB) root@am335x-evm:~#
CCCCC U-Boot SPL 2013.10-g78d8ebd (Mar 30 2014 - 20:46:34) reading args spl: error reading image args, err - -1 reading u-boot.img reading u-boot.img U-Boot 2013.10-g78d8ebd (Mar 30 2014 - 20:46:34) I2C: ready DRAM: 512 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - bad CRC, using default environment Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 U-Boot# U-Boot# U-Boot# nand erase.chip NAND erase.chip: device 0 whole chip Erasing at 0xffe0000 -- 100% complete. OK U-Boot# mmc rescan U-Boot# fatload mmc 0 0x81000000 ubi.img reading ubi.img 2097152 bytes read in 133 ms (15 MiB/s) U-Boot# nand write 0x81000000 0xa00000 0x1e00000 NAND write: device 0 offset 0xa00000, size 0x1e00000 31457280 bytes written: OK U-Boot# pri mtdparts mtdparts=mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.rootfs) U-Boot# boot mmc0 is current device Scanning mmc 0... 4117616 bytes read in 290 ms (13.5 MiB/s) 41564 bytes read in 38 ms (1 MiB/s) mmc0 is current device SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** 4117616 bytes read in 289 ms (13.6 MiB/s) 41564 bytes read in 38 ms (1 MiB/s) Kernel image @ 0x80200000 [ 0x000000 - 0x3ed470 ] ## Flattened Device Tree blob at 80f80000 Booting using the fdt blob at 0x80f80000 Loading Device Tree to 9f31f000, end 9f32c25b ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.12.10-ti2013.12.01 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Sun Mar 30 20:55:31 CDT 2014 [ 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: Generic AM33XX (Flattened Device Tree), model: TI AM335x EVM [ 0.000000] cma: CMA: reserved 24 MiB at 9d800000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES1.0 (sgx neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129280 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 483332K/521216K available (5555K kernel code, 559K rwdata, 1876K rodata, 345K init, 225K bss, 37884K 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 : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc074a04c (7433 kB) [ 0.000000] .init : 0xc074b000 - 0xc07a15f0 ( 346 kB) [ 0.000000] .data : 0xc07a2000 - 0xc082ddd8 ( 560 kB) [ 0.000000] .bss : 0xc082ddd8 - 0xc0866400 ( 226 kB) [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 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: timer2 at 24000000 Hz [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] OMAP clocksource: timer1 at 24000000 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000322] Calibrating delay loop... 479.23 BogoMIPS (lpj=2396160) [ 0.119717] pid_max: default: 32768 minimum: 301 [ 0.119829] Security Framework initialized [ 0.119881] Mount-cache hash table entries: 512 [ 0.129080] CPU: Testing write buffer coherency: ok [ 0.129501] Setting up static identity map for 0xc0572e68 - 0xc0572ed8 [ 0.130483] devtmpfs: initialized [ 0.132216] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.194589] omap_hwmod: debugss: _wait_target_disable failed [ 0.195335] pinctrl core: initialized pinctrl subsystem [ 0.196216] regulator-dummy: no parameters [ 0.198690] NET: Registered protocol family 16 [ 0.201067] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.203775] cpuidle: using governor ladder [ 0.203791] cpuidle: using governor menu [ 0.212577] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt! [ 0.213695] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt! [ 0.214950] OMAP GPIO hardware version 0.1 [ 0.224448] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_default, deferring probe [ 0.224481] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral [ 0.224865] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt! [ 0.228904] DSS not supported on this SoC [ 0.228925] No ATAGs? [ 0.228936] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.253313] bio: create slab <bio-0> at 0 [ 0.268155] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.269061] vbat: 5000 mV [ 0.269458] lis3_reg: no parameters [ 0.269979] wlan-en-regulator: 1800 mV [ 0.273240] vgaarb: loaded [ 0.274536] SCSI subsystem initialized [ 0.275918] usbcore: registered new interface driver usbfs [ 0.276102] usbcore: registered new interface driver hub [ 0.276312] usbcore: registered new device driver usb [ 0.277320] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe [ 0.277349] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral [ 0.277378] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe [ 0.277394] platform 4802a000.i2c: Driver omap_i2c requests probe deferral [ 0.277649] media: Linux media interface: v0.10 [ 0.277828] Linux video capture interface: v2.00 [ 0.278105] pps_core: LinuxPPS API ver. 1 registered [ 0.278116] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.278250] PTP clock support registered [ 0.280924] Switched to clocksource timer1 [ 0.299913] NET: Registered protocol family 2 [ 0.300584] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.300678] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.300730] TCP: Hash tables configured (established 4096 bind 4096) [ 0.300804] TCP: reno registered [ 0.300820] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.300841] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.301128] NET: Registered protocol family 1 [ 0.301540] RPC: Registered named UNIX socket transport module. [ 0.301553] RPC: Registered udp transport module. [ 0.301560] RPC: Registered tcp transport module. [ 0.301567] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.302535] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.303244] PM: Loading am335x-pm-firmware.bin [ 0.459626] VFS: Disk quotas dquot_6.5.2 [ 0.459701] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.460348] NFS: Registering the id_resolver key type [ 0.460438] Key type id_resolver registered [ 0.460448] Key type id_legacy registered [ 0.460496] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 0.460679] msgmni has been set to 992 [ 0.462384] NET: Registered protocol family 38 [ 0.462424] io scheduler noop registered [ 0.462434] io scheduler deadline registered [ 0.462477] io scheduler cfq registered (default) [ 0.464677] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.518533] Console: switching to colour frame buffer device 100x30 [ 0.526026] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.528979] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.176856] console [ttyO0] enabled [ 1.181500] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1 [ 1.192684] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 1.209966] brd: module loaded [ 1.218531] loop: module loaded [ 1.222323] (stk) :sysfs entries created [ 1.226502] (stk) : debugfs entries created [ 1.235603] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.246687] usbcore: registered new interface driver asix [ 1.252666] usbcore: registered new interface driver ax88179_178a [ 1.259313] usbcore: registered new interface driver cdc_ether [ 1.265642] usbcore: registered new interface driver r815x [ 1.271642] usbcore: registered new interface driver smsc95xx [ 1.277895] usbcore: registered new interface driver net1080 [ 1.284025] usbcore: registered new interface driver cdc_subset [ 1.290476] usbcore: registered new interface driver zaurus [ 1.296594] usbcore: registered new interface driver cdc_ncm [ 1.303136] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.310037] ehci-pci: EHCI PCI platform driver [ 1.314979] ehci-omap: OMAP-EHCI Host Controller driver [ 1.321532] usbcore: registered new interface driver cdc_wdm [ 1.327736] usbcore: registered new interface driver usb-storage [ 1.335231] mousedev: PS/2 mouse device common for all mice [ 1.342396] input: matrix_keypad.7 as /devices/matrix_keypad.7/input/input0 [ 1.351946] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/input/input1 [ 1.362462] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 1.370804] i2c /dev entries driver [ 1.375151] Driver for 1-wire Dallas network protocol. [ 1.382952] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.392289] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25 [ 1.399503] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24 [ 1.406860] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517 [ 1.413816] edma-dma-engine edma-dma-engine.0: freeing channel for 24 [ 1.420637] edma-dma-engine edma-dma-engine.0: freeing channel for 25 [ 1.427582] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral [ 1.435330] edma-dma-engine edma-dma-engine.0: allocated channel for 0:13 [ 1.442552] edma-dma-engine edma-dma-engine.0: allocated channel for 0:12 [ 1.523549] omap_hwmod: gpio1: _wait_target_disable failed [ 1.551928] ledtrig-cpu: registered to indicate activity on CPUs [ 1.561811] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36 [ 1.569105] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 1.575219] mmc0: card claims to support voltages below the defined range. These will be ignored. [ 1.585987] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 1.592208] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5 [ 1.599338] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6 [ 1.608011] usbcore: registered new interface driver usbhid [ 1.613946] usbhid: USB HID core driver [ 1.620643] oprofile: no performance counters [ 1.625784] oprofile: using timer interrupt. [ 1.630697] TCP: cubic registered [ 1.634239] Initializing XFRM netlink socket [ 1.638778] NET: Registered protocol family 17 [ 1.643560] NET: Registered protocol family 15 [ 1.648328] 8021q: 802.1Q VLAN Support v1.8 [ 1.652879] Key type dns_resolver registered [ 1.658108] cpu cpu0: cpu0 regulator not ready, retry [ 1.663609] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral [ 1.672076] ThumbEE CPU extension supported. [ 1.679113] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 1.684623] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 1.691832] mmc0: queuing unknown CIS tuple 0x91 (3 bytes) [ 1.698535] ONFI param page 0 valid [ 1.702274] ONFI flash detected [ 1.705601] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP), 256MiB, page size: 2048, OOB size: 64 [ 1.717670] omap2-nand: detected x8 NAND flash [ 1.722377] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme [ 1.728023] omap2-nand: using custom ecc layout [ 1.733114] 10 ofpart partitions found on MTD device omap2-nand.0 [ 1.739558] Creating 10 MTD partitions on "omap2-nand.0": [ 1.745311] 0x000000000000-0x000000020000 : "NAND.SPL" [ 1.752698] 0x000000020000-0x000000040000 : "NAND.SPL.backup1" [ 1.759583] mmc0: new high speed SDIO card at address 0001 [ 1.768203] 0x000000040000-0x000000060000 : "NAND.SPL.backup2" [ 1.776286] 0x000000060000-0x000000080000 : "NAND.SPL.backup3" [ 1.783978] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os" [ 1.791983] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot" [ 1.799788] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env" [ 1.807293] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1" [ 1.815519] 0x000000200000-0x000000a00000 : "NAND.kernel" [ 1.829160] 0x000000a00000-0x000010000000 : "NAND.file-system" [ 2.042521] tps65910 0-002d: No interrupt support, no core IRQ [ 2.050882] vrtc: 1800 mV [ 2.054075] vrtc: supplied by vbat [ 2.058951] vio: at 1800 mV [ 2.062119] vio: supplied by vbat [ 2.067009] vdd_mpu: 912 <--> 1375 mV at 1137 mV [ 2.072070] vdd_mpu: supplied by vbat [ 2.077291] vdd_core: 912 <--> 1150 mV at 1137 mV [ 2.082446] vdd_core: supplied by vbat [ 2.087554] vdd3: 5000 mV [ 2.091560] vdig1: at 1800 mV [ 2.094862] vdig1: supplied by vbat [ 2.099708] vdig2: at 1800 mV [ 2.103026] vdig2: supplied by vbat [ 2.107858] vpll: at 1800 mV [ 2.111145] vpll: supplied by vbat [ 2.115911] vdac: at 1800 mV [ 2.119110] vdac: supplied by vbat [ 2.123907] vaux1: at 1800 mV [ 2.127216] vaux1: supplied by vbat [ 2.132099] vaux2: at 3300 mV [ 2.135389] vaux2: supplied by vbat [ 2.140253] vaux33: at 3300 mV [ 2.143664] vaux33: supplied by vbat [ 2.148634] vmmc: 1800 <--> 3300 mV at 3300 mV [ 2.153509] vmmc: supplied by vbat [ 2.157939] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 2.166924] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz [ 2.173872] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25 [ 2.181131] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24 [ 2.270402] mmc1: new high speed SDHC card at address 1234 [ 2.276891] mmcblk0: mmc1:1234 SA04G 3.63 GiB [ 2.281660] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 2.288108] davinci_mdio 4a101000.mdio: detected phy mask fffffffe [ 2.296314] libphy: 4a101000.mdio: probed [ 2.300618] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet [ 2.310517] mmcblk0: p1 p2 [ 2.315229] Detected MACID = d4:94:a1:35:f1:38 [ 2.323008] input: volume_keys.8 as /devices/volume_keys.8/input/input2 [ 2.330757] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801) [ 2.347599] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 2.355416] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 11.822272] EXT4-fs (mmcblk0p2): recovery complete [ 12.523708] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 12.532366] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 12.544224] devtmpfs: mounted [ 12.547981] Freeing unused kernel memory: 344K (c074b000 - c07a1000) INIT: version 2.88 booting Starting udev [ 13.171974] udevd[883]: starting version 182 [ 13.480446] Bluetooth: Core ver 2.16 [ 13.556094] NET: Registered protocol family 31 [ 13.560817] Bluetooth: HCI device and connection manager initialized [ 13.585648] PM: CM3 Firmware Version = 0x186 [ 13.687563] Bluetooth: HCI socket layer initialized [ 13.718248] Bluetooth: L2CAP socket layer initialized [ 13.758186] Bluetooth: SCO socket layer initialized [ 13.861039] (stc): chnl_id list empty :4 [ 13.865192] (stk) : st_kim_start(stk) :ldisc_install = 1[ 14.173539] tsl2550 1-0039: standard operating mode [ 14.237340] tsl2550 1-0039: support ver. 1.2 enabled [ 14.313484] lm75 1-0048: hwmon0: sensor 'tmp275' [ 14.362112] lis3lv02d: 16 bits lis331dlh sensor found [ 14.511387] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input3 [ 14.547790] davinci_evm sound.3: ASoC: CODEC (null) not registered [ 14.721190] davinci_evm sound.3: snd_soc_register_card failed (-517) [ 14.791092] platform sound.3: Driver davinci_evm requests probe deferral [ 14.934785] davinci_evm sound.3: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok [ 14.971050] (stk) :ldisc installation timeout(stk) :ldisc_install = 0 [ 15.971051] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1 [ 17.081068] (stk) :ldisc installation timeout(stk) :ldisc_install = 0[ 17.539894] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 18.018113] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control [ 18.054362] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 18.081072] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1[ 18.218873] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1 [ 18.291274] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 18.298478] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 18.306160] usb usb1: Product: MUSB HDRC host driver [ 18.311426] usb usb1: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd [ 18.318424] usb usb1: SerialNumber: musb-hdrc.1.auto [ 18.434439] hub 1-0:1.0: USB hub found [ 18.438914] hub 1-0:1.0: 1 port detected [ 18.446131] musb-hdrc musb-hdrc.2.auto: Enabled SW babble control [ 18.455631] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver [ 18.473279] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2 [ 18.494891] cfg80211: Calling CRDA to update world regulatory domain [ 18.541637] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 18.548856] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 18.556530] usb usb2: Product: MUSB HDRC host driver [ 18.561799] usb usb2: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd [ 18.568791] usb usb2: SerialNumber: musb-hdrc.2.auto [ 18.614448] hub 2-0:1.0: USB hub found [ 18.619486] hub 2-0:1.0: 1 port detected [ 18.884771] cfg80211: World regulatory domain updated: [ 18.890233] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 18.898937] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 18.907151] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 18.915355] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 18.923551] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 18.931747] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 19.023789] cryptodev: driver 1.6 loaded. Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory bootlogd. [ 19.123579] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered [ 19.191113] (stk) :ldisc installation timeout(stk) :ldisc_install = 0[ 19.199254] wlcore: wl18xx HW: 183x or 180x, PG 2.1 (ROM 0xe) [ 19.235456] wlcore: loaded [ 19.238403] wlcore: driver version: ti2013.12.01-dirty [ 19.243900] wlcore: compilation time: Sun Mar 30 20:56:08 2014 ALSA: Restoring mixer settings... No state is present for card AM335xEVM Found hardware: "AM335x-EVM" "" "" "" "" Hardware is initialized using a generic method No state is present for card AM335xEVM Configuring network interfaces... [ 20.037138] net eth0: initializing cpsw version 1.12 (0) [ 20.045128] net eth0: phy found : id is : 0x4dd074 [ 20.058676] 8021q: adding VLAN 0 to HW filter on device eth0 udhcpc (v1.20.2) started Sending discover... [ 20.191104] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1 [ 21.301114] (stk) :ldisc installation timeout(stk) :ldisc_install = 0 [ 22.301115] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1Sending discover... [ 23.411123] (stk) :ldisc installation timeout(stk) :ldisc_install = 0 [ 24.411120] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1 [ 25.521110] (stk) :ldisc installation timeout(stk) :ldisc_install = 0Sending discover... [ 26.521127] (stk) : timed out waiting for ldisc to be un-installed[ 26.529724] Bluetooth: st_register failed -22 No lease, failing done. Mon Mar 31 02:34:00 UTC 2014 INIT: Entering runlevel: 5 Starting system message bus: dbus. UIM SYSFS Node Found at /sys/./devices/kim.12/install Starting uim-sysfs daemon. uim:@ main uim:install = /sys/./devices/kim.12/install uim:dev_name = /sys/./devices/kim.12/dev_name uim:baud_rate = /sys/./devices/kim.12/baud_rate uim:flow_cntrl = /sys/./devices/kim.12/flow_cntrl uim:begin polling... Starting Dropbear SSH server: dropbear. Starting telnet daemon. Starting syslogd/klogd: done Starting thttpd. Starting PVR Starting Lighttpd Web Server: lighttpd. 2014-03-31 02:34:01: (log.c.166) server started / Starting Matrix GUI application. [ 48.083122] Number of LUNs=8 [ 48.086195] Mass Storage Function, version: 2009/09/11 [ 48.097744] LUN: removable file: (no medium) [ 48.108126] Number of LUNs=1 [ 48.114466] LUN: file: /dev/mmcblk0p1 [ 48.118395] Number of LUNs=1 [ 48.131946] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11 [ 48.139331] g_mass_storage gadget: userspace failed to provide iSerialNumber [ 48.146836] g_mass_storage gadget: g_mass_storage ready *************************************************************** *************************************************************** NOTICE: This file system contains the followin GPLv3 packages: binutils-symlinks binutils gdbserver If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** Stopping Bootlog daemon: bootlogd. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyO0 Arago 2013.12 am335x-evm ttyO0 am335x-evm login: root root@am335x-evm:~# ls root@am335x-evm:~# ubiattach /dev/ubi_ctrl -m 9 [ 60.372124] UBI: attaching mtd9 to ubi0 [ 60.376715] UBI error: validate_ec_hdr: bad VID header offset 2048, expected 512 [ 60.384604] UBI error: validate_ec_hdr: bad EC header [ 60.389951] Erase counter header dump: [ 60.393928] magic 0x55424923 [ 60.397884] version 1 [ 60.401029] ec 0 [ 60.404163] vid_hdr_offset 2048 [ 60.407568] data_offset 4096 [ 60.410998] image_seq 25281982 [ 60.414770] hdr_crc 0x51f8cb19 [ 60.418729] erase counter header hexdump: [ 60.423017] CPU: 0 PID: 1622 Comm: ubiattach Tainted: G O 3.12.10-ti2013.12.01 #1 [ 60.431853] Backtrace: [ 60.434473] [<c0017880>] (dump_backtrace+0x0/0x10c) from [<c0017a1c>] (show_stack+0x18/0x1c) [ 60.443401] r6:dd4d7800 r5:00000000 r4:00000000 r3:00000000 [ 60.449414] [<c0017a04>] (show_stack+0x0/0x1c) from [<c056b5b0>] (dump_stack+0x20/0x28) [ 60.457897] [<c056b590>] (dump_stack+0x0/0x28) from [<c03ab05c>] (validate_ec_hdr+0x128/0x184) [ 60.467028] [<c03aaf34>] (validate_ec_hdr+0x0/0x184) from [<c03abcc0>] (ubi_io_read_ec_hdr+0x164/0x238) [ 60.476974] [<c03abb5c>] (ubi_io_read_ec_hdr+0x0/0x238) from [<c03b049c>] (ubi_attach+0x148/0x149c) [ 60.486565] [<c03b0354>] (ubi_attach+0x0/0x149c) from [<c03a5f5c>] (ubi_attach_mtd_dev+0x5d0/0xbc4) [ 60.496146] [<c03a598c>] (ubi_attach_mtd_dev+0x0/0xbc4) from [<c03a6794>] (ctrl_cdev_ioctl+0xd4/0x190) [ 60.506005] [<c03a66c0>] (ctrl_cdev_ioctl+0x0/0x190) from [<c00e0ee0>] (do_vfs_ioctl+0x84/0x578) [ 60.515299] r7:00000000 r6:40186f40 r5:00000003 r4:00005452 [ 60.521313] [<c00e0e5c>] (do_vfs_ioctl+0x0/0x578) from [<c00e1448>] (SyS_ioctl+0x74/0x84) [ 60.529970] [<c00e13d4>] (SyS_ioctl+0x0/0x84) from [<c0014660>] (ret_fast_syscall+0x0/0x30) [ 60.538809] UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0 [ 60.547722] UBI error: ubi_attach_mtd_dev: failed to attach mtd9, error -22 ubiattach: error!: cannot attach mtd9 error 22 (Invalid argument)