From: "Milluzzo, Massimo" <mmilluzzo@moog.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Cc: "m.olbrich@pengutronix.de" <m.olbrich@pengutronix.de>
Subject: [ptxdist] FW: [EXTERNAL] Re: Build uImage with ptxdist for a Toradex Apalis iMX-6q module
Date: Wed, 14 Feb 2018 09:49:43 +0000 [thread overview]
Message-ID: <0bfabbef0ea24e2d851d11cde08b4ccc@lujp1svwi090222.corp.mooginc.com> (raw)
In-Reply-To: <20180209142534.qxe73vaxdxekjogp@pengutronix.de>
Hi,
I'm still in trouble. Can someone help me?
------------------------------------------------------------------
Hi Michael,
I am sorry but it doesn't work
My configuration: https://ibb.co/eee73x
Result:
------------------
target: u-boot.get
------------------
+ ptxd_make_world_init
+ ptxd_make_world_init_sanity_check
+ '[' '' = / ']'
+ true
+ case "${pkg_stamp}" in
+ pkg_type=target
+ '[' /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/host-u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/ -o /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/host-u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/host- -o /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/host-u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/cross- -o host-u-boot-2016.11-arm-db3a7e7b391dbc2d5aba7ec426246aee-dev.tar.gz = NO -a target '!=' target ']'
+ pkg_label=u-boot
+ pkg_stage=get
+ pkg_stage=get
+ ptxd_make_world_init_compat
+ '[' get = prepare ']'
+ '[' -n '' -a -n '' -a '' '!=' '' -o -n '' -a -n '' -a '' '!=' '' ']'
+ pkg_build_dir=
+ pkg_build_dir=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ [[ -z '' ]]
+ [[ NO =~ python ]]
+ '[' -z '' ']'
+ pkg_install_opt=install
+ pkg_install_opt=install
+ pkg_install_opt=install
+ pkg_binconfig_glob='*-config'
+ pkg_tags_opt='tags ctags cscope'
+ case "${pkg_stamp}" in
+ pkg_sysroot_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target
+ export pkg_sysroot_dir
+ pkg_env='SYSROOT='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target'\'' V=0 VERBOSE='
+ case "${pkg_type}" in
+ pkg_env='PKG_CONFIG_PATH='\'''\'' PKG_CONFIG_LIBDIR='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig'\'' PKG_CONFIG_SYSTEM_LIBRARY_PATH='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../lib:/usr/lib:/lib'\'' PKG_CONFIG_SYSTEM_INCLUDE_PATH='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../include:/usr/include:/include'\'' SYSROOT='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target'\'' V=0 VERBOSE='
+ pkg_xpkg_map=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/state/u-boot.xpkg.map
+ pkg_fake_env=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/state/u-boot.fakeroot
+ local path_ptr=ptx_path_target
+ pkg_path='PATH=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-cross/bin:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-cross/sbin:\/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-host/lib/wrapper:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-host/bin:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-host/sbin:/data/developer/toolchain/OSELAS.Toolchain-2014.12.0/arm-v7a-linux-gnueabihf/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.14.33-sanitized/bin:/data/developer/toolchain/ptxdist-2017.06.0/lib/ptxdist-2017.06.0/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/user/.local/bin:/home/user/bin:/data/developer/toolchain/OSELAS.Toolchain-2014.12.0/powerpc-603e-linux-gnu/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.14.33-sanitized/bin:/data/developer/toolchain/OSELAS.Toolchain-2014.12.0/arm-v7a-linux-gnueabihf/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.14.33-sanitized/bin:/data/developer/user/nfs/workspace_emb/SharedCode/Design/Embedded/SharedCodeMaster/Scripts:/data/developer/user/nfs/workspace_emb/Mass/Engineering/Design/SW/Embedded/MassMaster/Scripts:/data/developer/toolchain/gcovr'
+ unset path_ptr
+ local wip_sources=/data/developer/user/nfs/project/External/Sources/Linux/bsp/local_src/u-boot.Massproject
++ readlink -f /data/developer/user/nfs/project/External/Sources/Linux/bsp/local_src/u-boot.Massproject
+ '[' -d /data/developer/user/nfs/project/External/Sources/Linux/bsp/local_src/u-boot.Massproject ']'
+ unset wip_sources
+ local extract_ptr=ptx_extract_dir_target
+ pkg_extract_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target
+ unset extract_ptr
+ pkg_conf_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-host/u-boot-2016.11
+ pkg_conf_dir_abs=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-host/u-boot-2016.11
+ '[' -z NO ']'
+ case "${pkg_conf_tool}" in
+ [[ NO =~ python ]]
+ '[' NO = meson ']'
+ pkg_install_opt='DESTDIR="/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/host-u-boot-2016.11" INSTALL_ROOT="/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/host-u-boot-2016.11" install'
+ '[' -z '' ']'
+ '[' -z '' ']'
+ case "${pkg_conf_tool}" in
+ pkg_build_oot=NO
+ case "${pkg_build_oot}" in
+ pkg_build_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-host/u-boot-2016.11
+ unset pkg_build_oot
+ '[' /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-host/u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-host/u-boot-2016.11 ']'
+ pkg_conf_dir=.
+ case "${pkg_make_par}" in
+ pkg_make_par='-j2 '
+ exec
+ '[' -z /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2 ']'
+ ptxd_make_check_src_impl /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2 ca1f6e019d08aff8d0ca1beb2e66737d
+ local src=/data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2
+ local md5=ca1f6e019d08aff8d0ca1beb2e66737d
+ local md5sum
+ '[' -z /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2 ']'
+ case "${PTXCONF_SETUP_CHECK}" in
+ '[' ca1f6e019d08aff8d0ca1beb2e66737d = none ']'
+ for md5sum in '${md5}'
+ echo 'ca1f6e019d08aff8d0ca1beb2e66737d /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2'
+ md5sum --check
+ return 1
+ '[' always = update ']'
+ '[' -z ca1f6e019d08aff8d0ca1beb2e66737d ']'
+ ptxd_bailout 'Wrong md5sum for '\''u-boot'\'' (/data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2)'
+ echo 'ptxdist: error: Wrong md5sum for '\''u-boot'\'' (/data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2)'
+ exit 1
make: *** [/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/state/u-boot.get] Error 1
Anyway another question is still open. If I only switch to zImage (md5 value from "md5sum" command, no other changes in ptxdist configuration), why does the "get u-boot" command work?
------------------
target: u-boot.get
------------------
+ ptxd_make_world_init
+ ptxd_make_world_init_sanity_check
+ '[' '' = / ']'
+ true
+ case "${pkg_stamp}" in
+ pkg_type=target
+ '[' /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/ -o /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/host- -o /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/cross- -o u-boot-2016.11-arm-6ee3bbfa3444274af4c8fd675c46fdf0-dev.tar.gz = NO -a target '!=' target ']'
+ pkg_label=u-boot
+ pkg_stage=get
+ pkg_stage=get
+ ptxd_make_world_init_compat
+ '[' get = prepare ']'
+ '[' -n '' -a -n '' -a '' '!=' '' -o -n '' -a -n '' -a '' '!=' '' ']'
+ pkg_build_dir=
+ pkg_build_dir=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ [[ -z '' ]]
+ [[ '' =~ python ]]
+ '[' -z '' ']'
+ pkg_install_opt=install
+ pkg_install_opt=install
+ pkg_install_opt=install
+ pkg_binconfig_glob='*-config'
+ pkg_tags_opt='ctags cscope etags'
+ case "${pkg_stamp}" in
+ pkg_sysroot_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target
+ export pkg_sysroot_dir
+ pkg_env='SYSROOT='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target'\'' V=0 VERBOSE='
+ case "${pkg_type}" in
+ pkg_env='PKG_CONFIG_PATH='\'''\'' PKG_CONFIG_LIBDIR='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig'\'' PKG_CONFIG_SYSTEM_LIBRARY_PATH='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../lib:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../lib:/usr/lib:/lib'\'' PKG_CONFIG_SYSTEM_INCLUDE_PATH='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/lib/pkgconfig/../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/lib/pkgconfig/../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/share/pkgconfig/../include:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target/usr/share/pkgconfig/../include:/usr/include:/include'\'' SYSROOT='\''/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-target'\'' V=0 VERBOSE='
+ pkg_xpkg_map=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/state/u-boot.xpkg.map
+ pkg_fake_env=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/state/u-boot.fakeroot
+ local path_ptr=ptx_path_target
+ pkg_path='PATH=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-cross/bin:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-cross/sbin:\/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-host/lib/wrapper:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-host/bin:/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/sysroot-host/sbin:/data/developer/toolchain/OSELAS.Toolchain-2014.12.0/arm-v7a-linux-gnueabihf/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.14.33-sanitized/bin:/data/developer/toolchain/ptxdist-2017.06.0/lib/ptxdist-2017.06.0/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/user/.local/bin:/home/user/bin:/data/developer/toolchain/OSELAS.Toolchain-2014.12.0/powerpc-603e-linux-gnu/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.14.33-sanitized/bin:/data/developer/toolchain/OSELAS.Toolchain-2014.12.0/arm-v7a-linux-gnueabihf/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.14.33-sanitized/bin:/data/developer/user/nfs/workspace_emb/SharedCode/Design/Embedded/SharedCodeMaster/Scripts:/data/developer/user/nfs/workspace_emb/Mass/Engineering/Design/SW/Embedded/MassMaster/Scripts:/data/developer/toolchain/gcovr'
+ unset path_ptr
+ local wip_sources=/data/developer/user/nfs/project/External/Sources/Linux/bsp/local_src/u-boot.Massproject
++ readlink -f /data/developer/user/nfs/project/External/Sources/Linux/bsp/local_src/u-boot.Massproject
+ '[' -d /data/developer/user/nfs/project/External/Sources/Linux/bsp/local_src/u-boot.Massproject ']'
+ unset wip_sources
+ local extract_ptr=ptx_extract_dir_target
+ pkg_extract_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target
+ unset extract_ptr
+ pkg_conf_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11
+ pkg_conf_dir_abs=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11
+ '[' -z '' ']'
+ '[' -e /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11/configure ']'
+ '[' -e /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11/CMakeLists.txt ']'
++ wc -l
++ ls '/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11/*.pro'
+ '[' 0 -eq 1 ']'
+ '[' -n '' ']'
+ '[' -e /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11/Makefile.PL ']'
+ '[' -e /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11/meson.build ']'
+ case "${pkg_conf_tool}" in
+ [[ '' =~ python ]]
+ '[' '' = meson ']'
+ pkg_install_opt='DESTDIR="/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/u-boot-2016.11" INSTALL_ROOT="/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/packages/u-boot-2016.11" install'
+ '[' -z '' ']'
+ '[' -z '' ']'
+ case "${pkg_conf_tool}" in
+ pkg_build_oot=NO
+ case "${pkg_build_oot}" in
+ pkg_build_dir=/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11
+ unset pkg_build_oot
+ '[' /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11 = /data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/build-target/u-boot-2016.11 ']'
+ pkg_conf_dir=.
+ case "${pkg_make_par}" in
+ pkg_make_par=-j1
+ exec
+ '[' -z /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2 ']'
+ ptxd_make_check_src_impl /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2 946cc788dea345987df565b834c4ae0f
+ local src=/data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2
+ local md5=946cc788dea345987df565b834c4ae0f
+ local md5sum
+ '[' -z /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2 ']'
+ case "${PTXCONF_SETUP_CHECK}" in
+ '[' 946cc788dea345987df565b834c4ae0f = none ']'
+ for md5sum in '${md5}'
+ echo '946cc788dea345987df565b834c4ae0f /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2'
+ md5sum --check
+ return
+ return
finished target u-boot.get
If the checksum is not correct, then I expect the error even here.
Many thanks,
Regards.
Massimo
-----Original Message-----
From: ptxdist [mailto:ptxdist-bounces@pengutronix.de] On Behalf Of Michael Olbrich
Sent: Friday, February 9, 2018 3:26 PM
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [EXTERNAL] Re: Build uImage with ptxdist for a Toradex Apalis iMX-6q module
Hi,
On Fri, Feb 09, 2018 at 10:46:38AM +0000, Milluzzo, Massimo wrote:
> This is the result:
[...]
> + local
> + src=/data/developer/user/nfs/project/External/Sources/Linux/bsp/src/
> + u-boot-2016.11.tar.bz2 local md5=ca1f6e019d08aff8d0ca1beb2e66737d
> + local md5sum
> + '[' -z /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2 ']'
> + case "${PTXCONF_SETUP_CHECK}" in
> + '[' ca1f6e019d08aff8d0ca1beb2e66737d = none ']'
> + for md5sum in '${md5}'
> + echo 'ca1f6e019d08aff8d0ca1beb2e66737d /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2'
> + md5sum --check
> + return 1
> + '[' always = update ']'
> + '[' -z ca1f6e019d08aff8d0ca1beb2e66737d ']'
> + ptxd_bailout 'Wrong md5sum for '\''u-boot'\'' (/data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2)'
> + echo 'ptxdist: error: Wrong md5sum for '\''u-boot'\'' (/data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot-2016.11.tar.bz2)'
It's strange, that this doesn't show up in your output.
> + exit 1
> make: ***
> [/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-
> Toradex/state/u-boot.get] Error 1
>
> The error is really weird, in ptxdist configuration I use the result of the "md5sum" command (my configuration: https://urldefense.proofpoint.com/v2/url?u=https-3A__ibb.co_c59egH&d=DwIGaQ&c=ByDrzdYw8tO08sJlHDO_Vg&r=93BpwewPp4TSQgIXVcH3yfja0xjQhbEV1BVMr743P9g&m=VPWuxYvLsbLoAaOrlWFE4Xmv4jhY4l-hB0w-roC0mZA&s=Ebk-16B2o33Nrpol5p27znMwDJAXe7Pz1rv4mMRfI9s&e= ):
>
> $ md5sum
> /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot
> -2016.11.tar.bz2 946cc788dea345987df565b834c4ae0f
> /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot
> -2016.11.tar.bz2
>
> $ md5sum
> /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot
> -2016.11.tar.bz2 | md5sum -c
> /data/developer/user/nfs/project/External/Sources/Linux/bsp/src/u-boot
> -2016.11.tar.bz2: OK
>
>
> I can't figure out where it takes the value " ca1f6e019d08aff8d0ca1beb2e66737d ".
From your platformconfig. You need to set the correct value:
$ ptxdist menuconfig platform
bootloaders --->
[*] U-Boot --->
(ca1f6e019d08aff8d0ca1beb2e66737d) U-Boot source md5
Regards,
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | https://urldefense.proofpoint.com/v2/url?u=http-3A__www.pengutronix.de_&d=DwIGaQ&c=ByDrzdYw8tO08sJlHDO_Vg&r=93BpwewPp4TSQgIXVcH3yfja0xjQhbEV1BVMr743P9g&m=VPWuxYvLsbLoAaOrlWFE4Xmv4jhY4l-hB0w-roC0mZA&s=_zj4AJXm1GAJ3BEHw1T5r_-DQzorVIoQhVK87DYLHHU&e= |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
Avviso di riservatezza: La presente trasmissione di posta elettronica e intesa all'utilizzo da parte di persone fisiche e giuridiche alle quali questa e indirizzata e potrebbe contenere informazioni proprietarie e/o riservate, appartenenti al mittente. Qualora l'utente non fosse il destinatario designato, con la presente si notifica il severo divieto di qualsivoglia divulgazione, utilizzo, copia, distribuzione o azione in merito ai contenuti delle presenti informazioni. Laddove la presente trasmissione sia avvenuta per errore, si prega di notificarlo immediatamente al mittente a mezzo posta elettronica e cancellare il messaggio originale. Grazie per la collaborazione.
Confidentiality Notice: This electronic mail transmission is intended for the use of the individual or entity to which it is addressed and may contain confidential and/or proprietary information belonging to the sender. If you are not the intended recipient, you are hereby notified that any disclosure, use, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately by e-mail and delete the original message. Thank you for your cooperation.
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2018-02-14 9:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-02 15:53 [ptxdist] " Milluzzo, Massimo
2018-02-05 10:58 ` Roland Hieber
2018-02-05 15:27 ` [ptxdist] [EXTERNAL] " Milluzzo, Massimo
2018-02-08 9:21 ` [ptxdist] " Michael Olbrich
2018-02-08 12:55 ` [ptxdist] [EXTERNAL] " Milluzzo, Massimo
2018-02-08 14:53 ` Michael Olbrich
2018-02-09 7:44 ` Milluzzo, Massimo
2018-02-09 9:13 ` Michael Olbrich
2018-02-09 10:46 ` Milluzzo, Massimo
2018-02-09 14:25 ` Michael Olbrich
2018-02-09 14:56 ` Milluzzo, Massimo
2018-02-14 9:49 ` Milluzzo, Massimo [this message]
2018-02-14 11:04 ` [ptxdist] FW: " m.olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0bfabbef0ea24e2d851d11cde08b4ccc@lujp1svwi090222.corp.mooginc.com \
--to=mmilluzzo@moog.com \
--cc=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox