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
Quoted 2 lines · In message <[email protected]> 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.
Quoted 3 lines
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.
Quoted 2 lines
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
Signature · 4 lines
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 <[email protected]>[U-Boot-Users] U-boot and Stratix development board Issue
In reply to wyu hotmailHello,
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
[U-Boot-Users] U-boot and Stratix development board Issue
Quoted 5 lines · In message <[email protected]> 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?
Quoted 8 lines
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.
Quoted 1 line
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
Signature · 3 lines
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
[U-Boot-Users] U-boot and Stratix development board Issue
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" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, May 25, 2004 8:33 AM
Subject: Re: [U-Boot-Users] U-boot and Stratix development board Issue
Quoted 1 line
In message <[email protected]> you
Quoted 3 lines · wrote:
Quoted 3 lines
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
Quoted 1 line
Quoted 1 line
transfer a file to the RAM. It waits during a while and after, the
transfer
Quoted 6 lines
Quoted 1 line
is canceled.
What exactly is the error message? You write "it waits" - what is "it"? U-Boot? or Kermit? or what?
Quoted 1 line
U-boot has been compiled for the Stratix Edition dev. board using the
Nios
Quoted 3 lines
Quoted 3 lines
processor (standard 32).
I can transfer and execute u-boot.srec by using this command :
nios-run -r u-
Quoted 3 lines
Quoted 3 lines
boot.srec.
After, I execute hyperterminal in order to transfer u-boot.bin and copy
it to
Quoted 20 lines
Quoted 1 line
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.
Quoted 1 line
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
[U-Boot-Users] U-boot and Stratix development board Issue
Quoted 2 lines · 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
Signature · 4 lines
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
[U-Boot-Users] src code reference
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
[U-Boot-Users] src code reference
Quoted 3 lines · 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
Signature · 3 lines
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.