Commit Graph

13749 Commits

Author SHA1 Message Date
Joel Sherrill
e354ef11e1 arm/smdk2410: Add per-section compilation and linking support
updates #2577.

For the smdk2410 BSP variant without this option,
sample executables sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  97924	   1980	66992576	67092480	3ffc000	ticker.exe
  38256	   1400	67052800	67092456	3ffbfe8	minimum.exe
 820960	   2268	66269220	67092448	3ffbfe0	cxx_iostream.exe
 576981	   6056	66509440	67092477	3ffbffd	fileio.exe
 455008	  12872	66624576	67092456	3ffbfe8	pppd.exe
 198696	   2616	66891136	67092448	3ffbfe0	capture.exe
 116096	   2068	66974308	67092472	3ffbff8	nsecs.exe
 181880	   2364	66908224	67092468	3ffbff4	paranoia.exe
 191224	   2012	66899232	67092468	3ffbff4	cdtest.exe
  94916	   1980	66995584	67092480	3ffc000	base_sp.exe
  98184	   2012	66992260	67092456	3ffbfe8	unlimited.exe
 107860	   1956	66982656	67092472	3ffbff8	hello.exe
 278248	   6764	66807456	67092468	3ffbff4	loopback.exe

For the smdk2410 BSP variant with this option,
sample executables sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  91532	   1820	66999104	67092456	3ffbfe8	ticker.exe
  25508	    380	67066564	67092452	3ffbfe4	minimum.exe
 512240	   2068	66578148	67092456	3ffbfe8	cxx_iostream.exe
 559481	   5904	66527072	67092457	3ffbfe9	fileio.exe
 419052	  12580	66660836	67092468	3ffbff4	pppd.exe
 188604	   2440	66901408	67092452	3ffbfe4	capture.exe
 110260	   1908	66980288	67092456	3ffbfe8	nsecs.exe
 173608	   2188	66916672	67092468	3ffbff4	paranoia.exe
 182184	   1852	66908416	67092452	3ffbfe4	cdtest.exe
  87660	   1812	67003008	67092480	3ffc000	base_sp.exe
  88336	   1812	67002308	67092456	3ffbfe8	unlimited.exe
  97604	   1740	66993120	67092464	3ffbff0	hello.exe
 255352	   6516	66830592	67092460	3ffbfec	loopback.exe
2016-03-10 18:08:18 -06:00
Joel Sherrill
5fd3cc075d arm/rtl22xx: Add per-section compilation and linking support
updates #2577.

For the rtl22xx BSP variant without this option,
sample executables sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  87223	   1820	 436320	 525363	  80433	ticker.exe
  27915	   1216	 496224	 525355	  8042b	minimum.exe
 409638	  12704	 103008	 525350	  80426	pppd.exe
 183260	   2456	 339648	 525364	  80434	capture.exe
 105441	   1908	 418016	 525365	  80435	nsecs.exe
 168295	   2204	 354848	 525347	  80423	paranoia.exe
 181768	   1852	 341728	 525348	  80424	cdtest.exe
  84419	   1820	 439136	 525375	  8043f	base_sp.exe
  86347	   1828	 437184	 525359	  8042f	unlimited.exe
  99595	   1772	 424000	 525367	  80437	hello.exe
 252540	   6596	 266240	 525376	  80440	loopback.exe

For the rtl22xx BSP variant with this option,
sample executables sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  82141	   1732	 441472	 525345	  80421	ticker.exe
  20545	    284	 504512	 525341	  8041d	minimum.exe
 379745	  12484	 133120	 525349	  80425	pppd.exe
 175592	   2360	 347392	 525344	  80420	capture.exe
 100851	   1820	 422688	 525359	  8042f	nsecs.exe
 163053	   2108	 360192	 525353	  80429	paranoia.exe
 174692	   1764	 348896	 525352	  80428	cdtest.exe
  79193	   1732	 444448	 525373	  8043d	base_sp.exe
  78701	   1716	 444928	 525345	  80421	unlimited.exe
  91561	   1644	 432160	 525365	  80435	hello.exe
 234116	   6420	 284832	 525368	  80438	loopback.exe

For the rtl22xx_t BSP variant without this option,
sample executables sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  62167	   1820	 461376	 525363	  80433	ticker.exe
  21003	   1216	 503136	 525355	  8042b	minimum.exe
 369737	   5896	 149728	 525361	  80431	fileio.exe
 286854	  12704	 225792	 525350	  80426	pppd.exe
 133052	   2456	 389856	 525364	  80434	capture.exe
  75437	   1908	 448000	 525345	  80421	nsecs.exe
 123959	   2204	 399200	 525363	  80433	paranoia.exe
 134660	   1852	 388864	 525376	  80440	cdtest.exe
  60315	   1820	 463232	 525367	  80437	base_sp.exe
  61767	   1828	 461760	 525355	  8042b	unlimited.exe
  72191	   1772	 451392	 525355	  8042b	hello.exe
 174588	   6596	 344192	 525376	  80440	loopback.exe

For the rtl22xx_t BSP variant with this option,
sample executables sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  59021	   1732	 464608	 525361	  80431	ticker.exe
  15757	    284	 509312	 525353	  80429	minimum.exe
 366096	   1972	 157280	 525348	  80424	cxx_iostream.exe
 360911	   5808	 158656	 525375	  8043f	fileio.exe
 267485	  12484	 245376	 525345	  80421	pppd.exe
 128224	   2360	 394784	 525368	  80438	capture.exe
  72611	   1820	 450944	 525375	  8043f	nsecs.exe
 121041	   2108	 402208	 525357	  8042d	paranoia.exe
 129488	   1764	 394112	 525364	  80434	cdtest.exe
  57049	   1732	 466592	 525373	  8043d	base_sp.exe
  56833	   1716	 466816	 525365	  80435	unlimited.exe
  66921	   1644	 456800	 525365	  80435	hello.exe
 163104	   6420	 355840	 525364	  80434	loopback.exe
2016-03-10 18:08:15 -06:00
Joel Sherrill
07252899cf arm/realview_pbx_a9_qemu: Add per-section compilation and linking support
updates #2577.

NOTE: In contrast to other BSPs, this was built with SMP enabled to
      ensure the _smp variant was built properly.

For the realview_pbx_a9_qemu BSP variant without this option,
sample executable sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
 129776	   1692	267238996	267370464	fefbfe0	ticker.exe
  92729	   1452	267276272	267370453	fefbfd5	minimum.exe
 624404	   1980	266744076	267370460	fefbfdc	cxx_iostream.exe
 597787	   5936	266766716	267370439	fefbfc7	fileio.exe
 470724	  14336	266885392	267370452	fefbfd4	pppd.exe
 219648	   2448	267148360	267370456	fefbfd8	capture.exe
 140398	   1780	267228276	267370454	fefbfd6	nsecs.exe
 200972	   2100	267167384	267370456	fefbfd8	paranoia.exe
 193188	   1716	267175568	267370472	fefbfe8	cdtest.exe
 125512	   1692	267243260	267370464	fefbfe0	base_sp.exe
 129392	   1724	267239348	267370464	fefbfe0	unlimited.exe
 126564	   1668	267242240	267370472	fefbfe8	hello.exe
 289336	   6708	267074400	267370444	fefbfcc	loopback.exe

