[U-Boot-Users] 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

In message 1085564451.4870.12.camel@Gargouille.comodoindia 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
...
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.
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.
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

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 my board using zImage.
Thanks Prakash

Hello,
in message 1085653448.12308.40.camel@Gargouille.comodoindia you wrote:
Thanks for your reply. i have changed the CONFIG_COMMANDS. i
faced some problems when compiling with CFG_NET_CMD. Then i have
This was to be expected. I guess there was a reason for not enabling it in the first place.
compiled u-boot with CFG_CMD_ELF option.(Without CFG_CMD_NET). i can able to see bootelf option.
Ummm.. what will you need this for?
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.
## Checking Image at 50040000 ... Bad Magic Number
This just means that this is not an U-Boot image.
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
participants (2)
-
Annamalai Prakash
-
Wolfgang Denk