Port-arm archive

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

Re: Silence on boot with Dreamplug.



Ted Lemon wrote:
>On May 14, 2011, at 12:51 PM, <rjs%fdy2.demon.co.uk@localhost> wrote:
>> You shouldn't see the error that was in your previous post:
>> 
>>> Marvell>> bootm
>>> Wrong Image Format for bootm command
>>> ERROR: can't get kernel image!
>
>Yeah, I think this version doesn't remember the previous load address.
>When booting Linux, you have to give it two addresses: one for the
>kernel, and one for the RAMdisk.

I think that u-boot on the Sheevaplug works out the load address from
the header to the kernel image.

>> Maybe there are some differences in what the version of U-Boot on your
>> device is doing from what the older one on a Sheevaplug does.
>
>Almost certainly.

I haven't been keeping up with stuff on the plugcomputer forum.

>> Or it is hanging up completely for some other reason.
>
>Yup.  I have a JTAG debugging board, so if all else fails I may have
>to figure out how to use it for debugging... :}

FWIW, I didn't use JTAG when I first got the Sheevaplug to boot, I
just added a function to write to the console.

>> I will try one in a bit.

>Thanks!

With sources from yesterday I get:

tftp
Using egiga0 device
TFTP from server 192.168.2.1; our IP address is 192.168.2.22
Filename 'netbsd.ub'.
Load address: 0x2000000
Loading: *#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################
done
Bytes transferred = 3511552 (359500 hex)
Marvell>> bootm
## Booting image at 02000000 ...
   Image Name:   NetBSD/sheevaplug 5.99.51
   Created:      2011-05-14  17:53:49 UTC
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    3511488 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Transferring control to NetBSD stage-2 loader (at address 00008000) ...

NetBSD/evbarm (sheevaplug) booting ...
Loaded initial symtab at 0xc02b4d5c, strtab at 0xc02df494, # entries 10785
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.51 (SHEEVAPLUG) #12: Sat May 14 18:53:37 BST 2011
        rjs%ren.fdy2.net@localhost:/u10/src/sys/arch/evbarm/compile/SHEEVAPLUG
total memory = 512 MB
avail memory = 498 MB
mainbus0 (root)
cpu0 at mainbus0: Sheeva 88SV131 rev 1 (ARM9E-S core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 16KB/32B 4-way Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C Data cache
mvsoc0 at mainbus0: Marvell 88F6281 Rev. A0  Kirkwood
mvsoc0: CPU Clock 1200.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
mvsocgpp at mvsoc0 unit 0 not configured
mvsocrtc0 at mvsoc0 unit 0 offset 0x10300-0x10317: Marvell SoC Real Time Clock
com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 33: ns16550a, working fifo
com0: console
com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 Interface
usb0 at ehci0: USB revision 2.0
gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x11fff irq 29: Marvell TWSI controller
iic0 at gttwsi0: I2C bus
mvcesa at mvsoc0 unit 0 not configured
mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet 
Controller
mvgbe0 at mvgbec0 port 0 irq 11
mvgbe0: Ethernet address 00:50:43:01:c8:8d
makphy0 at mvgbe0 phy 0: Marvell 88E1116R Gigabit PHY, rev. 0
makphy0: reset 6060
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
mvgbec1 at mvsoc0 unit 1 offset 0x74000-0x77fff: Marvell Gigabit Ethernet 
Controller
mvgbe at mvgbec1 port 0 not configured
mvpex at mvsoc0 unit 0 not configured
mvsata at mvsoc0 unit 0 not configured
mvsdio0 at mvsoc0 unit 0 offset 0x90000-0x9ffff irq 28: Marvell Secure Digital 
Input/Output Interface
sdmmc0 at mvsdio0
uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
boot device: <unknown>
root device: 


Home | Main Index | Thread Index | Old Index