EP440XS board boot problem(Note:similart to Sequoia)
Allan Wang
aiyuanwang at yahoo.com
Wed Dec 2 15:22:47 EST 2009
Hello, Mr Denk,
Thank you for your help. My answer to your questions are between the lines. Attached is the dts file I use.
Best regards,
Allan
----- Original Message ----
From: Wolfgang Denk <wd at denx.de>
To: Allan Wang <aiyuanwang at yahoo.com>
Cc: linuxppc-dev at lists.ozlabs.org
Sent: Tue, December 1, 2009 6:10:22 PM
Subject: Re: EP440XS board boot problem(Note:similart to Sequoia)
Dear Allan Wang,
In message <401793.31718.qm at web52903.mail.re2.yahoo.com> you wrote:
>
> I am new to the list. I am still newbie to embedded linux. I have
> bought an ep440xs board which is similar to sequoia board. u-boot is
> working. I am trying to make it run linux. I have the following
> problems and need your help. Thank you very much:
Which exact version of U-Boot are you running on this board?
=> version
U-Boot 1.1.6 (Oct 25 2009 - 13:26:41)
I guess this is a out-of-tree port, i. e. not part of the mainline
U-Boot repository - so are you sure that device tree support is
enabled in your version of U-Boot?
The device tree is not enabled in u-boot. I am building cuImage, so the device tree is supported in kernel(2.6.30.4).
>
> I am using linux kernel 2.6.30.4. I encounter 2 problems:
> 1. After console_init() is called inside start_kernel(), the console starts printing garbage like:
> Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> serial8250.0: ttyS0 at MMIO 0x1ef600300 (irq = 16) is a 16550A
> ������������������������������
...
What is your exact boot command?
I tftp the cuImage to address 0x200000 and bootm to boot.
Which boot arguments do you pass to the kernel?
bootargs=$(bootargs) console=ttyS0,$(baudrate)
What is ytour console baud rate in U-Boot, and what sort of "console="
boot argument do you pass to the Linux kernel?
The u-boot sets it to 115.2k. the dts file is set to 115.2k. Here is the boot parameter:
baudrate=115200
What does your device tree look like?
I attached my dts file.
> 2. It pakics when mounting the root file system(NFS):
> (gdb) bt
> #0 panic (fmt=0xc0290e94 "VFS: Unable to mount root fs on %s")
So what is the "%s" argument here? Which sort of root file system are
you trying to mount - NFS, ramdisk, UBIFS, ... ?
I try to use NFS for the root file system.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"He only drinks when he gets depressed." "Why does he get depressed?"
"Sometimes it's because he hasn't had a drink."
- Terry Pratchett, _Men at Arms_
More information about the Linuxppc-dev
mailing list