From nobody Mon Jan 20 07:38:32 2025 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yc2Jk16kCz5kyBC for ; Mon, 20 Jan 2025 07:38:46 +0000 (UTC) (envelope-from naoki@radxa.com) Received: from smtpbgsg1.qq.com (smtpbgsg1.qq.com [54.254.200.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yc2Jg1WQ9z3TKb for ; Mon, 20 Jan 2025 07:38:42 +0000 (UTC) (envelope-from naoki@radxa.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of naoki@radxa.com designates 54.254.200.92 as permitted sender) smtp.mailfrom=naoki@radxa.com; dmarc=pass (policy=none) header.from=radxa.com X-QQ-mid: bizesmtpip2t1737358714t31kbw6 X-QQ-Originating-IP: NPNEFeHs8CBCivC/wYl+kCRH49tPFm7YaIa9459aTY0= Received: from [IPV6:240f:10b:7440:1:f091:9461 ( [localhost]) by bizesmtp.qq.com (ESMTP) with SMTP id 0 for ; Mon, 20 Jan 2025 15:38:32 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 12764568127744787928 Message-ID: <4BC138519D046E17+bd43c42c-e258-4d22-87d4-cb92ea899eb8@radxa.com> Date: Mon, 20 Jan 2025 16:38:32 +0900 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Radxa Orion O6 From: FUKAUMI Naoki To: freebsd-arm@freebsd.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UT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NNmcJaSko5d1tL X-QQ-XMRINFO: OD9hHCdaPRBwq3WW+NvGbIU= X-QQ-RECHKSPAM: 0 X-Spamd-Result: default: False [-0.28 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; RBL_SENDERSCORE_REPUT_9(-1.00)[54.254.200.92:from]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; NEURAL_HAM_LONG(-0.94)[-0.943]; NEURAL_SPAM_SHORT(0.85)[0.852]; DMARC_POLICY_ALLOW(-0.50)[radxa.com,none]; R_SPF_ALLOW(-0.20)[+ip4:54.254.200.92]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[54.254.200.92:from]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:54.254.128.0/17, country:US]; R_DKIM_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[54.254.200.92:from]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ARC_NA(0.00)[] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4Yc2Jg1WQ9z3TKb Compiling the kernel on an Orion O6 (with USB-SSD) seems to work fine. :) https://drive.google.com/file/d/1hwoGgNlSzLtOBQxbPL4DV2-CSg5c-HD9/view?usp=sharing -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd. On 1/19/25 13:57, FUKAUMI Naoki wrote: > Hi, > > I'm trying to boot FreeBSD/arm64 on a Radxa Orion O6. > > UEFI has a "O/S Hardware Description Selection" menu where I can choose > "Device Tree" or "ACPI". "ACPI" allows me to boot a mainline Linux kernel. > > With "ACPI" I can use the serial console with EFI loader, but the kernel > output only shows up on the display after the kernel is loaded. > > ---- > Consoles: EFI console >     Reading loader env vars from /efi/freebsd/loader.env > Setting currdev to disk1p1: > FreeBSD/arm64 EFI loader, Revision 3.0 > (Thu Jan 16 06:56:52 UTC 2025 root@releng3.nyi.freebsd.org) > >    Command line arguments: loader.efi >    Image base: 0x47ab5a000 >    EFI version: 2.70 >    EFI Firmware: EDK II (rev 1.00) >    Console: efi (0x1000) >    Load Path: \EFI\BOOT\BOOTAA64.EFI >    Load Device: VenHw(0D51905B-B77E-452A-A2C0- > ECA0CC8D514A,00801D090000000000)/U > SB(0x1,0x0)/HD(1,GPT,009521E2-D3EE-11EF-81EA-0CC47AD8B808,0x22,0x10418) >    BootCurrent: 0003 >    BootOrder: 0000 0001 0002 0003[*] >    BootInfo Path: VenHw(0D51905B-B77E-452A-A2C0- > ECA0CC8D514A,00801D090000000000) > /USB(0x1,0x0) > Ignoring Boot0003: Only one DP found > Trying ESP: VenHw(0D51905B-B77E-452A-A2C0- > ECA0CC8D514A,00801D090000000000)/USB(0 > x1,0x0)/HD(1,GPT,009521E2-D3EE-11EF-81EA-0CC47AD8B808,0x22,0x10418) > Setting currdev to disk1p1: > Trying: VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,00801D090000000000)/ > USB(0x1,0 > x0)/HD(2,GPT,009521EB-D3EE-11EF-81EA-0CC47AD8B808,0x1043A,0x283540) > Setting currdev to disk1p2: > Loading /boot/defaults/loader.conf > Loading /boot/defaults/loader.conf > Loading /boot/device.hints > Loading /boot/loader.conf > Loading /boot/loader.conf.d/rtw8922a.conf > Loading /boot/loader.conf.d/rtw8851b.conf > Loading /boot/loader.conf.d/rtw8852c.conf > Loading /boot/loader.conf.d/rtw8703b.conf > Loading /boot/loader.conf.d/rtw8852b.conf > Loading /boot/loader.conf.d/rtw8723d.conf > Loading /boot/loader.conf.d/rtw8822c.conf > Loading /boot/loader.conf.d/rtw8821c.conf > Loading /boot/loader.conf.d/rtw8822b.conf > Loading /boot/loader.conf.d/rtw8852a.conf > Loading /boot/loader.conf.local > ?c/ > -  ______               ____   _____ _____ >   |  ____|             |  _ \ / ____|  __ \ >   | |___ _ __ ___  ___ | |_) | (___ | |  | | >   |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | | >   | |   | | |  __/  __/| |_) |____) | |__| | >   | |   | | |    |    ||     |      |      | >   |_|   |_|  \___|\___||____/|_____/|_____/ > >  /-------- Welcome to FreeBSD ----------\  ```                        ` >  |                                      | s` `.....---.......--.```   -/ >  |  1. Boot Installer [Enter]           | +o   .--`         /y:`      +. >  |  2. Boot Single user                 |  yo`:.            :o      `+- >  |  3. Escape to loader prompt          |   y/               -/`   -o/ >  |  4. Reboot                           |  .-                  ::/sy+:. >  |  5. Cons: Serial                     |  /                     `--  / >  |                                      | `:                          :` >  |  Kernel:                             | `:                          :` >  |  6. kernel (1 of 1)                  |  /                          / >  |                                      |  .-                        -. >  |  Options:                            |   --                      -. >  |  7. Boot Options                     |    `:`                  `:` >  |                                      |      .--             `--. >  \--------------------------------------/         .---.....----. > Loading kernel...seconds. [Space] to pause > /boot/kernel/kernel text=0x318 text=0x99d0f8 text=0x2c9ca0 data=0x17f8e0 > data=0x > 0+0x371000 0x8+0x16f1b8+0x8+0x19fc8a| > Loading configured modules... > can't find '/etc/hostid' > can't find '/boot/entropy' > Loading splash ok > No valid device tree blob found! > WARNING! Trying to fire up the kernel, but no device tree blob found! > EFI framebuffer information: > addr, size     0x84800000, 0x7e9000 > dimensions     1920 x 1080 > stride         1920 > masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > ---- > > Here is a screenshot on the display: >  https://drive.google.com/file/d/1pa0Uv3FONpsyVyt3QfU_1CzRSYW2cita/ > view?usp=sharing > > Using the "Device Tree" I was able to use both the serial console and > the display and boot the installer. Please see dmesg below. > > But all pcib are not configured. > > Could you please give me some advice? > > Best regards, >