* Can't build for BeagleBone
@ 2012-03-02 14:56 Gary Thomas
2012-03-02 15:01 ` Gary Thomas
0 siblings, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2012-03-02 14:56 UTC (permalink / raw)
To: Discussion of the angstrom distribution development
Cc: meta-ti@yoctoproject.org
In a freshly updated Angstrom tree:
OE Build Configuration:
BB_VERSION = "1.15.1"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beaglebone"
DISTRO = "angstrom"
DISTRO_VERSION = "v2012.03-core"
TUNE_FEATURES = "armv7a vfp neon cortexa8"
TARGET_FPU = "vfp-neon"
meta-angstrom = "master:2129eed920364abcc4f3f72d395333a041634e26"
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs = "master:fdff8697ea2db6254d26510adb7d11e6352d950f"
meta-opie = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731"
meta-java = "master:d430de31c167cd264be74a1d82af4b732bb915dd"
meta-ti = "master:2dbb7f09bf1c54d505d2e84a3a614bc5ca9b89aa"
meta-efikamx = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d"
meta-nslu2 = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee"
meta-htc
meta-nokia
meta-openmoko
meta-palm = "master:cda19686a2a3573ce50c86733c3469d926124995"
meta-handheld = "master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7"
meta-intel
meta-sugarbay
meta-crownbay
meta-emenlow
meta-fishriver
meta-jasperforest
meta-n450 = "master:df18b721f86f0737c0f302e49b27ea232c70e683"
meta = "master:d94cb18f7f17a492c7a948337d7d2d1d0785573f"
% MACHINE="beaglebone" bitbake cloud9-image
...
| cp: cannot stat `/local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*': No such file or directory
| ERROR: Function failed: Unpack failure for URL: 'file://configs/*'. Unpack command
PATH="/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/usr/bin/crossscripts:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux//bin:/local/new-angstrom/sources/openembedded-core/scripts:/local/new-angstrom/sources/bitbake/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gthomas/bin:/local/new-angstrom/sources/openembedded-core/scripts"
cp /local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*
/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91/configs/ failed
with return value 1
NOTE: package linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91: task do_unpack: Failed
Did I miss something?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2012-03-02 14:56 Gary Thomas
@ 2012-03-02 15:01 ` Gary Thomas
2012-03-03 8:27 ` Denys Dmytriyenko
0 siblings, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2012-03-02 15:01 UTC (permalink / raw)
To: Discussion of the angstrom distribution development
Cc: meta-ti@yoctoproject.org
On 2012-03-02 07:56, Gary Thomas wrote:
> In a freshly updated Angstrom tree:
> OE Build Configuration:
> BB_VERSION = "1.15.1"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux-gnueabi"
> MACHINE = "beaglebone"
> DISTRO = "angstrom"
> DISTRO_VERSION = "v2012.03-core"
> TUNE_FEATURES = "armv7a vfp neon cortexa8"
> TARGET_FPU = "vfp-neon"
> meta-angstrom = "master:2129eed920364abcc4f3f72d395333a041634e26"
> meta-oe
> meta-efl
> meta-gpe
> meta-gnome
> meta-xfce
> meta-initramfs = "master:fdff8697ea2db6254d26510adb7d11e6352d950f"
> meta-opie = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731"
> meta-java = "master:d430de31c167cd264be74a1d82af4b732bb915dd"
> meta-ti = "master:2dbb7f09bf1c54d505d2e84a3a614bc5ca9b89aa"
> meta-efikamx = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d"
> meta-nslu2 = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee"
> meta-htc
> meta-nokia
> meta-openmoko
> meta-palm = "master:cda19686a2a3573ce50c86733c3469d926124995"
> meta-handheld = "master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7"
> meta-intel
> meta-sugarbay
> meta-crownbay
> meta-emenlow
> meta-fishriver
> meta-jasperforest
> meta-n450 = "master:df18b721f86f0737c0f302e49b27ea232c70e683"
> meta = "master:d94cb18f7f17a492c7a948337d7d2d1d0785573f"
>
> % MACHINE="beaglebone" bitbake cloud9-image
> ...
> | cp: cannot stat `/local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*': No such file or directory
> | ERROR: Function failed: Unpack failure for URL: 'file://configs/*'. Unpack command
> PATH="/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/usr/bin/crossscripts:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux//bin:/local/new-angstrom/sources/openembedded-core/scripts:/local/new-angstrom/sources/bitbake/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gthomas/bin:/local/new-angstrom/sources/openembedded-core/scripts"
> cp /local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*
> /local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91/configs/ failed
> with return value 1
> NOTE: package linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91: task do_unpack: Failed
>
> Did I miss something?
>
To be clear, I have built this before in this same tree when the
kernel recipe was at
uImage-3.2-r2e+gitr21ef5e1fa530eb8f23bfe18650e3915d7c291ca9-beaglebone-20120224112658.bin
In my tree, I execute these steps (same tree, same login window, 8 days later):
% ./oebb.sh update
% MACHINE="beaglebone" bitbake cloud9-image
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2012-03-02 15:01 ` Gary Thomas
@ 2012-03-03 8:27 ` Denys Dmytriyenko
2012-03-03 12:49 ` Gary Thomas
0 siblings, 1 reply; 12+ messages in thread
From: Denys Dmytriyenko @ 2012-03-03 8:27 UTC (permalink / raw)
To: Gary Thomas
Cc: meta-ti@yoctoproject.org,
Discussion of the angstrom distribution development
On Fri, Mar 02, 2012 at 08:01:40AM -0700, Gary Thomas wrote:
> On 2012-03-02 07:56, Gary Thomas wrote:
> >In a freshly updated Angstrom tree:
> >OE Build Configuration:
> >BB_VERSION = "1.15.1"
> >TARGET_ARCH = "arm"
> >TARGET_OS = "linux-gnueabi"
> >MACHINE = "beaglebone"
> >DISTRO = "angstrom"
> >DISTRO_VERSION = "v2012.03-core"
> >TUNE_FEATURES = "armv7a vfp neon cortexa8"
> >TARGET_FPU = "vfp-neon"
> >meta-angstrom = "master:2129eed920364abcc4f3f72d395333a041634e26"
> >meta-oe
> >meta-efl
> >meta-gpe
> >meta-gnome
> >meta-xfce
> >meta-initramfs = "master:fdff8697ea2db6254d26510adb7d11e6352d950f"
> >meta-opie = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731"
> >meta-java = "master:d430de31c167cd264be74a1d82af4b732bb915dd"
> >meta-ti = "master:2dbb7f09bf1c54d505d2e84a3a614bc5ca9b89aa"
> >meta-efikamx = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d"
> >meta-nslu2 = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee"
> >meta-htc
> >meta-nokia
> >meta-openmoko
> >meta-palm = "master:cda19686a2a3573ce50c86733c3469d926124995"
> >meta-handheld = "master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7"
> >meta-intel
> >meta-sugarbay
> >meta-crownbay
> >meta-emenlow
> >meta-fishriver
> >meta-jasperforest
> >meta-n450 = "master:df18b721f86f0737c0f302e49b27ea232c70e683"
> >meta = "master:d94cb18f7f17a492c7a948337d7d2d1d0785573f"
> >
> >% MACHINE="beaglebone" bitbake cloud9-image
> >...
> >| cp: cannot stat `/local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*': No such file or directory
> >| ERROR: Function failed: Unpack failure for URL: 'file://configs/*'. Unpack command
> >PATH="/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/usr/bin/crossscripts:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux//bin:/local/new-angstrom/sources/openembedded-core/scripts:/local/new-angstrom/sources/bitbake/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gthomas/bin:/local/new-angstrom/sources/openembedded-core/scripts"
> >cp /local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*
> >/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91/configs/ failed
> >with return value 1
> >NOTE: package linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91: task do_unpack: Failed
> >
> >Did I miss something?
> >
>
> To be clear, I have built this before in this same tree when the
> kernel recipe was at
> uImage-3.2-r2e+gitr21ef5e1fa530eb8f23bfe18650e3915d7c291ca9-beaglebone-20120224112658.bin
>
> In my tree, I execute these steps (same tree, same login window, 8 days later):
> % ./oebb.sh update
> % MACHINE="beaglebone" bitbake cloud9-image
Gary,
Can you please try again after updating meta-ti? Thanks.
--
Denys
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2012-03-03 8:27 ` Denys Dmytriyenko
@ 2012-03-03 12:49 ` Gary Thomas
0 siblings, 0 replies; 12+ messages in thread
From: Gary Thomas @ 2012-03-03 12:49 UTC (permalink / raw)
To: Denys Dmytriyenko
Cc: meta-ti@yoctoproject.org,
Discussion of the angstrom distribution development
On 2012-03-03 01:27, Denys Dmytriyenko wrote:
> On Fri, Mar 02, 2012 at 08:01:40AM -0700, Gary Thomas wrote:
>> On 2012-03-02 07:56, Gary Thomas wrote:
>>> In a freshly updated Angstrom tree:
>>> OE Build Configuration:
>>> BB_VERSION = "1.15.1"
>>> TARGET_ARCH = "arm"
>>> TARGET_OS = "linux-gnueabi"
>>> MACHINE = "beaglebone"
>>> DISTRO = "angstrom"
>>> DISTRO_VERSION = "v2012.03-core"
>>> TUNE_FEATURES = "armv7a vfp neon cortexa8"
>>> TARGET_FPU = "vfp-neon"
>>> meta-angstrom = "master:2129eed920364abcc4f3f72d395333a041634e26"
>>> meta-oe
>>> meta-efl
>>> meta-gpe
>>> meta-gnome
>>> meta-xfce
>>> meta-initramfs = "master:fdff8697ea2db6254d26510adb7d11e6352d950f"
>>> meta-opie = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731"
>>> meta-java = "master:d430de31c167cd264be74a1d82af4b732bb915dd"
>>> meta-ti = "master:2dbb7f09bf1c54d505d2e84a3a614bc5ca9b89aa"
>>> meta-efikamx = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d"
>>> meta-nslu2 = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee"
>>> meta-htc
>>> meta-nokia
>>> meta-openmoko
>>> meta-palm = "master:cda19686a2a3573ce50c86733c3469d926124995"
>>> meta-handheld = "master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7"
>>> meta-intel
>>> meta-sugarbay
>>> meta-crownbay
>>> meta-emenlow
>>> meta-fishriver
>>> meta-jasperforest
>>> meta-n450 = "master:df18b721f86f0737c0f302e49b27ea232c70e683"
>>> meta = "master:d94cb18f7f17a492c7a948337d7d2d1d0785573f"
>>>
>>> % MACHINE="beaglebone" bitbake cloud9-image
>>> ...
>>> | cp: cannot stat `/local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*': No such file or directory
>>> | ERROR: Function failed: Unpack failure for URL: 'file://configs/*'. Unpack command
>>> PATH="/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone/usr/bin/crossscripts:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/sbin:/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux//bin:/local/new-angstrom/sources/openembedded-core/scripts:/local/new-angstrom/sources/bitbake/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gthomas/bin:/local/new-angstrom/sources/openembedded-core/scripts"
>>> cp /local/new-angstrom/sources/meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/./configs/*
>>> /local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91/configs/ failed
>>> with return value 1
>>> NOTE: package linux-ti33x-psp-3.2-r4c+gitr09e9651bcf2ee8d86685f2a8075bc6557b1d3b91: task do_unpack: Failed
>>>
>>> Did I miss something?
>>>
>>
>> To be clear, I have built this before in this same tree when the
>> kernel recipe was at
>> uImage-3.2-r2e+gitr21ef5e1fa530eb8f23bfe18650e3915d7c291ca9-beaglebone-20120224112658.bin
>>
>> In my tree, I execute these steps (same tree, same login window, 8 days later):
>> % ./oebb.sh update
>> % MACHINE="beaglebone" bitbake cloud9-image
>
> Gary,
>
> Can you please try again after updating meta-ti? Thanks.
>
Yes, this fixes that problem & I can build the kernel for BeagleBone
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Can't build for BeagleBone
@ 2016-10-11 9:52 Gary Thomas
2016-10-11 10:47 ` Denys Dmytriyenko
0 siblings, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2016-10-11 9:52 UTC (permalink / raw)
To: meta-ti
Using (Poky/Yocto):
Build Configuration:
BB_VERSION = "1.31.2"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "beaglebone"
DISTRO = "poky"
DISTRO_VERSION = "2.1+snapshot-20161011"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta = "master:b9d6a7cc234f44e44e5421191924b7463e9c0a9d"
meta-ti = "master:48ffe2b2da9b44cdb0ce055c008ab21843ec98b3"
meta-poky = "master:b9d6a7cc234f44e44e5421191924b7463e9c0a9d"
I get this error:
|
/local/bbb_2016-10-11/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+bbfdf926a1-r21/git/tools/mkenvimage.c:
In function 'main':
|
/local/bbb_2016-10-11/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+bbfdf926a1-r21/git/tools/mkenvimage.c:120:35:
error: 'PLAIN_VERSION' undeclared (first use in this function)
| printf("%s version %s\n", prg, PLAIN_VERSION);
| ^
|
/local/bbb_2016-10-11/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+bbfdf926a1-r21/git/tools/mkenvimage.c:120:35:
note: each undeclared identifier is reported only once for each function it appears in
| scripts/Makefile.host:111: recipe for target 'tools/mkenvimage.o' failed
I was able to build with this configuration in late September, so the changes
in early October to .../meta-ti/recipes-bsp/u-boot must be involved.
I'll look into the details, but in the meantime does anyone have suggestions?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2016-10-11 9:52 Can't build for BeagleBone Gary Thomas
@ 2016-10-11 10:47 ` Denys Dmytriyenko
2016-10-12 8:05 ` Gary Thomas
2016-10-16 10:46 ` Gary Thomas
0 siblings, 2 replies; 12+ messages in thread
From: Denys Dmytriyenko @ 2016-10-11 10:47 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-ti
[-- Attachment #1: Type: text/html, Size: 125 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2016-10-11 10:47 ` Denys Dmytriyenko
@ 2016-10-12 8:05 ` Gary Thomas
2016-10-12 8:59 ` Gary Thomas
2016-10-16 10:46 ` Gary Thomas
1 sibling, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2016-10-12 8:05 UTC (permalink / raw)
To: meta-ti
On 2016-10-11 12:47, Denys Dmytriyenko wrote:
> Yeah, I'm also getting this in master. Works fine in krogoth. Haven't yet looked close at it though...
I've tracked it down to this function in the main Makefile not working
correctly (line 1230):
define filechk_uboot.release
echo "$(UBOOTVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
endef
In the Poky/Yocto build, the $(CONFIG_SHELL) is not expanding correctly.
If I short-circuit this function, e.g.
define filechk_uboot.release
echo "MY VERSION"
endef
then the build completes correctly.
I can't see what has changed in this area recently, so I'm a bit baffled.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2016-10-12 8:05 ` Gary Thomas
@ 2016-10-12 8:59 ` Gary Thomas
0 siblings, 0 replies; 12+ messages in thread
From: Gary Thomas @ 2016-10-12 8:59 UTC (permalink / raw)
To: meta-ti
On 2016-10-12 10:05, Gary Thomas wrote:
> On 2016-10-11 12:47, Denys Dmytriyenko wrote:
>> Yeah, I'm also getting this in master. Works fine in krogoth. Haven't yet looked close at it though...
>
> I've tracked it down to this function in the main Makefile not working
> correctly (line 1230):
> define filechk_uboot.release
> echo "$(UBOOTVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))"
> endef
>
> In the Poky/Yocto build, the $(CONFIG_SHELL) is not expanding correctly.
> If I short-circuit this function, e.g.
> define filechk_uboot.release
> echo "MY VERSION"
> endef
> then the build completes correctly.
>
> I can't see what has changed in this area recently, so I'm a bit baffled.
>
I spoke too soon. Even with my work-around for the compile step,
the install step failed:
ERROR: u-boot-ti-staging-2016.05+gitAUTOINC+bbfdf926a1-r21 do_install: Function failed: do_install (log file is located
at
/local/bbb_2016-10-11/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+bbfdf926a1-r21/temp/log.do_install.24630)
ERROR: Logfile of failure stored in:
/local/bbb_2016-10-11/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+bbfdf926a1-r21/temp/log.do_install.24630
Log data follows:
| DEBUG: Executing python function create_extlinux_config
| DEBUG: Python function create_extlinux_config finished
| DEBUG: Executing shell function do_install
| install: cannot stat
‘/local/bbb_2016-10-11/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+bbfdf926a1-r21/git/spl/u-boot-spl.bin’:
No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at
/local/bbb_2016-10-11/tmp/work/beaglebone-poky-linux-gnueabi/u-boot-ti-staging/2016.05+gitAUTOINC+bbfdf926a1-r21/temp/log.do_install.24630)
ERROR: Task (/local/poky-cutting-edge/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb:do_install) failed with
exit code '1'
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2016-10-11 10:47 ` Denys Dmytriyenko
2016-10-12 8:05 ` Gary Thomas
@ 2016-10-16 10:46 ` Gary Thomas
2016-10-18 16:31 ` Denys Dmytriyenko
1 sibling, 1 reply; 12+ messages in thread
From: Gary Thomas @ 2016-10-16 10:46 UTC (permalink / raw)
To: meta-ti
[-- Attachment #1: Type: text/plain, Size: 833 bytes --]
On 2016-10-11 12:47, Denys Dmytriyenko wrote:
> Yeah, I'm also getting this in master. Works fine in krogoth. Haven't yet looked close at it though...
There seem to be two things wrong here.
*) Yocto has moved most recipes to use a split source/build tree,
thus ${S} != ${B}
*) There is some issue with generating the UBOOT_LOCALVERSION that
causes problems.
This patch [sort of] addresses both. At least it lets me build a
working U-Boot for the BeagleBone from master. I know it's not
perfect, but I couldn't figure out the why the UBOOT_LOCALVERSION
stuff wasn't working.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
[-- Attachment #2: u-boot.patch --]
[-- Type: text/x-patch, Size: 1315 bytes --]
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index b0054c9..a854243 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/recipes-bsp/u-boot/u-boot-ti.inc
@@ -8,7 +8,7 @@ def get_git_revision(p):
except OSError:
return None
-UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
+#UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
UBOOT_SUFFIX ?= "img"
@@ -36,7 +36,7 @@ SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
do_install_append () {
if [ "x${SPL_UART_BINARY}" != "x" ]
then
- install ${S}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
+ install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
fi
}
@@ -45,7 +45,7 @@ do_deploy_append () {
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]
then
- install ${S}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
+ install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2016-10-16 10:46 ` Gary Thomas
@ 2016-10-18 16:31 ` Denys Dmytriyenko
2016-10-18 17:17 ` Denys Dmytriyenko
0 siblings, 1 reply; 12+ messages in thread
From: Denys Dmytriyenko @ 2016-10-18 16:31 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-ti
On Sun, Oct 16, 2016 at 12:46:19PM +0200, Gary Thomas wrote:
> On 2016-10-11 12:47, Denys Dmytriyenko wrote:
> >Yeah, I'm also getting this in master. Works fine in krogoth. Haven't yet looked close at it though...
>
> There seem to be two things wrong here.
>
> *) Yocto has moved most recipes to use a split source/build tree,
> thus ${S} != ${B}
Well, that actually happened quite a long time ago for most of recipes. U-boot
was in the unconverted minority for a while, until couple months ago:
http://cgit.openembedded.org/openembedded-core/commit/?id=36f110594506fbee5dc18de3a04981f019f2024d
As of UBOOT_LOCALVERSION - not sure if generating it fails or rather
consumption of it fails inside U-boot Makefiles...
--
Denys
> *) There is some issue with generating the UBOOT_LOCALVERSION that
> causes problems.
>
> This patch [sort of] addresses both. At least it lets me build a
> working U-Boot for the BeagleBone from master. I know it's not
> perfect, but I couldn't figure out the why the UBOOT_LOCALVERSION
> stuff wasn't working.
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
> index b0054c9..a854243 100644
> --- a/recipes-bsp/u-boot/u-boot-ti.inc
> +++ b/recipes-bsp/u-boot/u-boot-ti.inc
> @@ -8,7 +8,7 @@ def get_git_revision(p):
> except OSError:
> return None
>
> -UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
> +#UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
>
> UBOOT_SUFFIX ?= "img"
>
> @@ -36,7 +36,7 @@ SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
> do_install_append () {
> if [ "x${SPL_UART_BINARY}" != "x" ]
> then
> - install ${S}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
> + install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
> ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
> fi
> }
> @@ -45,7 +45,7 @@ do_deploy_append () {
> cd ${DEPLOYDIR}
> if [ "x${SPL_UART_BINARY}" != "x" ]
> then
> - install ${S}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
> + install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
> rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
> ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
> ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2016-10-18 16:31 ` Denys Dmytriyenko
@ 2016-10-18 17:17 ` Denys Dmytriyenko
2016-10-19 5:44 ` Gary Thomas
0 siblings, 1 reply; 12+ messages in thread
From: Denys Dmytriyenko @ 2016-10-18 17:17 UTC (permalink / raw)
To: Gary Thomas, meta-ti
On Tue, Oct 18, 2016 at 12:31:38PM -0400, Denys Dmytriyenko wrote:
> On Sun, Oct 16, 2016 at 12:46:19PM +0200, Gary Thomas wrote:
> > On 2016-10-11 12:47, Denys Dmytriyenko wrote:
> > >Yeah, I'm also getting this in master. Works fine in krogoth. Haven't yet looked close at it though...
> >
> > There seem to be two things wrong here.
> >
> > *) Yocto has moved most recipes to use a split source/build tree,
> > thus ${S} != ${B}
>
> Well, that actually happened quite a long time ago for most of recipes. U-boot
> was in the unconverted minority for a while, until couple months ago:
>
> http://cgit.openembedded.org/openembedded-core/commit/?id=36f110594506fbee5dc18de3a04981f019f2024d
>
>
> As of UBOOT_LOCALVERSION - not sure if generating it fails or rather
> consumption of it fails inside U-boot Makefiles...
Ok, trying to fix things while attending ELCE last week proved to be futile!
The issue was Python3 related and I already had the same exact one fixed for
the kernel, d'oh! The patch is out now.
--
Denys
> > *) There is some issue with generating the UBOOT_LOCALVERSION that
> > causes problems.
> >
> > This patch [sort of] addresses both. At least it lets me build a
> > working U-Boot for the BeagleBone from master. I know it's not
> > perfect, but I couldn't figure out the why the UBOOT_LOCALVERSION
> > stuff wasn't working.
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas | Consulting for the
> > MLB Associates | Embedded world
> > ------------------------------------------------------------
>
> > diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
> > index b0054c9..a854243 100644
> > --- a/recipes-bsp/u-boot/u-boot-ti.inc
> > +++ b/recipes-bsp/u-boot/u-boot-ti.inc
> > @@ -8,7 +8,7 @@ def get_git_revision(p):
> > except OSError:
> > return None
> >
> > -UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
> > +#UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
> >
> > UBOOT_SUFFIX ?= "img"
> >
> > @@ -36,7 +36,7 @@ SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
> > do_install_append () {
> > if [ "x${SPL_UART_BINARY}" != "x" ]
> > then
> > - install ${S}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
> > + install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
> > ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
> > fi
> > }
> > @@ -45,7 +45,7 @@ do_deploy_append () {
> > cd ${DEPLOYDIR}
> > if [ "x${SPL_UART_BINARY}" != "x" ]
> > then
> > - install ${S}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
> > + install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
> > rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
> > ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
> > ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
>
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Can't build for BeagleBone
2016-10-18 17:17 ` Denys Dmytriyenko
@ 2016-10-19 5:44 ` Gary Thomas
0 siblings, 0 replies; 12+ messages in thread
From: Gary Thomas @ 2016-10-19 5:44 UTC (permalink / raw)
To: Denys Dmytriyenko, meta-ti
On 2016-10-18 19:17, Denys Dmytriyenko wrote:
> On Tue, Oct 18, 2016 at 12:31:38PM -0400, Denys Dmytriyenko wrote:
>> On Sun, Oct 16, 2016 at 12:46:19PM +0200, Gary Thomas wrote:
>>> On 2016-10-11 12:47, Denys Dmytriyenko wrote:
>>>> Yeah, I'm also getting this in master. Works fine in krogoth. Haven't yet looked close at it though...
>>>
>>> There seem to be two things wrong here.
>>>
>>> *) Yocto has moved most recipes to use a split source/build tree,
>>> thus ${S} != ${B}
>>
>> Well, that actually happened quite a long time ago for most of recipes. U-boot
>> was in the unconverted minority for a while, until couple months ago:
>>
>> http://cgit.openembedded.org/openembedded-core/commit/?id=36f110594506fbee5dc18de3a04981f019f2024d
>>
>>
>> As of UBOOT_LOCALVERSION - not sure if generating it fails or rather
>> consumption of it fails inside U-boot Makefiles...
>
> Ok, trying to fix things while attending ELCE last week proved to be futile!
> The issue was Python3 related and I already had the same exact one fixed for
> the kernel, d'oh! The patch is out now.
>
Yes, that fixed it, thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2016-10-19 5:44 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11 9:52 Can't build for BeagleBone Gary Thomas
2016-10-11 10:47 ` Denys Dmytriyenko
2016-10-12 8:05 ` Gary Thomas
2016-10-12 8:59 ` Gary Thomas
2016-10-16 10:46 ` Gary Thomas
2016-10-18 16:31 ` Denys Dmytriyenko
2016-10-18 17:17 ` Denys Dmytriyenko
2016-10-19 5:44 ` Gary Thomas
-- strict thread matches above, loose matches on Subject: below --
2012-03-02 14:56 Gary Thomas
2012-03-02 15:01 ` Gary Thomas
2012-03-03 8:27 ` Denys Dmytriyenko
2012-03-03 12:49 ` Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.