On Thu, May 14, 2015 at 04:52:48PM +1000, Jonathan Gray wrote:
> On Wed, May 13, 2015 at 01:47:48PM +1000, Jonathan Gray wrote:
> > Instead of hard coding board names twice use an array and put the value
> > in hw_prod so it will show up in sysctl.
> > 
> > This omits setting hw_vendor as fdt sets just one string and
> > we'll likely move to that at some point.
> > 
> > The printf from before copyright changes to the decimal
> > machine id/board id.
> 
> Here's an extended version that moves the device tables out into the soc
> directories.
> 
> The agtimer/amptimer frequency is no longer set in imx/exynos
> directories as both were just setting the respective TIMER_FREQUENCY
> values.
> 
> Tested on bbb and qemu-system-arm -M cubieboard.

Works for me on Sabre Lite

OpenBSD 5.7-current (GENERIC-IMX) #56: Thu May 14 09:10:27 CEST 2015
    [email protected]:/usr/obj/GENERIC-IMX
real mem  = 1073741824 (1024MB)
avail mem = 1039740928 (991MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cortex0 at mainbus0
ampintc0 at cortex0 nirq 160
amptimer0 at cortex0: tick rate 396000 KHz
armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
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
imx0 at mainbus0: Freescale i.MX6 SABRE Lite
imxccm0 at imx0: imx6 rev 1.2 CPU freq: 792 MHz
imxiomuxc0 at imx0
imxdog0 at imx0
imxocotp0 at imx0
imxuart0 at imx0 console
imxgpio0 at imx0
imxgpio1 at imx0
imxgpio2 at imx0
imxgpio3 at imx0
imxgpio4 at imx0
imxgpio5 at imx0
imxgpio6 at imx0
imxesdhc0 at imx0
sdmmc0 at imxesdhc0
imxesdhc1 at imx0
sdmmc1 at imxesdhc1
ehci0 at imx0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "i.MX6 EHCI root hub" rev 2.00/1.00 addr 1
imxenet0 at imx0
imxenet0: address 00:19:b8:01:31:1c
ukphy0 at imxenet0 phy 6: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x000885, model 0x0021
ahci0 at imx0 AHCI 1.3
ahci0: port 0: 3.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, \\336\\257AR\\336\\257AR\\336\\257D 840, 
\\336\\257AR> SCSI3 0/direct fixed naa.50025388a00f2042
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
scsibus1 at sdmmc1: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd1: 7580MB, 512 bytes/sector, 15523840 sectors
uhub1 at uhub0 port 1 "Standard Microsystems Hub" rev 2.00/b.b3 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
boot device: sd0
root on sd0a (39faca38ffbd8b59.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!

-- 
Matthieu Herrb

Reply via email to