天嵌 ARM开发社区

 找回密码
 注册
查看: 2783|回复: 3

为什么烧写光盘里的uboot之后再烧写zImage,uboot提示机器码不对?

[复制链接]
xkx_ 发表于 2017-6-25 11:51:24 | 显示全部楼层 |阅读模式
如题,我之前擦除了nand flash   然后重新烧写了uboot,能进入load module,液晶上也有logo显示,但是我下载光盘中的内核镜像后,发现启动不了,log最后显示正在启动内核。然后我重新编译内核源码后,用tftp下载到板子里,直接使用go运行,uboot提示机器码不对,但是我检查了内核里的机器码,是我们要求的168,这就不知道该怎么弄了,求大神指点一下。
 楼主| xkx_ 发表于 2017-6-25 11:59:04 | 显示全部楼层

EmbedSky> tftp 30008000 zImage_2.6.25.8_W43_256MB.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
TFTP from server 192.168.7.102; our IP address is 192.168.7.162
Filename 'zImage_2.6.25.8_W43_256MB.bin'.
Load address: 0x30008000
Loading: T #################################################################
         #########################################################T ########
         #################################################################
         #################################################################
         #################################################################
         #################################################
done
Bytes transferred = 1914160 (1d3530 hex)
EmbedSky> bootm 30008000
## Booting image at 30008000 ...
Bad Magic Number
EmbedSky>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| xkx_ 发表于 2017-6-25 12:01:55 | 显示全部楼层
EmbedSky> tftp 30008000 zImage_2.6.25.8_W43_256MB.bin
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
TFTP from server 192.168.7.102; our IP address is 192.168.7.162
Filename 'zImage_2.6.25.8_W43_256MB.bin'.
Load address: 0x30008000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################
done
Bytes transferred = 1914160 (1d3530 hex)
EmbedSky> go 30008000
## Starting application at 0x30008000 ...
Uncompressing Linux........................................................................................................................ done, booting the kernel.
 楼主| xkx_ 发表于 2017-6-25 12:07:56 | 显示全部楼层
EmbedSky> tftp 30008000 zImage
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
TFTP from server 192.168.7.102; our IP address is 192.168.7.162
Filename 'zImage'.
Load address: 0x30008000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######
done
Bytes transferred = 2027288 (1eef18 hex)
EmbedSky> go 30008000
## Starting application at 0x30008000 ...
Uncompressing Linux.............................................................                                         ................................................................ done, booting t                                         he kernel.

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

Available machine support:

ID (hex)        NAME
000000c1        SMDK2410
000000a8        SMDK2440
00000707        AT2440EVB

Please check your kernel config and/or bootloader

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-3-28 19:46 , Processed in 1.031250 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表