debugging custom Xilinx boot loader with abatron and Montavistadevrocket
Charles Krinke
ckrinke at istor.com
Sun Feb 25 10:34:05 EST 2007
Dear Wade:
Since the MontaVista engineers have no clue as to how to use their product, and I had the same experience, the appropriate solution is to abandon their product until and unless they do have a clue as to how to use their IDE.
The route using DDD/gdb is an appropriate one and building an .elf file is no problem with either uboot or Linux.
Another thing to watch out for with Montavista is their gdb executable may or may not work correctly. If this is the case, you will need to get a gdb from gnu.org and cross compile it. Basically, they blew it on the toolchain also.
Charles
________________________________
From: linuxppc-embedded-bounces+ckrinke=istor.com at ozlabs.org on behalf of Wade Maxfield
Sent: Sat 2/24/2007 2:40 PM
To: ppc
Subject: Re: debugging custom Xilinx boot loader with abatron and Montavistadevrocket
Thanks!
I did indeed mean to say "devrocket" when I said "MontaVista"
I went down the DDD/gdb route using the MontaVista command line tools. Their ppc_405-gdb connects to the abatron bdi2000 as a gdb server. I was able to get that to work to some extent.
I did not ask my main question correctly enough. Let me rephrase.
My main question (for the MontaVista experts out there) is either
1) In DevRocket, what kind of project do you choose to debug an externally build .elf file?
MontaVista support engineers had no clue.
or
2) How do you use DevRocket to create a cross compiled set of code linked to a specific address.
MontaVista support engineers also had no clue on this one.
If either answer is no, OK.
Now that I have the DDD/gdb/Abatron complex working, I don't think I absolutely need the DevRocket and its nice (but slow) facilities. It would be nice to do the cross compile under DevRocket, but the Xilinx EDK is doing just fine.
I will look into uboot later, when I do another attempt at getting linux into the system.
I failed to mention that we have the system ace chip with a compact flash card, and it is apparently functional. It provides all the "flash" that we need. We do have some onboard flash for configuration data.
Our project is simultaneously complex and simple. It is complex in what it does ( a complicated receiver based on latest DSL technology), but simple in the household chores (linux is almost overkill, but we do need ethernet and all that implies).
Interesting we can get PPC linux into 16 meg. Once that happens, I'll try it again.
thanks,
wade
On 2/23/07, Jeff Angielski <jeff at theptrgroup.com> wrote:
On Fri, 2007-02-23 at 10:11 -0600, Wade Maxfield wrote:
>
> I want to debug a ppc custom boot loader with Montavista (since we
> spent the money on it) under the Xilinx fx60.
Writing custom bootloaders is nontrivial. Are you sure you really want
to do that?
And what does MV have to do with the bootloader?
<snip>
--
Jeff Angielski
The PTR Group
More information about the Linuxppc-embedded
mailing list