Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-25 Thread Graeme Russ
On Wed, Dec 24, 2008 at 12:14 PM, Shinya Kuribayashi shinya.kuribaya...@necel.com wrote: Graeme Russ wrote: [Snip] - All weak functions are declared as __function() in the source file with funtion() __attribute__((weak, alias(function))); on the line immediately after the closing

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-25 Thread Graeme Russ
On Thu, Dec 25, 2008 at 11:56 AM, Shinya Kuribayashi shinya.kuribaya...@necel.com wrote: Remy Bohmer wrote: Create a default fallback routine that can be used if there is no strong implementation: ---

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 lance.zh...@taihootech.com 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,

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-25 Thread Joakim Tjernlund
-Original Message- From: Shinya Kuribayashi [mailto:skuri...@ruby.dti.ne.jp] Sent: den 24 december 2008 17:55 To: Joakim Tjernlund Cc: 'Shinya Kuribayashi'; 'Graeme Russ'; u-boot@lists.denx.de Subject: Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions) Joakim Tjernlund

Re: [U-Boot] [RFC][PATCH] Code Clean-up (weak functions)

2008-12-25 Thread Shinya Kuribayashi
Joakim Tjernlund wrote: Checking for NULL before invocation won't work unless you fix the relocation routine not to relocate NULL values. That is what I have been trying to say several times now. That fix should be performed regardless so no nasty surprises will happen in the future. Perhaps

[U-Boot] How does U boot pass kernel parameters to Operating System ...

2008-12-25 Thread Diptopal Basu
Hi , I am using U boot for ARM at91rm9200dk . How does U boot pass Kernel parameters to Linux Operating system ? I mean the Tagged list (e.g. ATAG_CORE , ATAG_MEM , ATAG_NONE etc ) . Is is sent during the 'bootm' command ? How to edit the Tagged list if required ? Regards Diptopal Basu

Re: [U-Boot] My Linux kernel hangs at the Uncompressing Linux ... phase

2008-12-25 Thread Piyush Shah
Hi Diptopal, I had got a similar problem. So, what I did was, I enabled the low level debugging option in the kernel config. Then when I tried with this new kernel, after the Uncompressin Linux line I got a message saying that the kernel was not compatible with the ARM processor I was using,

Re: [U-Boot] My Linux kernel hangs at the Uncompressing Linux ... phase

2008-12-25 Thread Pink Boy
Diptopal Basu, I have compiled a Linux kernel ( version 2.6.22.19 ) for ARM at91rm9200dk board, I used the mkimage utility in U boot load the kernel at a specific area of memory . ( Skyeye Simulator ) However I get the Uncompressing Linux ... message and it stays at that line

Re: [U-Boot] [PATCH 1/2] XPedite5200 board support cleanup

2008-12-25 Thread Andy Fleming
On Tue, Dec 23, 2008 at 4:32 PM, Peter Tyser pty...@xes-inc.com wrote: Signed-off-by: Peter Tyser pty...@xes-inc.com --- This should be applied to the 85xx repository and depends on the currently applied XPedite5200 board support patch. Um...This doesn't appear to be true. It looks like you

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

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; #endif

[U-Boot] run_command() / do_run() fails in standalone application

2008-12-25 Thread rudresh
Hi, i'm using the standalone application to run the command's using do_run() / run_command function available in /common/mani.c. i followed the steps mentioned in README.standalone file. there is no compilation error or warnings. when i tftp that application to 0x4 to Power PC evaluation