*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
make[2]: Leaving directory '/home/user/Downloads/openwrt-rk3328'
make[2]: *** No rule to make target '.config', needed by '/home/user/Downloads/openwrt-rk3328/staging_dir/target-_/stamp/.target_prereq'. Stop.
make[1]: *** [/home/user/Downloads/openwrt-rk3328/include/toplevel.mk:208: prereq] Error 2
make: *** [/home/user/Downloads/openwrt-rk3328/include/toplevel.mk:228: world] Error 2
Have you read through the build instructions for OpenWRT? You've to run "make menuconfig" & it should work.
Compile for me proceeds beyond this, but it get stucks at a "cannot find dependency cgi-io for luci-base" error at a future point. Googling this seems to indicate its a feed / packages issue. Will try again in a few days... But let me know if anyone sees an issue here already!
Issue is that you have to compile all of the packages you need at build time because it's running kernel version 5.10.103
In light of this I have compiled all packages against kernel 5.10.103 and created a repo at openwrt.cdnbcn.net.
These packages will be linked so you can host your own repo too .
You will have to modify the file "/etc/opkg/distfeeds.conf" in openwrt and swap them out for my or your repo.
Attached is also a build config so you can recreate the SD card image with the source from my repo without having to configure the image yourself.
Just copy the file to your <buildroot> and rename it to ".config".
All packages are confirmed working with the attached image. I hope I can help some people out with this .
Quick update, a kernel patch that happened between building the repo and building the boot image broke alot of the kmods. Going to rebuild keeping this in mind.
(03-12-2022, 06:59 PM)CanadianBacon Wrote: OKAY. My smooth brain failed to find the most basic solution but now, everything is hosted at http://openwrt.cdnbcn.net
From the sd card image, to the kmods and packages, to the build configs. This took too many hours.
Thank you very much CanadianBacon,
However, rock64 can not boot from the SC card image you have posted (ext4). I tried different burning tools but rock64 not booting.
03-13-2022, 06:42 PM (This post was last modified: 03-13-2022, 06:45 PM by CanadianBacon.)
(03-13-2022, 04:24 PM)helpmerock Wrote:
(03-12-2022, 06:59 PM)CanadianBacon Wrote: OKAY. My smooth brain failed to find the most basic solution but now, everything is hosted at http://openwrt.cdnbcn.net
From the sd card image, to the kmods and packages, to the build configs. This took too many hours.
Thank you very much CanadianBacon,
However, rock64 can not boot from the SC card image you have posted (ext4). I tried different burning tools but rock64 not booting.
I've got it working using Win32DiskImager, balena and rufus don't work for me.
Had to run gzip -d "file" first because win32diskimager doesn't support gzipped files. If you're on linux, try dd.