天嵌 ARM开发社区

 找回密码
 注册
查看: 6577|回复: 15

2.6.30.4内核启动不了

[复制链接]
buster 发表于 2009-8-19 20:59:01 | 显示全部楼层 |阅读模式
我按新的内核移植手册做到27页(让系统“动”起来那一章)编译出的zImage,按烧写2.6.13内核的方式烧写到板子上没启动起来,是不是我的uboot不支持这个新内核呀    我用的是sky2440的板子,uboot也一直是原来光盘带的,希望会的高手们给点建议   先谢谢了
mxdaiyi 发表于 2009-8-21 15:39:27 | 显示全部楼层
终端上啥都没有?
 楼主| buster 发表于 2009-8-21 18:36:22 | 显示全部楼层
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
Enter your selection: 8
Start Linux ...

Loading from NAND 64MiB 3,3V 8-bit, offset 0x4c000

** Bad Magic Number 0xe1a00000 **
## Booting image at 32000000 ...
Bad Magic Number

#####    Boot for Nor Flash    #####
[1] Download u-boot to Nand Flash
[2] Download Eboot
[3] Download Linux Kernel
 楼主| buster 发表于 2009-8-21 18:43:12 | 显示全部楼层
上面是烧写2.6.30.4zImage后的启动情况    下面是又重新烧写光盘带的2.6.13内核镜像直接启动情况

[7] Download to SDRAM & Run
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
Enter your selection: 8
Start Linux ...

Loading from NAND 64MiB 3,3V 8-bit, offset 0x4c000
   Image Name:   Linux-2.6.13
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1567494 Bytes =  1.5 MB
   Load Address: 30008000
   Entry Point:  30008000
## Booting image at 32000000 ...
   Image Name:   Linux-2.6.13
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1567494 Bytes =  1.5 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.13 (root@EmbedSky) (gcc version 3.4.1) #1 Sat Mar 22 10:19:39
CST 2008
 楼主| buster 发表于 2009-8-21 18:45:01 | 显示全部楼层
前面管理员说skyd2440的板子内核需要二次压缩,不知道是不是这个问题,改用什么命令吧zImage压缩一下呢  谢谢了
 楼主| buster 发表于 2009-8-21 19:56:49 | 显示全部楼层
新进展  二次压缩后的镜像  终端重复打印下面信息   不知道是不是二次压缩时的入口地址错了还是怎么回事  


##### EmbedSky BIOS for SKY2440 #####
Press any key to stop autoboot:  1
Booting Linux ...

Loading from NAND 64MiB 3,3V 8-bit, offset 0x4c000
   Image Name:   Linux-2.6.30.4
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1926356 Bytes =  1.8 MB
   Load Address: 30008000
   Entry Point:  30008040
## Booting image at 32000000 ...
   Image Name:   Linux-2.6.30.4
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1926356 Bytes =  1.8 MB
   Load Address: 30008000
   Entry Point:  30008040
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover
 楼主| buster 发表于 2009-8-21 20:05:01 | 显示全部楼层
入口地址改动后的打印信息  

##### EmbedSky BIOS for SKY2440 #####
Press any key to stop autoboot:  1
Booting Linux ...

Loading from NAND 64MiB 3,3V 8-bit, offset 0x4c000
   Image Name:   Linux-2.6.30.4
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1926356 Bytes =  1.8 MB
   Load Address: 30008000
   Entry Point:  30008000
## Booting image at 32000000 ...
   Image Name:   Linux-2.6.30.4
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1926356 Bytes =  1.8 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover
亚瑟王 发表于 2009-8-22 10:37:39 | 显示全部楼层
你用的是SKY2440开发板?建议你到我们官网的下载中心下载支持zImage格式的uboot的镜像。
 楼主| buster 发表于 2009-8-22 11:12:26 | 显示全部楼层
好的  我去试试  谢谢了
 楼主| buster 发表于 2009-8-23 20:56:04 | 显示全部楼层
换了个uboot  系统总算起来了  感谢  亚瑟王    哈哈
lansky 发表于 2009-8-26 16:23:56 | 显示全部楼层
make uImage 把uImage烧进去看看。。。
亚瑟王 发表于 2009-8-27 10:02:01 | 显示全部楼层
make uImage还需要mkimg的支持才行,
lansky 发表于 2009-8-27 13:23:59 | 显示全部楼层
make uImage还需要mkimg的支持才行,
亚瑟王 发表于 2009-8-27 10:02


bbs上提供了下载的嘛。。。
亚瑟王 发表于 2009-9-1 16:47:26 | 显示全部楼层
mkimg软件我们提供了的。网站的下载中心有这个软件在mktools合集里面的。
ieasylive 发表于 2010-6-8 15:53:34 | 显示全部楼层
支持zImage的uboot在哪里,我也是sky2440的板子。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-9-20 07:21 , Processed in 1.022396 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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