linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiaxun Yang <jiaxun.yang@flygoat.com>
To: linux-mips@vger.kernel.org
Cc: keguang.zhang@gmail.com, paul.burton@mips.com,
	Jiaxun Yang <jiaxun.yang@flygoat.com>
Subject: [PATCH 5/6] MIPS: Loongson32: Set load address to 0x80200000
Date: Tue, 22 Jan 2019 21:04:14 +0800	[thread overview]
Message-ID: <20190122130415.3440-5-jiaxun.yang@flygoat.com> (raw)
In-Reply-To: <20190122130415.3440-1-jiaxun.yang@flygoat.com>

PMON bootloader on Loongson-1C will use memory between
0x80100000 and 0x80200000 as stack.

Use 0x80100000 as load address may hang the bootloader
during loading.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 arch/mips/loongson32/Platform | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/loongson32/Platform b/arch/mips/loongson32/Platform
index 0db38f64f571..333215593092 100644
--- a/arch/mips/loongson32/Platform
+++ b/arch/mips/loongson32/Platform
@@ -1,4 +1,4 @@
 cflags-$(CONFIG_CPU_LOONGSON1)		+= -march=mips32r2 -Wa,--trap
 platform-$(CONFIG_MACH_LOONGSON32)	+= loongson32/
 cflags-$(CONFIG_MACH_LOONGSON32)	+= -I$(srctree)/arch/mips/include/asm/mach-loongson32
-load-$(CONFIG_CPU_LOONGSON1)		+= 0xffffffff80100000
+load-$(CONFIG_CPU_LOONGSON1)		+= 0xffffffff80200000
-- 
2.20.1


  parent reply	other threads:[~2019-01-22 13:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 13:04 [PATCH 1/6] MIPS: Loongson32: Remove unused platform devices Jiaxun Yang
2019-01-22 13:04 ` [PATCH 2/6] MIPS: Loongson32: workaround di issue Jiaxun Yang
2019-01-22 17:39   ` Paul Burton
2019-01-23  0:19     ` Jiaxun Yang
2019-01-23  1:34   ` Paul Burton
2019-01-22 13:04 ` [PATCH 3/6] MIPS: Loongson32: Revert ISA level to MIPS32R2 Jiaxun Yang
2019-01-23  1:34   ` Paul Burton
2019-01-22 13:04 ` [PATCH 4/6] MIPS: Loongson32: clarify we don't support MIPS16 and merge configs Jiaxun Yang
2019-01-23  1:34   ` Paul Burton
2019-01-22 13:04 ` Jiaxun Yang [this message]
2019-01-23  1:34   ` [PATCH 5/6] MIPS: Loongson32: Set load address to 0x80200000 Paul Burton
2019-01-22 13:04 ` [PATCH 6/6] cpu-probe: Rename Loongson 1B to Loongson GS232 Jiaxun Yang
2019-01-23  1:34 ` [PATCH 1/6] MIPS: Loongson32: Remove unused platform devices Paul Burton
     [not found]   ` <CAJhJPsU1DPBp6it0agNrDfLpQGRV0c45mH6mTi=wcwt0OZikkQ@mail.gmail.com>
2019-01-23  3:40     ` Jiaxun Yang
2019-01-23 21:40       ` Paul Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190122130415.3440-5-jiaxun.yang@flygoat.com \
    --to=jiaxun.yang@flygoat.com \
    --cc=keguang.zhang@gmail.com \
    --cc=linux-mips@vger.kernel.org \
    --cc=paul.burton@mips.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).