Neoklis Kyriazis | 24 Jul 08:34 2014
Picon

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

>>  No idea, this works fine on my BeagleBone Black (rev. A5C).
>>  Can you send a dmesg?

Here is dmesg as produced after booting the miniroot. I added
(from memory) a message I just caught at the very start of boot:

WARNING: No entropy supplied by boot loader
NAND: No NAND device found!!!

# dmesg
OpenBSD 5.5-current (RAMDISK-OMAP) #1: Mon Jun 16 22:16:25 EDT 2014
    root <at> pandaes.in.nickh.org:/usr/src/sys/arch/armv7/compile/RAMDISK-OMAP
real mem  = 536870912 (512MB)
avail mem = 515153920 (491MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache
omap0 at mainbus0: BeagleBone
prcm0 at omap0 rev 0.2
sitaracm0 at omap0: control module, rev 1.0
intc0 at omap0 rev 5.0
omap0: device edma unit 0 not configured
dmtimer0 at omap0 rev 3.1
dmtimer1 at omap0 rev 3.1
omdog0 at omap0 rev 0.1
omgpio0 at omap0: rev 0.1
omgpio1 at omap0: rev 0.1
omgpio2 at omap0: rev 0.1
(Continue reading)

Neoklis Kyriazis | 22 Jul 18:36 2014
Picon

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

Hi

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 
http://www.5b4az.org/

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> pandaes.in.nickh.org:/usr/src/sys/arch/armv7/compile/RAMDISK-SUNXI
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

Hi,

I was just wondering if anyone has had any success getting OpenBSD 
installed on a Cubieboard2 (A20).  According to 
http://www.openbsd.org/armv7.html, 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 
Cubieboard2:

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

and then the system hangs.

Any advice or suggestions are appreciated.

Thanks.
Mike

Matthieu Herrb | 29 Jun 16:32 2014
Picon
Picon

fix multicast filter on imxenet(4)

Hi,

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
http://svnweb.freebsd.org/base/head/sys/dev/ffec/if_ffec.c

ok?

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
Picon

gpioctl on beaglebone black

Hello,

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

hmm...

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

err... help?

--patrick

# 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
Picon
Picon

C++ iostream broken on armv7

Hi

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

#include <iostream>

using namespace std;

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

sabre% g++ -g -Wall hello.cc
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
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
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
Picon

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?

Thanks!

 
--

-- 
Best Regards 

Neoklis - Ham Radio Call: 5B4AZ 
http://www.5b4az.org/

John D. Verne | 6 May 14:42 2014

cross-compiling

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?

Thanks.

--

-- 
John D. Verne
<jdv <at> clevermonkey.org>

trondd | 2 May 17:00 2014
Picon

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.

Tim.


Gmane