Skip to content

Commit

Permalink
uboot: imx: add xiaomi dgnwg05lm board support
Browse files Browse the repository at this point in the history
Boot from nand, squashfs or ubifs (set env bootargs=$(bootargs_ubi) or set env bootargs=$(bootargs_squash))
Added pwm leds and button (state available on env)

Contains driver update from NXP: MLK-11719-4: mtd: gpmi: change the BCH layout setting for large oob NAND

Signed-off-by: Ivan Belokobylskiy <belokobylskij@gmail.com>
  • Loading branch information
devbis committed Oct 2, 2024
1 parent 650ba1e commit 1033210
Show file tree
Hide file tree
Showing 4 changed files with 1,277 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package/boot/uboot-envtools/files/imx_cortexa7
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ case "$board" in
technexion,imx7d-pico-pi)
ubootenv_add_uci_config "/dev/mmcblk2" "0xc0000" "0x2000" "0x2000"
;;
xiaomi,dgnwg05lm)
ubootenv_add_uci_config "/dev/mtd0" "0x2e0000" "0x20000" "0x20000" "4"
;;
esac

config_load ubootenv
Expand Down
8 changes: 7 additions & 1 deletion package/boot/uboot-imx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,17 @@ define U-Boot/wandboard
BUILD_DEVICES:=wandboard_dual
endef

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

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

UBOOT_MAKE_FLAGS += u-boot.imx

Expand Down
Loading

0 comments on commit 1033210

Please sign in to comment.