For the realview_pbx_a9_qemu BSP variant with this option,
sample executable sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
 122812	   1684	267245960	267370456	fefbfd8	ticker.exe
  61366	   1368	267307732	267370466	fefbfe2	minimum.exe
 409100	   1948	266959408	267370456	fefbfd8	cxx_iostream.exe
 579093	   5928	266785444	267370465	fefbfe1	fileio.exe
 435584	  14084	266920804	267370472	fefbfe8	pppd.exe
 207412	   2432	267160600	267370444	fefbfcc	capture.exe
 134006	   1772	267234668	267370446	fefbfce	nsecs.exe
 193744	   2092	267174608	267370444	fefbfcc	paranoia.exe
 184796	   1716	267183960	267370472	fefbfe8	cdtest.exe
 118288	   1684	267250484	267370456	fefbfd8	base_sp.exe
 118636	   1700	267250136	267370472	fefbfe8	unlimited.exe
 115488	   1628	267253344	267370460	fefbfdc	hello.exe
 268276	   6508	267095664	267370448	fefbfd0	loopback.exe

For the realview_pbx_a9_qemu_smp BSP variant without this option,
sample executable sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
 129776	   1692	267238996	267370464	fefbfe0	ticker.exe
  92729	   1452	267276272	267370453	fefbfd5	minimum.exe
 624404	   1980	266744076	267370460	fefbfdc	cxx_iostream.exe
 597791	   5936	266766712	267370439	fefbfc7	fileio.exe
 470724	  14336	266885392	267370452	fefbfd4	pppd.exe
 219648	   2448	267148360	267370456	fefbfd8	capture.exe
 140398	   1780	267228276	267370454	fefbfd6	nsecs.exe
 200972	   2100	267167384	267370456	fefbfd8	paranoia.exe
 193188	   1716	267175568	267370472	fefbfe8	cdtest.exe
 125512	   1692	267243260	267370464	fefbfe0	base_sp.exe
 129392	   1724	267239348	267370464	fefbfe0	unlimited.exe
 126564	   1668	267242240	267370472	fefbfe8	hello.exe
 289336	   6708	267074400	267370444	fefbfcc	loopback.exe

For the realview_pbx_a9_qemu_smp BSP variant with this option,
sample executable sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
 122812	   1684	267245960	267370456	fefbfd8	ticker.exe
  61366	   1368	267307732	267370466	fefbfe2	minimum.exe
 409100	   1948	266959408	267370456	fefbfd8	cxx_iostream.exe
 579097	   5928	266785440	267370465	fefbfe1	fileio.exe
 435584	  14084	266920804	267370472	fefbfe8	pppd.exe
 207412	   2432	267160600	267370444	fefbfcc	capture.exe
 134006	   1772	267234668	267370446	fefbfce	nsecs.exe
 193744	   2092	267174608	267370444	fefbfcc	paranoia.exe
 184796	   1716	267183960	267370472	fefbfe8	cdtest.exe
 118288	   1684	267250484	267370456	fefbfd8	base_sp.exe
 118636	   1700	267250136	267370472	fefbfe8	unlimited.exe
 115488	   1628	267253344	267370460	fefbfdc	hello.exe
 268276	   6508	267095664	267370448	fefbfd0	loopback.exe
2016-03-10 18:08:10 -06:00
Joel Sherrill
fa9c057f0f arm/raspberrypi: Add per-section compilation and linking suppo
updates #2577.

For the raspberrypi BSP variant without this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  91516	   1724	134080496	134173736	7ff5428	ticker.exe
  57809	   1480	134114460	134173749	7ff5435	minimum.exe
 816524	   2004	133355216	134173744	7ff5430	cxx_iostream.exe
 561132	   5808	133606812	134173752	7ff5438	fileio.exe
 444724	  12624	133716388	134173736	7ff5428	pppd.exe
 193344	   2360	133978052	134173756	7ff543c	capture.exe
 109682	   1812	134062236	134173730	7ff5422	nsecs.exe
 175408	   2100	133996244	134173752	7ff5438	paranoia.exe
 187108	   1756	133984880	134173744	7ff5430	cdtest.exe
  88548	   1724	134083488	134173760	7ff5440	base_sp.exe
  91432	   1748	134080552	134173732	7ff5424	unlimited.exe
 103652	   1700	134068384	134173736	7ff5428	hello.exe
 271116	   6508	133896112	134173736	7ff5428	loopback.exe

For the raspberrypi BSP variant with this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  85796	   1700	134086236	134173732	7ff5424	ticker.exe
  34428	   1408	134137896	134173732	7ff5424	minimum.exe
 508720	   1972	133663044	134173736	7ff5428	cxx_iostream.exe
 544516	   5776	133623452	134173744	7ff5430	fileio.exe
 409916	  12452	133751380	134173748	7ff5434	pppd.exe
 184020	   2320	133987416	134173756	7ff543c	capture.exe
 104486	   1788	134067476	134173750	7ff5436	nsecs.exe
 168504	   2068	134003164	134173736	7ff5428	paranoia.exe
 178740	   1732	133993272	134173744	7ff5430	cdtest.exe
  81988	   1692	134090068	134173748	7ff5434	base_sp.exe
  82460	   1716	134089568	134173744	7ff5430	unlimited.exe
  94316	   1636	134077800	134173752	7ff5438	hello.exe
 249228	   6388	133918144	134173760	7ff5440	loopback.exe
2016-03-10 18:08:06 -06:00
Joel Sherrill
7276954616 arm/lpc32xx: Add per-section compilation and linking suppo
updates #2577.

For the lpc32xx_mzx BSP variant without this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  59920	   1740	33734408	33796068	203afe4	ticker.exe
  24692	   1088	33770304	33796084	203aff4	minimum.exe
 592796	   2148	33201136	33796080	203aff0	cxx_iostream.exe
 414056	   5952	33376076	33796084	203aff4	fileio.exe
 326320	  12768	33456988	33796076	203afec	pppd.exe
 146728	   2504	33646840	33796072	203afe8	capture.exe
  77064	   1952	33717072	33796088	203aff8	nsecs.exe
 137172	   2244	33656676	33796092	203affc	paranoia.exe
 138600	   1896	33655576	33796072	203afe8	cdtest.exe
  58128	   1740	33736200	33796068	203afe4	base_sp.exe
  62324	   1764	33732004	33796092	203affc	unlimited.exe
  80796	   1844	33713436	33796076	203afec	hello.exe
 196520	   6652	33592904	33796076	203afec	loopback.exe

For the lpc32xx_mzx BSP variant with this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  53781	   1728	33740576	33796085	203aff5	ticker.exe
  14988	    288	33780808	33796084	203aff4	minimum.exe
 373552	   2120	33420412	33796084	203aff4	cxx_iostream.exe
 400208	   5940	33389924	33796072	203afe8	fileio.exe
 301008	  12616	33482440	33796064	203afe0	pppd.exe
 138944	   2484	33654656	33796084	203aff4	capture.exe
  71588	   1940	33722548	33796076	203afec	nsecs.exe
 131068	   2232	33662780	33796080	203aff0	paranoia.exe
 130800	   1884	33663408	33796092	203affc	cdtest.exe
  52132	   1728	33742228	33796088	203aff8	base_sp.exe
  55368	   1736	33738960	33796064	203afe0	unlimited.exe
  73564	   1792	33720732	33796088	203aff8	hello.exe
 180984	   6552	33608544	33796080	203aff0	loopback.exe

For the lpc32xx_mzx_stage_1 BSP variant without this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  51348	   1740	 192640	 245728	  3bfe0	ticker.exe
  20608	   1088	 224032	 245728	  3bfe0	minimum.exe
 132440	   2504	 110784	 245728	  3bfe0	capture.exe
  68564	   1952	 175232	 245748	  3bff4	nsecs.exe
 124196	   2244	 119296	 245736	  3bfe8	paranoia.exe
 129372	   1896	 114464	 245732	  3bfe4	cdtest.exe
  49780	   1740	 194208	 245728	  3bfe0	base_sp.exe
  53588	   1764	 190400	 245752	  3bff8	unlimited.exe
  73084	   1844	 170816	 245744	  3bff0	hello.exe
 172920	   6644	  66176	 245740	  3bfec	loopback.exe

For the lpc32xx_mzx_stage_1 BSP variant with this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  46928	   1728	 197088	 245744	  3bff0	ticker.exe
  13562	    288	 231904	 245754	  3bffa	minimum.exe
 126656	   2484	 116608	 245748	  3bff4	capture.exe
  64704	   1940	 179104	 245748	  3bff4	nsecs.exe
 120276	   2232	 123232	 245740	  3bfec	paranoia.exe
 123188	   1884	 120672	 245744	  3bff0	cdtest.exe
  45512	   1728	 198496	 245736	  3bfe8	base_sp.exe
  48496	   1736	 195520	 245752	  3bff8	unlimited.exe
  67700	   1792	 176256	 245748	  3bff4	hello.exe
 160456	   6544	  78752	 245752	  3bff8	loopback.exe

For the lpc32xx_mzx_stage_2 BSP variant without this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  59920	   1740	4378400	4440060	 43bffc	ticker.exe
  24692	   1088	4414272	4440052	 43bff4	minimum.exe
 592796	   2148	3845088	4440032	 43bfe0	cxx_iostream.exe
 414064	   5952	4020032	4440048	 43bff0	fileio.exe
 326320	  12768	4100960	4440048	 43bff0	pppd.exe
 146728	   2504	4290816	4440048	 43bff0	capture.exe
  77064	   1952	4361024	4440040	 43bfe8	nsecs.exe
 137172	   2244	4300640	4440056	 43bff8	paranoia.exe
 138600	   1896	4299552	4440048	 43bff0	cdtest.exe
  58128	   1740	4380192	4440060	 43bffc	base_sp.exe
  62324	   1764	4375968	4440056	 43bff8	unlimited.exe
  80796	   1844	4357408	4440048	 43bff0	hello.exe
 196520	   6652	4236864	4440036	 43bfe4	loopback.exe

For the lpc32xx_mzx_stage_2 BSP variant with this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  53781	   1728	4384544	4440053	 43bff5	ticker.exe
  14988	    288	4424768	4440044	 43bfec	minimum.exe
 373552	   2120	4064384	4440056	 43bff8	cxx_iostream.exe
 400216	   5940	4033888	4440044	 43bfec	fileio.exe
 301008	  12616	4126432	4440056	 43bff8	pppd.exe
 138944	   2484	4298624	4440052	 43bff4	capture.exe
  71588	   1940	4366528	4440056	 43bff8	nsecs.exe
 131068	   2232	4306752	4440052	 43bff4	paranoia.exe
 130800	   1884	4307360	4440044	 43bfec	cdtest.exe
  52132	   1728	4386176	4440036	 43bfe4	base_sp.exe
  55368	   1736	4382944	4440048	 43bff0	unlimited.exe
  73564	   1792	4364672	4440028	 43bfdc	hello.exe
 180984	   6552	4252512	4440048	 43bff0	loopback.exe

For the lpc32xx_phycore BSP variant without this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  59908	   1740	67292952	67354600	403bfe8	ticker.exe
  24680	   1088	67328848	67354616	403bff8	minimum.exe
 592784	   2148	66759680	67354612	403bff4	cxx_iostream.exe
 414048	   5952	66934616	67354616	403bff8	fileio.exe
 326308	  12768	67015532	67354608	403bff0	pppd.exe
 146716	   2504	67205384	67354604	403bfec	capture.exe
  77052	   1952	67275616	67354620	403bffc	nsecs.exe
 137160	   2244	67215220	67354624	403c000	paranoia.exe
 138588	   1896	67214120	67354604	403bfec	cdtest.exe
  58116	   1740	67294744	67354600	403bfe8	base_sp.exe
  62312	   1764	67290548	67354624	403c000	unlimited.exe
  80784	   1844	67271980	67354608	403bff0	hello.exe
 196508	   6652	67151448	67354608	403bff0	loopback.exe

For the lpc32xx_phycore BSP variant with this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  53769	   1728	67299120	67354617	403bff9	ticker.exe
  14976	    288	67339352	67354616	403bff8	minimum.exe
 373540	   2120	66978956	67354616	403bff8	cxx_iostream.exe
 400200	   5940	66948464	67354604	403bfec	fileio.exe
 300996	  12616	67040984	67354596	403bfe4	pppd.exe
 138932	   2484	67213200	67354616	403bff8	capture.exe
  71576	   1940	67281092	67354608	403bff0	nsecs.exe
 131056	   2232	67221324	67354612	403bff4	paranoia.exe
 130788	   1884	67221952	67354624	403c000	cdtest.exe
  52120	   1728	67300772	67354620	403bffc	base_sp.exe
  55356	   1736	67297504	67354596	403bfe4	unlimited.exe
  73552	   1792	67279276	67354620	403bffc	hello.exe
 180972	   6552	67167088	67354612	403bff4	loopback.exe
