Bug 1203

Summary: Beagleboard: set TARGET_FPU=hard
Product: [Build System, Metadata & Runtime] BSPs Reporter: Darren Hart <dvhart>
Component: bsps-configurationAssignee: Darren Hart <dvhart>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: yp.bsp.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.1   
Hardware: Beagleboard   
OS: Multiple   
Whiteboard: Final meta-yocto patch sent to list (6-Sep-2011)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Darren Hart 2011-06-28 12:27:39 UTC
TARGET_FPU is soft by default and needs to be set to hard to take advantage of the floating point hardware on the beagleboard. This is set in DISTRO configuration policy in things like angstrom. It isn't clear to me where this change should be made, but we do need to enable hardware floating point on the beagleboard.
Comment 1 Darren Hart 2011-06-28 12:32:13 UTC
The MPC8315e handles this as follows:

meta-yocto/conf/machine/mpc8315e-rdb.conf:TARGET_FPU = "spe"

perhaps the right fix is to add "TARGET_FPU='hard'" to beagleboard.conf ?
Comment 2 Darren Hart 2011-08-18 15:47:23 UTC
I have second patch series that specifies using hard fp in the beagleboard conf after some updates to cortexa8 tune. It boots on bbxm, prints garbage on C4. It is ignoring the boot.scr. Debugging that before submitting.
Comment 3 Darren Hart 2011-09-06 09:39:32 UTC
Final patch adds a commented out DEFAULT_TUNE and some comments describing how to enable hard fp - but leaves it disabled by default.
Comment 5 Darren Hart 2011-10-06 15:42:43 UTC
.