Hi everybody!

I recently bought a Olinuxino-Lime2 and wanted to see if I could get
OpenBSD up and running.
> https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2/

It is my first time I am doing something like this and currently I am
stuck.  I tried to boot with the cubieboard image, as this board is
based on an Allwinner A20 and this thread said that it might be
supported (I do not need X):
> https://marc.info/?l=openbsd-arm&m=139894585630709&w=2

The original u-boot loader used by the miniroot failed to initialize
the DRAM (both 5.7-release and 5.8-release), so I used the one from
over here:
http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi/u-boot-sunxi-latest/u-boot-sunxi-a20-olinuxino_lime2.tar.xz.

Now I have the same problems as Leonardo describes another thread.
The system boots and freezes at some point. I have attached a full log
below.
> https://marc.info/?l=openbsd-arm&m=144386766902942&w=2

I have read all the threads which showed up for the search terms
'olinuxino' and 'sunxi', but none gave me any helpful advise.

Does anyone have some idea I could try?


Thank you.

--- full log ---
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 27 ms (2.9 KiB/s)
Loaded environment from uEnv.txt
Running uenvcmd ...
reading bsd.umg
8028680 bytes read in 417 ms (18.4 MiB/s)
## Booting kernel from Legacy Image at 40200000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8028616 Bytes = 7.7 MiB
   Load Address: 40300000
   Entry Point:  40300000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...


OpenBSD/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
Allocating page tables                                    
freestart = 0x40aa9000, free_pages = 259415 (0x0003f557)
IRQ stack: p0x40ad7000 v0xc0ad7000                      
ABT stack: p0x40ad8000 v0xc0ad8000
UND stack: p0x40ad9000 v0xc0ad9000
SVC stack: p0x40ada000 v0xc0ada000
Creating L1 page table at 0x40aac000
Mapping kernel                      
Constructing L2 page tables
undefined page pmap board type: 4283
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
                                                                             
OpenBSD 5.8-current (RAMDISK) #26: Sun Oct 11 15:32:16 AEDT 2015
    j...@armv7.jsg.id.au:/usr/src/sys/arch/armv7/compile/RAMDISK 
real mem  = 1073741824 (1024MB)                                
avail mem = 1041674240 (993MB) 
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: Allwinner A20                               
sxipio0 at sunxi0                
sxiccmu0 at sunxi0
sxitimer0 at sunxi0: ticktimer 100hz @ 32KHz
sxitimer1 at sunxi0: stattimer 128hz @ 32KHz
sxitimer2 at sunxi0: cntrtimer @ 32KHz      
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/8211 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

Reply via email to