[PATCH] ipq40xx: add support for GL.iNet GL-B2200-EMMC

Daniel Golle daniel at makrotopia.org
Sat Apr 24 14:28:03 BST 2021


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



More information about the openwrt-devel mailing list