commit | 7ddbbc6ce200bcae4c72f5078167fcd32838f6a6 | [log] [tgz] |
---|---|---|
author | Daniel Mentz <danielmentz@google.com> | Thu Jan 12 15:01:44 2017 -0800 |
committer | Daniel Mentz <danielmentz@google.com> | Thu Jan 12 16:51:55 2017 -0800 |
tree | 85e7c55b912f5773a8437441792378aabc729b15 | |
parent | e8d88e2e4885e8dd555d104b9b5d24c62e77a3e2 [diff] |
Determine correct load address for ARC images Quantenna modified the linker script for vmlinux. CONFIG_LINUX_LINK_BASE is no longer where the image starts. Instead, the linker script defines the symbol _img_start_addr as the load address. Quantenna sets the entry point to the same address as the load address. This works fine because the image starts with a jump instruction that jumps to res_service. We can just bypass this jump by setting the entry point straight to res_service.