[PATCH] PPC: request a consistent memory layout (part II)
Juergen Borleis
jbe at pengutronix.de
Mon May 22 03:34:38 PDT 2017
Hi Sascha,
On Monday 22 May 2017 12:26:43 Sascha Hauer wrote:
> [...]
> I have the feeling that we should actively put the vector table to one
> of the two locations, so we should implicitly know where it is and not
> have to test the MSR_IP bit.
Sometimes it depends on the boot mode. You can locate the NOR flash memory
at 0x00000 or 0xfff00000 (via bootstrap pins) and in the latter case the
vector table is at 0xfff00000 (at least the reset vector)!
> Also there is no SDRAM at 0xfff00000, right?
Yes, but (maybe) flash.
> Requesting SDRAM there will fail every time for a good reason.
Good catch.
jb
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the barebox
mailing list