Recent commit to upgrade binutils to version 2.26 makes u-boot on Intel Edison BSP to be miscompiled and thus causing boot failure. Reverting commit id 86ade2cc2553c942d9526c5323a11ae151653505 fixes the problem. May have side effects on other platforms too...
Can you provide more details on what it means to be "miscompiled"? Can you narrow down what part of u-boot is being miscompiled?
You might try building v2015.10 u-boot. There is a recipe for it in the jethro branch of the bap: http://sandbox.sakoman.com/git/?p=meta-edison-bsp.git;a=tree;f=recipes-bsp/u-boot;h=f28ac38ee4b89970801e534b880de890d1fab65c;hb=refs/heads/jethro
(In reply to comment #1) > Can you provide more details on what it means to be "miscompiled"? That u-boot doesn't work as expected. It gets stuck right after printing out it's version string and amount of RAM. > Can you > narrow down what part of u-boot is being miscompiled? Without hardware debugger it is quite hard to see where it gets stuck.
(In reply to comment #2) > You might try building v2015.10 u-boot. > > There is a recipe for it in the jethro branch of the bap: > > http://sandbox.sakoman.com/git/?p=meta-edison-bsp.git;a=tree;f=recipes-bsp/u- > boot;h=f28ac38ee4b89970801e534b880de890d1fab65c;hb=refs/heads/jethro Result didn't change much: ****************************** PSH KERNEL VERSION: b0182b2b WR: 20104000 ****************************** SCU IPC: 0x800000d0 0xfffce92c PSH miaHOB version: TNG.B0.VVBD.0000000c microkernel built 11:24:08 Feb 5 2015 ******* PSH loader ******* PCM page cache size = 192 KB Cache Constraint = 0 Pages Arming IPC driver .. Adding page store pool .. PagestoreAddr(IMR Start Address) = 0x04899000 pageStoreSize(IMR Size) = 0x00080000 *** Ready to receive application *** U-Boot 2015.10 (Feb 05 2016 - 14:48:25 +0200) CPU: x86_64, vendor Intel, device 406a8h Watchdog enabled DRAM: 980.6 MiB No relocation data resetting ...
Two last lines are the difference to the earlier 2014 version.
Verified that the newer u-boot also starts working by reverting the binutils upgrade.
This could be related to the upstream binutils issue: https://sourceware.org/bugzilla/show_bug.cgi?id=19538
Filed a new upstream bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19616 And HJ responded with a patch in that bug that fixes the problem. It is based on the HEAD of the 2.26 branch and there will be a 2.26.1 release coming soon, not sure the exact date. Marking this wait for upstream until that release comes.
this should be fixed by http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117529.html once it lands in master.
Thanks to Khem! Binutils is updated to include this patch in master now. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=138778501367d3cd0036fc31afbbedce0016f478