public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Limit of kernel size
@ 2012-09-15 23:40 J.Hwan Kim
  2012-09-16  2:48 ` Dan Malek
  2012-09-16  5:14 ` Heiko Schocher
  0 siblings, 2 replies; 4+ messages in thread
From: J.Hwan Kim @ 2012-09-15 23:40 UTC (permalink / raw)
  To: u-boot

Hi, everyone

Is there limitation of the kernel size which u-boot loads?

My kernel is very big, because I included the ramdisk into the kernel.
My kernel size is over 40MB.
When I load the kernel through u-boot, the prcedure hangs in the boot step.
The step is "Uncompressing Linux.... done, booting the kernel"

Thanks in advance.

Best Regards,
J.Hwan Kim

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

* [U-Boot] Limit of kernel size
  2012-09-15 23:40 [U-Boot] Limit of kernel size J.Hwan Kim
@ 2012-09-16  2:48 ` Dan Malek
  2012-09-16  5:14 ` Heiko Schocher
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Malek @ 2012-09-16  2:48 UTC (permalink / raw)
  To: u-boot


On Sep 15, 2012, at 4:40 PM, J.Hwan Kim wrote:

> Is there limitation of the kernel size which u-boot loads?

No.

> My kernel is very big, because I included the ramdisk into the kernel.
> My kernel size is over 40MB.
> When I load the kernel through u-boot, the prcedure hangs in the  
> boot step.
> The step is "Uncompressing Linux.... done, booting the kernel"

Yeah, I don't know what architecture you are using or the format of  
your image, but I suspect the problem is with the wrapper or start up  
code of the image.

There are lots of ways split/format such an image, I'd suggest asking  
on the architecture specific Linux mailing list.

Thanks.

	-- Dan

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

* [U-Boot] Limit of kernel size
  2012-09-15 23:40 [U-Boot] Limit of kernel size J.Hwan Kim
  2012-09-16  2:48 ` Dan Malek
@ 2012-09-16  5:14 ` Heiko Schocher
  2012-09-16 13:18   ` J.Hwan Kim
  1 sibling, 1 reply; 4+ messages in thread
From: Heiko Schocher @ 2012-09-16  5:14 UTC (permalink / raw)
  To: u-boot

Hello J.Hwan,

On 16.09.2012 01:40, J.Hwan Kim wrote:
> Hi, everyone
>
> Is there limitation of the kernel size which u-boot loads?

Only as I know the maximum RAM size (minus the size U-Boot needs)

> My kernel is very big, because I included the ramdisk into the kernel.
> My kernel size is over 40MB.
> When I load the kernel through u-boot, the prcedure hangs in the boot step.
> The step is "Uncompressing Linux.... done, booting the kernel"

On which board with which RAM size? Please provide more Information
including a u-boot log from reset, your environment ...

and maybe it is a Linux problem ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] Limit of kernel size
  2012-09-16  5:14 ` Heiko Schocher
@ 2012-09-16 13:18   ` J.Hwan Kim
  0 siblings, 0 replies; 4+ messages in thread
From: J.Hwan Kim @ 2012-09-16 13:18 UTC (permalink / raw)
  To: u-boot

2012? 09? 16? 14:14, Heiko Schocher ? ?:
> Hello J.Hwan,
>
> On 16.09.2012 01:40, J.Hwan Kim wrote:
>> Hi, everyone
>>
>> Is there limitation of the kernel size which u-boot loads?
>
> Only as I know the maximum RAM size (minus the size U-Boot needs)
>
>> My kernel is very big, because I included the ramdisk into the kernel.
>> My kernel size is over 40MB.
>> When I load the kernel through u-boot, the prcedure hangs in the boot 
>> step.
>> The step is "Uncompressing Linux.... done, booting the kernel"
>
> On which board with which RAM size? Please provide more Information
> including a u-boot log from reset, your environment ...
>
> and maybe it is a Linux problem ...

I'm using ARM(Cortex A8) architecture and my memory size 512MB.
I used both uImage and zImage, but the result was same.

I found this article in the web.
http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html

It says that
"The zImage code is Position Independent Code (PIC) so may be loaded
anywhere within the available address space.
The maximum kernel size after decompression is 4Megabytes.
This is a hard limit and would include the initrd if a bootpImage target 
was used."

If that article is not so obsolete, my kernel size which include initramfs
should be smaller than 4MB.

Best Regards,
J.Hwan Kim

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

end of thread, other threads:[~2012-09-16 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-15 23:40 [U-Boot] Limit of kernel size J.Hwan Kim
2012-09-16  2:48 ` Dan Malek
2012-09-16  5:14 ` Heiko Schocher
2012-09-16 13:18   ` J.Hwan Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox