[okl4-developer] OKL4 on openmoko simulator

Geoffrey Lee glee at ok-labs.com
Tue Mar 18 23:40:05 EST 2008


On Tue, Mar 18, 2008 at 09:54:02AM +0100, Lukas HANEL wrote:
> Hi,
> 
> I have a problem with the simulation of OKL4 gta01 platform.
> I build the qemu-neo173 simulator following the steps in the openmoko
> wiki. So my version is founded on the latest versions of the tools, as
> downloaded by the script.
> 
> When I start the simulation using the following command, qemu starts but
> there is no output.
> ./tools/build.py machine=gta01 project=iguana example=naming simulate
> 
> Using the qemu command like for openmoko, displays the boot options.
> After selecting Boot, the bootloader complains about missing magic
> numbers in the image.
> 
> Listing:
> qemu-system-arm -M gta01 -m 130 -mtdblock openmoko/openmoko-flash.image
> -kernel /home/lukas/okl4_release_1.5.2/build/images/image.boot -usb
> -show-cursor
> 
> ## Booting Image at 30100000 ...
> Bad Magic Number

Hi

Can you dump the memory in u-boot at 0x30100000 and see if there's
anything there?  e.g.

GTA01Bv4 # md 0x31000000
31000000: 464c457f 61010101 00000000 00000000    .ELF...a........
31000010: 00280002 00000001 30000000 00000034    ..(........04...
31000020: 007e4510 00000202 00200034 00280013    .E~.....4. ...(.
31000030: 00530054 00000001 00008000 30000000    T.S............0

(note that my local copy is a bit older so things are at 0x31000000.)

	-gl

> 
> Could you give me some hints what version of qemu-neo to use and whether
> additional adoptions are necessary to run it with the 1.5.2 OKL4 snapshot.
> 
> Lukas
> 
> PS: the skyeye simulation works.
> 
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
> 

-- 




More information about the Developer mailing list