[U-Boot-Users] passing parameters to kernel from u-boot 1.1.6

Hi Everybody,
Iam working on changing the bootloader from redboot to u-boot 1.1.6 for my customised target board having IXP422 chipset. The board had two files, one was the redboot bootloader (bin) file and second was the Image ( Kernel & Application .rmt) file. I guess that this Image file would not be dependent on the bootloader. Am i rite?
I have managed to get the console and network of U-boot 1.1.6 up on my customised board with the help of this forum :)
Now I would like to port the existing Image. How can I do it. Can anyone help me with this?
I have tried changing the "bootfile" env variable with the location of my image and reset the board, it gives the load address as 0x200000 then loading and some # hash's as if its loading something, inbetweens it gives, "bad checksum" and ends with the statement "bad magic number"
then i tried giving "tftpboot 0x00200000 uImage" it did almost the same , load address 0x200000, loading with some Hash # and then then gav ethe number of bytes tranfered, this time no error message. then i tried bootm 0x200000but it said... booting image at 0x00200000 and then BAD MAGIC NUMBER.
how should i proceed with this. Pl Help!
Queenie

U can use mkimage to make your binary image (kernel + fs), it is included with the u-boot sources in the tools directory.
Nicky
2007/6/27, Queenie queenie245@gmail.com:
Hi Everybody,
Iam working on changing the bootloader from redboot to u-boot 1.1.6 for my customised target board having IXP422 chipset. The board had two files, one was the redboot bootloader (bin) file and second was the Image ( Kernel & Application .rmt) file. I guess that this Image file would not be dependent on the bootloader. Am i rite?
I have managed to get the console and network of U-boot 1.1.6 up on my customised board with the help of this forum :)
Now I would like to port the existing Image. How can I do it. Can anyone help me with this?
I have tried changing the "bootfile" env variable with the location of my image and reset the board, it gives the load address as 0x200000 then loading and some # hash's as if its loading something, inbetweens it gives, "bad checksum" and ends with the statement "bad magic number"
then i tried giving "tftpboot 0x00200000 uImage" it did almost the same , load address 0x200000, loading with some Hash # and then then gav ethe number of bytes tranfered, this time no error message. then i tried bootm 0x200000but it said... booting image at 0x00200000 and then BAD MAGIC NUMBER.
how should i proceed with this. Pl Help!
Queenie
View this message in context: http://www.nabble.com/passing-parameters-to-kernel-from-u-boot-1.1.6-tf39872... Sent from the Uboot - Users mailing list archive at Nabble.com.
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

Hi,
I tried mkimage comand on the host system where i had complied u-boot 1.1.6
localhost:$ mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -n "Linux 2.4" -d linux.bin uImage.bin where linux.bin was the Image (kernel+application+fs) which was earlier used by my redboot bootloader.
Can someone let me know how we can decide the RAM address? how can we determine 0x8000 or something else. ?? i tried 0x200000 also but it didnt work.
When my u-boot boots, it says
From server 192.168.5.12; our IP address is 192.168.5.215
Filename 'uImage'. Load address: 0x200000 Loading: ################################################## done Bytes transferred = 6721600 (669040 hex)
## Booting image at 00200000 ... Image Name: Linux 2.4 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6721536 Bytes = 6.4 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Starting kernel ...
and then it restarts and agian does the same and restarts...
Help me!
Queenie
nicky geerts wrote:
U can use mkimage to make your binary image (kernel + fs), it is included with the u-boot sources in the tools directory.
Nicky
2007/6/27, Queenie queenie245@gmail.com:
Hi Everybody,
Iam working on changing the bootloader from redboot to u-boot 1.1.6 for my customised target board having IXP422 chipset. The board had two files, one was the redboot bootloader (bin) file and second was the Image ( Kernel & Application .rmt) file. I guess that this Image file would not be dependent on the bootloader. Am i rite?
I have managed to get the console and network of U-boot 1.1.6 up on my customised board with the help of this forum :)
Now I would like to port the existing Image. How can I do it. Can anyone help me with this?
I have tried changing the "bootfile" env variable with the location of my image and reset the board, it gives the load address as 0x200000 then loading and some # hash's as if its loading something, inbetweens it gives, "bad checksum" and ends with the statement "bad magic number"
then i tried giving "tftpboot 0x00200000 uImage" it did almost the same , load address 0x200000, loading with some Hash # and then then gav ethe number of bytes tranfered, this time no error message. then i tried bootm 0x200000but it said... booting image at 0x00200000 and then BAD MAGIC NUMBER.
how should i proceed with this. Pl Help!
Queenie
View this message in context: http://www.nabble.com/passing-parameters-to-kernel-from-u-boot-1.1.6-tf39872... Sent from the Uboot - Users mailing list archive at Nabble.com.
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (2)
-
nicky geerts
-
Queenie