* [PATCH] x86: Change SYS_LOAD_ADDR to 0x01000000
@ 2021-08-31 13:13 Tom Rini
2021-08-31 14:11 ` Bin Meng
0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2021-08-31 13:13 UTC (permalink / raw)
To: u-boot; +Cc: Bin Meng
At least on qemu, and likely other platforms, a load address of
0x02000000 ends up without our protected range currently. Move this
down to 0x01000000.
Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Kconfig b/Kconfig
index 931a22806e4e..eaf48b80196f 100644
--- a/Kconfig
+++ b/Kconfig
@@ -389,8 +389,8 @@ config SYS_LDSCRIPT
config SYS_LOAD_ADDR
hex "Address in memory to use by default"
- default 0x01000000 if ARCH_SOCFPGA
- default 0x02000000 if PPC || X86
+ default 0x01000000 if ARCH_SOCFPGA || X86
+ default 0x02000000 if PPC
default 0x22000000 if MACH_SUN9I
default 0x42000000 if ARCH_SUNXI && !MACH_SUN9I
default 0x82000000 if ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] x86: Change SYS_LOAD_ADDR to 0x01000000
2021-08-31 13:13 [PATCH] x86: Change SYS_LOAD_ADDR to 0x01000000 Tom Rini
@ 2021-08-31 14:11 ` Bin Meng
2021-08-31 15:10 ` Tom Rini
0 siblings, 1 reply; 3+ messages in thread
From: Bin Meng @ 2021-08-31 14:11 UTC (permalink / raw)
To: Tom Rini; +Cc: U-Boot Mailing List
Hi Tom,
On Tue, Aug 31, 2021 at 9:13 PM Tom Rini <trini@konsulko.com> wrote:
>
> At least on qemu, and likely other platforms, a load address of
> 0x02000000 ends up without our protected range currently. Move this
> down to 0x01000000.
What is the protected range?
>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Regards,
Bin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86: Change SYS_LOAD_ADDR to 0x01000000
2021-08-31 14:11 ` Bin Meng
@ 2021-08-31 15:10 ` Tom Rini
0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2021-08-31 15:10 UTC (permalink / raw)
To: Bin Meng; +Cc: U-Boot Mailing List
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
On Tue, Aug 31, 2021 at 10:11:36PM +0800, Bin Meng wrote:
> Hi Tom,
>
> On Tue, Aug 31, 2021 at 9:13 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > At least on qemu, and likely other platforms, a load address of
> > 0x02000000 ends up without our protected range currently. Move this
> > down to 0x01000000.
>
> What is the protected range?
That's a good question. I think we can disregard this patch for now.
While I was sure I bisected this failure:
https://source.denx.de/u-boot/u-boot/-/jobs/315982#L216
to the default load address being populated to loadaddr, I'm not seeing
it fail now locally like I was this morning. I think maybe I had
mis-merged the SYS_LOAD_ADDR patch last night and cleaned that up as
part of making this patch work.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-31 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 13:13 [PATCH] x86: Change SYS_LOAD_ADDR to 0x01000000 Tom Rini
2021-08-31 14:11 ` Bin Meng
2021-08-31 15:10 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.