Project

General

Profile

RE: Create ubifs ยป NandWriteMLO_U-boot.txt

Console log for programmng MLO and u-boot.img - Mary Frantz, 09/03/2015 09:30 AM

 

U-Boot SPL 2013.10-g537ff87 (May 06 2014 - 16:21:50)
MitySOM335x profile 1 - Model No: 3354-GX-X38-RC Serial No: 133839
Configuring for 512 MB DDR3 @ 400MHz
Critical Link AM335X Dev Kit -- NAND Page size = 4096k booting from dev 8
reading u-boot.img
reading u-boot.img


U-Boot 2013.10-g537ff87 (May 06 2014 - 16:21:50)

AM335X-GP rev 0
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: Using 4k bch16 layout
ECC Mode = 2 lo = 208/0
512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net: cpsw:1 is connected to cpsw. Reconnecting to cpsw
cpsw
Hit any key to stop autoboot: 0
U-Boot# mw.b 0x82000000 ff 4000
U-Boot# tftp 0x82000000 192.168.1.73:MLO
link up on port 0, speed 100, full duplex
link up on port 1, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.73; our IP address is 192.168.1.99
Filename 'MLO'.
Load address: 0x82000000
Loading: ############
140.6 KiB/s
done
Bytes transferred = 60140 (eaec hex)
U-Boot# nand erase 0x0 0x100000

NAND erase: device 0 offset 0x0, size 0x100000
Erasing at 0xc0000 -- 100% complete.
OK
U-Boot# nand write.i 0x82000000 0x0 $filesize

NAND write: device 0 offset 0x0, size 0xeaec
60140 bytes written: OK
U-Boot# nand write.i 0x82000000 0x40000 $filesize

NAND write: device 0 offset 0x40000, size 0xeaec
60140 bytes written: OK
U-Boot# nand write.i 0x82000000 0x80000 $filesize

NAND write: device 0 offset 0x80000, size 0xeaec
60140 bytes written: OK
U-Boot# nand write.i 0x82000000 0xc0000 $filesize

NAND write: device 0 offset 0xc0000, size 0xeaec
60140 bytes written: OK
U-Boot#
140 bytes written: OK
U-Boot#
U-Boot# mw.b 0x82000000 ff 200000
U-Boot# tftp 0x82000000 192.168.1.73:u-boot.img
link up on port 0, speed 100, full duplex
link up on port 1, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.73; our IP address is 192.168.1.99
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #################################################################
##########################
149.4 KiB/s
done
Bytes transferred = 464168 (71528 hex)
U-Boot# nand erase 0x100000 0x200000

NAND erase: device 0 offset 0x100000, size 0x200000
Erasing at 0x2c0000 -- 100% complete.
OK
U-Boot# nand write.i 0x82000000 0x100000 $filesize

NAND write: device 0 offset 0x100000, size 0x71528
464168 bytes written: OK
U-Boot#
    (1-1/1)