AM3354

從SDCard燒錄到Nand(經由UBoot)


UBoot

U-Boot# mmc dev 0
U-Boot# nand erase.chip

U-Boot# load mmc 0 0x81000000 MLO
U-Boot# nand write 0x81000000 NAND.SPL

U-Boot# load mmc 0 0x81000000 u-boot.img
U-Boot# nand write 0x81000000 NAND.u-boot

U-Boot# load mmc 0 0x81000000 zImage
U-Boot# nand write 0x81000000 NAND.kernel

U-Boot# load mmc 0 0x81000000 am335x-evm.dtb
U-Boot# nand write 0x81000000 NAND.u-boot-spl-os

U-Boot# load mmc 0 0x81000000 ubi.img
U-Boot# nand write 0x81000000 NAND.file-system

或者寫到uEnv.txt

uenvcmd=nand erase.chip; mmc dev 0; load mmc 0 0x81000000 MLO; nand write 0x81000000 NAND.SPL; load mmc 0 0x81000000 u-boot.img; nand write 0x81000000 NAND.u-boot;load mmc 0 0x81000000 zImage; nand write 0x81000000 NAND.kernel;load mmc 0 0x81000000 am335x-evm.dtb;nand write 0x81000000 NAND.u-boot-spl-os;load mmc 0 0x81000000 ubi.img; nand write 0x81000000 NAND.file-system;gpio clear 20;


返回上一頁