RUTX SDK Build error - RUTX_R_GPL_00.07.11.1

Hi,

I want to build a custom firmware image using the SDK for RUTX50. The firmware build was tried in ubuntu 22.04.05 LTS using the suggested docker environment. The SDK Version is RUTX_R_GPL_00.07.11.1 . After unzipping the filles, i changed the folder name and ran the update feeds command. Then, i ran make menuconfig and chose RUTX50 in the Target Profile, updating the feeds and then running make command in order to build the firmware resulted in build error. Specific, the package/kernel/linux module failed to build. Navigating to the respective logs folder it displayed:

Package kmod-nf-flow is missing dependencies for the following libraries:
esp4.ko

What are the necessary steps in order to resolve this?

Best Regards,
Chris

Hello,

If you select the “TELTONIKA RUTX” default value it will compile.

Regards,

Hi,

Thanks for the fast reply, this option shouldn’t be selected with regards the device model? My thinking is that the target profile should be the same as the router model in order to take in mind the hardware specifics and capabilities of each router.

Best Regards,
Chris

Yes, it should but unfortunately it doesn’t. I have tried to follow the logic of the kernel build options determination of course at least one option is missing. Nothing obvious.

Hello Chris,

I hope you are doing well.

We are working on renewing our Wiki and the following information should be added.
Once we will renew the information, I will let you know.
If you run into any other issues while building SDK using Docker - let me know and I will help you.

Kind regards,
DziugasS

Hello,

Thank you very much for the reply, I would like to ask if there is any risk of bricking the router by flashing it with the “TELTONIKA RUTX” target profile? Should I wait for the updated information?

Best Regards,
Chris

Hi @Chris ,

It’s perfectly fine to use the SDK firmware compiled for RUTX target. It’s done this way to simplify the firmware compilation process, as the same image can be used for all RUTX devices (assuming nothing extra is added to the build).

Best regards,

Hi,

By nothing extra you mean custom packages or even options from menuconfig? For example, I want to enable nftables support and netfilter queue.

Hi,

I mean any device-specific features (e.g. interacting with the 5G modem using AT commands specific to this particular modem). The changes related to nftables should not have any impact, as all RUTX devices use the same SoC, RAM, and Flash.

Best regards,

The kernel compilation also fails if the RUTX11 target is selected. Same esp4.ko dependency error.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.