Re: Radxa Orion O6

From: Andrew Turner <andrew_at_fubar.geek.nz>
Date: Thu, 30 Jan 2025 14:14:26 UTC
On 2025-01-29 22:41, FUKAUMI Naoki wrote:
> Hi Andrew,
> 
> On 1/30/25 01:30, Andrew Turner wrote:
>>>>> pcib0: <Generic PCI host controller> on acpi0
>>>>> pcib0: Bus is cache-coherent
>>>>> pcib0: ECAM for bus 96-127 at mem 26000000-27ffffff
>>>>> pcib0: could not allocate memory.
>>>>> device_attach: pcib0 attach returned 6
>>>>> pcib0: <Generic PCI host controller> on acpi0
>>>>> pcib0: Bus is cache-coherent
>>>>> pcib0: ECAM for bus 48-79 at mem 23000000-24ffffff
>>>>> pcib0: could not allocate memory.
>>>>> device_attach: pcib0 attach returned 6
>>>>> pcib0: <Generic PCI host controller> on acpi0
>>>>> pcib0: Bus is cache-coherent
>>>>> pcib0: ECAM for bus 0-31 at mem 20000000-21ffffff
>>>>> pcib0: could not allocate memory.
>>>>> device_attach: pcib0 attach returned 6
>>>> PCIe is not configured in ACPI mode too.
>>> 
>>> PCIe is not working yet. Any idea?
>> 
>> I suspect there is a conflict where two devices both try to allocate 
>> the same memory resource.
>> 
>> Can you try booting with “debug.rman_debug=1” set from the loader 
>> prompt? It will print a lot of logging about different memory and 
>> interrupt resources being allocated so you will likely need something 
>> to save the output, e.g. reading the serial output under script. It’s 
>> will also likely be too much for the list, so you can email it to me 
>> directly.
> 
> I uploaded dmesg here:
>  
> https://drive.google.com/file/d/1HzZFFIaBu2gyDHF7oPnNLuzU_CBMF5dC/view?usp=sharing

Hello,

The follow lines indicate another device has reserved the PCIe memory, 
however the details of which device has the reservation has been lost 
from the top of output.

considering [0x2c000000, 0x2fffffff]
region is allocated

Is it possible to get the data from earlier in the boot?

Andrew