Re: [U-Boot] debug uboot from ram for x86 board

2008-12-25 Thread Lance Zhang
> I carefully read the codes related to the do_go function, and I find that(u > boot 1.1.6): > In do_go() functions: > #if defined(CONFIG_I386) > /* >* x86 does not use a dedicated register to pass the pointer >* to the global_data >*/ > argv[0] = (char *)gd; > #

Re: [U-Boot] debug uboot from ram for x86 board

2008-12-25 Thread Lance Zhang
Hi Graeme >I have the same problem. I am in the process of finalising some other x86 >common code to make the custom board port more seemless before I dig deeper. >I do, however, feel that a look at the nios code (lib_nios/board.c) might >shed some light on the issue. Specifically the comment in d

Re: [U-Boot] debug uboot from ram for x86 board

2008-12-25 Thread Graeme Russ
On Thu, Dec 25, 2008 at 4:52 PM, LanceZ wrote: > > Hi there, > > I am trying to add some codes(driver) to u boot, but I do not have jtag or > other debugging tools. what I can use are :serial port/ethernet, so I can > use tftp and loadb to download the bin to ram. > > Currently, I tried to use "lo

[U-Boot] debug uboot from ram for x86 board

2008-12-24 Thread LanceZ
Hi there, I am trying to add some codes(driver) to u boot, but I do not have jtag or other debugging tools. what I can use are :serial port/ethernet, so I can use tftp and loadb to download the bin to ram. Currently, I tried to use "loadb" to load the sample(hello_world) to ram and then execute