Verified Commit 7596121c authored by Michal Hrusecky's avatar Michal Hrusecky 🐉 Committed by Karel Koci
Browse files

mox-firmware: Add devel version of secure firmware

It is version two of workaround to solve reboot issue on some MOX
devices.

https://gitlab.nic.cz/turris/mox-boot-builder/-/releases/v2021.01.22
parent c9c288d1
......@@ -29,7 +29,7 @@ define Package/turris-mox-devel-firmware
TITLE:=Data files for nor-update (development version)
DEPENDS:=+turris-nor-update +rescue-image +u-boot-mox @TARGET_mvebu_cortexa53_DEVICE_cznic-mox
PROVIDES:=turris-nor-update-devel-firmware
VERSION:=0.0
VERSION:=0.1
RELEASE:=1
endef
......@@ -40,11 +40,15 @@ endef
Build/Compile:=:
Package/turris-mox-devel-firmware/install:=:
define Package/turris-mox-firmware/install
$(INSTALL_DIR) $(1)/usr/share/nor-update/
$(INSTALL_DATA) ./files/* $(1)/usr/share/nor-update/
$(RM) $(1)/usr/share/nor-update/secure-firmware-devel.bin
endef
define Package/turris-mox-devel-firmware/install
$(INSTALL_DIR) $(1)/usr/share/nor-update/
$(INSTALL_DATA) ./files/secure-firmware-devel.bin $(1)/usr/share/nor-update/
endef
$(eval $(call BuildPackage,turris-mox-firmware))
......
......@@ -3,3 +3,4 @@ UBOOT_PART="mtd1"
RESCUE_PART="mtd3"
DTB_PART="mtd4"
UBOOT_DEVEL="/usr/share/mox/uboot-devel"
SECURE_FIRMWARE_DEVEL="secure-firmware-devel.bin"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment