Port-arm archive

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

Olimex Lime2: problem with Ethernet awge



Hello,

I'm testing a Olimex Lime2 board. The netbsd current image has support
and Jason Thorpe has added the specific u-boot package in pkgsrc
(current) (with a bunch of variants) so using the
u-boot-a20-olinuxino-lime2 image for u-boot and the armv7.img (as
explained in the online pages), everything boots.

You will find attached the messages (it's a custom kernel config, but I
have checked that this is exactly what is detected with the GENERIC one; the
config file OLIMEX_LIME2 is attached too for reference but GENERIC works).

In the messages, the only failures registered are relative to the
pipelines of sunxi_debe (from a very cursory look, seems to be because
nothing is defined in the dts/fdt) but nothing preventing from having the display
with X11).

I have one problem: the Ethernet device awge doesn't seem to function
correctly. Dhcpcd is unable to talk to the dhcp server; configuring
statically the interface, the other end doesn't answer either---the led
blink on the board connector but there is no answer.

ping doesn't work either (I have verified that the very same cable on
the very same other end connector does work from a NetBSD/amd64 8.0
with a re interface).

Does anybody have any clue about what can be the problem and how to try
to chase the culprit?

TIA,

-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                       http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
Jul 20 14:36:35 pmxgis_0 syslogd[170]: restart
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000]     The Regents of the University of California.  All rights reserved.
Jul 20 14:36:35 pmxgis_0 /netbsd: 
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] NetBSD 8.99.50 (OLIMEX_LIME2) #1: Thu Jul 18 16:37:08 CEST 2019
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] 	tlaronde@cauchy.polynum.local:/data/m/tmp/olimex/sys/arch/evbarm/compile/OLIMEX_LIME2
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] total memory = 1018 MB
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] avail memory = 999 MB
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] timecounter: Timecounters tick every 10.000 msec
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] armfdt0 (root)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] simplebus0 at armfdt0: Olimex A20-OLinuXino-LIME2
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] simplebus1 at simplebus0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpus0 at simplebus0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] simplebus2 at simplebus0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] simplebus3 at simplebus0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpu0 at cpus0: Cortex-A7 r0p4 (Cortex V7A core)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpu0: 256KB/64B 8-way write-through L2 PIPT Unified cache
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpufreqdt0 at cpu0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpu1 at cpus0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] cpufreqdt1 at cpu1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] gic0 at simplebus1: GIC
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] armgic0 at gic0: Generic Interrupt Controller, 160 sources (150 valid)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] fclock0 at simplebus2: 25000000 Hz fixed clock (mii_phy_tx)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] fclock1 at simplebus2: 125000000 Hz fixed clock (gmac_int_tx)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] fclock2 at simplebus2: 24000000 Hz fixed clock (osc24M)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] fclock3 at simplebus2: 32768 Hz fixed clock (osc32k)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] gtmr0 at simplebus0: Generic Timer
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] gtmr0: interrupting on GIC irq 27
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] armgtmr0 at gtmr0: ARM Generic Timer (24000 kHz)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000000] timecounter: Timecounter "armgtmr0" frequency 24000000 Hz quality 500
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sun4ia10ccu0 at simplebus1: A20 CCU
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxinmi0 at simplebus1: NMI
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxigmacclk0 at simplebus2: GMAC MII/RGMII clock mux
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxigpio0 at simplebus1: PIO
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] gpio0 at sunxigpio0: 175 pins
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxigpio0: interrupting on GIC irq 60
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sun4idma0 at simplebus1: DMA controller
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sun4idma0: interrupting on GIC irq 59
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxisramc0 at simplebus1: SRAM Controller
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxisramc0: area: SRAM A3/A4
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxisramc0: area: SRAM D
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxidebe0 at simplebus1: Display Engine Backend (display-backend@1e60000)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxidebe1 at simplebus1: Display Engine Backend (display-backend@1e40000)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxihdmi0 at simplebus1: HDMI 1.3
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon0 at simplebus1: LCD/TV timing controller (lcd-controller@1c0c000)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon0 port 0 endpoint 0 connected to sunxidebe0 port 1 endpoint 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon0: tcon unit 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxidebe0: debe unit 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon0 port 0 endpoint 1 connected to sunxidebe1 port 1 endpoint 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxidebe1: debe unit 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon0 port 1 endpoint 1 connected to sunxihdmi0 port 0 endpoint 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon1 at simplebus1: LCD/TV timing controller (lcd-controller@1c0d000)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon1 port 0 endpoint 0 connected to sunxidebe0 port 1 endpoint 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon1: tcon unit 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon1 port 0 endpoint 1 connected to sunxidebe1 port 1 endpoint 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitcon1 port 1 endpoint 1 connected to sunxihdmi0 port 0 endpoint 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] connector0 at simplebus0: HDMI connector
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] connector0 port 0 endpoint 0 connected to sunxihdmi0 port 1 endpoint 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxisid0 at simplebus1: Security ID EFUSE
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator0 at simplebus0: vcc3v3
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator1 at simplebus0: usb0-vbus
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator2 at simplebus0: usb1-vbus
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator3 at simplebus0: usb2-vbus
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator4 at simplebus0: ahci-5v
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator5 at simplebus0: vcc3v0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxidep0 at simplebus0: autoconfiguration error: can't activate pipeline 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxidep0: autoconfiguration error: can't activate pipeline 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator6 at simplebus0: vcc5v0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] fregulator7 at simplebus0: axp-ipsout
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxiusbphy0 at simplebus1: USB PHY
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxits0 at simplebus1: Touch Screen Controller
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxits0: interrupting on GIC irq 61
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] /soc/display-frontend@1e00000 at simplebus1 not configured
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] /soc/display-frontend@1e20000 at simplebus1 not configured
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] awge0 at simplebus1: GMAC
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] awge0: interrupting on GIC irq 117
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] awge0: Core version: 00000000
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] awge0: Ethernet address 02:87:03:82:92:3e
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ukphy0 at awge0 phy 1: OUI 0x0010a1, model 0x0022, rev. 2
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunximmc0 at simplebus1: SD/MMC controller
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunximmc0: interrupting on GIC irq 64
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] motg0 at simplebus1: 'otg' mode not supported
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci0 at simplebus1: EHCI
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci0: interrupting on GIC irq 71
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci0: EHCI version 1.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci0: 1 companion controller, 1 port
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] usb0 at ehci0: USB revision 2.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ohci0 at simplebus1: OHCI
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ohci0: interrupting on GIC irq 96
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ohci0: OHCI version 1.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] usb1 at ohci0: USB revision 1.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] /soc/crypto-engine@1c15000 at simplebus1 not configured
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ahcisata0 at simplebus1: SATA
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ahcisata0: interrupting on GIC irq 88
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ahcisata0: ignoring broken port multiplier support
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ahcisata0: AHCI revision 1.10, 1 port, 32 slots, CAP 0x6f24ff80<CCCS,PSC,SSC,PMD,SAM,ISS=0x2=Gen2,SCLO,SAL,SALP,SSS,SSNTF,SNCQ>
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] atabus0 at ahcisata0 channel 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci1 at simplebus1: EHCI
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci1: interrupting on GIC irq 72
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci1: EHCI version 1.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ehci1: 1 companion controller, 1 port
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] usb2 at ehci1: USB revision 2.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ohci1 at simplebus1: OHCI
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ohci1: interrupting on GIC irq 97
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] ohci1: OHCI version 1.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] usb3 at ohci1: USB revision 1.0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxiwdt0 at simplebus1: Watchdog
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxiwdt0: default watchdog period is 16 seconds
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxirtc0 at simplebus1: RTC
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] com0 at simplebus1: ns16550a, working fifo
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] com0: console
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] com0: interrupting on GIC irq 33
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitwi0 at simplebus1: Marvell TWSI controller
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitwi0: interrupting on GIC irq 39
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] iic0 at sunxitwi0: I2C bus
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] axp20x0 at iic0 addr 0x34: AC used, battery present
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] axp20x0: DCDC2 1400mV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] axp20x0: DCDC3 1250mV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] axp20x0: LDO2 3000mV, LDO4 2800mV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] axp20x0: LDO3 2800mV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] axp20xreg0 at axp20x0: dcdc2 (vdd-cpu)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] axp20xreg1 at axp20x0: dcdc3 (vdd-int-dll)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitwi1 at simplebus1: Marvell TWSI controller
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitwi1: interrupting on GIC irq 40
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] iic1 at sunxitwi1: I2C bus
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] seeprom0 at iic1 addr 0x50: eeprom: size 2048
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] /soc/gpu@1c40000 at simplebus1 not configured
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] psci0 at simplebus0: PSCI 0.1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] armpmu0 at simplebus0: Performance Monitor Unit
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] gpioleds0 at simplebus0: a20-olinuxino-lime2:green:usr
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] /soc/video-codec@1c0e000 at simplebus1 not configured
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxitimer0 at simplebus1: Timer
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] timecounter: Timecounter "Timer 2" frequency 24000000 Hz quality 200
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] timecounter: Timecounter "LOSC" frequency 32768 Hz quality 150
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxihstimer0 at simplebus1: High Speed Timer
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] timecounter: Timecounter "hstimer" frequency 152000000 Hz quality 300
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] sunxihstimer0: interrupting on GIC irq 113
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] genfb0 at simplebus3: Simple Framebuffer (1600x900 32-bpp @ 0x7fa81000)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] genfb0: framebuffer at 0x7fa81000, size 1600x900, depth 32, stride 6400
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] wsmux1: connecting to wsdisplay0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] wsdisplay0: screen 1-3 added (default, vt100 emulation)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.0000060] cpu1: Cortex-A7 r0p4 (Cortex V7A core)
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.8076030] cpu1: DC enabled IC enabled WB enabled LABT branch prediction enabled
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.8476106] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.8776056] cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9176088] cpu1: 256KB/64B 8-way write-through L2 PIPT Unified cache
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9576080] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt0: 960.000 MHz, 1400000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt0: 912.000 MHz, 1400000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt0: 864.000 MHz, 1300000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt0: 720.000 MHz, 1200000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt0: 528.000 MHz, 1100000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt0: 312.000 MHz, 1000000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt0: 144.000 MHz, 1000000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt1: 960.000 MHz, 1400000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt1: 912.000 MHz, 1400000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt1: 864.000 MHz, 1300000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt1: 720.000 MHz, 1200000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt1: 528.000 MHz, 1100000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt1: 312.000 MHz, 1000000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] cpufreqdt1: 144.000 MHz, 1000000 uV
Jul 20 14:36:35 pmxgis_0 /netbsd: [   1.9976095] sdmmc0 at sunximmc0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1176198] uhub0 at usb0: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1176198] uhub0: 1 port with 1 removable, self powered
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1276235] armpmu0: interrupting on GIC irq 152
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1376228] armpmu0: interrupting on GIC irq 153
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1576241] uhub1 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1676235] uhub1: 1 port with 1 removable, self powered
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1676235] uhub2 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1796724] uhub2: 1 port with 1 removable, self powered
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1796724] uhub3 at usb3: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.1988720] uhub3: 1 port with 1 removable, self powered
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.2188757] sdmmc0: SD card status: 4-bit, C10, U1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.2288762] ld0 at sdmmc0: <0x12:0x3456:SD   :0x00:0x00000000:0x117>
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.2588802] ld0: 30000 MB, 7619 cyl, 128 head, 63 sec, 512 bytes/sect x 61440000 sectors
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.2707635] IPsec: Initialized Security Association Processing.
Jul 20 14:36:35 pmxgis_0 /netbsd: [   2.2707635] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
Jul 20 14:36:35 pmxgis_0 /netbsd: [   3.2107852] ehci1: handing over low speed device on port 1 to companion controller
Jul 20 14:36:35 pmxgis_0 /netbsd: [   3.2707882] WARNING: 2 errors while detecting hardware; check system log.
Jul 20 14:36:35 pmxgis_0 /netbsd: [   3.2807923] boot device: ld0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   3.2807923] root on ld0a dumps on ld0b
Jul 20 14:36:35 pmxgis_0 /netbsd: [   3.2907940] root file system type: ffs
Jul 20 14:36:35 pmxgis_0 /netbsd: [   3.3207926] kern.module.path=/stand/evbarm/8.99.50/modules
Jul 20 14:36:35 pmxgis_0 /netbsd: [   4.7511630] uhidev0 at uhub3 port 1 configuration 1 interface 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   4.7619472] uhidev0: SINO WEALTH (0x258a) USB KEYBOARD (0x6a88), rev 1.10/1.00, addr 2, iclass 3/1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   4.7720940] ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.2121412] wskbd0 at ukbd0: console keyboard, using wsdisplay0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.2121412] uhidev1 at uhub3 port 1 configuration 1 interface 1
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.2321503] uhidev1: SINO WEALTH (0x258a) USB KEYBOARD (0x6a88), rev 1.10/1.00, addr 2, iclass 3/0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.2905699] uhidev1: 5 report ids
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.2905699] ums0 at uhidev1 reportid 1: 5 buttons, W and Z dirs
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.3006297] wsmouse0 at ums0 mux 0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.3006297] uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.3105995] uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
Jul 20 14:36:35 pmxgis_0 /netbsd: [   5.3105995] uhid2 at uhidev1 reportid 5: input=0, output=0, feature=5
Jul 20 14:36:35 pmxgis_0 /netbsd: [   8.4709714] wsdisplay0: screen 4 added (default, vt100 emulation)
#
#	$NetBSD: GENERIC,v 1.43 2019/07/07 11:58:44 skrll Exp $
#
#	Olimex a20 Lime2 ARM (aarch32) kernel
#

