> Sound logic but: > Why would the code built under cygwin run (same architecture with > bootloader and application) but not work when built under Linux? On both > OS I use the same version of the arm-eabi tools. On both OS I use the > same ecos library (ecos-3.0) and the same source code for > bootloader/application. > > Any idea about what would make the difference?
That is less easy to answer. In theory your builds should produce similar, if not identical, executables. Certainly as far as the initialization code is concerned. Something you could try is to use arm-eabi-objdump with the -d option to disassemble the ELF files. Then compare the resulting outputs, even run them through diff. Any differences between the files might give a clue as to what is going wrong. Concentrate in particular on hal_reset_vsr, since this is the most likely site of any problem. -- Nick Garnett eCos Kernel Architect eCosCentric Limited http://www.eCosCentric.com The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No: 4422071 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss