[U-Boot-Users] Debugging U-boot with BDI-2000 on MPC8349
Jerry Van Baren
gerald.vanbaren at smiths-aerospace.com
Thu Sep 14 21:39:24 CEST 2006
Ben Warren wrote:
> Thanks Timur,
>
> On Thu, 2006-09-14 at 13:57 -0500, Timur Tabi wrote:
>> Ben Warren wrote:
>>> Hello,
>>>
>>> Has anybody been able to successfully single step through U-boot code on
>>> an MPC8349 CPU using a BDI-2000?
>> I've attached two config files. One can be used to flash the 9349E-mITX, and the other can be used to debug it.
>>
>> The flash-enabled one programs a bunch of registers that wake up the flash chip. Unfortunately, when using this config, U-boot hangs somewhere in start.S. I'm probably programming the board just differently enough to confuse U-Boot.
>>
>> The other config programs nothing, which gives U-Boot a clean slate to program.
>>
> The config I use to debug is much like your second one. In general,
> less is more.
>> I presume it should be possible to create a "unified" config that works in both situations, but I haven't had the time to try it.
>>
>> I've never used GDB with the BDI.
>
> I've used it with Linux drivers and it's really very slick. I imagine
> it would be excellent with U-boot too, if I could get it to work in code
> other than start.S.
>
> regards,
> Ben
Have you tried the FAQ "10.1.2. Debugging of U-Boot After Relocation"?
<http://www.denx.de/wiki/view/DULG/DebuggingUBoot>
gvb
More information about the U-Boot
mailing list