All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel
@ 2005-06-27  7:05 Tomko
  2005-06-27  8:20 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Tomko @ 2005-06-27  7:05 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel
  2005-06-27  7:05 [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel Tomko
@ 2005-06-27  8:20 ` Wolfgang Denk
  2005-06-28  2:32   ` Tomko
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2005-06-27  8:20 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Oh, that sound of male ego.  You travel halfway across the galaxy and
it's still the same song.
	-- Eve McHuron, "Mudd's Women", stardate 1330.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel
  2005-06-27  8:20 ` Wolfgang Denk
@ 2005-06-28  2:32   ` Tomko
  2005-06-28  6:39     ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Tomko @ 2005-06-28  2:32 UTC (permalink / raw)
  To: u-boot

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
>
>  
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel
  2005-06-28  2:32   ` Tomko
@ 2005-06-28  6:39     ` Wolfgang Denk
  2005-06-28  7:16       ` Tomko
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2005-06-28  6:39 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A witty saying proves nothing."                           - Voltaire

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel
  2005-06-28  6:39     ` Wolfgang Denk
@ 2005-06-28  7:16       ` Tomko
  2005-06-28  9:42         ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Tomko @ 2005-06-28  7:16 UTC (permalink / raw)
  To: u-boot

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
>
>  
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel
  2005-06-28  7:16       ` Tomko
@ 2005-06-28  9:42         ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-06-28  9:42 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Those who will be able to conquer software will be able  to  conquer
the world."                 - Tadahiro Sekimoto, president, NEC Corp.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-06-28  9:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-27  7:05 [U-Boot-Users] question : difference between booting 2.4 and 2.6 kernel Tomko
2005-06-27  8:20 ` Wolfgang Denk
2005-06-28  2:32   ` Tomko
2005-06-28  6:39     ` Wolfgang Denk
2005-06-28  7:16       ` Tomko
2005-06-28  9:42         ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.