include	"arch/evbarm/conf/std.generic"
# include "arch/evbarm/conf/files.generic" interpolated and pruned
# here.
#
include "arch/arm/pic/files.pic"
include "arch/arm/cortex/files.cortex"

include "arch/evbarm/conf/files.fdt"

file	arch/arm/arm32/arm32_boot.c
file	arch/arm/arm32/arm32_kvminit.c
file	arch/arm/arm32/arm32_reboot.c
file	arch/arm/arm32/irq_dispatch.S
file	arch/arm/arm32/armv7_generic_space.c
file	arch/arm/arm/arm_generic_dma.c
file	arch/arm/arm/bus_space_a4x.S

include "arch/arm/sunxi/files.sunxi"

include	"arch/evbarm/conf/GENERIC.common"

#
# FDT files supported by this kernel - add to DTSSUBDIR and DTS as
# appropriate
#
makeoptions	DTSARCH="arm"
makeoptions	DTSGNUARCH="arm"
makeoptions	DTSSUBDIR="allwinner"
makeoptions	DTS="
	sun7i-a20-olinuxino-lime2.dts
"

options 	CPU_CORTEXA7

options 	SOC_SUN7I_A20

options 	MULTIPROCESSOR

pseudo-device 	openfirm	# /dev/openfirm

#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
#options 	LOCKDEBUG
#options 	PMAP_DEBUG	# Enable pmap_debug_level code

options 	MSGBUFSIZE=32768

#options 	VERBOSE_INIT_ARM # verbose bootstrapping messages

# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.

makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

config		netbsd		root on ? type ?

# Device tree support
armfdt0		at root
simplebus*	at fdt? pass 0

# CPUs
cpus*		at fdt? pass 0
cpu*		at fdt? pass 0

# CPU frequency scaling
cpufreqdt*	at cpu?

# Power State Coordination Interface (PSCI)
psci*		at fdt?

# Clock and reset controllers
sun4ia10ccu*	at fdt? pass 2		# Allwinner A10/A20 CCU
sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux

fclock*		at fdt? pass 1
fregulator*	at fdt? pass 5
gpioleds*	at fdt?

# SRAM controller
sunxisramc*     at fdt? pass 4          # SRAM controller

# Timer
gtmr*		at fdt? pass 1		# ARM Generic Timer
armgtmr0	at gtmr?
sunxitimer*	at fdt?			# Allwinner async timer
sunxihstimer*	at fdt?			# Allwinner High-Speed timer

# Watchdog
sunxiwdt*	at fdt?			# Allwinner watchdog

# Interrupt controller
gic*		at fdt? pass 1		# ARM GIC
armgic0		at gic?
sunxinmi*	at fdt? pass 2		# Allwinner NMI / R_INTC

