Help U-boot without dhcp,bootp
Hi there...
I m very newbie to U-boot. I installed U-boot 1.1.1 in my King
canyon Board (Intel's ixp425 Processor). I can able to see the following mesg while reseting the Board power.
U-Boot 1.1.1 (May 4 2004 - 13:15:14)
U-Boot code: 00F80000 -> 00F90D9C BSS: -> 00F922AC RAM Configuration:
Bank #0: 00000000 16 MB
Flash: 32 MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 0
## Booting image at 50040000 ...
Bad Magic Number
=> help
The help list displays only loadb,loads downloding commands. I
dont know how to download the Linux kernel from my PC to Board. But In U-boot's Online manual deals booting the board via BOOTP, DHCP.Those options (bootp,dhcp,rarpboot,tftpboot) are not available in my bootloader.
I compiled the U-boot code by following the below steps.
make ixdp425_config
make
Tell me what should i do to get the above options and how to
download my kernel,ram disk to my board ?. Is it possible to convert my zImage into BIN format... (I think .srec format occupies more memory space).
Thanks in Advance.
Thanks
Prakash
Quoted 3 lines · In message <[email protected]> you wrote:
I m very newbie to U-boot. I installed U-boot 1.1.1 in my King
canyon Board (Intel's ixp425 Processor). I can able to see the
...
Quoted 5 lines
The help list displays only loadb,loads downloding commands. I
dont know how to download the Linux kernel from my PC to Board. But In U-boot's Online manual deals booting the board via BOOTP, DHCP.Those options (bootp,dhcp,rarpboot,tftpboot) are not available in my bootloader.
This is to be expected - the board config file explicitely disables the CFG_CMD_NET option.
Quoted 1 line
Tell me what should i do to get the above options and how to
Enable the CFG_CMD_NET in your definition of CONFIG_COMMANDS. But be prepared that there might be a reason for this option to be turned off - like missing driver support or so.
Quoted 3 lines
download my kernel,ram disk to my board ?. Is it possible to convert my zImage into BIN format... (I think .srec format occupies more memory space).
You can download your image as .srec (using the loads command) or as binary file (using the loadb command) as you like - on the target boith images will be identical; it's just that the S-Record download is much slower.
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 Knowledge, sir, should be free to all! -- Harry Mudd, "I, Mudd", stardate 4513.3
Hi Wolfgang,
Thanks for your reply. i have changed the CONFIG_COMMANDS. i
faced some problems when compiling with CFG_NET_CMD. Then i have compiled u-boot with CFG_CMD_ELF option.(Without CFG_CMD_NET). i can able to see bootelf option.
As per your instruction, i have converted my Image as
zImage.srec. when comparing the size of the files, zImage's size is very low. size of Bin and srec are high.
I have downloaded the zImage.srec using loads command. i
run the following command.
minicom> => protect off all
=> Un-Protect Flash Bank # 1
=> loads 100000
....
PC> cat ../boot/zImage.srec > /dev/ttyS0
i see the following the msg in Minicom.
minicom> ## First Load Addr = 0x00100000
## Last Load Addr = 0x000AE15F
## Total Size = 0x000AE160 = 713056 Bytes
## Start Addr = 0x00000000
=>
minicom> =>cp.b 100000 50040000 AE160
copy to Flash ../done.
=>imi 50040000
## Checking Image at 50040000 ...
Bad Magic Number
what is wrong in my procedure ?. Basically i want to boot myboard using zImage.
Thanks
Prakash
Hello,
Quoted 3 lines · in message <[email protected]> you wrote:
Thanks for your reply. i have changed the
CONFIG_COMMANDS. i
faced some problems when compiling withCFG_NET_CMD. Then i have
This was to be expected. I guess there was a reason for not enabling it in the first place.
Quoted 2 lines
compiled u-boot with
CFG_CMD_ELFoption.(WithoutCFG_CMD_NET). i can able to see bootelf option.
Ummm.. what will you need this for?
Quoted 3 lines
As per your instruction, i have converted my Image as
zImage.srec. when comparing the size of the files, zImage's size is very low. size of Bin and srec are high.
This was NOT my instruction.
With U-Boot you should just run "make uImage", and use the resulting uImage file (which is in binary format); alternatively, read the README.
Quoted 2 lines
## Checking Image at 50040000 ... Bad Magic Number
This just means that this is not an U-Boot image.
Quoted 2 lines
what is wrong in my procedure ?. Basically i want to boot my
board using zImage.
Don't do it. Use uImage instead. This is what it was made for.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Any sufficiently advanced technology is indistinguishable from magic.
Clarke's Third Law - _Profiles of the Future_ (1962; rev. 1973)
``Hazards of Prophecy: The Failure of Imagination''