Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imx: add Xiaomi zigbee gateway DGNWG05LM device #4053

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
4 changes: 4 additions & 0 deletions package/boot/uboot-envtools/files/imx_cortexa7
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ touch /etc/config/ubootenv
board=$(board_name)

case "$board" in
aqara,zhwg11lm|\
xiaomi,dgnwg05lm)
ubootenv_add_uci_config "/dev/mtd0" "0x2e0000" "0x20000" "0x20000" "4"
;;
technexion,imx7d-pico-pi)
ubootenv_add_uci_config "/dev/mmcblk2" "0xc0000" "0x2000" "0x2000"
;;
Expand Down
9 changes: 8 additions & 1 deletion package/boot/uboot-imx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,18 @@ define U-Boot/wandboard
BUILD_DEVICES:=wandboard_dual
endef

define U-Boot/xiaomi_dgnwg05lm
NAME:=Xiaomi Lumi gateway
BUILD_DEVICES:=aqara_zhwg11lm xiaomi_dgnwg05lm
endef

UBOOT_TARGETS := \
apalis_imx6 \
aqara_zhwg11lm \
mx6cuboxi \
pico-pi-imx7d \
wandboard
wandboard \
xiaomi_dgnwg05lm

UBOOT_MAKE_FLAGS += u-boot.imx

Expand Down
Loading
Loading