> Date: Sun, 08 Sep 2019 17:55:12 +0900 > From: SASANO Takayoshi <u...@mx5.nisiq.net> > > Hello, > > here is the log, axp805 is recognized but SD is not recognized.
Thanks. I've committed the driver with a small fix. Maybe that'll fix the detection of the SD card. Support for the axp805 will have to be added to axpmic(4), but as far as I can tell that isn't crucial. One question: > >> OpenBSD/arm64 BOOTAA64 0.19 > boot> > cannot open sd0a:/etc/random.seed: No such file or directory > booting sd0a:/bsd: 7394236+1599040+520816+847744 > [616986+109+862248+523950]=0xd37718 > type 0x2 pa 0x40000000 va 0x40000000 pages 0x4000 attr 0x8 > type 0x7 pa 0x44000000 va 0x44000000 pages 0x3ef9 attr 0x8 > type 0x4 pa 0x47ef9000 va 0x47ef9000 pages 0xe attr 0x8 > type 0x7 pa 0x47f07000 va 0x47f07000 pages 0x323ee attr 0x8 > type 0x2 pa 0x7a2f5000 va 0x7a2f5000 pages 0xc0f attr 0x8 > type 0x1 pa 0x7af04000 va 0x7af04000 pages 0x28 attr 0x8 > type 0x0 pa 0x7af2c000 va 0x7af2c000 pages 0x9 attr 0x8 > type 0x6 pa 0x7af35000 va 0x3e024be000 pages 0x1 attr 0x8000000000000008 > type 0x0 pa 0x7af36000 va 0x7af36000 pages 0x1 attr 0x8 > type 0x6 pa 0x7af37000 va 0x3e024c0000 pages 0x1 attr 0x8000000000000008 > type 0x2 pa 0x7af38000 va 0x7af38000 pages 0x5018 attr 0x8 > type 0x5 pa 0x7ff50000 va 0x3e074d9000 pages 0x10 attr 0x8000000000000008 > type 0x2 pa 0x7ff60000 va 0x7ff60000 pages 0xa0 attr 0x8 > [ using 2004264 bytes of bsd ELF symbol table ] > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2019 OpenBSD. All rights reserved. https://www.OpenBSD.org > > OpenBSD 6.6-beta (GENERIC) #4: Sun Sep 8 16:17:10 JST 2019 > r...@obsd-aarch64.uaa.org.uk:/usr/src/sys/arch/arm64/compile/GENERIC > real mem = 976121856 (930MB) > avail mem = 916107264 (873MB) > warning: no entropy supplied by boot loader > mainbus0 at root: OrangePi One Plus > cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4 > cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache > cpu0: 512KB 64b/line 16-way L2 cache > efi0 at mainbus0: UEFI 2.7 > efi0: Das U-Boot rev 0x20190700 > apm0 at mainbus0 > psci0 at mainbus0: PSCI 1.1, SMCCC 1.1 > "internal-osc-clk" at mainbus0 not configured > "osc24M_clk" at mainbus0 not configured > "osc32k_clk" at mainbus0 not configured > agtimer0 at mainbus0: tick rate 24000 KHz > simplebus0 at mainbus0: "soc" > sxisyscon0 at simplebus0 > sxiccmu0 at simplebus0 > ampintc0 at simplebus0 nirq 192, ncpu 4: "interrupt-controller" > sxiccmu1 at simplebus0 > "display-engine" at simplebus0 not configured > "video-codec" at simplebus0 not configured > "sid" at simplebus0 not configured > "pinctrl" at simplebus0 not configured > sximmc0 at simplebus0 > sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma > com0 at simplebus0: ns16550, no working fifo > com0: console > "usb" at simplebus0 not configured > "phy" at simplebus0 not configured > ehci0 at simplebus0 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev > 2.00/1.00 addr 1 > ohci0 at simplebus0: version 1.0 > ehci1 at simplebus0 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Generic EHCI root hub" rev > 2.00/1.00 addr 1 > ohci1 at simplebus0: version 1.0 > "hdmi-phy" at simplebus0 not configured > "tcon-top" at simplebus0 not configured > "lcd-controller" at simplebus0 not configured > "interrupt-controller" at simplebus0 not configured > "pinctrl" at simplebus0 not configured > sxitwi0 at simplebus0 > iic0 at sxitwi0 > "x-powers,axp805" at iic0 addr 0x36 not configured > usb2 at ohci0: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Generic OHCI root hub" rev > 1.00/1.00 addr 1 > usb3 at ohci1: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Generic OHCI root hub" rev > 1.00/1.00 addr 1 > "leds" at mainbus0 not configured > "vcc5v" at mainbus0 not configured > "binman" at mainbus0 not configured > ohci1: 1 scheduling overruns > 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 up here Does it accept input at that point?