commit | e6d9423d31b2f9bdd0220fd0584e3bb6ed2c4e52 | [log] [tgz] |
---|---|---|
author | Dimitar Dimitrov <dimitar@dinux.eu> | Wed Dec 30 12:50:05 2020 +0200 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Mon Mar 08 10:49:37 2021 -0600 |
tree | 3202d3467ffbe9241a09dd3682452208ad8a84e8 | |
parent | 5f140174988edc739530ed9f2220e458a488b10a [diff] |
remoteproc: pru: Fix loading of GNU Binutils ELF PRU port of GNU Binutils lacks support for separate address spaces. PRU IRAM addresses are marked with artificial offset to differentiate them from DRAM addresses. Hence remoteproc must mask IRAM addresses coming from GNU ELF in order to get the true hardware address. PRU firmware used for testing was the example in: https://github.com/dinuxbg/pru-gcc-examples/tree/master/blinking-led/pru Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu> Link: https://lore.kernel.org/r/20201230105005.30492-1-dimitar@dinux.eu Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>