crotchet-freebsd fails to build u-boot (master)

Winston Smith smith.winston.101 at gmail.com
Sat Apr 19 00:09:49 UTC 2014


On Fri, Apr 18, 2014 at 3:36 PM, Winston Smith
<smith.winston.101 at gmail.com> wrote:
>
>   CHK     include/config/uboot.release
>   CHK     include/generated/version_autogenerated.h
>   CHK     include/generated/timestamp_autogenerated.h
>   UPD     include/generated/timestamp_autogenerated.h
>   HOSTCC  tools/dumpimage.o
>   HOSTCC  tools/image-fit.o
> In file included from tools/image-fit.c:1:
> /usr/home/winston/Work/crochet-freebsd/u-boot-master/tools/../common/image-fit.c:887:3:
> warning: implicit declaration of function 'sha256_csum_wd' is invalid
> in C99 [-Wimplicit-function-declaration]
>                 sha256_csum_wd((unsigned char *)data, data_len,
>                 ^
> /usr/home/winston/Work/crochet-freebsd/u-boot-master/tools/../common/image-fit.c:888:35:
> error: use of undeclared identifier 'CHUNKSZ_SHA256'
>                                (unsigned char *)value, CHUNKSZ_SHA256);
>                                                        ^
> /usr/home/winston/Work/crochet-freebsd/u-boot-master/tools/../common/image-fit.c:889:16:
> error: use of undeclared identifier 'SHA256_SUM_LEN'
>                 *value_len = SHA256_SUM_LEN;
>                              ^
> 1 warning and 2 errors generated.
> gmake[1]: *** [tools/image-fit.o] Error 1
> gmake: *** [tools] Error 2


I retried with u-boot-2014.04 and it builds ok, so something has
changed in the last 4 days that breaks this.

While 2014.04 does build, it fails to boot on the BBB:

U-Boot SPL 2014.04 (Apr 18 2014 - 19:41:02)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
spl_load_image_fat: error reading image u-boot.img, err - -1
### ERROR ### Please RESET the board ###


Looks like the patches haven't properly been applied as mlo looking
for u-boot.img rather than bb-uboot.img. Hmmm ...

-W


More information about the freebsd-arm mailing list