From: cbouatmailru@gmail.com (Anton Vorontsov)
To: linux-arm-kernel@lists.infradead.org
Subject: Booting CNS3420 EVB v 1.3 failed with 2.6.36 (and 2.6.35)
Date: Tue, 9 Nov 2010 13:14:33 +0300 [thread overview]
Message-ID: <20101109101433.GA17423@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <AANLkTimH0JVcB31usN5srPNYCR8sR75J23FtTPQK1Chf@mail.gmail.com>
On Tue, Nov 09, 2010 at 03:12:25PM +0800, Lin Mac wrote:
> > So, you need to build the kernel with the following command:
> > make LOADADDR=0x200000 uImage
> > And boot with these commands:
> > setenv machid ad8
>
> Thanks for the useful suggestions. Now it booted.
Great!
> > setenv bootargs console=ttyS0,38400 ip=on
> Changing this doesn't take effect. I was trying console=ttyS0,115200
> and root=/dev/ram0, but it just boot with the configured parameter
> instead of the given one.
>
> Is it also the issue of u-boot?
Nope. Just remove CONFIG_CMDLINE from your kernel .config file. ;-)
> > tftp 100000 uImage
> > bootm 100000
>
> BTW, the default boot command includes root=/dev/mmcblk0p1, but
> CONFIG_MMC_SDHCI_CNS3XXX is not enabled.
> Even if it is enabled, I got a crash once mounted. It works fine
> without L1 cache enabled (CONFIG_CPU_ICACHE_DISABLE,
> CONFIG_CPU_DCACHE_DISABLE). So it seems there are some cache coherency
> issue on the SDHC device.
I recalling I observed something like this, and it was somehow
related to the memory setup. The old (Jan 20 2010) U-Boot that
I used was configuring RAM incorrectly, and caches were just
unveiling the problem.
But, I see that you use quite new build of the U-Boot (Sep 2010),
so I'm not sure if that's the same problem as I had. Can you try
booting with something simple, e.g. init=/bin/sh?
Thanks,
--
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2
next prev parent reply other threads:[~2010-11-09 10:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-05 3:08 Booting CNS3420 EVB v 1.3 failed with 2.6.36 (and 2.6.35) Lin Mac
2010-11-05 7:44 ` Anton Vorontsov
2010-11-09 7:12 ` Lin Mac
2010-11-09 10:14 ` Anton Vorontsov [this message]
2010-11-09 10:35 ` Russell King - ARM Linux
2010-11-10 4:07 ` Lin Mac
2010-11-11 1:55 ` Lin Mac
2010-11-10 4:00 ` Lin Mac
2010-11-09 7:46 ` Lin Mac
2010-11-12 14:32 ` Russell King - ARM Linux
2010-11-14 21:58 ` Lin Mac
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=20101109101433.GA17423@oksana.dev.rtsoft.ru \
--to=cbouatmailru@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).