Hi Li,
On Fri, Apr 16, 2021 at 12:05:24PM +0800, Li Zhang wrote: > This patch adds supports for GL-B2200-EMMC. > > ... > diff --git a/target/linux/ipq40xx/image/gen_sdcard_img.sh > b/target/linux/ipq40xx/image/gen_sdcard_img.sh > new file mode 100755 > index 0000000..628ba24 > --- /dev/null > +++ b/target/linux/ipq40xx/image/gen_sdcard_img.sh > @@ -0,0 +1,95 @@ > +#!/bin/sh > +# > +# Copyright (C) 2016 Josua Mayer > +# Please do not duplicate this script and use build commands instead to generate the image for MMC block device. See https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/mediatek/image/mt7622.mk You can use Build/mt7622-gpt as start and modify that to generate the partition table you need for that ipq40xx board. Take a look at the ARTIFACT/sdcard.img.gz defined for the bananapi_bpi-r64 for an example of an over-engineered sdcard image ;) Cheers Daniel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel