From owner-freebsd-uboot@freebsd.org Mon Jul 22 12:30:10 2019 Return-Path: Delivered-To: freebsd-uboot@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7AA2AB0F1F for ; Mon, 22 Jul 2019 12:30:10 +0000 (UTC) (envelope-from freebsd-uboot@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 232D56D361 for ; Mon, 22 Jul 2019 12:30:08 +0000 (UTC) (envelope-from freebsd-uboot@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Mon, 22 Jul 2019 14:30:05 +0200 id 00F4068C.5D35AC4D.00011947 Date: Mon, 22 Jul 2019 14:30:05 +0200 From: Milan Obuch To: freebsd-uboot@freebsd.org Subject: u-boot for Zynq Zybo-Z7 board Message-ID: <20190722143005.152779f3@zeta.dino.sk> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 232D56D361 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd-uboot@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-uboot@dino.sk X-Spamd-Result: default: False [-5.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: mail.dino.sk]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.71)[ip: (-7.89), ipnet: 84.245.64.0/18(-3.94), asn: 16160(-1.77), country: SK(0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-uboot@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of uboot with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2019 12:30:10 -0000 Hi, as there is support for older version, Zybo, it should be possible to run FreeBSD on newer board too. We have a port sysutils/u-boot-zybo for it, but it does not run correctly on newer board, so I copied this port and modified Makefile to contain MASTERDIR= ${.CURDIR}/../u-boot-master MODEL= zybo-z7 BOARD_CONFIG= zynq_zybo_z7_defconfig FAMILY= zynq_7000 UBOOT_VERSION= 2019.01 .include "${MASTERDIR}/Makefile" which kind of works, just it is necessary to do 'make makesum' to get older u-boot sources and checksum it. By 'kind of works' I mean it does load the kernel, just there is some error later. The reason I am writing here is just could the sysutils/u-boot-master be somehow extended to allow coexistence for older u-boot sources? As written above, 'make makesum' is necessary to produce the u-boot files, caused by older sources makesum not present in distinfo file of master port. My impession is that master port currently simply does not allow for easy coexistence of various sources... I have no ready idea to present, but if other than standard current u-boot version should be used, as in case of zybo and zybo-z7, masterport could maybe look in distinfo present in that specific port... For zybo and zybo-z7, neither 2019.04 nor 2019.07 u-boot compiles, there is something wrong with creating binaries, maybe too big or somesuch, but 2019.01 verzion seems to work just right. Regards, Milan