10 Star 16 Fork 5

Nuclei-Software / nuclei-linux-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
uboot.cmd 653 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
test -z "${bootloc}" && setenv bootloc .
test -z "${kernelimg}" && setenv kernelimg ${bootloc}/uImage.lz4
test -z "${rootfsimg}" && setenv rootfsimg ${bootloc}/uInitrd.lz4
test -z "${dtbimg}" && setenv dtbimg ${bootloc}/kernel.dtb
echo "Boot images located in ${bootloc}"
echo "Loading kernel: ${kernelimg}"
fatload mmc 0 0xa1000000 ${kernelimg}
echo "Loading ramdisk: ${rootfsimg}"
fatload mmc 0 0xa8300000 ${rootfsimg}
if test -e mmc 0 ${dtbimg} ; then
echo "Loading dtb: ${dtbimg}"
fatload mmc 0 0xa8000000 ${dtbimg}
else
echo "${dtbimg} not found, ignore it"
fi
echo "Starts booting from SD"
bootm 0xa1000000 0xa8300000 0xa8000000
C
1
https://gitee.com/Nuclei-Software/nuclei-linux-sdk.git
git@gitee.com:Nuclei-Software/nuclei-linux-sdk.git
Nuclei-Software
nuclei-linux-sdk
nuclei-linux-sdk
dev_nuclei_next

搜索帮助