[U-Boot-Users] Interface between u-boot and linux image

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

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

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

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

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

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

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

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
participants (4)
-
CG
-
christian@mcdi.com
-
Wolfgang Denk
-
wyu hotmail