On Thu, Jan 31, 2019 at 11:50:25PM +0900, SASANO Takayoshi wrote:
> Hello,
> 
> Recently I bought Lichee Pi Zero board, it has Allwinner V3s.
> 
> I tried to run OpenBSD-current, some devices are recognized and
> others are not recognized. Both bsd.rd and bsd didn't work
> when attaching microSD/ramdisk.
> 
> I attach the log of bsd, built from recent source tree on pcDuino.
> What can I do to debug?

There is no support for v3s in sxiccmu(4) and sxipio(4).
There is no driver for mentor usb otg "allwinner,sun8i-h3-musb"

> 
> ----
> CUI??SPL 2019.01 (Jan 27 2019 - 18:58:44 +0900)
> DRAM: 64 MiB
> Trying to boot from MMC1
> 
> 
> U-Boot 2019.01 (Jan 27 2019 - 18:58:44 +0900) Allwinner Technology
> 
> CPU:   Allwinner V3s (SUN8I 1681)
> Model: Lichee Pi Zero
> DRAM:  64 MiB
> MMC:   SUNXI SD/MMC: 0
> Loading Environment from FAT... *** Warning - bad CRC, using default 
> environment
> 
> In:    serial@01c28000
> Out:   serial@01c28000
> Err:   serial@01c28000
> Net:   No ethernet found.
> starting USB...
> No controllers found
> Hit any key to stop autoboot:  0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0:1...
> 6610 bytes read in 3 ms (2.1 MiB/s)
> Found EFI removable media binary efi/boot/bootarm.efi
> Scanning disks on usb...
> Disk usb0 not ready
> Disk usb1 not ready
> Disk usb2 not ready
> Disk usb3 not ready
> Scanning disks on mmc...
> MMC Device 1 not found
> MMC Device 2 not found
> MMC Device 3 not found
> Found 3 disks
> 89060 bytes read in 8 ms (10.6 MiB/s)
> ## Starting EFI application at 41000000 ...
> >> OpenBSD/armv7 BOOTARM 1.1
> boot> boot
> cannot open sd0a:/etc/random.seed: No such file or directory
> booting sd0a:/bsd: 4538696+682524+235396+561676 
> [300312+107+312800+276796]=0x698044
> 
> OpenBSD/armv7 booting ...
> arg0 0xc0998044 arg1 0x0 arg2 0x42d49000
> Allocating page tables
> IRQ stack: p0x409c7000 v0xc09c7000
> ABT stack: p0x409c8000 v0xc09c8000
> UND stack: p0x409c9000 v0xc09c9000
> SVC stack: p0x409ca000 v0xc09ca000
> Creating L1 page table at 0x4099c000
> Mapping kernel
> Constructing L2 page tables
> undefined page type 0x2 pa 0x40000000 va 0x40000000 pages 0x2000 attr 0x8
> type 0x7 pa 0x42000000 va 0x40000000 pages 0x5e6 attr 0x8
> type 0x2 pa 0x425e6000 va 0x425e6000 pages 0x74d attr 0x8
> type 0x1 pa 0x42d33000 va 0x42d33000 pages 0x16 attr 0x8
> type 0x6 pa 0x42d49000 va 0x42d49000 pages 0xa attr 0x8000000000000008
> type 0x0 pa 0x42d53000 va 0x42d51000 pages 0x2 attr 0x8
> type 0x6 pa 0x42d55000 va 0x42d55000 pages 0x1 attr 0x8000000000000008
> type 0x0 pa 0x42d56000 va 0x42d51000 pages 0x1 attr 0x8
> type 0x6 pa 0x42d57000 va 0x42d57000 pages 0x1 attr 0x8000000000000008
> type 0x0 pa 0x42d58000 va 0x42d58000 pages 0x2 attr 0x8
> type 0x2 pa 0x42d5a000 va 0x42d5a000 pages 0x1223 attr 0x8
> type 0x5 pa 0x43f7d000 va 0x43f7d000 pages 0x1 attr 0x8000000000000008
> type 0x2 pa 0x43f7e000 va 0x42d5a000 pages 0x82 attr 0x8
> pmap [ using 890548 bytes of bsd ELF symbol table ]
> board type: 0
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2019 OpenBSD. All rights reserved.  https://www.OpenBSD.org
> 
> OpenBSD 6.4-current (GENERIC) #5: Thu Jan 31 23:24:00 JST 2019
>     r...@pcduino.uaa.org.uk:/usr/src/sys/arch/armv7/compile/GENERIC
> real mem  = 39739392 (37MB)
> avail mem = 28778496 (27MB)
> mainbus0 at root: Lichee Pi Zero
> cpu0 at mainbus0: ARM Cortex-A7 r0p5 (ARMv7)
> 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
> cortex0 at mainbus0
> psci0 at mainbus0: PSCI 0.0
> agtimer0 at mainbus0: tick rate 24000 KHz
> simplebus0 at mainbus0: "soc"
> ampintc0 at simplebus0 nirq 160, ncpu 1: "interrupt-controller"
> sximmc0 at simplebus0
> sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
> "usb" at simplebus0 not configured
> "phy" at simplebus0 not configured
> "clock" at simplebus0 not configured
> sxirtc0 at simplebus0
> "pinctrl" at simplebus0 not configured
> "timer" at simplebus0 not configured
> sxidog0 at simplebus0
> com0 at simplebus0: ns16550, no working fifo
> com0: console
> "interrupt-controller" at simplebus0 not configured
> vscsi0 at root
> scsibus0 at vscsi0: 256 targets
> softraid0 at root
> scsibus1 at softraid0: 256 targets
> bootfile: sd0a:/bsd
> boot device: lookup sd0a:/bsd failed.
> root device: <--- hang at here
> 
> -- 
> SASANO Takayoshi (JG1UAA) <u...@mx5.nisiq.net>
> 

Reply via email to