主题 : 针对Android kernel for mini2440 [2009-08-25] 编译出来的zImage,无法启动 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 32853
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2010-11-22
最后登录: 2010-11-25
楼主  发表于: 2010-11-22 16:59

 针对Android kernel for mini2440 [2009-08-25] 编译出来的zImage,无法启动

针对Android kernel for mini2440 [2009-08-25]- 仅包含统宝3.5"LCD显示驱动支持
在公司网站上面下载这个代码后,按照config_mini2440配置去编译生成zImage,但是下到flash之后无法启动,如果烧写非ANDROID得kernel,光盘带的,就能启动起来,没有问题。

无法启动的打印信息如下:
+---------------------------------------------+
| S3C2440A USB Downloader ver R0.03 2004 Jan  |
+---------------------------------------------+
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NOTE: Power off/on or press the reset button for 1 sec
      in order to get a valid USB device address.

NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Could not found stored vivi parameters. Use default vivi parameters.
Press Return to start the LINUX/Wince now, any other key for vivi
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySA
C0"
MACH_TYPE = 782
NOW, Booting Linux......
Uncompressing Linux.............................................................
........................................................................ done, b
ooting the kernel.
级别: 新手上路
UID: 32853
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2010-11-22
最后登录: 2010-11-25
1楼  发表于: 2010-11-22 17:15
大侠们,我用的是NEC的LCD,但是按道理,即使这个KERNEL不支持NEC的LCD,至少可以看得到LCD驱动初始化之前的其他的打印信息的,但是根据这个情况,貌似KERNEL都没有BOOTING起来呢,各位能帮忙吗?
级别: 新手上路
UID: 32853
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2010-11-22
最后登录: 2010-11-25
2楼  发表于: 2010-11-23 16:02
问题已经解决 谢谢大家
要握住嵌入式在中国腾飞的时机
级别: 新手上路
UID: 33252
精华: 0
发帖: 11
金钱: 55 两
威望: 11 点
贡献值: 0 点
综合积分: 22 分
注册时间: 2010-11-28
最后登录: 2010-12-02
3楼  发表于: 2010-11-28 12:54
直接接线down进去就可以跑了·······
级别: 新手上路
UID: 17642
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2010-03-31
最后登录: 2017-09-13
4楼  发表于: 2010-11-28 15:03
LZ不厚道啊。怎么解决的不共享一下?
级别: 新手上路
UID: 29561
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2010-09-30
最后登录: 2011-06-25
5楼  发表于: 2010-12-21 13:38
描述:Screen dump
图片:
楼主, 我是初學的.
在编译zImage有以下問題(原全沒有動過原代碼)
請指導一下吧!謝
**************************************
owner@ubuntu:~$ cd bin
owner@ubuntu:~/bin$ cd FriendlyARM/
owner@ubuntu:~/bin/FriendlyARM$ cd android/
owner@ubuntu:~/bin/FriendlyARM/android$ cd kernel/
owner@ubuntu:~/bin/FriendlyARM/android/kernel$ cp config_mini2440 .config
owner@ubuntu:~/bin/FriendlyARM/android/kernel$ make menuconfig
scripts/kconfig/mconf arch/arm/Kconfig

*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
owner@ubuntu:~/bin/FriendlyARM/android/kernel$ make zImage
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CHK     include/linux/compile.h
  CC      fs/binfmt_aout.o
fs/binfmt_aout.c: In function 'load_aout_binary':
fs/binfmt_aout.c:317:30: error: 'SEGMENT_SIZE' undeclared (first use in this function)
fs/binfmt_aout.c:317:30: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [fs/binfmt_aout.o] Error 1
make: *** [fs] Error 2
owner@ubuntu:~/bin/FriendlyARM/android/kernel$
***************************
Solved thanks all
[ 此帖被lc2047在2010-12-24 09:17重新编辑 ]
描述:binfmt_aout.c
附件: binfmt_aout.rar (5 K) 下载次数:12