Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5647

Bare metal, Assembly language • Re: Accessing RP1 Peripherals from the BCM2712 on the Pi 5

$
0
0
This would suggest to me that the memory address is not valid in a bare metal environment...Does something need to be configured to create that mapping?
its only valid after you bring the pcie controller online
By default, the PCIe X4 interface is reset before loading the kernel so that the PCIe RC is in a clean state. For bare metal / bringup you can add pciex4_reset=0 to config.txt because writing a bare metal PCIe RC driver probably isn't everyone's cup of tea
that option will leave it configured, so you can skip a step
Oh, yup. That's my issue! Thank you. Where did you find that little snippet of documentation?

Statistics: Posted by tfinnegan937 — Tue Apr 02, 2024 2:01 am



Viewing all articles
Browse latest Browse all 5647

Trending Articles