From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gabor Juhos Date: Tue, 12 Nov 2013 16:47:05 +0100 Subject: [U-Boot] [PATCH] MIPS: use CONFIG_SYS_TEXT_BASE in relocation calculations In-Reply-To: References: <1384196535-19289-1-git-send-email-juhosg@openwrt.org> <52813EA2.70209@openwrt.org> <5282412A.8030505@openwrt.org> Message-ID: <52824D79.7090802@openwrt.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 2013.11.12. 16:40 keltez?ssel, Daniel Schwierzeck ?rta: > 2013/11/12 Gabor Juhos : >> 2013.11.11. 23:36 keltez?ssel, Daniel Schwierzeck ?rta: >> > ... >>>> >>>> Any idea how can we resolve this properly? >>>> >>>> -Gabor >>> >>> following seems to work (in both variants with -bios and -pflash) >>> >>> #define CONFIG_SYS_TEXT_BASE 0xbe000000 >>> #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE >> >> Yeah, this definitely looks better than my solution. :) >> >> Do you want me to incorporate this into the 'malta: use unmapped flash base >> address' patch, > > yes, one patch is sufficiently Ok.