前段时间使用TI的am4378芯片,发现系统在SD卡启动的时候,启动文件使用的是MLO和uboot.img;而Norflash和eMMC启动的时候使用的是 uboot-spl.bin和uboot.bin,有如下疑问:

1. MLO和Uboot-spl.bin有什么区别?uboot.img和uboot.bin有什么区别?

2. 为什么后者需要Norflash再配合eMMC,而不是直接eMMC?

---------------------------------------------------------------------------------------------

For MLO use the spl/u-boot-spl.bin file. The difference between u-boot-spl.bin and MLO is that u-boot-spl.bin does not contain header information. Peripheral boot needs an MLO without header

理解:MLO只是比uboot-spl.bin多个Header,如果没记错的话是叫GP Header。但是问题是MLO和uboot-spl.bin是分开编译,分别使用不同的config文件,所以MLO只是简单的在uboot-spl.bin上加1个Header不成立,否则一次做完即可。

u-boot.bin is the binary compiled U-Boot bootloader.

u-boot.img contains u-boot.bin along with an additional header to be used by the boot ROM to determine how and where to load and execute U-Boot.

The way in which these files are deployed can depend upon the nature of your device, its boot ROM and where the files are loaded from.

Boot ROMs are generally provided by the SoC/CPU vendor.

  • These days, many boot ROMs are capable of loading u-boot.img, reading the file's header, loading u-boot.bin into memory and finally executing it.
  • Some boot ROMs are complex enough to load u-boot.bin directly or even the OS kernel.
  • While others may load an intermediate bootloader (MLO/X-Loader) first which then takes responsibility for loading U-Boot as the secondary bootloader once external memory is initialized.

This image depicts the latter case as implemented by some TI OMAP processors: 

This boot process is reduced by some devices by moving many of the X-Loader tasks into U-Boot and placing boot parameters (such as memory addresses) into the header of u-boot.img avoiding the need for an intermediate bootloader.

You will need to investigate the properties of your device to determine how you should go about deploying U-Boot.

理解:uboot.img只是比uboot.bin多了个头,而这个头包括了如何/从哪里执行这个uboot. uboot.bin一般是按照具体地址烧写,而uboot.img则包含地址等信息,无需按照地址下载,所以这个也决定了uboot.bin适用于Norflash,而uboot.img更适合SD卡。

转载于:https://www.cnblogs.com/aaronLinux/p/6941023.html

[uboot]MLO和uboot-spl.bin, uboot.img和uboot.bin相关推荐

  1. uboot和系统移植-第1部分-2.1 uboot学习前传

    uboot和系统移植-第1部分-2.1 uboot学习前传 第一部分.章节目录 2.1.1. 为什么要有uboot (1)uboot最主要作用是用来启动操作系统内核.因为操作系统内核本身不能自己启动自 ...

  2. /bin,/sbin,/usr/sbin,/usr/bin 目录区别

    这些目录都是存放命令的,首先区别下/sbin和/bin: 从命令功能来看,/sbin 下的命令属于基本的系统命令,如shutdown,reboot,用于启动系统,修复系统,/bin下存放一些普通的基本 ...

  3. Linux下的/bin、/sbin、/usr/bin、/usr/sbin目录

    Linux下的/bin./sbin./usr/bin./usr/sbin目录 在linux下我们经常用到的四个应用程序的目录是/bin./sbin./usr/bin./usr/sbin .而四者存放的 ...

  4. linux中/bin和/sbin和/usr/bin和/usr/sbin

    首先先解释一下bin和sbin的意思: 1.bin:为任何用户都可以使用的指令 2.sbin:(super bin)也就是只有超级管理员才能使用的指令 /usr    UNIX Software Re ...

  5. usr bin java快捷方式_/ usr / bin / sudo必须由uid 0拥有并设置setuid位

    我的Mac(El Capitan)上有usr / bin / sudo问题 . 我打开我的终端并得到: malloc:对象0x7fff38418900的错误:未释放指针被释放在malloc_error ...

  6. /bin、/sbin、/usr/bin、/usr/sbin目录的区别

    2019独角兽企业重金招聘Python工程师标准>>> /bin./sbin./usr/bin./usr/sbin目录的区别 普通用户的PATH的环境变量不包括/sbin.如果没有指 ...

  7. Keil MDK5生成bin文件时生成了*.bin文件夹

    在Keil魔术棒中通过以下方式生成bin文件时,看提示命令执行成功,却生成了一个*.bin文件夹,文件夹内部是两个bin文件,当时感觉很奇怪,第一次遇到这种情况. 使用的命令:fromelf.exe ...

  8. .bin二进制文件转换为.txt(.bin)文件

    将.bin二进制文件转换为.txt(.bin)文件 可用于神经网络的权重偏置等.bin文件的读取 import struct import re#自己创建文件夹 src_filepath = &quo ...

  9. C:\wamp64\bin\mysql\mysql5.7.23\bin 远程连接

    GRANT ALL PRIVILEGES ON . TO 'remote'@'%' IDENTIFIED BY 'test123' WITH GRANT OPTION; FLUSH PRIVILEGE ...

  10. linux shell bin sh,linux shell中#bin/sh的理解

    摘要 腾兴网为您分享:linux shell中#bin/sh的理解,支付旭尊,小熊到家,天天美剧,淘金宝等软件知识,以及维棠flv视频软件,usb抓包工具,红警2无敌,ucbug造梦西游4,壁纸工作室 ...

最新文章

  1. VTK修炼之道46:图形基本操作进阶_三角网格体积、表面积、测地距离、包围盒
  2. 获取MySQL数据库表结构的信息(字段名,字段类型,注释等)
  3. .NET(C#)连接各类数据库
  4. Java 中array.size()_Java ArrayDeque size()方法与示例
  5. zabbix4.2学习笔记系列
  6. sysbench 1.0.6 mysql_mysql sysbench 1.0.X
  7. MySQL不应出现的开始声明_备考:2019年9月计算机二级MySQL试题
  8. linux系统移植步骤
  9. flexray VPX控制板设计方案详细
  10. 必须收藏!Jboss下载(全版本秒下载!)
  11. BIOS开启了VT,但是CPU-V显示未开启
  12. 四六级对计算机考研有影响吗,英语四六级对考研有多大影响
  13. 转载]“无法打开Internet站点 已终止操作”的解决方法
  14. 智慧果园系统——以水肥一体化系统功能为基础实现智慧果园系统项目 需求文档
  15. postman批量调用接口操作步骤
  16. 2020-11-28画图上的最大值点,和零基准线
  17. 链表OJ题---Java实现
  18. 常用的在线工具类网站清单
  19. SQL到底该怎么发音: S-Q-L or Sequel?
  20. [xiaoyi和你飞]博弈基础 ——[AB]

热门文章

  1. Excel入门(二)
  2. 在HBuilder里为什么输入汉字是繁体字,而我的输入法设置的是简体
  3. 京东自动评价助手/京东评价
  4. 金融信贷风控中的机器学习
  5. 明清时期华北宗族的发展——以山西洪洞刘氏为例
  6. 小公司老板的日常管理
  7. MySQL必知必会,我的MySql复习宝典
  8. 64位电脑安装32位系统不能引导启动
  9. android 10.0禁用电源键(屏蔽关机短按长按事件)
  10. 和黄医药宣布获霸菱亚洲投资基金1亿美元股权投资