Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 18:30:37 +0000
From:      Jeff Penn <jeff@jrpenn.demon.co.uk>
To:        freebsd-arm@freebsd.org
Subject:   Net booting current snapshot on openrd and sheevaplug
Message-ID:  <20130323183037.GA39897@beastie.jrpenn.demon.co.uk>

next in thread | raw e-mail | index | archive | help
I'm having problems net booting following the instruction on the
wiki.  The kernel networking is failing on an openrd ultimate.  My
sheevaplug gets as far as completing the DHCP request, but does not
generate any NFS traffic.  Both systems run Debian, ruling out hardware.

Do I need to try another snapshot, or are there any known issues?.

Jeff

Connected.
512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled
Module 0 is AUDIO
Module 1 is RGMII

USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Marvell>> tftpboot 900000 openrd/kernel.bin
Using egiga0 device
TFTP from server 192.168.0.10; our IP address is 192.168.0.16
Filename 'openrd/kernel.bin'.
Load address: 0x900000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################################
done
Bytes transferred = 3882592 (3b3e60 hex)
Marvell>> go 900000
## Starting application at 0x00900000 ...
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #0: Sun Mar 17 14:12:14 GMT 2013
    root@beastie.jrpenn.demon.co.uk:/usr/obj/arm.arm/mnt/work/src/sys/DB-88F6XXX arm
gcc version 4.2.1 20070831 patched [FreeBSD]
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
module mvs already present!
CPU: Feroceon 88FR131 rev 1 (Marvell core)
  Little-endian DC enabled IC enabled WA disabled DC streaming enabled
  BTB disabled L2 enabled L2 prefetch enabled
  WB enabled EABT branch prediction enabled
  16KB/32B 4-way instruction cache
  16KB/32B 4-way write-back-locking-C data cache
real memory  = 536870912 (512 MB)
avail memory = 516755456 (492 MB)
SOC: Marvell 88F6281 rev A1, TClock 200MHz
  Instruction cache prefetch enabled, data cache prefetch enabled
  256KB 4-way set-associative write-through unified L2 cache
random device not loaded; using insecure entropy
localbus0: <Marvell device bus> on fdtbus0
nand0: <Marvell NAND controller> mem 0xf9300000-0xf93fffff on localbus0
nandbus0: <NAND bus> on nand0
lnand0: <Samsung NAND 512MiB 3,3V 8-bit> on nandbus0
lnand0: Found BBT table for chip
simplebus0: <Flattened device tree simple bus> on fdtbus0
ic0: <Marvell Integrated Interrupt Controller> mem 0xf1020200-0xf102023b on simplebus0
timer0: <Marvell CPU Timer> mem 0xf1020300-0xf102032f irq 1 on simplebus0
Event timer "CPUTimer0" frequency 200000000 Hz quality 1000
Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000
gpio0: <Marvell Integrated GPIO Controller> mem 0xf1010100-0xf101011f irq 35,36,37,38,39,40,41 on simplebus0
rtc0: <Marvell Integrated RTC> mem 0xf1010300-0xf1010307 on simplebus0
twsi0: <Marvell Integrated I2C Bus Controller> mem 0xf1011000-0xf101101f irq 43 on simplebus0
iicbus0: <Philips I2C bus> on twsi0
iic0: <I2C generic I/O> on iicbus0
mge0: <Marvell Gigabit Ethernet controller> mem 0xf1072000-0xf1073fff irq 12,13,14,11,46 on simplebus0
mge0: Ethernet address: f0:ad:4e:00:61:58
mge0: attaching PHYs failed


U-Boot 2011.03 (Apr 26 2011 - 21:50:07)
Marvell-Sheevaplug - eSATA - SD/MMC

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0
Marvell>> tftpboot 900000 sheevaplug/kernel.bin
Using egiga0 device
TFTP from server 192.168.0.10; our IP address is 192.168.0.15
Filename 'sheevaplug/kernel.bin'.
Load address: 0x900000
Loading: #################################################################
         #################################################################
         #################################################################
         ##########################################################
done
Bytes transferred = 3704800 (3887e0 hex)
Marvell>> go 900000
## Starting application at 0x00900000 ...
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #0: Sun Mar 17 14:15:19 GMT 2013
    root@beastie.jrpenn.demon.co.uk:/usr/obj/arm.arm/mnt/work/src/sys/SHEEVAPLUG arm
gcc version 4.2.1 20070831 patched [FreeBSD]
CPU: Feroceon 88FR131 rev 1 (Marvell core)
  Little-endian DC enabled IC enabled WA disabled DC streaming enabled
  BTB disabled L2 enabled L2 prefetch enabled
  WB enabled EABT branch prediction enabled
  16KB/32B 4-way instruction cache
  16KB/32B 4-way write-back-locking-C data cache
real memory  = 536870912 (512 MB)
avail memory = 518447104 (494 MB)
SOC: Marvell 88F6281 rev A1, TClock 200MHz
  Instruction cache prefetch disabled, data cache prefetch disabled
  256KB 4-way set-associative write-through unified L2 cache
random device not loaded; using insecure entropy
localbus0: <Marvell device bus> on fdtbus0
nand0: <Marvell NAND controller> mem 0xf9300000-0xf93fffff on localbus0
nandbus0: <NAND bus> on nand0
lnand0: <Hynix NAND 512MiB 3,3V 8-bit> on nandbus0
lnand0: No BBT found. Prescan chip...
##################lnand0: Bad block(1793)
lnand0: Bad block(1797)
lnand0: Bad block(1799)
#lnand0: Bad block(1801)
lnand0: Bad block(1803)
lnand0: Bad block(1822)
##############lnand0: Bad block(3285)
########
simplebus0: <Flattened device tree simple bus> on fdtbus0
ic0: <Marvell Integrated Interrupt Controller> mem 0xf1020200-0xf102023b on simplebus0
timer0: <Marvell CPU Timer> mem 0xf1020300-0xf102032f irq 1 on simplebus0
Event timer "CPUTimer0" frequency 200000000 Hz quality 1000
Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000
gpio0: <Marvell Integrated GPIO Controller> mem 0xf1010100-0xf101011f irq 35,36,37,38,39,40,41 on simplebus0
rtc0: <Marvell Integrated RTC> mem 0xf1010300-0xf1010307 on simplebus0
mge0: <Marvell Gigabit Ethernet controller> mem 0xf1072000-0xf1073fff irq 12,13,14,11,46 on simplebus0
mge0: Ethernet address: f0:ad:4e:00:68:9c
miibus0: <MII bus> on mge0
e1000phy0: <Marvell 88E1116R Gigabit PHY> PHY 0 on miibus0
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
uart0: <16550 or compatible> mem 0xf1012000-0xf101201f irq 33 on simplebus0
uart0: console (1056,n,8,1)
uart1: <16550 or compatible> mem 0xf1012100-0xf101211f irq 34 on simplebus0
cesa0: <Marvell Cryptographic Engine and Security Accelerator> mem 0xf1030000-0xf103ffff irq 22 on simplebus0
ehci0: <Marvell Integrated USB 2.0 controller> mem 0xf1050000-0xf1050fff irq 48,19 on simplebus0
usbus0: EHCI version 1.0
usbus0: stop timeout
usbus0: set host controller mode
usbus0 on ehci0
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Marvell> at usbus0
uhub0: <Marvell EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
bootpc_init: wired to interface 'mge0'
Sending DHCP Discover packet from interface mge0 (f0:ad:4e:00:68:9c)
Received DHCP Offer packet on mge0 from 192.168.0.10 (accepted) (no root path)
mge0: link state changed to UP
uhub0: 1 port with 1 removable, self powered
Sending DHCP Request packet from interface mge0 (f0:ad:4e:00:68:9c)
Received DHCP Ack packet on mge0 from 192.168.0.10 (accepted) (got root path)
mge0 at 192.168.0.15 server 192.168.0.10 boot file SHEEVAPLUG/kernel.bin
subnet mask 255.255.255.0 router 192.168.0.1 rootfs 192.168.0.10:/mnt/work/nfsroot/arm-8-le hostname sheeva
Adjusted interface mge0
RPC timeout for server 192.168.0.10
RPC timeout for server 192.168.0.10
RPC timeout for server 192.168.0.10



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130323183037.GA39897>