Jump to content

Kernel DT overlay


NixiElectra
Go to solution Solved by robertoj,

Recommended Posts

Hello, I have questions related with overlay. I'm using Radxa Zero 3W and in the /boot/armbianEnv.txt it has overlay_prefix=rk35xx.

I want to use this overlay /boot/dtb/rockchip/overlay/radxa-zero3-disabled-wireless.dtbo. If I cat /boot/boot.cmd it read the overlays with this line ${overlay_prefix}-${overlay_file}.dtbo.

It means if I add overlays=disabled-wireless in /boot/armbianEnv.txt, it will not find the dtbo right?

So my questions are,

1. Can I manually edit the overlay_prefix to radxa-zero3?

2. If can then will that has impact on the feature, eg kernel upgrade or anything?

Link to comment
Share on other sites

  • Solution

It would be better if you make a copy of the dtbo from the original folder and name, to the overlays-user folder, then use the user_overlays parameter in armbianEnv.txt to add it.

 

In general, a DTBO copied from one SBC to another, will only work if the Radxa Zero 3W and the Radxa Zero 3 share the same:

* CPU chip

* chip pinout to the wireless chip

* wireless chip

* nothing else extra or missing interfering with the chip-wifi channel

 

It is always better to have the DTS (source code of DTBO), so you have full awareness of what it does, and compile with armbian-add-overlay

 

You can try it, then if you don't like the result, disable the dtbo with the user_overlays parameter.  ... and report whether it works or not.

 

When the kernel is upgraded, you may get a better support of the chip (if the Radxa or wifi software engineers have done something toward it)

 

 

When you upgrade kernel, the same DTBO can be used to patch the SBC DTB... unless there's a change in kernel module parameters (rare).

 

Link to comment
Share on other sites

On 10/16/2024 at 12:50 AM, robertoj said:

It would be better if you make a copy of the dtbo from the original folder and name, to the overlays-user folder, then use the user_overlays parameter in armbianEnv.txt to add it.

 

Hello, I have created copies for both radxa-zero3-disabled-wireless.dts & radxa-zero3-disabled-ethernet.dts, add them using armbian-add-overlay and all working great.

Thank you for the idea, cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines