mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
rockchip: add uboot-envtools support for T68M
This commit is contained in:
parent
a4c684fd02
commit
de47a6a5c4
22
package/boot/uboot-envtools/files/rockchip
Normal file
22
package/boot/uboot-envtools/files/rockchip
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2023 OpenWrt.org
|
||||||
|
#
|
||||||
|
[ -e /etc/config/ubootenv ] && exit 0
|
||||||
|
|
||||||
|
touch /etc/config/ubootenv
|
||||||
|
|
||||||
|
. /lib/uboot-envtools.sh
|
||||||
|
. /lib/functions.sh
|
||||||
|
|
||||||
|
board=$(board_name)
|
||||||
|
|
||||||
|
case "$board" in
|
||||||
|
lyt,t68m)
|
||||||
|
ubootenv_add_uci_config "/dev/mmcblk0" "0x3f8000" "0x8000"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
config_load ubootenv
|
||||||
|
config_foreach ubootenv_add_app_config
|
||||||
|
|
||||||
|
exit 0
|
@ -186,7 +186,7 @@ define Device/lyt_t68m
|
|||||||
SOC := rk3568
|
SOC := rk3568
|
||||||
UBOOT_DEVICE_NAME := lyt-t68m-rk3568
|
UBOOT_DEVICE_NAME := lyt-t68m-rk3568
|
||||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata
|
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r5s | pine64-img | gzip | append-metadata
|
||||||
DEVICE_PACKAGES := kmod-mt7921e kmod-r8125 wpad-openssl
|
DEVICE_PACKAGES := kmod-mt7921e kmod-r8125 wpad-openssl uboot-envtools
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += lyt_t68m
|
TARGET_DEVICES += lyt_t68m
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user