Date: Mon, 6 May 2019 02:08:34 +0000 From: James Shuriff <james@opentech.cc> To: bob prohaska <fbsd@www.zefox.net>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: RE: Compiling u-boot-rpi3 on an rpi3 Message-ID: <BN7PR06MB51875E5B873CC610CF475843AA300@BN7PR06MB5187.namprd06.prod.outlook.com> In-Reply-To: <20190506020115.GA40421@www.zefox.net> References: <20190506020115.GA40421@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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=3Dy to CONFIG_OF_EMBED =3Dn * Add CONFIG_OF_BOARD=3Dy * Change CONFIG_ENV_FAT_DEVICE_AND_PART=3D"0:1" to CONFIG_ENV_FAT_DEVICE_AN= D_PART=3D"1:1" Make sure you have the aarch64-none-elf-gcc package. Use these commands to build: gmake CROSS_COMPILE=3Daarch64-none-elf- rpi_3_defconfig gmake CROSS_COMPILE=3Daarch64-none-elf- u-boot.bin - James Shuriff -----Original Message----- From: owner-freebsd-arm@freebsd.org <owner-freebsd-arm@freebsd.org> On Beha= lf Of bob prohaska Sent: Sunday, May 5, 2019 10:01 PM To: freebsd-arm@freebsd.org; freebsd-ports@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@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" ________________________________ DISCLAIMER: This message and any attachments are intended solely for the u= se of the recipient and may contain confidential information. If you have r= eceived this message in error please delete it and promptly notify the send= er, James Shuriff (james@opentech.cc<mailto:james@opentech.cc>).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BN7PR06MB51875E5B873CC610CF475843AA300>