mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Yi Qingliang <niqingliang2003@gmail.com>
To: Juergen Beisert <jbe@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: about s3c2442
Date: Thu, 10 Jan 2013 19:14:28 +0000	[thread overview]
Message-ID: <2434156.f1v0Lr0KEV@yiqingliang-pc> (raw)
In-Reply-To: <201301101100.54062.jbe@pengutronix.de>

On Thursday, January 10, 2013 11:00:53 AM Juergen Beisert wrote:
> Hi Yi,
> 
> Yi Qingliang wrote:
> > On Thursday, January 10, 2013 10:14:07 AM Juergen Beisert wrote:
> > > Yi Qingliang wrote:
> > > > On Thursday, January 10, 2013 09:36:36 AM Juergen Beisert wrote:
> > > > > Yi Qingliang wrote:
> > > > > > 	I'm using barebox (based on mini2440) on my s3c2442 board,
> > > > > > 
> > > > > > 1. flash barebox into nand: can't start normally, but can see
> > > > > > early
> > > > > > output on serial.
> > > > > > 2. load it in sdram: can start normally into shell, and then I use
> > > > > > it to boot kernel (also in sdram, also based on mini2440).
> > > > > > the kernel hang, no output.
> > > > > > 
> > > > > > after dig into it, I found something: add "mem=64M" into the
> > > > > > kernel
> > > > > > paramer, then the kernel can start.
> > > > > > 
> > > > > > BUT:
> > > > > > the barebox doesn't pass that paramert to kernel for mini2440,
> > > > > > why the mini2440 kernel can start normally?
> > > > > > 
> > > > > > how does the kernel on 2440 get the sdram size?
> > > > > 
> > > > > There is no autodetection possible. Take a look into
> > > > > the "arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S": This is
> > > > > the
> > 
> > I found it,
> > but:
> > md 0x48000028
> > 48000028: 000000b2 (represents is 128)
> > it looks like the lowlevel_init is not executed, what's the problem.
> 
> Is the symbol "CONFIG_MACH_DO_LOWLEVEL_INIT" enabled in your config?
enabled already, but when loaded in sdram, the barebox skipped the sdram init 
code. am i right?
> 
> Regards,
> Juergen

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-01-10 11:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 15:07 Yi Qingliang
2013-01-10  8:36 ` Juergen Beisert
2013-01-10  9:08   ` Yi Qingliang
2013-01-10  9:14     ` Juergen Beisert
2013-01-10 17:45       ` Yi Qingliang
2013-01-10 10:00         ` Juergen Beisert
2013-01-10 19:14           ` Yi Qingliang [this message]
2013-01-10 11:20             ` Juergen Beisert
2013-01-10 17:54       ` Yi Qingliang

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=2434156.f1v0Lr0KEV@yiqingliang-pc \
    --to=niqingliang2003@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=jbe@pengutronix.de \
    /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