Compiling u-boot-rpi3 on an rpi3

James Shuriff james at opentech.cc
Mon May 6 02:08:39 UTC 2019


Try building it directly from the repo. This is how I build for rpi3:

Clone the git repo https://github.com/u-boot/u-boot

In configs/rpi_3_defconfig:
* Change CONFIG_OF_EMBED=y to CONFIG_OF_EMBED =n
* Add CONFIG_OF_BOARD=y
* Change CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" to CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"

Make sure you have the aarch64-none-elf-gcc package.

Use these commands to build:
gmake CROSS_COMPILE=aarch64-none-elf- rpi_3_defconfig
gmake CROSS_COMPILE=aarch64-none-elf- u-boot.bin

- James Shuriff

-----Original Message-----
From: owner-freebsd-arm at freebsd.org <owner-freebsd-arm at freebsd.org> On Behalf Of bob prohaska
Sent: Sunday, May 5, 2019 10:01 PM
To: freebsd-arm at freebsd.org; freebsd-ports at freebsd.org
Subject: Compiling u-boot-rpi3 on an rpi3

With FreeBSD at r347055 and ports at 500862 attempts to compile
sysutils/u-boot-rpi3 stop with a string of errors starting with
ld: error: undefined symbol: EVP_MD_CTX_new
>>> referenced by mxsimage.c
>>>               tools/mxsimage.o:(mxsimage_generate)

ld: error: undefined symbol: EVP_MD_CTX_free
>>> referenced by mxsimage.c
>>>               tools/mxsimage.o:(mxsimage_generate)

ld: error: undefined symbol: EVP_MD_CTX_new
>>> referenced by mxsimage.c
>>>               tools/mxsimage.o:(mxsimage_generate)

ld: error: undefined symbol: EVP_CIPHER_CTX_reset
>>> referenced by mxsimage.c
>>>               tools/mxsimage.o:(mxsimage_generate)

Is there a fix or workaround?

Thanks for reading,

bob prohaska
_______________________________________________
freebsd-arm at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
________________________________
 DISCLAIMER: This message and any attachments are intended solely for the use of the recipient and may contain confidential information. If you have received this message in error please delete it and promptly notify the sender, James Shuriff (james at opentech.cc<mailto:james at opentech.cc>).


More information about the freebsd-arm mailing list