I'm totally new to building images, so please bear with me.
I've a Mi Router 3G (gigabit) and the NAND died unexpectedly so the router was totally dead. So I installed a 16MB SPI chip, removed the 128MB NAND chip. Then flashed Breed bootloader on the spi chip. Since it is a modified hardware, normal openwrt builds dont work. I have to build it myself.
The ones I built work well but have a weird problem, when I try to install entwares, some of them work but others dont get installed via Luci or ssh.
It says - required kernel 5.4.154-1-ecc75158… while 5.4.154-1-6c77cbc0… is installed. I've tried different branches of openwrt like v19.x, v21.02, snapshots, etc but same thing happens everytime.
All I do is:
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
./scripts/feeds update -a && ./scripts/feeds install -a
Include all the packages you need in your image from menuconfig. Not all packages are visible so use "/" to search the one you need. "*" will include the package in the build image. "M" will make the package but not include in the image. You can find the packages in the bin folder.
The easiest method I found is force install the package.