[oe] Qemu on gumstix-x11-image

Bill Shui bill.shui at gmail.com
Tue Aug 4 12:13:26 UTC 2009


Hi,

I have a Gumstix GS400K-XMBT-EINK Basix 400xm-bt motherboard.

I am trying to install the latest version of gumstix open embedded
(from the svn repository) with a newer version of kernel (2.6.30)

But before this, I wanted to try it out on Qemu first, just using the
standard packages.

I have a debian lenny amd64 running default kernel image and I have
qemu 0.9.1 installed.

This is what I did (in desktop gnome).

1) I sourced gumstix-oe/extra/profile to set up all the variables.
2) I modifed gumstix-oe/build/conf/auto.conf by commenting out the
default verdex build and uncommented
MACHINE = "gumstix-custom-basix"

3) I modified gumstix-oe/org.openembedded.snapshot/packages/curl/curl_7.16.4.bb
and added a line "--without-libssh2 \"

I did this because I have had problem building this before as
curl-native alwas complained that it could not link to libssh2

4) bitbake gumstix-x11-image


5) I waited until I encounter an error when building gmp-native
(complaining multiple definitions)

6) I edited gumstix-oe/tmp/work/x86_64-linux/gmp-native-4.2.1-r2/gmp-4.2.1/Makefile
by adding "-Wl,--allow-multiple-definition," to line 307, starting
with "LDFLAGS ="

7) I continued with bitbake gumstix-x11-image

8) all went well.

I then proceeded to build a flash.img by doing the following:

copying gumstix-oe/tmp/deploy/gumstix-x11-image-gumstix-custom-basix.jffs2
and uImage-2.6.21-r1-gumstix-custom-basix.bin

to a new temp directoty

in the same temp directory, wget the new u-boot-connex-400-r1604.bin

dd of=flash.img bs=128k count=128 if=/dev/zero
dd of=flash.img bs=128k conv=notrunc if=u-boot-connex-400-r1604.bin
dd of=flash.img bs=128k conv=notrunc seek=2
if=gumstix-x11-image-gumstix-custom-basix.jffs2
dd of=flash.img bs=128k conv=notrunc seek=120
if=uImage-2.6.21-r1-gumstix-custom-basix.bin


Now, here' s the problem.

I try to run it in qemu as currently I am waiting for my gumstix board
to be sent back to me from Gumstix (a reflashing service).

I did the following:

qemu-system-arm -M connex -cpu pxa255 -std-vga -pflash flash.img


But nothings happens apart from the initial new window popping up with
the gumstix logo, then changed to please wait: booting....

The console returned the following:

pflash_write: Unimplemented flash cmd sequence (offset 00000000,
wcycle 0x0 cmd 0x0 value 0xf0


That was it. nothing happened after this.



I am new to this and not sure what I did wrong there.


Any help is much appreciated.




More information about the Openembedded-devel mailing list