Error: unrecognized/unsupported machine ID
来源:互联网 发布:五星体育回放软件 编辑:程序博客网 时间:2024/04/27 20:41
Error: unrecognized/unsupported machine ID (r1 = 0x33f60264).
解决方法一
========================================================
Linux内核启动时出现:bad machine ID,原因大致是u-boot传递给内核的machine ID错误,可以手动在内核源代码中添加machine ID.
解决方法:
在u-boot命令行中输入bdinfo
查看板卡信息,我的输出如下:
[ ~ljh@GDLC ]# bdinfo
arch_number = 0x000000C1
env_t = 0x00000000
boot_params = 0x30000100
DRAM bank = 0x00000000
-> start = 0x30000000
-> size = 0x04000000
ethaddr = 08:00:3E:26:0A:5B
ip_addr = 10.1.8.245
baudrate = 115200 bps
修改内核的arch/arm/kernel/head.S,直接将s3c2410的参数赋给内核
# cd linux-2.6.19
# vi arch/arm/kernel/head.S +72
----------------------------------------------
70 __INIT
71 .type stext, %function
72 ENTRY(stext)
/********* add here *********/
mov r0, #0
mov r1, #0xc1
ldr r2, =0x30000100
/********* end add *********/
73 msr cpsr_c, #PSR_F_BIT | PSR_I_BIT | SVC_MODE @ ensure svc mode
74 @ and irqs disabled
解决方法二
========================================================
修改u-boot,填写ID;
# vi common/cmd_boot.c
----------------------------------------------
31 #if defined(CONFIG_I386)
32 DECLARE_GLOBAL_DATA_PTR;
33 #endif
====>
31 //#if defined(CONFIG_I386)
32 DECLARE_GLOBAL_DATA_PTR;
33 //#endif
...
60 #if !defined(CONFIG_NIOS)
/************** add here ******************/
if(argc==2)
rc = ((ulong (*)(int, char *[]))addr) (0, gd->bd->bi_arch_number);
else
/*************** add end *****************/
61 rc = ((ulong (*)(int, char *[]))addr) (--argc, &argv[1]);
62 #else
63 /*
64 * Nios function pointers are address >> 1
65 */
66 rc = ((ulong (*)(int, char *[]))(addr>>1)) (--argc, &argv[1]);
67 #endif
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID
- Error: unrecognized/unsupported machine ID 解决办法
- Error: unrecognized/unsupported machine ID 内核 移植
- Error: unrecognized/unsupported machine ID(2)
- unrecognized/unsupported machine ID
- unrecognized/unsupported machine ID
- 内核启动错误Error: unrecognized/unsupported machine ID的解决
- Error: unrecognized/unsupported machine ID(r1 = 0x00000378).
- unrecognized/unsupported machine ID解决
- 内核移植- unrecognized/unsupported machine ID
- 系统启动报错Error: unrecognized/unsupported machine ID (r1 = 0x000000fb)
- TQ2440——Error: unrecognized/unsupported machine ID (r1 = 0x0000270f)
- unrecognized/unsupported machine ID (r1 = 0x31f07d30).
- unrecognized/unsupported machine ID (r1 = 0x31f07d30).
- 无线技术改变生活
- 一段关于死锁的讨论
- executors和executorService使用例子
- feel
- Larbin:checker
- Error: unrecognized/unsupported machine ID
- eclipse 国际话插件 安装
- Larbin:Vector
- 常用排序算法 思想和实现()
- HTML标签详解
- Debian 6.0 安装图文教程
- AVR单片机应用--带1/100秒的简易24小时制时钟汇编程序
- OpenFlashChart通过URL传值问题
- workitems in the coming 5 monthes.