rt-thread-official/bsp/nxp/imx/imx6ull-smart/emmc.sh

12 lines
302 B
Bash
Raw Normal View History

sudo mount ./boot.fat ./tmp/
sudo rm -rf tmp/kernel/*
sudo cp -rp ../rtthread.bin tmp/kernel/
sudo cp -rp ../rtthread.elf tmp/kernel/
sudo cp -rp ../rtthread.img tmp/kernel/
sudo cp -rp ../rtthread.imx tmp/kernel/
sudo sync
sudo umount ./tmp
sudo cp boot.fat image/input/
cd image
rm -rf tmp
./genimage