linux-sunxi / u-boot-sunxi

Allwinner A1x native u-boot support
https://github.com/linux-sunxi/u-boot-sunxi/wiki
316 stars 333 forks source link

Using floating point hardware in bare metal program #88

Open mMerlin opened 8 years ago

mMerlin commented 8 years ago

After looking at http://stackoverflow.com/questions/24589235/application-hangs-when-calling-printf-to-uart-with-bare-metal-raspberry-pi I have to wonder if my problem getting -lm to work in #87 is really caused by the floating point hardware not being initialized (at all or properly). Does anyone have (bare metal) sample code for an A20 or similar board that actually uses NEON / floating point hardware?