From mboxrd@z Thu Jan 1 00:00:00 1970 From: J.Hwan Kim Date: Sun, 16 Sep 2012 22:18:41 +0900 Subject: [U-Boot] Limit of kernel size In-Reply-To: <50556036.8030608@denx.de> References: <505511F2.4030601@gmail.com> <50556036.8030608@denx.de> Message-ID: <5055D1B1.6090302@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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