Hello, great work completing the migration to kernel 6.12. I don't intend to delay the release, but I'd like to know if it's very difficult to port the work done by johnkarazou in this post which provides support for Orange Pi RV2 and Orange Pi R2S (RISC-V kernel 6.6.73) to the current snapshot (or the future one). I have everything packaged in the target without patches, it compiles without errors, and all sectors match, but I can't get it to boot with the current kernel 6.12.59. I don't have much experience with this.
It's a major undertaking as you have to modify all associated packages that depend on it, kmods, etc. Hang tight as 6.18 should be LTS for this year and work will begin on it.
Horrible repository ..
First two (platform/target) patches are 45MByte or95Mbyte in size ..
This is a big mess.
try using buildroot yes (as initramfs) and use vanilla (upstream) kernel with the patches. If this is booting good.
Remove/disable the most of the garbage, so you have only serial and minimalistic driver support
Now you can rebase the minimal driver set to 6.12, or maybe 6.7, 6.8 and so on
look for new drivers and already drivers in upstream. PCI, USB and ethernet are good cantidates
have fun
Hello!
Thank you for trying out my fork and im really glad it works for you guys!
I was thinking using a new kernel, but as suggested, start clean. Real clean!
Use a good source, add the rv2 commits (you may have to deep some more), and only select the Ky from the menuconfig menu(without extra packages!)
And make sure to enable extra logging as well...
Build, test, grab logs, investigate, repeat!
Although, I would stick to 6.6 since its stable!
Thank you all for giving me the background information and describing the process!
Hello Jhon
We're all in this together! And you're more involved than I am because you've already contributed to the development, while I haven't yet. Don't give up on updating the kernel, and if you need my help, we can collaborate, even though my English isn't very good. I'll need time to reach your level, and we'll see if I can manage it.
I plan to use this device with your fork as my main PPPoE router soon. I find it very stable and it has everything I need, but it is necessary to update it to the next snapshot version, so we don't fall behind. That way, starting with the next stable version of OpenWrt, it will be included as an official target.
Thanks for the encouragement!
I've created a telegram group, i hope im not breaking any rules...
Feel free to join! https://t.me/OrangePiRV2
Im not a developer though. Im just doing this as a hobby..!
A real developer (who knows stuff around) can be a great help on this one, because I think some stuff are to be fixed.
What I've managed to do was to only cleanup the config and made sure the ipv4/6 tables are created on bootup!