From f7e431a38813c6eb19986330e5ec1630895efaed Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 21 Sep 2023 21:49:05 -0500 Subject: [PATCH] ci: store in deploy/ directory Signed-off-by: Robert Nelson --- .gitlab-ci.yml | 19 ++++++++++--------- deploy/readme.md | 15 +++++++++++++++ 2 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 deploy/readme.md diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13e958f..106c69d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,15 +35,16 @@ build: - ./07_create_sdcard_img.sh - xz -vT8 deploy/images/sdcard.img - tree -s deploy/ - - cp -v deploy/images/sdcard.img.xz ./ - - cp -v deploy/images/sdcard.bmap ./ - - cp -v deploy/input/beaglev_fire.itb ./ - - cp -v deploy/*-modules.tar.gz ./modules.tar.gz + - cp -v deploy/images/sdcard.img.xz ./deploy/ + - cp -v deploy/images/sdcard.bmap ./deploy/ + - cp -v deploy/input/beaglev_fire.itb ./deploy/ + - cp -v deploy/*-modules.tar.gz ./deploy/modules.tar.gz artifacts: - expire_in: 14 days + expire_in: 28 days name: "$CI_PROJECT_NAME-$CI_JOB_ID" paths: - - "sdcard.img.xz" - - "sdcard.bmap" - - "beaglev_fire.itb" - - "modules.tar.gz" + - "deploy/sdcard.img.xz" + - "deploy/sdcard.bmap" + - "deploy/readme.md" + - "deploy/beaglev_fire.itb" + - "deploy/modules.tar.gz" diff --git a/deploy/readme.md b/deploy/readme.md new file mode 100644 index 0000000..dadfd5d --- /dev/null +++ b/deploy/readme.md @@ -0,0 +1,15 @@ +# Programming + +``` +>> mmc +>> usbdmsc +``` + +# Flashing sdcard.img: + +Use Balena or bmaptool: + +``` +unxz sdcard.img.xz +sudo bmaptool copy sdcard.img /dev/sde +```