From owner-freebsd-embedded@FreeBSD.ORG Wed Oct 8 21:07:08 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 589A210656AD for ; Wed, 8 Oct 2008 21:07:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 151658FC2E for ; Wed, 8 Oct 2008 21:07:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m98L6EAD035409; Wed, 8 Oct 2008 15:06:14 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 08 Oct 2008 15:07:16 -0600 (MDT) Message-Id: <20081008.150716.570083949.imp@bsdimp.com> To: bms@incunabulum.net From: "M. Warner Losh" In-Reply-To: <48ECF8F5.8090805@incunabulum.net> References: <48ECF8F5.8090805@incunabulum.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: Broadcom MIPS kernel bit-rot X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 21:07:08 -0000 I think this may be a change in the SGI style ELF binaries to a Traditional SYS V style that we did before we imported the code, but after you did the original work on the sentry... Warner In message: <48ECF8F5.8090805@incunabulum.net> Bruce M Simpson writes: : It appears that the build for Broadcom MIPS kernels has bit-rotted. : : I am able to build a kernel with SENTRY5 config, however it will no : longer boot on the WGT634U. : : The root cause appears to be a change in the ld behaviour. For whatever : reason, the linker will now produce an ELF kernel which has offsets : pointing backwards in the file, even though it didn't before, and : "makeoptions LDSCRIPT_NAME" is being used to coax it to use the config : which used to work for CFE. : : CFE, of course, is unable to load ELF kernels via TFTP, unless their : program headers appear in the order in which they are actually accessed. : This is purely a limitation of how CFE implements TFTP ELF load. : : Looking in the Perforce history I can't see anything which could : obviously have broken this, it is clear however that ld is now behaving : very differently. : : Questions: : Has the version of ld/binutils in FreeBSD changed in -CURRENT since the : MIPS code was imported to the main tree? : : That's all I can really think of at the moment, not much I can try here. : U-Boot isn't on the Sentry5. : : cheers : BMS : _______________________________________________ : freebsd-embedded@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-embedded : To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" : :