根据TI的一个教程制作的文件系统镜像,SDK7.0 ,用am335x_evm.dtb出现以下错误。
我们的nandflash
page size:2048
blocksize:64x2048
block cout:1024
制作命令:
mkfs.ubifs –F -q -r /home/usr/fs -m 2048 -e 126976 -c 1023 -o ubifs.img
ubinize -o ubi.img -m 2048 -p 128KiB ubinize.cfg
ubinize.cfg:
[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=200MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
[ 1.686526] ONFI param page 0 valid
[ 1.690202] ONFI flash detected
[ 1.693590] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD/Spansion S34ML01G2), 128MiB, page size: 2048, OOB size: 64
[ 1.705488] omap2-nand: detected x8 NAND flash
[ 1.710158] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 1.715787] omap2-nand: using custom ecc layout
[ 1.720825] 10 ofpart partitions found on MTD device omap2-nand.0
[ 1.727261] Creating 10 MTD partitions on "omap2-nand.0":
[ 1.732960] 0x000000000000-0x000000020000 : "NAND.SPL"
[ 1.740353] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[ 1.748318] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[ 1.756248] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[ 1.764168] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[ 1.772371] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[ 1.780542] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[ 1.788262] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[ 1.796745] 0x000000200000-0x000000a00000 : "NAND.kernel"
[ 1.810674] 0x000000a00000-0x000008000000 : "NAND.file-system"
[ 1.918657] tps65910 0-002d: No interrupt support, no core IRQ
[ 1.926121] tps65910 0-002d: Error in configuring external control EN1
[ 1.933053] tps65910 0-002d: Failed to initialise ext control config
[ 1.940151] vrtc: failed to enable
[ 1.944083] tps65910 0-002d: failed to register tps65910-pmic regulator
[ 1.951096] tps65910-pmic: probe of tps65910-pmic failed with error -121
[ 1.958969] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.968477] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[ 1.975482] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 1.982731] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 1.989960] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[ 1.996904] edma-dma-engine edma-dma-engine.0: freeing channel for 24
[ 2.003737] edma-dma-engine edma-dma-engine.0: freeing channel for 25
[ 2.013803] omap_hwmod: gpio1: _wait_target_disable failed
[ 2.019682] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[ 2.027365] cpu cpu0: cpu0 regulator not ready, retry
[ 2.032741] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[ 2.041389] UBI: attaching mtd9 to ubi0
[ 2.362894] UBI error: ubi_compare_lebs: unsupported on-flash UBI format
[ 2.370176] UBI error: ubi_attach_mtd_dev: failed to attach mtd9, error -22
[ 2.377595] UBI error: ubi_init: cannot attach mtd9