RE: M0 and M3 patches in linaro toolchains
Keith Packard <[email protected]>
| Newsgroups | gmane.linux.debian.devel.embedded,gmane.linux.linaro.devel |
|---|---|
| Message-ID | <[email protected]> |
Joey Ye <[email protected]> writes: > I'm not sure what blocked M0. There are a few things suspicious: > * Which C library is used? The one gcc-arm-embedded works, and the only one > I know works for Cortex-M, is newlib. Other than that, good luck :-( I'm using pdclib, which is not the best solution in most ways except that it's very portable :-) > Overall, sharing a source between arm-linux and arm-none-eabi sounds a good > idea, but library can be the road blocker. As bare-metal version should use > newlib and linux use glibc, it is not that straight-forward as assumed. > Please be aware of this extra burden. I've packaged a bare gcc which doesn't reference *any* libc, allowing the user to select the best libc for their project. We could separately package both newlib and pdclib for various targets if we liked? > Alternative approach is just grab the gcc-arm-embedded 4.8, which will be > ready by Q4, and build it for debian. It will be straight forward as it is > already built and released by launchpad as debian package and distributed as > PPA. Also it will behavior the same as any other gcc-arm-embedded running on > other linux distribution and Windows, which have been downloaded 100,000 > copies. I've grabbed the 4.7 q2 version for now and packaged that; I looked at the diffs from the 4.8 embedded tree to the current Debian 4.8 gcc sources and they were huge (700k line patch). I didn't analyze that further; perhaps it's mostly spurious? > Again, I'm not sure what blocked M0. I'm interested to know more details > about this. I can look at this in more detail if desired. I was getting a CPU fault (presumably from executing some non -M0 instructions) with the Debian bits compiled in precisely the same way as I am now successfully building the Linaro -q2 bits. -keith
signature.asc
(application/pgp-signature, 827 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIVAwUBUhkKdtsiGmkAAAARAQhLkQ/9GLSpR+xwoBg8oTgFkZdNc7DAHY9ThuzM Rdd3yG/1dljsQYAh6NSt6Mp7/OTkncBt8HZLls/K/LXuUCiJqU3VN9qkMBTiDgN+ dvmwj4N55W3Q+HvTIaCHP1SARbDZtZgnozYnjuIq+uICL5ts3tgxTiDFMhwz7sbA uJzYN9LN5A+RhcFZIx8LsakjgvXTAyjQRDejeDTkOQaIvxv6cXSOg269o19Gc0g8 8ZnvkI5ygHLKXBKiVxNOD5bWRiukrBT0hgTWSWqZODDJ9E6btYm0Kd2CxCoO7aw7 618glCooSzN17WNSP2h14351KMfuL8EQFZ3mKcHoDTlVY5oMIehFvOilT88O58xz srUAvHfmmR/OsMGwmzzLVXSjJS8sIxrRwbN//GYqn+C/1Ci8aDcLNAa0/IkMg4ip yBKncVlUpc4a9PABBKOP4cVdr0R8pU80B8Vu00iSgYupFvbiy/lMm9nNlFe8OHQg FujXuwl88EJNnqnfLoKQI9DWfvyDSBNzcbq/OZblCB18butAoE0TFewPdM6H+jKF GOeIEiE1SamAp9qz1GZqEFIvAFPHwGY7Qm90H8fhqthEuSxkem8aCRRGfLFOYtcr Kiw0bpiuOREsv5yANzHRp6dYx9bt0mZZ4Feac1bdbB5xXSkKTZdYsPJ8K6UqqaNA s/O2Uc/AU4I= =Owvm -----END PGP SIGNATURE-----