From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Denis OSTERLAND <denis.osterland@diehl.com>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [PATCH v2] hab: Print events on info command.
Date: Mon, 15 Oct 2018 10:46:16 +0200 [thread overview]
Message-ID: <84bd5f0d-9fcd-f454-183c-2166e5707a87@pengutronix.de> (raw)
In-Reply-To: <1539592904.5886.15.camel@diehl.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 1033 bytes --]
On 10/15/2018 10:41 AM, Denis OSTERLAND wrote:
>> The faulting zero page problem doesn't occur on mx25 and mx28 as the HAB
>> ROM doesn't live at 0x0:
>>
>> #define HABV4_RVT_IMX28 0xffff8af8
>>
>> int imx25_hab_get_status(void)
>> {
>> return imx_habv3_get_status(readl(IOMEM(0x780018d4)));
>> }
>>
>> Marc
>>
>
> Thanks for the info.
> This becomes a problem when MMU is enabled again.
I think we have a 1-to-1 mapping by default, modulo the zero page.
> I think this will require explicit mapping.
> I am not sure if it is possible to access the ABI through mapped addresses.
Probably not, I assume the code is not position independent.
> Is it possible to force mapping at exact this addresses?
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2018-10-15 8:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-04 7:05 [PATCH] " Denis OSTERLAND
2018-10-04 21:14 ` Andrey Smirnov
2018-10-05 6:58 ` [PATCH v2] " Denis OSTERLAND
2018-10-10 7:51 ` Sascha Hauer
2018-10-10 9:29 ` Denis OSTERLAND
2018-10-12 6:23 ` Marc Kleine-Budde
2018-10-15 8:41 ` Denis OSTERLAND
2018-10-15 8:46 ` Marc Kleine-Budde [this message]
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=84bd5f0d-9fcd-f454-183c-2166e5707a87@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=denis.osterland@diehl.com \
--cc=s.hauer@pengutronix.de \
/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