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://ibb.co/c59egH ):
> 
> $ 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                 | http://www.pengutronix.de/  |
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

Reply via email to