主题 : Error: unrecognized/unsupported machine ID (r1 = 0x00000000). 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 30223
精华: 0
发帖: 31
金钱: 155 两
威望: 31 点
综合积分: 62 分
注册时间: 2010-10-13
最后登录: 2012-02-26
楼主  发表于: 2011-02-24 14:55

 Error: unrecognized/unsupported machine ID (r1 = 0x00000000).

ownload bootloader...
Download bootloader succeed
Download kernel...
Download kernel succeed
Download yaffs-image ...
Download yaffs-image succeed
OS 'LINUX' Installed
OK

U-Boot 1.1.6 (Feb 24 2011 - 11:34:58) for FriendlyARM MINI6410


CPU:     S3C6410@532MHz
         Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode)
Board:   MINI6410
DRAM:     0 kB
Flash:   0 kB
NAND:    1024 MB
In:      serial
Out:     serial
Err:     serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x80000, size 0x500000

Reading data from 0x57f800 -- 100% complete.
5242880 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000000).

Available machine support:

ID (hex)        NAME
000009d8        MINI6410

Please check your kernel config and/or bootloader.

级别: 新手上路
UID: 30223
精华: 0
发帖: 31
金钱: 155 两
威望: 31 点
综合积分: 62 分
注册时间: 2010-10-13
最后登录: 2012-02-26
1楼  发表于: 2011-02-24 15:06

 回 楼主(cnglng) 的帖子

Download bootloader...
Download bootloader succeed
Download kernel...
Download kernel succeed
Download yaffs-image ...
Download yaffs-image succeed
OS 'LINUX' Installed
OK

U-Boot 1.1.6 (Feb 24 2011 - 11:34:58) for FriendlyARM MINI6410


CPU:     S3C6410@532MHz
         Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode)
Board:   MINI6410
DRAM:     0 kB
Flash:   0 kB
NAND:    1024 MB
In:      serial
Out:     serial
Err:     serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x80000, size 0x500000

Reading data from 0x57f800 -- 100% complete.
5242880 bytes read: OK
Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000000).

Available machine support:

ID (hex)        NAME
000009d8        MINI6410

Please check your kernel config and/or bootloader.


编译U-BOOT烧写进NANDFLASH后出现上述问题。编译路径:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410
编译过程:1、root@clog-laptop:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410# make mrproper
    2、root@clog-laptop:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410# make mini6410_nand_config-ram256
    3、root@clog-laptop:/opt/FriendlyARM/mini6410/linux/u-boot-mini6410# make
编译通过:arm-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
    arm-linux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
    arm-linux-objdump -d u-boot > u-boot.dis
用生成的u-boot.bin替换掉SD卡中images下linux目录中的u-boot_nand-ram256.bin
配置文件:

#This line cannot be removed. by FriendlyARM(www.arm9.net)

CheckOneButton=No
Action=install
OS= linux

VerifyNandWrite=No

StatusType = Beeper| LED

#################### Linux #####################
Linux-BootLoader = Linux/u-boot_nand-ram256.bin
Linux-Kernel = Linux/zImage_n43
Linux-CommandLine = root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0,115200
Linux-RootFs-InstallImage = Linux/rootfs_qtopia_qt4.img
Linux-RootFs-RunImage = Linux/rootfs_qtopia_qt4.ext3

board_init()函数原形在哪,应该是这里的问题。
级别: 新手上路
UID: 30223
精华: 0
发帖: 31
金钱: 155 两
威望: 31 点
综合积分: 62 分
注册时间: 2010-10-13
最后登录: 2012-02-26
2楼  发表于: 2011-02-24 15:11
补充:mini6410 256ram 1Gflash板
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
3楼  发表于: 2011-02-24 15:16
连DRAM的大小显示都不正常,应该是你的u-boot有问题
级别: 新手上路
UID: 30223
精华: 0
发帖: 31
金钱: 155 两
威望: 31 点
综合积分: 62 分
注册时间: 2010-10-13
最后登录: 2012-02-26
4楼  发表于: 2011-02-24 15:23

 回 3楼(911gt3) 的帖子

你好:我没有修改时直接编译的啊,board_init()这个函数原型在哪个路径下?