Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 23:09:07 +0900
From:      Takeshi Taguchi <taguchi@ff.iij4u.or.jp>
To:        freebsd-arm@freebsd.org
Subject:   Re: Towards an ARM system-building script
Message-ID:  <508D3C83.6020101@ff.iij4u.or.jp>

next in thread | raw e-mail | index | archive | help
Hi, all.

On Thu, 2012-10-11 at 00:16 -0700, Tim Kientzle wrote:
>/ On Oct 10, 2012, at 3:08 PM, Giovanni Trematerra wrote:
/>/ />/ > On Wed, Oct 10, 2012 at 3:42 PM, Ian Lepore
/>/ > <freebsd at damnhippie.dyndns.org
<http://lists.freebsd.org/mailman/listinfo/freebsd-arm>>; wrote:
/>/ >> On Tue, 2012-10-09 at 23:42 +0200, Giovanni Trematerra wrote:
/>/ >>> I booted a kernel with your suggestion but I get a panic during
/>/ >>> initialization of ue0 I think
/>/ >> />/ >> It looks like bootpc_init() is getting called before USB
has found the
/>/ >> ethernet adapter.  It might be fixable with a simple patch such
as the
/>/ >> following, but I really don't know whether this will work, and
even if
/>/ >> it does, whether it's a good idea (hopefully someone more
knowledgable
/>/ >> will offer an opinion).  But if nothing else it's an interesting
/>/ >> experiment to try.
/>/ > />/ > I think the patch is wrong at least in my case.
/>/ > I had to run the "usb start" command from U-boot to have
/>/ > ethernet card of PandaBoard working.
/>/ />/ What happens if you disable BOOTP in the kernel?
/
My Pandaboard ES (Rev.B1) said:
 panic: bootpc_init: Could not find interface specified by
BOOTP_WIRED_TO: ue0

so I'd commented out following lines:
#options        BOOTP_NFSROOT
#options        BOOTP_COMPAT
#options        BOOTP
#options        BOOTP_NFSV3
#options        BOOTP_WIRED_TO=ue0

login prompt was displaied. But the ethernet isn't working at all.

>/ 
/>/ That might help clarify whether the Ethernet isn't
/>/ working at all or whether the Ethernet isn't getting
/>/ started early enough for BOOTP.
/>/ />/ Tim
/

following is a dmesg. what should i do?
Thanks.

---
processing avail regions:
80000000-c0000000 -> 80000000-80200000 = 200000
8073b000-c0000000 -> 8073b000-c0000000 = 3f8c5000
fill in phys_avail:
region: 0x80000000 - 0x80200000 (0x00200000)
region: 0x8073b000 - 0xc0000000 (0x3f8c5000)
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2012 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 #2: Sun Oct 28 17:23:10 JST 2012
root@FreeBSD-10.0:/usr/obj/arm.armv6/usr/src/sys/PANDABOARD-MMCSD arm
CPU: Cortex A9-r2 rev 10 (Cortex-A core)
Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext
WB disabled EABT branch prediction enabled
LoUU:2 LoC:1 LoUIS:2
Cache level 1:
32KB/32B 4-way data cache WB Read-Alloc Write-Alloc
32KB/32B 4-way instruction cache Read-Alloc
real memory = 1073741824 (1024 MB)
avail memory = 1045352448 (996 MB)
Texas Instruments OMAP4430 Processor, Revision ES2.3
simplebus0: <Flattened device tree simple bus> on fdtbus0
gic0: <ARM Generic Interrupt Controller> mem
0xe8241000-0xe8241fff,0xe8240100-0xe82401ff on simplebus0
gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b nirqs 160
l2cache0: <PL310 L2 cache controller> mem 0xe8242000-0xe8242fff on
simplebus0
L2 Cache: 1024KB/32B 16 ways
mp_tmr0: <ARM Generic MPCore Timers> mem
0xe8240200-0xe82402ff,0xe8240600-0xe82406ff irq 27,29 on simplebus0
Timecounter "ARM MPCore Timecouter" frequency 504000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 504000000 Hz quality 1000
uart0: <16750 or compatible> mem 0xe8020000-0xe8020fff irq 106 on simplebus0
uart0: console (115384,n,8,1)
ti_scm0: <TI Control Module> mem 0xd4f67000-0xd4f67fff on simplebus0
setting internal 4 for usbb1_ulpiphy_stp
setting internal 10c for usbb1_ulpiphy_clk
setting internal 10c for usbb1_ulpiphy_dir
setting internal 10c for usbb1_ulpiphy_nxt
setting internal 10c for usbb1_ulpiphy_dat0
setting internal 10c for usbb1_ulpiphy_dat1
setting internal 10c for usbb1_ulpiphy_dat2
setting internal 10c for usbb1_ulpiphy_dat3
setting internal 10c for usbb1_ulpiphy_dat4
setting internal 10c for usbb1_ulpiphy_dat5
setting internal 10c for usbb1_ulpiphy_dat6
setting internal 10c for usbb1_ulpiphy_dat7
omap4_prcm0: <TI OMAP Power, Reset and Clock Management> mem
0xd4f68000-0xd4f69fff,0xd4f6a000-0xd4f6afff,0xd4f6b000-0xd4f72fff on
simplebus0
gpio0: <TI General Purpose I/O (GPIO)> mem
0xd4f73000-0xd4f73fff,0xe8055000-0xe8055fff,0xe8057000-0xe8057fff,0xe8059000-0xe8059fff,0xe805b000-0xe805bfff,0xe805d000-0xe805dfff
irq 61,62,63,64,65,66 on simplebus0
gpioc0: <GPIO controller> on gpio0
gpiobus0: <GPIO bus> on gpio0
ehci0: <TI OMAP USB 2.0 controller> mem
0xd4f74c00-0xd4f74cff,0xd4f75000-0xd4f756ff,0xd4f76000-0xd4f76fff irq
109 on simplebus0
ehci0: Starting TI EHCI USB Controller
ehci0: UHH revision 0x50700100
ehci0: OMAP_UHH_SYSCONFIG: 0x00000014
ehci0: UHH setup done, uhh_hostconfig=0x8000001c
ehci0: PHY reset operation timed out
usbus0: EHCI version 1.0
usbus0 on ehci0
iichb0: <TI I2C Controller> mem 0xe8070000-0xe80700ff irq 88 on simplebus0
iichb0: I2C revision 4.0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
ti_sdma0: <TI sDMA Controller> mem 0xd4f77000-0xd4f77fff irq 44,45,46,47
on simplebus0
ti_sdma0: sDMA revision 00010900
ti_mmchs0: <TI MMC/SD/SDIO High Speed Interface> mem
0xe809c000-0xe809cfff irq 115 on simplebus0
mmc0: <MMC/SD bus> on ti_mmchs0
Timecounters tick every 10.000 msec
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Texas Instruments> at usbus0
uhub0: <Texas Instruments EHCI root HUB, class 9/0, rev 2.00/1.00, addr
1> on usbus0
mmcsd0: 7496MB <SDHC SD08G 8.5 SN -1018672332 MFG 06/2012 by 2 TM> at
mmc0 25.0MHz/4bit/1-block
Root mount waiting for: usbus0
Root mount waiting for: usbus0
uhub0: 3 ports with 3 removable, self powered
Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
warning: no time-of-day clock registered, system time will not be set
accurately



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