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?
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.
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.
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.
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?
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).
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.