summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/app.lds
AgeCommit message (Collapse)AuthorFilesLines
2020-07-05arm: Fix PortalPlayer linker scripts with binutils 2.21+Solomon Peachy1-1/+1
For reasons that are still unclear, the 'ncbss' region was overlapping the "audiobuffer" when linked with 2.21, but okay with 2.20. Fixed it by making the audiobuffer explcitly use the current position instead of relying on it being implicit. With this change, portalplayer-based targets generate working binaries when built with binutils 2.21 or newer. This bug also theoretically affects imx233/imx31 targets as they also have NOCACHE_BASE games in their linker scripts, but I lack access to one to test with. Change-Id: Idb38ab20f03599b9ed3d4bc0eafe519f38677438
2017-01-24imx233: remove redundant lines in linker scriptAmaury Pouly1-1/+0
Change-Id: Ief8ab0c33abdd3b36cd94b0578e2c5cad22bf2a6
2014-02-17imx233: fix app.lds to properly support INIT_ATTRAmaury Pouly1-5/+9
Original fix by Marcin: it had a problem because crt0 on imx233 is more complicated than many targets: since we use virtual memory, we first disable the MMU, then move the entire image (including init and itext stuff), then setup a temporary stack to setup the MMU. Only when the MMU is enabled, can we move the init and itext stuff to its right location and finally boot. This requires some trickery because: - the initial move copies everything, including init and itext - the stack overlaps with init and itext to reclaim space - the temporary stack cannot be the same as the main stack to avoid trashing the init and itext code, also it needs to be a physical address Change-Id: Ibaf331c7d90b61f99225d93c9e621eb0f3f8f2dc
2014-02-17Revert "imx233: fix app.lds to properly support INIT_ATTR"Amaury Pouly1-15/+15
This reverts commit 2b02cbe1ccbf2fcdcc164c6a4139f6666aed23c9. For some reason it breaks the build, more investigation is needed.
2014-02-10imx233: fix app.lds to properly support INIT_ATTRMarcin Bukat1-15/+15
Change-Id: I1a917511e7e1540856815c77c4d996d1b8a03606 Reviewed-on: http://gerrit.rockbox.org/725 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2013-06-17imx233: make linker file more regularAmaury Pouly1-1/+1
Change-Id: Ic3fe21be9124af71eae88a00793f914fe03ee5a2
2012-05-20imx233: remove useless alignments in linker scriptsAmaury Pouly1-5/+0
Change-Id: I7fc5445f405e1a3e8830ddec2f7652e66a03a633
2012-05-01Make INITDATA_ATTR work on everything that has INIT_ATTR enabled for code.Michael Sevakis1-1/+1
Change-Id: If9936bfbbd3bc3eb2a3e3e290701b8517eabfb13
2011-12-17Do some things to make -ffunction-sections work better.Michael Sevakis1-4/+4
* Add wildcards to various sections placements a la *(".text") => "*(.text*)" * Remove hacky bits from those linker scripts (no problem encountered testing) * Change section for asm functions from .<section> to .<section>.<function> so that -ffunction-sections works for those asm file too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31337 a1c6a512-1295-4272-9138-f99709370657
2011-09-23imx233/fuze+: rework crt0 and linker script to be able to load at any ↵Amaury Pouly1-0/+10
address and self-copy at the right one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30587 a1c6a512-1295-4272-9138-f99709370657
2011-09-13imx233/fuze+: fix ctr0 to use a fresh stack and update firmware linker scriptAmaury Pouly1-12/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30523 a1c6a512-1295-4272-9138-f99709370657
2011-09-05imx233/fuze+: fix apps linker script, add comment in bootloaderAmaury Pouly1-4/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30436 a1c6a512-1295-4272-9138-f99709370657
2011-07-23imx233/fuze+: move page table to dramAmaury Pouly1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30201 a1c6a512-1295-4272-9138-f99709370657
2011-07-23imx233/fuze+: huge reworkAmaury Pouly1-0/+119
- enable MMU -rework lcd frame buffer - add rtc/adc/power stubs (or not) - fix a few MMC related defines (hopefully) - implement cache handling for DMA - more SD work - add keymap (based on clip) - add virtual buttons - update linker scripts - big step toward apps actually compiling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30200 a1c6a512-1295-4272-9138-f99709370657