summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-01-27 10:13:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-01-27 10:13:32 +0100
commit9663a7c30c22676a64bd2ae3abc137b27a8cb8ec (patch)
treecdd567fb1379675b373726ba86e0d85b62217956 /target
parentc2994edc3f89198ac60121250b391bbcecf4b255 (diff)
rockpi4-plus: add data partition
Diffstat (limited to 'target')
-rw-r--r--target/aarch64/Makefile8
1 files changed, 8 insertions, 0 deletions
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:"