2016-03-10 18:07:57 -06:00
Joel Sherrill
bfc87114b3 arm/lpc24xx (lpc40xx variants) Add per-section compilation and linking suppo
updates #2577.

For the lpc40xx_ea_ram BSP variant without this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  63894	   1724	33554336	33619954	200fff2	ticker.exe
  21802	   1088	33597056	33619946	200ffea	minimum.exe
 549842	   2004	33068096	33619942	200ffe6	cxx_iostream.exe
 391958	   5800	33222176	33619934	200ffde	fileio.exe
 299670	  12616	33307680	33619966	200fffe	pppd.exe
 134162	   2360	33483424	33619946	200ffea	capture.exe
  75204	   1812	33542944	33619960	200fff8	nsecs.exe
 125934	   2100	33491904	33619938	200ffe2	paranoia.exe
 128182	   1748	33490016	33619946	200ffea	cdtest.exe
  61902	   1724	33556320	33619946	200ffea	base_sp.exe
  63566	   1748	33554624	33619938	200ffe2	unlimited.exe
  71702	   1692	33546560	33619954	200fff2	hello.exe
 180790	   6500	33432672	33619962	200fffa	loopback.exe

For the lpc40xx_ea_ram BSP variant with this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  59154	   1712	33559072	33619938	200ffe2	ticker.exe
  13958	    280	33605728	33619966	200fffe	minimum.exe
 336422	   1960	33281568	33619950	200ffee	cxx_iostream.exe
 380222	   5788	33233920	33619930	200ffda	fileio.exe
 277050	  12464	33330432	33619946	200ffea	pppd.exe
 127586	   2340	33490016	33619942	200ffe6	capture.exe
  70780	   1800	33547360	33619940	200ffe4	nsecs.exe
 121126	   2088	33496736	33619950	200ffee	paranoia.exe
 121466	   1736	33496736	33619938	200ffe2	cdtest.exe
  57034	   1712	33561216	33619962	200fffa	base_sp.exe
  57494	   1712	33560736	33619942	200ffe6	unlimited.exe
  65326	   1640	33552992	33619958	200fff6	hello.exe
 166862	   6400	33446688	33619950	200ffee	loopback.exe

For the lpc40xx_ea_rom_int BSP variant without this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  64062	   1724	33557096	33622882	2010b62	ticker.exe
  21970	   1088	33557704	33580762	20066da	minimum.exe
 392130	   5800	33553064	33950994	2060d12	fileio.exe
 299838	  12616	33546504	33858958	204a58e	pppd.exe
 134330	   2360	33556488	33693178	2021dfa	capture.exe
  75372	   1812	33557000	33634184	2013788	nsecs.exe
 126102	   2100	33556712	33684914	201fdb2	paranoia.exe
 128350	   1748	33557096	33687194	202069a	cdtest.exe
  62070	   1724	33557096	33620890	201039a	base_sp.exe
  63734	   1748	33557064	33622546	2010a12	unlimited.exe
  71870	   1692	33557128	33630690	20129e2	hello.exe
 180958	   6500	33552616	33740074	202d52a	loopback.exe

For the lpc40xx_ea_rom_int BSP variant with this option, sample executable
sizes were as follows:

   text	   data	    bss	    	  dec	    	  hex	filename
  59322	   1712	33557096	33618130	200f8d2	ticker.exe
  14126	    280	33558504	33572910	200482e	minimum.exe
 336590	   1960	33556904	33895454	205341e	cxx_iostream.exe
 380394	   5788	33553064	33939246	205df2e	fileio.exe
 277218	  12464	33546632	33836314	2044d1a	pppd.exe
 127754	   2340	33556488	33686582	2020436	capture.exe
  70948	   1800	33557000	33629748	2012634	nsecs.exe
 121294	   2088	33556712	33680094	201eade	paranoia.exe
 121634	   1736	33557096	33680466	201ec52	cdtest.exe
  57202	   1712	33557096	33616010	200f08a	base_sp.exe
  57662	   1712	33557096	33616470	200f256	unlimited.exe
  65494	   1640	33557160	33624294	20110e6	hello.exe
 167030	   6400	33552712	33726142	2029ebe	loopback.exe
2016-03-10 18:07:38 -06:00
Joel Sherrill
55159ee96e arm/lpc24xx (lpc24xx variants) Add per-section compilation and linking support.
updates #2577.

For the lpc2362 BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    dec	     he	filename
  65110	   1820	  31008	  97938	  17e92	ticker.exe
  21906	   1088	  31712	  54706	   d5b2	minimum.exe
  78376	   1908	  30912	 111196	  1b25c	nsecs.exe
  63254	   1820	  31008	  96082	  17752	base_sp.exe
  65106	   1844	  30976	  97926	  17e86	unlimited.exe
  75538	   1796	  31040	 108374	  1a756	hello.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  61042	   1808	  31008	  93858	  16ea2	ticker.exe
  14864	    288	  32512	  47664	   ba30	minimum.exe
  74632	   1896	  30912	 107440	  1a3b0	nsecs.exe
  59070	   1808	  31008	  91886	  166ee	base_sp.exe
  60030	   1816	  31008	  92854	  16ab6	unlimited.exe
  70122	   1744	  31072	 102938	  1921a	hello.exe

For the lpc23xx_tli800 BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  65110	   1820	  31008	  97938	  17e92	ticker.exe
  21906	   1088	  31712	  54706	   d5b2	minimum.exe
  78376	   1908	  30912	 111196	  1b25c	nsecs.exe
  63254	   1820	  31008	  96082	  17752	base_sp.exe
  65106	   1844	  30976	  97926	  17e86	unlimited.exe
  75538	   1796	  31040	 108374	  1a756	hello.exe

For the lpc23xx_tli800 BSP variant:

   text	   data	    bss	    	  dec	    	  hex	filename
  61042	   1808	  31008	  93858	  16ea2	ticker.exe
  14864	    288	  32512	  47664	   ba30	minimum.exe
  74632	   1896	  30912	 107440	  1a3b0	nsecs.exe
  59070	   1808	  31008	  91886	  166ee	base_sp.exe
  60030	   1816	  31008	  92854	  16ab6	unlimited.exe
  70122	   1744	  31072	 102938	  1921a	hello.exe

For the lpc24xx_ea BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64458	   1724	33553760	33619942	200ffe6	ticker.exe
  21402	   1088	33597472	33619962	200fffa	minimum.exe
 585614	   2004	33032320	33619938	200ffe2	cxx_iostream.exe
 372001	   5808	33242144	33619953	200fff1	fileio.exe
 288766	  12616	33318560	33619942	200ffe6	pppd.exe
 135302	   2360	33482272	33619934	200ffde	capture.exe
  77732	   1812	33540416	33619960	200fff8	nsecs.exe
 126250	   2100	33491584	33619934	200ffde	paranoia.exe
 136950	   1756	33481248	33619954	200fff2	cdtest.exe
  62602	   1724	33555616	33619942	200ffe6	base_sp.exe
  64462	   1748	33553728	33619938	200ffe2	unlimited.exe
  74890	   1700	33543360	33619950	200ffee	hello.exe
 176902	   6500	33436544	33619946	200ffea	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60234	   1712	33557984	33619930	200ffda	ticker.exe
  14360	    288	33605312	33619960	200fff8	minimum.exe
 368478	   1976	33249504	33619958	200fff6	cxx_iostream.exe
 362089	   5796	33252064	33619949	200ffed	fileio.exe
 268310	  12464	33339168	33619942	200ffe6	pppd.exe
 129382	   2340	33488224	33619946	200ffea	capture.exe
  73824	   1800	33544320	33619944	200ffe8	nsecs.exe
 122250	   2088	33495616	33619954	200fff2	paranoia.exe
 130694	   1744	33487520	33619958	200fff6	cdtest.exe
  58262	   1712	33559968	33619942	200ffe6	base_sp.exe
  59222	   1720	33559008	33619950	200ffee	unlimited.exe
  69314	   1648	33548992	33619954	200fff2	hello.exe
 164318	   6400	33449216	33619934	200ffde	loopback.exe

For the lpc24xx_ncs_ram BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64606	   1820	8387712	8454138	 80fffa	ticker.exe
  21402	   1088	8431648	8454138	 80fffa	minimum.exe
 585766	   2100	7866240	8454106	 80ffda	cxx_iostream.exe
 372158	   5904	8076064	8454126	 80ffee	fileio.exe
 288918	  12712	8152480	8454110	 80ffde	pppd.exe
 135446	   2456	8316224	8454126	 80ffee	capture.exe
  77880	   1908	8374336	8454124	 80ffec	nsecs.exe
 126402	   2196	8325536	8454134	 80fff6	paranoia.exe
 137102	   1852	8315168	8454122	 80ffea	cdtest.exe
  62750	   1820	8389568	8454138	 80fffa	base_sp.exe
  64610	   1844	8387680	8454134	 80fff6	unlimited.exe
  75042	   1796	8377280	8454118	 80ffe6	hello.exe
 177046	   6596	8270496	8454138	 80fffa	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60538	   1808	8391776	8454122	 80ffea	ticker.exe
  14360	    288	8439488	8454136	 80fff8	minimum.exe
 368782	   2072	8083264	8454118	 80ffe6	cxx_iostream.exe
 362398	   5892	8085824	8454114	 80ffe2	fileio.exe
 268614	  12560	8172960	8454134	 80fff6	pppd.exe
 129686	   2436	8322016	8454138	 80fffa	capture.exe
  74128	   1896	8378080	8454104	 80ffd8	nsecs.exe
 122554	   2184	8329376	8454114	 80ffe2	paranoia.exe
 130998	   1840	8321280	8454118	 80ffe6	cdtest.exe
  58566	   1808	8393760	8454134	 80fff6	base_sp.exe
  59526	   1816	8392768	8454110	 80ffde	unlimited.exe
  69618	   1744	8382752	8454114	 80ffe2	hello.exe
 164622	   6496	8283008	8454126	 80ffee	loopback.exe

For the lpc24xx_ncs_rom_ext BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64810	   1820	4194912	4261542	 4106a6	ticker.exe
  21606	   1088	4238848	4261542	 4106a6	minimum.exe
 585970	   2100	3673472	4261542	 4106a6	cxx_iostream.exe
 372366	   5904	3883264	4261534	 41069e	fileio.exe
 289122	  12712	3959712	4261546	 4106aa	pppd.exe
 135650	   2456	4123424	4261530	 41069a	capture.exe
  78084	   1908	4181536	4261528	 410698	nsecs.exe
 126606	   2196	4132736	4261538	 4106a2	paranoia.exe
 137306	   1852	4122368	4261526	 410696	cdtest.exe
  62954	   1820	4196768	4261542	 4106a6	base_sp.exe
  64814	   1844	4194880	4261538	 4106a2	unlimited.exe
  75246	   1796	4184480	4261522	 410692	hello.exe
 177250	   6596	4077696	4261542	 4106a6	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60742	   1808	4198976	4261526	 410696	ticker.exe
  14564	    288	4246688	4261540	 4106a4	minimum.exe
 368986	   2072	3890464	4261522	 410692	cxx_iostream.exe
 362606	   5892	3893024	4261522	 410692	fileio.exe
 268818	  12560	3980160	4261538	 4106a2	pppd.exe
 129890	   2436	4129216	4261542	 4106a6	capture.exe
  74332	   1896	4185312	4261540	 4106a4	nsecs.exe
 122758	   2184	4136576	4261518	 41068e	paranoia.exe
 131202	   1840	4128480	4261522	 410692	cdtest.exe
  58770	   1808	4200960	4261538	 4106a2	base_sp.exe
  59730	   1816	4200000	4261546	 4106aa	unlimited.exe
  69822	   1744	4189952	4261518	 41068e	hello.exe
 164826	   6496	4090208	4261530	 41069a	loopback.exe

For the lpc24xx_ncs_rom_int BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64746	   1820	4226400	4292966	 418166	ticker.exe
  21542	   1088	4227104	4249734	 40d886	minimum.exe
 372302	   5904	4222336	4600542	 4632de	fileio.exe
 289058	  12712	4215808	4517578	 44eeca	pppd.exe
 135586	   2456	4225792	4363834	 42963a	capture.exe
  78020	   1908	4226304	4306232	 41b538	nsecs.exe
 126542	   2196	4226016	4354754	 4272c2	paranoia.exe
 137242	   1852	4226400	4365494	 429cb6	cdtest.exe
  62890	   1820	4226400	4291110	 417a26	base_sp.exe
  64750	   1844	4226368	4292962	 418162	unlimited.exe
  75182	   1796	4226432	4303410	 41aa32	hello.exe
 177186	   6596	4221920	4405702	 4339c6	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60678	   1808	4226400	4288886	 417176	ticker.exe
  14500	    288	4227904	4242692	 40bd04	minimum.exe
 368922	   2072	4226176	4597170	 4625b2	cxx_iostream.exe
 362542	   5892	4222368	4590802	 460cd2	fileio.exe
 268754	  12560	4215936	4497250	 449f62	pppd.exe
 129826	   2436	4225792	4358054	 427fa6	capture.exe
  74268	   1896	4226304	4302468	 41a684	nsecs.exe
 122694	   2184	4226016	4350894	 4263ae	paranoia.exe
 131138	   1840	4226400	4359378	 4284d2	cdtest.exe
  58706	   1808	4226400	4286914	 4169c2	base_sp.exe
  59666	   1816	4226400	4287882	 416d8a	unlimited.exe
  69758	   1744	4226464	4297966	 4194ee	hello.exe
 164762	   6496	4222016	4393274	 43093a	loopback.exe

For the lpc24xx_plx800_ram BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64618	   1820	33553504	33619942	200ffe6	ticker.exe
  21414	   1088	33597440	33619942	200ffe6	minimum.exe
 585778	   2100	33032064	33619942	200ffe6	cxx_iostream.exe
 372173	   5904	33241888	33619965	200fffd	fileio.exe
 288914	  12712	33318336	33619962	200fffa	pppd.exe
 135458	   2456	33482048	33619962	200fffa	capture.exe
  77892	   1908	33540160	33619960	200fff8	nsecs.exe
 126414	   2196	33491328	33619938	200ffe2	paranoia.exe
 137114	   1852	33480992	33619958	200fff6	cdtest.exe
  62762	   1820	33555360	33619942	200ffe6	base_sp.exe
  64622	   1844	33553472	33619938	200ffe2	unlimited.exe
  75054	   1796	33543104	33619954	200fff2	hello.exe
 177058	   6596	33436288	33619942	200ffe6	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60550	   1808	33557600	33619958	200fff6	ticker.exe
  14372	    288	33605280	33619940	200ffe4	minimum.exe
 368794	   2072	33249088	33619954	200fff2	cxx_iostream.exe
 362413	   5892	33251648	33619953	200fff1	fileio.exe
 268610	  12560	33338784	33619954	200fff2	pppd.exe
 129698	   2436	33487808	33619942	200ffe6	capture.exe
  74140	   1896	33543904	33619940	200ffe4	nsecs.exe
 122566	   2184	33495200	33619950	200ffee	paranoia.exe
 131010	   1840	33487104	33619954	200fff2	cdtest.exe
  58578	   1808	33559552	33619938	200ffe2	base_sp.exe
  59538	   1816	33558592	33619946	200ffea	unlimited.exe
  69630	   1744	33548576	33619950	200ffee	hello.exe
 164634	   6496	33448832	33619962	200fffa	loopback.exe

For the lpc24xx_plx800_rom_int BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64762	   1820	33618208	33684790	201fd36	ticker.exe
  21558	   1088	33618912	33641558	2015456	minimum.exe
 372321	   5904	33614144	33992369	206aeb1	fileio.exe
 289058	  12712	33607616	33909386	2056a8a	pppd.exe
 135602	   2456	33617600	33755658	203120a	capture.exe
  78036	   1908	33618112	33698056	2023108	nsecs.exe
 126558	   2196	33617824	33746578	202ee92	paranoia.exe
 137258	   1852	33618208	33757318	2031886	cdtest.exe
  62906	   1820	33618208	33682934	201f5f6	base_sp.exe
  64766	   1844	33618176	33684786	201fd32	unlimited.exe
  75198	   1796	33618240	33695234	2022602	hello.exe
 177202	   6596	33613728	33797526	203b596	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60694	   1808	33618208	33680710	201ed46	ticker.exe
  14516	    288	33619712	33634516	20138d4	minimum.exe
 368938	   2072	33617984	33988994	206a182	cxx_iostream.exe
 362561	   5892	33614176	33982629	20688a5	fileio.exe
 268754	  12560	33607744	33889058	2051b22	pppd.exe
 129842	   2436	33617600	33749878	202fb76	capture.exe
  74284	   1896	33618112	33694292	2022254	nsecs.exe
 122710	   2184	33617824	33742718	202df7e	paranoia.exe
 131154	   1840	33618208	33751202	20300a2	cdtest.exe
  58722	   1808	33618208	33678738	201e592	base_sp.exe
  59682	   1816	33618208	33679706	201e95a	unlimited.exe
  69774	   1744	33618272	33689790	20210be	hello.exe
 164778	   6496	33613824	33785098	203850a	loopback.exe
2016-03-10 18:07:32 -06:00
Joel Sherrill
8467c315e2 atsamv-testsuite.tcfg: new file] 2016-03-10 18:07:29 -06:00
Joel Sherrill
4e059db8cc arm/lpc24xx (lpc17xx variants): Add per-section compilation and linking support.
updates #2577.

For the lpc17xx_ea_ram BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
   63646   1724	33554592	33619962	200fffa	ticker.exe
   21634   1088	33597216	33619938	200ffe2	minimum.exe
  549386   2004	33068544	33619934	200ffde	cxx_iostream.exe
  392562   5800	33221600	33619962	200fffa	fileio.exe
  299662  12616	33307680	33619958	200fff6	pppd.exe
  133838   2360	33483744	33619942	200ffe6	capture.exe
   75020   1812	33543104	33619936	200ffe0	nsecs.exe
  125706   2100	33492160	33619966	200fffe	paranoia.exe
  127758   1748	33490432	33619938	200ffe2	cdtest.exe
   61686   1724	33556544	33619954	200fff2	base_sp.exe
   63370   1748	33554848	33619966	200fffe	unlimited.exe
   71414   1692	33546848	33619954	200fff2	hello.exe
  180698   6500	33432768	33619966	200fffe	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  58982	   1712	33559264	33619958	200fff6	ticker.exe
  13818	    280	33605856	33619954	200fff2	minimum.exe
 336134	   1960	33281856	33619950	200ffee	cxx_iostream.exe
 380810	   5788	33233344	33619942	200ffe6	fileio.exe
 277010	  12464	33330464	33619938	200ffe2	pppd.exe
 127358	   2340	33490240	33619938	200ffe2	capture.exe
  70672	   1800	33547488	33619960	200fff8	nsecs.exe
 120746	   2088	33497120	33619954	200fff2	paranoia.exe
 121282	   1736	33496928	33619946	200ffea	cdtest.exe
  56902	   1712	33561344	33619958	200fff6	base_sp.exe
  57346	   1712	33560896	33619954	200fff2	unlimited.exe
  65078	   1640	33553216	33619934	200ffde	hello.exe
 166730	   6400	33446816	33619946	200ffea	loopback.exe

For the lpc17xx_ea_rom_int BSP variant:

The size of the sample executables without this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  63814	   1724	33557096	33622634	2010a6a	ticker.exe
  21802	   1088	33557704	33580594	2006632	minimum.exe
 392734	   5800	33553064	33951598	2060f6e	fileio.exe
 299830	  12616	33546504	33858950	204a586	pppd.exe
 134006	   2360	33556488	33692854	2021cb6	capture.exe
  75188	   1812	33557000	33634000	20136d0	nsecs.exe
 125874	   2100	33556712	33684686	201fcce	paranoia.exe
 127926	   1748	33557096	33686770	20204f2	cdtest.exe
  61854	   1724	33557096	33620674	20102c2	base_sp.exe
  63538	   1748	33557064	33622350	201094e	unlimited.exe
  71582	   1692	33557128	33630402	20128c2	hello.exe
 180866	   6500	33552616	33739982	202d4ce	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  59150	   1712	33557096	33617958	200f826	ticker.exe
  13986	    280	33558504	33572770	20047a2	minimum.exe
 336302	   1960	33556904	33895166	20532fe	cxx_iostream.exe
 380982	   5788	33553064	33939834	205e17a	fileio.exe
 277178	  12464	33546632	33836274	2044cf2	pppd.exe
 127526	   2340	33556488	33686354	2020352	capture.exe
  70840	   1800	33557000	33629640	20125c8	nsecs.exe
 120914	   2088	33556712	33679714	201e962	paranoia.exe
 121450	   1736	33557096	33680282	201eb9a	cdtest.exe
  57070	   1712	33557096	33615878	200f006	base_sp.exe
  57514	   1712	33557096	33616322	200f1c2	unlimited.exe
  65246	   1640	33557160	33624046	2010fee	hello.exe
 166898	   6400	33552712	33726010	2029e3a	loopback.exe

For the lpc17xx_plx800_ram BSP variant:

The size of the sample executables without this option enabled were:

   text	   data	    bss	    dec	    hex	filename
  63802	   1820	33554336	33619958	200fff6	ticker.exe
  21630	   1088	33597216	33619934	200ffde	minimum.exe
 549534	   2100	33068320	33619954	200fff2	cxx_iostream.exe
 392722	   5896	33221344	33619962	200fffa	fileio.exe
 299802	  12712	33307424	33619938	200ffe2	pppd.exe
 134002	   2456	33483488	33619946	200ffea	capture.exe
  75176	   1908	33542848	33619932	200ffdc	nsecs.exe
 125862	   2196	33491904	33619962	200fffa	paranoia.exe
 127922	   1844	33490176	33619942	200ffe6	cdtest.exe
  61850	   1820	33556288	33619958	200fff6	base_sp.exe
  63518	   1844	33554592	33619954	200fff2	unlimited.exe
  71562	   1788	33546592	33619942	200ffe6	hello.exe
 180854	   6596	33432512	33619962	200fffa	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  59274	   1808	33558848	33619930	200ffda	ticker.exe
  13814	    280	33605856	33619950	200ffee	minimum.exe
 336418	   2056	33281472	33619946	200ffea	cxx_iostream.exe
 381106	   5884	33232960	33619950	200ffee	fileio.exe
 277294	  12560	33330080	33619934	200ffde	pppd.exe
 127642	   2436	33489856	33619934	200ffde	capture.exe
  70964	   1896	33547072	33619932	200ffdc	nsecs.exe
 121038	   2184	33496736	33619958	200fff6	paranoia.exe
 121566	   1832	33496544	33619942	200ffe6	cdtest.exe
  57194	   1808	33560928	33619930	200ffda	base_sp.exe
  57622	   1808	33560512	33619942	200ffe6	unlimited.exe
  65362	   1736	33552832	33619930	200ffda	hello.exe
 167022	   6496	33446432	33619950	200ffee	loopback.exe

For the lpc17xx_plx800_rom_int BSP variant:

The size of the sample executables without this option enabled were:

   text	   data	    bss	    dec	    hex	filename
  64010	   1820	33618208	33684038	201fa46	ticker.exe
  21838	   1088	33618912	33641838	201556e	minimum.exe
 392934	   5896	33614176	34013006	206ff4e	fileio.exe
 300010	  12712	33607616	33920338	2059552	pppd.exe
 134210	   2456	33617600	33754266	2030c9a	capture.exe
  75384	   1908	33618112	33695404	20226ac	nsecs.exe
 126070	   2196	33617824	33746090	202ecaa	paranoia.exe
 128130	   1844	33618208	33748182	202f4d6	cdtest.exe
  62058	   1820	33618208	33682086	201f2a6	base_sp.exe
  63726	   1844	33618176	33683746	201f922	unlimited.exe
  71770	   1788	33618240	33691798	2021896	hello.exe
 181062	   6596	33613728	33801386	203c4aa	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  59482	   1808	33618208	33679498	201e88a	ticker.exe
  14022	    280	33619712	33634014	20136de	minimum.exe
 336626	   2056	33618016	33956698	206235a	cxx_iostream.exe
 381318	   5884	33614176	34001378	206d1e2	fileio.exe
 277502	  12560	33607744	33897806	2053d4e	pppd.exe
 127850	   2436	33617600	33747886	202f3ae	capture.exe
  71172	   1896	33618112	33691180	202162c	nsecs.exe
 121246	   2184	33617824	33741254	202d9c6	paranoia.exe
 121774	   1832	33618208	33741814	202dbf6	cdtest.exe
  57402	   1808	33618208	33677418	201e06a	base_sp.exe
  57830	   1808	33618208	33677846	201e216	unlimited.exe
  65570	   1736	33618272	33685578	202004a	hello.exe
 167230	   6496	33613824	33787550	2038e9e	loopback.exe
2016-03-10 18:06:54 -06:00
Joel Sherrill
94300521d9 powerpc/mvme5500: Use shared pci_find_device() 2016-03-10 10:38:52 -06:00
Joel Sherrill
81df701ab4 mips/malta: Use shared pci_find_device() and removed unused pci_list_devices()
Also includes .h file cleanup.
2016-03-10 10:38:49 -06:00
Joel Sherrill
22bbb9f165 pc386: Add --disable-com1-com4 boot argument 2016-03-10 10:38:46 -06:00
Joel Sherrill
efbf6c910a libbsp/shared/console.c: Clean up memory allocation for per device data 2016-03-10 10:34:27 -06:00
Joel Sherrill
6db5ea03c3 pc386/startup/bsp_fatal_halt.c: Fix noreturn does return warning 2016-03-10 10:34:25 -06:00
Joel Sherrill
2e516dd46f pc386/startup/bspstart.c: Reformat and cleanup file header 2016-03-10 10:34:24 -06:00
Joel Sherrill
356b2c23f5 pc386: Add PCI UART support 2016-03-10 10:34:15 -06:00
Joel Sherrill
0ac1538db8 console_private.h: Improve comment for vt_ioctl() 2016-03-10 10:34:13 -06:00
Joel Sherrill
3662738787 console_private.h: Remove prototypes for non-existent methods bsp_com_inch() and bsp_com_outch() 2016-03-10 10:34:10 -06:00
Joel Sherrill
c3c57b1ba3 pc386: Improve boot command arguments for console/printk device selection
This patch adds the "--printk=" boot command line argument to specify
the printk() device. It also enhances the "--console=" boot command
line argument to match any device configured in the console device
table. The arguments are parsed as early as possible so they take
effect early. Currently, this is immediately after PCI initialization.
2016-03-10 10:33:27 -06:00
Joel Sherrill
f770fcb368 Add shared PCI support and enhance pc386 to support non-legacy PCI configuration space
This patch fundamentally results from enhancements to the pc386 BSP
to support systems which do **NOT** have the legacy PCI BIOS. The
patch adds support for detecting when legacy PCI BIOS is not
present and then using IO space to access to PCI Configuration Space.
This resulted in dynamically selected between two implementations
of PCI and refactoring out the shared methods.

