imx6qpsabresd core-image-minimal build fails at compile for u-boot-fslc
Hi, I am trying to convert my building platform from release-bsp to community-bsp.
I have set my local.conf as follows:
MACHINE ??= 'imx6qpsabresd'
DISTRO ?= 'poky'PACKAGE_CLASSES ?= "package_rpm"EXTRA_IMAGE_FEATURES ?= "debug-tweaks"USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"CONF_VERSION = "1"
DL_DIR ?= "${BSPDIR}/downloads/"ACCEPT_FSL_EULA = "1"
The only thing I've changed is machine variable.
bblayers.conf is stock.
I start build with bitbake core-image-minimal
at do_compile step of u-boot-fslc_2016.07.bb recipe, i get the error
*** Can't find default configuration
"arch/../configs/mx6qpsabresd_defconfig"!
I attached compile log to the mail.
-------------------------------
Mert Can Ergun
Yazilim Gelistirme Muhendisi
Mikro-Tasarim Ltd.
ODTU-Teknokent ODTU-MET Alani
A-1 Blok 4. Bolum Ofis 3/A
TR-06530 Ankara
T: +90 312 286 0103
F: +90 312 286 0104
U: www.mikro-tasarim.com.tr
E: [email protected]
-------------------------------
-------------------------------
Mert Can Ergun
Yazilim Gelistirme Muhendisi
Mikro-Tasarim Ltd.
ODTU-Teknokent ODTU-MET Alani
A-1 Blok 4. Bolum Ofis 3/A
TR-06530 Ankara
T: +90 312 286 0103
F: +90 312 286 0104
U: www.mikro-tasarim.com.tr
E: [email protected]
-------------------------------
Quoted 2 lines · Mert Can Ergun
*** Can't find default configuration
"arch/../configs/mx6qpsabresd_defconfig"!
mx6sabresd_spl_defconfig should be used instead.
How do I make bitbake to use that config file instead of the one it is unable to find?
And also I tried to make it work with -c devshell option but it didn't help much. I am pasting my inputs and outputs below.
make mx6sabresd_spl_defconfig
#
# configuration written to .config #
make
CC lib/asm-offsets.slib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
/*
^
make[1]: *** [lib/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
Quoted 8 lines
Quoted 2 lines · Mert Can Ergun
*** Can't find default configuration
"arch/../configs/mx6qpsabresd_defconfig"!
mx6sabresd_spl_defconfigshould be used instead.
-------------------------------
Mert Can Ergun
Yazilim Gelistirme Muhendisi
Mikro-Tasarim Ltd.
ODTU-Teknokent ODTU-MET Alani
A-1 Blok 4. Bolum Ofis 3/A
TR-06530 Ankara
T: +90 312 286 0103
F: +90 312 286 0104
U: www.mikro-tasarim.com.tr
E: [email protected]
-------------------------------
Quoted 2 lines · Mert Can Ergun
How do I make bitbake to use that config file instead of the one it is unable to find?
Fabio Berton is working on a fix for this issue.
Quoted 6 lines
And also I tried to make it work with -c devshell option but it didn't help much. I am pasting my inputs and outputs below.
make
mx6sabresd_spl_defconfig
Quoted 8 lines
#
# configuration written to .config #make
CC
lib/asm-offsets.slib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
This means you did not export your toolchain.
Hi Mert,
I sent this patch https://patchwork.openembedded.org/patch/134004/ to mailing list, you can apply this or alternatively you can add:
PREFERRED_PROVIDER_u-boot = "u-boot-imx" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
to your conf/local.conf file to use u-boot-imx instead of u-boot-fslc.
Quoted 24 lines · Fabio Estevam
Quoted 2 lines · Mert Can Ergun
How do I make bitbake to use that config file instead of the one it is unable to find?
Fabio Berton is working on a fix for this issue.
Quoted 6 lines
And also I tried to make it work with -c devshell option but it didn't help much. I am pasting my inputs and outputs below.
make
mx6sabresd_spl_defconfigQuoted 8 lines
#
# configuration written to .config #make
CC
lib/asm-offsets.slib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switchThis means you did not export your toolchain.