Revert "rockchip: make sysupgrade image generation reusable"
This reverts commit 6039577c0b.
This commit is contained in:
parent
5e11ff51d2
commit
83f5e253a2
@ -24,7 +24,7 @@ endef
|
||||
|
||||
define Build/boot-script
|
||||
# Make an U-boot image and copy it to the boot partition
|
||||
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d bootscript/$(1).bootscript $@.boot/boot.scr
|
||||
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d $(if $(1),$(1),mmc).bootscript $@.boot/boot.scr
|
||||
endef
|
||||
|
||||
define Build/pine64-img
|
||||
@ -55,7 +55,6 @@ define Device/Default
|
||||
IMAGES := sysupgrade.img.gz
|
||||
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
|
||||
DEVICE_DTS = rockchip/$$(SOC)-$(lastword $(subst _, ,$(1)))
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script $(lastword $(subst _, ,$(1))) | pine64-img | gzip | append-metadata
|
||||
endef
|
||||
|
||||
define Device/FitImageLzma
|
||||
|
||||
@ -10,8 +10,9 @@ define Device/friendlyarm_nanopi-r2s
|
||||
DEVICE_MODEL := NanoPi R2S
|
||||
SOC := rk3328
|
||||
UBOOT_DEVICE_NAME := nanopi-r2s-rk3328
|
||||
DEVICE_PACKAGES := kmod-usb-net kmod-usb-net-rtl8152
|
||||
$(call Device/FitImageLzma)
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script nanopi-r2s | pine64-img | gzip | append-metadata
|
||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
||||
$(call Devuce/FitImageLzma)
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r2s
|
||||
|
||||
@ -20,6 +21,7 @@ define Device/pine64_rockpro64
|
||||
DEVICE_MODEL := RockPro64
|
||||
SOC := rk3399
|
||||
UBOOT_DEVICE_NAME := rockpro64-rk3399
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||
endef
|
||||
TARGET_DEVICES += pine64_rockpro64
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user