All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Interface between u-boot and linux image
@ 2004-05-25  1:29 wyu hotmail
  2004-05-25  8:10 ` Wolfgang Denk
  2004-05-25 12:06 ` [U-Boot-Users] U-boot and Stratix development board Issue christian at mcdi.com
  0 siblings, 2 replies; 8+ messages in thread
From: wyu hotmail @ 2004-05-25  1:29 UTC (permalink / raw)
  To: u-boot

Hi, 

Is there a standard of the interface between u-boot and linux image? Since 
the u-boot should passing some information to kernel at the begining of 
linux image start up, but for different CPU type, the bdinfo structures are 
very different in u-boot, how does these structures co-work with linux 
image made from different version of embedded linux such as eldk, hardhat 
or others? thanks.


yuwp

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

* [U-Boot-Users] Interface between u-boot and linux image
  2004-05-25  1:29 [U-Boot-Users] Interface between u-boot and linux image wyu hotmail
@ 2004-05-25  8:10 ` Wolfgang Denk
  2004-05-25 12:06 ` [U-Boot-Users] U-boot and Stratix development board Issue christian at mcdi.com
  1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2004-05-25  8:10 UTC (permalink / raw)
  To: u-boot

In message <Sea2-F43BgUp5G9C1op000654e8@hotmail.com> you wrote:
> 
> Is there a standard of the interface between u-boot and linux image? Since 

Yes, U-Boot uses the interfaces defined by the Linux kernel.

> the u-boot should passing some information to kernel at the begining of 
> linux image start up, but for different CPU type, the bdinfo structures are 
> very different in u-boot, how does these structures co-work with linux 

At the  moment,  each  architecture  has  it's  own  way  of  passing
information  to  the  kernel. But this is something we inherited from
Linux history, it is not imposed by U-Boot. U-Boot just  uses  what's
there resp. what's been there in the Linux kernel.

> image made from different version of embedded linux such as eldk, hardhat 
> or others? thanks.

These are just different distributions which are  all  based  on  the
same  Linux  kernel  source  trees.  There  is  no  difference in the
interfaces. Nor any significant differnce at all.

Viele Gr??e,

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
I don't know if it's what you want, but it's what you get.  :-)
                      - Larry Wall in <10502@jpl-devvax.JPL.NASA.GOV>

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

* [U-Boot-Users] U-boot and Stratix development board Issue
  2004-05-25  1:29 [U-Boot-Users] Interface between u-boot and linux image wyu hotmail
  2004-05-25  8:10 ` Wolfgang Denk
@ 2004-05-25 12:06 ` christian at mcdi.com
  2004-05-25 12:33   ` Wolfgang Denk
  1 sibling, 1 reply; 8+ messages in thread
From: christian at mcdi.com @ 2004-05-25 12:06 UTC (permalink / raw)
  To: u-boot


Hello,

I would like to know if someone has already encountered this problem.  I 
cannot execute this command : loadb 800000 using kermit protocol in order to 
transfer a file to the RAM.  It waits during a while and after, the transfer 
is canceled.  

U-boot has been compiled for the Stratix Edition dev. board using the Nios 
processor (standard 32).

I can transfer and execute u-boot.srec by using this command : nios-run -r u-
boot.srec.

After, I execute hyperterminal in order to transfer u-boot.bin and copy it to 
the FLASH.

Unfortunately, I cannot use loadb... :-(

Any idea?

Regards

Christian   

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

* [U-Boot-Users] U-boot and Stratix development board Issue
  2004-05-25 12:06 ` [U-Boot-Users] U-boot and Stratix development board Issue christian at mcdi.com
@ 2004-05-25 12:33   ` Wolfgang Denk
  2004-05-25 13:08     ` CG
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2004-05-25 12:33 UTC (permalink / raw)
  To: u-boot

In message <200405251206.i4PC6bxG009356@web184.megawebservers.com> you wrote:
> 
> I would like to know if someone has already encountered this problem.  I 
> cannot execute this command : loadb 800000 using kermit protocol in order to 
> transfer a file to the RAM.  It waits during a while and after, the transfer 
> is canceled.  

What exactly is the error message? You write "it  waits"  -  what  is
"it"? U-Boot? or Kermit? or what?

> U-boot has been compiled for the Stratix Edition dev. board using the Nios 
> processor (standard 32).
> 
> I can transfer and execute u-boot.srec by using this command : nios-run -r u-
> boot.srec.
> 
> After, I execute hyperterminal in order to transfer u-boot.bin and copy it to 
> the FLASH.

Ummm.. when you already loaded u-boot.srec, then why do you  need  to
load  u-boot.bin?  Both  files  contain  the  same, just in different
formats.

> Unfortunately, I cannot use loadb... :-(

Please provide more information - what exactly you are  doing,  which
commands you enter, which error messages are printed, etc.

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
Nothing ever becomes real until it is experienced.       - John Keats

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

* [U-Boot-Users] U-boot and Stratix development board Issue
  2004-05-25 12:33   ` Wolfgang Denk
@ 2004-05-25 13:08     ` CG
  2004-05-25 16:31       ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: CG @ 2004-05-25 13:08 UTC (permalink / raw)
  To: u-boot

I presume that's u-boot waits during a while.  I see the kermit window and
no transfer is done.

About loading u-boot.bin.  I read the instructions from /doc directory in
order to copy u-boot into the flash.

Thanks

Christian

----- Original Message -----
From: "Wolfgang Denk" <wd@denx.de>
To: <christian@mcdi.com>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Tuesday, May 25, 2004 8:33 AM
Subject: Re: [U-Boot-Users] U-boot and Stratix development board Issue


> In message <200405251206.i4PC6bxG009356@web184.megawebservers.com> you
wrote:
> >
> > I would like to know if someone has already encountered this problem.  I
> > cannot execute this command : loadb 800000 using kermit protocol in
order to
> > transfer a file to the RAM.  It waits during a while and after, the
transfer
> > is canceled.
>
> What exactly is the error message? You write "it  waits"  -  what  is
> "it"? U-Boot? or Kermit? or what?
>
> > U-boot has been compiled for the Stratix Edition dev. board using the
Nios
> > processor (standard 32).
> >
> > I can transfer and execute u-boot.srec by using this command :
nios-run -r u-
> > boot.srec.
> >
> > After, I execute hyperterminal in order to transfer u-boot.bin and copy
it to
> > the FLASH.
>
> Ummm.. when you already loaded u-boot.srec, then why do you  need  to
> load  u-boot.bin?  Both  files  contain  the  same, just in different
> formats.
>
> > Unfortunately, I cannot use loadb... :-(
>
> Please provide more information - what exactly you are  doing,  which
> commands you enter, which error messages are printed, etc.
>
> 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
> Nothing ever becomes real until it is experienced.       - John Keats
>

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

* [U-Boot-Users] U-boot and Stratix development board Issue
  2004-05-25 13:08     ` CG
@ 2004-05-25 16:31       ` Wolfgang Denk
  2004-05-25 17:32         ` [U-Boot-Users] src code reference CG
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2004-05-25 16:31 UTC (permalink / raw)
  To: u-boot

In message <03d101c44259$73ab3860$6b01a8c0@cc> you wrote:
> I presume that's u-boot waits during a while.  I see the kermit window and
> no transfer is done.

U-Boot waits without timeout, i. e. it would hang forever  (or  until
you press ^C).

Check your serial port parameters (i. e. disable handshake  etc.  and
make    sure    that    your   kermit   settings   are   ok   -   see
http://www.denx.de/twiki/bin/view/DULG/SystemSetup#Section_4.3.   for
reference.

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
What nonsense people talk about happy marriages! A man can  be  happy
with any woman so long as he doesn't love her.         -- Oscar Wilde

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

* [U-Boot-Users] src code reference
  2004-05-25 16:31       ` Wolfgang Denk
@ 2004-05-25 17:32         ` CG
  2004-05-25 19:22           ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: CG @ 2004-05-25 17:32 UTC (permalink / raw)
  To: u-boot

Hello,

I need a reference board in order to understand how to initialize 2 flash
devices in my board.

I know that I have to modify something in the board/(Board_YYY)/flash.c
driver.  This driver is written to initialize only one flash and it works.
Now, I would like to implement an other flash.  I don't have any idea where
to start.

What I know, the Flash #1 is using 0x1000000 space area.

The Flash #2 must use another space area : 0x30000000, 128 Mbits.

Thank you

Christian

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

* [U-Boot-Users] src code reference
  2004-05-25 17:32         ` [U-Boot-Users] src code reference CG
@ 2004-05-25 19:22           ` Wolfgang Denk
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2004-05-25 19:22 UTC (permalink / raw)
  To: u-boot

In message <043201c4427e$3f4c3d10$6b01a8c0@cc> you wrote:
> 
> I need a reference board in order to understand how to initialize 2 flash
> devices in my board.

See for example CPU86

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
Include the success of others in your dreams for your own success.

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

end of thread, other threads:[~2004-05-25 19:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-25  1:29 [U-Boot-Users] Interface between u-boot and linux image wyu hotmail
2004-05-25  8:10 ` Wolfgang Denk
2004-05-25 12:06 ` [U-Boot-Users] U-boot and Stratix development board Issue christian at mcdi.com
2004-05-25 12:33   ` Wolfgang Denk
2004-05-25 13:08     ` CG
2004-05-25 16:31       ` Wolfgang Denk
2004-05-25 17:32         ` [U-Boot-Users] src code reference CG
2004-05-25 19:22           ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.