Hi,

> On 30 Jan 2025, at 16:19, Matwey Kornilov <matwey.korni...@gmail.com> wrote:
> 
> Torsten Duwe wrote:
>> Hi Matwey,
>> 
>> On Tue, 28 Jan 2025 16:38:21 -0000
>> "Matwey Kornilov" <matwey.korni...@gmail.com> wrote:
>>> Hello,
>>> What is the recommended way to apply device tree overlay when running
>>> openSUSE Tumbleweed on ARM single board computer? Is there any wiser
>>> way than just patch corresponding /boot/dtb/ file?
>>> I'm not an expert on DTBOs, I compile and hence patch DTSes on a daily
>> basis, but I think that our Raspberry Pi images provide a mechanism to
>> load overlays automatically. Maybe have a look there?
> 
> What do you mean? I found only manual command in u-boot console, but it is 
> not suitable for persistent configuration.

Why not? You could modify bootcmd to apply your DTBO at boot.


> While I would expect something like 
> https://github.com/edk2-porting/edk2-rk3588?tab=readme-ov-file#custom-device-tree-blob-dtb-override-and-overlays
> 

IIUC this is similar to how U-Boot apply overlays, it is just EDK2.

>> 
>> Which particular system are you considering?
> 
> I am running OrangePi Zero 2W, but device tree overlays is rather generic 
> feature required almost everywhere when you have extension header.

Important point in cases above, including how RPi, is that applying
the overlay was done by device firmware before Linux boots. 

Regards,
Ivan

Reply via email to