当前时区 GMT+8, 现在时间是 2008-7-9 18:37 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: How to make a Linux image run?
thaip
新手上路
Rank: 1



UID 240574
精华 0
积分 3
帖子 1
阅读权限 10
注册 2007-4-25
状态 离线
发表于 2007-4-25 12:11  资料  短消息  加为好友 
How to make a Linux image run?

Hello,

I'm sorry to post a question in English here. As this is the only forum talks about skyeye. I'm Vietnamese, not a native-English speaker. Hence my English might be not really good.

Because I'm totally new to embedded software development, therefore I choose skyeye as a practice environment. However, I have some problems since the very first step. I download the uClinux source code from the website, then compile it with arm-linux toolchain. After several errors and failures, I can make an image without any problem. Then I use that image with a default skyeye.conf got from testsuite2/at91/uclinux_cs8900a. Unfortunately, the image is loaded successfully and it hangs without showing the command prompt.

When running make xconfig, I choose GDB for the vendor and Skyeye for the product and leave other options as default. I follow the link http://opensrc.sec.samsung.com/Getting_Familiar_with_uClinuxARM2_6.html to do this.

Below is the screen log:
root@thaip-laptop:/downloads/uClinux-dist/images# skyeye -e linux -c skyeye.conf
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x80568f0
ethmod num=1, mac addr=0:0:0:0:0:0, hostip=10.0.0.1
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./romfs.img
exec file "linux"'s format is elf32-little.
load section .init: addr = 0x01008000  size = 0x0000f000.
load section .text: addr = 0x01017000  size = 0x000a53ac.
not load section .pci_fixup: addr = 0x010bd000  size = 0x00000000 .
not load section .rio_route: addr = 0x010bd000  size = 0x00000000 .
not load section __ksymtab: addr = 0x010bd000  size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0x010bd000  size = 0x00000000 .
not load section __ksymtab_unused: addr = 0x010bd000  size = 0x00000000 .
not load section __ksymtab_unused_gpl: addr = 0x010bd000  size = 0x00000000 .
not load section __ksymtab_gpl_future: addr = 0x010bd000  size = 0x00000000 .
not load section __kcrctab: addr = 0x010bd000  size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0x010bd000  size = 0x00000000 .
not load section __kcrctab_unused: addr = 0x010bd000  size = 0x00000000 .
not load section __kcrctab_unused_gpl: addr = 0x010bd000  size = 0x00000000 .
not load section __kcrctab_gpl_future: addr = 0x010bd000  size = 0x00000000 .
load section __param: addr = 0x010bd000  size = 0x00000078.
load section .data: addr = 0x010be000  size = 0x00017d60.
not load section .bss: addr = 0x010d5d60  size = 0x0000a218 .
not load section .comment: addr = 0x00000000  size = 0x00001128 .
start addr is set to 0x01008000 by exec file.

If any of you have seen this problem, please show me how to fix it. Beside that, please share with me the document about the commands in skyeye.conf if you have it.

I appreciate any answers.

Thanks,
Thai.

顶部
ksh
高级会员
Rank: 4


UID 92875
精华 1
积分 1465
帖子 771
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
发表于 2007-5-2 12:33  资料  短消息  加为好友  添加 ksh 为MSN好友 通过MSN和 ksh 交谈
http://mailman.uclinux.org/pipermail/uclinux-dev/2007-April/042744.html

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP