Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 2008 15:07:16 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        bms@incunabulum.net
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Broadcom MIPS kernel bit-rot
Message-ID:  <20081008.150716.570083949.imp@bsdimp.com>
In-Reply-To: <48ECF8F5.8090805@incunabulum.net>
References:  <48ECF8F5.8090805@incunabulum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bms@incunabulum.net> 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"
: 
: 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081008.150716.570083949.imp>