u-boot 的machine id 定义和kernel 中的 machine id 不同
来源:互联网 发布:nginx 设置密码 编辑:程序博客网 时间:2024/06/04 19:18
u-boot 的中machine id 可能和kernel 中的 machine id不同
可以从 include/asm-arm/mach-types.h 中看到machine id 的定义,这个文件是自动生成的
通过 arch/arm/tool 下面的awk 脚步以及输入文件生成的。
可以从 “Error: unrecognized/unsupported machine ID (r = 0x0000147C)” 从 r 的数字得到 u-boot 传递给kernel 的 machine-id 。
可以根据自己编译kernel 的时候,指定的machine type 来修改 u-boot 传递上来的 machine id
在文件 arch/arm/kernel/head.S 中,搜索 .section ".text.head" ,
在代码
msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | SVC_MODE @ ensure svc mode @ and irqs disabled
后面加入:
mov r1, #0xc1 @modify the machine id from u-boot 修改 u-boot 上次的machine id
重新编译 make uImage 即可
- u-boot 的machine id 定义和kernel 中的 machine id 不同
- u-boot 的machine id 定义和kernel 中的 machine id 不同
- 关于u-boot引导内核出现“Error: unrecognized/unsupported machine ID (r1 = 0x33f4fee8)”的问题
- u-boot移植随笔:关于u-boot引导内核出现“Error: unrecognized/unsupported machine ID (r1 = 0x33f4fee8)”的问题
- 关于Oracle Linux中的machine-id
- unrecognized/unsupported machine ID
- unrecognized/unsupported machine ID
- machine ID 问题
- jQuery中的$(#id)和document.getelementbyid(id)的不同
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID
- unrecognized/unsupported machine ID解决
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID
- 内核启动错误Error: unrecognized/unsupported machine ID的解决
- Error: unrecognized/unsupported machine ID 解决办法
- 内核移植- unrecognized/unsupported machine ID
- 深入浅出JSON
- 关于设计模式和mvc的理解
- Pascal语句
- 表单技巧
- Java选择Java接口还是抽象类
- u-boot 的machine id 定义和kernel 中的 machine id 不同
- 廉价的快乐
- asp.net 精品网站
- 唐僧取经
- Javascript中最常用的55个经典技巧收藏
- 项目管理系统
- what is the best way to reduce stress?
- 优秀程序员十要素!
- 在VC运行正常在ADS异常的代码