U-Boot 2013.01-dirty (Dec 06 2013 - 12:27:25) I2C: ready Detected SO-DIMM [] DRAM: 2 GiB NAND: 512 MiB Net PWN: TCI6638_EMAC, TCI6638_EMAC1 Hit any key to stop autoboot: 0 TCI6638 EVM # TCI6638 EVM # TCI6638 EVM # setenv mtddevname bootloader TCI6638 EVM # setenv mtddevnum 0 TCI6638 EVM # setenv mtdids 'nand0=davinci_nand.0' TCI6638 EVM # setenv partition 'nand0,0' TCI6638 EVM # setenv mtdparts 'mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,56704k(ubifs)' TCI6638 EVM # setenv bootargs 'console=ttyS0,115200n8 mem=512M earlyprintk debug rootwait=1 rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048' TCI6638 EVM # saveenv Saving Environment to NAND... Erasing Nand... Erasing at 0x120000 -- 100% complete. Writing to Nand... done TCI6638 EVM # TCI6638 EVM # TCI6638 EVM # setenv addr_file 0x82000000 TCI6638 EVM # nand erase.part ubifs NAND erase.part: device 0 offset 0x180000, size 0x3760000 Erasing at 0x38c0000 -- 100% complete. OK TCI6638 EVM # TCI6638 EVM # TCI6638 EVM # TCI6638 EVM # dhcp ${addr_file} ubifs_evm.ubi BOOTP broadcast 1 DHCP client bound to address 10.1.10.198 Using TCI6638_EMAC device TFTP from server 10.1.10.203; our IP address is 10.1.10.198 Filename 'ubifs_evm.ubi'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################################################## 2.1 MiB/s done Bytes transferred = 58064896 (3760000 hex) TCI6638 EVM # nand write ${addr_file} ubifs 0x3760000 NAND write: device 0 offset 0x180000, size 0x3760000 58064896 bytes written: OK TCI6638 EVM # nand info Device 0: nand0, sector size 128 KiB Page size 2048 b OOB size 64 b Erase size 131072 b TCI6638 EVM # TCI6638 EVM # TCI6638 EVM # boot Creating 1 MTD partitions on "nand0": 0x000000180000-0x0000038e0000 : "mtd=2" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI error: vtbl_check: volume table check failed: record 0, error 9 UBI error: ubi_init: cannot attach mtd1 UBI error: ubi_init: UBI error: cannot initialize UBI, error -22 UBI init error 22 UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:boot", error -19 UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:boot' errno=-19! ubifsmount - mount UBIFS volume Usage: ubifsmount - mount 'volume-name' volume TCI6638 EVM # mtdparts device nand0 , # parts = 3 #: name size offset mask_flags 0: bootloader 0x00100000 0x00000000 1 1: params 0x00080000 0x00100000 1 2: ubifs 0x03760000 0x00180000 0 active partition: nand0,0 - (bootloader) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=davinci_nand.0 mtdparts: mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubi) TCI6638 EVM #