From: martin@ronetix.at (Martin Peevski)
To: linux-arm-kernel@lists.infradead.org
Subject: Kernel failed to boot when add more drivers
Date: Wed, 12 Dec 2012 16:01:31 +0200 [thread overview]
Message-ID: <50C88E3B.8090108@ronetix.at> (raw)
In-Reply-To: <91586D499ADFD74FBCFB8425266A5DE4013765E58576@pluto.melinkcorp.local>
On 12/12/12 15:53, Bryan Evenson wrote:
> Martin,
>
> Whenever I've had similar issues it's because I have a U-Boot environment
> variable that assumes the kernel is smaller than it is. So U-Boot may not
> be loading the entire kernel which would cause your CRC errors. Could you
> you provide the following information:
>
> How are you loading the kernel? From NAND flash, SD card, TFTP boot?
I'm loading the Kernel from NAND
> Could you show us your U-Boot environment variables (result of "printenv"
> U-Boot command)?
U-Boot> printenv
bootargs=mem=128M console=ttyS0,115200
mtdparts=atmel_nand:8M(bootstrap/uboot/kernel)ro,-(rootfs)
root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs
bootcmd=nand read.jffs2 0x22000000 0x200000 0x250000; bootm 0x22000000
bootdelay=1
baudrate=115200
ethact=macb0
Environment size: 277/131067 bytes
U-Boot>
> Thanks,
> Bryan Evenson
>
>
>> -----Original Message-----
>> From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-
>> kernel-bounces at lists.infradead.org] On Behalf Of Martin Peevski
>> Sent: Wednesday, December 12, 2012 8:08 AM
>> To: linux-arm-kernel at lists.infradead.org
>> Subject: Kernel failed to boot when add more drivers
>>
>> Hello! Can you, please, help me!
>>
>> I'm building Linux Kernel version 2.6.39 for at91sam9x5ek. When I
>> want to add more drivers the U-boot is imposible to load the Kernel
>> because CRC error. The size of the uImage is 2.38MB. When I remove some
>> driversand uImage become around 2.31MB the Kernel is loading
>> successfully. Do you know what is the reason, I want to use more
>> drivers?
>>
>> Many thanks!
>> Martin Peevski.
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2012-12-12 14:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 13:08 Kernel failed to boot when add more drivers Martin Peevski
2012-12-12 13:53 ` Bryan Evenson
2012-12-12 14:01 ` Martin Peevski [this message]
2012-12-12 14:29 ` Bryan Evenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50C88E3B.8090108@ronetix.at \
--to=martin@ronetix.at \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox