From: Kevin Lo Subject: Re: Update arm-trusted-firmware 2.10.2 To: Mark Kettenis Cc: ports@openbsd.org, sthen@openbsd.org, patrick@openbsd.org, jsg@openbsd.org Date: Sun, 18 Feb 2024 18:34:53 +0800 On Sat, Feb 17, 2024 at 05:34:49PM +0100, Mark Kettenis wrote: > > I tested rk3328, rk3399, sun50i_a64 and sun50i_h616. Earlier releases > don't work on the H618 board that I have. > > Debug builds no longer fit the SRAM constraints on at least A64. So > this switches to release builds. Working fine on my Pine H64 model b (sun50i_h6). > ok? ok kevlo@ Full log: U-Boot SPL 2021.10 (Feb 18 2024 - 10:41:19 +0800) DRAM: 4096 MiB Trying to boot from MMC1 NOTICE: BL31: v2.10.2(release):lts-2.10.2 NOTICE: BL31: Built : 10:27:40, Feb 18 2024 NOTICE: BL31: Detected Allwinner H6 SoC (1728) NOTICE: BL31: Found U-Boot DTB at 0xa08ebc0, model: Pine H64 model B U-Boot 2021.10 (Feb 18 2024 - 10:41:19 +0800) Allwinner Technology CPU: Allwinner H6 (SUN50I) Model: Pine H64 model B DRAM: 3 GiB MMC: mmc@4020000: 0, mmc@4021000: 2, mmc@4022000: 1 Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... In: serial@5000000 Out: serial@5000000 Err: serial@5000000 Net: phy interface8 Could not get PHY for ethernet@5020000: addr 1 No ethernet found. starting USB... Bus usb@5101000: USB EHCI 1.00 Bus usb@5101400: USB OHCI 1.0 Bus usb@5311000: USB EHCI 1.00 Bus usb@5311400: USB OHCI 1.0 scanning bus usb@5101000 for devices... 1 USB Device(s) found scanning bus usb@5101400 for devices... 1 USB Device(s) found scanning bus usb@5311000 for devices... 2 USB Device(s) found scanning bus usb@5311400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) 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 mmc@4020000.blk... Card did not respond to voltage select! : -110 Scanning disk mmc@4021000.blk... Disk mmc@4021000.blk not ready Card did not respond to voltage select! : -110 Scanning disk mmc@4022000.blk... Disk mmc@4022000.blk not ready Found 3 disks No EFI system partition phy interface8 mdio_register: non unique device name 'ethernet@5020000' Could not get PHY for ethernet@5020000: addr 1 phy interface8 mdio_register: non unique device name 'ethernet@5020000' Could not get PHY for ethernet@5020000: addr 1 BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootaa64.efi 227963 bytes read in 15 ms (14.5 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Booting /efi\boot\bootaa64.efi disks: sd0* >> OpenBSD/arm64 BOOTAA64 1.18 boot> booting sd0a:/bsd: 11448612+2731216+300888+844448 [901763+91+1300920+804273]=0x13f5f50 [ using 3007832 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-2024 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.5-beta (GENERIC.MP) #93: Sat Feb 17 23:41:29 MST 2024 deraadt@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP real mem = 3135033344 (2989MB) avail mem = 2997657600 (2858MB) random: good seed from bootblocks mainbus0 at root: Pine H64 model B psci0 at mainbus0: PSCI 1.1, SMCCC 1.4 Minicom 2.8 | VT102 | 離線 | ttyUSB0 efi0 at mainbus0: UEFI 2.8 8N1 | NOR | Minicom 2.8 | VT102 | 連線 0:0 | ttyUSB0 efi0: Das U-Boot rev 0x20211000 smbios0 at efi0: SMBIOS 3.0 smbios0: vendor U-Boot version "2021.10" date 10/01/2021 smbios0: Unknown Unknown Product 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 cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4 cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu1: 512KB 64b/line 16-way L2 cache cpu1: CRC32,SHA2,SHA1,AES+PMULL,ASID16 cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4 cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu2: 512KB 64b/line 16-way L2 cache cpu2: CRC32,SHA2,SHA1,AES+PMULL,ASID16 cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4 cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache cpu3: 512KB 64b/line 16-way L2 cache cpu3: CRC32,SHA2,SHA1,AES+PMULL,ASID16 apm0 at mainbus0 "display-engine" at mainbus0 not configured "osc24M_clk" at mainbus0 not configured "pmu" at mainbus0 not configured agtimer0 at mainbus0: 24000 kHz simplebus0 at mainbus0: "soc" sxisyscon0 at simplebus0 sxiccmu0 at simplebus0 sxisid0 at simplebus0 sxipio0 at simplebus0: 108 pins ampintc0 at simplebus0 nirq 192, ncpu 4 ipi: 0, 1, 2: "interrupt-controller" sxiccmu1 at simplebus0 sxipio1 at simplebus0: 16 pins sxitwi0 at simplebus0 iic0 at sxitwi0 axppmic0 at iic0 addr 0x36: AXP805 pcxrtc0 at iic0 addr 0x51: battery ok "bus" at simplebus0 not configured "video-codec" at simplebus0 not configured "gpu" at simplebus0 not configured "crypto" at simplebus0 not configured "dma-controller" at simplebus0 not configured "mailbox" at simplebus0 not configured "iommu" 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 com0 at simplebus0: dw16550 com0: console com1 at simplebus0: dw16550 dwxe0 at simplebus0: address 02:07:ff:xx:xx:xx dwxe0: reset timeout dwxe0: no PHY found! "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" at simplebus0 not configured "hdmi-phy" at simplebus0 not configured "tcon-top" at simplebus0 not configured "lcd-controller" at simplebus0 not configured "rtc" at simplebus0 not configured sxidog0 at simplebus0 sxirintc0 at simplebus0 "ir" at simplebus0 not configured "thermal-sensor" at simplebus0 not configured 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 "cpu-opp-table" at mainbus0 not configured "ext_osc32k_clk" at mainbus0 not configured "connector" at mainbus0 not configured gpioleds0 at mainbus0: no LEDs "gmac-3v3" at mainbus0 not configured "vbus" at mainbus0 not configured "wifi_pwrseq" at mainbus0 not configured "binman" at mainbus0 not configured manufacturer 0x024c, product 0xb723 at sdmmc1 function 1 not configured sdmmc2: can't enable card scsibus0 at sdmmc0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: removable sd0: 60906MB, 512 bytes/sector, 124735488 sectors urtwn0 at uhub1 port 1 configuration 1 interface 0 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 54:a0:50:xx:xx:xx vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (6f1aea68508b0f03.a) swap on sd0b dump on sd0b Automatic boot in progress: starting file system checks. /dev/sd0a (6f1aea68508b0f03.a): file system is clean; not checking /dev/sd0l (6f1aea68508b0f03.l): file system is clean; not checking /dev/sd0d (6f1aea68508b0f03.d): file system is clean; not checking /dev/sd0f (6f1aea68508b0f03.f): file system is clean; not checking /dev/sd0g (6f1aea68508b0f03.g): file system is clean; not checking /dev/sd0h (6f1aea68508b0f03.h): file system is clean; not checking /dev/sd0k (6f1aea68508b0f03.k): file system is clean; not checking /dev/sd0j (6f1aea68508b0f03.j): file system is clean; not checking /dev/sd0e (6f1aea68508b0f03.e): file system is clean; not checking pf enabled starting network reordering: ld.so libc libcrypto sshd openssl: generating isakmpd RSA keys... done. openssl: generating iked ECDSA keys... done. ssh-keygen: generating new host keys: RSA ECDSA ED25519 sshd: (ED25519) SHA256:P0Plkh78LIB47QscMvYOXRBqTW4XM/zQrqwbX07zggI starting early daemons: syslogd pflogd ntpd. starting RPC daemons:. savecore: no core dump checking quotas: done. clearing /tmp kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd smtpd sndiod. running rc.firsttime fw_update: add none; update none starting local daemons: cron. Sun Feb 18 18:26:20 CST 2024 OpenBSD/arm64 (pineh64) (console) login: