pcDuino3_Nano mount root problems on boot

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

pcDuino3_Nano mount root problems on boot

Leonardo Guardati-2
Hi,
  I'm back trying to make the pcDuino3_Nano board
work with OpenBSD.

The u-boot version shipped with the board:
U-Boot 2011.09-rc1 (Jul 03 2013 - 17:40:47) Allwinner Technology

Is not able to load openbsd from sd card.

Back in august I wrote to the list with a config option for
u-boot 2015-07 to make the bsd.umg image load; that
was:
[*] Enable workarounds for booting old kernels
under ARM Architecture of the uboot menuconfig.

Now, using the last uboot git version

U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology

it would stop at dram initialization:

DRAM:Timeout initialising DRAM


I had to change another config option to make it work:

"ARM Architecture" -> "sunxi dram timings" set to "JEDEC DDR3-800E / DDR3-1066G / DDR3-1333J"

instead of "Magic vendor timings from Android"


Now I'm back to square one with the same problem: openbsd loads fine but stuck at the
end of hardware initialization:

[see output1.log]


The sd0 (a SATA disk) device is found.

I've tried to run the same bsd.umg binary in QEMU, and it has the same behaviour; but it spews some
other messages after the gpio:

$ qemu-system-arm -M cubieboard -kernel bsd.rd.SUNXI.umg -m 1024M

[see output2.log]


Now I compiled the bsd.rd with debug option activated: and here the
results:

[see output3.log]


and this is without the external SATA disk:


[see output4.log]


I've checked the source code (I'm not able yet
to debug live the code...any suggestion on how to
setup that?) and adding some printf()s here and
there I saw that the code stops on sys/kern/init_main.c@:

while (config_pending)
        (void) tsleep((void *)&config_pending, PWAIT, "cfpend", 0);

the threads are woken up and I see the disk_attach_callback()s for
each of the devices (rd and sd) but then something goes wrong
and

dostartuphooks();

is never reached.

I've verified the disk_attach_callback() calls the final wakeup().

Also, in the tsleep() loop, the while() tests on config_pending=2.

Any hint on what could be the problem?
It seems like the thread waiting for the deferred autoconfiguration
doesn't wake up.




Leonardo.





output1.log (3K) Download Attachment
output2.log (2K) Download Attachment
output3.log (8K) Download Attachment
output4.log (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: pcDuino3_Nano mount root problems on boot

Leonardo Guardati-2
I believe I'm almost there.

To circumvent the problem of the previous email (where
it hung on driver deferred autoconfiguration),
I had to disable the usb drivers on the RAMDISK
kernel config.

The bsd.rd kernel is now reaching the /sbin/init
executable, but its code wont run!

I'm sure about this because if I remove the
/sbin/init file from the mr.fs ramdisk image, then the
process gracefully reboots because it doesn't find
the init file.

I've put some debugging printfs showing the sys/kern/init_main.c
code execution...it goes smooth...no error.

The problems I think is on the sys_execve() call.

But I need some insight/suggestion on where to look.

Here the console output:

U-Boot SPL 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2


U-Boot 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50 +0200) Allwinner Technology

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

In:    serial
Out:   serial
Err:   serial
SCSI:  SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
189 bytes read in 17 ms (10.7 KiB/s)
## Executing script at 43100000
reading bsd.umg
5688048 bytes read in 294 ms (18.5 MiB/s)
## Booting kernel from Legacy Image at 40200000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5687984 Bytes = 5.4 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 serial 0x16516604:080264c0
atag cmdline [rd0a:]
atag mem start 0x40000000 size 0x40000000
bootfile: rd0a:
bootargs:
memory size derived from u-boot
bootconf.mem[0].address = 40000000 pages 262144/0x40000000
physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
Allocating page tables
freestart = 0x4086d000, free_pages = 259987 (0x0003f793)
IRQ stack: p0x4089b000 v0xc089b000
ABT stack: p0x4089c000 v0xc089c000
UND stack: p0x4089d000 v0xc089d000
SVC stack: p0x4089e000 v0xc089e000
Creating L1 page table at 0x40870000
Mapping kernel
Constructing L2 page tables
undefined page pmap [ using 251020 bytes of bsd ELF symbol table ]
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) #8: Sun Oct 11 17:53:06 CEST 2015
    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 1073741824 (1024MB)
avail mem = 1043972096 (995MB)
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: ctrl 0 mode 0

sxirtc0 at sunxi0
sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002

sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004

sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008

sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010

sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000

sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000

sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000

sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000

sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
, address 02:04:08:02:64:c0
rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
 AHCI 1.1
scsibus0 at ahci0: 32 targets
sunxi0: device ehci unit 0 not configured
sunxi0: device ehci unit 1 not configured
port 0 pin 0 cfg 2
port 0 pin 1 cfg 2
port 0 pin 2 cfg 2
port 0 pin 3 cfg 2
port 0 pin 4 cfg 2
port 0 pin 5 cfg 2
port 0 pin 6 cfg 2
port 0 pin 7 cfg 2
port 0 pin 8 cfg 2
port 0 pin 9 cfg 2
port 0 pin 10 cfg 2
port 0 pin 11 cfg 2
port 0 pin 12 cfg 2
port 0 pin 13 cfg 2
port 0 pin 14 cfg 2
port 0 pin 15 cfg 2
port 0 pin 16 cfg 2
port 0 pin 17 cfg 2
gpio0 at sxipio0: 18 pins
port 1 pin 0 cfg 2
port 1 pin 1 cfg 2
port 1 pin 2 cfg 0
port 1 pin 3 cfg 0
port 1 pin 4 cfg 0
port 1 pin 5 cfg 0
port 1 pin 6 cfg 0
port 1 pin 7 cfg 0
port 1 pin 8 cfg 1
port 1 pin 9 cfg 0
port 1 pin 10 cfg 0
port 1 pin 11 cfg 0
port 1 pin 12 cfg 0
port 1 pin 13 cfg 0
port 1 pin 14 cfg 0
port 1 pin 15 cfg 0
port 1 pin 16 cfg 0
port 1 pin 17 cfg 0
port 1 pin 18 cfg 0
port 1 pin 19 cfg 0
port 1 pin 20 cfg 0
port 1 pin 21 cfg 0
port 1 pin 22 cfg 2
port 1 pin 23 cfg 2
gpio1 at sxipio0: 24 pins
port 2 pin 0 cfg 0
port 2 pin 1 cfg 0
port 2 pin 2 cfg 0
port 2 pin 3 cfg 0
port 2 pin 4 cfg 0
port 2 pin 5 cfg 0
port 2 pin 6 cfg 0
port 2 pin 7 cfg 0
port 2 pin 8 cfg 0
port 2 pin 9 cfg 0
port 2 pin 10 cfg 0
port 2 pin 11 cfg 0
port 2 pin 12 cfg 0
port 2 pin 13 cfg 0
port 2 pin 14 cfg 0
port 2 pin 15 cfg 0
port 2 pin 16 cfg 0
port 2 pin 17 cfg 0
port 2 pin 18 cfg 0
port 2 pin 19 cfg 0
port 2 pin 20 cfg 0
port 2 pin 21 cfg 0
port 2 pin 22 cfg 0
port 2 pin 23 cfg 0
port 2 pin 24 cfg 0
gpio2 at sxipio0: 25 pins
port 3 pin 0 cfg 0
port 3 pin 1 cfg 0
port 3 pin 2 cfg 0
port 3 pin 3 cfg 0
port 3 pin 4 cfg 0
port 3 pin 5 cfg 0
port 3 pin 6 cfg 0
port 3 pin 7 cfg 0
port 3 pin 8 cfg 0
port 3 pin 9 cfg 0
port 3 pin 10 cfg 0
port 3 pin 11 cfg 0
port 3 pin 12 cfg 0
port 3 pin 13 cfg 0
port 3 pin 14 cfg 0
port 3 pin 15 cfg 0
port 3 pin 16 cfg 0
port 3 pin 17 cfg 0
port 3 pin 18 cfg 0
port 3 pin 19 cfg 0
port 3 pin 20 cfg 0
port 3 pin 21 cfg 0
port 3 pin 22 cfg 0
port 3 pin 23 cfg 0
port 3 pin 24 cfg 0
port 3 pin 25 cfg 0
port 3 pin 26 cfg 0
port 3 pin 27 cfg 0
gpio3 at sxipio0: 28 pins
port 4 pin 0 cfg 0
port 4 pin 1 cfg 0
port 4 pin 2 cfg 0
port 4 pin 3 cfg 0
port 4 pin 4 cfg 0
port 4 pin 5 cfg 0
port 4 pin 6 cfg 0
port 4 pin 7 cfg 0
port 4 pin 8 cfg 0
port 4 pin 9 cfg 0
port 4 pin 10 cfg 0
port 4 pin 11 cfg 0
gpio4 at sxipio0: 12 pins
port 5 pin 0 cfg 2
port 5 pin 1 cfg 2
port 5 pin 2 cfg 2
port 5 pin 3 cfg 2
port 5 pin 4 cfg 2
port 5 pin 5 cfg 2
gpio5 at sxipio0: 6 pins
port 6 pin 0 cfg 0
port 6 pin 1 cfg 0
port 6 pin 2 cfg 0
port 6 pin 3 cfg 0
port 6 pin 4 cfg 0
port 6 pin 5 cfg 0
port 6 pin 6 cfg 0
port 6 pin 7 cfg 0
port 6 pin 8 cfg 0
port 6 pin 9 cfg 0
port 6 pin 10 cfg 0
port 6 pin 11 cfg 0
gpio6 at sxipio0: 12 pins
port 7 pin 0 cfg 0
port 7 pin 1 cfg 0
port 7 pin 2 cfg 1
port 7 pin 3 cfg 1
port 7 pin 4 cfg 0
port 7 pin 5 cfg 0
port 7 pin 6 cfg 0
port 7 pin 7 cfg 0
port 7 pin 8 cfg 0
port 7 pin 9 cfg 0
port 7 pin 10 cfg 0
port 7 pin 11 cfg 1
port 7 pin 12 cfg 0
port 7 pin 13 cfg 0
port 7 pin 14 cfg 0
port 7 pin 15 cfg 0
port 7 pin 16 cfg 0
port 7 pin 17 cfg 0
port 7 pin 18 cfg 0
port 7 pin 19 cfg 0
port 7 pin 20 cfg 0
port 7 pin 21 cfg 0
port 7 pin 22 cfg 0
port 7 pin 23 cfg 0
port 7 pin 24 cfg 0
port 7 pin 25 cfg 0
port 7 pin 26 cfg 0
port 7 pin 27 cfg 0
gpio7 at sxipio0: 28 pins
port 8 pin 0 cfg 0
port 8 pin 1 cfg 0
port 8 pin 2 cfg 0
port 8 pin 3 cfg 0
port 8 pin 4 cfg 0
port 8 pin 5 cfg 0
port 8 pin 6 cfg 0
port 8 pin 7 cfg 0
port 8 pin 8 cfg 0
port 8 pin 9 cfg 0
port 8 pin 10 cfg 0
port 8 pin 11 cfg 0
port 8 pin 12 cfg 0
port 8 pin 13 cfg 0
port 8 pin 14 cfg 0
port 8 pin 15 cfg 0
port 8 pin 16 cfg 0
port 8 pin 17 cfg 0
port 8 pin 18 cfg 0
port 8 pin 19 cfg 0
port 8 pin 20 cfg 0
port 8 pin 21 cfg 0
gpio8 at sxipio0: 22 pins
enable irq 54 register 104 bitmask 00400000
enable irq 55 register 104 bitmask 00800000
Timecounters tick every 10.000 msec
XXXafter fork...before kthread_run_deferred_queue()
XXXafter kthread_run_deferred_queue()
XXXbefore dostartuphooks()
XXXafter dostartuphooks()
boot device: rd0
dev=0x1202 chrdev=0x1202 rawdev=0x1202
root on rd0a swap on rd0b dump on rd0b
XXXafter diskconf()
dev=0x1200 chrdev=0x1200 rawdev=0x1202
WARNING: clock lost 2109 days
WARNING: CHECK AND RESET THE DATE!
XXXafter mountroot()
XXXbefore uvm_swap_init()
XXXbefore start_init_exec()
XXXbefore idle...
init: copying out path `/sbin/init' 11
XXXreturned from sys_execve().
XXXafter KERNEL_UNLOCK



The XXX* lines are the printf()s.


Anyway, to make it work, I had to disable the usb
related drivers:
#ehci*          at sunxi?               # EHCI (shim)
#usb*           at ehci?        #flags 0x1


Also, I've enabled the ddb with
option DDB
option DDB_SAFE_CONSOLE

but even if I send BREAKs from the serial console, the
debugger isn't called.

Any help is welcome.

Leonardo.




On Sat, Oct 03, 2015 at 11:54:51AM +0200, Leonardo Guardati wrote:

> Hi,
>   I'm back trying to make the pcDuino3_Nano board
> work with OpenBSD.
>
> The u-boot version shipped with the board:
> U-Boot 2011.09-rc1 (Jul 03 2013 - 17:40:47) Allwinner Technology
>
> Is not able to load openbsd from sd card.
>
> Back in august I wrote to the list with a config option for
> u-boot 2015-07 to make the bsd.umg image load; that
> was:
> [*] Enable workarounds for booting old kernels
> under ARM Architecture of the uboot menuconfig.
>
> Now, using the last uboot git version
>
> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
>
> it would stop at dram initialization:
>
> DRAM:Timeout initialising DRAM
>
>
> I had to change another config option to make it work:
>
> "ARM Architecture" -> "sunxi dram timings" set to "JEDEC DDR3-800E / DDR3-1066G / DDR3-1333J"
>
> instead of "Magic vendor timings from Android"
>
>
> Now I'm back to square one with the same problem: openbsd loads fine but stuck at the
> end of hardware initialization:
>
> [see output1.log]
>
>
> The sd0 (a SATA disk) device is found.
>
> I've tried to run the same bsd.umg binary in QEMU, and it has the same behaviour; but it spews some
> other messages after the gpio:
>
> $ qemu-system-arm -M cubieboard -kernel bsd.rd.SUNXI.umg -m 1024M
>
> [see output2.log]
>
>
> Now I compiled the bsd.rd with debug option activated: and here the
> results:
>
> [see output3.log]
>
>
> and this is without the external SATA disk:
>
>
> [see output4.log]
>
>
> I've checked the source code (I'm not able yet
> to debug live the code...any suggestion on how to
> setup that?) and adding some printf()s here and
> there I saw that the code stops on sys/kern/init_main.c@:
>
> while (config_pending)
> (void) tsleep((void *)&config_pending, PWAIT, "cfpend", 0);
>
> the threads are woken up and I see the disk_attach_callback()s for
> each of the devices (rd and sd) but then something goes wrong
> and
>
> dostartuphooks();
>
> is never reached.
>
> I've verified the disk_attach_callback() calls the final wakeup().
>
> Also, in the tsleep() loop, the while() tests on config_pending=2.
>
> Any hint on what could be the problem?
> It seems like the thread waiting for the deferred autoconfiguration
> doesn't wake up.
>
>
>
>
> Leonardo.
>
>
>
>

> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54)
> DRAM: 1024 MiB
> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>
>
> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> SCSI:  SUNXI SCSI INIT
> Target spinup took 0 ms.
> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> Net:   eth0: ethernet@01c50000
> starting USB...
> USB0:   USB EHCI 1.00
> USB1:   USB OHCI 1.0
> USB2:   USB EHCI 1.00
> USB3:   USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 2 for devices... 1 USB Device(s) found
> Hit any key to stop autoboot:  0
> => fatload mmc 0 0x48000000 bsd.umg
> reading bsd.umg
> 8028428 bytes read in 452 ms (16.9 MiB/s)
> =>
> =>
> => bootm 0x48000000
> ## Booting kernel from Legacy Image at 48000000 ...
>    Image Name:   boot
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    8028364 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 serial 0x16516604:080264c0
> 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) #23: Mon Sep 21 16:37:27 AEST 2015
>     [hidden email]:/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:04:08:02:64:c0
> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> ahci0 at sunxi0 AHCI 1.1
> ahci0: port 0: 3.0Gb/s
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> 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
>
>

> OpenBSD/sunxi booting ...
> arg0 0x0 arg1 0x1008 arg2 0x40000100
> atag core flags 1 pagesize 1000 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: 4104
> 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) #23: Mon Sep 21 16:37:27 AEST 2015
>     [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> real mem  = 1073741824 (1024MB)
> avail mem = 1041674240 (993MB)
> mainbus0 at root
> cpu0 at mainbus0: ARM Cortex A8 rev 0 (ARMv7 core)
> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu0: 16KB(64b/l,4way) I-cache, 16KB(64b/l,4way) wr-back D-cache
> sunxi0 at mainbus0: Allwinner A1x
> sxipio0 at sunxi0
> sxiccmu0 at sunxi0
> a1xintc0 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 fe:e1:ba:d0:6b:f0
> rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1
> ahci0 at sunxi0: AHCI phy power up failed.
> ehci0 at sunxi0
> ehci0: halt timeout
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> uhub0: no ports, hub ignored
> usb0: root device is not a hub
> ehci1 at sunxi0
> ehci1: halt timeout
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> uhub1: no ports, hub ignored
> usb1: root device is not a hub
> 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
> boot device: lookup '' failed.
> root on rd0a swap on rd0b dump on rd0b
> WARNING: preposterous clock chip time
> WARNING: CHECK AND RESET THE DATE!
>

> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
> DRAM: 1024 MiB
> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>
>
> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> SCSI:  SUNXI SCSI INIT
> Target spinup took 0 ms.
> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> Net:   eth0: ethernet@01c50000
> starting USB...
> USB0:   USB EHCI 1.00
> USB1:   USB OHCI 1.0
> USB2:   USB EHCI 1.00
> USB3:   USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 2 for devices... 1 USB Device(s) found
> Hit any key to stop autoboot:  0
> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
> reading bsd.umg
> 8029540 bytes read in 407 ms (18.8 MiB/s)
> ## Booting kernel from Legacy Image at 40200000 ...
>    Image Name:   boot
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    8029476 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 serial 0x16516604:080264c0
> atag mem start 0x40000000 size 0x40000000
> bootfile:
> bootargs:
> memory size derived from u-boot
> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> 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) #6: Wed Sep 30 21:51:18 CEST 2015
>     [hidden email]:/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: ctrl 0 mode 0
>
> sxirtc0 at sunxi0
> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
>
> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
>
> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
>
> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
>
> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
>
> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
>
> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
>
> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
>
> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> , address 02:04:08:02:64:c0
> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
>  AHCI 1.1
> ahci0: port 0: 3.0Gb/s
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> ehci0 at sunxi0
> enable irq 71 register 108 bitmask 00000080
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> ehci1 at sunxi0
> enable irq 72 register 108 bitmask 00000100
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> port 0 pin 0 cfg 2
> port 0 pin 1 cfg 2
> port 0 pin 2 cfg 2
> port 0 pin 3 cfg 2
> port 0 pin 4 cfg 2
> port 0 pin 5 cfg 2
> port 0 pin 6 cfg 2
> port 0 pin 7 cfg 2
> port 0 pin 8 cfg 2
> port 0 pin 9 cfg 2
> port 0 pin 10 cfg 2
> port 0 pin 11 cfg 2
> port 0 pin 12 cfg 2
> port 0 pin 13 cfg 2
> port 0 pin 14 cfg 2
> port 0 pin 15 cfg 2
> port 0 pin 16 cfg 2
> port 0 pin 17 cfg 2
> gpio0 at sxipio0: 18 pins
> port 1 pin 0 cfg 2
> port 1 pin 1 cfg 2
> port 1 pin 2 cfg 0
> port 1 pin 3 cfg 0
> port 1 pin 4 cfg 0
> port 1 pin 5 cfg 0
> port 1 pin 6 cfg 0
> port 1 pin 7 cfg 0
> port 1 pin 8 cfg 1
> port 1 pin 9 cfg 0
> port 1 pin 10 cfg 0
> port 1 pin 11 cfg 0
> port 1 pin 12 cfg 0
> port 1 pin 13 cfg 0
> port 1 pin 14 cfg 0
> port 1 pin 15 cfg 0
> port 1 pin 16 cfg 0
> port 1 pin 17 cfg 0
> port 1 pin 18 cfg 0
> port 1 pin 19 cfg 0
> port 1 pin 20 cfg 0
> port 1 pin 21 cfg 0
> port 1 pin 22 cfg 2
> port 1 pin 23 cfg 2
> gpio1 at sxipio0: 24 pins
> port 2 pin 0 cfg 0
> port 2 pin 1 cfg 0
> port 2 pin 2 cfg 0
> port 2 pin 3 cfg 0
> port 2 pin 4 cfg 0
> port 2 pin 5 cfg 0
> port 2 pin 6 cfg 0
> port 2 pin 7 cfg 0
> port 2 pin 8 cfg 0
> port 2 pin 9 cfg 0
> port 2 pin 10 cfg 0
> port 2 pin 11 cfg 0
> port 2 pin 12 cfg 0
> port 2 pin 13 cfg 0
> port 2 pin 14 cfg 0
> port 2 pin 15 cfg 0
> port 2 pin 16 cfg 0
> port 2 pin 17 cfg 0
> port 2 pin 18 cfg 0
> port 2 pin 19 cfg 0
> port 2 pin 20 cfg 0
> port 2 pin 21 cfg 0
> port 2 pin 22 cfg 0
> port 2 pin 23 cfg 0
> port 2 pin 24 cfg 0
> gpio2 at sxipio0: 25 pins
> port 3 pin 0 cfg 0
> port 3 pin 1 cfg 0
> port 3 pin 2 cfg 0
> port 3 pin 3 cfg 0
> port 3 pin 4 cfg 0
> port 3 pin 5 cfg 0
> port 3 pin 6 cfg 0
> port 3 pin 7 cfg 0
> port 3 pin 8 cfg 0
> port 3 pin 9 cfg 0
> port 3 pin 10 cfg 0
> port 3 pin 11 cfg 0
> port 3 pin 12 cfg 0
> port 3 pin 13 cfg 0
> port 3 pin 14 cfg 0
> port 3 pin 15 cfg 0
> port 3 pin 16 cfg 0
> port 3 pin 17 cfg 0
> port 3 pin 18 cfg 0
> port 3 pin 19 cfg 0
> port 3 pin 20 cfg 0
> port 3 pin 21 cfg 0
> port 3 pin 22 cfg 0
> port 3 pin 23 cfg 0
> port 3 pin 24 cfg 0
> port 3 pin 25 cfg 0
> port 3 pin 26 cfg 0
> port 3 pin 27 cfg 0
> gpio3 at sxipio0: 28 pins
> port 4 pin 0 cfg 0
> port 4 pin 1 cfg 0
> port 4 pin 2 cfg 0
> port 4 pin 3 cfg 0
> port 4 pin 4 cfg 0
> port 4 pin 5 cfg 0
> port 4 pin 6 cfg 0
> port 4 pin 7 cfg 0
> port 4 pin 8 cfg 0
> port 4 pin 9 cfg 0
> port 4 pin 10 cfg 0
> port 4 pin 11 cfg 0
> gpio4 at sxipio0: 12 pins
> port 5 pin 0 cfg 2
> port 5 pin 1 cfg 2
> port 5 pin 2 cfg 2
> port 5 pin 3 cfg 2
> port 5 pin 4 cfg 2
> port 5 pin 5 cfg 2
> gpio5 at sxipio0: 6 pins
> port 6 pin 0 cfg 0
> port 6 pin 1 cfg 0
> port 6 pin 2 cfg 0
> port 6 pin 3 cfg 0
> port 6 pin 4 cfg 0
> port 6 pin 5 cfg 0
> port 6 pin 6 cfg 0
> port 6 pin 7 cfg 0
> port 6 pin 8 cfg 0
> port 6 pin 9 cfg 0
> port 6 pin 10 cfg 0
> port 6 pin 11 cfg 0
> gpio6 at sxipio0: 12 pins
> port 7 pin 0 cfg 0
> port 7 pin 1 cfg 0
> port 7 pin 2 cfg 1
> port 7 pin 3 cfg 1
> port 7 pin 4 cfg 0
> port 7 pin 5 cfg 0
> port 7 pin 6 cfg 1
> port 7 pin 7 cfg 0
> port 7 pin 8 cfg 0
> port 7 pin 9 cfg 0
> port 7 pin 10 cfg 0
> port 7 pin 11 cfg 1
> port 7 pin 12 cfg 0
> port 7 pin 13 cfg 0
> port 7 pin 14 cfg 0
> port 7 pin 15 cfg 0
> port 7 pin 16 cfg 0
> port 7 pin 17 cfg 0
> port 7 pin 18 cfg 0
> port 7 pin 19 cfg 0
> port 7 pin 20 cfg 0
> port 7 pin 21 cfg 0
> port 7 pin 22 cfg 0
> port 7 pin 23 cfg 0
> port 7 pin 24 cfg 0
> port 7 pin 25 cfg 0
> port 7 pin 26 cfg 0
> port 7 pin 27 cfg 0
> gpio7 at sxipio0: 28 pins
> port 8 pin 0 cfg 0
> port 8 pin 1 cfg 0
> port 8 pin 2 cfg 0
> port 8 pin 3 cfg 0
> port 8 pin 4 cfg 0
> port 8 pin 5 cfg 0
> port 8 pin 6 cfg 0
> port 8 pin 7 cfg 0
> port 8 pin 8 cfg 0
> port 8 pin 9 cfg 0
> port 8 pin 10 cfg 0
> port 8 pin 11 cfg 0
> port 8 pin 12 cfg 0
> port 8 pin 13 cfg 0
> port 8 pin 14 cfg 0
> port 8 pin 15 cfg 0
> port 8 pin 16 cfg 0
> port 8 pin 17 cfg 0
> port 8 pin 18 cfg 0
> port 8 pin 19 cfg 0
> port 8 pin 20 cfg 0
> port 8 pin 21 cfg 0
> gpio8 at sxipio0: 22 pins
> enable irq 54 register 104 bitmask 00400000
> enable irq 55 register 104 bitmask 00800000
> Timecounters tick every 10.000 msec
> dev=0x1802 chrdev=0x1802 rawdev=0x1802
> dev=0x1202 chrdev=0x1202 rawdev=0x1202
>

> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
> DRAM: 1024 MiB
> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>
>
> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> SCSI:  SUNXI SCSI INIT
> SATA link 0 timeout.
> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> Net:   eth0: ethernet@01c50000
> starting USB...
> USB0:   USB EHCI 1.00
> USB1:   USB OHCI 1.0
> USB2:   USB EHCI 1.00
> USB3:   USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 2 for devices... 1 USB Device(s) found
> Hit any key to stop autoboot:  0
> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
> reading bsd.umg
> 8029540 bytes read in 407 ms (18.8 MiB/s)
> ## Booting kernel from Legacy Image at 40200000 ...
>    Image Name:   boot
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    8029476 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 serial 0x16516604:080264c0
> atag mem start 0x40000000 size 0x40000000
> bootfile:
> bootargs:
> memory size derived from u-boot
> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> 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) #6: Wed Sep 30 21:51:18 CEST 2015
>     [hidden email]:/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: ctrl 0 mode 0
>
> sxirtc0 at sunxi0
> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
>
> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
>
> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
>
> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
>
> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
>
> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
>
> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
>
> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
>
> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> , address 02:04:08:02:64:c0
> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
>  AHCI 1.1
> scsibus0 at ahci0: 32 targets
> ehci0 at sunxi0
> enable irq 71 register 108 bitmask 00000080
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> ehci1 at sunxi0
> enable irq 72 register 108 bitmask 00000100
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> port 0 pin 0 cfg 2
> port 0 pin 1 cfg 2
> port 0 pin 2 cfg 2
> port 0 pin 3 cfg 2
> port 0 pin 4 cfg 2
> port 0 pin 5 cfg 2
> port 0 pin 6 cfg 2
> port 0 pin 7 cfg 2
> port 0 pin 8 cfg 2
> port 0 pin 9 cfg 2
> port 0 pin 10 cfg 2
> port 0 pin 11 cfg 2
> port 0 pin 12 cfg 2
> port 0 pin 13 cfg 2
> port 0 pin 14 cfg 2
> port 0 pin 15 cfg 2
> port 0 pin 16 cfg 2
> port 0 pin 17 cfg 2
> gpio0 at sxipio0: 18 pins
> port 1 pin 0 cfg 2
> port 1 pin 1 cfg 2
> port 1 pin 2 cfg 0
> port 1 pin 3 cfg 0
> port 1 pin 4 cfg 0
> port 1 pin 5 cfg 0
> port 1 pin 6 cfg 0
> port 1 pin 7 cfg 0
> port 1 pin 8 cfg 1
> port 1 pin 9 cfg 0
> port 1 pin 10 cfg 0
> port 1 pin 11 cfg 0
> port 1 pin 12 cfg 0
> port 1 pin 13 cfg 0
> port 1 pin 14 cfg 0
> port 1 pin 15 cfg 0
> port 1 pin 16 cfg 0
> port 1 pin 17 cfg 0
> port 1 pin 18 cfg 0
> port 1 pin 19 cfg 0
> port 1 pin 20 cfg 0
> port 1 pin 21 cfg 0
> port 1 pin 22 cfg 2
> port 1 pin 23 cfg 2
> gpio1 at sxipio0: 24 pins
> port 2 pin 0 cfg 0
> port 2 pin 1 cfg 0
> port 2 pin 2 cfg 0
> port 2 pin 3 cfg 0
> port 2 pin 4 cfg 0
> port 2 pin 5 cfg 0
> port 2 pin 6 cfg 0
> port 2 pin 7 cfg 0
> port 2 pin 8 cfg 0
> port 2 pin 9 cfg 0
> port 2 pin 10 cfg 0
> port 2 pin 11 cfg 0
> port 2 pin 12 cfg 0
> port 2 pin 13 cfg 0
> port 2 pin 14 cfg 0
> port 2 pin 15 cfg 0
> port 2 pin 16 cfg 0
> port 2 pin 17 cfg 0
> port 2 pin 18 cfg 0
> port 2 pin 19 cfg 0
> port 2 pin 20 cfg 0
> port 2 pin 21 cfg 0
> port 2 pin 22 cfg 0
> port 2 pin 23 cfg 0
> port 2 pin 24 cfg 0
> gpio2 at sxipio0: 25 pins
> port 3 pin 0 cfg 0
> port 3 pin 1 cfg 0
> port 3 pin 2 cfg 0
> port 3 pin 3 cfg 0
> port 3 pin 4 cfg 0
> port 3 pin 5 cfg 0
> port 3 pin 6 cfg 0
> port 3 pin 7 cfg 0
> port 3 pin 8 cfg 0
> port 3 pin 9 cfg 0
> port 3 pin 10 cfg 0
> port 3 pin 11 cfg 0
> port 3 pin 12 cfg 0
> port 3 pin 13 cfg 0
> port 3 pin 14 cfg 0
> port 3 pin 15 cfg 0
> port 3 pin 16 cfg 0
> port 3 pin 17 cfg 0
> port 3 pin 18 cfg 0
> port 3 pin 19 cfg 0
> port 3 pin 20 cfg 0
> port 3 pin 21 cfg 0
> port 3 pin 22 cfg 0
> port 3 pin 23 cfg 0
> port 3 pin 24 cfg 0
> port 3 pin 25 cfg 0
> port 3 pin 26 cfg 0
> port 3 pin 27 cfg 0
> gpio3 at sxipio0: 28 pins
> port 4 pin 0 cfg 0
> port 4 pin 1 cfg 0
> port 4 pin 2 cfg 0
> port 4 pin 3 cfg 0
> port 4 pin 4 cfg 0
> port 4 pin 5 cfg 0
> port 4 pin 6 cfg 0
> port 4 pin 7 cfg 0
> port 4 pin 8 cfg 0
> port 4 pin 9 cfg 0
> port 4 pin 10 cfg 0
> port 4 pin 11 cfg 0
> gpio4 at sxipio0: 12 pins
> port 5 pin 0 cfg 2
> port 5 pin 1 cfg 2
> port 5 pin 2 cfg 2
> port 5 pin 3 cfg 2
> port 5 pin 4 cfg 2
> port 5 pin 5 cfg 2
> gpio5 at sxipio0: 6 pins
> port 6 pin 0 cfg 0
> port 6 pin 1 cfg 0
> port 6 pin 2 cfg 0
> port 6 pin 3 cfg 0
> port 6 pin 4 cfg 0
> port 6 pin 5 cfg 0
> port 6 pin 6 cfg 0
> port 6 pin 7 cfg 0
> port 6 pin 8 cfg 0
> port 6 pin 9 cfg 0
> port 6 pin 10 cfg 0
> port 6 pin 11 cfg 0
> gpio6 at sxipio0: 12 pins
> port 7 pin 0 cfg 0
> port 7 pin 1 cfg 0
> port 7 pin 2 cfg 1
> port 7 pin 3 cfg 1
> port 7 pin 4 cfg 0
> port 7 pin 5 cfg 0
> port 7 pin 6 cfg 1
> port 7 pin 7 cfg 0
> port 7 pin 8 cfg 0
> port 7 pin 9 cfg 0
> port 7 pin 10 cfg 0
> port 7 pin 11 cfg 1
> port 7 pin 12 cfg 0
> port 7 pin 13 cfg 0
> port 7 pin 14 cfg 0
> port 7 pin 15 cfg 0
> port 7 pin 16 cfg 0
> port 7 pin 17 cfg 0
> port 7 pin 18 cfg 0
> port 7 pin 19 cfg 0
> port 7 pin 20 cfg 0
> port 7 pin 21 cfg 0
> port 7 pin 22 cfg 0
> port 7 pin 23 cfg 0
> port 7 pin 24 cfg 0
> port 7 pin 25 cfg 0
> port 7 pin 26 cfg 0
> port 7 pin 27 cfg 0
> gpio7 at sxipio0: 28 pins
> port 8 pin 0 cfg 0
> port 8 pin 1 cfg 0
> port 8 pin 2 cfg 0
> port 8 pin 3 cfg 0
> port 8 pin 4 cfg 0
> port 8 pin 5 cfg 0
> port 8 pin 6 cfg 0
> port 8 pin 7 cfg 0
> port 8 pin 8 cfg 0
> port 8 pin 9 cfg 0
> port 8 pin 10 cfg 0
> port 8 pin 11 cfg 0
> port 8 pin 12 cfg 0
> port 8 pin 13 cfg 0
> port 8 pin 14 cfg 0
> port 8 pin 15 cfg 0
> port 8 pin 16 cfg 0
> port 8 pin 17 cfg 0
> port 8 pin 18 cfg 0
> port 8 pin 19 cfg 0
> port 8 pin 20 cfg 0
> port 8 pin 21 cfg 0
> gpio8 at sxipio0: 22 pins
> enable irq 54 register 104 bitmask 00400000
> enable irq 55 register 104 bitmask 00800000
> Timecounters tick every 10.000 msec
> dev=0x1202 chrdev=0x1202 rawdev=0x1202
>
>

Reply | Threaded
Open this post in threaded view
|

Re: pcDuino3_Nano mount root problems on boot

Patrick Wildt-2
That usually means that either

a) the interrupts don’t arrive or
b) the timer/hardclock doesn’t tick.

Do your debug printfs print on interrupt? If not, try to add that and see if there are any interrupts at all.

Patrick

> Am 11.10.2015 um 18:13 schrieb Leonardo Guardati <[hidden email]>:
>
> I believe I'm almost there.
>
> To circumvent the problem of the previous email (where
> it hung on driver deferred autoconfiguration),
> I had to disable the usb drivers on the RAMDISK
> kernel config.
>
> The bsd.rd kernel is now reaching the /sbin/init
> executable, but its code wont run!
>
> I'm sure about this because if I remove the
> /sbin/init file from the mr.fs ramdisk image, then the
> process gracefully reboots because it doesn't find
> the init file.
>
> I've put some debugging printfs showing the sys/kern/init_main.c
> code execution...it goes smooth...no error.
>
> The problems I think is on the sys_execve() call.
>
> But I need some insight/suggestion on where to look.
>
> Here the console output:
>
> U-Boot SPL 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50)
> DRAM: 1024 MiB
> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>
>
> U-Boot 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50 +0200) Allwinner Technology
>
> CPU:   Allwinner A20 (SUN7I)
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> SCSI:  SUNXI SCSI INIT
> SATA link 0 timeout.
> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> Net:   eth0: ethernet@01c50000
> starting USB...
> USB0:   USB EHCI 1.00
> USB1:   USB OHCI 1.0
> USB2:   USB EHCI 1.00
> USB3:   USB OHCI 1.0
> scanning bus 0 for devices... 1 USB Device(s) found
> scanning bus 2 for devices... 1 USB Device(s) found
> Hit any key to stop autoboot:  0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> Found U-Boot script /boot.scr
> reading /boot.scr
> 189 bytes read in 17 ms (10.7 KiB/s)
> ## Executing script at 43100000
> reading bsd.umg
> 5688048 bytes read in 294 ms (18.5 MiB/s)
> ## Booting kernel from Legacy Image at 40200000 ...
>   Image Name:   boot
>   Image Type:   ARM Linux Kernel Image (uncompressed)
>   Data Size:    5687984 Bytes = 5.4 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 serial 0x16516604:080264c0
> atag cmdline [rd0a:]
> atag mem start 0x40000000 size 0x40000000
> bootfile: rd0a:
> bootargs:
> memory size derived from u-boot
> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> Allocating page tables
> freestart = 0x4086d000, free_pages = 259987 (0x0003f793)
> IRQ stack: p0x4089b000 v0xc089b000
> ABT stack: p0x4089c000 v0xc089c000
> UND stack: p0x4089d000 v0xc089d000
> SVC stack: p0x4089e000 v0xc089e000
> Creating L1 page table at 0x40870000
> Mapping kernel
> Constructing L2 page tables
> undefined page pmap [ using 251020 bytes of bsd ELF symbol table ]
> 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) #8: Sun Oct 11 17:53:06 CEST 2015
>    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> real mem  = 1073741824 (1024MB)
> avail mem = 1043972096 (995MB)
> 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: ctrl 0 mode 0
>
> sxirtc0 at sunxi0
> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
>
> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
>
> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
>
> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
>
> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
>
> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
>
> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
>
> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
>
> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> , address 02:04:08:02:64:c0
> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
> AHCI 1.1
> scsibus0 at ahci0: 32 targets
> sunxi0: device ehci unit 0 not configured
> sunxi0: device ehci unit 1 not configured
> port 0 pin 0 cfg 2
> port 0 pin 1 cfg 2
> port 0 pin 2 cfg 2
> port 0 pin 3 cfg 2
> port 0 pin 4 cfg 2
> port 0 pin 5 cfg 2
> port 0 pin 6 cfg 2
> port 0 pin 7 cfg 2
> port 0 pin 8 cfg 2
> port 0 pin 9 cfg 2
> port 0 pin 10 cfg 2
> port 0 pin 11 cfg 2
> port 0 pin 12 cfg 2
> port 0 pin 13 cfg 2
> port 0 pin 14 cfg 2
> port 0 pin 15 cfg 2
> port 0 pin 16 cfg 2
> port 0 pin 17 cfg 2
> gpio0 at sxipio0: 18 pins
> port 1 pin 0 cfg 2
> port 1 pin 1 cfg 2
> port 1 pin 2 cfg 0
> port 1 pin 3 cfg 0
> port 1 pin 4 cfg 0
> port 1 pin 5 cfg 0
> port 1 pin 6 cfg 0
> port 1 pin 7 cfg 0
> port 1 pin 8 cfg 1
> port 1 pin 9 cfg 0
> port 1 pin 10 cfg 0
> port 1 pin 11 cfg 0
> port 1 pin 12 cfg 0
> port 1 pin 13 cfg 0
> port 1 pin 14 cfg 0
> port 1 pin 15 cfg 0
> port 1 pin 16 cfg 0
> port 1 pin 17 cfg 0
> port 1 pin 18 cfg 0
> port 1 pin 19 cfg 0
> port 1 pin 20 cfg 0
> port 1 pin 21 cfg 0
> port 1 pin 22 cfg 2
> port 1 pin 23 cfg 2
> gpio1 at sxipio0: 24 pins
> port 2 pin 0 cfg 0
> port 2 pin 1 cfg 0
> port 2 pin 2 cfg 0
> port 2 pin 3 cfg 0
> port 2 pin 4 cfg 0
> port 2 pin 5 cfg 0
> port 2 pin 6 cfg 0
> port 2 pin 7 cfg 0
> port 2 pin 8 cfg 0
> port 2 pin 9 cfg 0
> port 2 pin 10 cfg 0
> port 2 pin 11 cfg 0
> port 2 pin 12 cfg 0
> port 2 pin 13 cfg 0
> port 2 pin 14 cfg 0
> port 2 pin 15 cfg 0
> port 2 pin 16 cfg 0
> port 2 pin 17 cfg 0
> port 2 pin 18 cfg 0
> port 2 pin 19 cfg 0
> port 2 pin 20 cfg 0
> port 2 pin 21 cfg 0
> port 2 pin 22 cfg 0
> port 2 pin 23 cfg 0
> port 2 pin 24 cfg 0
> gpio2 at sxipio0: 25 pins
> port 3 pin 0 cfg 0
> port 3 pin 1 cfg 0
> port 3 pin 2 cfg 0
> port 3 pin 3 cfg 0
> port 3 pin 4 cfg 0
> port 3 pin 5 cfg 0
> port 3 pin 6 cfg 0
> port 3 pin 7 cfg 0
> port 3 pin 8 cfg 0
> port 3 pin 9 cfg 0
> port 3 pin 10 cfg 0
> port 3 pin 11 cfg 0
> port 3 pin 12 cfg 0
> port 3 pin 13 cfg 0
> port 3 pin 14 cfg 0
> port 3 pin 15 cfg 0
> port 3 pin 16 cfg 0
> port 3 pin 17 cfg 0
> port 3 pin 18 cfg 0
> port 3 pin 19 cfg 0
> port 3 pin 20 cfg 0
> port 3 pin 21 cfg 0
> port 3 pin 22 cfg 0
> port 3 pin 23 cfg 0
> port 3 pin 24 cfg 0
> port 3 pin 25 cfg 0
> port 3 pin 26 cfg 0
> port 3 pin 27 cfg 0
> gpio3 at sxipio0: 28 pins
> port 4 pin 0 cfg 0
> port 4 pin 1 cfg 0
> port 4 pin 2 cfg 0
> port 4 pin 3 cfg 0
> port 4 pin 4 cfg 0
> port 4 pin 5 cfg 0
> port 4 pin 6 cfg 0
> port 4 pin 7 cfg 0
> port 4 pin 8 cfg 0
> port 4 pin 9 cfg 0
> port 4 pin 10 cfg 0
> port 4 pin 11 cfg 0
> gpio4 at sxipio0: 12 pins
> port 5 pin 0 cfg 2
> port 5 pin 1 cfg 2
> port 5 pin 2 cfg 2
> port 5 pin 3 cfg 2
> port 5 pin 4 cfg 2
> port 5 pin 5 cfg 2
> gpio5 at sxipio0: 6 pins
> port 6 pin 0 cfg 0
> port 6 pin 1 cfg 0
> port 6 pin 2 cfg 0
> port 6 pin 3 cfg 0
> port 6 pin 4 cfg 0
> port 6 pin 5 cfg 0
> port 6 pin 6 cfg 0
> port 6 pin 7 cfg 0
> port 6 pin 8 cfg 0
> port 6 pin 9 cfg 0
> port 6 pin 10 cfg 0
> port 6 pin 11 cfg 0
> gpio6 at sxipio0: 12 pins
> port 7 pin 0 cfg 0
> port 7 pin 1 cfg 0
> port 7 pin 2 cfg 1
> port 7 pin 3 cfg 1
> port 7 pin 4 cfg 0
> port 7 pin 5 cfg 0
> port 7 pin 6 cfg 0
> port 7 pin 7 cfg 0
> port 7 pin 8 cfg 0
> port 7 pin 9 cfg 0
> port 7 pin 10 cfg 0
> port 7 pin 11 cfg 1
> port 7 pin 12 cfg 0
> port 7 pin 13 cfg 0
> port 7 pin 14 cfg 0
> port 7 pin 15 cfg 0
> port 7 pin 16 cfg 0
> port 7 pin 17 cfg 0
> port 7 pin 18 cfg 0
> port 7 pin 19 cfg 0
> port 7 pin 20 cfg 0
> port 7 pin 21 cfg 0
> port 7 pin 22 cfg 0
> port 7 pin 23 cfg 0
> port 7 pin 24 cfg 0
> port 7 pin 25 cfg 0
> port 7 pin 26 cfg 0
> port 7 pin 27 cfg 0
> gpio7 at sxipio0: 28 pins
> port 8 pin 0 cfg 0
> port 8 pin 1 cfg 0
> port 8 pin 2 cfg 0
> port 8 pin 3 cfg 0
> port 8 pin 4 cfg 0
> port 8 pin 5 cfg 0
> port 8 pin 6 cfg 0
> port 8 pin 7 cfg 0
> port 8 pin 8 cfg 0
> port 8 pin 9 cfg 0
> port 8 pin 10 cfg 0
> port 8 pin 11 cfg 0
> port 8 pin 12 cfg 0
> port 8 pin 13 cfg 0
> port 8 pin 14 cfg 0
> port 8 pin 15 cfg 0
> port 8 pin 16 cfg 0
> port 8 pin 17 cfg 0
> port 8 pin 18 cfg 0
> port 8 pin 19 cfg 0
> port 8 pin 20 cfg 0
> port 8 pin 21 cfg 0
> gpio8 at sxipio0: 22 pins
> enable irq 54 register 104 bitmask 00400000
> enable irq 55 register 104 bitmask 00800000
> Timecounters tick every 10.000 msec
> XXXafter fork...before kthread_run_deferred_queue()
> XXXafter kthread_run_deferred_queue()
> XXXbefore dostartuphooks()
> XXXafter dostartuphooks()
> boot device: rd0
> dev=0x1202 chrdev=0x1202 rawdev=0x1202
> root on rd0a swap on rd0b dump on rd0b
> XXXafter diskconf()
> dev=0x1200 chrdev=0x1200 rawdev=0x1202
> WARNING: clock lost 2109 days
> WARNING: CHECK AND RESET THE DATE!
> XXXafter mountroot()
> XXXbefore uvm_swap_init()
> XXXbefore start_init_exec()
> XXXbefore idle...
> init: copying out path `/sbin/init' 11
> XXXreturned from sys_execve().
> XXXafter KERNEL_UNLOCK
>
>
>
> The XXX* lines are the printf()s.
>
>
> Anyway, to make it work, I had to disable the usb
> related drivers:
> #ehci*          at sunxi?               # EHCI (shim)
> #usb*           at ehci?        #flags 0x1
>
>
> Also, I've enabled the ddb with
> option DDB
> option DDB_SAFE_CONSOLE
>
> but even if I send BREAKs from the serial console, the
> debugger isn't called.
>
> Any help is welcome.
>
> Leonardo.
>
>
>
>
> On Sat, Oct 03, 2015 at 11:54:51AM +0200, Leonardo Guardati wrote:
>> Hi,
>>  I'm back trying to make the pcDuino3_Nano board
>> work with OpenBSD.
>>
>> The u-boot version shipped with the board:
>> U-Boot 2011.09-rc1 (Jul 03 2013 - 17:40:47) Allwinner Technology
>>
>> Is not able to load openbsd from sd card.
>>
>> Back in august I wrote to the list with a config option for
>> u-boot 2015-07 to make the bsd.umg image load; that
>> was:
>> [*] Enable workarounds for booting old kernels
>> under ARM Architecture of the uboot menuconfig.
>>
>> Now, using the last uboot git version
>>
>> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
>>
>> it would stop at dram initialization:
>>
>> DRAM:Timeout initialising DRAM
>>
>>
>> I had to change another config option to make it work:
>>
>> "ARM Architecture" -> "sunxi dram timings" set to "JEDEC DDR3-800E / DDR3-1066G / DDR3-1333J"
>>
>> instead of "Magic vendor timings from Android"
>>
>>
>> Now I'm back to square one with the same problem: openbsd loads fine but stuck at the
>> end of hardware initialization:
>>
>> [see output1.log]
>>
>>
>> The sd0 (a SATA disk) device is found.
>>
>> I've tried to run the same bsd.umg binary in QEMU, and it has the same behaviour; but it spews some
>> other messages after the gpio:
>>
>> $ qemu-system-arm -M cubieboard -kernel bsd.rd.SUNXI.umg -m 1024M
>>
>> [see output2.log]
>>
>>
>> Now I compiled the bsd.rd with debug option activated: and here the
>> results:
>>
>> [see output3.log]
>>
>>
>> and this is without the external SATA disk:
>>
>>
>> [see output4.log]
>>
>>
>> I've checked the source code (I'm not able yet
>> to debug live the code...any suggestion on how to
>> setup that?) and adding some printf()s here and
>> there I saw that the code stops on sys/kern/init_main.c@:
>>
>> while (config_pending)
>> (void) tsleep((void *)&config_pending, PWAIT, "cfpend", 0);
>>
>> the threads are woken up and I see the disk_attach_callback()s for
>> each of the devices (rd and sd) but then something goes wrong
>> and
>>
>> dostartuphooks();
>>
>> is never reached.
>>
>> I've verified the disk_attach_callback() calls the final wakeup().
>>
>> Also, in the tsleep() loop, the while() tests on config_pending=2.
>>
>> Any hint on what could be the problem?
>> It seems like the thread waiting for the deferred autoconfiguration
>> doesn't wake up.
>>
>>
>>
>>
>> Leonardo.
>>
>>
>>
>>
>
>> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54)
>> DRAM: 1024 MiB
>> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>>
>>
>> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
>>
>> CPU:   Allwinner A20 (SUN7I)
>> I2C:   ready
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>>
>> In:    serial
>> Out:   serial
>> Err:   serial
>> SCSI:  SUNXI SCSI INIT
>> Target spinup took 0 ms.
>> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
>> flags: ncq stag pm led clo only pmp pio slum part ccc apst
>> Net:   eth0: ethernet@01c50000
>> starting USB...
>> USB0:   USB EHCI 1.00
>> USB1:   USB OHCI 1.0
>> USB2:   USB EHCI 1.00
>> USB3:   USB OHCI 1.0
>> scanning bus 0 for devices... 1 USB Device(s) found
>> scanning bus 2 for devices... 1 USB Device(s) found
>> Hit any key to stop autoboot:  0
>> => fatload mmc 0 0x48000000 bsd.umg
>> reading bsd.umg
>> 8028428 bytes read in 452 ms (16.9 MiB/s)
>> =>
>> =>
>> => bootm 0x48000000
>> ## Booting kernel from Legacy Image at 48000000 ...
>>   Image Name:   boot
>>   Image Type:   ARM Linux Kernel Image (uncompressed)
>>   Data Size:    8028364 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 serial 0x16516604:080264c0
>> 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) #23: Mon Sep 21 16:37:27 AEST 2015
>>    [hidden email]:/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:04:08:02:64:c0
>> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
>> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
>> ahci0 at sunxi0 AHCI 1.1
>> ahci0: port 0: 3.0Gb/s
>> scsibus0 at ahci0: 32 targets
>> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
>> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
>> 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
>>
>>
>
>> OpenBSD/sunxi booting ...
>> arg0 0x0 arg1 0x1008 arg2 0x40000100
>> atag core flags 1 pagesize 1000 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: 4104
>> 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) #23: Mon Sep 21 16:37:27 AEST 2015
>>    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
>> real mem  = 1073741824 (1024MB)
>> avail mem = 1041674240 (993MB)
>> mainbus0 at root
>> cpu0 at mainbus0: ARM Cortex A8 rev 0 (ARMv7 core)
>> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
>> cpu0: 16KB(64b/l,4way) I-cache, 16KB(64b/l,4way) wr-back D-cache
>> sunxi0 at mainbus0: Allwinner A1x
>> sxipio0 at sunxi0
>> sxiccmu0 at sunxi0
>> a1xintc0 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 fe:e1:ba:d0:6b:f0
>> rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1
>> ahci0 at sunxi0: AHCI phy power up failed.
>> ehci0 at sunxi0
>> ehci0: halt timeout
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
>> uhub0: no ports, hub ignored
>> usb0: root device is not a hub
>> ehci1 at sunxi0
>> ehci1: halt timeout
>> usb1 at ehci1: USB revision 2.0
>> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
>> uhub1: no ports, hub ignored
>> usb1: root device is not a hub
>> 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
>> boot device: lookup '' failed.
>> root on rd0a swap on rd0b dump on rd0b
>> WARNING: preposterous clock chip time
>> WARNING: CHECK AND RESET THE DATE!
>>
>
>> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
>> DRAM: 1024 MiB
>> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>>
>>
>> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
>>
>> CPU:   Allwinner A20 (SUN7I)
>> I2C:   ready
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>>
>> In:    serial
>> Out:   serial
>> Err:   serial
>> SCSI:  SUNXI SCSI INIT
>> Target spinup took 0 ms.
>> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
>> flags: ncq stag pm led clo only pmp pio slum part ccc apst
>> Net:   eth0: ethernet@01c50000
>> starting USB...
>> USB0:   USB EHCI 1.00
>> USB1:   USB OHCI 1.0
>> USB2:   USB EHCI 1.00
>> USB3:   USB OHCI 1.0
>> scanning bus 0 for devices... 1 USB Device(s) found
>> scanning bus 2 for devices... 1 USB Device(s) found
>> Hit any key to stop autoboot:  0
>> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
>> reading bsd.umg
>> 8029540 bytes read in 407 ms (18.8 MiB/s)
>> ## Booting kernel from Legacy Image at 40200000 ...
>>   Image Name:   boot
>>   Image Type:   ARM Linux Kernel Image (uncompressed)
>>   Data Size:    8029476 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 serial 0x16516604:080264c0
>> atag mem start 0x40000000 size 0x40000000
>> bootfile:
>> bootargs:
>> memory size derived from u-boot
>> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
>> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
>> 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) #6: Wed Sep 30 21:51:18 CEST 2015
>>    [hidden email]:/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: ctrl 0 mode 0
>>
>> sxirtc0 at sunxi0
>> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
>>
>> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
>>
>> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
>>
>> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
>>
>> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
>>
>> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
>>
>> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
>>
>> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
>>
>> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
>> , address 02:04:08:02:64:c0
>> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
>> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
>> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
>> AHCI 1.1
>> ahci0: port 0: 3.0Gb/s
>> scsibus0 at ahci0: 32 targets
>> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
>> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
>> ehci0 at sunxi0
>> enable irq 71 register 108 bitmask 00000080
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
>> ehci1 at sunxi0
>> enable irq 72 register 108 bitmask 00000100
>> usb1 at ehci1: USB revision 2.0
>> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
>> port 0 pin 0 cfg 2
>> port 0 pin 1 cfg 2
>> port 0 pin 2 cfg 2
>> port 0 pin 3 cfg 2
>> port 0 pin 4 cfg 2
>> port 0 pin 5 cfg 2
>> port 0 pin 6 cfg 2
>> port 0 pin 7 cfg 2
>> port 0 pin 8 cfg 2
>> port 0 pin 9 cfg 2
>> port 0 pin 10 cfg 2
>> port 0 pin 11 cfg 2
>> port 0 pin 12 cfg 2
>> port 0 pin 13 cfg 2
>> port 0 pin 14 cfg 2
>> port 0 pin 15 cfg 2
>> port 0 pin 16 cfg 2
>> port 0 pin 17 cfg 2
>> gpio0 at sxipio0: 18 pins
>> port 1 pin 0 cfg 2
>> port 1 pin 1 cfg 2
>> port 1 pin 2 cfg 0
>> port 1 pin 3 cfg 0
>> port 1 pin 4 cfg 0
>> port 1 pin 5 cfg 0
>> port 1 pin 6 cfg 0
>> port 1 pin 7 cfg 0
>> port 1 pin 8 cfg 1
>> port 1 pin 9 cfg 0
>> port 1 pin 10 cfg 0
>> port 1 pin 11 cfg 0
>> port 1 pin 12 cfg 0
>> port 1 pin 13 cfg 0
>> port 1 pin 14 cfg 0
>> port 1 pin 15 cfg 0
>> port 1 pin 16 cfg 0
>> port 1 pin 17 cfg 0
>> port 1 pin 18 cfg 0
>> port 1 pin 19 cfg 0
>> port 1 pin 20 cfg 0
>> port 1 pin 21 cfg 0
>> port 1 pin 22 cfg 2
>> port 1 pin 23 cfg 2
>> gpio1 at sxipio0: 24 pins
>> port 2 pin 0 cfg 0
>> port 2 pin 1 cfg 0
>> port 2 pin 2 cfg 0
>> port 2 pin 3 cfg 0
>> port 2 pin 4 cfg 0
>> port 2 pin 5 cfg 0
>> port 2 pin 6 cfg 0
>> port 2 pin 7 cfg 0
>> port 2 pin 8 cfg 0
>> port 2 pin 9 cfg 0
>> port 2 pin 10 cfg 0
>> port 2 pin 11 cfg 0
>> port 2 pin 12 cfg 0
>> port 2 pin 13 cfg 0
>> port 2 pin 14 cfg 0
>> port 2 pin 15 cfg 0
>> port 2 pin 16 cfg 0
>> port 2 pin 17 cfg 0
>> port 2 pin 18 cfg 0
>> port 2 pin 19 cfg 0
>> port 2 pin 20 cfg 0
>> port 2 pin 21 cfg 0
>> port 2 pin 22 cfg 0
>> port 2 pin 23 cfg 0
>> port 2 pin 24 cfg 0
>> gpio2 at sxipio0: 25 pins
>> port 3 pin 0 cfg 0
>> port 3 pin 1 cfg 0
>> port 3 pin 2 cfg 0
>> port 3 pin 3 cfg 0
>> port 3 pin 4 cfg 0
>> port 3 pin 5 cfg 0
>> port 3 pin 6 cfg 0
>> port 3 pin 7 cfg 0
>> port 3 pin 8 cfg 0
>> port 3 pin 9 cfg 0
>> port 3 pin 10 cfg 0
>> port 3 pin 11 cfg 0
>> port 3 pin 12 cfg 0
>> port 3 pin 13 cfg 0
>> port 3 pin 14 cfg 0
>> port 3 pin 15 cfg 0
>> port 3 pin 16 cfg 0
>> port 3 pin 17 cfg 0
>> port 3 pin 18 cfg 0
>> port 3 pin 19 cfg 0
>> port 3 pin 20 cfg 0
>> port 3 pin 21 cfg 0
>> port 3 pin 22 cfg 0
>> port 3 pin 23 cfg 0
>> port 3 pin 24 cfg 0
>> port 3 pin 25 cfg 0
>> port 3 pin 26 cfg 0
>> port 3 pin 27 cfg 0
>> gpio3 at sxipio0: 28 pins
>> port 4 pin 0 cfg 0
>> port 4 pin 1 cfg 0
>> port 4 pin 2 cfg 0
>> port 4 pin 3 cfg 0
>> port 4 pin 4 cfg 0
>> port 4 pin 5 cfg 0
>> port 4 pin 6 cfg 0
>> port 4 pin 7 cfg 0
>> port 4 pin 8 cfg 0
>> port 4 pin 9 cfg 0
>> port 4 pin 10 cfg 0
>> port 4 pin 11 cfg 0
>> gpio4 at sxipio0: 12 pins
>> port 5 pin 0 cfg 2
>> port 5 pin 1 cfg 2
>> port 5 pin 2 cfg 2
>> port 5 pin 3 cfg 2
>> port 5 pin 4 cfg 2
>> port 5 pin 5 cfg 2
>> gpio5 at sxipio0: 6 pins
>> port 6 pin 0 cfg 0
>> port 6 pin 1 cfg 0
>> port 6 pin 2 cfg 0
>> port 6 pin 3 cfg 0
>> port 6 pin 4 cfg 0
>> port 6 pin 5 cfg 0
>> port 6 pin 6 cfg 0
>> port 6 pin 7 cfg 0
>> port 6 pin 8 cfg 0
>> port 6 pin 9 cfg 0
>> port 6 pin 10 cfg 0
>> port 6 pin 11 cfg 0
>> gpio6 at sxipio0: 12 pins
>> port 7 pin 0 cfg 0
>> port 7 pin 1 cfg 0
>> port 7 pin 2 cfg 1
>> port 7 pin 3 cfg 1
>> port 7 pin 4 cfg 0
>> port 7 pin 5 cfg 0
>> port 7 pin 6 cfg 1
>> port 7 pin 7 cfg 0
>> port 7 pin 8 cfg 0
>> port 7 pin 9 cfg 0
>> port 7 pin 10 cfg 0
>> port 7 pin 11 cfg 1
>> port 7 pin 12 cfg 0
>> port 7 pin 13 cfg 0
>> port 7 pin 14 cfg 0
>> port 7 pin 15 cfg 0
>> port 7 pin 16 cfg 0
>> port 7 pin 17 cfg 0
>> port 7 pin 18 cfg 0
>> port 7 pin 19 cfg 0
>> port 7 pin 20 cfg 0
>> port 7 pin 21 cfg 0
>> port 7 pin 22 cfg 0
>> port 7 pin 23 cfg 0
>> port 7 pin 24 cfg 0
>> port 7 pin 25 cfg 0
>> port 7 pin 26 cfg 0
>> port 7 pin 27 cfg 0
>> gpio7 at sxipio0: 28 pins
>> port 8 pin 0 cfg 0
>> port 8 pin 1 cfg 0
>> port 8 pin 2 cfg 0
>> port 8 pin 3 cfg 0
>> port 8 pin 4 cfg 0
>> port 8 pin 5 cfg 0
>> port 8 pin 6 cfg 0
>> port 8 pin 7 cfg 0
>> port 8 pin 8 cfg 0
>> port 8 pin 9 cfg 0
>> port 8 pin 10 cfg 0
>> port 8 pin 11 cfg 0
>> port 8 pin 12 cfg 0
>> port 8 pin 13 cfg 0
>> port 8 pin 14 cfg 0
>> port 8 pin 15 cfg 0
>> port 8 pin 16 cfg 0
>> port 8 pin 17 cfg 0
>> port 8 pin 18 cfg 0
>> port 8 pin 19 cfg 0
>> port 8 pin 20 cfg 0
>> port 8 pin 21 cfg 0
>> gpio8 at sxipio0: 22 pins
>> enable irq 54 register 104 bitmask 00400000
>> enable irq 55 register 104 bitmask 00800000
>> Timecounters tick every 10.000 msec
>> dev=0x1802 chrdev=0x1802 rawdev=0x1802
>> dev=0x1202 chrdev=0x1202 rawdev=0x1202
>>
>
>> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
>> DRAM: 1024 MiB
>> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
>>
>>
>> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
>>
>> CPU:   Allwinner A20 (SUN7I)
>> I2C:   ready
>> DRAM:  1 GiB
>> MMC:   SUNXI SD/MMC: 0
>> *** Warning - bad CRC, using default environment
>>
>> In:    serial
>> Out:   serial
>> Err:   serial
>> SCSI:  SUNXI SCSI INIT
>> SATA link 0 timeout.
>> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
>> flags: ncq stag pm led clo only pmp pio slum part ccc apst
>> Net:   eth0: ethernet@01c50000
>> starting USB...
>> USB0:   USB EHCI 1.00
>> USB1:   USB OHCI 1.0
>> USB2:   USB EHCI 1.00
>> USB3:   USB OHCI 1.0
>> scanning bus 0 for devices... 1 USB Device(s) found
>> scanning bus 2 for devices... 1 USB Device(s) found
>> Hit any key to stop autoboot:  0
>> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
>> reading bsd.umg
>> 8029540 bytes read in 407 ms (18.8 MiB/s)
>> ## Booting kernel from Legacy Image at 40200000 ...
>>   Image Name:   boot
>>   Image Type:   ARM Linux Kernel Image (uncompressed)
>>   Data Size:    8029476 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 serial 0x16516604:080264c0
>> atag mem start 0x40000000 size 0x40000000
>> bootfile:
>> bootargs:
>> memory size derived from u-boot
>> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
>> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
>> 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) #6: Wed Sep 30 21:51:18 CEST 2015
>>    [hidden email]:/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: ctrl 0 mode 0
>>
>> sxirtc0 at sunxi0
>> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
>>
>> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
>>
>> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
>>
>> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
>>
>> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
>>
>> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
>>
>> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
>>
>> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
>>
>> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
>> , address 02:04:08:02:64:c0
>> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
>> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
>> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
>> AHCI 1.1
>> scsibus0 at ahci0: 32 targets
>> ehci0 at sunxi0
>> enable irq 71 register 108 bitmask 00000080
>> usb0 at ehci0: USB revision 2.0
>> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
>> ehci1 at sunxi0
>> enable irq 72 register 108 bitmask 00000100
>> usb1 at ehci1: USB revision 2.0
>> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
>> port 0 pin 0 cfg 2
>> port 0 pin 1 cfg 2
>> port 0 pin 2 cfg 2
>> port 0 pin 3 cfg 2
>> port 0 pin 4 cfg 2
>> port 0 pin 5 cfg 2
>> port 0 pin 6 cfg 2
>> port 0 pin 7 cfg 2
>> port 0 pin 8 cfg 2
>> port 0 pin 9 cfg 2
>> port 0 pin 10 cfg 2
>> port 0 pin 11 cfg 2
>> port 0 pin 12 cfg 2
>> port 0 pin 13 cfg 2
>> port 0 pin 14 cfg 2
>> port 0 pin 15 cfg 2
>> port 0 pin 16 cfg 2
>> port 0 pin 17 cfg 2
>> gpio0 at sxipio0: 18 pins
>> port 1 pin 0 cfg 2
>> port 1 pin 1 cfg 2
>> port 1 pin 2 cfg 0
>> port 1 pin 3 cfg 0
>> port 1 pin 4 cfg 0
>> port 1 pin 5 cfg 0
>> port 1 pin 6 cfg 0
>> port 1 pin 7 cfg 0
>> port 1 pin 8 cfg 1
>> port 1 pin 9 cfg 0
>> port 1 pin 10 cfg 0
>> port 1 pin 11 cfg 0
>> port 1 pin 12 cfg 0
>> port 1 pin 13 cfg 0
>> port 1 pin 14 cfg 0
>> port 1 pin 15 cfg 0
>> port 1 pin 16 cfg 0
>> port 1 pin 17 cfg 0
>> port 1 pin 18 cfg 0
>> port 1 pin 19 cfg 0
>> port 1 pin 20 cfg 0
>> port 1 pin 21 cfg 0
>> port 1 pin 22 cfg 2
>> port 1 pin 23 cfg 2
>> gpio1 at sxipio0: 24 pins
>> port 2 pin 0 cfg 0
>> port 2 pin 1 cfg 0
>> port 2 pin 2 cfg 0
>> port 2 pin 3 cfg 0
>> port 2 pin 4 cfg 0
>> port 2 pin 5 cfg 0
>> port 2 pin 6 cfg 0
>> port 2 pin 7 cfg 0
>> port 2 pin 8 cfg 0
>> port 2 pin 9 cfg 0
>> port 2 pin 10 cfg 0
>> port 2 pin 11 cfg 0
>> port 2 pin 12 cfg 0
>> port 2 pin 13 cfg 0
>> port 2 pin 14 cfg 0
>> port 2 pin 15 cfg 0
>> port 2 pin 16 cfg 0
>> port 2 pin 17 cfg 0
>> port 2 pin 18 cfg 0
>> port 2 pin 19 cfg 0
>> port 2 pin 20 cfg 0
>> port 2 pin 21 cfg 0
>> port 2 pin 22 cfg 0
>> port 2 pin 23 cfg 0
>> port 2 pin 24 cfg 0
>> gpio2 at sxipio0: 25 pins
>> port 3 pin 0 cfg 0
>> port 3 pin 1 cfg 0
>> port 3 pin 2 cfg 0
>> port 3 pin 3 cfg 0
>> port 3 pin 4 cfg 0
>> port 3 pin 5 cfg 0
>> port 3 pin 6 cfg 0
>> port 3 pin 7 cfg 0
>> port 3 pin 8 cfg 0
>> port 3 pin 9 cfg 0
>> port 3 pin 10 cfg 0
>> port 3 pin 11 cfg 0
>> port 3 pin 12 cfg 0
>> port 3 pin 13 cfg 0
>> port 3 pin 14 cfg 0
>> port 3 pin 15 cfg 0
>> port 3 pin 16 cfg 0
>> port 3 pin 17 cfg 0
>> port 3 pin 18 cfg 0
>> port 3 pin 19 cfg 0
>> port 3 pin 20 cfg 0
>> port 3 pin 21 cfg 0
>> port 3 pin 22 cfg 0
>> port 3 pin 23 cfg 0
>> port 3 pin 24 cfg 0
>> port 3 pin 25 cfg 0
>> port 3 pin 26 cfg 0
>> port 3 pin 27 cfg 0
>> gpio3 at sxipio0: 28 pins
>> port 4 pin 0 cfg 0
>> port 4 pin 1 cfg 0
>> port 4 pin 2 cfg 0
>> port 4 pin 3 cfg 0
>> port 4 pin 4 cfg 0
>> port 4 pin 5 cfg 0
>> port 4 pin 6 cfg 0
>> port 4 pin 7 cfg 0
>> port 4 pin 8 cfg 0
>> port 4 pin 9 cfg 0
>> port 4 pin 10 cfg 0
>> port 4 pin 11 cfg 0
>> gpio4 at sxipio0: 12 pins
>> port 5 pin 0 cfg 2
>> port 5 pin 1 cfg 2
>> port 5 pin 2 cfg 2
>> port 5 pin 3 cfg 2
>> port 5 pin 4 cfg 2
>> port 5 pin 5 cfg 2
>> gpio5 at sxipio0: 6 pins
>> port 6 pin 0 cfg 0
>> port 6 pin 1 cfg 0
>> port 6 pin 2 cfg 0
>> port 6 pin 3 cfg 0
>> port 6 pin 4 cfg 0
>> port 6 pin 5 cfg 0
>> port 6 pin 6 cfg 0
>> port 6 pin 7 cfg 0
>> port 6 pin 8 cfg 0
>> port 6 pin 9 cfg 0
>> port 6 pin 10 cfg 0
>> port 6 pin 11 cfg 0
>> gpio6 at sxipio0: 12 pins
>> port 7 pin 0 cfg 0
>> port 7 pin 1 cfg 0
>> port 7 pin 2 cfg 1
>> port 7 pin 3 cfg 1
>> port 7 pin 4 cfg 0
>> port 7 pin 5 cfg 0
>> port 7 pin 6 cfg 1
>> port 7 pin 7 cfg 0
>> port 7 pin 8 cfg 0
>> port 7 pin 9 cfg 0
>> port 7 pin 10 cfg 0
>> port 7 pin 11 cfg 1
>> port 7 pin 12 cfg 0
>> port 7 pin 13 cfg 0
>> port 7 pin 14 cfg 0
>> port 7 pin 15 cfg 0
>> port 7 pin 16 cfg 0
>> port 7 pin 17 cfg 0
>> port 7 pin 18 cfg 0
>> port 7 pin 19 cfg 0
>> port 7 pin 20 cfg 0
>> port 7 pin 21 cfg 0
>> port 7 pin 22 cfg 0
>> port 7 pin 23 cfg 0
>> port 7 pin 24 cfg 0
>> port 7 pin 25 cfg 0
>> port 7 pin 26 cfg 0
>> port 7 pin 27 cfg 0
>> gpio7 at sxipio0: 28 pins
>> port 8 pin 0 cfg 0
>> port 8 pin 1 cfg 0
>> port 8 pin 2 cfg 0
>> port 8 pin 3 cfg 0
>> port 8 pin 4 cfg 0
>> port 8 pin 5 cfg 0
>> port 8 pin 6 cfg 0
>> port 8 pin 7 cfg 0
>> port 8 pin 8 cfg 0
>> port 8 pin 9 cfg 0
>> port 8 pin 10 cfg 0
>> port 8 pin 11 cfg 0
>> port 8 pin 12 cfg 0
>> port 8 pin 13 cfg 0
>> port 8 pin 14 cfg 0
>> port 8 pin 15 cfg 0
>> port 8 pin 16 cfg 0
>> port 8 pin 17 cfg 0
>> port 8 pin 18 cfg 0
>> port 8 pin 19 cfg 0
>> port 8 pin 20 cfg 0
>> port 8 pin 21 cfg 0
>> gpio8 at sxipio0: 22 pins
>> enable irq 54 register 104 bitmask 00400000
>> enable irq 55 register 104 bitmask 00800000
>> Timecounters tick every 10.000 msec
>> dev=0x1202 chrdev=0x1202 rawdev=0x1202


Reply | Threaded
Open this post in threaded view
|

Re: pcDuino3_Nano mount root problems on boot

Leonardo Guardati-2
I've added a

printf("a");

on hardclock() in sys/kern/kern_clock.c @ 157

And I see some "a" printed; this is the output:

.
.
.
port 8 pin 14 cfg 0
port 8 pin 15 cfg 0
port 8 pin 16 cfg 0
port 8 pin 17 cfg 0
port 8 pin 18 cfg 0
port 8 pin 19 cfg 0
port 8 pin 20 cfg 0
port 8 pin 21 cfg 0
gpio8 at sxipio0: 22 pins
enable irq 54 register 104 bitmask 00400000
enable irq 55 register 104 bitmask 00800000
Timecounters tick every 10.000 msec
XXXafter fork...before kthread_run_deferred_queue()
XXXafter kthread_run_deferred_queue()
aXXXbefore dostartuphooks()
XXXafter dostartuphooks()
boot device: lookup '' failed.
dev=0x1202 chrdev=0x1202 rawdev=0x1202
aroot on rd0a swap on rd0b dump on rd0b
XXXafter diskconf()
dev=0x1200 chrdev=0x1200 rawdev=0x1202
aWARNING: clock lost 2109 days
WARNING: CHECK AND RESET THE DATE!
XXXafter mountroot()
XXXbefore uvm_swap_init()
aXXXbefore start_init_exec()
XXXbefore idle...
init: copying out path `/sbin/init' 11
XXXEntering sys_execve()
aXXXGot Here
XXXreturned from sys_execve().
XXXafter KERNEL_UNLOCK
aa




Leonardo


On Sun, Oct 11, 2015 at 06:35:59PM +0200, Patrick Wildt wrote:

> That usually means that either
>
> a) the interrupts don???t arrive or
> b) the timer/hardclock doesn???t tick.
>
> Do your debug printfs print on interrupt? If not, try to add that and see if there are any interrupts at all.
>
> Patrick
>
> > Am 11.10.2015 um 18:13 schrieb Leonardo Guardati <[hidden email]>:
> >
> > I believe I'm almost there.
> >
> > To circumvent the problem of the previous email (where
> > it hung on driver deferred autoconfiguration),
> > I had to disable the usb drivers on the RAMDISK
> > kernel config.
> >
> > The bsd.rd kernel is now reaching the /sbin/init
> > executable, but its code wont run!
> >
> > I'm sure about this because if I remove the
> > /sbin/init file from the mr.fs ramdisk image, then the
> > process gracefully reboots because it doesn't find
> > the init file.
> >
> > I've put some debugging printfs showing the sys/kern/init_main.c
> > code execution...it goes smooth...no error.
> >
> > The problems I think is on the sys_execve() call.
> >
> > But I need some insight/suggestion on where to look.
> >
> > Here the console output:
> >
> > U-Boot SPL 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50)
> > DRAM: 1024 MiB
> > CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> >
> >
> > U-Boot 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50 +0200) Allwinner Technology
> >
> > CPU:   Allwinner A20 (SUN7I)
> > I2C:   ready
> > DRAM:  1 GiB
> > MMC:   SUNXI SD/MMC: 0
> > *** Warning - bad CRC, using default environment
> >
> > In:    serial
> > Out:   serial
> > Err:   serial
> > SCSI:  SUNXI SCSI INIT
> > SATA link 0 timeout.
> > AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> > flags: ncq stag pm led clo only pmp pio slum part ccc apst
> > Net:   eth0: ethernet@01c50000
> > starting USB...
> > USB0:   USB EHCI 1.00
> > USB1:   USB OHCI 1.0
> > USB2:   USB EHCI 1.00
> > USB3:   USB OHCI 1.0
> > scanning bus 0 for devices... 1 USB Device(s) found
> > scanning bus 2 for devices... 1 USB Device(s) found
> > Hit any key to stop autoboot:  0
> > switch to partitions #0, OK
> > mmc0 is current device
> > Scanning mmc 0:1...
> > Found U-Boot script /boot.scr
> > reading /boot.scr
> > 189 bytes read in 17 ms (10.7 KiB/s)
> > ## Executing script at 43100000
> > reading bsd.umg
> > 5688048 bytes read in 294 ms (18.5 MiB/s)
> > ## Booting kernel from Legacy Image at 40200000 ...
> >   Image Name:   boot
> >   Image Type:   ARM Linux Kernel Image (uncompressed)
> >   Data Size:    5687984 Bytes = 5.4 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 serial 0x16516604:080264c0
> > atag cmdline [rd0a:]
> > atag mem start 0x40000000 size 0x40000000
> > bootfile: rd0a:
> > bootargs:
> > memory size derived from u-boot
> > bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> > physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> > Allocating page tables
> > freestart = 0x4086d000, free_pages = 259987 (0x0003f793)
> > IRQ stack: p0x4089b000 v0xc089b000
> > ABT stack: p0x4089c000 v0xc089c000
> > UND stack: p0x4089d000 v0xc089d000
> > SVC stack: p0x4089e000 v0xc089e000
> > Creating L1 page table at 0x40870000
> > Mapping kernel
> > Constructing L2 page tables
> > undefined page pmap [ using 251020 bytes of bsd ELF symbol table ]
> > 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) #8: Sun Oct 11 17:53:06 CEST 2015
> >    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> > real mem  = 1073741824 (1024MB)
> > avail mem = 1043972096 (995MB)
> > 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: ctrl 0 mode 0
> >
> > sxirtc0 at sunxi0
> > sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
> >
> > sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
> >
> > sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
> >
> > sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
> >
> > sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
> >
> > sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
> >
> > sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
> >
> > sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
> >
> > sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> > , address 02:04:08:02:64:c0
> > rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> > rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> > ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
> > AHCI 1.1
> > scsibus0 at ahci0: 32 targets
> > sunxi0: device ehci unit 0 not configured
> > sunxi0: device ehci unit 1 not configured
> > port 0 pin 0 cfg 2
> > port 0 pin 1 cfg 2
> > port 0 pin 2 cfg 2
> > port 0 pin 3 cfg 2
> > port 0 pin 4 cfg 2
> > port 0 pin 5 cfg 2
> > port 0 pin 6 cfg 2
> > port 0 pin 7 cfg 2
> > port 0 pin 8 cfg 2
> > port 0 pin 9 cfg 2
> > port 0 pin 10 cfg 2
> > port 0 pin 11 cfg 2
> > port 0 pin 12 cfg 2
> > port 0 pin 13 cfg 2
> > port 0 pin 14 cfg 2
> > port 0 pin 15 cfg 2
> > port 0 pin 16 cfg 2
> > port 0 pin 17 cfg 2
> > gpio0 at sxipio0: 18 pins
> > port 1 pin 0 cfg 2
> > port 1 pin 1 cfg 2
> > port 1 pin 2 cfg 0
> > port 1 pin 3 cfg 0
> > port 1 pin 4 cfg 0
> > port 1 pin 5 cfg 0
> > port 1 pin 6 cfg 0
> > port 1 pin 7 cfg 0
> > port 1 pin 8 cfg 1
> > port 1 pin 9 cfg 0
> > port 1 pin 10 cfg 0
> > port 1 pin 11 cfg 0
> > port 1 pin 12 cfg 0
> > port 1 pin 13 cfg 0
> > port 1 pin 14 cfg 0
> > port 1 pin 15 cfg 0
> > port 1 pin 16 cfg 0
> > port 1 pin 17 cfg 0
> > port 1 pin 18 cfg 0
> > port 1 pin 19 cfg 0
> > port 1 pin 20 cfg 0
> > port 1 pin 21 cfg 0
> > port 1 pin 22 cfg 2
> > port 1 pin 23 cfg 2
> > gpio1 at sxipio0: 24 pins
> > port 2 pin 0 cfg 0
> > port 2 pin 1 cfg 0
> > port 2 pin 2 cfg 0
> > port 2 pin 3 cfg 0
> > port 2 pin 4 cfg 0
> > port 2 pin 5 cfg 0
> > port 2 pin 6 cfg 0
> > port 2 pin 7 cfg 0
> > port 2 pin 8 cfg 0
> > port 2 pin 9 cfg 0
> > port 2 pin 10 cfg 0
> > port 2 pin 11 cfg 0
> > port 2 pin 12 cfg 0
> > port 2 pin 13 cfg 0
> > port 2 pin 14 cfg 0
> > port 2 pin 15 cfg 0
> > port 2 pin 16 cfg 0
> > port 2 pin 17 cfg 0
> > port 2 pin 18 cfg 0
> > port 2 pin 19 cfg 0
> > port 2 pin 20 cfg 0
> > port 2 pin 21 cfg 0
> > port 2 pin 22 cfg 0
> > port 2 pin 23 cfg 0
> > port 2 pin 24 cfg 0
> > gpio2 at sxipio0: 25 pins
> > port 3 pin 0 cfg 0
> > port 3 pin 1 cfg 0
> > port 3 pin 2 cfg 0
> > port 3 pin 3 cfg 0
> > port 3 pin 4 cfg 0
> > port 3 pin 5 cfg 0
> > port 3 pin 6 cfg 0
> > port 3 pin 7 cfg 0
> > port 3 pin 8 cfg 0
> > port 3 pin 9 cfg 0
> > port 3 pin 10 cfg 0
> > port 3 pin 11 cfg 0
> > port 3 pin 12 cfg 0
> > port 3 pin 13 cfg 0
> > port 3 pin 14 cfg 0
> > port 3 pin 15 cfg 0
> > port 3 pin 16 cfg 0
> > port 3 pin 17 cfg 0
> > port 3 pin 18 cfg 0
> > port 3 pin 19 cfg 0
> > port 3 pin 20 cfg 0
> > port 3 pin 21 cfg 0
> > port 3 pin 22 cfg 0
> > port 3 pin 23 cfg 0
> > port 3 pin 24 cfg 0
> > port 3 pin 25 cfg 0
> > port 3 pin 26 cfg 0
> > port 3 pin 27 cfg 0
> > gpio3 at sxipio0: 28 pins
> > port 4 pin 0 cfg 0
> > port 4 pin 1 cfg 0
> > port 4 pin 2 cfg 0
> > port 4 pin 3 cfg 0
> > port 4 pin 4 cfg 0
> > port 4 pin 5 cfg 0
> > port 4 pin 6 cfg 0
> > port 4 pin 7 cfg 0
> > port 4 pin 8 cfg 0
> > port 4 pin 9 cfg 0
> > port 4 pin 10 cfg 0
> > port 4 pin 11 cfg 0
> > gpio4 at sxipio0: 12 pins
> > port 5 pin 0 cfg 2
> > port 5 pin 1 cfg 2
> > port 5 pin 2 cfg 2
> > port 5 pin 3 cfg 2
> > port 5 pin 4 cfg 2
> > port 5 pin 5 cfg 2
> > gpio5 at sxipio0: 6 pins
> > port 6 pin 0 cfg 0
> > port 6 pin 1 cfg 0
> > port 6 pin 2 cfg 0
> > port 6 pin 3 cfg 0
> > port 6 pin 4 cfg 0
> > port 6 pin 5 cfg 0
> > port 6 pin 6 cfg 0
> > port 6 pin 7 cfg 0
> > port 6 pin 8 cfg 0
> > port 6 pin 9 cfg 0
> > port 6 pin 10 cfg 0
> > port 6 pin 11 cfg 0
> > gpio6 at sxipio0: 12 pins
> > port 7 pin 0 cfg 0
> > port 7 pin 1 cfg 0
> > port 7 pin 2 cfg 1
> > port 7 pin 3 cfg 1
> > port 7 pin 4 cfg 0
> > port 7 pin 5 cfg 0
> > port 7 pin 6 cfg 0
> > port 7 pin 7 cfg 0
> > port 7 pin 8 cfg 0
> > port 7 pin 9 cfg 0
> > port 7 pin 10 cfg 0
> > port 7 pin 11 cfg 1
> > port 7 pin 12 cfg 0
> > port 7 pin 13 cfg 0
> > port 7 pin 14 cfg 0
> > port 7 pin 15 cfg 0
> > port 7 pin 16 cfg 0
> > port 7 pin 17 cfg 0
> > port 7 pin 18 cfg 0
> > port 7 pin 19 cfg 0
> > port 7 pin 20 cfg 0
> > port 7 pin 21 cfg 0
> > port 7 pin 22 cfg 0
> > port 7 pin 23 cfg 0
> > port 7 pin 24 cfg 0
> > port 7 pin 25 cfg 0
> > port 7 pin 26 cfg 0
> > port 7 pin 27 cfg 0
> > gpio7 at sxipio0: 28 pins
> > port 8 pin 0 cfg 0
> > port 8 pin 1 cfg 0
> > port 8 pin 2 cfg 0
> > port 8 pin 3 cfg 0
> > port 8 pin 4 cfg 0
> > port 8 pin 5 cfg 0
> > port 8 pin 6 cfg 0
> > port 8 pin 7 cfg 0
> > port 8 pin 8 cfg 0
> > port 8 pin 9 cfg 0
> > port 8 pin 10 cfg 0
> > port 8 pin 11 cfg 0
> > port 8 pin 12 cfg 0
> > port 8 pin 13 cfg 0
> > port 8 pin 14 cfg 0
> > port 8 pin 15 cfg 0
> > port 8 pin 16 cfg 0
> > port 8 pin 17 cfg 0
> > port 8 pin 18 cfg 0
> > port 8 pin 19 cfg 0
> > port 8 pin 20 cfg 0
> > port 8 pin 21 cfg 0
> > gpio8 at sxipio0: 22 pins
> > enable irq 54 register 104 bitmask 00400000
> > enable irq 55 register 104 bitmask 00800000
> > Timecounters tick every 10.000 msec
> > XXXafter fork...before kthread_run_deferred_queue()
> > XXXafter kthread_run_deferred_queue()
> > XXXbefore dostartuphooks()
> > XXXafter dostartuphooks()
> > boot device: rd0
> > dev=0x1202 chrdev=0x1202 rawdev=0x1202
> > root on rd0a swap on rd0b dump on rd0b
> > XXXafter diskconf()
> > dev=0x1200 chrdev=0x1200 rawdev=0x1202
> > WARNING: clock lost 2109 days
> > WARNING: CHECK AND RESET THE DATE!
> > XXXafter mountroot()
> > XXXbefore uvm_swap_init()
> > XXXbefore start_init_exec()
> > XXXbefore idle...
> > init: copying out path `/sbin/init' 11
> > XXXreturned from sys_execve().
> > XXXafter KERNEL_UNLOCK
> >
> >
> >
> > The XXX* lines are the printf()s.
> >
> >
> > Anyway, to make it work, I had to disable the usb
> > related drivers:
> > #ehci*          at sunxi?               # EHCI (shim)
> > #usb*           at ehci?        #flags 0x1
> >
> >
> > Also, I've enabled the ddb with
> > option DDB
> > option DDB_SAFE_CONSOLE
> >
> > but even if I send BREAKs from the serial console, the
> > debugger isn't called.
> >
> > Any help is welcome.
> >
> > Leonardo.
> >
> >
> >
> >
> > On Sat, Oct 03, 2015 at 11:54:51AM +0200, Leonardo Guardati wrote:
> >> Hi,
> >>  I'm back trying to make the pcDuino3_Nano board
> >> work with OpenBSD.
> >>
> >> The u-boot version shipped with the board:
> >> U-Boot 2011.09-rc1 (Jul 03 2013 - 17:40:47) Allwinner Technology
> >>
> >> Is not able to load openbsd from sd card.
> >>
> >> Back in august I wrote to the list with a config option for
> >> u-boot 2015-07 to make the bsd.umg image load; that
> >> was:
> >> [*] Enable workarounds for booting old kernels
> >> under ARM Architecture of the uboot menuconfig.
> >>
> >> Now, using the last uboot git version
> >>
> >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
> >>
> >> it would stop at dram initialization:
> >>
> >> DRAM:Timeout initialising DRAM
> >>
> >>
> >> I had to change another config option to make it work:
> >>
> >> "ARM Architecture" -> "sunxi dram timings" set to "JEDEC DDR3-800E / DDR3-1066G / DDR3-1333J"
> >>
> >> instead of "Magic vendor timings from Android"
> >>
> >>
> >> Now I'm back to square one with the same problem: openbsd loads fine but stuck at the
> >> end of hardware initialization:
> >>
> >> [see output1.log]
> >>
> >>
> >> The sd0 (a SATA disk) device is found.
> >>
> >> I've tried to run the same bsd.umg binary in QEMU, and it has the same behaviour; but it spews some
> >> other messages after the gpio:
> >>
> >> $ qemu-system-arm -M cubieboard -kernel bsd.rd.SUNXI.umg -m 1024M
> >>
> >> [see output2.log]
> >>
> >>
> >> Now I compiled the bsd.rd with debug option activated: and here the
> >> results:
> >>
> >> [see output3.log]
> >>
> >>
> >> and this is without the external SATA disk:
> >>
> >>
> >> [see output4.log]
> >>
> >>
> >> I've checked the source code (I'm not able yet
> >> to debug live the code...any suggestion on how to
> >> setup that?) and adding some printf()s here and
> >> there I saw that the code stops on sys/kern/init_main.c@:
> >>
> >> while (config_pending)
> >> (void) tsleep((void *)&config_pending, PWAIT, "cfpend", 0);
> >>
> >> the threads are woken up and I see the disk_attach_callback()s for
> >> each of the devices (rd and sd) but then something goes wrong
> >> and
> >>
> >> dostartuphooks();
> >>
> >> is never reached.
> >>
> >> I've verified the disk_attach_callback() calls the final wakeup().
> >>
> >> Also, in the tsleep() loop, the while() tests on config_pending=2.
> >>
> >> Any hint on what could be the problem?
> >> It seems like the thread waiting for the deferred autoconfiguration
> >> doesn't wake up.
> >>
> >>
> >>
> >>
> >> Leonardo.
> >>
> >>
> >>
> >>
> >
> >> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54)
> >> DRAM: 1024 MiB
> >> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> >>
> >>
> >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
> >>
> >> CPU:   Allwinner A20 (SUN7I)
> >> I2C:   ready
> >> DRAM:  1 GiB
> >> MMC:   SUNXI SD/MMC: 0
> >> *** Warning - bad CRC, using default environment
> >>
> >> In:    serial
> >> Out:   serial
> >> Err:   serial
> >> SCSI:  SUNXI SCSI INIT
> >> Target spinup took 0 ms.
> >> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> >> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> >> Net:   eth0: ethernet@01c50000
> >> starting USB...
> >> USB0:   USB EHCI 1.00
> >> USB1:   USB OHCI 1.0
> >> USB2:   USB EHCI 1.00
> >> USB3:   USB OHCI 1.0
> >> scanning bus 0 for devices... 1 USB Device(s) found
> >> scanning bus 2 for devices... 1 USB Device(s) found
> >> Hit any key to stop autoboot:  0
> >> => fatload mmc 0 0x48000000 bsd.umg
> >> reading bsd.umg
> >> 8028428 bytes read in 452 ms (16.9 MiB/s)
> >> =>
> >> =>
> >> => bootm 0x48000000
> >> ## Booting kernel from Legacy Image at 48000000 ...
> >>   Image Name:   boot
> >>   Image Type:   ARM Linux Kernel Image (uncompressed)
> >>   Data Size:    8028364 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 serial 0x16516604:080264c0
> >> 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) #23: Mon Sep 21 16:37:27 AEST 2015
> >>    [hidden email]:/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:04:08:02:64:c0
> >> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> >> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> >> ahci0 at sunxi0 AHCI 1.1
> >> ahci0: port 0: 3.0Gb/s
> >> scsibus0 at ahci0: 32 targets
> >> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
> >> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> >> 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
> >>
> >>
> >
> >> OpenBSD/sunxi booting ...
> >> arg0 0x0 arg1 0x1008 arg2 0x40000100
> >> atag core flags 1 pagesize 1000 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: 4104
> >> 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) #23: Mon Sep 21 16:37:27 AEST 2015
> >>    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> >> real mem  = 1073741824 (1024MB)
> >> avail mem = 1041674240 (993MB)
> >> mainbus0 at root
> >> cpu0 at mainbus0: ARM Cortex A8 rev 0 (ARMv7 core)
> >> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> >> cpu0: 16KB(64b/l,4way) I-cache, 16KB(64b/l,4way) wr-back D-cache
> >> sunxi0 at mainbus0: Allwinner A1x
> >> sxipio0 at sunxi0
> >> sxiccmu0 at sunxi0
> >> a1xintc0 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 fe:e1:ba:d0:6b:f0
> >> rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1
> >> ahci0 at sunxi0: AHCI phy power up failed.
> >> ehci0 at sunxi0
> >> ehci0: halt timeout
> >> usb0 at ehci0: USB revision 2.0
> >> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> >> uhub0: no ports, hub ignored
> >> usb0: root device is not a hub
> >> ehci1 at sunxi0
> >> ehci1: halt timeout
> >> usb1 at ehci1: USB revision 2.0
> >> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> >> uhub1: no ports, hub ignored
> >> usb1: root device is not a hub
> >> 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
> >> boot device: lookup '' failed.
> >> root on rd0a swap on rd0b dump on rd0b
> >> WARNING: preposterous clock chip time
> >> WARNING: CHECK AND RESET THE DATE!
> >>
> >
> >> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
> >> DRAM: 1024 MiB
> >> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> >>
> >>
> >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
> >>
> >> CPU:   Allwinner A20 (SUN7I)
> >> I2C:   ready
> >> DRAM:  1 GiB
> >> MMC:   SUNXI SD/MMC: 0
> >> *** Warning - bad CRC, using default environment
> >>
> >> In:    serial
> >> Out:   serial
> >> Err:   serial
> >> SCSI:  SUNXI SCSI INIT
> >> Target spinup took 0 ms.
> >> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> >> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> >> Net:   eth0: ethernet@01c50000
> >> starting USB...
> >> USB0:   USB EHCI 1.00
> >> USB1:   USB OHCI 1.0
> >> USB2:   USB EHCI 1.00
> >> USB3:   USB OHCI 1.0
> >> scanning bus 0 for devices... 1 USB Device(s) found
> >> scanning bus 2 for devices... 1 USB Device(s) found
> >> Hit any key to stop autoboot:  0
> >> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
> >> reading bsd.umg
> >> 8029540 bytes read in 407 ms (18.8 MiB/s)
> >> ## Booting kernel from Legacy Image at 40200000 ...
> >>   Image Name:   boot
> >>   Image Type:   ARM Linux Kernel Image (uncompressed)
> >>   Data Size:    8029476 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 serial 0x16516604:080264c0
> >> atag mem start 0x40000000 size 0x40000000
> >> bootfile:
> >> bootargs:
> >> memory size derived from u-boot
> >> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> >> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> >> 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) #6: Wed Sep 30 21:51:18 CEST 2015
> >>    [hidden email]:/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: ctrl 0 mode 0
> >>
> >> sxirtc0 at sunxi0
> >> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
> >>
> >> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
> >>
> >> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
> >>
> >> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
> >>
> >> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
> >>
> >> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
> >>
> >> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
> >>
> >> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
> >>
> >> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> >> , address 02:04:08:02:64:c0
> >> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> >> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> >> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
> >> AHCI 1.1
> >> ahci0: port 0: 3.0Gb/s
> >> scsibus0 at ahci0: 32 targets
> >> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
> >> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> >> ehci0 at sunxi0
> >> enable irq 71 register 108 bitmask 00000080
> >> usb0 at ehci0: USB revision 2.0
> >> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> >> ehci1 at sunxi0
> >> enable irq 72 register 108 bitmask 00000100
> >> usb1 at ehci1: USB revision 2.0
> >> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> >> port 0 pin 0 cfg 2
> >> port 0 pin 1 cfg 2
> >> port 0 pin 2 cfg 2
> >> port 0 pin 3 cfg 2
> >> port 0 pin 4 cfg 2
> >> port 0 pin 5 cfg 2
> >> port 0 pin 6 cfg 2
> >> port 0 pin 7 cfg 2
> >> port 0 pin 8 cfg 2
> >> port 0 pin 9 cfg 2
> >> port 0 pin 10 cfg 2
> >> port 0 pin 11 cfg 2
> >> port 0 pin 12 cfg 2
> >> port 0 pin 13 cfg 2
> >> port 0 pin 14 cfg 2
> >> port 0 pin 15 cfg 2
> >> port 0 pin 16 cfg 2
> >> port 0 pin 17 cfg 2
> >> gpio0 at sxipio0: 18 pins
> >> port 1 pin 0 cfg 2
> >> port 1 pin 1 cfg 2
> >> port 1 pin 2 cfg 0
> >> port 1 pin 3 cfg 0
> >> port 1 pin 4 cfg 0
> >> port 1 pin 5 cfg 0
> >> port 1 pin 6 cfg 0
> >> port 1 pin 7 cfg 0
> >> port 1 pin 8 cfg 1
> >> port 1 pin 9 cfg 0
> >> port 1 pin 10 cfg 0
> >> port 1 pin 11 cfg 0
> >> port 1 pin 12 cfg 0
> >> port 1 pin 13 cfg 0
> >> port 1 pin 14 cfg 0
> >> port 1 pin 15 cfg 0
> >> port 1 pin 16 cfg 0
> >> port 1 pin 17 cfg 0
> >> port 1 pin 18 cfg 0
> >> port 1 pin 19 cfg 0
> >> port 1 pin 20 cfg 0
> >> port 1 pin 21 cfg 0
> >> port 1 pin 22 cfg 2
> >> port 1 pin 23 cfg 2
> >> gpio1 at sxipio0: 24 pins
> >> port 2 pin 0 cfg 0
> >> port 2 pin 1 cfg 0
> >> port 2 pin 2 cfg 0
> >> port 2 pin 3 cfg 0
> >> port 2 pin 4 cfg 0
> >> port 2 pin 5 cfg 0
> >> port 2 pin 6 cfg 0
> >> port 2 pin 7 cfg 0
> >> port 2 pin 8 cfg 0
> >> port 2 pin 9 cfg 0
> >> port 2 pin 10 cfg 0
> >> port 2 pin 11 cfg 0
> >> port 2 pin 12 cfg 0
> >> port 2 pin 13 cfg 0
> >> port 2 pin 14 cfg 0
> >> port 2 pin 15 cfg 0
> >> port 2 pin 16 cfg 0
> >> port 2 pin 17 cfg 0
> >> port 2 pin 18 cfg 0
> >> port 2 pin 19 cfg 0
> >> port 2 pin 20 cfg 0
> >> port 2 pin 21 cfg 0
> >> port 2 pin 22 cfg 0
> >> port 2 pin 23 cfg 0
> >> port 2 pin 24 cfg 0
> >> gpio2 at sxipio0: 25 pins
> >> port 3 pin 0 cfg 0
> >> port 3 pin 1 cfg 0
> >> port 3 pin 2 cfg 0
> >> port 3 pin 3 cfg 0
> >> port 3 pin 4 cfg 0
> >> port 3 pin 5 cfg 0
> >> port 3 pin 6 cfg 0
> >> port 3 pin 7 cfg 0
> >> port 3 pin 8 cfg 0
> >> port 3 pin 9 cfg 0
> >> port 3 pin 10 cfg 0
> >> port 3 pin 11 cfg 0
> >> port 3 pin 12 cfg 0
> >> port 3 pin 13 cfg 0
> >> port 3 pin 14 cfg 0
> >> port 3 pin 15 cfg 0
> >> port 3 pin 16 cfg 0
> >> port 3 pin 17 cfg 0
> >> port 3 pin 18 cfg 0
> >> port 3 pin 19 cfg 0
> >> port 3 pin 20 cfg 0
> >> port 3 pin 21 cfg 0
> >> port 3 pin 22 cfg 0
> >> port 3 pin 23 cfg 0
> >> port 3 pin 24 cfg 0
> >> port 3 pin 25 cfg 0
> >> port 3 pin 26 cfg 0
> >> port 3 pin 27 cfg 0
> >> gpio3 at sxipio0: 28 pins
> >> port 4 pin 0 cfg 0
> >> port 4 pin 1 cfg 0
> >> port 4 pin 2 cfg 0
> >> port 4 pin 3 cfg 0
> >> port 4 pin 4 cfg 0
> >> port 4 pin 5 cfg 0
> >> port 4 pin 6 cfg 0
> >> port 4 pin 7 cfg 0
> >> port 4 pin 8 cfg 0
> >> port 4 pin 9 cfg 0
> >> port 4 pin 10 cfg 0
> >> port 4 pin 11 cfg 0
> >> gpio4 at sxipio0: 12 pins
> >> port 5 pin 0 cfg 2
> >> port 5 pin 1 cfg 2
> >> port 5 pin 2 cfg 2
> >> port 5 pin 3 cfg 2
> >> port 5 pin 4 cfg 2
> >> port 5 pin 5 cfg 2
> >> gpio5 at sxipio0: 6 pins
> >> port 6 pin 0 cfg 0
> >> port 6 pin 1 cfg 0
> >> port 6 pin 2 cfg 0
> >> port 6 pin 3 cfg 0
> >> port 6 pin 4 cfg 0
> >> port 6 pin 5 cfg 0
> >> port 6 pin 6 cfg 0
> >> port 6 pin 7 cfg 0
> >> port 6 pin 8 cfg 0
> >> port 6 pin 9 cfg 0
> >> port 6 pin 10 cfg 0
> >> port 6 pin 11 cfg 0
> >> gpio6 at sxipio0: 12 pins
> >> port 7 pin 0 cfg 0
> >> port 7 pin 1 cfg 0
> >> port 7 pin 2 cfg 1
> >> port 7 pin 3 cfg 1
> >> port 7 pin 4 cfg 0
> >> port 7 pin 5 cfg 0
> >> port 7 pin 6 cfg 1
> >> port 7 pin 7 cfg 0
> >> port 7 pin 8 cfg 0
> >> port 7 pin 9 cfg 0
> >> port 7 pin 10 cfg 0
> >> port 7 pin 11 cfg 1
> >> port 7 pin 12 cfg 0
> >> port 7 pin 13 cfg 0
> >> port 7 pin 14 cfg 0
> >> port 7 pin 15 cfg 0
> >> port 7 pin 16 cfg 0
> >> port 7 pin 17 cfg 0
> >> port 7 pin 18 cfg 0
> >> port 7 pin 19 cfg 0
> >> port 7 pin 20 cfg 0
> >> port 7 pin 21 cfg 0
> >> port 7 pin 22 cfg 0
> >> port 7 pin 23 cfg 0
> >> port 7 pin 24 cfg 0
> >> port 7 pin 25 cfg 0
> >> port 7 pin 26 cfg 0
> >> port 7 pin 27 cfg 0
> >> gpio7 at sxipio0: 28 pins
> >> port 8 pin 0 cfg 0
> >> port 8 pin 1 cfg 0
> >> port 8 pin 2 cfg 0
> >> port 8 pin 3 cfg 0
> >> port 8 pin 4 cfg 0
> >> port 8 pin 5 cfg 0
> >> port 8 pin 6 cfg 0
> >> port 8 pin 7 cfg 0
> >> port 8 pin 8 cfg 0
> >> port 8 pin 9 cfg 0
> >> port 8 pin 10 cfg 0
> >> port 8 pin 11 cfg 0
> >> port 8 pin 12 cfg 0
> >> port 8 pin 13 cfg 0
> >> port 8 pin 14 cfg 0
> >> port 8 pin 15 cfg 0
> >> port 8 pin 16 cfg 0
> >> port 8 pin 17 cfg 0
> >> port 8 pin 18 cfg 0
> >> port 8 pin 19 cfg 0
> >> port 8 pin 20 cfg 0
> >> port 8 pin 21 cfg 0
> >> gpio8 at sxipio0: 22 pins
> >> enable irq 54 register 104 bitmask 00400000
> >> enable irq 55 register 104 bitmask 00800000
> >> Timecounters tick every 10.000 msec
> >> dev=0x1802 chrdev=0x1802 rawdev=0x1802
> >> dev=0x1202 chrdev=0x1202 rawdev=0x1202
> >>
> >
> >> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
> >> DRAM: 1024 MiB
> >> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> >>
> >>
> >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
> >>
> >> CPU:   Allwinner A20 (SUN7I)
> >> I2C:   ready
> >> DRAM:  1 GiB
> >> MMC:   SUNXI SD/MMC: 0
> >> *** Warning - bad CRC, using default environment
> >>
> >> In:    serial
> >> Out:   serial
> >> Err:   serial
> >> SCSI:  SUNXI SCSI INIT
> >> SATA link 0 timeout.
> >> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> >> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> >> Net:   eth0: ethernet@01c50000
> >> starting USB...
> >> USB0:   USB EHCI 1.00
> >> USB1:   USB OHCI 1.0
> >> USB2:   USB EHCI 1.00
> >> USB3:   USB OHCI 1.0
> >> scanning bus 0 for devices... 1 USB Device(s) found
> >> scanning bus 2 for devices... 1 USB Device(s) found
> >> Hit any key to stop autoboot:  0
> >> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
> >> reading bsd.umg
> >> 8029540 bytes read in 407 ms (18.8 MiB/s)
> >> ## Booting kernel from Legacy Image at 40200000 ...
> >>   Image Name:   boot
> >>   Image Type:   ARM Linux Kernel Image (uncompressed)
> >>   Data Size:    8029476 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 serial 0x16516604:080264c0
> >> atag mem start 0x40000000 size 0x40000000
> >> bootfile:
> >> bootargs:
> >> memory size derived from u-boot
> >> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> >> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> >> 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) #6: Wed Sep 30 21:51:18 CEST 2015
> >>    [hidden email]:/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: ctrl 0 mode 0
> >>
> >> sxirtc0 at sunxi0
> >> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
> >>
> >> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
> >>
> >> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
> >>
> >> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
> >>
> >> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
> >>
> >> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
> >>
> >> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
> >>
> >> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
> >>
> >> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> >> , address 02:04:08:02:64:c0
> >> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> >> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> >> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
> >> AHCI 1.1
> >> scsibus0 at ahci0: 32 targets
> >> ehci0 at sunxi0
> >> enable irq 71 register 108 bitmask 00000080
> >> usb0 at ehci0: USB revision 2.0
> >> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> >> ehci1 at sunxi0
> >> enable irq 72 register 108 bitmask 00000100
> >> usb1 at ehci1: USB revision 2.0
> >> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> >> port 0 pin 0 cfg 2
> >> port 0 pin 1 cfg 2
> >> port 0 pin 2 cfg 2
> >> port 0 pin 3 cfg 2
> >> port 0 pin 4 cfg 2
> >> port 0 pin 5 cfg 2
> >> port 0 pin 6 cfg 2
> >> port 0 pin 7 cfg 2
> >> port 0 pin 8 cfg 2
> >> port 0 pin 9 cfg 2
> >> port 0 pin 10 cfg 2
> >> port 0 pin 11 cfg 2
> >> port 0 pin 12 cfg 2
> >> port 0 pin 13 cfg 2
> >> port 0 pin 14 cfg 2
> >> port 0 pin 15 cfg 2
> >> port 0 pin 16 cfg 2
> >> port 0 pin 17 cfg 2
> >> gpio0 at sxipio0: 18 pins
> >> port 1 pin 0 cfg 2
> >> port 1 pin 1 cfg 2
> >> port 1 pin 2 cfg 0
> >> port 1 pin 3 cfg 0
> >> port 1 pin 4 cfg 0
> >> port 1 pin 5 cfg 0
> >> port 1 pin 6 cfg 0
> >> port 1 pin 7 cfg 0
> >> port 1 pin 8 cfg 1
> >> port 1 pin 9 cfg 0
> >> port 1 pin 10 cfg 0
> >> port 1 pin 11 cfg 0
> >> port 1 pin 12 cfg 0
> >> port 1 pin 13 cfg 0
> >> port 1 pin 14 cfg 0
> >> port 1 pin 15 cfg 0
> >> port 1 pin 16 cfg 0
> >> port 1 pin 17 cfg 0
> >> port 1 pin 18 cfg 0
> >> port 1 pin 19 cfg 0
> >> port 1 pin 20 cfg 0
> >> port 1 pin 21 cfg 0
> >> port 1 pin 22 cfg 2
> >> port 1 pin 23 cfg 2
> >> gpio1 at sxipio0: 24 pins
> >> port 2 pin 0 cfg 0
> >> port 2 pin 1 cfg 0
> >> port 2 pin 2 cfg 0
> >> port 2 pin 3 cfg 0
> >> port 2 pin 4 cfg 0
> >> port 2 pin 5 cfg 0
> >> port 2 pin 6 cfg 0
> >> port 2 pin 7 cfg 0
> >> port 2 pin 8 cfg 0
> >> port 2 pin 9 cfg 0
> >> port 2 pin 10 cfg 0
> >> port 2 pin 11 cfg 0
> >> port 2 pin 12 cfg 0
> >> port 2 pin 13 cfg 0
> >> port 2 pin 14 cfg 0
> >> port 2 pin 15 cfg 0
> >> port 2 pin 16 cfg 0
> >> port 2 pin 17 cfg 0
> >> port 2 pin 18 cfg 0
> >> port 2 pin 19 cfg 0
> >> port 2 pin 20 cfg 0
> >> port 2 pin 21 cfg 0
> >> port 2 pin 22 cfg 0
> >> port 2 pin 23 cfg 0
> >> port 2 pin 24 cfg 0
> >> gpio2 at sxipio0: 25 pins
> >> port 3 pin 0 cfg 0
> >> port 3 pin 1 cfg 0
> >> port 3 pin 2 cfg 0
> >> port 3 pin 3 cfg 0
> >> port 3 pin 4 cfg 0
> >> port 3 pin 5 cfg 0
> >> port 3 pin 6 cfg 0
> >> port 3 pin 7 cfg 0
> >> port 3 pin 8 cfg 0
> >> port 3 pin 9 cfg 0
> >> port 3 pin 10 cfg 0
> >> port 3 pin 11 cfg 0
> >> port 3 pin 12 cfg 0
> >> port 3 pin 13 cfg 0
> >> port 3 pin 14 cfg 0
> >> port 3 pin 15 cfg 0
> >> port 3 pin 16 cfg 0
> >> port 3 pin 17 cfg 0
> >> port 3 pin 18 cfg 0
> >> port 3 pin 19 cfg 0
> >> port 3 pin 20 cfg 0
> >> port 3 pin 21 cfg 0
> >> port 3 pin 22 cfg 0
> >> port 3 pin 23 cfg 0
> >> port 3 pin 24 cfg 0
> >> port 3 pin 25 cfg 0
> >> port 3 pin 26 cfg 0
> >> port 3 pin 27 cfg 0
> >> gpio3 at sxipio0: 28 pins
> >> port 4 pin 0 cfg 0
> >> port 4 pin 1 cfg 0
> >> port 4 pin 2 cfg 0
> >> port 4 pin 3 cfg 0
> >> port 4 pin 4 cfg 0
> >> port 4 pin 5 cfg 0
> >> port 4 pin 6 cfg 0
> >> port 4 pin 7 cfg 0
> >> port 4 pin 8 cfg 0
> >> port 4 pin 9 cfg 0
> >> port 4 pin 10 cfg 0
> >> port 4 pin 11 cfg 0
> >> gpio4 at sxipio0: 12 pins
> >> port 5 pin 0 cfg 2
> >> port 5 pin 1 cfg 2
> >> port 5 pin 2 cfg 2
> >> port 5 pin 3 cfg 2
> >> port 5 pin 4 cfg 2
> >> port 5 pin 5 cfg 2
> >> gpio5 at sxipio0: 6 pins
> >> port 6 pin 0 cfg 0
> >> port 6 pin 1 cfg 0
> >> port 6 pin 2 cfg 0
> >> port 6 pin 3 cfg 0
> >> port 6 pin 4 cfg 0
> >> port 6 pin 5 cfg 0
> >> port 6 pin 6 cfg 0
> >> port 6 pin 7 cfg 0
> >> port 6 pin 8 cfg 0
> >> port 6 pin 9 cfg 0
> >> port 6 pin 10 cfg 0
> >> port 6 pin 11 cfg 0
> >> gpio6 at sxipio0: 12 pins
> >> port 7 pin 0 cfg 0
> >> port 7 pin 1 cfg 0
> >> port 7 pin 2 cfg 1
> >> port 7 pin 3 cfg 1
> >> port 7 pin 4 cfg 0
> >> port 7 pin 5 cfg 0
> >> port 7 pin 6 cfg 1
> >> port 7 pin 7 cfg 0
> >> port 7 pin 8 cfg 0
> >> port 7 pin 9 cfg 0
> >> port 7 pin 10 cfg 0
> >> port 7 pin 11 cfg 1
> >> port 7 pin 12 cfg 0
> >> port 7 pin 13 cfg 0
> >> port 7 pin 14 cfg 0
> >> port 7 pin 15 cfg 0
> >> port 7 pin 16 cfg 0
> >> port 7 pin 17 cfg 0
> >> port 7 pin 18 cfg 0
> >> port 7 pin 19 cfg 0
> >> port 7 pin 20 cfg 0
> >> port 7 pin 21 cfg 0
> >> port 7 pin 22 cfg 0
> >> port 7 pin 23 cfg 0
> >> port 7 pin 24 cfg 0
> >> port 7 pin 25 cfg 0
> >> port 7 pin 26 cfg 0
> >> port 7 pin 27 cfg 0
> >> gpio7 at sxipio0: 28 pins
> >> port 8 pin 0 cfg 0
> >> port 8 pin 1 cfg 0
> >> port 8 pin 2 cfg 0
> >> port 8 pin 3 cfg 0
> >> port 8 pin 4 cfg 0
> >> port 8 pin 5 cfg 0
> >> port 8 pin 6 cfg 0
> >> port 8 pin 7 cfg 0
> >> port 8 pin 8 cfg 0
> >> port 8 pin 9 cfg 0
> >> port 8 pin 10 cfg 0
> >> port 8 pin 11 cfg 0
> >> port 8 pin 12 cfg 0
> >> port 8 pin 13 cfg 0
> >> port 8 pin 14 cfg 0
> >> port 8 pin 15 cfg 0
> >> port 8 pin 16 cfg 0
> >> port 8 pin 17 cfg 0
> >> port 8 pin 18 cfg 0
> >> port 8 pin 19 cfg 0
> >> port 8 pin 20 cfg 0
> >> port 8 pin 21 cfg 0
> >> gpio8 at sxipio0: 22 pins
> >> enable irq 54 register 104 bitmask 00400000
> >> enable irq 55 register 104 bitmask 00800000
> >> Timecounters tick every 10.000 msec
> >> dev=0x1202 chrdev=0x1202 rawdev=0x1202
>
>

Reply | Threaded
Open this post in threaded view
|

Re: pcDuino3_Nano mount root problems on boot

Leonardo Guardati-2
Something moves...the init logs something (about not finding /etc/loging.conf).
The scheduler schedclock()  is called (when the string schClk is printed in )
The "a" pletters are from hardclock()

I've filtered out the IRQ nr. 33 (the uart) from the debug.

In the end the interactive ddb> console is fired (after 100x iterations on sys/arch/arm/cortex/ampintc.c)

The facts is that without those debugs the init never reaches the syslog error about not
finding the login.conf file.


port 8 pin 9 cfg 0
port 8 pin 10 cfg 0
port 8 pin 11 cfg 0
port 8 pin 12 cfg 0
port 8 pin 13 cfg 0
port 8 pin 14 cfg 0
port 8 pin 15 cfg 0
port 8 pin 16 cfg 0
port 8 pin 17 cfg 0
port 8 pin 18 cfg 0
port 8 pin 19 cfg 0
port 8 pin 20 cfg 0
port 8 pin 21 cfg 0
gpio8 at sxipio0: 22 pins
ampintc_intr_establish irq 54 level 10 [tick]
enable irq 54 register 104 bitmask 00400000
ampintc_intr_establish irq 55 level 11 [stattick]
enable irq 55 register 104 bitmask 00800000
Timecounters tick every 10.000 msec
after fork...before kthread_run_deferred_queue()
after kthread_run_deferred_queue()
irq  55 fired
irq  54 fired
abefore dostartuphooks()
after dostartuphooks()
irq  55 fired
boot device: lookup '' failed.
irq  54 fired
airq  55 fired
dev=0x1202 chrdev=0x1202 rawdev=0x1202
irq  55 fired
schClk irq  54 fired
aroot on rd0a swap on rd0b dump on rd0b
after diskconf()
dev=0x1200 chrdev=0x1200 rawdev=0x1202
irq  55 fired
irq  54 fired
aWARNING: clock lost 2109 days
WARNING: CHECK AND RESET THE DATE!
irq  55 fired
irq  54 fired
aafter mountroot()
irq  55 fired
before uvm_swap_init()
before start_init_exec()
before idle...
irq  55 fired
schClk irq  54 fired
ainit: copying out path `/sbin/init' 11
Entering sys_execve()
irq  55 fired
irq  54 fired
aGot Here
returned from sys_execve().
irq  55 fired
after KERNEL_UNLOCK
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
schClk irq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  55 fired
schClk irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
irq  54 fired
airq  55 fired
Jan  2 00:44:31 init: cannot stat /etc/login.conf: No such file Entering sys_execve()
irq  55 fired
schClk irq  54 fired
aGot Here
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
schClk pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
irq  54 fired
apmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  55 fired
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5602e
irq  54 fired
airq  33 fired * _100
Stopped at      Debugger:       ldrb    r15, [r15, r15, ror r15]!
ddb>
ddb>    






On Sun, Oct 11, 2015 at 07:24:48PM +0200, Leonardo Guardati wrote:

> I've added a
>
> printf("a");
>
> on hardclock() in sys/kern/kern_clock.c @ 157
>
> And I see some "a" printed; this is the output:
>
> .
> .
> .
> port 8 pin 14 cfg 0
> port 8 pin 15 cfg 0
> port 8 pin 16 cfg 0
> port 8 pin 17 cfg 0
> port 8 pin 18 cfg 0
> port 8 pin 19 cfg 0
> port 8 pin 20 cfg 0
> port 8 pin 21 cfg 0
> gpio8 at sxipio0: 22 pins
> enable irq 54 register 104 bitmask 00400000
> enable irq 55 register 104 bitmask 00800000
> Timecounters tick every 10.000 msec
> XXXafter fork...before kthread_run_deferred_queue()
> XXXafter kthread_run_deferred_queue()
> aXXXbefore dostartuphooks()
> XXXafter dostartuphooks()
> boot device: lookup '' failed.
> dev=0x1202 chrdev=0x1202 rawdev=0x1202
> aroot on rd0a swap on rd0b dump on rd0b
> XXXafter diskconf()
> dev=0x1200 chrdev=0x1200 rawdev=0x1202
> aWARNING: clock lost 2109 days
> WARNING: CHECK AND RESET THE DATE!
> XXXafter mountroot()
> XXXbefore uvm_swap_init()
> aXXXbefore start_init_exec()
> XXXbefore idle...
> init: copying out path `/sbin/init' 11
> XXXEntering sys_execve()
> aXXXGot Here
> XXXreturned from sys_execve().
> XXXafter KERNEL_UNLOCK
> aa
>
>
>
>
> Leonardo
>
>
> On Sun, Oct 11, 2015 at 06:35:59PM +0200, Patrick Wildt wrote:
> > That usually means that either
> >
> > a) the interrupts don???t arrive or
> > b) the timer/hardclock doesn???t tick.
> >
> > Do your debug printfs print on interrupt? If not, try to add that and see if there are any interrupts at all.
> >
> > Patrick
> >
> > > Am 11.10.2015 um 18:13 schrieb Leonardo Guardati <[hidden email]>:
> > >
> > > I believe I'm almost there.
> > >
> > > To circumvent the problem of the previous email (where
> > > it hung on driver deferred autoconfiguration),
> > > I had to disable the usb drivers on the RAMDISK
> > > kernel config.
> > >
> > > The bsd.rd kernel is now reaching the /sbin/init
> > > executable, but its code wont run!
> > >
> > > I'm sure about this because if I remove the
> > > /sbin/init file from the mr.fs ramdisk image, then the
> > > process gracefully reboots because it doesn't find
> > > the init file.
> > >
> > > I've put some debugging printfs showing the sys/kern/init_main.c
> > > code execution...it goes smooth...no error.
> > >
> > > The problems I think is on the sys_execve() call.
> > >
> > > But I need some insight/suggestion on where to look.
> > >
> > > Here the console output:
> > >
> > > U-Boot SPL 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50)
> > > DRAM: 1024 MiB
> > > CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> > >
> > >
> > > U-Boot 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50 +0200) Allwinner Technology
> > >
> > > CPU:   Allwinner A20 (SUN7I)
> > > I2C:   ready
> > > DRAM:  1 GiB
> > > MMC:   SUNXI SD/MMC: 0
> > > *** Warning - bad CRC, using default environment
> > >
> > > In:    serial
> > > Out:   serial
> > > Err:   serial
> > > SCSI:  SUNXI SCSI INIT
> > > SATA link 0 timeout.
> > > AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> > > flags: ncq stag pm led clo only pmp pio slum part ccc apst
> > > Net:   eth0: ethernet@01c50000
> > > starting USB...
> > > USB0:   USB EHCI 1.00
> > > USB1:   USB OHCI 1.0
> > > USB2:   USB EHCI 1.00
> > > USB3:   USB OHCI 1.0
> > > scanning bus 0 for devices... 1 USB Device(s) found
> > > scanning bus 2 for devices... 1 USB Device(s) found
> > > Hit any key to stop autoboot:  0
> > > switch to partitions #0, OK
> > > mmc0 is current device
> > > Scanning mmc 0:1...
> > > Found U-Boot script /boot.scr
> > > reading /boot.scr
> > > 189 bytes read in 17 ms (10.7 KiB/s)
> > > ## Executing script at 43100000
> > > reading bsd.umg
> > > 5688048 bytes read in 294 ms (18.5 MiB/s)
> > > ## Booting kernel from Legacy Image at 40200000 ...
> > >   Image Name:   boot
> > >   Image Type:   ARM Linux Kernel Image (uncompressed)
> > >   Data Size:    5687984 Bytes = 5.4 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 serial 0x16516604:080264c0
> > > atag cmdline [rd0a:]
> > > atag mem start 0x40000000 size 0x40000000
> > > bootfile: rd0a:
> > > bootargs:
> > > memory size derived from u-boot
> > > bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> > > physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> > > Allocating page tables
> > > freestart = 0x4086d000, free_pages = 259987 (0x0003f793)
> > > IRQ stack: p0x4089b000 v0xc089b000
> > > ABT stack: p0x4089c000 v0xc089c000
> > > UND stack: p0x4089d000 v0xc089d000
> > > SVC stack: p0x4089e000 v0xc089e000
> > > Creating L1 page table at 0x40870000
> > > Mapping kernel
> > > Constructing L2 page tables
> > > undefined page pmap [ using 251020 bytes of bsd ELF symbol table ]
> > > 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) #8: Sun Oct 11 17:53:06 CEST 2015
> > >    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> > > real mem  = 1073741824 (1024MB)
> > > avail mem = 1043972096 (995MB)
> > > 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: ctrl 0 mode 0
> > >
> > > sxirtc0 at sunxi0
> > > sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
> > >
> > > sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
> > >
> > > sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
> > >
> > > sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
> > >
> > > sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
> > >
> > > sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
> > >
> > > sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
> > >
> > > sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
> > >
> > > sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> > > , address 02:04:08:02:64:c0
> > > rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> > > rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> > > ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
> > > AHCI 1.1
> > > scsibus0 at ahci0: 32 targets
> > > sunxi0: device ehci unit 0 not configured
> > > sunxi0: device ehci unit 1 not configured
> > > port 0 pin 0 cfg 2
> > > port 0 pin 1 cfg 2
> > > port 0 pin 2 cfg 2
> > > port 0 pin 3 cfg 2
> > > port 0 pin 4 cfg 2
> > > port 0 pin 5 cfg 2
> > > port 0 pin 6 cfg 2
> > > port 0 pin 7 cfg 2
> > > port 0 pin 8 cfg 2
> > > port 0 pin 9 cfg 2
> > > port 0 pin 10 cfg 2
> > > port 0 pin 11 cfg 2
> > > port 0 pin 12 cfg 2
> > > port 0 pin 13 cfg 2
> > > port 0 pin 14 cfg 2
> > > port 0 pin 15 cfg 2
> > > port 0 pin 16 cfg 2
> > > port 0 pin 17 cfg 2
> > > gpio0 at sxipio0: 18 pins
> > > port 1 pin 0 cfg 2
> > > port 1 pin 1 cfg 2
> > > port 1 pin 2 cfg 0
> > > port 1 pin 3 cfg 0
> > > port 1 pin 4 cfg 0
> > > port 1 pin 5 cfg 0
> > > port 1 pin 6 cfg 0
> > > port 1 pin 7 cfg 0
> > > port 1 pin 8 cfg 1
> > > port 1 pin 9 cfg 0
> > > port 1 pin 10 cfg 0
> > > port 1 pin 11 cfg 0
> > > port 1 pin 12 cfg 0
> > > port 1 pin 13 cfg 0
> > > port 1 pin 14 cfg 0
> > > port 1 pin 15 cfg 0
> > > port 1 pin 16 cfg 0
> > > port 1 pin 17 cfg 0
> > > port 1 pin 18 cfg 0
> > > port 1 pin 19 cfg 0
> > > port 1 pin 20 cfg 0
> > > port 1 pin 21 cfg 0
> > > port 1 pin 22 cfg 2
> > > port 1 pin 23 cfg 2
> > > gpio1 at sxipio0: 24 pins
> > > port 2 pin 0 cfg 0
> > > port 2 pin 1 cfg 0
> > > port 2 pin 2 cfg 0
> > > port 2 pin 3 cfg 0
> > > port 2 pin 4 cfg 0
> > > port 2 pin 5 cfg 0
> > > port 2 pin 6 cfg 0
> > > port 2 pin 7 cfg 0
> > > port 2 pin 8 cfg 0
> > > port 2 pin 9 cfg 0
> > > port 2 pin 10 cfg 0
> > > port 2 pin 11 cfg 0
> > > port 2 pin 12 cfg 0
> > > port 2 pin 13 cfg 0
> > > port 2 pin 14 cfg 0
> > > port 2 pin 15 cfg 0
> > > port 2 pin 16 cfg 0
> > > port 2 pin 17 cfg 0
> > > port 2 pin 18 cfg 0
> > > port 2 pin 19 cfg 0
> > > port 2 pin 20 cfg 0
> > > port 2 pin 21 cfg 0
> > > port 2 pin 22 cfg 0
> > > port 2 pin 23 cfg 0
> > > port 2 pin 24 cfg 0
> > > gpio2 at sxipio0: 25 pins
> > > port 3 pin 0 cfg 0
> > > port 3 pin 1 cfg 0
> > > port 3 pin 2 cfg 0
> > > port 3 pin 3 cfg 0
> > > port 3 pin 4 cfg 0
> > > port 3 pin 5 cfg 0
> > > port 3 pin 6 cfg 0
> > > port 3 pin 7 cfg 0
> > > port 3 pin 8 cfg 0
> > > port 3 pin 9 cfg 0
> > > port 3 pin 10 cfg 0
> > > port 3 pin 11 cfg 0
> > > port 3 pin 12 cfg 0
> > > port 3 pin 13 cfg 0
> > > port 3 pin 14 cfg 0
> > > port 3 pin 15 cfg 0
> > > port 3 pin 16 cfg 0
> > > port 3 pin 17 cfg 0
> > > port 3 pin 18 cfg 0
> > > port 3 pin 19 cfg 0
> > > port 3 pin 20 cfg 0
> > > port 3 pin 21 cfg 0
> > > port 3 pin 22 cfg 0
> > > port 3 pin 23 cfg 0
> > > port 3 pin 24 cfg 0
> > > port 3 pin 25 cfg 0
> > > port 3 pin 26 cfg 0
> > > port 3 pin 27 cfg 0
> > > gpio3 at sxipio0: 28 pins
> > > port 4 pin 0 cfg 0
> > > port 4 pin 1 cfg 0
> > > port 4 pin 2 cfg 0
> > > port 4 pin 3 cfg 0
> > > port 4 pin 4 cfg 0
> > > port 4 pin 5 cfg 0
> > > port 4 pin 6 cfg 0
> > > port 4 pin 7 cfg 0
> > > port 4 pin 8 cfg 0
> > > port 4 pin 9 cfg 0
> > > port 4 pin 10 cfg 0
> > > port 4 pin 11 cfg 0
> > > gpio4 at sxipio0: 12 pins
> > > port 5 pin 0 cfg 2
> > > port 5 pin 1 cfg 2
> > > port 5 pin 2 cfg 2
> > > port 5 pin 3 cfg 2
> > > port 5 pin 4 cfg 2
> > > port 5 pin 5 cfg 2
> > > gpio5 at sxipio0: 6 pins
> > > port 6 pin 0 cfg 0
> > > port 6 pin 1 cfg 0
> > > port 6 pin 2 cfg 0
> > > port 6 pin 3 cfg 0
> > > port 6 pin 4 cfg 0
> > > port 6 pin 5 cfg 0
> > > port 6 pin 6 cfg 0
> > > port 6 pin 7 cfg 0
> > > port 6 pin 8 cfg 0
> > > port 6 pin 9 cfg 0
> > > port 6 pin 10 cfg 0
> > > port 6 pin 11 cfg 0
> > > gpio6 at sxipio0: 12 pins
> > > port 7 pin 0 cfg 0
> > > port 7 pin 1 cfg 0
> > > port 7 pin 2 cfg 1
> > > port 7 pin 3 cfg 1
> > > port 7 pin 4 cfg 0
> > > port 7 pin 5 cfg 0
> > > port 7 pin 6 cfg 0
> > > port 7 pin 7 cfg 0
> > > port 7 pin 8 cfg 0
> > > port 7 pin 9 cfg 0
> > > port 7 pin 10 cfg 0
> > > port 7 pin 11 cfg 1
> > > port 7 pin 12 cfg 0
> > > port 7 pin 13 cfg 0
> > > port 7 pin 14 cfg 0
> > > port 7 pin 15 cfg 0
> > > port 7 pin 16 cfg 0
> > > port 7 pin 17 cfg 0
> > > port 7 pin 18 cfg 0
> > > port 7 pin 19 cfg 0
> > > port 7 pin 20 cfg 0
> > > port 7 pin 21 cfg 0
> > > port 7 pin 22 cfg 0
> > > port 7 pin 23 cfg 0
> > > port 7 pin 24 cfg 0
> > > port 7 pin 25 cfg 0
> > > port 7 pin 26 cfg 0
> > > port 7 pin 27 cfg 0
> > > gpio7 at sxipio0: 28 pins
> > > port 8 pin 0 cfg 0
> > > port 8 pin 1 cfg 0
> > > port 8 pin 2 cfg 0
> > > port 8 pin 3 cfg 0
> > > port 8 pin 4 cfg 0
> > > port 8 pin 5 cfg 0
> > > port 8 pin 6 cfg 0
> > > port 8 pin 7 cfg 0
> > > port 8 pin 8 cfg 0
> > > port 8 pin 9 cfg 0
> > > port 8 pin 10 cfg 0
> > > port 8 pin 11 cfg 0
> > > port 8 pin 12 cfg 0
> > > port 8 pin 13 cfg 0
> > > port 8 pin 14 cfg 0
> > > port 8 pin 15 cfg 0
> > > port 8 pin 16 cfg 0
> > > port 8 pin 17 cfg 0
> > > port 8 pin 18 cfg 0
> > > port 8 pin 19 cfg 0
> > > port 8 pin 20 cfg 0
> > > port 8 pin 21 cfg 0
> > > gpio8 at sxipio0: 22 pins
> > > enable irq 54 register 104 bitmask 00400000
> > > enable irq 55 register 104 bitmask 00800000
> > > Timecounters tick every 10.000 msec
> > > XXXafter fork...before kthread_run_deferred_queue()
> > > XXXafter kthread_run_deferred_queue()
> > > XXXbefore dostartuphooks()
> > > XXXafter dostartuphooks()
> > > boot device: rd0
> > > dev=0x1202 chrdev=0x1202 rawdev=0x1202
> > > root on rd0a swap on rd0b dump on rd0b
> > > XXXafter diskconf()
> > > dev=0x1200 chrdev=0x1200 rawdev=0x1202
> > > WARNING: clock lost 2109 days
> > > WARNING: CHECK AND RESET THE DATE!
> > > XXXafter mountroot()
> > > XXXbefore uvm_swap_init()
> > > XXXbefore start_init_exec()
> > > XXXbefore idle...
> > > init: copying out path `/sbin/init' 11
> > > XXXreturned from sys_execve().
> > > XXXafter KERNEL_UNLOCK
> > >
> > >
> > >
> > > The XXX* lines are the printf()s.
> > >
> > >
> > > Anyway, to make it work, I had to disable the usb
> > > related drivers:
> > > #ehci*          at sunxi?               # EHCI (shim)
> > > #usb*           at ehci?        #flags 0x1
> > >
> > >
> > > Also, I've enabled the ddb with
> > > option DDB
> > > option DDB_SAFE_CONSOLE
> > >
> > > but even if I send BREAKs from the serial console, the
> > > debugger isn't called.
> > >
> > > Any help is welcome.
> > >
> > > Leonardo.
> > >
> > >
> > >
> > >
> > > On Sat, Oct 03, 2015 at 11:54:51AM +0200, Leonardo Guardati wrote:
> > >> Hi,
> > >>  I'm back trying to make the pcDuino3_Nano board
> > >> work with OpenBSD.
> > >>
> > >> The u-boot version shipped with the board:
> > >> U-Boot 2011.09-rc1 (Jul 03 2013 - 17:40:47) Allwinner Technology
> > >>
> > >> Is not able to load openbsd from sd card.
> > >>
> > >> Back in august I wrote to the list with a config option for
> > >> u-boot 2015-07 to make the bsd.umg image load; that
> > >> was:
> > >> [*] Enable workarounds for booting old kernels
> > >> under ARM Architecture of the uboot menuconfig.
> > >>
> > >> Now, using the last uboot git version
> > >>
> > >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
> > >>
> > >> it would stop at dram initialization:
> > >>
> > >> DRAM:Timeout initialising DRAM
> > >>
> > >>
> > >> I had to change another config option to make it work:
> > >>
> > >> "ARM Architecture" -> "sunxi dram timings" set to "JEDEC DDR3-800E / DDR3-1066G / DDR3-1333J"
> > >>
> > >> instead of "Magic vendor timings from Android"
> > >>
> > >>
> > >> Now I'm back to square one with the same problem: openbsd loads fine but stuck at the
> > >> end of hardware initialization:
> > >>
> > >> [see output1.log]
> > >>
> > >>
> > >> The sd0 (a SATA disk) device is found.
> > >>
> > >> I've tried to run the same bsd.umg binary in QEMU, and it has the same behaviour; but it spews some
> > >> other messages after the gpio:
> > >>
> > >> $ qemu-system-arm -M cubieboard -kernel bsd.rd.SUNXI.umg -m 1024M
> > >>
> > >> [see output2.log]
> > >>
> > >>
> > >> Now I compiled the bsd.rd with debug option activated: and here the
> > >> results:
> > >>
> > >> [see output3.log]
> > >>
> > >>
> > >> and this is without the external SATA disk:
> > >>
> > >>
> > >> [see output4.log]
> > >>
> > >>
> > >> I've checked the source code (I'm not able yet
> > >> to debug live the code...any suggestion on how to
> > >> setup that?) and adding some printf()s here and
> > >> there I saw that the code stops on sys/kern/init_main.c@:
> > >>
> > >> while (config_pending)
> > >> (void) tsleep((void *)&config_pending, PWAIT, "cfpend", 0);
> > >>
> > >> the threads are woken up and I see the disk_attach_callback()s for
> > >> each of the devices (rd and sd) but then something goes wrong
> > >> and
> > >>
> > >> dostartuphooks();
> > >>
> > >> is never reached.
> > >>
> > >> I've verified the disk_attach_callback() calls the final wakeup().
> > >>
> > >> Also, in the tsleep() loop, the while() tests on config_pending=2.
> > >>
> > >> Any hint on what could be the problem?
> > >> It seems like the thread waiting for the deferred autoconfiguration
> > >> doesn't wake up.
> > >>
> > >>
> > >>
> > >>
> > >> Leonardo.
> > >>
> > >>
> > >>
> > >>
> > >
> > >> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54)
> > >> DRAM: 1024 MiB
> > >> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> > >>
> > >>
> > >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 27 2015 - 11:01:54 +0200) Allwinner Technology
> > >>
> > >> CPU:   Allwinner A20 (SUN7I)
> > >> I2C:   ready
> > >> DRAM:  1 GiB
> > >> MMC:   SUNXI SD/MMC: 0
> > >> *** Warning - bad CRC, using default environment
> > >>
> > >> In:    serial
> > >> Out:   serial
> > >> Err:   serial
> > >> SCSI:  SUNXI SCSI INIT
> > >> Target spinup took 0 ms.
> > >> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> > >> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> > >> Net:   eth0: ethernet@01c50000
> > >> starting USB...
> > >> USB0:   USB EHCI 1.00
> > >> USB1:   USB OHCI 1.0
> > >> USB2:   USB EHCI 1.00
> > >> USB3:   USB OHCI 1.0
> > >> scanning bus 0 for devices... 1 USB Device(s) found
> > >> scanning bus 2 for devices... 1 USB Device(s) found
> > >> Hit any key to stop autoboot:  0
> > >> => fatload mmc 0 0x48000000 bsd.umg
> > >> reading bsd.umg
> > >> 8028428 bytes read in 452 ms (16.9 MiB/s)
> > >> =>
> > >> =>
> > >> => bootm 0x48000000
> > >> ## Booting kernel from Legacy Image at 48000000 ...
> > >>   Image Name:   boot
> > >>   Image Type:   ARM Linux Kernel Image (uncompressed)
> > >>   Data Size:    8028364 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 serial 0x16516604:080264c0
> > >> 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) #23: Mon Sep 21 16:37:27 AEST 2015
> > >>    [hidden email]:/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:04:08:02:64:c0
> > >> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> > >> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> > >> ahci0 at sunxi0 AHCI 1.1
> > >> ahci0: port 0: 3.0Gb/s
> > >> scsibus0 at ahci0: 32 targets
> > >> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
> > >> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> > >> 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
> > >>
> > >>
> > >
> > >> OpenBSD/sunxi booting ...
> > >> arg0 0x0 arg1 0x1008 arg2 0x40000100
> > >> atag core flags 1 pagesize 1000 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: 4104
> > >> 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) #23: Mon Sep 21 16:37:27 AEST 2015
> > >>    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> > >> real mem  = 1073741824 (1024MB)
> > >> avail mem = 1041674240 (993MB)
> > >> mainbus0 at root
> > >> cpu0 at mainbus0: ARM Cortex A8 rev 0 (ARMv7 core)
> > >> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> > >> cpu0: 16KB(64b/l,4way) I-cache, 16KB(64b/l,4way) wr-back D-cache
> > >> sunxi0 at mainbus0: Allwinner A1x
> > >> sxipio0 at sunxi0
> > >> sxiccmu0 at sunxi0
> > >> a1xintc0 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 fe:e1:ba:d0:6b:f0
> > >> rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1
> > >> ahci0 at sunxi0: AHCI phy power up failed.
> > >> ehci0 at sunxi0
> > >> ehci0: halt timeout
> > >> usb0 at ehci0: USB revision 2.0
> > >> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> > >> uhub0: no ports, hub ignored
> > >> usb0: root device is not a hub
> > >> ehci1 at sunxi0
> > >> ehci1: halt timeout
> > >> usb1 at ehci1: USB revision 2.0
> > >> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> > >> uhub1: no ports, hub ignored
> > >> usb1: root device is not a hub
> > >> 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
> > >> boot device: lookup '' failed.
> > >> root on rd0a swap on rd0b dump on rd0b
> > >> WARNING: preposterous clock chip time
> > >> WARNING: CHECK AND RESET THE DATE!
> > >>
> > >
> > >> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
> > >> DRAM: 1024 MiB
> > >> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> > >>
> > >>
> > >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
> > >>
> > >> CPU:   Allwinner A20 (SUN7I)
> > >> I2C:   ready
> > >> DRAM:  1 GiB
> > >> MMC:   SUNXI SD/MMC: 0
> > >> *** Warning - bad CRC, using default environment
> > >>
> > >> In:    serial
> > >> Out:   serial
> > >> Err:   serial
> > >> SCSI:  SUNXI SCSI INIT
> > >> Target spinup took 0 ms.
> > >> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> > >> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> > >> Net:   eth0: ethernet@01c50000
> > >> starting USB...
> > >> USB0:   USB EHCI 1.00
> > >> USB1:   USB OHCI 1.0
> > >> USB2:   USB EHCI 1.00
> > >> USB3:   USB OHCI 1.0
> > >> scanning bus 0 for devices... 1 USB Device(s) found
> > >> scanning bus 2 for devices... 1 USB Device(s) found
> > >> Hit any key to stop autoboot:  0
> > >> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
> > >> reading bsd.umg
> > >> 8029540 bytes read in 407 ms (18.8 MiB/s)
> > >> ## Booting kernel from Legacy Image at 40200000 ...
> > >>   Image Name:   boot
> > >>   Image Type:   ARM Linux Kernel Image (uncompressed)
> > >>   Data Size:    8029476 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 serial 0x16516604:080264c0
> > >> atag mem start 0x40000000 size 0x40000000
> > >> bootfile:
> > >> bootargs:
> > >> memory size derived from u-boot
> > >> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> > >> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> > >> 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) #6: Wed Sep 30 21:51:18 CEST 2015
> > >>    [hidden email]:/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: ctrl 0 mode 0
> > >>
> > >> sxirtc0 at sunxi0
> > >> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
> > >>
> > >> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
> > >>
> > >> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
> > >>
> > >> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
> > >>
> > >> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
> > >>
> > >> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
> > >>
> > >> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
> > >>
> > >> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
> > >>
> > >> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> > >> , address 02:04:08:02:64:c0
> > >> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> > >> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> > >> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
> > >> AHCI 1.1
> > >> ahci0: port 0: 3.0Gb/s
> > >> scsibus0 at ahci0: 32 targets
> > >> sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD10JPVX-22J, 01.0> SCSI3 0/direct fixed naa.50014ee65ac04a9a
> > >> sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
> > >> ehci0 at sunxi0
> > >> enable irq 71 register 108 bitmask 00000080
> > >> usb0 at ehci0: USB revision 2.0
> > >> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> > >> ehci1 at sunxi0
> > >> enable irq 72 register 108 bitmask 00000100
> > >> usb1 at ehci1: USB revision 2.0
> > >> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> > >> port 0 pin 0 cfg 2
> > >> port 0 pin 1 cfg 2
> > >> port 0 pin 2 cfg 2
> > >> port 0 pin 3 cfg 2
> > >> port 0 pin 4 cfg 2
> > >> port 0 pin 5 cfg 2
> > >> port 0 pin 6 cfg 2
> > >> port 0 pin 7 cfg 2
> > >> port 0 pin 8 cfg 2
> > >> port 0 pin 9 cfg 2
> > >> port 0 pin 10 cfg 2
> > >> port 0 pin 11 cfg 2
> > >> port 0 pin 12 cfg 2
> > >> port 0 pin 13 cfg 2
> > >> port 0 pin 14 cfg 2
> > >> port 0 pin 15 cfg 2
> > >> port 0 pin 16 cfg 2
> > >> port 0 pin 17 cfg 2
> > >> gpio0 at sxipio0: 18 pins
> > >> port 1 pin 0 cfg 2
> > >> port 1 pin 1 cfg 2
> > >> port 1 pin 2 cfg 0
> > >> port 1 pin 3 cfg 0
> > >> port 1 pin 4 cfg 0
> > >> port 1 pin 5 cfg 0
> > >> port 1 pin 6 cfg 0
> > >> port 1 pin 7 cfg 0
> > >> port 1 pin 8 cfg 1
> > >> port 1 pin 9 cfg 0
> > >> port 1 pin 10 cfg 0
> > >> port 1 pin 11 cfg 0
> > >> port 1 pin 12 cfg 0
> > >> port 1 pin 13 cfg 0
> > >> port 1 pin 14 cfg 0
> > >> port 1 pin 15 cfg 0
> > >> port 1 pin 16 cfg 0
> > >> port 1 pin 17 cfg 0
> > >> port 1 pin 18 cfg 0
> > >> port 1 pin 19 cfg 0
> > >> port 1 pin 20 cfg 0
> > >> port 1 pin 21 cfg 0
> > >> port 1 pin 22 cfg 2
> > >> port 1 pin 23 cfg 2
> > >> gpio1 at sxipio0: 24 pins
> > >> port 2 pin 0 cfg 0
> > >> port 2 pin 1 cfg 0
> > >> port 2 pin 2 cfg 0
> > >> port 2 pin 3 cfg 0
> > >> port 2 pin 4 cfg 0
> > >> port 2 pin 5 cfg 0
> > >> port 2 pin 6 cfg 0
> > >> port 2 pin 7 cfg 0
> > >> port 2 pin 8 cfg 0
> > >> port 2 pin 9 cfg 0
> > >> port 2 pin 10 cfg 0
> > >> port 2 pin 11 cfg 0
> > >> port 2 pin 12 cfg 0
> > >> port 2 pin 13 cfg 0
> > >> port 2 pin 14 cfg 0
> > >> port 2 pin 15 cfg 0
> > >> port 2 pin 16 cfg 0
> > >> port 2 pin 17 cfg 0
> > >> port 2 pin 18 cfg 0
> > >> port 2 pin 19 cfg 0
> > >> port 2 pin 20 cfg 0
> > >> port 2 pin 21 cfg 0
> > >> port 2 pin 22 cfg 0
> > >> port 2 pin 23 cfg 0
> > >> port 2 pin 24 cfg 0
> > >> gpio2 at sxipio0: 25 pins
> > >> port 3 pin 0 cfg 0
> > >> port 3 pin 1 cfg 0
> > >> port 3 pin 2 cfg 0
> > >> port 3 pin 3 cfg 0
> > >> port 3 pin 4 cfg 0
> > >> port 3 pin 5 cfg 0
> > >> port 3 pin 6 cfg 0
> > >> port 3 pin 7 cfg 0
> > >> port 3 pin 8 cfg 0
> > >> port 3 pin 9 cfg 0
> > >> port 3 pin 10 cfg 0
> > >> port 3 pin 11 cfg 0
> > >> port 3 pin 12 cfg 0
> > >> port 3 pin 13 cfg 0
> > >> port 3 pin 14 cfg 0
> > >> port 3 pin 15 cfg 0
> > >> port 3 pin 16 cfg 0
> > >> port 3 pin 17 cfg 0
> > >> port 3 pin 18 cfg 0
> > >> port 3 pin 19 cfg 0
> > >> port 3 pin 20 cfg 0
> > >> port 3 pin 21 cfg 0
> > >> port 3 pin 22 cfg 0
> > >> port 3 pin 23 cfg 0
> > >> port 3 pin 24 cfg 0
> > >> port 3 pin 25 cfg 0
> > >> port 3 pin 26 cfg 0
> > >> port 3 pin 27 cfg 0
> > >> gpio3 at sxipio0: 28 pins
> > >> port 4 pin 0 cfg 0
> > >> port 4 pin 1 cfg 0
> > >> port 4 pin 2 cfg 0
> > >> port 4 pin 3 cfg 0
> > >> port 4 pin 4 cfg 0
> > >> port 4 pin 5 cfg 0
> > >> port 4 pin 6 cfg 0
> > >> port 4 pin 7 cfg 0
> > >> port 4 pin 8 cfg 0
> > >> port 4 pin 9 cfg 0
> > >> port 4 pin 10 cfg 0
> > >> port 4 pin 11 cfg 0
> > >> gpio4 at sxipio0: 12 pins
> > >> port 5 pin 0 cfg 2
> > >> port 5 pin 1 cfg 2
> > >> port 5 pin 2 cfg 2
> > >> port 5 pin 3 cfg 2
> > >> port 5 pin 4 cfg 2
> > >> port 5 pin 5 cfg 2
> > >> gpio5 at sxipio0: 6 pins
> > >> port 6 pin 0 cfg 0
> > >> port 6 pin 1 cfg 0
> > >> port 6 pin 2 cfg 0
> > >> port 6 pin 3 cfg 0
> > >> port 6 pin 4 cfg 0
> > >> port 6 pin 5 cfg 0
> > >> port 6 pin 6 cfg 0
> > >> port 6 pin 7 cfg 0
> > >> port 6 pin 8 cfg 0
> > >> port 6 pin 9 cfg 0
> > >> port 6 pin 10 cfg 0
> > >> port 6 pin 11 cfg 0
> > >> gpio6 at sxipio0: 12 pins
> > >> port 7 pin 0 cfg 0
> > >> port 7 pin 1 cfg 0
> > >> port 7 pin 2 cfg 1
> > >> port 7 pin 3 cfg 1
> > >> port 7 pin 4 cfg 0
> > >> port 7 pin 5 cfg 0
> > >> port 7 pin 6 cfg 1
> > >> port 7 pin 7 cfg 0
> > >> port 7 pin 8 cfg 0
> > >> port 7 pin 9 cfg 0
> > >> port 7 pin 10 cfg 0
> > >> port 7 pin 11 cfg 1
> > >> port 7 pin 12 cfg 0
> > >> port 7 pin 13 cfg 0
> > >> port 7 pin 14 cfg 0
> > >> port 7 pin 15 cfg 0
> > >> port 7 pin 16 cfg 0
> > >> port 7 pin 17 cfg 0
> > >> port 7 pin 18 cfg 0
> > >> port 7 pin 19 cfg 0
> > >> port 7 pin 20 cfg 0
> > >> port 7 pin 21 cfg 0
> > >> port 7 pin 22 cfg 0
> > >> port 7 pin 23 cfg 0
> > >> port 7 pin 24 cfg 0
> > >> port 7 pin 25 cfg 0
> > >> port 7 pin 26 cfg 0
> > >> port 7 pin 27 cfg 0
> > >> gpio7 at sxipio0: 28 pins
> > >> port 8 pin 0 cfg 0
> > >> port 8 pin 1 cfg 0
> > >> port 8 pin 2 cfg 0
> > >> port 8 pin 3 cfg 0
> > >> port 8 pin 4 cfg 0
> > >> port 8 pin 5 cfg 0
> > >> port 8 pin 6 cfg 0
> > >> port 8 pin 7 cfg 0
> > >> port 8 pin 8 cfg 0
> > >> port 8 pin 9 cfg 0
> > >> port 8 pin 10 cfg 0
> > >> port 8 pin 11 cfg 0
> > >> port 8 pin 12 cfg 0
> > >> port 8 pin 13 cfg 0
> > >> port 8 pin 14 cfg 0
> > >> port 8 pin 15 cfg 0
> > >> port 8 pin 16 cfg 0
> > >> port 8 pin 17 cfg 0
> > >> port 8 pin 18 cfg 0
> > >> port 8 pin 19 cfg 0
> > >> port 8 pin 20 cfg 0
> > >> port 8 pin 21 cfg 0
> > >> gpio8 at sxipio0: 22 pins
> > >> enable irq 54 register 104 bitmask 00400000
> > >> enable irq 55 register 104 bitmask 00800000
> > >> Timecounters tick every 10.000 msec
> > >> dev=0x1802 chrdev=0x1802 rawdev=0x1802
> > >> dev=0x1202 chrdev=0x1202 rawdev=0x1202
> > >>
> > >
> > >> U-Boot SPL 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24)
> > >> DRAM: 1024 MiB
> > >> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> > >>
> > >>
> > >> U-Boot 2015.10-rc3-00297-g1a9c229 (Sep 30 2015 - 21:47:24 +0200) Allwinner Technology
> > >>
> > >> CPU:   Allwinner A20 (SUN7I)
> > >> I2C:   ready
> > >> DRAM:  1 GiB
> > >> MMC:   SUNXI SD/MMC: 0
> > >> *** Warning - bad CRC, using default environment
> > >>
> > >> In:    serial
> > >> Out:   serial
> > >> Err:   serial
> > >> SCSI:  SUNXI SCSI INIT
> > >> SATA link 0 timeout.
> > >> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> > >> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> > >> Net:   eth0: ethernet@01c50000
> > >> starting USB...
> > >> USB0:   USB EHCI 1.00
> > >> USB1:   USB OHCI 1.0
> > >> USB2:   USB EHCI 1.00
> > >> USB3:   USB OHCI 1.0
> > >> scanning bus 0 for devices... 1 USB Device(s) found
> > >> scanning bus 2 for devices... 1 USB Device(s) found
> > >> Hit any key to stop autoboot:  0
> > >> => fatload mmc 0 0x40200000 bsd.umg; bootm 0x40200000
> > >> reading bsd.umg
> > >> 8029540 bytes read in 407 ms (18.8 MiB/s)
> > >> ## Booting kernel from Legacy Image at 40200000 ...
> > >>   Image Name:   boot
> > >>   Image Type:   ARM Linux Kernel Image (uncompressed)
> > >>   Data Size:    8029476 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 serial 0x16516604:080264c0
> > >> atag mem start 0x40000000 size 0x40000000
> > >> bootfile:
> > >> bootargs:
> > >> memory size derived from u-boot
> > >> bootconf.mem[0].address = 40000000 pages 262144/0x40000000
> > >> physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
> > >> 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) #6: Wed Sep 30 21:51:18 CEST 2015
> > >>    [hidden email]:/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: ctrl 0 mode 0
> > >>
> > >> sxirtc0 at sunxi0
> > >> sxiuart0 at sunxi0: consoleenable irq 33 register 104 bitmask 00000002
> > >>
> > >> sxiuart1 at sunxi0enable irq 34 register 104 bitmask 00000004
> > >>
> > >> sxiuart2 at sunxi0enable irq 35 register 104 bitmask 00000008
> > >>
> > >> sxiuart3 at sunxi0enable irq 36 register 104 bitmask 00000010
> > >>
> > >> sxiuart4 at sunxi0enable irq 49 register 104 bitmask 00020000
> > >>
> > >> sxiuart5 at sunxi0enable irq 50 register 104 bitmask 00040000
> > >>
> > >> sxiuart6 at sunxi0enable irq 51 register 104 bitmask 00080000
> > >>
> > >> sxiuart7 at sunxi0enable irq 52 register 104 bitmask 00100000
> > >>
> > >> sxie0 at sunxi0enable irq 87 register 108 bitmask 00800000
> > >> , address 02:04:08:02:64:c0
> > >> rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
> > >> rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
> > >> ahci0 at sunxi0enable irq 88 register 108 bitmask 01000000
> > >> AHCI 1.1
> > >> scsibus0 at ahci0: 32 targets
> > >> ehci0 at sunxi0
> > >> enable irq 71 register 108 bitmask 00000080
> > >> usb0 at ehci0: USB revision 2.0
> > >> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> > >> ehci1 at sunxi0
> > >> enable irq 72 register 108 bitmask 00000100
> > >> usb1 at ehci1: USB revision 2.0
> > >> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> > >> port 0 pin 0 cfg 2
> > >> port 0 pin 1 cfg 2
> > >> port 0 pin 2 cfg 2
> > >> port 0 pin 3 cfg 2
> > >> port 0 pin 4 cfg 2
> > >> port 0 pin 5 cfg 2
> > >> port 0 pin 6 cfg 2
> > >> port 0 pin 7 cfg 2
> > >> port 0 pin 8 cfg 2
> > >> port 0 pin 9 cfg 2
> > >> port 0 pin 10 cfg 2
> > >> port 0 pin 11 cfg 2
> > >> port 0 pin 12 cfg 2
> > >> port 0 pin 13 cfg 2
> > >> port 0 pin 14 cfg 2
> > >> port 0 pin 15 cfg 2
> > >> port 0 pin 16 cfg 2
> > >> port 0 pin 17 cfg 2
> > >> gpio0 at sxipio0: 18 pins
> > >> port 1 pin 0 cfg 2
> > >> port 1 pin 1 cfg 2
> > >> port 1 pin 2 cfg 0
> > >> port 1 pin 3 cfg 0
> > >> port 1 pin 4 cfg 0
> > >> port 1 pin 5 cfg 0
> > >> port 1 pin 6 cfg 0
> > >> port 1 pin 7 cfg 0
> > >> port 1 pin 8 cfg 1
> > >> port 1 pin 9 cfg 0
> > >> port 1 pin 10 cfg 0
> > >> port 1 pin 11 cfg 0
> > >> port 1 pin 12 cfg 0
> > >> port 1 pin 13 cfg 0
> > >> port 1 pin 14 cfg 0
> > >> port 1 pin 15 cfg 0
> > >> port 1 pin 16 cfg 0
> > >> port 1 pin 17 cfg 0
> > >> port 1 pin 18 cfg 0
> > >> port 1 pin 19 cfg 0
> > >> port 1 pin 20 cfg 0
> > >> port 1 pin 21 cfg 0
> > >> port 1 pin 22 cfg 2
> > >> port 1 pin 23 cfg 2
> > >> gpio1 at sxipio0: 24 pins
> > >> port 2 pin 0 cfg 0
> > >> port 2 pin 1 cfg 0
> > >> port 2 pin 2 cfg 0
> > >> port 2 pin 3 cfg 0
> > >> port 2 pin 4 cfg 0
> > >> port 2 pin 5 cfg 0
> > >> port 2 pin 6 cfg 0
> > >> port 2 pin 7 cfg 0
> > >> port 2 pin 8 cfg 0
> > >> port 2 pin 9 cfg 0
> > >> port 2 pin 10 cfg 0
> > >> port 2 pin 11 cfg 0
> > >> port 2 pin 12 cfg 0
> > >> port 2 pin 13 cfg 0
> > >> port 2 pin 14 cfg 0
> > >> port 2 pin 15 cfg 0
> > >> port 2 pin 16 cfg 0
> > >> port 2 pin 17 cfg 0
> > >> port 2 pin 18 cfg 0
> > >> port 2 pin 19 cfg 0
> > >> port 2 pin 20 cfg 0
> > >> port 2 pin 21 cfg 0
> > >> port 2 pin 22 cfg 0
> > >> port 2 pin 23 cfg 0
> > >> port 2 pin 24 cfg 0
> > >> gpio2 at sxipio0: 25 pins
> > >> port 3 pin 0 cfg 0
> > >> port 3 pin 1 cfg 0
> > >> port 3 pin 2 cfg 0
> > >> port 3 pin 3 cfg 0
> > >> port 3 pin 4 cfg 0
> > >> port 3 pin 5 cfg 0
> > >> port 3 pin 6 cfg 0
> > >> port 3 pin 7 cfg 0
> > >> port 3 pin 8 cfg 0
> > >> port 3 pin 9 cfg 0
> > >> port 3 pin 10 cfg 0
> > >> port 3 pin 11 cfg 0
> > >> port 3 pin 12 cfg 0
> > >> port 3 pin 13 cfg 0
> > >> port 3 pin 14 cfg 0
> > >> port 3 pin 15 cfg 0
> > >> port 3 pin 16 cfg 0
> > >> port 3 pin 17 cfg 0
> > >> port 3 pin 18 cfg 0
> > >> port 3 pin 19 cfg 0
> > >> port 3 pin 20 cfg 0
> > >> port 3 pin 21 cfg 0
> > >> port 3 pin 22 cfg 0
> > >> port 3 pin 23 cfg 0
> > >> port 3 pin 24 cfg 0
> > >> port 3 pin 25 cfg 0
> > >> port 3 pin 26 cfg 0
> > >> port 3 pin 27 cfg 0
> > >> gpio3 at sxipio0: 28 pins
> > >> port 4 pin 0 cfg 0
> > >> port 4 pin 1 cfg 0
> > >> port 4 pin 2 cfg 0
> > >> port 4 pin 3 cfg 0
> > >> port 4 pin 4 cfg 0
> > >> port 4 pin 5 cfg 0
> > >> port 4 pin 6 cfg 0
> > >> port 4 pin 7 cfg 0
> > >> port 4 pin 8 cfg 0
> > >> port 4 pin 9 cfg 0
> > >> port 4 pin 10 cfg 0
> > >> port 4 pin 11 cfg 0
> > >> gpio4 at sxipio0: 12 pins
> > >> port 5 pin 0 cfg 2
> > >> port 5 pin 1 cfg 2
> > >> port 5 pin 2 cfg 2
> > >> port 5 pin 3 cfg 2
> > >> port 5 pin 4 cfg 2
> > >> port 5 pin 5 cfg 2
> > >> gpio5 at sxipio0: 6 pins
> > >> port 6 pin 0 cfg 0
> > >> port 6 pin 1 cfg 0
> > >> port 6 pin 2 cfg 0
> > >> port 6 pin 3 cfg 0
> > >> port 6 pin 4 cfg 0
> > >> port 6 pin 5 cfg 0
> > >> port 6 pin 6 cfg 0
> > >> port 6 pin 7 cfg 0
> > >> port 6 pin 8 cfg 0
> > >> port 6 pin 9 cfg 0
> > >> port 6 pin 10 cfg 0
> > >> port 6 pin 11 cfg 0
> > >> gpio6 at sxipio0: 12 pins
> > >> port 7 pin 0 cfg 0
> > >> port 7 pin 1 cfg 0
> > >> port 7 pin 2 cfg 1
> > >> port 7 pin 3 cfg 1
> > >> port 7 pin 4 cfg 0
> > >> port 7 pin 5 cfg 0
> > >> port 7 pin 6 cfg 1
> > >> port 7 pin 7 cfg 0
> > >> port 7 pin 8 cfg 0
> > >> port 7 pin 9 cfg 0
> > >> port 7 pin 10 cfg 0
> > >> port 7 pin 11 cfg 1
> > >> port 7 pin 12 cfg 0
> > >> port 7 pin 13 cfg 0
> > >> port 7 pin 14 cfg 0
> > >> port 7 pin 15 cfg 0
> > >> port 7 pin 16 cfg 0
> > >> port 7 pin 17 cfg 0
> > >> port 7 pin 18 cfg 0
> > >> port 7 pin 19 cfg 0
> > >> port 7 pin 20 cfg 0
> > >> port 7 pin 21 cfg 0
> > >> port 7 pin 22 cfg 0
> > >> port 7 pin 23 cfg 0
> > >> port 7 pin 24 cfg 0
> > >> port 7 pin 25 cfg 0
> > >> port 7 pin 26 cfg 0
> > >> port 7 pin 27 cfg 0
> > >> gpio7 at sxipio0: 28 pins
> > >> port 8 pin 0 cfg 0
> > >> port 8 pin 1 cfg 0
> > >> port 8 pin 2 cfg 0
> > >> port 8 pin 3 cfg 0
> > >> port 8 pin 4 cfg 0
> > >> port 8 pin 5 cfg 0
> > >> port 8 pin 6 cfg 0
> > >> port 8 pin 7 cfg 0
> > >> port 8 pin 8 cfg 0
> > >> port 8 pin 9 cfg 0
> > >> port 8 pin 10 cfg 0
> > >> port 8 pin 11 cfg 0
> > >> port 8 pin 12 cfg 0
> > >> port 8 pin 13 cfg 0
> > >> port 8 pin 14 cfg 0
> > >> port 8 pin 15 cfg 0
> > >> port 8 pin 16 cfg 0
> > >> port 8 pin 17 cfg 0
> > >> port 8 pin 18 cfg 0
> > >> port 8 pin 19 cfg 0
> > >> port 8 pin 20 cfg 0
> > >> port 8 pin 21 cfg 0
> > >> gpio8 at sxipio0: 22 pins
> > >> enable irq 54 register 104 bitmask 00400000
> > >> enable irq 55 register 104 bitmask 00800000
> > >> Timecounters tick every 10.000 msec
> > >> dev=0x1202 chrdev=0x1202 rawdev=0x1202
> >
> >
>

Reply | Threaded
Open this post in threaded view
|

Re: pcDuino3_Nano mount root problems on boot

Daniel Bolgheroni-3
In reply to this post by Leonardo Guardati-2
On Sat, Oct 03, 2015 at 11:54:51AM +0200, Leonardo Guardati wrote:
> Hi,
>   I'm back trying to make the pcDuino3_Nano board
> work with OpenBSD.

Just to report, no solutions yet. I have a Cubieboard 2 and a Banana Pi,
both with the A20 SoC like pcDuino3.

With an unmodified RAMDISK, Cubieboard 2 works as reported on your output1.
Disabling ehci* and usb*, I get to the point as reported on your output2.
However, both kernels boot OK on QEMU (below). Didn't test on Banana Pi yet,
however I expect the same results as Cubieboard 2.

Also still not able also to live debug these boards.

$ qemu-system-arm -M cubieboard -kernel bsd.rd.SUNXI.umg -m 1024M -nographic

(process:23304): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported

OpenBSD/sunxi booting ...
arg0 0x0 arg1 0x1008 arg2 0x40000100
atag core flags 1 pagesize 1000 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: 4104
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) #11: Sun Oct  4 14:35:22 BRT 2015
    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 1073741824 (1024MB)
avail mem = 1041674240 (993MB)
mainbus0 at root
cpu0 at mainbus0: ARM Cortex A8 rev 0 (ARMv7 core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 16KB(64b/l,4way) I-cache, 16KB(64b/l,4way) wr-back D-cache
sunxi0 at mainbus0: Allwinner A1x
sxipio0 at sunxi0
sxiccmu0 at sunxi0
a1xintc0 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 fe:e1:ba:d0:30:8d
rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1
ahci0 at sunxi0: AHCI phy power up failed.
ehci0 at sunxi0
ehci0: halt timeout
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
uhub0: no ports, hub ignored
usb0: root device is not a hub
ehci1 at sunxi0
ehci1: halt timeout
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
uhub1: no ports, hub ignored
usb1: root device is not a hub
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
boot device: lookup '' failed.
root on rd0a swap on rd0b dump on rd0b
WARNING: preposterous clock chip time
WARNING: CHECK AND RESET THE DATE!
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/armv7 5.8 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?

--
db

Reply | Threaded
Open this post in threaded view
|

Re: pcDuino3_Nano mount root problems on boot

Leonardo Guardati-2
AJust to let others know (maybe some ideas come up),
I've noticed that if I put printfs on the execution path
of timer interrupt responses, the system behave differently than
not having those printfs (so maybe there is some kind of race
condition on priority settings of IRQ# that is triggered based on the
execution time of the interrupt code).

The trick I've made to receive some "readable" output in the printf()s
case, was to print a space and a backspace:

printf(" \b");

and the result is a little step ahead...but still not enough:

NOTE: the first time it asks for shell executable I press enter, the
second time I've inserted /bin/ksh


U-Boot SPL 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2


U-Boot 2015.10-rc4-00050-g996ec1d (Oct 04 2015 - 13:27:50 +0200) Allwinner Technology

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

In:    serial
Out:   serial
Err:   serial
SCSI:  SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
167 bytes read in 17 ms (8.8 KiB/s)
## Executing script at 43100000
reading bsd.umg
5688052 bytes read in 294 ms (18.5 MiB/s)
## Booting kernel from Legacy Image at 40200000 ...
   Image Name:   boot
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5687988 Bytes = 5.4 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 serial 0x16516604:080264c0
atag mem start 0x40000000 size 0x40000000
bootfile:
bootargs:
memory size derived from u-boot
bootconf.mem[0].address = 40000000 pages 262144/0x40000000
physmemory: 262144 pages at 0x40000000 -> 0x7fffffff
Allocating page tables
freestart = 0x4086d000, free_pages = 259987 (0x0003f793)
IRQ stack: p0x4089b000 v0xc089b000
ABT stack: p0x4089c000 v0xc089c000
UND stack: p0x4089d000 v0xc089d000
SVC stack: p0x4089e000 v0xc089e000
Creating L1 page table at 0x40870000
Mapping kernel
Constructing L2 page tables
undefined page pmap [ using 251020 bytes of bsd ELF symbol table ]
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) #22: Mon Oct 12 22:37:56 CEST 2015
    [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 1073741824 (1024MB)
avail mem = 1043972096 (995MB)
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: ctrl 0 mode 0

sxirtc0 at sunxi0
sxiuart0 at sunxi0: consoleampintc_intr_establish irq 33 level 7 [sxiuart0]
enable irq 33 register 104 bitmask 00000002

sxiuart1 at sunxi0ampintc_intr_establish irq 34 level 7 [sxiuart1]
enable irq 34 register 104 bitmask 00000004

sxiuart2 at sunxi0ampintc_intr_establish irq 35 level 7 [sxiuart2]
enable irq 35 register 104 bitmask 00000008

sxiuart3 at sunxi0ampintc_intr_establish irq 36 level 7 [sxiuart3]
enable irq 36 register 104 bitmask 00000010

sxiuart4 at sunxi0ampintc_intr_establish irq 49 level 7 [sxiuart4]
enable irq 49 register 104 bitmask 00020000

sxiuart5 at sunxi0ampintc_intr_establish irq 50 level 7 [sxiuart5]
enable irq 50 register 104 bitmask 00040000

sxiuart6 at sunxi0ampintc_intr_establish irq 51 level 7 [sxiuart6]
enable irq 51 register 104 bitmask 00080000

sxiuart7 at sunxi0ampintc_intr_establish irq 52 level 7 [sxiuart7]
enable irq 52 register 104 bitmask 00100000

sxie0 at sunxi0ampintc_intr_establish irq 87 level 6 [sxie0]
enable irq 87 register 108 bitmask 00800000
, address 02:04:08:02:64:c0
rgephy0 at sxie0 phy 0: RTL8169S/8110S/8211 PHY, rev. 5
rgephy1 at sxie0 phy 1: RTL8169S/8110S/8211 PHY, rev. 5
ahci0 at sunxi0ampintc_intr_establish irq 88 level 5 [ahci0]
enable irq 88 register 108 bitmask 01000000
 AHCI 1.1
scsibus0 at ahci0: 32 targets
sunxi0: device ehci unit 0 not configured
sunxi0: device ehci unit 1 not configured
port 0 pin 0 cfg 2
port 0 pin 1 cfg 2
port 0 pin 2 cfg 2
port 0 pin 3 cfg 2
port 0 pin 4 cfg 2
port 0 pin 5 cfg 2
port 0 pin 6 cfg 2
port 0 pin 7 cfg 2
port 0 pin 8 cfg 2
port 0 pin 9 cfg 2
port 0 pin 10 cfg 2
port 0 pin 11 cfg 2
port 0 pin 12 cfg 2
port 0 pin 13 cfg 2
port 0 pin 14 cfg 2
port 0 pin 15 cfg 2
port 0 pin 16 cfg 2
port 0 pin 17 cfg 2
gpio0 at sxipio0: 18 pins
port 1 pin 0 cfg 2
port 1 pin 1 cfg 2
port 1 pin 2 cfg 0
port 1 pin 3 cfg 0
port 1 pin 4 cfg 0
port 1 pin 5 cfg 0
port 1 pin 6 cfg 0
port 1 pin 7 cfg 0
port 1 pin 8 cfg 1
port 1 pin 9 cfg 0
port 1 pin 10 cfg 0
port 1 pin 11 cfg 0
port 1 pin 12 cfg 0
port 1 pin 13 cfg 0
port 1 pin 14 cfg 0
port 1 pin 15 cfg 0
port 1 pin 16 cfg 0
port 1 pin 17 cfg 0
port 1 pin 18 cfg 0
port 1 pin 19 cfg 0
port 1 pin 20 cfg 0
port 1 pin 21 cfg 0
port 1 pin 22 cfg 2
port 1 pin 23 cfg 2
gpio1 at sxipio0: 24 pins
port 2 pin 0 cfg 0
port 2 pin 1 cfg 0
port 2 pin 2 cfg 0
port 2 pin 3 cfg 0
port 2 pin 4 cfg 0
port 2 pin 5 cfg 0
port 2 pin 6 cfg 0
port 2 pin 7 cfg 0
port 2 pin 8 cfg 0
port 2 pin 9 cfg 0
port 2 pin 10 cfg 0
port 2 pin 11 cfg 0
port 2 pin 12 cfg 0
port 2 pin 13 cfg 0
port 2 pin 14 cfg 0
port 2 pin 15 cfg 0
port 2 pin 16 cfg 0
port 2 pin 17 cfg 0
port 2 pin 18 cfg 0
port 2 pin 19 cfg 0
port 2 pin 20 cfg 0
port 2 pin 21 cfg 0
port 2 pin 22 cfg 0
port 2 pin 23 cfg 0
port 2 pin 24 cfg 0
gpio2 at sxipio0: 25 pins
port 3 pin 0 cfg 0
port 3 pin 1 cfg 0
port 3 pin 2 cfg 0
port 3 pin 3 cfg 0
port 3 pin 4 cfg 0
port 3 pin 5 cfg 0
port 3 pin 6 cfg 0
port 3 pin 7 cfg 0
port 3 pin 8 cfg 0
port 3 pin 9 cfg 0
port 3 pin 10 cfg 0
port 3 pin 11 cfg 0
port 3 pin 12 cfg 0
port 3 pin 13 cfg 0
port 3 pin 14 cfg 0
port 3 pin 15 cfg 0
port 3 pin 16 cfg 0
port 3 pin 17 cfg 0
port 3 pin 18 cfg 0
port 3 pin 19 cfg 0
port 3 pin 20 cfg 0
port 3 pin 21 cfg 0
port 3 pin 22 cfg 0
port 3 pin 23 cfg 0
port 3 pin 24 cfg 0
port 3 pin 25 cfg 0
port 3 pin 26 cfg 0
port 3 pin 27 cfg 0
gpio3 at sxipio0: 28 pins
port 4 pin 0 cfg 0
port 4 pin 1 cfg 0
port 4 pin 2 cfg 0
port 4 pin 3 cfg 0
port 4 pin 4 cfg 0
port 4 pin 5 cfg 0
port 4 pin 6 cfg 0
port 4 pin 7 cfg 0
port 4 pin 8 cfg 0
port 4 pin 9 cfg 0
port 4 pin 10 cfg 0
port 4 pin 11 cfg 0
gpio4 at sxipio0: 12 pins
port 5 pin 0 cfg 2
port 5 pin 1 cfg 2
port 5 pin 2 cfg 2
port 5 pin 3 cfg 2
port 5 pin 4 cfg 2
port 5 pin 5 cfg 2
gpio5 at sxipio0: 6 pins
port 6 pin 0 cfg 0
port 6 pin 1 cfg 0
port 6 pin 2 cfg 0
port 6 pin 3 cfg 0
port 6 pin 4 cfg 0
port 6 pin 5 cfg 0
port 6 pin 6 cfg 0
port 6 pin 7 cfg 0
port 6 pin 8 cfg 0
port 6 pin 9 cfg 0
port 6 pin 10 cfg 0
port 6 pin 11 cfg 0
gpio6 at sxipio0: 12 pins
port 7 pin 0 cfg 0
port 7 pin 1 cfg 0
port 7 pin 2 cfg 1
port 7 pin 3 cfg 1
port 7 pin 4 cfg 0
port 7 pin 5 cfg 0
port 7 pin 6 cfg 0
port 7 pin 7 cfg 0
port 7 pin 8 cfg 0
port 7 pin 9 cfg 0
port 7 pin 10 cfg 0
port 7 pin 11 cfg 1
port 7 pin 12 cfg 0
port 7 pin 13 cfg 0
port 7 pin 14 cfg 0
port 7 pin 15 cfg 0
port 7 pin 16 cfg 0
port 7 pin 17 cfg 0
port 7 pin 18 cfg 0
port 7 pin 19 cfg 0
port 7 pin 20 cfg 0
port 7 pin 21 cfg 0
port 7 pin 22 cfg 0
port 7 pin 23 cfg 0
port 7 pin 24 cfg 0
port 7 pin 25 cfg 0
port 7 pin 26 cfg 0
port 7 pin 27 cfg 0
gpio7 at sxipio0: 28 pins
port 8 pin 0 cfg 0
port 8 pin 1 cfg 0
port 8 pin 2 cfg 0
port 8 pin 3 cfg 0
port 8 pin 4 cfg 0
port 8 pin 5 cfg 0
port 8 pin 6 cfg 0
port 8 pin 7 cfg 0
port 8 pin 8 cfg 0
port 8 pin 9 cfg 0
port 8 pin 10 cfg 0
port 8 pin 11 cfg 0
port 8 pin 12 cfg 0
port 8 pin 13 cfg 0
port 8 pin 14 cfg 0
port 8 pin 15 cfg 0
port 8 pin 16 cfg 0
port 8 pin 17 cfg 0
port 8 pin 18 cfg 0
port 8 pin 19 cfg 0
port 8 pin 20 cfg 0
port 8 pin 21 cfg 0
gpio8 at sxipio0: 22 pins
ampintc_intr_establish irq 54 level 10 [tick]
enable irq 54 register 104 bitmask 00400000
ampintc_intr_establish irq 55 level 11 [stattick]
enable irq 55 register 104 bitmask 00800000
Timecounters tick every 10.000 msec
after fork...before kthread_run_deferred_queue()
after kthread_run_deferred_queue()
before dostartuphooks()
after dostartuphooks()
boot device: lookup '' failed.
dev=0x1202 chrdev=0x1202 rawdev=0x1202
root on rd0a swap on rd0b dump on rd0bschClk
after diskconf()
dev=0x1200 chrdev=0x1200 rawdev=0x1202
WARNING: clock lost 2110 days
WARNING: CHECK AND RESET THE DATE!
after mountroot()
before uvm_swap_init()
before start_init_exec()
before idle...
schClk init: copying out path `/sbin/init' 11
Entering sys_execve()
Got Here
returned from sys_execve().
after KERNEL_UNLOCK
Jan  1 00:33:39 init: cannot stat /etc/login.conf: No such file Entering sys_execve()
Got Here
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
or directory
init: already running
Enter pathname of shell or RETURN for sh:  
Entering sys_execve()
Got Here
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
init: already running
Jan  1 00:33:48 init: cannot stat /etc/login.conf: No such file Entering sys_execve()
Got Here
or directory
init: already running
Enter pathname of shell or RETURN for sh: /bin/ksh
Entering sys_execve()
Got Here
init: already running
Jan  1 00:33:56 init: cannot stat /etc/login.conf: No such file Entering sys_execve()
Got Here
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
pmap_fault_fixup: va 00008000 ftype 5 u pte 7ff5702e
or directory
init: already running
Enter pathname of shell or RETURN for sh:





Leonardo


On Tue, Oct 13, 2015 at 11:45:16PM -0300, Daniel Bolgheroni wrote:

> On Sat, Oct 03, 2015 at 11:54:51AM +0200, Leonardo Guardati wrote:
> > Hi,
> >   I'm back trying to make the pcDuino3_Nano board
> > work with OpenBSD.
>
> Just to report, no solutions yet. I have a Cubieboard 2 and a Banana Pi,
> both with the A20 SoC like pcDuino3.
>
> With an unmodified RAMDISK, Cubieboard 2 works as reported on your output1.
> Disabling ehci* and usb*, I get to the point as reported on your output2.
> However, both kernels boot OK on QEMU (below). Didn't test on Banana Pi yet,
> however I expect the same results as Cubieboard 2.
>
> Also still not able also to live debug these boards.
>
> $ qemu-system-arm -M cubieboard -kernel bsd.rd.SUNXI.umg -m 1024M -nographic
>
> (process:23304): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported
>
> OpenBSD/sunxi booting ...
> arg0 0x0 arg1 0x1008 arg2 0x40000100
> atag core flags 1 pagesize 1000 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: 4104
> 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) #11: Sun Oct  4 14:35:22 BRT 2015
>     [hidden email]:/usr/src/sys/arch/armv7/compile/RAMDISK
> real mem  = 1073741824 (1024MB)
> avail mem = 1041674240 (993MB)
> mainbus0 at root
> cpu0 at mainbus0: ARM Cortex A8 rev 0 (ARMv7 core)
> cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu0: 16KB(64b/l,4way) I-cache, 16KB(64b/l,4way) wr-back D-cache
> sunxi0 at mainbus0: Allwinner A1x
> sxipio0 at sunxi0
> sxiccmu0 at sunxi0
> a1xintc0 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 fe:e1:ba:d0:30:8d
> rlphy0 at sxie0 phy 1: RTL8201L 10/100 PHY, rev. 1
> ahci0 at sunxi0: AHCI phy power up failed.
> ehci0 at sunxi0
> ehci0: halt timeout
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> uhub0: no ports, hub ignored
> usb0: root device is not a hub
> ehci1 at sunxi0
> ehci1: halt timeout
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Allwinner EHCI root hub" rev 2.00/1.00 addr 1
> uhub1: no ports, hub ignored
> usb1: root device is not a hub
> 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
> boot device: lookup '' failed.
> root on rd0a swap on rd0b dump on rd0b
> WARNING: preposterous clock chip time
> WARNING: CHECK AND RESET THE DATE!
> erase ^?, werase ^W, kill ^U, intr ^C, status ^T
>
> Welcome to the OpenBSD/armv7 5.8 installation program.
> (I)nstall, (U)pgrade, (A)utoinstall or (S)hell?
>
> --
> db
>