Comparable solution to how Pi device enables sensor via direct kernel support?

@Nasca, I should have the replacement 3W in a few days, per tracking. So just let me know when you have the overlays ready to test. I will start testing on the 3E and move to 3W once I have it.

Shameless plug… If you want me to test on other RADXA SBCs as well? Hint: Send me the SBC, and I will test on it as well. I know shameless plug. A 30 year IT enterprise engineer, retired, but have been developing SBC based solutions since 2012. Long history of alpha/beta testing over the years. And since I have a extensive list of sensors, might be worth it to you.

Thanks again for working the kernel sensor support overlays, really appreciate it.

1 Like

Hi @Jibun-no-Kage, over the next couple of days, I will complete the overlay-related code and compile a kernel deb package with the relevant sensor drivers for you. Once you have tested it, could you please write down the process of testing and using these sensors? I believe this can enrich our ecosystem. I would be very grateful if you could do this.

Certainly, if you are interested, we can also send you some SBCs for testing in the future.

Hi @Jibun-no-Kage, I have completed the adaptation of the sensor’s overlay as mentioned earlier.

For overlay, you can refer to my overlay repository, and you can download kernel packages from linux-rk356x.

I just got my replacement 3w… and testing it now, so far, so good. I should be able to start testing sensors on the 3e and 3w tomorrow.

Here are some steps you can refer to:

  1. Download and flash the image to Radxa Zero 3W/3E
  2. Replace the kernel with those packages above, then reboot from new kernel
  3. Clone the Overay repository mentioned above, compile the overlays refer to the release script of overlay repository.
  4. Copy the overlays you need to Radxa Zero 3W/3E, and enable them.

Cool. I caught the flu/cold. So taking a few days. I should be back at this in about a week. I did git clone the linux kernel packages, but the clone is empty other than the LICENSE, VERSION, etc. How do I validate the 5.10.160-40 kernel was staged?

Also looking at the steps to compile the new dts files? The following command does not seem correct?

sudo apt-get build-dep --no-install-recommends -y .

What packages are required? The documentation seems incomplete? There is what the read me states…

Due to the much more frequent development happening on the overlay compared to the kernel in general, we are once again splitting the overlay into a dedicated package.

However, to guarantee the overlay is compatible with the installed kernel, this package will be delivered as a source code package using dkms, instead of a prebuilt binary package.

You can build the dkms package using the below commands:

sudo apt-get update
sudo apt-get build-dep --no-install-recommends -y .
make all deb

Assuming the preferred method is the use dkms?

Oh, I’m so sorry for the late reply. You just need to download the linux header and linux image where I have enabled these sensor drivers, and then, install them by cmd “sudo dpkg -i linux-*.deb”

No worries. I have been out of pocket, ill. Caught the flu or covid, and have not been able to get to this as yet. But… I will do it, once I am feeling better.

Take care of yourself and get well soon. Health is the most important thing.