Crystal Kolipe <kolip...@exoticsilicon.com> wrote: > I don't have a suitable serial cable to hand to test booting a > recent OpenBSD kernel on one of the Pinephones that's sculling > around here, but I did test it at some point back in February > or March without much success.
I got curious, other than the serial console no sign of life from the phone. U-Boot SPL 2021.07 (Oct 25 2021 - 23:03:18 +0200) DRAM: 2048 MiB Trying to boot from MMC1 NOTICE: BL31: v2.5(debug):2.5 NOTICE: BL31: Built : 07:08:10, Sep 27 2021 NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) NOTICE: BL31: Found U-Boot DTB at 0x408ddc0, model: Pine64 PinePhone (1.2) INFO: ARM GICv2 driver initialized INFO: Configuring SPC Controller INFO: PMIC: Probing AXP803 on RSB INFO: PMIC: dcdc1 voltage: 3.300V INFO: PMIC: dcdc5 voltage: 1.200V INFO: PMIC: dcdc6 voltage: 1.100V INFO: PMIC: dldo1 voltage: 3.300V INFO: PMIC: dldo2 voltage: 1.800V INFO: PMIC: dldo3 voltage: 2.800V INFO: PMIC: dldo4 voltage: 1.800V INFO: PMIC: fldo1 voltage: 1.200V INFO: PMIC: Enabling DC SW INFO: BL31: Platform setup done INFO: BL31: Initializing runtime services INFO: BL31: cortex_a53: CPU workaround for 843419 was applied INFO: BL31: cortex_a53: CPU workaround for 855873 was applied INFO: BL31: cortex_a53: CPU workaround for 1530924 was applied INFO: PSCI: Suspend is unavailable INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x4a000000 INFO: SPSR = 0x3c9 U-Boot 2021.07 (Oct 25 2021 - 23:03:18 +0200) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: Pine64 PinePhone (1.2) DRAM: 2 GiB MMC: mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from FAT... Unable to use mmc 1:1... In: serial Out: serial Err: serial Net: No ethernet found. starting USB... No working controllers found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk m...@1c0f000.blk... ** Unrecognized filesystem type ** Card did not respond to voltage select! : -110 Scanning disk m...@1c10000.blk... Disk m...@1c10000.blk not ready Scanning disk m...@1c11000.blk... Found 6 disks No EFI system partition BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootaa64.efi 170694 bytes read in 10 ms (16.3 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Booting /efi\boot\bootaa64.efi disks: sd0* sd1 >> OpenBSD/arm64 BOOTAA64 1.6 boot> cannot open sd0a:/etc/random.seed: No such file or directory booting sd0a:/bsd: 2574016+696612+13009456+631664 [216000+109+596472+233168]=0x1401e58 type 0x2 pa 0x40000000 va 0x40000000 pages 0x4000 attr 0x8 type 0x7 pa 0x44000000 va 0x44000000 pages 0x3ef2 attr 0x8 type 0x9 pa 0x47ef2000 va 0x47ef2000 pages 0x1c attr 0x8 type 0x7 pa 0x47f0e000 va 0x47f0e000 pages 0x70ee5 attr 0x8 type 0x2 pa 0xb8df3000 va 0xb8df3000 pages 0x100 attr 0x8 type 0x1 pa 0xb8ef3000 va 0xb8ef3000 pages 0x2a attr 0x8 type 0x0 pa 0xb8f1d000 va 0xb8f1d000 pages 0x7 attr 0x8 type 0x4 pa 0xb8f24000 va 0xb8f24000 pages 0x1 attr 0x8 type 0x6 pa 0xb8f25000 va 0xa3863000 pages 0x4 attr 0x8000000000000008 type 0x4 pa 0xb8f29000 va 0xb8f29000 pages 0x1 attr 0x8 type 0x6 pa 0xb8f2a000 va 0xa3868000 pages 0x4 attr 0x8000000000000008 type 0x0 pa 0xb8f2e000 va 0xb8f2e000 pages 0x1 attr 0x8 type 0x4 pa 0xb8f2f000 va 0xb8f2f000 pages 0x1 attr 0x8 type 0x0 pa 0xb8f30000 va 0xb8f30000 pages 0x1 attr 0x8 type 0x4 pa 0xb8f31000 va 0xb8f31000 pages 0x2 attr 0x8 type 0x0 pa 0xb8f33000 va 0xb8f33000 pages 0x2 attr 0x8 type 0x4 pa 0xb8f35000 va 0xb8f35000 pages 0x1 attr 0x8 type 0x0 pa 0xb8f36000 va 0xb8f36000 pages 0x1 attr 0x8 type 0x4 pa 0xb8f37000 va 0xb8f37000 pages 0x2 attr 0x8 type 0x0 pa 0xb8f39000 va 0xb8f39000 pages 0x1 attr 0x8 type 0x4 pa 0xb8f3a000 va 0xb8f3a000 pages 0x2 attr 0x8 type 0x2 pa 0xb8f3c000 va 0xb8f3c000 pages 0x5024 attr 0x8 type 0x5 pa 0xbdf60000 va 0xa889e000 pages 0x10 attr 0x8000000000000008 type 0x2 pa 0xbdf70000 va 0xbdf70000 pages 0x2090 attr 0x8 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2021 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.0 (RAMDISK) #1250: Thu Sep 30 17:13:12 MDT 2021 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/RAMDISK real mem = 2027778048 (1933MB) avail mem = 1928523776 (1839MB) random: boothowto does not indicate good seed mainbus0 at root: Pine64 PinePhone (1.2) psci0 at mainbus0: PSCI 1.1, SMCCC 1.2 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 cpu0: CRC32,SHA2,SHA1,AES+PMULL,ASID16 efi0 at mainbus0: UEFI 2.8 efi0: Das U-Boot rev 0x20210700 "display-engine" at mainbus0 not configured "osc24M_clk" at mainbus0 not configured "osc32k_clk" at mainbus0 not configured "pmu" at mainbus0 not configured "sound" at mainbus0 not configured agtimer0 at mainbus0: 24000 kHz simplebus0 at mainbus0: "soc" sxisyscon0 at simplebus0 sxisid0 at simplebus0 sxiccmu0 at simplebus0 sxipio0 at simplebus0: 103 pins ampintc0 at simplebus0 nirq 224, ncpu 4: "interrupt-controller" sxirtc0 at simplebus0 sxiccmu1 at simplebus0 sxipio1 at simplebus0: 13 pins sxirsb0 at simplebus0 "x-powers,axp803" at sxirsb0 addr 0x3a3 not configured "bus" at simplebus0 not configured "dma-controller" at simplebus0 not configured "lcd-controller" at simplebus0 not configured "lcd-controller" at simplebus0 not configured "video-codec" at simplebus0 not configured sximmc0 at simplebus0 sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma sximmc1 at simplebus0 sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma sximmc2 at simplebus0 sdmmc2 at sximmc2: 8-bit, sd high-speed, mmc high-speed, dma "crypto" at simplebus0 not configured "mailbox" at simplebus0 not configured "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 "lradc" at simplebus0 not configured "dai" at simplebus0 not configured "codec" at simplebus0 not configured "thermal-sensor" at simplebus0 not configured com0 at simplebus0: ns16550, no working fifo com0: console com1 at simplebus0: ns16550, no working fifo com2 at simplebus0: ns16550, no working fifo sxitwi0 at simplebus0 iic0 at sxitwi0 "goodix,gt917s" at iic0 addr 0x5d not configured sxitwi1 at simplebus0 iic1 at sxitwi1 "st,lis3mdl-magn" at iic1 addr 0x1e not configured "sensortek,stk3311" at iic1 addr 0x48 not configured "invensense,mpu6050" at iic1 addr 0x68 not configured sxitwi2 at simplebus0 iic2 at sxitwi2 "gpu" at simplebus0 not configured "dram-controller" at simplebus0 not configured "dsi" at simplebus0 not configured "d-phy" at simplebus0 not configured "deinterlace" at simplebus0 not configured "hdmi-phy" at simplebus0 not configured "interrupt-controller" at simplebus0 not configured "codec-analog" at simplebus0 not configured "pwm" at simplebus0 not configured sxidog0 at simplebus0 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 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 "opp_table0" at mainbus0 not configured "backlight" at mainbus0 not configured "leds" at mainbus0 not configured "ps-regulator" at mainbus0 not configured "vbat-wifi" at mainbus0 not configured "led-controller" at mainbus0 not configured "audio-amplifier" at mainbus0 not configured "vibrator" at mainbus0 not configured "wifi-pwrseq" at mainbus0 not configured "binman" at mainbus0 not configured scsibus0 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SC32G, 0080> removable sd0: 30436MB, 512 bytes/sector, 62333952 sectors scsibus1 at sdmmc2: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <SD/MMC, , 0000> removable sd1: 15032MB, 512 bytes/sector, 30785536 sectors manufacturer 0x024c, product 0xb703 at sdmmc1 function 1 not configured softraid0 at root scsibus2 at softraid0: 256 targets root on rd0a swap on rd0b dump on rd0b WARNING: bad clock chip time WARNING: CHECK AND RESET THE DATE! cpu0: regulator not implemented erase ^?, werase ^W, kill ^U, intr ^C, status ^T Welcome to the OpenBSD/arm64 7.0 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell?