Hi Leo and Khem, I just changed the MACHINE var to "intel-core2-32" (I assume it's the one in build/conf/local.conf. It was read-only and I added write permission) and it still gives me the same error.
Here's some info that might be useful, before I change, when I do build, it prints: Build Configuration: BB_VERSION = "1.30.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i686-poky-linux" MACHINE = "intel-aero" DISTRO = "poky-aero" DISTRO_VERSION = "1.4.0-dev" TUNE_FEATURES = "m32 core2" TARGET_FPU = "" After change: Build Configuration: BB_VERSION = "1.30.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "i686-poky-linux" MACHINE = "intel-core2-32" DISTRO = "poky-aero" DISTRO_VERSION = "1.4.0-dev" TUNE_FEATURES = "m32 core2" TARGET_FPU = "" Thanks, Tom. On Tue, Jun 6, 2017 at 11:59 AM, Leonardo Sandoval < leonardo.sandoval.gonza...@linux.intel.com> wrote: > On Tue, 2017-06-06 at 08:42 -0400, Zhuoqun Cheng wrote: > > Hi Yocto Experts, > > > > > > I'm fairly new to Yocto and I've already tried my best to search for > > answers, but not happy with what I found. > > > > > > So here's the situation I've got: > > > > > > I'm using yocto to build the intel aero board image, following this > > link: > > https://github.com/intel-aero/meta-intel-aero/wiki/ > Quickstart-Guide#yocto-for-intel-aero > > > > > > > > Everything worked fine, until I wanted to change the target > > architecture from the default 64-bit x86 to 32-bit x86. What I did is > > three steps: > > 1. do a clean: bitbake -c clean intel-aero-image > > 2. change configuration, from "require > > conf/machine/intel-corei7-64.conf" to "require > > conf/machine/intel-core2-32.conf" in the file > > "meta-intel-aero/conf/machine/intel-aero.conf" > > 3. do a build: bitbake intel-aero-image > > > Did you change the MACHINE var? > > > > > > > Unfortunately, I got loads of errors, like "ERROR: linux-yocto-4.4.60 > > +gitAUTOINC+2cc78e92f4-r0 do_package_qa: QA Issue: Architecture did > > not match (3 to 62) on > > work/core2-32-intel-common-poky-linux/linux-yocto/4.4.60+gitAUTOINC > > +2cc78e92f4-r0/packages-split/kernel-module-gspca-kinect/ > lib/modules/4.4.60-yocto-standard/kernel/drivers/media/usb/gspca/gspca_kinect.ko > [arch] > > " > > > > > > Then I tried deleting all the files in the packages-split directory > > and rebuilding. It passed building the kernel (even though failed > > because some other package's arch mismatch), but those file I deleted > > never got generated again! Now I'm a bit worried. > > > > > > So I guess my question is: > > What is the correct procedures to follow to reuse a poky folder > > (already built once) for a different target architecture? I'm happy to > > accept any links and suggested readings. > > > > > > Thanks a lot! > > Tom. > > > > > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto