public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Porting u-boot to new hardware
@ 2003-02-18 13:39 August Hoerandl
  2003-02-18 14:35 ` Kyle Harris
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: August Hoerandl @ 2003-02-18 13:39 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] Porting u-boot to new hardware
  2003-02-18 13:39 [U-Boot-Users] Porting u-boot to new hardware August Hoerandl
@ 2003-02-18 14:35 ` Kyle Harris
  2003-02-18 19:36   ` Wolfgang Denk
  2003-02-18 17:34 ` Jachym Holecek
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Kyle Harris @ 2003-02-18 14:35 UTC (permalink / raw)
  To: u-boot

On Tuesday 18 February 2003 08:39 am, August Hoerandl wrote:

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

Congrats!

> 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?

u-boot is based on armboot which is based on ppcboot. This stuff worked in 
armboot but apparently has not been fixed for u-boot. I think Robert Schwebel 
has made the most progress with u-boot on PXA. You may want to check his 
board for latest updates. 

Wolfgang, has Robert's patches been merged into CVS yet? 

Kyle.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] Porting u-boot to new hardware
  2003-02-18 13:39 [U-Boot-Users] Porting u-boot to new hardware August Hoerandl
  2003-02-18 14:35 ` Kyle Harris
@ 2003-02-18 17:34 ` Jachym Holecek
  2003-02-18 19:35 ` Wolfgang Denk
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Jachym Holecek @ 2003-02-18 17:34 UTC (permalink / raw)
  To: u-boot

On Tue, Feb 18, 2003 at 02:39:31PM +0100, August Hoerandl wrote:
> 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?

  From what I've seen, the 'syscalls' are not implemented for ARM (hello_world.c
doesn't work for me on the LART either). Look at the *.S file at examples/.
Thus, standalone applications cannot run (or better said - do anything much
useful) as of now.

  When I'm at it, I have trouble with u-boot on the LART - the board hangs
(no response on serial, it is a default build and everything else seems to work
fine) as soon as I try to loads something. I didn't yet begin to track this
down, just in case anyone went into the same problem...

Regards,
	-- Jachym Holecek

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] Porting u-boot to new hardware
  2003-02-18 13:39 [U-Boot-Users] Porting u-boot to new hardware August Hoerandl
  2003-02-18 14:35 ` Kyle Harris
  2003-02-18 17:34 ` Jachym Holecek
@ 2003-02-18 19:35 ` Wolfgang Denk
  2003-02-21 20:26 ` Robert Schwebel
  2003-02-22  8:08 ` [U-Boot-Users] U-Boot ICON Reinhard Meyer
  4 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2003-02-18 19:35 UTC (permalink / raw)
  To: u-boot

Hello,

in message <200302181439.31331.ahoerandl@gmx.at> you wrote:
> 
> what i have got:
>  - u-boot up and running ;-)

Congrats!

> 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?

Probably, at least on this family of devices.

All init_*() functions should return 0 in case of no  problems  found
and !=0 in case of errors.

> 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

syscalls have not been implemented (yet)  for  anything  but  PowerPC
processors.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
See us @ Embedded World, Nuremberg, Feb 18-20, Hall 12.0 Booth 12-442

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] Porting u-boot to new hardware
  2003-02-18 14:35 ` Kyle Harris
@ 2003-02-18 19:36   ` Wolfgang Denk
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2003-02-18 19:36 UTC (permalink / raw)
  To: u-boot

In message <E18l8xi-0005iH-00@smtp10.atl.mindspring.net> you wrote:
> 
> Wolfgang, has Robert's patches been merged into CVS yet? 

Sorry, not yet. We're  all  at  the  Embedded  World  trade  fair  in
Nuremberg  this  week.  I  hope  I  can  get  some work done over the
weekend. Robert's patches are pretty high on my list.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
See us @ Embedded World, Nuremberg, Feb 18-20, Hall 12.0 Booth 12-442

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] Porting u-boot to new hardware
  2003-02-18 13:39 [U-Boot-Users] Porting u-boot to new hardware August Hoerandl
                   ` (2 preceding siblings ...)
  2003-02-18 19:35 ` Wolfgang Denk
@ 2003-02-21 20:26 ` Robert Schwebel
  2003-02-22  8:08 ` [U-Boot-Users] U-Boot ICON Reinhard Meyer
  4 siblings, 0 replies; 9+ messages in thread
From: Robert Schwebel @ 2003-02-21 20:26 UTC (permalink / raw)
  To: u-boot

