Hi there!

Sorry for my late reaction to your answers, school kept me quite busy
the last weeks. Instead of replying to each mail, I have created a 
summary, I hope this is acceptable.

The suggestion to insert printf's in the kernel to check how far the
boot gets is not really an option for me, I feel that I do not have the
experience with OpenBSD to know were to start.

When I try to boot the kernel into ddb the serial connection freezes and
I am unable to enter any commands.

I tried NetBSD 7.0. It boots fine and on the first boot it resizes the 
partitions to utilize the whole SD card. Problem: the network interface
is not working. It registers in dmesg as awge0, but it does not show up 
in ifconfig -a, and I cannot use it with the DHCP client or even set a 
static IP address.

I have experimented a bit more. It seems like bitrig version 1.0 [1] is 
able to boot on the board. The boot gets interrupted and asks for a boot
device. Entering tmpfsrd0 manually works. It then start the installer.
It detects the network interface as sxie0. Using dhclient (or through
the installer) gives me:

> DHCPDISCOVER on sxie0 - interval 1
> send_packet: No buffer space available

I am able to set an IP address manually, but then I can only ping
myself. Other hosts on the same network are unreachable (and the LED does
not show any activity on the interface either). If I continue the setup
without configuring the network, I can continue until I have to select
the device to install to. The SD card does not show up in the list.
Below there is a full boot log and a dmesg from the bitrig system if
anyone is interested.

I guess I will keep poking around. Thankful for any input.


[1] https://www.blueri.se/bitrig/armv7/20150505/miniroot-sunxi-10.fs

--- full log + dmesg (bitrig) ---
U-Boot 2014.04-10733-gea1ac32 (Feb 22 2015 - 16:44:54) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: A20-OLinuXino_Lime2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0 
reading uEnv.txt
96 bytes read in 28 ms (2.9 KiB/s)
Loaded environment from uEnv.txt
Running uenvcmd ...
reading bsd.umg
10494016 bytes read in 515 ms (19.4 MiB/s)
## Booting kernel from Legacy Image at 40200000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    10493952 Bytes = 10 MiB
   Load Address: 40300000
   Entry Point:  40300000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...


Bitrig/sunxi booting ...
arg0 0x0 arg1 0x10bb arg2 0x40000100
atag core flags 0 pagesize 0 rootdev 0
atag mem start 0x40000000 size 0x40000000
bootfile:                                
bootargs: 
memory size derived from u-boot
bootconf.mem[0].address = 40000000 pages 262144/0x40000000
[ using 355840 bytes of bsd ELF symbol table ]            
Copyright (c) 1982, 1986, 1989, 1991, 1993    
    The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org
Copyright (c) 2012-2015 Bitrig. All rights reserved.  http://www.bitrig.org  
                                                                           
Bitrig 1.0-current (GENERIC) #10: Wed May  6 21:19:10 CEST 2015
    r...@utilite.fritz.box:/home/code/src/sys/arch/armv7/compile/GENERIC
    master:386b7cd36d491a42b0d9d18e4752f59629214583*                    
real mem  = 1073741824 (1024MB)                     
avail mem = 1037287424 (989MB) 
warning: no entropy supplied by boot loader
mainbus0 at root                           
cortex0 at mainbus0
ampintc0 at cortex0 nirq 160
agtimer0 at cortex0: tick rate 24000 KHz
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      
sxiccmu0 at sunxi0
sxitimer0 at sunxi0: tick 1000hz clock 24000KHz
sxidog0 at sunxi0                              
sxirtc0 at sunxi0
sxiuart0 at sunxi0: console
sxiuart1 at sunxi0         
sxiuart2 at sunxi0
sxiuart3 at sunxi0
sxiuart4 at sunxi0
sxiuart5 at sunxi0
sxiuart6 at sunxi0
sxiuart7 at sunxi0
sxie0 at sunxi0, address 02:03:04:01:61:60
rgephy0 at sxie0 phy 1: RTL8169S/8110S PHY, rev. 2
ahci0 at sunxi0 AHCI 1.1                          
scsibus0 at ahci0: 32 targets
ehci0 at sunxi0              
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
ehci1 at sunxi0                                             
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
gpio0 at sxipio0: 18 pins                                   
gpio1 at sxipio0: 24 pins
gpio2 at sxipio0: 25 pins
gpio3 at sxipio0: 28 pins
gpio4 at sxipio0: 12 pins
gpio5 at sxipio0: 6 pins 
gpio6 at sxipio0: 12 pins
gpio7 at sxipio0: 28 pins
gpio8 at sxipio0: 22 pins
tmpfsrd0: 5MB ramdisk ready
vscsi0 at root             
scsibus1 at vscsi0: 256 targets
softraid0 at root              
scsibus2 at softraid0: 256 targets
boot device: lookup '' failed.    
root device: tmprdfs0         
use one of: exit sxie0 tmpfsrd0[a-p]
root device: tmpfsrd0               
swap device (default tmpfsrd0b): 
root on tmpfsrd0a swap on tmpfsrd0b dump on tmpfsrd0b
WARNING: clock lost 1951 days                        
WARNING: CHECK AND RESET THE DATE!
tmpfsrd0 detached                 
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the Bitrig/armv7 1.0 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
# dmesg
Bitrig 1.0-current (GENERIC) #10: Wed May  6 21:19:10 CEST 2015
    r...@utilite.fritz.box:/home/code/src/sys/arch/armv7/compile/GENERIC
    master:386b7cd36d491a42b0d9d18e4752f59629214583*
real mem  = 1073741824 (1024MB)
avail mem = 1037287424 (989MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cortex0 at mainbus0
ampintc0 at cortex0 nirq 160
agtimer0 at cortex0: tick rate 24000 KHz
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
sxiccmu0 at sunxi0
sxitimer0 at sunxi0: tick 1000hz clock 24000KHz
sxidog0 at sunxi0
sxirtc0 at sunxi0
sxiuart0 at sunxi0: console
sxiuart1 at sunxi0
sxiuart2 at sunxi0
sxiuart3 at sunxi0
sxiuart4 at sunxi0
sxiuart5 at sunxi0
sxiuart6 at sunxi0
sxiuart7 at sunxi0
sxie0 at sunxi0, address 02:03:04:01:61:60
rgephy0 at sxie0 phy 1: RTL8169S/8110S PHY, rev. 2
ahci0 at sunxi0 AHCI 1.1
scsibus0 at ahci0: 32 targets
ehci0 at sunxi0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
ehci1 at sunxi0
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
gpio0 at sxipio0: 18 pins
gpio1 at sxipio0: 24 pins
gpio2 at sxipio0: 25 pins
gpio3 at sxipio0: 28 pins
gpio4 at sxipio0: 12 pins
gpio5 at sxipio0: 6 pins
gpio6 at sxipio0: 12 pins
gpio7 at sxipio0: 28 pins
gpio8 at sxipio0: 22 pins
tmpfsrd0: 5MB ramdisk ready
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
boot device: lookup '' failed.
root device: tmprdfs0
use one of: exit sxie0 tmpfsrd0[a-p]
root device: tmpfsrd0
swap device (default tmpfsrd0b): 
root on tmpfsrd0a swap on tmpfsrd0b dump on tmpfsrd0b
WARNING: clock lost 1951 days
WARNING: CHECK AND RESET THE DATE!
tmpfsrd0 detached

Reply via email to