This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: FW: GDB Stub and Redboot
- To: Anthony Massa <amassa at logici dot com>
- Subject: RE: [ECOS] FW: GDB Stub and Redboot
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Wed, 06 Dec 2000 12:15:26 -0700 (MST)
- Cc: "eCos (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Cc: "eCos (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>, "Jonathan Larmour (E-mail)" <jlarmour at redhat dot co dot uk>
- Organization: Red Hat, Inc.
On 06-Dec-2000 Anthony Massa wrote:
>
> Does this redboot network stack support DHCP?
>
BOOTP only.
> Is it configurable to use static IP addresses as well?
>
Yes, using the 'fconfig' command, you can set static IP addresses.
N.B. you do need to have the FLASH memory stuff turned on for this
support to be in place.
>
>> > What does the Generic Flash Memory support do?
>> >
>>
>> It enables FLASH support. You use this with RedBoot to allow
>> it to manage
>> the on-board FLASH memory device.
>>
>> >
>> > So, I don't need to add the Networking package? Is that
>> somewhere in the
>> > redboot template?
>> >
>>
>> No, RedBoot uses it's own network stack, separate from the
>> eCos network
>> package.
>>
>> >
>> > Also, why is PowerPC QUICC/SMC serial device drivers greyed
>> out in the
>> > config tool?
>> >
>>
>> Because you've not enabled generic serial I/O. You shouldn't do this
>> anyway. The PowerPC/QUICC packages are set up to include
>> certain functions
>> (like the serial drivers) once the generic support is turned on.
>>
>> Again, RedBoot does not use any of this.
>>
>> >
>> >
>> >
>> >> > Additional questions inline...
>> >> >
>> >> >> > I want to be able to have GDB access to my MBX board to use
>> >> >> the debugger. I
>> >> >> > would like to connect to the
>> >> >> > board using the Ethernet port so I can have the serial port
>> >> >> available for my
>> >> >> > own I/O. Do I build the GDB stub
>> >> >> > and add the redboot package or is it an either or
>> type of thing?
>> >> >>
>> >> >> It's sort of an either or thing. Redboot includes a GDB stub.
>> >> >>
>> >> >> > If it is a choice of either redboot or GDB, what packages
>> >> >> do I need to add
>> >> >> > for networking support under GDB?
>> >> >> >
>> >> >> > What additional packages do I need to add for networking
>> >> >> support in redboot?
>> >> >>
>> >> >> You should be able to get what you want either by just
>> >> installing the
>> >> >> prebuilt images, or:
>> >> >>
>> >> >> ecosconfig new mbx redboot
>> >> >> ecosconfig import
>> >> >> PATHTOREPOSITORY/hal/powerpc/mbx/current/misc/redboot_ROM.cfg
>> >> >> ecosconfig tree
>> >> >> make
>> >> >
>> >> > I haven't used ecosconfig before. I use the Windows config
>> >> tool. So, for
>> >> > this would I just select the redboot template?
>> >> >
>> >> >
>> >> > Are there any other options or packages that I need to add?
>> >> >
>> >> >
>> >> >
>> >> > Will networking support be added to communicate with
>> >> redboot via Ethernet?
>> >>
>> >> You'll need to use the RedBoot template and then add
>> >> 'Generic FLASH memory support'
>> >> 'Common ethernet support'
>> >> Also, be sure and set the startup type to ROM (it won't
>> >> default that way)
>> >>
>>