Skip to content
Snippets Groups Projects
Commit d21c78ce authored by minute's avatar minute
Browse files

mkuboot: build two versions, one for rescue from eMMC

parent 28c8b265
No related branches found
No related tags found
1 merge request!12RC1 of MNT Reform System Image and Rescue Image
......@@ -14,7 +14,12 @@ cp mntreform-config .config
export CROSS_COMPILE=aarch64-linux-gnu-
export ARCH=arm
# build rescue u-boot first (loads kernel from eMMC)
make -j$(nproc) flash.bin KCPPFLAGS='-DMNTREFORM_BOOT_EMMC'
cp flash.bin flash-rescue.bin
# build normal u-boot second (loads kernel from SD card)
make -j$(nproc) flash.bin
cd ..
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment