From: Wolfgang Denk Date: Fri, 31 Dec 2004 10:06:35 +0100 Subject: [U-Boot-Users] gdb In-Reply-To: Your message of "Fri, 31 Dec 2004 16:28:36 +0800." <00a401c4ef12$b9560a50$0bbca80a@kmyin> Message-ID: <20041231090640.BF2AEC14C1@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? > 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 -- 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