Re: Radxa Orion O6
- In reply to: Warner Losh : "Re: Radxa Orion O6"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jan 2025 21:17:29 UTC
Hi Warner, On 1/21/25 03:12, Warner Losh wrote: > /-------- 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 | / > `-- / > > > Ok. Serial is good here.... > > | | `: > :` > | 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! > > > These two lines don't matter for ACPI booting. > > EFI framebuffer information: > addr, size 0x84800000, 0x7e9000 > dimensions 1920 x 1080 > stride 1920 > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > ---- > > > But we should continue to be printing something on the serial port, so > that information didn't make it into the kernel.... > > At the boot loader prompt, > > Here is a screenshot on the display: > https://drive.google.com/file/d/1pa0Uv3FONpsyVyt3QfU_1CzRSYW2cita/ > view?usp=sharing <https://drive.google.com/file/ > d/1pa0Uv3FONpsyVyt3QfU_1CzRSYW2cita/view?usp=sharing> > > > Here the problem is in reserving the memory in the ram driver. > We allocate all "noalloc" memory to that driver so that no other > driver can get it. This is failing, indicating some mismatch in > the arm64 driver that I'd need more data to track down. Bootverbose > has that data, but without serial console working it's kinda hard to share. > However, running 'memmap' at the loader prompt where you do have > working serial will print the same thing that the kernel does and should be > enough for me to puzzle through the mismatch. memmap on "ACPI" mode. Type Physical Virtual #Pages Attr Reserved 000080000000 000000000000 00002500 WC WT WB RuntimeServicesData 000082500000 000000000000 00001f00 WC WT WB BootServicesData 000084400000 000000000000 00000200 WC WT WB ConventionalMemory 000085000000 000000000000 0001b000 WC WT WB Reserved 0000a0000000 000000000000 00008000 WC WT WB ConventionalMemory 0000a8000000 000000000000 00057fc0 WC WT WB RuntimeServicesData 0000fffc0000 000000000000 00000020 WC WT WB ACPIMemoryNVS 0000fffe0000 000000000000 00000010 WC WT WB ConventionalMemory 0000ffff0000 000000000000 0000000e WC WT WB Reserved 0000ffffe000 000000000000 00000002 WC WT WB ConventionalMemory 000100000000 000000000000 00080000 WC WT WB BootServicesCode 000180000000 000000000000 00000025 WC WT WB ConventionalMemory 000180025000 000000000000 002f1402 WC WT WB LoaderCode 000471427000 000000000000 00004000 WC WT WB LoaderData 000475427000 000000000000 000047e9 WC WT WB ACPIReclaimMemory 000479c10000 000000000000 00000030 WC WT WB ConventionalMemory 000479c40000 000000000000 00000f3b WC WT WB LoaderCode 00047ab7b000 000000000000 000000d1 WC WT WB ConventionalMemory 00047ac4c000 000000000000 00001427 WC WT WB BootServicesData 00047c073000 000000000000 00001ea1 WC WT WB ConventionalMemory 00047df14000 000000000000 00000164 WC WT WB BootServicesCode 00047e078000 000000000000 00000478 WC WT WB RuntimeServicesCode 00047e4f0000 000000000000 000004b0 WC WT WB RuntimeServicesData 00047e9a0000 000000000000 00000450 WC WT WB ConventionalMemory 00047edf0000 000000000000 00000005 WC WT WB BootServicesData 00047edf5000 000000000000 00000001 WC WT WB BootServicesCode 00047edf6000 000000000000 00000038 WC WT WB BootServicesData 00047ee2e000 000000000000 000011d2 WC WT WB MemoryMappedIO 000004070000 000000000000 00000001 UC MemoryMappedIO 000004120000 000000000000 00000040 UC MemoryMappedIO 000004170000 000000000000 00000010 UC MemoryMappedIO 000016004000 000000000000 00000004 UC Reserved 000084800000 000000000000 00000800 memmap on "DeviceTree" mode. (Almost the same) Type Physical Virtual #Pages Attr Reserved 000080000000 000000000000 00002500 WC WT WB RuntimeServicesData 000082500000 000000000000 00001f00 WC WT WB BootServicesData 000084400000 000000000000 00000200 WC WT WB ConventionalMemory 000085000000 000000000000 0001b000 WC WT WB Reserved 0000a0000000 000000000000 00008000 WC WT WB ConventionalMemory 0000a8000000 000000000000 00057fc0 WC WT WB RuntimeServicesData 0000fffc0000 000000000000 00000020 WC WT WB ACPIMemoryNVS 0000fffe0000 000000000000 00000010 WC WT WB ConventionalMemory 0000ffff0000 000000000000 0000000e WC WT WB Reserved 0000ffffe000 000000000000 00000002 WC WT WB ConventionalMemory 000100000000 000000000000 00080000 WC WT WB BootServicesCode 000180000000 000000000000 00000025 WC WT WB ConventionalMemory 000180025000 000000000000 002f1402 WC WT WB LoaderCode 000471427000 000000000000 00004000 WC WT WB LoaderData 000475427000 000000000000 000047e9 WC WT WB ACPIReclaimMemory 000479c10000 000000000000 00000030 WC WT WB ConventionalMemory 000479c40000 000000000000 00000f3b WC WT WB LoaderCode 00047ab7b000 000000000000 000000d1 WC WT WB ConventionalMemory 00047ac4c000 000000000000 00001402 WC WT WB BootServicesData 00047c04e000 000000000000 00001ec6 WC WT WB ConventionalMemory 00047df14000 000000000000 00000164 WC WT WB BootServicesCode 00047e078000 000000000000 00000478 WC WT WB RuntimeServicesCode 00047e4f0000 000000000000 000004b0 WC WT WB RuntimeServicesData 00047e9a0000 000000000000 00000450 WC WT WB ConventionalMemory 00047edf0000 000000000000 00000005 WC WT WB BootServicesData 00047edf5000 000000000000 00000001 WC WT WB BootServicesCode 00047edf6000 000000000000 00000038 WC WT WB BootServicesData 00047ee2e000 000000000000 000011d2 WC WT WB MemoryMappedIO 000004070000 000000000000 00000001 UC MemoryMappedIO 000004120000 000000000000 00000040 UC MemoryMappedIO 000004170000 000000000000 00000010 UC MemoryMappedIO 000016004000 000000000000 00000004 UC Reserved 000084800000 000000000000 00000800 > 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? > > > I'm surprised we couldn't get the RTC/time via the runtime services of > UEFI... Other than > that, I'm unsure. I usually boot with ACPI device enumeration on my gear. Ah, no EFI runtime available... Best regards, -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd.