From: Greg Ungerer <gregungerer@westnet.com.au>
To: Yannick GICQUEL <yannick.gicquel@open.eurogiciel.org>,
linux-m68k@vger.kernel.org
Subject: Re: [RFC 6/8] m68k: m5441x: set rambar to end of SRAM physical addr space
Date: Wed, 08 Jul 2015 23:53:39 +1000 [thread overview]
Message-ID: <559D2B63.2000007@westnet.com.au> (raw)
In-Reply-To: <1436349092-2214-7-git-send-email-yannick.gicquel@gmail.com>
Hi Yannick,
On 08/07/15 19:51, Yannick GICQUEL wrote:
> Even if SRAM is not used, this is required to avoid inconsistency at runtime.
> Otherwise, an assertion failed in ld.so during init process execution:
>
> Inconsistency detected by ld.so: rtld.c: 1290: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
Can you explain further?
Is this really the underlying problem?
Surely the presence of the SRAM block mapped in shouldn't
have any impact on running applications.
Where does CONFIG_SRAM_BASE come from?
I didn't see in this series anywhere.
Regards
Greg
> Signed-off-by: Yannick GICQUEL <yannick.gicquel@gmail.com>
> ---
> arch/m68k/coldfire/head.S | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/m68k/coldfire/head.S b/arch/m68k/coldfire/head.S
> index fa31be2..bf39885 100644
> --- a/arch/m68k/coldfire/head.S
> +++ b/arch/m68k/coldfire/head.S
> @@ -151,6 +151,15 @@ _start0:
>
> _start:
> nop /* filler */
> +#if defined(CONFIG_M5441x)
> +#if defined(CONFIG_SRAM_BASE)
> + movel #(CONFIG_SRAM_BASE+0x221), %d0
> +#else
> + movel #(0x8ff00000+0x221), %d0
> +#endif
> + movec %d0, %rambar1
> +#endif
> +
> movew #0x2700, %sr /* no interrupts */
> movel #CACHE_INIT,%d0 /* disable cache */
> movec %d0,%CACR
>
next prev parent reply other threads:[~2015-07-08 13:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-08 9:51 [RFC 0/8] m5441x: mmu support patchset Yannick GICQUEL
2015-07-08 9:51 ` [RFC 1/8] m68k: coldfire: unlink FPU presence from MMU activation Yannick GICQUEL
2015-07-08 13:36 ` Greg Ungerer
2015-07-17 10:46 ` Yannick GICQUEL
2015-07-08 14:03 ` Geert Uytterhoeven
2015-07-08 14:12 ` Greg Ungerer
2015-07-08 14:20 ` Geert Uytterhoeven
2015-07-08 9:51 ` [RFC 2/8] m68k: fix build issue in setup_arch() when no FPU Yannick GICQUEL
2015-07-08 14:04 ` Geert Uytterhoeven
2015-07-08 9:51 ` [RFC 3/8] m68k: add dummy dump_fpu() when FPU is not present Yannick GICQUEL
2015-07-08 9:51 ` [RFC 4/8] m68k: m5441x: add ColdFire 5441x CPU MMU memory init code Yannick GICQUEL
2015-07-08 13:45 ` Greg Ungerer
2015-07-08 9:51 ` [RFC 5/8] m68k: m5441x: fix ACR0 base address when MBAR is not present Yannick GICQUEL
2015-07-08 9:51 ` [RFC 6/8] m68k: m5441x: set rambar to end of SRAM physical addr space Yannick GICQUEL
2015-07-08 13:53 ` Greg Ungerer [this message]
2015-07-17 10:47 ` Yannick GICQUEL
2015-07-08 9:51 ` [RFC 7/8] m68k: mmu: add u-boot command line support in setup_arch() Yannick GICQUEL
2015-07-08 14:03 ` Greg Ungerer
2015-07-08 9:51 ` [RFC 8/8] m68k: uImage generation support Yannick GICQUEL
2015-07-08 14:07 ` [RFC 0/8] m5441x: mmu support patchset Greg Ungerer
2015-07-17 10:30 ` Yannick GICQUEL
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=559D2B63.2000007@westnet.com.au \
--to=gregungerer@westnet.com.au \
--cc=linux-m68k@vger.kernel.org \
--cc=yannick.gicquel@open.eurogiciel.org \
/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 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.