Project

General

Profile

RE: Create ubifs ยป NandWriteMLO_U-boot_CL.txt

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

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

    
10

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

    
13
AM335X-GP rev 2
14
I2C:   ready
15
DRAM:  512 MiB
16
WARNING: Caches not enabled
17
NAND:  Using 4k bch16 layout
18
ECC Mode = 2 lo = 208/0
19
512 MiB
20
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
21
Net:   cpsw:2 is connected to cpsw.  Reconnecting to cpsw
22
cpsw
23
Hit any key to stop autoboot:  0 
24
U-Boot# print ipaddr
25
## Error: "ipaddr" not defined
26

    
27
U-Boot# setenv ipaddr 10.0.102.41
28
U-Boot# setenv netmask 255.0.0.0
29
U-Boot# mw.b 0x82000000 ff 4000
30
U-Boot# tftp 0x82000000 10.0.62.1:MLO
31
link up on port 0, speed 1000, full duplex
32
link up on port 1, speed 1000, full duplex
33
*** ERROR: `serverip' not set
34
U-Boot# setenv serverip 10.0.62.1
35
U-Boot# tftp 0x82000000 10.0.62.1:MLO
36
link up on port 0, speed 1000, full duplex
37
link up on port 1, speed 1000, full duplex
38
Using cpsw device
39
TFTP from server 10.0.62.1; our IP address is 10.0.102.41
40
Filename 'MLO'.
41
Load address: 0x82000000
42
Loading: #####
43
         1.9 MiB/s
44
done
45
Bytes transferred = 60652 (ecec hex)
46
U-Boot# nand erase 0x0 0x100000
47

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

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

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

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

    
65
NAND write: device 0 offset 0xc0000, size 0xecec
66
 60652 bytes written: OK
67
U-Boot# mw.b 0x82000000 ff 200000
68
U-Boot# tftp 0x82000000 10.0.62.1:u-boot.img
69
link up on port 0, speed 1000, full duplex
70
link up on port 1, speed 1000, full duplex
71
Using cpsw device
72
TFTP from server 10.0.62.1; our IP address is 10.0.102.41
73
Filename 'u-boot.img'.
74
Load address: 0x82000000
75
Loading: ################################
76
         2 MiB/s
77
done
78
Bytes transferred = 458112 (6fd80 hex)
79
U-Boot# nand erase 0x100000 0x200000
80

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

    
86
NAND write: device 0 offset 0x100000, size 0x6fd80
87
 458112 bytes written: OK
88
U-Boot# reset
89
resetting ...
90

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

    
100

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

    
103
AM335X-GP rev 2
104
I2C:   ready
105
DRAM:  512 MiB
106
WARNING: Caches not enabled
107
NAND:  Using 4k bch16 layout
108
ECC Mode = 2 lo = 208/0
109
512 MiB
110
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
111
Net:   cpsw:2 is connected to cpsw.  Reconnecting to cpsw
112
cpsw
113
Hit any key to stop autoboot:  0 
114
U-Boot# 
115

    
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)