2010년 2월 18일 목요일

OMAP-L138: Flashing ARMUBL, U-BOOT, Kernel, Ramdisk using U-boot(NAND BOOT)

U-boot command

1. ARM UBL
setenv flashing_armbul 'tftp 0xc0700000 jars/OMAPL138/arm-nand-ais.bin; nand erase 0x20000 0x20000; nand write.e 0xc0700000 0x20000 0x20000'
saveenv
run flashing_armbule

2. U-BOOT
setenv mmwrite 'mw 0xc0700000 0xffffffff 0x200; mw 0xc0700000 0xa1aced11 1; mw 0xc0700004 0xc1080000 1; mw 0xc0700008 0x0000005f 1; mw 0xc070000c 0x00000002 1; mw 0xc0700010 0x00000001 1; mw 0xc0700014 0xc1080000 1'
setenv nandwrite 'tftp 0xc0700800 jars/OMAPL138/u-boot-03.20.00.08_nand.bin; nand erase 0x40000 0x40000; nand write.e 0xc0700000 0x40000 0x40000'
setenv flashing_uboot 'run mmwrite; run nandwrite'
saveenv
run flashing_uboot

3. KERNEL
setenv flashing_uImage 'tftp 0xc0700000 jars/OMAPL138/uImage-03.20.00.08_nand; nand erase 0x200000 0x200000; nand write.e 0xc0700000 0x200000 0x200000'
saveenv
run flashing_uImage

4. RAMDISK
setenv flashing_ramdisk 'tftp 0xc1180000 jars/OMAPL138/ramdisk-base.gz; nand erase 0x400000 0x400000; nand write.e 0xc1180000 0x400000 0x400000'
saveenv
run flashing_ramdisk

댓글 없음:

댓글 쓰기