[U-Boot-Users] Porting u-boot to new hardware

August Hoerandl ahoerandl at gmx.at
Tue Feb 18 14:39:31 CET 2003


Hi,
I am trying to port u-boot to my new hardware (pxa250 based)
what i have got:
 - u-boot up and running ;-)

problems so far:
1)   lib_arm/board.c
    dram_init  (line 176)  is called as
   	if ((*init_fnc_ptr)() != 0) {
			hang ();

 i copied this from board/lubbock/lubbock.c - this function returns the
 size of the memory, which is always != 0. same in board/cradle/cradle.c .
 am i the first one to get so far?

2) starting the example program hello_world
2a) for the loads command i had to comment out the check around line 380 in 
   common/boot_cmd.c

		  if (syscall_tbl[SYSCALL_GETC] != serial_getc) {
		    if (ctrlc()) {
		      return (-1);
		    }

2b) starting the hello_world program

=> go 04300000
## Starting application at 0x04300000 ...
## Application terminated, rc = 0x0
=> 

but no output; i changed the counter i to "static" and looked at this memory
with md: the value changes according to the number of arguments

conclusion: the hello_world program is running, but the output functions
don't work


Has anyone done similar things and solved this problems?

Regards
Gustl






More information about the U-Boot mailing list