[RFC PATCH] ARM: dts: meson8b: add reserved memory zones
linus.luessing at c0d3.blue
Sun Oct 1 04:44:34 PDT 2017
On Fri, Sep 29, 2017 at 08:49:25PM +0200, Martin Blumenstingl wrote:
> maybe you could add a reference to my commit (8a7f0c52e8a0) and state
> that your patch solves the same problem on the Meson8b platform
> with that:
> Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
Ok, will do. Before resubmitting with a Signed-off-by, I'd like to
understand a little more though.
I retested with only the 2MB reservation at the start and that
seems to be enough to fix the silent freezes.
I tried to dig into the Amlogic/Hardkernel source code and found
a PHY_OFFSET define which seems to reserve the 2MB there, if I'm
Unfortunately, there is no comment in there regarding why this
might be needed. It seems that Hardkernel just copied it from the
original Amlogic sources in this commit:
e647d67 AMLogic's patchset of 'amlogic-20140823'
I'd reference the 2MB reservation in the original Amlogic
source code somehow in the commit message if that makes sense?
Just so people know why 2MB and not xx MB.
I also had a closer look at the S805 datasheet . The Memory Map
(chapter 4) has an extra "Region (boot)" column. The only
difference to the "Region (Normal)" column is the very first
entry: A 16MB region from 0x00000000 to 0x00FFFF.
Which made me wonder whether the memory we'd reserve should maybe
be 16MB instead of 2MB? Or maybe we should tell the S805 somehow
that we would like to switch from "boot" to "normal" mode?
Maybe disable the "ROM BOOT ROM clock" noted in chapter 6.3.2?
Regarding the ARM Power Firmware, any recommended readings? Also,
could I somehow check whether this is used on the Odroid C1+
(maybe some live memory dump while in uboot)?
If this part is needed, I would maybe put it into a separate
patch, as seems unrelated to the silent freezes.
More information about the linux-amlogic