From 5f7a5216eb6b3e564da1bfa6440e22059d899d19 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 15 Aug 2023 13:09:25 -0500 Subject: [PATCH] readme: add basic directions Signed-off-by: Robert Nelson --- readme.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/readme.md b/readme.md index 3f9c2c1..f962d7e 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,45 @@ +# Building Microchip Linux tree + +``` +./01_git_sync.sh +./02_build_hss.sh +./03_build_u-boot.sh +./04_build_linux.sh +./05_generate_payload.bin.sh +sudo ./06_generate_debian_console_root.sh +sudo ./07_create_sdcard_img.sh +``` + +# Switching to Mainline Linux tree + +``` +./git_linux_mainline.sh +``` + +and rebuild: + +``` +./04_build_linux.sh +./05_generate_payload.bin.sh +sudo ./06_generate_debian_console_root.sh +sudo ./07_create_sdcard_img.sh +``` + +# Switching to Microchip Linux tree + +``` +./git_linux_mpfs.sh +``` + +and rebuild: + +``` +./04_build_linux.sh +./05_generate_payload.bin.sh +sudo ./06_generate_debian_console_root.sh +sudo ./07_create_sdcard_img.sh +``` + # Programming ``` @@ -5,6 +47,14 @@ >> usbdmsc ``` +# Flashing sdcard.img: + +Use Balena or: + +``` +sudo bmaptool copy sdcard.img /dev/sde +``` + # Notes ```