On Wed, Jul 13, 2016 at 11:39:54AM +0200, Mark Kettenis wrote: > The diff below removes the last board ID dependent code for the i.MX6 > platform. It affects all boards that use a Micrel PHY, which would > show up as "ukphy0" in your dmesg. If you have such a board (udoo, > novena and sabrelight, there may be others), I'd apprciate if you > could test this diff and check whether the network interface still > works. > > I'll probably commit the diff in a couple of days if I don't get any > test reports.
Maybe not related to this commit, since Wandboard uses Atheros PHYs (AR8031, same family as AR8035 as in if_fec.c) instead of Micrel, but I'm running the latest snapshot and fec(4) does not show up. -- U-Boot SPL 2016.07 (Jul 12 2016 - 15:05:51) Trying to boot from MMC1 U-Boot 2016.07 (Jul 12 2016 - 15:05:51 +1000) CPU: Freescale i.MX6SOLO rev1.1 at 792 MHz Reset cause: WDOG Board: Wandboard rev B1 I2C: ready DRAM: 512 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 *** Warning - bad CRC, using default environment No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... reading /imx6dl-wandboard-revb1.dtb 29934 bytes read in 20 ms (1.4 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65276 bytes read in 28 ms (2.2 MiB/s) ## Starting EFI application at 0x12000000 ... Scanning disks on usb... Scanning disks on mmc... MMC: no card present MMC Device 2 not found MMC Device 3 not found Found 5 disks >> OpenBSD/armv7 BOOTARM 0.1 boot> cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:/bsd: 2093700+7928816+435440 [64+297616+142911]=0xa65b64 OpenBSD/armv7 booting ... arg0 0x0 arg1 0x2e55b26c arg2 0x18000000 Allocating page tables freestart = 0x10d66000, free_pages = 127642 (0x0001f29a) IRQ stack: p0x10d94000 v0xc0d94000 ABT stack: p0x10d95000 v0xc0d95000 UND stack: p0x10d96000 v0xc0d96000 SVC stack: p0x10d97000 v0xc0d97000 Creating L1 page table at 0x10d68000 Mapping kernel Constructing L2 page tables undefined page pmap board type: 240497260 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0 (RAMDISK) #88: Tue Jul 19 22:37:35 AEST 2016 j...@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/RAMDISK real mem = 536870912 (512MB) avail mem = 512233472 (488MB) mainbus0 at root: Wandboard i.MX6 Dual Lite Board rev B1 cpu0 at mainbus0: ARM Cortex A9 R2 rev 10 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(32b/l,4way) I-cache, 32KB(32b/l,4way) wr-back D-cache cortex0 at mainbus0 ampintc0 at cortex0 nirq 160 amptimer0 at cortex0: tick rate 396000 KHz armliicc0 at cortex0: rtl 8 waymask: 0x0000000f imx0 at mainbus0 imxccm0 at imx0: imx6 rev 1.1 CPU freq: 792 MHz imxiomuxc0 at imx0 imxocotp0 at imx0 simplebus0 at mainbus0: "soc" simplebus1 at simplebus0: "aips-bus" simplebus2 at simplebus1: "spba-bus" imxuart0 at simplebus2: console imxgpio0 at simplebus1 imxgpio1 at simplebus1 imxgpio2 at simplebus1 imxgpio3 at simplebus1 imxgpio4 at simplebus1 imxgpio5 at simplebus1 imxgpio6 at simplebus1 imxdog0 at simplebus1 simplebus3 at simplebus1: "anatop" simplebus4 at simplebus0: "aips-bus" imxehci0 at simplebus4 usb0 at imxehci0: USB revision 2.0 uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1 imxehci1 at simplebus4 usb1 at imxehci1: USB revision 2.0 uhub1 at usb1 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1 fec0 at simplebus4imxesdhc0 at simplebus4 imxesdhc0: 198 MHz base clock sdmmc0 at imxesdhc0: 4-bit, mmc high-speed, dma imxesdhc1 at simplebus4 imxesdhc1: 198 MHz base clock sdmmc1 at imxesdhc1: 4-bit, mmc high-speed, dma imxesdhc2 at simplebus4 imxesdhc2: 198 MHz base clock sdmmc2 at imxesdhc2: 4-bit, mmc high-speed, dma imxiic0 at simplebus4 iic0 at imxiic0 imxiic1 at simplebus4 iic1 at imxiic1 "fsl,sgtl5000" at iic1 addr 0xa not configured imxuart1 at simplebus4 simplebus5 at mainbus0: "regulators" sdmmc1: can't enable card scsibus0 at sdmmc2: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SU08G, 0080> SCSI2 0/direct fixed sd0: 7580MB, 512 bytes/sector, 15523840 sectors boot device: sd0 root on rd0a swap on rd0b dump on rd0b WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/armv7 6.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s # ifconfig -a lo0: flags=8008<LOOPBACK,MULTICAST> mtu 32768 llprio 3 groups: lo # -- db