Commit f2f7aa31 authored by Frank Li's avatar Frank Li

add sd_all into default script

parent 6cf39844
......@@ -132,6 +132,10 @@ echo )####^" >> $(SolutionDir)\..\uuu\spl_boot.clst
echo R^"####( > $(SolutionDir)\..\uuu\emmc_burn_all.clst
type $(SolutionDir)\..\uuu\emmc_burn_all.lst >> $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo )####^" >> $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo R^"####( > $(SolutionDir)\..\uuu\sd_burn_all.clst
type $(SolutionDir)\..\uuu\sd_burn_all.lst >> $(SolutionDir)\..\uuu\sd_burn_all.clst
echo )####^" >> $(SolutionDir)\..\uuu\sd_burn_all.clst
</Command>
</PreBuildEvent>
<CustomBuildStep>
......@@ -177,6 +181,9 @@ echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\spl_boot.clst
echo R^"####( &gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
type $(SolutionDir)\..\uuu\emmc_burn_all.lst &gt;&gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo R^"####( &gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
type $(SolutionDir)\..\uuu\sd_burn_all.lst &gt;&gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
</Command>
</PreBuildEvent>
<CustomBuildStep>
......@@ -226,6 +233,9 @@ echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\spl_boot.clst
echo R^"####( &gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
type $(SolutionDir)\..\uuu\emmc_burn_all.lst &gt;&gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo R^"####( &gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
type $(SolutionDir)\..\uuu\sd_burn_all.lst &gt;&gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
</Command>
</PreBuildEvent>
<CustomBuildStep>
......@@ -275,6 +285,9 @@ echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\spl_boot.clst
echo R^"####( &gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
type $(SolutionDir)\..\uuu\emmc_burn_all.lst &gt;&gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
echo R^"####( &gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
type $(SolutionDir)\..\uuu\sd_burn_all.lst &gt;&gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\sd_burn_all.clst
</Command>
</PreBuildEvent>
<CustomBuildStep>
......@@ -290,4 +303,4 @@ echo )####^" &gt;&gt; $(SolutionDir)\..\uuu\emmc_burn_all.clst
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -15,6 +15,7 @@ set(LSTS
qspi_burn_loader.lst
sd_burn_loader.lst
spl_boot.lst
sd_burn_all.lst
)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libuuu)
......
......@@ -53,6 +53,11 @@ BuildCmd g_buildin_cmd[] =
#include "sd_burn_loader.clst"
,"burn boot loader to sd card"
},
{
"sd_all",
#include "sd_burn_all.clst"
,"burn whole image to sd card"
},
{
"spl",
#include "spl_boot.clst"
......
uuu_version 1.0.1
SDP: boot -f _flash.bin
# This command will be run when use SPL
SDPU: delay 1000
SDPU: write -f _flash.bin -offset 0x57c00
SDPU: jump
# This command will be run when ROM support stream mode
SDPS: boot -f _flash.bin
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${sd_dev}
FB: ucmd mmc dev ${sd_dev}
FB: flash -raw2sparse all _rootfs.sdcard
FB: flash bootloader _flash.bin
FB: done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment