U-Boot# bootm 0x82000000 - 0x83000000
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.14.26-g07d13c6-dirty
Created: 2015-09-28 6:30:28 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4383352 Bytes = 4.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Loading Kernel Image ... OK
Loading Device Tree to 8fff3000, end 8ffff8d7 ... OK
Starting kernel ...
内存与nand都为128M - 0x08000000,文件系统未配置
内核版本为3.14.26,nandflash启动
内核配置为
Make ARCH=arm CROSS_COMPILE=/opt/arm-arago-linux-gcc-ti/i686-arago-linux/usr/bin/arm-linux-gnueabihf- -j8 omap2plus_defconfig
Boot options --->
Default kernel command string
将root=/dev/mmcblk0p2 rootwait console=ttyO2,115200
修改为:root=/dev/mmcblk0p2 rootwait console=ttyO0,115200
启动代码为默认
bootcmd=run findfdt; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run mmcbo
ot;run nandboot;
最后会执行run nandboot
echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-b
oot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr}
nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfsty
pe=${nandrootfstype}
console=ttyO0,115200n8
nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048
nandrootfstype=ubifs rootwait=1