Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

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

$
0
0
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.   OK, then your image seems to be programmed correctly. And, it seems that it is reading it OK. I think the next step is to try and connect with GDB/J-Link and see what happens when you step through the code. Please have a look at the "AppNote: GDB Debugging for RZ/A1 Linux with J-Link" in the Files section: http://renesasrulz.com/renesas_forum_home/rz/m/mediagallery/2714.aspx You will see a section in there about how to debug the kernel very early in boot (before the MMU is turned on). Essentially, you can set a breakpoint at the very beginning of xipImage by doing this: (gdb) break *0x18200000 (gdb) continue Unfortunately, getting a new "dual QSPI XIP" HW configuration working correctly is the hardest part of porting to a new board because not all SPI flash devices work the same. I might find my board with the MICRON N25Q512A parts on it and make sure the current u-boot/kernel still work on it. Chris

Viewing all articles
Browse latest Browse all 59170