[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Open-RD Client, cannot boot into Debian after succesful install



Hello,

Ok it works a lot better with :

setenv bootcmd_sata 'ide reset;ext2load ide 1:1 0x0800000
/uInitrd;ext2load ide 1:1 0x400000 /uImage;bootm 0x400000 0x800000'
run bootcmd_sata

The bootm need the initrd address too.

Regards

Francois

On Sun, Jan 3, 2010 at 10:13 PM, Francois Lorrain
<francois.lorrain@gmail.com> wrote:
> Hello,
>
> I am familiar with Debian, but a bit inexperienced on debian ARM ...
> I got a Open-RD Client (the one with the nice aluminium box) for
> chrismas and I was able to  install debian on the Open-Rd + E-Sata
> disk connected to it but now I am unable to boot into this debian
> installation.
>
> From the email referenced at
> http://www.mail-archive.com/debian-arm@lists.debian.org/msg10262.html,
> I went through the installation succesfully up to the reboot into your
> new Debian Machine ( Remove the CD :-)
>
> I have the hard disk partionned with Partition 1 = /boot, Partition 2
> = swap, Partition 3 = LVM (same thing I would have done on a regular
> PC ...)
>
> when I try to boot from U-boot, I get the following :
>
>         __  __                      _ _
>        |  \/  | __ _ _ ____   _____| | |
>        | |\/| |/ _` | '__\ \ / / _ \ | |
>        | |  | | (_| | |   \ V /  __/ | |
>        |_|  |_|\__,_|_|    \_/ \___|_|_|
>  _   _     ____              _
> | | | |   | __ )  ___   ___ | |_
> | | | |___|  _ \ / _ \ / _ \| __|
> | |_| |___| |_) | (_) | (_) | |_
>  \___/    |____/ \___/ \___/ \__|
>  ** MARVELL BOARD: OpenRD-Client LE
>
> U-Boot 1.1.4 (Oct 27 2009 - 21:57:24) Marvell version: 3.4.19
>
> U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFB00
>
> Soc: 88F6281 A0 (DDR2)
> CPU running @ 1200Mhz L2 running @ 400Mhz
> SysClock = 400Mhz , TClock = 200Mhz
>
> DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
> DRAM CS[0] base 0x00000000   size 256MB
> DRAM CS[1] base 0x10000000   size 256MB
> DRAM Total size 512MB  16bit width
> Addresses 8M - 0M are saved for the U-Boot usage.
> Mem malloc Initialization (8M - 7M): Done
> NAND:512 MB
> Flash:  0 kB
>
> CPU : Marvell Feroceon (Rev 1)
>
> Streaming disabled
> Write allocate disabled
>
> Module 0 is AUDIO
> Module 1 is RGMII
>
> USB 0: host mode
> PEX 0: PCI Express Root Complex Interface
> PEX interface detected Link X1
> Net:   egiga0 [PRIME], egiga1
> Hit any key to stop autoboot:  0
> Marvell>> printenv bootargs
> bootargs=console=ttyS0,115200
> Marvell>> printenv bootcmd_sata
> bootcmd_sata=ide reset; ext2load ide 1:1 0x0800000 /uInitrd; ext2load
> ide 1:1 0x400000 /uImage; bootm 0x400000
> Marvell>> printenv mainlineLinux
> mainlineLinux=yes
> Marvell>> run bootcmd_sata
>
> Reset IDE:
> Marvell Serial ATA Adapter
> Integrated Sata device found
> [0 1 0]: Enable DMA mode (6)
>  Device 1 @ 0 1:
> Model: WDC WD5000AAKS-00TMA0                    Firm: 12.01C01 Ser#:
>   WD-WCAPW0126862
>            Type: Hard Disk
>            Supports 48-bit addressing
>            Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
>
>
> 5223157 bytes read
>
> 1811960 bytes read
> ## Booting image at 00400000 ...
>   Image Name:   Debian kernel
>   Created:      2010-01-03  19:46:17 UTC
>   Image Type:   ARM Linux Kernel Image (uncompressed)
>   Data Size:    1811896 Bytes =  1.7 MB
>   Load Address: 00008000
>   Entry Point:  00008000
>   Verifying Checksum ... OK
> OK
>
> Starting kernel ...
>
> Uncompressing Linux....................................................................................................................
> done, booting the kernel.
> [    0.000000] Initializing cgroup subsys cpuset
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Linux version 2.6.30-2-kirkwood (Debian 2.6.30-8)
> (waldi@debian.org) (gcc version 4.3.4 (Debian 4.3.4-3) ) #1 Sun Sep 27
> 22:57:55 UTC 2009
> [    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE),
> cr=00053977
> [    0.000000] CPU: VIVT data cache, VIVT instruction cache
> [    0.000000] Machine: Marvell OpenRD Client Board
> [    0.000000] Memory policy: ECC disabled, Data cache writeback
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> Total pages: 130048
> [    0.000000] Kernel command line: console=ttyS0,115200
> [    0.000000] NR_IRQS:114
> [    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
> [    0.000000] Console: colour dummy device 80x30
> [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> [    0.010000] Memory: 256MB 256MB = 512MB total
> [    0.010000] Memory: 515584KB available (3232K code, 548K data, 120K
> init, 0K highmem)
> [    0.010000] Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
> [    0.240000] Security Framework initialized
> [    0.240000] SELinux:  Disabled at boot.
> [    0.240000] Mount-cache hash table entries: 512
> [    0.240000] Initializing cgroup subsys ns
> [    0.240000] Initializing cgroup subsys cpuacct
> [    0.240000] Initializing cgroup subsys devices
> [    0.240000] Initializing cgroup subsys freezer
> [    0.240000] Initializing cgroup subsys net_cls
> [    0.240000] CPU: Testing write buffer coherency: ok
> [    0.240000] net_namespace: 1076 bytes
> [    0.240000] regulator: core version 0.5
> [    0.240000] NET: Registered protocol family 16
> [    0.240000] Kirkwood: MV88F6281-A0, TCLK=200000000.
> [    0.240000] Feroceon L2: Enabling L2
> [    0.240000] Feroceon L2: Cache support initialised.
> [    0.240000] PCI: bus0: Fast back to back transfers disabled
> [    0.250000] bio: create slab <bio-0> at 0
> [    0.250000] NET: Registered protocol family 2
> [    0.250000] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
> [    0.250000] TCP established hash table entries: 65536 (order: 7,
> 524288 bytes)
> [    0.250000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.250000] TCP: Hash tables configured (established 65536 bind 65536)
> [    0.250000] TCP reno registered
> [    0.250000] NET: Registered protocol family 1
> [    0.250000] NetWinder Floating Point Emulator V0.97 (double precision)
> [    0.250000] audit: initializing netlink socket (disabled)
> [    0.250000] type=2000 audit(0.250:1): initialized
> [    0.260000] VFS: Disk quotas dquot_6.5.2
> [    0.260000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> [    0.260000] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
> [    0.260000] msgmni has been set to 1007
> [    0.260000] alg: No test for stdrng (krng)
> [    0.260000] Block layer SCSI generic (bsg) driver version 0.4
> loaded (major 253)
> [    0.260000] io scheduler noop registered
> [    0.260000] io scheduler anticipatory registered
> [    0.260000] io scheduler deadline registered
> [    0.260000] io scheduler cfq registered (default)
> [    0.270000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
> [    0.270000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
> [    0.270000] console [ttyS0] enabled
> [    0.570000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
> [    0.580000] brd: module loaded
> [    0.590000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc
> (Hynix NAND 512MiB 3,3V 8-bit)
> [    0.590000] Scanning device for bad blocks
> [    0.660000] Bad eraseblock 1361 at 0x00000aa20000
> [    0.730000] Bad eraseblock 2934 at 0x000016ec0000
> [    0.780000] Creating 3 MTD partitions on "orion_nand":
> [    0.790000] 0x000000000000-0x000000100000 : "u-boot"
> [    0.790000] uncorrectable error : <5>0x000000100000-0x000000500000 : "uImage"
> [    0.800000] ftl_cs: FTL header not found.
> [    0.810000] 0x000000500000-0x000020000000 : "root"
> [    0.810000] ftl_cs: FTL header not found.
> [    0.820000] mice: PS/2 mouse device common for all mice
> [    0.830000] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
> [    0.830000] i2c /dev entries driver
> [    0.840000] cpuidle: using governor ladder
> [    0.840000] cpuidle: using governor menu
> [    0.840000] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
> [    0.850000] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
> [    0.900000] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
> [    0.940000] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
> [    0.980000] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
> [    1.020000] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
> [    1.020000] TCP cubic registered
> [    1.030000] NET: Registered protocol family 17
> [    1.030000] registered taskstats version 1
> [    1.030000] rtc-mv rtc-mv: setting system clock to 2010-01-03
> 21:02:27 UTC (1262552547)
> [    1.040000] List of all partitions:
> [    1.050000] 1f00            1024 mtdblock0 (driver?)
> [    1.050000] 1f01            4096 mtdblock1 (driver?)
> [    1.060000] 1f02          519168 mtdblock2 (driver?)
> [    1.060000] No filesystem could mount root, tried:
> [    1.070000] Kernel panic - not syncing: VFS: Unable to mount root
> fs on unknown-block(0,0)
> [    1.070000] [<c002cd68>] (unwind_backtrace+0x0/0xdc) from
> [<c0287000>] (panic+0x34/0x120)
> [    1.080000] [<c0287000>] (panic+0x34/0x120) from [<c0008ebc>]
> (mount_block_root+0x25c/0x2b4)
> [    1.090000] [<c0008ebc>] (mount_block_root+0x25c/0x2b4) from
> [<c00090e4>] (prepare_namespace+0x164/0x1c8)
> [    1.100000] [<c00090e4>] (prepare_namespace+0x164/0x1c8) from
> [<c0008410>] (kernel_init+0xc0/0xf0)
> [    1.110000] [<c0008410>] (kernel_init+0xc0/0xf0) from [<c0043000>]
> (do_exit+0x0/0x640)
> [    1.120000] [<c0043000>] (do_exit+0x0/0x640) from [<df814780>] (0xdf814780)
>
> So U-Boot seems to find the right kernel from the hard disk but it
> does not go very far...
>
> I am probably missing something simple ...
>
> I tried to set the bootargs to bootargs= 'console=ttyS0,115200
> root=/dev/mapper/SATA-root' with the same result ...
>
> It seems I am missing the link to  the initrd.
>
> Can you help me out ? or explain how this machine is supposed to boot
> into debian, ?
>
> Regards and Happy New Year ...
>
> Francois
>


Reply to: