Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: Problem while booting with uImage and xipImage

$
0
0
Thanks Chris uImage: for uImage I will Program everything (u-boot, dtb, kernel, rootfs) into 1 SPI flash and will split up the sqashfs image if necessary. I will post the results. xipImage: In u-boot, a good way to check is to run the command to set the RZ QSPI controller into XIP mode ( = qspi single  or = qspi dual ), then try to read the location where xipImage was programmed and see if it looks exactly the same as the binary file still on your host PC. for example, assuming dual QSPI XIP: (in u-boot) = qspi dual = md.b 0x18200000 100 (on host pc) $ hexdump -C -n 100 xipImage For xipImage I tried reading location where xipImage was programmed and compared it with binary file on my host PC, both look exactly the same. here is the result for md.b and hexdump = qspi dual Current Mode: Read Mode (3-byte Addr) (RZ/A1 reset value) SF: Dual SPI mode SF: Detected N25Q512 with page size 256 Bytes, erase size 4 KiB, total 64 MiB INFO: clock is now 22.22Mbps (see function enable_quad_micron) New Mode: Quad I/O Read Mode (4-byte Addr) = md.b 18200000 100 18200000: 16 31 00 eb 00 90 0f e1 1a 90 29 e2 1f 00 19 e3    .1........)..... 18200010: 1f 90 c9 e3 d3 90 89 e3 04 00 00 1a 01 9c 89 e3    ................ 18200020: 0c e0 8f e2 09 f0 6f e1 0e f3 2e e1 6e 00 60 e1    ......o.....n.`. 18200030: 09 f0 21 e1 10 9f 10 ee 35 01 00 eb 05 a0 b0 e1    ..!.....5....... 18200040: 45 01 00 0a 02 82 a0 e3 4c 00 00 eb 05 00 00 eb    E.......L....... 18200050: 0c d0 9f e5 04 e0 8f e2 04 80 a0 e1 10 f0 8a e2    ................ 18200060: 3b 00 00 ea 40 e8 3a bf 02 49 88 e2 01 49 44 e2    ;...@.:..I...ID. 18200070: 04 00 a0 e1 00 30 a0 e3 01 69 80 e2 04 30 80 e4    .....0...i...0.. 18200080: 04 30 80 e4 04 30 80 e4 04 30 80 e4 06 00 30 e1    .0...0...0....0. 18200090: f9 ff ff 1a 08 70 9a e5 a8 00 8f e2 68 00 90 e8    .....p......h... 182000a0: 03 00 40 e0 00 50 85 e0 00 60 86 e0 25 5a a0 e1    ..@..P...`..%Z.. 182000b0: 26 6a a0 e1 05 3a 87 e1 05 31 84 e7 06 00 55 e1    &j...:...1....U. 182000c0: 01 50 85 32 fa ff ff 3a 03 0a 84 e2 6c 60 9f e5    .P.2...:....l`.. 182000d0: 07 30 88 e1 26 69 84 e0 04 30 80 e4 01 36 83 e2    .0..&i...0...6.. 182000e0: 06 00 50 e1 fb ff ff 9a 0f 30 a0 e1 23 3a a0 e1    ..P......0..#:.. 182000f0: 03 3a 87 e1 bf 0d 84 e2 00 30 a0 e5 40 60 9f e5    .:.......0..@`.. = $ hexdump -C -n 256 xipImage.bin 00000000  16 31 00 eb 00 90 0f e1  1a 90 29 e2 1f 00 19 e3  |.1........).....| 00000010  1f 90 c9 e3 d3 90 89 e3  04 00 00 1a 01 9c 89 e3  |................| 00000020  0c e0 8f e2 09 f0 6f e1  0e f3 2e e1 6e 00 60 e1  |......o.....n.`.| 00000030  09 f0 21 e1 10 9f 10 ee  35 01 00 eb 05 a0 b0 e1  |..!.....5.......| 00000040  45 01 00 0a 02 82 a0 e3  4c 00 00 eb 05 00 00 eb  |E.......L.......| 00000050  0c d0 9f e5 04 e0 8f e2  04 80 a0 e1 10 f0 8a e2  |................| 00000060  3b 00 00 ea 40 e8 3a bf  02 49 88 e2 01 49 44 e2  |;...@.:..I...ID.| 00000070  04 00 a0 e1 00 30 a0 e3  01 69 80 e2 04 30 80 e4  |.....0...i...0..| 00000080  04 30 80 e4 04 30 80 e4  04 30 80 e4 06 00 30 e1  |.0...0...0....0.| 00000090  f9 ff ff 1a 08 70 9a e5  a8 00 8f e2 68 00 90 e8  |.....p......h...| 000000a0  03 00 40 e0 00 50 85 e0  00 60 86 e0 25 5a a0 e1  |..@..P...`..%Z..| 000000b0  26 6a a0 e1 05 3a 87 e1  05 31 84 e7 06 00 55 e1  |&j...:...1....U.| 000000c0  01 50 85 32 fa ff ff 3a  03 0a 84 e2 6c 60 9f e5  |.P.2...:....l`..| 000000d0  07 30 88 e1 26 69 84 e0  04 30 80 e4 01 36 83 e2  |.0..&i...0...6..| 000000e0  06 00 50 e1 fb ff ff 9a  0f 30 a0 e1 23 3a a0 e1  |..P......0..#:..| 000000f0  03 3a 87 e1 bf 0d 84 e2  00 30 a0 e5 40 60 9f e5  |.:.......0..@`..|

Viewing all articles
Browse latest Browse all 59170

Trending Articles