August, 

sorry for my late answer - I have been at the Embedded World for the
last week. 

On Tue, Feb 18, 2003 at 02:39:31PM +0100, August Hoerandl wrote:
> 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?

Kyle has already mentioned my patches - look at our homepage, I have put
my latest snapshot there, mostly as a reference until Wolfgang has found
some time for integrating it into CVS. Anyway, the memory initialisation
works here.  

> 2) starting the example program hello_world

Didn't try this, but there have been some memory map topics (for example
ARMBoot had the stack above the relocated code, not below like stated in
the README). The .bss segment has not been initialized with 0 in the
original code which could also be a source of problems. 

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] U-Boot ICON
  2003-02-18 13:39 [U-Boot-Users] Porting u-boot to new hardware August Hoerandl
                   ` (3 preceding siblings ...)
  2003-02-21 20:26 ` Robert Schwebel
@ 2003-02-22  8:08 ` Reinhard Meyer
  2003-02-22 20:24   ` Wolfgang Denk
  4 siblings, 1 reply; 9+ messages in thread
From: Reinhard Meyer @ 2003-02-22  8:08 UTC (permalink / raw)
  To: u-boot

Hello,

did anyone think about an Icon for U-Boot already? Like the Penguin (tux)
for LinuX etc?

What about a submarine (u-boot is the german word for that)?

If nobody 'nah's I'll check my cliparts for a free-to-use one

Greetings Reinhard

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] U-Boot ICON
  2003-02-22  8:08 ` [U-Boot-Users] U-Boot ICON Reinhard Meyer
@ 2003-02-22 20:24   ` Wolfgang Denk
  2003-03-11 14:55     ` Steven Scholz
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Denk @ 2003-02-22 20:24 UTC (permalink / raw)
  To: u-boot

Dear Reinhard,

in message <01f501c2da49$95a60b30$6d4ba8c0@alb.sub.de> you wrote:
> 
> did anyone think about an Icon for U-Boot already? Like the Penguin (tux)
> for LinuX etc?

I did, several times, but witout any good idea so far.

> What about a submarine (u-boot is the german word for that)?

It's one of the two obvious ideas (the othe rone being a boot). But I
feel (1) there should be some hint on what it is,  and  (2)  I  realy
don't want to use anything that even remotely looks like a weapon.

Maybve something completely unrelated would be even better,  like  an
elephant or a lamb or a hedgehog or a dolphin ...

> If nobody 'nah's I'll check my cliparts for a free-to-use one

Go on, all ideas are welcome and at least worth discussing.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Brain: an apparatus with which we think we think.    - Ambrose Bierce

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot-Users] U-Boot ICON
  2003-02-22 20:24   ` Wolfgang Denk
@ 2003-03-11 14:55     ` Steven Scholz
  0 siblings, 0 replies; 9+ messages in thread
From: Steven Scholz @ 2003-03-11 14:55 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk schrieb:
> Dear Reinhard,
> 
> in message <01f501c2da49$95a60b30$6d4ba8c0@alb.sub.de> you wrote:
> 
>>did anyone think about an Icon for U-Boot already? Like the Penguin (tux)
>>for LinuX etc?
> 
> 
> I did, several times, but witout any good idea so far.
> 
> 
>>What about a submarine (u-boot is the german word for that)?
> 
> 
> It's one of the two obvious ideas (the othe rone being a boot). But I
> feel (1) there should be some hint on what it is,  and  (2)  I  realy
> don't want to use anything that even remotely looks like a weapon.
Fair enough!

> Maybve something completely unrelated would be even better,  like  an
> elephant or a lamb or a hedgehog or a dolphin ...

How about emphasising the UNIVERSAL thing about u-boot by using something like 
an astronomical picture: a milky way, a Big Bang, a star, a planet something 
like that...

Cheers,

Steven

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-03-11 14:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-18 13:39 [U-Boot-Users] Porting u-boot to new hardware August Hoerandl
2003-02-18 14:35 ` Kyle Harris
2003-02-18 19:36   ` Wolfgang Denk
2003-02-18 17:34 ` Jachym Holecek
2003-02-18 19:35 ` Wolfgang Denk
2003-02-21 20:26 ` Robert Schwebel
2003-02-22  8:08 ` [U-Boot-Users] U-Boot ICON Reinhard Meyer
2003-02-22 20:24   ` Wolfgang Denk
2003-03-11 14:55     ` Steven Scholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox