[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: Re: [uClinux-dev] Fail to start uClinux (kernel2.6) in GDB/ARMulator
From: Greg Ungerer <gerg () snapgear ! com>
Date: 2009-11-11 7:35:03
Message-ID: 4AFA6927.8060704 () snapgear ! com
[Download RAW message or body]
Hi CC Yuen,
Yuen Chi Chuen wrote:
> In uClinux-dist/, after typing "arm-elf-gdb linux-2.6.x/linux"
>
> I can enter GDB and then type target sim -> load -> run. However after
> the run command, the console only shows "Starting program:
> /root/Desktop/development/ARMulator_study/uClinux-dist/linux-2.6.x/linux",
> the cursor stays here and no new messages are displayed.
>
> Could any experts help on this issue?
The old ARMulator code is buggy. I run these images on the skyeye
emulator now days. Works much better.
Regards
Greg
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> [root@localhost uClinux-dist]# arm-elf-gdb -n linux-2.6.x/linux
> GNU gdb 5.0
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=arm-elf"...(no debugging symbols found)...
> (gdb) target sim
> Loaded ROM boot.rom
> Loaded ROM boot.rom
> Loaded ROM boot.rom
> Loaded ROM boot.rom
> Connected to the simulator.
> (gdb) load
> Loading section .text.head, size 0x190 vma 0x1008000
> Loading section .init, size 0xee60 vma 0x10081a0
> Loading section .text, size 0xd163c vma 0x1017000
> Loading section __param, size 0x1000 vma 0x10e9000
> Loading section .data, size 0x9ac0 vma 0x10ea000
> Start address 0x1008000
> Transfer rate: 7702368 bits/sec.
> (gdb) run
> Starting program:
> /root/Desktop/development/ARMulator_study/uClinux-dist/linux-2.6.x/linux
>
>
>
>
> ------------------------------------------------------------------------
> Yahoo!香港提供網上安全攻略,教 如何防範黑客!*了解更多*
> <http://hk.promo.yahoo.com/security/>
>
> ------------------------------------------------------------------------
> Yahoo!香港提供網上安全攻略,教 如何防範黑客!*了解更多*
> <http://hk.promo.yahoo.com/security/>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic