[U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel

Hi all,
I would like to modify the uboot so that it could boot up 2.4 and 2.6 kernel without downloading the u boot again . what i know the difference is : 2.6 kernel know how to copy itself to memory but 2.4 do not and need bootloader to do it. Am i right ? How can i do this inorder to make it more convinent ?
Regards, TOM

In message 42BFA550.5010807@avantwave.com you wrote:
I would like to modify the uboot so that it could boot up 2.4 and 2.6 kernel without downloading the u boot again . what i know the difference
There is absolutely no need to modify U-Boot for this purpose. It can boot many different operating systems and different Linux kernel versions without any code changes.
is : 2.6 kernel know how to copy itself to memory but 2.4 do not and need bootloader to do it. Am i right ? How can i do this inorder to make it more convinent ?
No, you are wrong. There are absolutely no changes needed.
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
In message 42BFA550.5010807@avantwave.com you wrote:
I would like to modify the uboot so that it could boot up 2.4 and 2.6 kernel without downloading the u boot again . what i know the difference
There is absolutely no need to modify U-Boot for this purpose. It can boot many different operating systems and different Linux kernel versions without any code changes.
is : 2.6 kernel know how to copy itself to memory but 2.4 do not and need bootloader to do it. Am i right ? How can i do this inorder to make it more convinent ?
No, you are wrong. There are absolutely no changes needed.
In general, do you mean both kernel should know how to copy itself to memory and the bootloader don't need to handle this ?
Best regards,
Wolfgang Denk

In message 42C0B6AC.7070507@avantwave.com you wrote:
In general, do you mean both kernel should know how to copy itself to memory and the bootloader don't need to handle this ?
No, the kernel has nothing to do with any copying or uncompressing etc. All this is done by U-Boot - no matter which kernel version or which architecture.
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
In message 42C0B6AC.7070507@avantwave.com you wrote:
In general, do you mean both kernel should know how to copy itself to memory and the bootloader don't need to handle this ?
No, the kernel has nothing to do with any copying or uncompressing etc. All this is done by U-Boot - no matter which kernel version or which architecture.
Sorry , can you tell me where is the code of copying the kernel ? I suppose it will be in the file lib_arm/armlinux.c but i failed. Can you tell me which file contain the code ?
Regards, TOM
Best regards,
Wolfgang Denk

In message 42C0F94B.2040701@avantwave.com you wrote:
Sorry , can you tell me where is the code of copying the kernel ? I suppose it will be in the file lib_arm/armlinux.c but i failed. Can you tell me which file contain the code ?
See common/cmd_bootm.c:do_bootm()
Best regards,
Wolfgang Denk
participants (2)
-
Tomko
-
Wolfgang Denk