From 9663a7c30c22676a64bd2ae3abc137b27a8cb8ec Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 27 Jan 2023 10:13:32 +0100 Subject: rockpi4-plus: add data partition --- target/aarch64/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target') diff --git a/target/aarch64/Makefile b/target/aarch64/Makefile index a6741fe8d..81d0ff4d8 100644 --- a/target/aarch64/Makefile +++ b/target/aarch64/Makefile @@ -25,9 +25,17 @@ ifeq ($(ADK_TARGET_BOARD_BCM28XX),y) @echo "sudo ./scripts/install.sh $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" endif ifeq ($(ADK_TARGET_SYSTEM_ROCKPI4_PLUS),y) +ifeq ($(ADK_RUNTIME_DATA_PARTITION),y) + @echo "Use following command to install with a writable data partition" + @echo "sudo ./scripts/install.sh -d 256 $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" + @echo "If you want to update a card without loosing existing data on the writable partition use:" + @echo "sudo ./scripts/install.sh -k -d 256 $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" + @echo "In both cases the cfgfs partition is _not_ removed!" +else @echo "Use following command to install it on SD card:" @echo "sudo ./scripts/install.sh $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" endif +endif ifeq ($(ADK_TARGET_QEMU),y) @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}' @echo "Use following command to create a QEMU Image:" -- cgit v1.2.3