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

 
1

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

    
9

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

    
12
AM335X-GP rev 0
13
I2C:   ready
14
DRAM:  512 MiB
15
WARNING: Caches not enabled
16
NAND:  Using 4k bch16 layout
17
ECC Mode = 2 lo = 208/0
18
512 MiB
19
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
20
Net:   cpsw:1 is connected to cpsw.  Reconnecting to cpsw
21
cpsw
22
Hit any key to stop autoboot:  0
23
U-Boot# mw.b 0x82000000 ff 4000
24
U-Boot# tftp 0x82000000 192.168.1.73:MLO
25
link up on port 0, speed 100, full duplex
26
link up on port 1, speed 100, full duplex
27
Using cpsw device
28
TFTP from server 192.168.1.73; our IP address is 192.168.1.99
29
Filename 'MLO'.
30
Load address: 0x82000000
31
Loading: ############
32
         140.6 KiB/s
33
done
34
Bytes transferred = 60140 (eaec hex)
35
U-Boot# nand erase 0x0 0x100000
36

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

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

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

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

    
54
NAND write: device 0 offset 0xc0000, size 0xeaec
55
 60140 bytes written: OK
56
U-Boot#
57
140 bytes written: OK
58
U-Boot#
59
U-Boot# mw.b 0x82000000 ff 200000
60
U-Boot# tftp 0x82000000 192.168.1.73:u-boot.img
61
link up on port 0, speed 100, full duplex
62
link up on port 1, speed 100, full duplex
63
Using cpsw device
64
TFTP from server 192.168.1.73; our IP address is 192.168.1.99
65
Filename 'u-boot.img'.
66
Load address: 0x82000000
67
Loading: #################################################################
68
         ##########################
69
         149.4 KiB/s
70
done
71
Bytes transferred = 464168 (71528 hex)
72
U-Boot# nand erase 0x100000 0x200000
73

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

    
79
NAND write: device 0 offset 0x100000, size 0x71528
80
 464168 bytes written: OK
81
U-Boot#
    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)