Hi,
i build a qemu-system-arm as http://wiki.meego.com/ARM/Meego_on_Qemu said.
but my host is Fedora13 in VMWare, it could not support sdl, like following
output:
[...@tom qemu]$ ./configure --target-list=arm-softmmu --enable-sdl
ERROR
ERROR: User requested feature sdl
ERROR: configure was not able to find it
ERROR
[...@tom qemu]$
So, i build it without --enable-sdl, it could run image that download from
http://tablets-dev.nokia.com/meego-codedrop.php .
but looks qemu-system-arm could not run the *.raw image. the output like
this:
[...@tom Meego]$ su -c 'qemu-system-arm -M n900 -mtdblock
meego-handset-armv7l-n900-nokia-closed-1.0.80.8.20100630-1.0.80.20100706.1228-raw/meego-handset-armv7l-n900-nokia-closed-1.0.80.8.20100630-1.0.80.20100706.1228-sda.raw
-serial stdio -clock unix'
Password:
qemu: hardware error: no boot device found
CPU #0:
R00=00000000 R01=00000000 R02=00000000 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=400140a4
PSR=400001d3 -Z-- A svc32
[...@tom Meego]$
And i want build the loop image, but i got some error :
[r...@tom Meego]# mic-image-creator --run-mode=0 --cache=~/Tmp --format=loop
--arch=armv7l
--config=meego-handset-armv7l-n900-nokia-closed-1.0.80.8.20100630.ks
[main]
use_comps=1
default_ks=default.ks
cachedir=/var/tmp/cache
distro_name=MeeGo
image_format=livecd
outdir=.
tmpdir=/var/tmp
run_mode=1
Run mode: legacy
Geting repomd.xml from repo handset...
Getting primary.sqlite from repo handset...
Getting patterns
repodata/c3225b376d197bf2f74877d835a7de6555495cdd34cc4c6845e0fc6f69e9735c-patterns.xml.gz
from repo handset...
Geting repomd.xml from repo MeeGo-Trunk...
Getting primary.sqlite from repo MeeGo-Trunk...
Getting patterns
repodata/8a49a308e6eb6a5baa959bbd9168d993579bba9680d4450b4f924db9bd90e8c9-patterns.xml.gz
from repo MeeGo-Trunk...
Geting repomd.xml from repo nokia-proprietary...
Getting primary.xml from repo nokia-proprietary...
Getting comps repodata/comps.xml from repo nokia-proprietary...
[u'armv7l', 'armv5tel']
MeeGo release 1.0.80
Target arch: armv7l
mke2fs 1.41.10 (10-Feb-2009)
Filesystem label=meego-handset-ar
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
108864 inodes, 435200 blocks
4352 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=448790528
14 block groups
32768 blocks per group, 32768 fragments per group
7776 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
tune2fs 1.41.10 (10-Feb-2009)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Retrieving
http://repo.meego.com/MeeGo/builds/trunk/daily/handset/repos/armv7l/packages/repodata/repomd.xml...OK
Retrieving
http://repo.meego.com/MeeGo/builds/trunk/daily/core/repos/armv7l/packages/repodata/repomd.xml...OK
Retrieving
http://repository.maemo.org/meego/1.0.80.20100624/5d4d6dde2b274a7d92412eafed994e95/repodata/repomd.xml...OK
Retrieving
http://repository.maemo.org/meego/1.0.80.20100624/5d4d6dde2b274a7d92412eafed994e95/repodata/primary.xml.gz...OK
382 packages to be installed, 382 packages gotten from cache, 0 packages to
be downloaded
error: not an rpm package
Traceback (most recent call last):
File "/usr/bin/mic-image-creator", line 806, in <module>
ret = main()
File "/usr/bin/mic-image-creator", line 753, in main
creator.install()
File "/usr/lib/python2.6/site-packages/mic/imgcreate/creator.py", line
777, in install
ayum.runInstall(checksize)
File "/usr/lib/python2.6/site-packages/mic/imgcreate/yuminst.py", line
363, in runInstall
self.populateTs(keepold=0)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 208, in
populateTs
hdr = txmbr.po.returnHeaderFromPackage()
File "/usr/lib/python2.6/site-packages/yum/packages.py", line 732, in
returnHeaderFromPackage
hdr = rpmUtils.miscutils.hdrFromPackage(ts, rpmfile)
File "/usr/lib/python2.6/site-packages/rpmUtils/miscutils.py", line 414,
in hdrFromPackage
raise rpmUtils.RpmUtilsError, "RPM Error opening Package"
rpmUtils.RpmUtilsError: RPM Error opening Package
[r...@tom Meego]#
Could someone help me on this? Thanks.
Br
Tom Chen
<http://tablets-dev.nokia.com/meego-codedrop.php>On Tue, Jul 6, 2010 at
10:47 AM, Toni Nikkanen <[email protected]> wrote:
> On Tue, Jul 06, 2010 at 05:28:10AM -0400, Tom Chen wrote:
> > Hi, All
> >
> > Does anyone run Meego of N900 image in QEMU? i build the raw format
> image
> > that used by meego-handset-armv7l-n900-nokia-closed-1.0.80.8.20100630.ks.
> > the command is : mic-image-creator --run-mode=0 --cache=~/Tmp
> --format=raw
> > --arch=armv7l --save-kernel
> > --config=meego-handset-armv7l-n900-nokia-closed-1.0.80.8.20100630.ks .
> but
> > i don't know which is right way for run image in QEMU.
> > i try to use command :
> > [r...@tom Meego]# qemu-system-x86_64 -M n900 -mtdblock
> >
> meego-handset-armv7l-n900-nokia-closed-1.0.80.8.20100630-1.0.80.20100706.1228-raw/meego-handset-armv7l-n900-nokia-closed-1.0.80.8.20100630-1.0.80.20100706.1228-sda.raw
> > Supported machines are:
> > pc-0.12 Standard PC
> > pc-0.11 Standard PC, qemu 0.11
> > pc-0.10 Standard PC, qemu 0.10
> > isapc ISA-only PC
> > pc Standard PC (alias of fedora-13)
> > fedora-13 Standard PC (default)
> > [r...@tom Meego]#
>
> You should be using qemu-system-arm since that is the QEMU binary that
> emulates ARM.
> You should be using the version of QEMU that is mentioned in
> http://wiki.meego.com/ARM/Meego_on_Qemu since the N900 emulation features
> may
> not have been integrated into the mainstream version yet.
>
>
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
>
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev