From owner-freebsd-arm@freebsd.org Sun Oct 22 16:36:14 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE0FCE56473 for ; Sun, 22 Oct 2017 16:36:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BA686CD9C for ; Sun, 22 Oct 2017 16:36:13 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 279d8725-b747-11e7-a938-4f970e858fdb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 279d8725-b747-11e7-a938-4f970e858fdb; Sun, 22 Oct 2017 16:36:29 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v9MGaBe1001514; Sun, 22 Oct 2017 10:36:11 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1508690171.7314.9.camel@freebsd.org> Subject: Re: svn commit: r324822 - head/sys/modules/dtb/allwinner [removal of sinovoip-bpi-m3.dts from sys/modules/dtb/allwinner/Makefile DTS list] From: Ian Lepore To: Warner Losh Cc: Mark Millard , Emmanuel Vadot , freebsd-arm Date: Sun, 22 Oct 2017 10:36:11 -0600 In-Reply-To: References: <3AD6B1F8-512C-43BB-AC76-7721454AD02F@dsl-only.net> <20171021195812.5bdb902401b8e756b6abfe40@bidouilliste.com> <20171021204356.47e3cd6066144bcd07f46699@bidouilliste.com> <50728566-11C2-45EB-8367-00CAF38D4548@dsl-only.net> <8696CCFA-AE7D-4324-90A8-BB73402FA124@dsl-only.net> <757DA0FB-D69E-45BC-B81C-5CE0C6636E79@dsl-only.net> <1508688836.7314.6.camel@freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2017 16:36:14 -0000 On Sun, 2017-10-22 at 10:23 -0600, Warner Losh wrote: > On Sun, Oct 22, 2017 at 10:13 AM, Ian Lepore wrote: > > > > > On Sat, 2017-10-21 at 22:52 -0700, Mark Millard wrote: > > > > > > [I was not controlling UBLDR_LOADADDR in > > > my builds.] > > > > > UBLDR_LOADADDR is meaningless; it's not significant on arm systems, > > dating back to well before 11.0 was released.  It used to set the fixed > > physical address at which ubldr[.bin] was linked to run, but now ubldr > > is self-relocating and can be loaded at any 2mb boundary (really 1mb > > boundary on most arm systems). > > > > It should be noted that ubldr is obsolete as well; only ubldr.bin is > > needed.  The older version with the elf headers intact was supposed to > > be kept around "for a few weeks, until crochet can be adjusted to not > > refer to it".  That was like 3 years ago, but it never got removed. > > > > Hmmm, actually, since UBLDR_LOADADDR does end up stored in the elf > > headers, I guess if you're using the obsolete ubldr with headers > > intact, maybe it is influencing uboot's behavior and causing failures. > > > Maybe it's time to delete it, other build systems ready or not. > > Warner After digging through some old IRC logs, where we left off on this when it was last discussed in April 2017, we were waiting for a last few remaining uboot ports to either get converted to the new master scheme, or have their one-off patches updated to stop referring to the elf ubldr.  Also, there was a need to ensure the cache-flushing patches (flush before launching ubldr and in the API IO code) are in place in your uboot fork. I think at this point we're probably down to just the one-off uboot ports needing small changes. -- Ian