天嵌 ARM开发社区

 找回密码
 注册
查看: 2914|回复: 8

亚瑟王,帮我看一下,make zImage 的问题

[复制链接]
qihang 发表于 2010-8-3 13:58:25 | 显示全部楼层 |阅读模式
交叉编译环境已经搭好。用的是EABI-4.3.3_EmbedSky_20091210.tar.bz2。编译时用的是最新的linux-2.6.30.4.解压后进入按照移植手册保存好配置。
接着make zImage ,出现如下错误。直接使用s3c2410_defconfig 也是一样。另外使用linux-2.5.28也是一样,我也在论坛看过人家解决的方法,但我这个就编译不过去。

我在终端的命令如下:
     【root@EmbedSky Linux-2.6.30.4】#make menuconfig
         scripts/kconfig/mconf arch/arm/kconfig
         #
         # using defaults founds in boot/config-2.4.20.8
         #
         
        /boot/config-2.4.20-8:1:warning:unexpected data
       .
       .
       .
       .
       .
     (这里我省略了警告的句子,下面终端继续)
      #
      # configuration written to config_EmbedSky_W35_256MB
      #
      *** End of linux Kernel configuration
      #Execute 'make' to build the kernel or try 'make help'
     [root@EmbedSky linux-2.6.30.4]#make zImage
     scripts/kconfig/conf -s arch/arm/Kconfig
     ***
    *** You have not yet configured your kernel!
    *** (missing kernel .config file)
    ***
    *** Please run some configurator (e.g. "make oldconfig" or
    *** "make menuconfig" or "make xconfig").
    ***
   make[2]: *** [silentoldconfig] Error 1
   make[1]: *** [silentoldconfig] Error 2
   make: *** [include/config/auto.conf] Error 2  

   麻烦亚瑟王指点!
 楼主| qihang 发表于 2010-8-3 14:14:07 | 显示全部楼层
如果哪位好心人路过,请帮忙看一下!
回复

使用道具 举报

 楼主| qihang 发表于 2010-8-3 15:16:28 | 显示全部楼层
其实我在终端输入: Make menuconfig
然后就装载linux-2.6.30.4内核里config_EmbedSky_W35_256MB,
再后就是保存,退出
编译!始终出错!请哪位高人指点!
回复

使用道具 举报

亚瑟王 发表于 2010-8-4 23:07:44 | 显示全部楼层
你的步骤中,导入了配置单之后,你是怎么做的,给出具体的操作过程。
回复

使用道具 举报

 楼主| qihang 发表于 2010-8-5 09:27:54 | 显示全部楼层
具体过程是这样的:
                 1.load an alternate configuration file
                          2.导入配置单:config_EmbedSky_W35_256MB
                          3.ok
                          4.回到配置主菜单后,save an alternate configuration file
                          5.保存配置单:config_EmbedSky_W35.config
                          6.OK
                          7.回到配置主菜单, 选择[EXIT],退出.
                          8.编译,就出错上面error!
具体就是这样,可就是出错!
回复

使用道具 举报

wuchguang 发表于 2010-8-5 12:27:39 | 显示全部楼层
你要在你的第五步保存配置单保存为".config",而不是"config_EmbedSky_W35.config"。你那样做等于没做什么
回复

使用道具 举报

 楼主| qihang 发表于 2010-8-7 15:07:18 | 显示全部楼层
请问:我保存时候save an alternate configuration file
在第五步保存菜单保存“.config”,别的什么都输入就OK?
这一步我不是很明白!!!
请赐教!
回复

使用道具 举报

liushuiyue 发表于 2010-8-7 19:08:06 | 显示全部楼层
因为我们每次make zImage 做linux镜像都要根据.config这个配置来做的
回复

使用道具 举报

 楼主| qihang 发表于 2010-8-9 10:01:57 | 显示全部楼层
谢啦!热心人!
太好啦!
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2025-8-5 12:10 , Processed in 2.043209 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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