文章目录
1 背景
最近想将petalinux flash启动的系统直接拷贝修改成sd启动,发现内核启动时候被卡死了,petalinux-config中 flash的 启动的3个选项修改为了SD卡启动,但是还是不好使。
https://blog.csdn.net/xiongjia516/article/details/120295713
2 SD卡启动platform-auto.h和platform-top.h
platform-auto.h
- clobstart 大块地址
- tftpboot addr filename ,从服务器下载文件到addr地址。
- mmc 主要是 SD卡和EMMC 操作指令
/*
* This file is auto-generated by PetaLinux SDK
* DO NOT MODIFY this file, the modification will not persist
*/