[agl-discussions] Fwd: [Error] kernel requires an x86-64 CPU , but only detected an i686 CPU
Jan-Simon Möller
jsmoeller at linuxfoundation.org
Tue Jan 17 16:48:05 UTC 2017
Ok, so what fails here is that we have 2 filesystem images (*.ext4) and runqemu
auto-selects the wrong image file. Make sure that runqemu does not use the
agl*netboot*.ext4 file as rootfs. Then you'll be file.
--
Sincerely yours,
Jan-Simon Möller
jsmoeller at linuxfoundation.org
On Wednesday 18 January 2017 01:22:00 vinay kumar wrote:
> Hello Jan,
>
> I somehow tried to fix the kvm and later run the command "runqemu
> qemuparams="-m 2048" kvm qemux86-64".
> QEMU started booting up but later some error in Qemu for NBD Client failed.
>
> Please suggest.
>
> Enclosed is the snapshot for reference.
>
> Regards
>
> Vinay Kumar
>
> On Wed, Jan 18, 2017 at 12:35 AM, vinay kumar <vinay2870335 at gmail.com>
>
> wrote:
> > Hello Jan - Simon,
> >
> > I have executed the command you suggested. And result is enclosed.
> >
> >
> >
> > [vkumar at 94-E9-79-64-0B-6F build]$ runqemu qemuparams="-m 2048" kvm
> > qemux86-64
> > Missing KVM device. Have you inserted kvm modules?
> > For further help see:
> > https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu
> > [vkumar at 94-E9-79-64-0B-6F build]$ runqemu qemuparams
> >
> >
> >
> > I have tried to enable kvm as mentioned in Document but This doesn't seems
> > to working, Any Suggestions ?
> >
> >
> > Regards
> >
> > Vinay Kumar
> >
> > On Mon, Jan 16, 2017 at 11:51 PM, Jan-Simon Möller <
> >
> > jsmoeller at linuxfoundation.org> wrote:
> >> try
> >>
> >> source agl-init-build-env
> >>
> >> runqemu qemux86-64
> >>
> >> See:
> >> https://www.yoctoproject.org/docs/latest/mega-manual/mega-ma
> >> nual.html#qemu-running-qemu
> >>
> >> You might need to add options like
> >>
> >> qemuparams="-m 2048" kvm
> >>
> >> So it should be something like
> >>
> >> runqemu qemuparams="-m 2048" kvm qemux86-64
> >>
> >>
> >> Best,
> >> Jan-Simon
> >>
> >> Am Montag, 16. Januar 2017, 23:38:55 schrieb vinay kumar:
> >> > Hello Jan,
> >> >
> >> >
> >> > Here is the result which you have asked for. Snapshot attached for
> >> > reference.
> >> >
> >> > [vkumar at 94-E9-79-64-0B-6F build]$ ls tmp/deploy/images/*/
> >> > agl-demo-platform-qemux86-64-20170115064555.rootfs.ext4
> >> > agl-demo-platform-qemux86-64-20170115064555.rootfs.manifest
> >> > agl-demo-platform-qemux86-64-20170115064555.rootfs.tar.bz2
> >> > agl-demo-platform-qemux86-64.ext4
> >> > agl-demo-platform-qemux86-64.manifest
> >> > agl-demo-platform-qemux86-64.tar.bz2
> >> > bzImage
> >> > bzImage--4.4.26+git0+3030330b06_ca6a08bd7f-r0-qemux86-64-
> >>
> >> 20170115064555.bin
> >>
> >> > bzImage-qemux86-64.bin
> >> > initramfs-netboot-image-qemux86-64-20170115064555.rootfs.cpio.gz
> >> > initramfs-netboot-image-qemux86-64-20170115064555.rootfs.ext4
> >> > initramfs-netboot-image-qemux86-64-20170115064555.rootfs.ext4.gz
> >> > initramfs-netboot-image-qemux86-64-20170115064555.rootfs.manifest
> >> > initramfs-netboot-image-qemux86-64.cpio.gz
> >> > initramfs-netboot-image-qemux86-64.ext4
> >> > initramfs-netboot-image-qemux86-64.ext4.gz
> >> > initramfs-netboot-image-qemux86-64.manifest
> >> > README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
> >> > [vkumar at 94-E9-79-64-0B-6F build]$
> >> >
> >> >
> >> > Regards
> >> >
> >> > Vinay Kumar
> >> >
> >> > On Mon, Jan 16, 2017 at 6:25 PM, Jan-Simon Möller <dl9pf at gmx.de> wrote:
> >> > > Am Sonntag, 15. Januar 2017, 21:03:57 schrieb vinay kumar:
> >> > > > Dear All,
> >> > > >
> >> > > > I did as suggested and finally got some 5503 process of BItcake
> >> > > > complete.
> >> > > >
> >> > > > I am adding the report for repo manifest -r and screen shot for
> >> > >
> >> > > workspace.
> >> > >
> >> > > > Please confirm , if this is right and Now what should be done next
> >>
> >> to
> >>
> >> > > build
> >> > >
> >> > > > AGL Demo work on PC.
> >> > > >
> >> > > > 1. should I load image to USB stick and install this to image to
> >>
> >> some
> >>
> >> > > > space or What should I do. ?
> >> > > >
> >> > > > Thank you every one for navigating me out of many hurdles.!!!
> >> > >
> >> > > Great. So if you built with 'bitbake agl-demo-platform' , then look
> >>
> >> into
> >>
> >> > > the
> >> > > folder tmp/deploy/images/<replace_with_target_machine> . You'll
> >>
> >> have to
> >>
> >> > > replace '<replace_with_target_machine>' with the value you set as
> >> > > 'MACHINE'
> >> > > (aka your target board). In this folder will be the output files.
> >> > >
> >> > > Send us 'ls tmp/deploy/images/*/'. And we go from there.
> >> > >
> >> > > Best,
> >> > > Jan-Simon
More information about the automotive-discussions
mailing list