# DMA controller
sun4idma*	at fdt? pass 4		# Allwinner DMA controller (sun4i)

# Performance monitors
armpmu*		at fdt?
pseudo-device	tprof

# Power state coordination interface
psci*		at fdt?

# GPIO controller
sunxigpio*	at fdt? pass 3		# Allwinner GPIO
gpio*		at gpiobus?

# Ethernet
awge*		at fdt?			# Allwinner Gigabit Ethernet (GMAC)

# MII/PHY support
ukphy*		at mii? phy ?		# generic unknown PHYs

# UART
com*		at fdt?			# UART

# I2C controllers
options 	I2C_MAX_ADDR=0xfff
sunxitwi*	at fdt?			# Allwinner TWI
iic*		at i2cbus?

# I2C devices
axp20x*		at iic?			# AXP209 Power Management IC
axp20xreg*	at axp20x?
seeprom*	at iic?			# AT24Cxx Serial EEPROM

# Security ID EFUSE
sunxisid*       at fdt? pass 4          # SID

# RTC
sunxirtc*	at fdt?			# Allwinner RTC

# SDMMC
sunximmc*	at fdt?			# Allwinner SD/MMC
sdmmc*		at sdmmcbus?
ld0		at sdmmc0

# SATA
ahcisata*	at fdt?			# AHCI SATA
atabus*		at ata?
wd*		at atabus? drive ?

# Display
genfb*		at fdt?			# Simple Framebuffer
wsdisplay*	at wsemuldisplaydev?
sunxidebe*      at fdt? pass 4  # Display Backend
genfb*          at sunxidebe?
sunxitcon*      at fdt? pass 4  # LCD LVDS/RGB controller
sunxihdmi*      at fdt? pass 4  # HDMI controller
connector*      at fdt? pass 4
panel*          at fdt? pass 4
#sunxidep must be after display pipeline elements but before genfb@fdt
sunxidep*       at fdt? pass 5  # Display Engine Pipeline

options 	VCONS_DRAW_INTR
options 	WSEMUL_VT100
options 	WS_DEFAULT_FG=WSCOL_WHITE
options 	WS_DEFAULT_BG=WSCOL_BLACK
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_BLACK
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_COMPAT_RAWKBD
options 	WSDISPLAY_DEFAULTSCREENS=4
options 	WSDISPLAY_MULTICONS
options 	WSDISPLAY_SCROLLSUPPORT
pseudo-device	wsmux
pseudo-device	wsfont
options 	FONT_BOLD8x16
options 	FONT_BOLD16x32

# PS/2 keyboard and mouse support
plkmi*		at fdt?
pckbd*		at pckbport?
wskbd*		at pckbd? console ?
pms*		at pckbport?
wsmouse*	at pms? mux 0

# Touch Screen controller
sunxits*        at fdt?                 # Touch Screen controller
wsmouse*        at sunxits? mux 0

# USB
sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
motg*		at fdt?			# Mentor Graphics USB OTG
ohci*		at fdt?			# OHCI
ehci*		at fdt?			# EHCI
usb*		at usbus?

include "dev/usb/usbdevices.config"
midi*		at midibus?

cinclude "arch/evbarm/conf/GENERIC.local"


Home | Main Index | Thread Index | Old Index