On 9/27/07, Mark Carlson <[EMAIL PROTECTED]> wrote:
>
> On 9/27/07, Robert Lewko <[EMAIL PROTECTED]> wrote:
> >
> >  I am working in Lethbridge today so I won't be at the meeting.
> >
> > What happens is that one of the steps to boot from the SD card is to
> modify
> > the boot ROM with the tsboot-update program that modifies the boot ROM
> to
> > boot boot the initrd from the SD card instead of running the RedBoot
> > monitor.  That disables the RedBoot - instead you first get to a shell
> in
> > the initrd on the SD card.
>
> Ah, I see.  Do you know if it is the same deal if it boots from USB?
> (Again, I will look into this tonight.)
>
> > What I have done is to configure a 1G SD card that my 7260 boots
> from.  The
> > image has a complete development system on it.  It will compile code,
> but I
> > am missing all the development tools like my editor, the ddd debugger,
> etc.
> > It would be better to have the laptop to do the development work on then
> > when its mostly debugged, cross complie and run on the 7260.
>
> I have never used gcc that was hosted on a 7200 board (seems like it
> would be slow and waste flash write-cycles,) but i have used gdb on
> the board (don't remember if I recompiled it using crosstools or if it
> came with the debian-arm dist...)  I also had remote gdb set up, but
> then I realized there is no benefit to using remote gdb on this type
> of system.


Yes its slow using gcc on board.  You can still use NFS for development on
the laptop drive, saving flash write cycles.

I have used crosstools to build an executable, copy it to the board and run
gdb - not pretty, but you can work that way.  I would'nt say there's no
advantage to using remote gdb.  You can set up ddd to remote debug, giving
you a good interface.
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to