Gumstix on Qemu

Joel Sherrill joel.sherrill at OARcorp.com
Wed Sep 30 14:03:24 UTC 2009


Thomas Dörfler wrote:
> Joel,
>
> just as a side note: current U-Boot sources also contain a method to
> boot a vanilla ELF file. This might be a nice way to get rid of the
> "mkimage" problems :-)
>
> There should be a command "bootelf" to do so, if the U-Boot has been
> configured that way before compilation.
>
>   
That worked!!  Now to write it up and automate it. :D

$ qemu-system-arm -M connex -m 289 -nographic -monitor null -pflash 
flash.img
pxa2xx_clkpwr_write: CPU frequency change attempt


U-Boot 1.1.4 (Apr 10 2006 - 11:13:02)

*** Welcome to Gumstix ***

U-Boot code: A3F00000 -> A3F2369C  BSS: -> A3F58748
RAM Configuration:
Bank #0: a0000000 64 MB
Flash: 16 MB
SMC91C1111-0
pflash_write: Unimplemented flash cmd sequence (offset 00000000, wcycle 
0x0 cmd 0x0 value 0x90
Can't overwrite "serial#"
Net:   SMC91C1111-0
Hit any key to stop autoboot:  0
Clearing .base @ 0xa0000000 (64 bytes)
Loading .init @ 0xa0000040 (32 bytes)
Loading .text @ 0xa0000060 (104288 bytes)
Loading .fini @ 0xa00197c0 (28 bytes)
Loading .data @ 0xa00197dc (1976 bytes)
Loading .eh_frame @ 0xa0019f94 (14488 bytes)
Loading .rodata @ 0xa001d830 (7360 bytes)
Clearing .bss @ 0xa001f500 (35584 bytes)
## Starting application at 0xa0000060 ...


*** CLOCK TICK TEST ***
TA1  - rtems_clock_get_tod - 09:00:00   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:00   12/31/1988
TA3  - rtems_clock_get_tod - 09:00:00   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:05   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:10   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:10   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:15   12/31/1988
TA3  - rtems_clock_get_tod - 09:00:15   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:20   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:20   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:25   12/31/1988
TA1  - rtems_clock_get_tod - 09:00:30   12/31/1988
TA3  - rtems_clock_get_tod - 09:00:30   12/31/1988
TA2  - rtems_clock_get_tod - 09:00:30   12/31/1988
*** END OF CLOCK TICK TEST ***

EXECUTIVE SHUTDOWN! Any key to reboot...


> wkr,
> Thomas.
>
> Joel Sherrill wrote:
>   
>> Joel Sherrill wrote:
>>     
>>> Hi,
>>>
>>> I was curious about running the Gumstix BSP
>>> on Qemu and made some progress.
>>>
>>> http://www.rtems.org/ftp/pub/rtems/people/joel/gumstix/
>>>
>>> I can't figure out how to get the Flash setup so
>>> the U-Boot image of the RTEMS application is
>>> in the right place for it to automatically boot.
>>>
>>> It is booting the U-Boot image in the ftp directory above
>>> and I can type at the prompt.  It seems very close to
>>> working. :)
>>>
>>>   
>>>       
>> I played around more and can definitely see the
>> RTEMS U-Boot image at the Flash address I
>> placed it when building the Flash image.
>>
>> I think if someone could provide the mkimage
>> command they use to run RTEMS apps on a real
>> gumstix, this would work
>>
>> --joel
>>     
>>> Any help is appreciated.
>>>
>>>   
>>>       
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>>     
>
>
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list