From owner-freebsd-arm@freebsd.org Mon May 6 03:01:15 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44030159BA5C for ; Mon, 6 May 2019 03:01:15 +0000 (UTC) (envelope-from james@opentech.cc) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-eopbgr790071.outbound.protection.outlook.com [40.107.79.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35A1A82796 for ; Mon, 6 May 2019 03:01:12 +0000 (UTC) (envelope-from james@opentech.cc) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=opentech.cc; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nMIgiZEOMCt6GZE/WF5IMaghh6x0v0dn+MwVW1ueduE=; b=H+M0LZFRUhEx9yDzdcO7hkXGF8T14D5pkhBxeqNc8Dx6UC3Rl5+9SIWmrYUV8B/pJJ/qzxsuK7YonH0/CWdh3iKGkx55+WyfVak9vSXgToXFLkhM8mrvdOFfmQlXELka4STK9l4LaoIFMTwfGQFjjwgwTQSaH6ANifnFyKrmVs8= Received: from BN7PR06MB5187.namprd06.prod.outlook.com (20.176.29.18) by BN7PR06MB5217.namprd06.prod.outlook.com (20.176.29.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.12; Mon, 6 May 2019 03:01:07 +0000 Received: from BN7PR06MB5187.namprd06.prod.outlook.com ([fe80::3934:1ed8:5f2e:1d6f]) by BN7PR06MB5187.namprd06.prod.outlook.com ([fe80::3934:1ed8:5f2e:1d6f%5]) with mapi id 15.20.1856.012; Mon, 6 May 2019 03:01:07 +0000 From: James Shuriff To: bob prohaska CC: "freebsd-arm@freebsd.org" Subject: RE: Compiling u-boot-rpi3 on an rpi3 Thread-Topic: Compiling u-boot-rpi3 on an rpi3 Thread-Index: AQHVA6/hKExcD8AWFEuc9fg9iSbTAKZdWLJAgAADSICAAAwtUA== Date: Mon, 6 May 2019 03:01:07 +0000 Message-ID: References: <20190506020115.GA40421@www.zefox.net> <20190506021613.GB40421@www.zefox.net> In-Reply-To: <20190506021613.GB40421@www.zefox.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [71.251.5.193] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9a0bbfcb-5634-4eeb-d847-08d6d1cf1617 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:BN7PR06MB5217; x-ms-traffictypediagnostic: BN7PR06MB5217: x-ms-exchange-purlcount: 2 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:873; x-forefront-prvs: 0029F17A3F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39830400003)(376002)(366004)(396003)(346002)(136003)(199004)(189003)(38564003)(13464003)(71200400001)(71190400001)(4326008)(5024004)(14444005)(256004)(33656002)(81166006)(81156014)(7696005)(8676002)(74482002)(8936002)(99286004)(64756008)(66556008)(76116006)(73956011)(66476007)(66946007)(66446008)(86362001)(305945005)(74316002)(7736002)(6246003)(508600001)(186003)(102836004)(55016002)(6306002)(53546011)(9686003)(316002)(6436002)(3846002)(6116002)(52536014)(6916009)(2906002)(446003)(11346002)(476003)(486006)(5660300002)(76176011)(229853002)(68736007)(26005)(966005)(14454004)(6506007)(66066001)(25786009)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR06MB5217; H:BN7PR06MB5187.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: opentech.cc does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: x41pCr3iLC7xxoGS0JXUIp0KPb0HNhalioHGTYphA3jugma4mLAGeFzN7i5m8eOEjXtoz/CPJ5EvqnEWmb0hlc2M+7xx+qK7imclXtlweMYrxjH6S/SN+0XKagt0NQRpqEMe4r5svk55torRPpHdMeNlINn/GjR0kX1xBkvMOS3zOmaPXjBLJ6Lzf6Xmc8S4IkMPBnbaHxaZXOxDv249bdDjm+0QkeMP+ilpQwjGEfpb38JAZuUH/BxxZYIgMSdUEIimGLQ1f16MoXu4GjQ2oDyezd+N6jmFH8/6fmPftcuMueJkv9ADl0/TG3EtGhPCpFupkoyT17FniTnhEYK+ww8KvPs3qMUlwQFuHZDk1WEmwxXBp+4kM/gazaycZO7nd6wYnR1nDrEEmfp1yWu18eEmHZ6IpUppKy0lx3m/I2Y= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: opentech.cc X-MS-Exchange-CrossTenant-Network-Message-Id: 9a0bbfcb-5634-4eeb-d847-08d6d1cf1617 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2019 03:01:07.7151 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5c5dd5ac-929c-48f6-a3f4-c0c8602c24af X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR06MB5217 X-Rspamd-Queue-Id: 35A1A82796 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=opentech.cc header.s=selector1 header.b=H+M0LZFR; spf=pass (mx1.freebsd.org: domain of james@opentech.cc designates 40.107.79.71 as permitted sender) smtp.mailfrom=james@opentech.cc X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[opentech.cc:s=selector1]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[opentech.cc]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; NEURAL_SPAM_SHORT(0.50)[0.499,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[opentech.cc:+]; MX_GOOD(-0.01)[cached: opentech-cc.mail.protection.outlook.com]; RCVD_IN_DNSWL_NONE(0.00)[71.79.107.40.list.dnswl.org : 127.0.3.0]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 03:01:15 -0000 Bob, Which version of FreeBSD are you running? What is the output of `uname -p`?= The Das U-Boot tools (where your issue is) are compiled using the host sys= tem's toolchain. - James Shuriff Managing Member OpenTech.cc LLC Direct #: +1 631 333 7437 Main #: +1 631 333 7260 -----Original Message----- From: bob prohaska Sent: Sunday, May 5, 2019 10:16 PM To: James Shuriff Cc: bob prohaska Subject: Re: Compiling u-boot-rpi3 on an rpi3 Hi James, That seems rather drastic. I'd like to stay within the ports system since t= his isn't a "must do" situation. At one time building u-boot on an rpi work= ed, though that was a while ago. Thanks for writing! bob prohaska On Mon, May 06, 2019 at 02:08:34AM +0000, James Shuriff wrote: > 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_= AND_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 On > Behalf 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= use of the recipient and may contain confidential information. If you have= received this message in error please delete it and promptly notify the se= nder, James Shuriff (james@opentech.cc). > ________________________________ 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).