Skip to contentSkip to conversation

gdb

U-Boot-Users K.M.Yin 2 participants 2 messages Dec 31, 2004

lore
Share & tools
lore

K.M.Yin

author
#0 lore raw

Hi
My working target is the arm926ejs based platform. we want to port the
gdb-stub to the u-boot. therefore two console port should be used, one is for host teminal program , another is for the host gdb debugger. right now the serial driver in our platform is polling based. Is there anybody kindly telling me how to initialize the two consoles or any material I can refer to and is it possible to achieve to port gdb-stub into the u-boot with such the polling based serial driver.

Best Regards

Yin

#1 lore raw
Quoted 3 lines · In message <00a401c4ef12$b9560a50$0bbca80a@kmyin> you wrote:

My working target is the arm926ejs based platform. we want to port the
gdb-stub to the u-boot. therefore two console port should be used, one is

What for?

Quoted 5 lines

for host teminal program , another is for the host gdb debugger. right now the serial driver in our platform is polling based. Is there anybody kindly telling me how to initialize the two consoles or any material I can refer to and is it possible to achieve to port gdb-stub into the u-boot with such the polling based serial driver.

Please check existing code before reinventing the wheel. There is already support for kgdb in U-Boot, and there is BedBug, too. It is probably more useful to adapt/extend one of those for your purposes.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is nothing in this world constant but inconstancy.      - Swift