[PATCH 1/2] realtek: Add generic zyxel_gs1900 image definition

Adrian Schmutzler mail at adrianschmutzler.de
Thu Feb 25 05:11:57 EST 2021


Hi Hauke,

> 
> -define Device/zyxel_gs1900-10hp
> +define Device/zyxel_gs1900
>    SOC := rtl8380
>    IMAGE_SIZE := 6976k
>    DEVICE_VENDOR := ZyXEL
>    DEVICE_MODEL := GS1900-10HP

DEVICE_MODEL should be removed in the shared node. You put it in the individual nodes below.

Best

Adrian

>    UIMAGE_MAGIC := 0x83800000
> +  KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers AAHI
> +| uImage gzip endef
> +
> +define Device/zyxel_gs1900-10hp
> +  $(Device/zyxel_gs1900)
> +  DEVICE_MODEL := GS1900-10HP
>    KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers AAZI |
> uImage gzip  endef  TARGET_DEVICES += zyxel_gs1900-10hp
> 
>  define Device/zyxel_gs1900-8hp-v1
> -  SOC := rtl8380
> -  IMAGE_SIZE := 6976k
> -  DEVICE_VENDOR := ZyXEL
> +  $(Device/zyxel_gs1900)
>    DEVICE_MODEL := GS1900-8HP
>    DEVICE_VARIANT := v1
>    DEVICE_PACKAGES += lua-rs232
> -  UIMAGE_MAGIC := 0x83800000
> -  KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers AAHI |
> uImage gzip  endef  TARGET_DEVICES += zyxel_gs1900-8hp-v1
> 
>  define Device/zyxel_gs1900-8hp-v2
> -  SOC := rtl8380
> -  IMAGE_SIZE := 6976k
> -  DEVICE_VENDOR := ZyXEL
> +  $(Device/zyxel_gs1900)
>    DEVICE_MODEL := GS1900-8HP
>    DEVICE_VARIANT := v2
>    DEVICE_PACKAGES += lua-rs232
> -  UIMAGE_MAGIC := 0x83800000
> -  KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers AAHI |
> uImage gzip  endef  TARGET_DEVICES += zyxel_gs1900-8hp-v2
> 
> --
> 2.30.0
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210225/77c5629e/attachment.sig>


More information about the openwrt-devel mailing list