转载地址:https://blog.youkuaiyun.com/q_z_r_s/article/details/80797999
If the system board that you have is not listed, then you will need
to port U-Boot to your hardware platform. To do this, follow these
steps:
1. Create a new directory to hold your board specific code. Add any
files you need. In your board directory, you will need at least
the "Makefile" and a "<board>.c".
2. Create a new configuration file "include/configs/<board>.h" for
your board.
3. If you're porting U-Boot to a new CPU, then also create a new
directory to hold your CPU specific code. Add any files you need.
4. Run "make <board>_defconfig" with your new name.
5. Type "make", and you should get a working "u-boot.srec" file
to be installed on your target system.
6. Debug and solve any problems that might arise.
[Of course, this last step is much harder than it sounds.]
本文提供了将U-Boot移植到新硬件平台的步骤说明。主要内容包括创建特定于板级的目录及文件、配置文件的建立、针对新CPU的代码目录设置、使用make命令进行配置与编译以及调试过程中可能遇到的问题。
546

被折叠的 条评论
为什么被折叠?



