Merge support for Kroks routers

vendor of my router has forked OpenWrt to support their models:

I wonder what would be needed to add that support to upstream OpenWrt?
I have some common development skills so could do my best if their patches do not suit for some reason.

Thank you for your attention, and all the best!

PS: I'm even agree to maintain the support for the device I have (and possibly others), if needed.

1 Like

It looks like they're at least pretty close to 19.07, so the question is how much 'sauce' they have added. It looks like the hardware is using common SoCs (ath79, mt7628, ...) so the hardest part (SoC support) is certainly already done. Things to look at would be how their master branch looks, since anything you'd like to upstream to OpenWrt proper will need to go to master first.

This wiki page has a bit more detail on adding a new device, might help you to find what bits and code is worth looking into from the Kroks repo:


Thanks for your input @Borromini,
I someone experienced could look into their master too, please let me know if you find something wrong (or otherwise - all is excellent).

Hmm, seems they don't have anything in master:

So the task would be to port from stable to master I guess..

It is only somewhat behind the current master...

This branch is 1181 commits ahead, 7884 commits behind openwrt:master.

They are based on 19.07, so possible related changes to master since the 19.07 branching should be taken care of.

The easiest might be to port just the few commits on top of their branch that actually define their device.

However, it looks like they do some stuff somewhat strangely/brute-force-like (e.g. modify usb device database, modify global boot scripts by adding separate functions instead of just adding their devices etc.). They have not really looked for upstreaming capability while adding the support for their devices.

so, it would require some adaptation work in order to fit into the main OpenWrt.

1 Like

Try porting your device first. What device do you have?

Kroks KNdRt31R19:

1 Like

It would still be up to someone with the device on their desk to integrate this (which involves fixing up quite a bit) and to get it working, this can't be done blindly but requires basic development skills and the ability to build- and test the changes safely (meaning with the opened device and a serial console attached).

1 Like

I think I could do it for my device.
To test it without opening, initramfs image would be enough I guess?

It seems that it will not be difficult for you to transfer, to v21.02 and to master

Initramfs is usually run via the serial console (UART) in the bootloader.

1 Like

Additionally Kroks has just released "new" routers with Openwrt 21.02. So, the GPL sources will be coming soon I think.

1 Like

It isn't enough because image doesn't write on flash. Full scope of tests is necessary.

1 Like

Hmm, here said it works "most often tftp", not sure about this particular router though.

I didn't check it yet but would be gratitude for a preliminary review:

1 Like

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