SDcard img.gz not generated in 21.02

Hi,

I've git clone openwrt matser branch and checkout to 21.02
After update, install and select the packages the build was compiled successfully
After looking in the directory, I saw, there is no image file for the SD Card.
The same procedure on master branch will create the image file for the SD-Card

I was building for BPI R64, MT7622.
You could found that I got totally different binaries built on different openwrt version.

May anyone to share some insights ?
I need to generate SD card images on openwrt-21.02

  • openwrt-21.02
$ ls bin/targets/mediatek/mt7622/
config.buildinfo
feeds.buildinfo
openwrt-imagebuilder-mediatek-mt7622.Linux-x86_64.tar.xz
openwrt-mediatek-mt7622-bpi_bananapi-r64-initramfs-kernel.bin
openwrt-mediatek-mt7622-bpi_bananapi-r64.manifest
openwrt-mediatek-mt7622-bpi_bananapi-r64-squashfs-sysupgrade.bin
packages
sha256sums
u-boot-mt7622
version.buildinfo
  • openwrt-master
    There was openwrt-mediatek-mt7622-bananapi_bpi-r64-sdcard.img.gz
$ ls openwrt-master/bin/targets/mediatek/mt7622/
config.buildinfo
feeds.buildinfo
openwrt-mediatek-mt7622-bananapi_bpi-r64-emmc-bl31-uboot.fip
openwrt-mediatek-mt7622-bananapi_bpi-r64-emmc-preloader.bin
openwrt-mediatek-mt7622-bananapi_bpi-r64-initramfs-recovery.itb
openwrt-mediatek-mt7622-bananapi_bpi-r64.manifest
openwrt-mediatek-mt7622-bananapi_bpi-r64-sdcard.img.gz
openwrt-mediatek-mt7622-bananapi_bpi-r64-snand-bl31-uboot.fip
openwrt-mediatek-mt7622-bananapi_bpi-r64-snand-preloader.bin
openwrt-mediatek-mt7622-bananapi_bpi-r64-squashfs-sysupgrade.itb
packages
profiles.json
sha256sums
version.buildinfo

Thanks,
Howard.

There have been quite fundamental and major changes in the mt7622 target post 21.02.x, just consider it 22.03+ only.

Hi @slh

Thanks a lot for your prompt reply!
The reason why I use openwrt-21.02 is because I have to develop the device driver baed on kernel 5.4
However, 22.03+ use kernel 5.15 version.

As far as I know, it was not recommended to change kernel in openwrt, right ?
Like if i want to change 22.03 for kernel 5.4, there might be lots of dependency problem.

Please help to share some insight that is it possible to generate SD card image from openwrt-21.02 ?
Or maybe other suggestion that I could use kernel 5.4 on openwrt 22.03+

Thanks,
Howard.

Everything is "possible", just not sensible…

Really, before 22.03.x (and kernel v5.10), mt7622 was pretty much devboard-only territory and largely untested - don't expect anything to work. Its development only got a boost after the e8450/ rt3200 appeared on the stage - and its development has totally re-shaped the target and how it works. Don't expect any compatibility with previous versions, nor those to work properly in the first place.

There is a reason why e8450/ rt3200 support was never backported to 22.03, despite it being developed by two OpenWrt developers who are very enthusiastic about this target, despite it becoming ready shortly before 22.03.0 got golden and despite it got a strong user base in no time.