This patch adds shared implementations of pci_bus_count() and
pci_find_device(). Subsequent patches will remove implementations
of these methods in other BSPs where possible.
2016-03-10 10:30:25 -06:00
Joel Sherrill
367176450c pc386/configure.ac: Delete incorrect and unused AM_CONDITIONAL 2016-03-10 10:26:53 -06:00
Joel Sherrill
3b6972327e i386/shared/pci/pcibios.c: Remove unused pcib_find_by_class() 2016-03-10 10:26:52 -06:00
Joel Sherrill
8ce16a4766 i386/shared/pci/pcibios.c: Remove unused pcib_special_cycle() 2016-03-10 10:26:49 -06:00
Joel Sherrill
12c9dc8ff5 pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API uses
This first step eliminates the following as public APIs for the pc386
BSP:

  + pcib_conf_read8
  + pcib_conf_read16
  + pcib_conf_read32
  + pcib_conf_write8
  + pcib_conf_write16
  + pcib_conf_write32

The if_fxp.c driver uses these enough where I provided local macros
to allow the code to be mostly unmodified. On other architectures
these names have been used privately. It will take multiple patches
to completely eliminate these symbols from the RTEMS source tree.

The focus of the first effort is just to eliminate these as a public
pc386 API so support can be added for systems without legacy PCI BIOS.
2016-03-10 10:26:48 -06:00
Sebastian Huber
9f5754b5c2 bsps: Avoid Giant lock in simulator clock driver
Update #2555.
2016-03-04 15:15:57 +01:00
Sebastian Huber
90d8567d34 score: Distribute clock tick to all online CPUs
Update #2554.
2016-03-04 13:36:10 +01:00
Gedare Bloom
daa303da3e pc386: adjust assembly in bsp_fatal_halt 2016-03-03 16:40:17 -05:00
Joel Sherrill
328bd350aa i386: refactor libcpu/cpu.h into rtems/score/i386.h
Fixes #2515.
2016-03-03 16:36:30 -05:00
Gedare Bloom
3267f9580f i386: prepare for paravirtualized interrupts 2016-03-03 16:36:30 -05:00
Gedare Bloom
505dc617c8 i386: relocate fatal halt to bsp layer 2016-03-03 16:36:30 -05:00
Gedare Bloom
fd05a055e6 i386: move idle thread into BSP layer 2016-03-03 16:36:29 -05:00
Joel Sherrill
e56266cb3e version.c: Add space so printing is neater 2016-03-03 16:36:29 -05:00
Joel Sherrill
3f5e0961b4 smdk2410: Resurrect missing gp32 files
When the gp32 BSP was obsoleted and removed, files were deleted that
were actually used by the gp32.

This was actually a violation of the expected directory structure
and why it wasn't caught. Another example of why continuous integration
testing -- even just building is important.
2016-03-03 08:12:53 -06:00
Sebastian Huber
cc1add7b44 bsps: Delete empty Clock_driver_support_at_tick() 2016-03-03 09:49:15 +01:00
Sebastian Huber
73de9393e3 bsp/qoriq: Do not touch MMU config for SMP start
Assume that the boot page is visible in the currently unused heap area.
2016-03-03 09:10:13 +01:00
Sebastian Huber
e468ba5532 U-Boot: Flush data cache after bdinfo copy 2016-03-03 09:10:13 +01:00
Martin Galvan
8c5c53f478 am335x irq handling improvement
This patch makes the following changes to the Beaglebone IRQ handling code:

- Disable support for nested interrupts.
- Detect spurious IRQs using the SPURIOUSIRQ field of the INTC_SIR_IRQ register.
- Acknowledge spurious IRQs by setting the NewIRQAgr bit of the INTC_CONTROL
  register. This cleans the SPURIOUSIRQ field and allows new interrupts
  to be generated.
- Improve the get_mir_reg function a bit.

Closes #2580.
2016-02-28 00:23:02 +01:00
Sebastian Huber
c466c62d78 bsp/leon3: Use -mcpu=leon3 machine option
Due to GCC configuration changes, the -muser-mode option is superfluous.
2016-02-22 07:04:17 +01:00
punitvara
42989d6f59 arm: Fixed typo in file bbb-gpio.c
This patch fixes typo "moode".

	Signed-off: Punit Vara <punitvara@gmail.com>
2016-02-19 16:09:04 -06:00
Joel Sherrill
e41d8ce5a7 arm/.../lpc1768_embed.cfg: Disable per function sections
updates #2576.
2016-02-06 10:25:00 -06:00
Joel Sherrill
8755f2a3d0 m68k/.../uC5282.cfg: Disable per function sections
updates #2575.
2016-02-06 10:22:17 -06:00
Joel Sherrill
aaa21b18aa powerpc/.../ss555.cfg: Correct ticket number in comment 2016-02-06 10:19:46 -06:00
Joel Sherrill
c99c70298b m68k/.../mcf5225x.cfg: Correct ticket number in comment 2016-02-06 10:18:57 -06:00
Joel Sherrill
406b3b7b98 powerpc/.../qemuppc.cfg: Correct ticket number in comment 2016-02-06 10:18:41 -06:00
Joel Sherrill
6564bd2abb powerpc/.../mpc8260ads.cfg: Correct ticket number in comment 2016-02-06 10:17:59 -06:00
Joel Sherrill
a3687b5c4f m68k/.../mrm332.cfg: Correct ticket number in comment 2016-02-06 10:17:02 -06:00
Joel Sherrill
fb81d367a3 m68k/gen68360/.../*.cfg: Correct ticket number in comment 2016-02-06 10:14:56 -06:00
Joel Sherrill
96cfad6d6f m68k/.../av5282.cfg: Disable per function sections
updates #2574.
2016-02-06 10:12:14 -06:00
Joel Sherrill
50ae9957f8 m68k/.../gen68340.cfg: Disable per function sections
updates #2573.
2016-02-06 10:12:14 -06:00
Joel Sherrill
1c3dd579f1 m68k/.../mcf5206elite.cfg: Disable per function sections
updates #2572.
2016-02-06 10:10:58 -06:00