* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
@ 2020-10-11 15:32 Francois Perrad
2020-10-11 15:42 ` Fabio Estevam
2020-10-12 20:33 ` Thomas Petazzoni
0 siblings, 2 replies; 8+ messages in thread
From: Francois Perrad @ 2020-10-11 15:32 UTC (permalink / raw)
To: buildroot
since 2020.04 version, the enumeration of MMC has changed,
so the boot script must be updated
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
board/solidrun/mx6cubox/boot.scr.txt | 6 +++---
configs/mx6cubox_defconfig | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/solidrun/mx6cubox/boot.scr.txt b/board/solidrun/mx6cubox/boot.scr.txt
index 7a8aa4bd5..e4cf81478 100644
--- a/board/solidrun/mx6cubox/boot.scr.txt
+++ b/board/solidrun/mx6cubox/boot.scr.txt
@@ -1,7 +1,7 @@
-setenv finduuid "part uuid mmc 0:1 uuid"
+setenv finduuid "part uuid mmc 1:1 uuid"
run finduuid
run findfdt
setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4"
-load mmc 0:1 ${fdt_addr} boot/${fdtfile}
-load mmc 0:1 ${loadaddr} boot/zImage
+load mmc 1:1 ${fdt_addr} boot/${fdtfile}
+load mmc 1:1 ${loadaddr} boot/zImage
bootz ${loadaddr} - ${fdt_addr}
diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig
index dc26758ef..2d711dc56 100644
--- a/configs/mx6cubox_defconfig
+++ b/configs/mx6cubox_defconfig
@@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi"
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
2020-10-11 15:32 [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version Francois Perrad
@ 2020-10-11 15:42 ` Fabio Estevam
2020-10-11 17:34 ` François Perrad
2020-10-12 20:33 ` Thomas Petazzoni
1 sibling, 1 reply; 8+ messages in thread
From: Fabio Estevam @ 2020-10-11 15:42 UTC (permalink / raw)
To: buildroot
Hi Francois,
On Sun, Oct 11, 2020 at 12:33 PM Francois Perrad <fperrad@gmail.com> wrote:
>
> since 2020.04 version, the enumeration of MMC has changed,
> so the boot script must be updated
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Thanks for the fix!
> ---
> board/solidrun/mx6cubox/boot.scr.txt | 6 +++---
> configs/mx6cubox_defconfig | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/board/solidrun/mx6cubox/boot.scr.txt b/board/solidrun/mx6cubox/boot.scr.txt
> index 7a8aa4bd5..e4cf81478 100644
> --- a/board/solidrun/mx6cubox/boot.scr.txt
> +++ b/board/solidrun/mx6cubox/boot.scr.txt
> @@ -1,7 +1,7 @@
> -setenv finduuid "part uuid mmc 0:1 uuid"
> +setenv finduuid "part uuid mmc 1:1 uuid"
> run finduuid
> run findfdt
> setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4"
> -load mmc 0:1 ${fdt_addr} boot/${fdtfile}
> -load mmc 0:1 ${loadaddr} boot/zImage
> +load mmc 1:1 ${fdt_addr} boot/${fdtfile}
> +load mmc 1:1 ${loadaddr} boot/zImage
> bootz ${loadaddr} - ${fdt_addr}
> diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig
> index dc26758ef..2d711dc56 100644
> --- a/configs/mx6cubox_defconfig
> +++ b/configs/mx6cubox_defconfig
> @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
> BR2_TARGET_UBOOT=y
> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
Reviewed-by: Fabio Estevam <festevam@gmail.com>
I suppose 2020.10 also works, right?
Thanks,
Fabio Estevam
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
2020-10-11 15:42 ` Fabio Estevam
@ 2020-10-11 17:34 ` François Perrad
2020-10-11 17:59 ` Baruch Siach
0 siblings, 1 reply; 8+ messages in thread
From: François Perrad @ 2020-10-11 17:34 UTC (permalink / raw)
To: buildroot
Le dim. 11 oct. 2020 ? 17:58, Fabio Estevam <festevam@gmail.com> a ?crit :
> Hi Francois,
>
> On Sun, Oct 11, 2020 at 12:33 PM Francois Perrad <fperrad@gmail.com>
> wrote:
> >
> > since 2020.04 version, the enumeration of MMC has changed,
> > so the boot script must be updated
> >
> > Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>
> Thanks for the fix!
>
> > ---
> > board/solidrun/mx6cubox/boot.scr.txt | 6 +++---
> > configs/mx6cubox_defconfig | 2 +-
> > 2 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/board/solidrun/mx6cubox/boot.scr.txt
> b/board/solidrun/mx6cubox/boot.scr.txt
> > index 7a8aa4bd5..e4cf81478 100644
> > --- a/board/solidrun/mx6cubox/boot.scr.txt
> > +++ b/board/solidrun/mx6cubox/boot.scr.txt
> > @@ -1,7 +1,7 @@
> > -setenv finduuid "part uuid mmc 0:1 uuid"
> > +setenv finduuid "part uuid mmc 1:1 uuid"
> > run finduuid
> > run findfdt
> > setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait
> rootfstype=ext4"
> > -load mmc 0:1 ${fdt_addr} boot/${fdtfile}
> > -load mmc 0:1 ${loadaddr} boot/zImage
> > +load mmc 1:1 ${fdt_addr} boot/${fdtfile}
> > +load mmc 1:1 ${loadaddr} boot/zImage
> > bootz ${loadaddr} - ${fdt_addr}
> > diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig
> > index dc26758ef..2d711dc56 100644
> > --- a/configs/mx6cubox_defconfig
> > +++ b/configs/mx6cubox_defconfig
> > @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
> > BR2_TARGET_UBOOT=y
> > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> > BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
> > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
>
> I suppose 2020.10 also works, right?
>
>
No. At this time, I cannot build uboot 2020.10
It seems there is a new dependency on host-swig.
>>> uboot 2020.10 Configuring
>>> uboot 2020.10 Building
PATH="/home/dev/checkout/BR/build/cubox/host/bin:/home/dev/checkout/BR/build/cubox/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
AR="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ar"
AS="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-as"
LD="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ld"
NM="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-nm"
CC="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gcc"
GCC="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gcc"
CPP="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-cpp"
CXX="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-g++"
FC="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gfortran"
F77="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gfortran"
RANLIB="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ranlib"
READELF="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-readelf"
STRIP="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-strip"
OBJCOPY="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-objcopy"
OBJDUMP="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-objdump"
AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc"
CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld"
CPPFLAGS_FOR_BUILD="-I/home/dev/checkout/BR/build/cubox/host/include"
CFLAGS_FOR_BUILD="-O2 -I/home/dev/checkout/BR/build/cubox/host/include"
CXXFLAGS_FOR_BUILD="-O2 -I/home/dev/checkout/BR/build/cubox/host/include"
LDFLAGS_FOR_BUILD="-L/home/dev/checkout/BR/build/cubox/host/lib
-Wl,-rpath,/home/dev/checkout/BR/build/cubox/host/lib" FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-as"
DEFAULT_LINKER="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ld"
CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os "
PKG_CONFIG="/home/dev/checkout/BR/build/cubox/host/bin/pkg-config"
STAGING_DIR="/home/dev/checkout/BR/build/cubox/host/arm-buildroot-linux-gnueabihf/sysroot"
INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j5 -C
/home/dev/checkout/BR/build/cubox/build/uboot-2020.10
CROSS_COMPILE="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-"
ARCH=arm HOSTCC="/usr/bin/gcc -O2 -isystem
/home/dev/checkout/BR/build/cubox/host/include"
HOSTLDFLAGS="-L/home/dev/checkout/BR/build/cubox/host/lib
-Wl,-rpath,/home/dev/checkout/BR/build/cubox/host/lib" all u-boot.img
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --syncconfig Kconfig
UPD include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
GEN spl/include/autoconf.mk
GEN include/autoconf.mk
UPD include/generated/dt.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
SHIPPED scripts/dtc/pylibfdt/libfdt.i
rm -f scripts/dtc/pylibfdt/_libfdt*.so
PYMOD scripts/dtc/pylibfdt/_libfdt.so
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
make[5]: *** [scripts/dtc/pylibfdt/Makefile:30:
scripts/dtc/pylibfdt/_libfdt.so] Error 1
make[4]: *** [scripts/Makefile.build:419: scripts/dtc/pylibfdt] Error 2
make[4]: *** Waiting for unfinished jobs....
CFGCHK u-boot.cfg
make[3]: *** [scripts/Makefile.build:419: scripts/dtc] Error 2
UPD include/config/uboot.release
make[2]: *** [Makefile:577: scripts] Error 2
make[1]: *** [package/pkg-generic.mk:250:
/home/dev/checkout/BR/build/cubox/build/uboot-2020.10/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2
Fran?ois
> Thanks,
>
> Fabio Estevam
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201011/82ab020d/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
2020-10-11 17:34 ` François Perrad
@ 2020-10-11 17:59 ` Baruch Siach
2020-10-11 22:57 ` Fabio Estevam
0 siblings, 1 reply; 8+ messages in thread
From: Baruch Siach @ 2020-10-11 17:59 UTC (permalink / raw)
To: buildroot
Hi Fran?ois
On Sun, Oct 11 2020, Fran?ois Perrad wrote:
> Le dim. 11 oct. 2020 ? 17:58, Fabio Estevam <festevam@gmail.com> a ?crit :
>
>> Hi Francois,
>>
>> On Sun, Oct 11, 2020 at 12:33 PM Francois Perrad <fperrad@gmail.com>
>> wrote:
>> >
>> > since 2020.04 version, the enumeration of MMC has changed,
>> > so the boot script must be updated
>> >
>> > Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>>
>> Thanks for the fix!
>>
>> > ---
>> > board/solidrun/mx6cubox/boot.scr.txt | 6 +++---
>> > configs/mx6cubox_defconfig | 2 +-
>> > 2 files changed, 4 insertions(+), 4 deletions(-)
>> >
>> > diff --git a/board/solidrun/mx6cubox/boot.scr.txt
>> b/board/solidrun/mx6cubox/boot.scr.txt
>> > index 7a8aa4bd5..e4cf81478 100644
>> > --- a/board/solidrun/mx6cubox/boot.scr.txt
>> > +++ b/board/solidrun/mx6cubox/boot.scr.txt
>> > @@ -1,7 +1,7 @@
>> > -setenv finduuid "part uuid mmc 0:1 uuid"
>> > +setenv finduuid "part uuid mmc 1:1 uuid"
>> > run finduuid
>> > run findfdt
>> > setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait
>> rootfstype=ext4"
>> > -load mmc 0:1 ${fdt_addr} boot/${fdtfile}
>> > -load mmc 0:1 ${loadaddr} boot/zImage
>> > +load mmc 1:1 ${fdt_addr} boot/${fdtfile}
>> > +load mmc 1:1 ${loadaddr} boot/zImage
>> > bootz ${loadaddr} - ${fdt_addr}
>> > diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig
>> > index dc26758ef..2d711dc56 100644
>> > --- a/configs/mx6cubox_defconfig
>> > +++ b/configs/mx6cubox_defconfig
>> > @@ -32,7 +32,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
>> > BR2_TARGET_UBOOT=y
>> > BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>> > BR2_TARGET_UBOOT_CUSTOM_VERSION=y
>> > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
>> > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
>>
>> Reviewed-by: Fabio Estevam <festevam@gmail.com>
>>
>> I suppose 2020.10 also works, right?
>>
>>
> No. At this time, I cannot build uboot 2020.10
> It seems there is a new dependency on host-swig.
Try enabling BR2_TARGET_UBOOT_NEEDS_PYLIBFDT.
baruch
>>>> uboot 2020.10 Configuring
>>>> uboot 2020.10 Building
> PATH="/home/dev/checkout/BR/build/cubox/host/bin:/home/dev/checkout/BR/build/cubox/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
> AR="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ar"
> AS="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-as"
> LD="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ld"
> NM="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-nm"
> CC="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gcc"
> GCC="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gcc"
> CPP="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-cpp"
> CXX="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-g++"
> FC="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gfortran"
> F77="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-gfortran"
> RANLIB="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ranlib"
> READELF="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-readelf"
> STRIP="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-strip"
> OBJCOPY="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-objcopy"
> OBJDUMP="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-objdump"
> AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
> CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc"
> CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld"
> CPPFLAGS_FOR_BUILD="-I/home/dev/checkout/BR/build/cubox/host/include"
> CFLAGS_FOR_BUILD="-O2 -I/home/dev/checkout/BR/build/cubox/host/include"
> CXXFLAGS_FOR_BUILD="-O2 -I/home/dev/checkout/BR/build/cubox/host/include"
> LDFLAGS_FOR_BUILD="-L/home/dev/checkout/BR/build/cubox/host/lib
> -Wl,-rpath,/home/dev/checkout/BR/build/cubox/host/lib" FCFLAGS_FOR_BUILD=""
> DEFAULT_ASSEMBLER="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-as"
> DEFAULT_LINKER="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-ld"
> CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
> CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os "
> PKG_CONFIG="/home/dev/checkout/BR/build/cubox/host/bin/pkg-config"
> STAGING_DIR="/home/dev/checkout/BR/build/cubox/host/arm-buildroot-linux-gnueabihf/sysroot"
> INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j5 -C
> /home/dev/checkout/BR/build/cubox/build/uboot-2020.10
> CROSS_COMPILE="/home/dev/checkout/BR/build/cubox/host/bin/arm-none-linux-gnueabihf-"
> ARCH=arm HOSTCC="/usr/bin/gcc -O2 -isystem
> /home/dev/checkout/BR/build/cubox/host/include"
> HOSTLDFLAGS="-L/home/dev/checkout/BR/build/cubox/host/lib
> -Wl,-rpath,/home/dev/checkout/BR/build/cubox/host/lib" all u-boot.img
> HOSTCC scripts/basic/fixdep
> HOSTCC scripts/kconfig/conf.o
> HOSTCC scripts/kconfig/zconf.tab.o
> HOSTLD scripts/kconfig/conf
> scripts/kconfig/conf --syncconfig Kconfig
> UPD include/config.h
> CFG u-boot.cfg
> GEN include/autoconf.mk.dep
> CFG spl/u-boot.cfg
> GEN spl/include/autoconf.mk
> GEN include/autoconf.mk
> UPD include/generated/dt.h
> UPD include/generated/timestamp_autogenerated.h
> HOSTCC scripts/dtc/dtc.o
> HOSTCC scripts/dtc/flattree.o
> HOSTCC scripts/dtc/fstree.o
> SHIPPED scripts/dtc/pylibfdt/libfdt.i
> rm -f scripts/dtc/pylibfdt/_libfdt*.so
> PYMOD scripts/dtc/pylibfdt/_libfdt.so
> HOSTCC scripts/dtc/data.o
> HOSTCC scripts/dtc/livetree.o
> unable to execute 'swig': No such file or directory
> error: command 'swig' failed with exit status 1
> make[5]: *** [scripts/dtc/pylibfdt/Makefile:30:
> scripts/dtc/pylibfdt/_libfdt.so] Error 1
> make[4]: *** [scripts/Makefile.build:419: scripts/dtc/pylibfdt] Error 2
> make[4]: *** Waiting for unfinished jobs....
> CFGCHK u-boot.cfg
> make[3]: *** [scripts/Makefile.build:419: scripts/dtc] Error 2
> UPD include/config/uboot.release
> make[2]: *** [Makefile:577: scripts] Error 2
> make[1]: *** [package/pkg-generic.mk:250:
> /home/dev/checkout/BR/build/cubox/build/uboot-2020.10/.stamp_built] Error 2
> make: *** [Makefile:84: _all] Error 2
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
2020-10-11 17:59 ` Baruch Siach
@ 2020-10-11 22:57 ` Fabio Estevam
0 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2020-10-11 22:57 UTC (permalink / raw)
To: buildroot
Hi Baruch,
On Sun, Oct 11, 2020 at 2:59 PM Baruch Siach <baruch@tkos.co.il> wrote:
> > No. At this time, I cannot build uboot 2020.10
> > It seems there is a new dependency on host-swig.
>
> Try enabling BR2_TARGET_UBOOT_NEEDS_PYLIBFDT.
Yes, that should fix the build problem, thanks.
Hi Fran?ois,
Please try Baruch's suggestion and if it works, please upgrade U-Boot
to 2020.10 instead.
Thanks,
Fabio Estevam
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
2020-10-11 15:32 [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version Francois Perrad
2020-10-11 15:42 ` Fabio Estevam
@ 2020-10-12 20:33 ` Thomas Petazzoni
1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2020-10-12 20:33 UTC (permalink / raw)
To: buildroot
On Sun, 11 Oct 2020 17:32:51 +0200
Francois Perrad <fperrad@gmail.com> wrote:
> since 2020.04 version, the enumeration of MMC has changed,
> so the boot script must be updated
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> board/solidrun/mx6cubox/boot.scr.txt | 6 +++---
> configs/mx6cubox_defconfig | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
Applied to master, thanks. Do not hesitate to send a follow-up patch to
bump to U-Boot 2020.10 once it works for you.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
2020-10-13 10:37 Francois Perrad
@ 2020-10-13 11:35 ` Thomas Petazzoni
0 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2020-10-13 11:35 UTC (permalink / raw)
To: buildroot
On Tue, 13 Oct 2020 12:37:50 +0200
Francois Perrad <fperrad@gmail.com> wrote:
> now, the build requires host-swig
> which is given by BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
> configs/mx6cubox_defconfig | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version
@ 2020-10-13 10:37 Francois Perrad
2020-10-13 11:35 ` Thomas Petazzoni
0 siblings, 1 reply; 8+ messages in thread
From: Francois Perrad @ 2020-10-13 10:37 UTC (permalink / raw)
To: buildroot
now, the build requires host-swig
which is given by BR2_TARGET_UBOOT_NEEDS_PYLIBFDT
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
configs/mx6cubox_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig
index 2d711dc56..5ed28e53c 100644
--- a/configs/mx6cubox_defconfig
+++ b/configs/mx6cubox_defconfig
@@ -32,8 +32,10 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi"
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="SPL"
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-10-13 11:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-11 15:32 [Buildroot] [PATCH] configs/mx6cubox: bump U-Boot version Francois Perrad
2020-10-11 15:42 ` Fabio Estevam
2020-10-11 17:34 ` François Perrad
2020-10-11 17:59 ` Baruch Siach
2020-10-11 22:57 ` Fabio Estevam
2020-10-12 20:33 ` Thomas Petazzoni
2020-10-13 10:37 Francois Perrad
2020-10-13 11:35 ` Thomas Petazzoni
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.