Neoklis Kyriazis | 22 Jul 18:36 2014

miniroot-am335x-55.fs installing to BeagleBone Black: no sd1


I am trying to install the latest arm7 snap on a BeagleBone Black
using miniroot-am335x-55.fs but it only offers sd0 (the SD card)
for installation. I installed to the SD card OK and the build-in
emmc is visible as /dev/sd1.

From (poor!) memory, the installation kernel gave a message that
it failed to enable the built-in emmc. I had tried a 5.4 snapshot
and I remember I was able to install to the built-in emmc. Any 

idea what causes the problem, or what I may be doing wrong?

Thank you.


Best Regards 

Neoklis - Ham Radio Call: 5B4AZ

Mike Bregg | 15 Jul 22:12 2014

Re: Cubieboard2 Again

On 2014-07-15 10:42, Patrick Wildt wrote:
> Hi,
> The U-Boot used might not be suitable for the A20, only for the A10.
> You can probably look for a newer one which works on both on the
> intarwebs or compile yourself a new one using the maker’s u-boot git
> sources.  After you flashed the sunxi miniroot, overwrite parts of it
> using the proper u-boot. Then it should work better.
> \Patrick

Hi Patrick,

Thanks for your suggestion.  The boot process begins now, but it seems 
to be hanging after probing the usb devices:

OpenBSD 5.5-current (RAMDISK-SUNXI) #1: Mon Jun 16 22:29:53 EDT 2014

root <at>
real mem  = 1073741824 (1024MB)
avail mem = 1036132352 (988MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cortex0 at mainbus0
ampintc0 at cortex0 nirq 160
cpu0 at mainbus0: ARM Cortex A7 rev 4 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(32b/l,2way) I-cache, 32KB(64b/l,4way) wr-back D-cache
sunxi0 at mainbus0: A20
sxipio0 at sunxi0
(Continue reading)

Mike Bregg | 15 Jul 17:59 2014

Cubieboard2 Again


I was just wondering if anyone has had any success getting OpenBSD 
installed on a Cubieboard2 (A20).  According to, it should be supported.  I see some 
posts from a few months ago on this list, but no updates since then, and 
Google is yielding little.

I've tried writing both 5.5 release, and the latest snapshot (June 18) 
to a couple of SD Cards, but the same as previous post from April 27, I 
only see the following output from the serial console when I boot the 

U-Boot SPL 2012.10-04280-g1a8ac55 (May 23 2013 - 14:01:59)

and then the system hangs.

Any advice or suggestions are appreciated.


Matthieu Herrb | 29 Jun 16:32 2014

fix multicast filter on imxenet(4)


The patch below is from brad <at> . It corrects the input filter on
imxenet(4) to correctly let multicat packets through.

With this patch my sabre lite board is able to auto-configure IPv6
correctly and do neighbour discovery.

Inspired by the FreeBSD driver


PS: Brad, I don't want to steal the commit from you. If someone ok's
the diff, please commit it if you can.

Index: imxenet.c
RCS file: /cvs/OpenBSD/src/sys/arch/armv7/imx/imxenet.c,v
retrieving revision 1.4
diff -u -p -u -r1.4 imxenet.c
--- imxenet.c	6 Nov 2013 19:03:07 -0000	1.4
+++ imxenet.c	29 Jun 2014 14:25:05 -0000
 <at>  <at>  -477,10 +477,6  <at>  <at>  imxenet_init(struct imxenet_softc *sc)
 	/* clear outstanding interrupts */
 	HWRITE4(sc, ENET_EIR, 0xffffffff);

-	/* set address filter */
-	HWRITE4(sc, ENET_GAUR, 0);
-	HWRITE4(sc, ENET_GALR, 0);
(Continue reading)

patrick keshishian | 27 Jun 06:58 2014

gpioctl on beaglebone black


I'm trying to play with the GPIO on bbb. I must be
misunderstanding how this is supposed to (expected)
to work.

I've been looking through the gpioctl (gpio) manuals,
but i'm still confused, and could use a pointer.

here is a demo:

# gpioctl gpio1 7
pin 7: state 1

# gpioctl gpio1 7 off
pin 7: state 1 -> 0

# gpioctl gpio1 7
pin 7: state 1


# gpioctl gpio1 7 off
pin 7: state 0 -> 0

err... help?


# sysctl kern.version
(Continue reading)

bluecoder | 19 Jun 09:13 2014

NFS root

I am trying to get OpenBSD to boot it's root drive over NFS.

What is the OpenBSD's normal interface for passing parameters for
startup? Is it a parameter string similar to Linux? I see that OpenBSD
uses BOOTARGS. I'm not sure if that's the normal OpenBSD interface. Is
there any documentation? So far all I have found is arguments for using
physical disks and entering single user mode. Surely other parameters can
be passed.

P.S. If no documentation exists any help locating the code where
BOOTARGS is processed would be appreciated.

Matthieu Herrb | 18 Jun 21:46 2014

C++ iostream broken on armv7


the simple c++ program below dumps core on armv7 (an iMX6 Sabre lite
board in my case):

#include <iostream>

using namespace std;

main(int argç char *argv[])
    cout « "Hello World!" « endl ;
    return 0;

sabre% g++ -g -Wall
sabre% gdb ./a.out
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
This GDB was configured as "arm-unknown-openbsd5.5"...
(gdb) r
Starting program: /home/matthieu/prog/c++/a.out
(Continue reading)

Neoklis Kyriazis | 25 May 06:34 2014

Setting BeagleBone Black default boot device

Hi list

I have installed 5.5 on my BB Black but I just can't get it to boot from the built-in mmc/flash drive when an uSD
card is plugged in. I need this to hold large volumes of data (my website and torrent downloads) and it must
be plugged in to be detected on reboots or power cuts.

I tried some hacks I found by searching but I still have the problem. Any suggestions please?



Best Regards 

Neoklis - Ham Radio Call: 5B4AZ

John D. Verne | 6 May 14:42 2014


I know native compilations are often recommended when following a newish
port. Are people actually doing regular native builds on things like the
BeagleBone? Or are cross-compilations the way to go?

I'm hoping to get compilation times down to a reasonable level for
helping out and testing, with the occasional multi-day native build as a
soak test. Is this what most people are doing?



John D. Verne
<jdv <at>>

trondd | 2 May 17:00 2014

Webkit on arm in 5.5?

Looks like there is no webkit package for arm in 5.5.  I guess it's still
broken?  No webkit based browsers exists as a result.

Anyone know if there is a fix?  I'll try to compile it and see whats broken
but not sure I could fix it.


Jan Stary | 2 May 08:33 2014

corrent on BBB

This is yesterday's current on BeagleBone Black.
My proevious problems seem to be resolved with a new SD card,
and everything is running as expected (dmesg below).

One problem remains though:

  dmtimer_intr: negative duration!
  dmtimer_intr: negative duration!

Comming from ./arch/armv7/omap/dmtimer.c,
it's apparently a timer problem.
Can some please enlighten me on what's wrong?
In particular, am I missing some interrupts?

I use "ntpd -s" if it has anything to do with it,
and these "negative durations" happen much later:

  May  1 20:00:01 beagle syslogd: restart
  May  1 22:59:00 beagle /bsd: dmtimer_intr: negative duration!
  May  1 23:24:14 beagle /bsd: dmtimer_intr: negative duration!

	Thank you


OpenBSD 5.5-current (GENERIC-OMAP) #1: Thu May  1 14:25:57 CEST 2014
    root <at>
real mem  = 536870912 (512MB)
avail mem = 518778880 (494MB)
warning: no entropy supplied by boot loader
(Continue reading)