Hi, > Here is a start for H6 support in sxiccmu(4). Can you try this and > send me new console output?
here is the log, >> OpenBSD/arm64 BOOTAA64 0.19 boot> cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:/bsd: 7387744+1595656+539688+846616 [613289+109+862200+523876]=0xd3ad80 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 2000448 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) #2: Fri Sep 6 22:13:47 JST 2019 r...@obsd-aarch64.uaa.org.uk:/usr/src/sys/arch/arm64/compile/GENERIC real mem = 976121856 (930MB) avail mem = 916094976 (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 sxipio0 at simplebus0sxiccmu_ccu_enable: 0x0000001a : 108 pins ampintc0 at simplebus0 nirq 192, ncpu 4: "interrupt-controller" sxiccmu1 at simplebus0 sxipio1 at simplebus0sxiccmu_ccu_enable: 0x00000003 sxiccmu_ccu_enable: 0x00000002 : 16 pins "display-engine" at simplebus0 not configured "video-codec" at simplebus0 not configured "sid" at simplebus0 not configured sximmc0 at simplebus0 sxiccmu_nop_set_frequency: 0x00000040 sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma com0 at simplebus0sxiccmu_nop_get_frequency: 0x00000046 : 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 sxitwi0 at simplebus0sxiccmu_nop_get_frequency: 0x00000008 : unknown clock frequency gpio0 at sxipio0: 32 pins gpio1 at sxipio0: 32 pins gpio2 at sxipio0: 32 pins gpio3 at sxipio0: 32 pins gpio4 at sxipio0: 32 pins gpio5 at sxipio0: 32 pins gpio6 at sxipio0: 32 pins gpio7 at sxipio0: 32 pins gpio8 at sxipio1: 32 pins gpio9 at sxipio1: 32 pins 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 sxiccmu_nop_set_frequency: 0x00000040 sdmmc0: can't supply clock sdmmc0: can't enable card 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 --- And, I have a question about previous sxipio(4) diff. Allwinner H6 datasheet says that GPIO port C, D, F, G, H, L and M are configuable. Your diff codes port A and B, are they required? Please tell me. -- SASANO Takayoshi (JG1UAA) <u...@mx5.nisiq.net>