Project

General

Profile

RE: Create ubifs ยป NandWriteMLO_U-boot_CL.txt

Jonathan Cormier, 09/03/2015 09:58 AM

 
U-Boot SPL 2013.10-00050-ged374e1-dirty (Aug 25 2015 - 17:25:28)
MitySOM335x profile 1 - Model No: 3354-HX-X38-RC Serial No: 137410
Configuring for 512 MB DDR3 @ 400MHz
Critical Link AM335X Dev Kit -- NAND Page size = 4096k booting from dev 5
Using 4k bch16 layout
ECC Mode = 2 lo = 208/0
nand_spl_load_image: loading 4096 bytes from 100000 to 80800000
nand_spl_load_image: loading 458116 bytes from 100000 to 807fffc0


U-Boot 2013.10-00050-ged374e1-dirty (Aug 25 2015 - 17:25:28)

AM335X-GP rev 2
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:2 is connected to cpsw. Reconnecting to cpsw
cpsw
Hit any key to stop autoboot: 0
U-Boot# print ipaddr
## Error: "ipaddr" not defined

U-Boot# setenv ipaddr 10.0.102.41
U-Boot# setenv netmask 255.0.0.0
U-Boot# mw.b 0x82000000 ff 4000
U-Boot# tftp 0x82000000 10.0.62.1:MLO
link up on port 0, speed 1000, full duplex
link up on port 1, speed 1000, full duplex
*** ERROR: `serverip' not set
U-Boot# setenv serverip 10.0.62.1
U-Boot# tftp 0x82000000 10.0.62.1:MLO
link up on port 0, speed 1000, full duplex
link up on port 1, speed 1000, full duplex
Using cpsw device
TFTP from server 10.0.62.1; our IP address is 10.0.102.41
Filename 'MLO'.
Load address: 0x82000000
Loading: #####
1.9 MiB/s
done
Bytes transferred = 60652 (ecec 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 0xecec
60652 bytes written: OK
U-Boot# nand write.i 0x82000000 0x40000 $filesize

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

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

NAND write: device 0 offset 0xc0000, size 0xecec
60652 bytes written: OK
U-Boot# mw.b 0x82000000 ff 200000
U-Boot# tftp 0x82000000 10.0.62.1:u-boot.img
link up on port 0, speed 1000, full duplex
link up on port 1, speed 1000, full duplex
Using cpsw device
TFTP from server 10.0.62.1; our IP address is 10.0.102.41
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: ################################
2 MiB/s
done
Bytes transferred = 458112 (6fd80 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 0x6fd80
458112 bytes written: OK
U-Boot# reset
resetting ...

U-Boot SPL 2013.10-00051-g8c06fad (Sep 03 2015 - 09:40:56)
MitySOM335x profile 1 - Model No: 3354-HX-X38-RC Serial No: 137410
Configuring for 512 MB DDR3 @ 400MHz
Critical Link AM335X Dev Kit -- NAND Page size = 4096k booting from dev 5
Using 4k bch16 layout
ECC Mode = 2 lo = 208/0
nand_spl_load_image: loading 4096 bytes from 100000 to 80800000
nand_spl_load_image: loading 458112 bytes from 100000 to 807fffc0


U-Boot 2013.10-00051-g8c06fad (Sep 03 2015 - 09:40:56)

AM335X-GP rev 2
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:2 is connected to cpsw. Reconnecting to cpsw
cpsw
Hit any key to stop autoboot: 0
U-Boot#

    (1-1/1)