From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm64: Add Xilinx ZynqMP support
Date: Mon, 2 Mar 2015 09:23:52 -0500 [thread overview]
Message-ID: <20150302142352.GL29891@bill-the-cat> (raw)
In-Reply-To: <6f01e537525c47208f9e1617f2a5f1c5@BL2FFO11FD006.protection.gbl>
On Mon, Mar 02, 2015 at 09:24:45AM +0100, Michal Simek wrote:
> On 03/02/2015 08:32 AM, Michal Simek wrote:
> > On 02/27/2015 06:13 PM, Tom Rini wrote:
> >> On Tue, Feb 24, 2015 at 09:02:09AM +0100, Michal Simek wrote:
> >>
> >>> Add basic Xilinx ZynqMP arm64 support.
> >>> Serial and SD is supported.
> >>> It supports emulation platfrom ep108 and QEMU.
> >>>
> >>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> >> [snip]
> >>> +/* Miscellaneous configurable options */
> >>> +#define CONFIG_SYS_LOAD_ADDR 0x8000000
> >>> +
> >>> +/* Initial environment variables */
> >>> +#define CONFIG_EXTRA_ENV_SETTINGS \
> >>> + "ethaddr=00:0a:35:00:01:22\0" \
> >>
> >> No, you can't hard-code an ethaddr in.
> >
> > ah yeah.
> >
> >>
> >>> + "kernel_addr=0x200000\0" \
> >>> + "initrd_addr=0xa00000\0" \
> >>> + "initrd_size=0x2000000\0" \
> >>
> >> These are really close together. And I imagine mirror the usual values
> >> on 32bit platforms. Maybe it's time to move them around a bit for more
> >> space?
> >
> > Currently I haven't had any problem with these values but I just don't know
> > what will happen in future.
Right. That's partly why I moved as much of the TI ARMv7 parts to the
Linux kernel defined limits a while back, people managed to bump into
overruns doing valid things. I'd really like to see things default to
something closer to the defined limits to start with and avoid those
kind of problems a few years down the line. 8MB is fine for now but I
can see people running over that and going "why does my initrd boot
fail".
> >>> + "fdt_addr=0x100000\0" \
> >>> + "fdt_high=0x10000000\0" \
> >>
> >> We also shouldn't have to play "stop relocating the DT" games on
> >> aarch64, right? Since all memory is visible and that's why we have to
> >> do those games on aarch32.
> >
> > Will play with it to confirm it.
>
> I have tested it and there must be limit - without limit kernel is not booting.
> I am using your booti command.
Oh that's right, there is, even on arm64.
This got me to open up Documentation/arm64/booting.txt again and yes,
FDT must be at base+512MB. And looking over
include/configs/ti_armv7_common.h again that's best enforced with
bootm_size so that we can still shuffle things to fit and not overlap
but still meet requirements.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150302/a6530007/attachment.sig>
next prev parent reply other threads:[~2015-03-02 14:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 8:02 [U-Boot] [PATCH] arm64: Add Xilinx ZynqMP support Michal Simek
2015-02-27 6:27 ` Michal Simek
2015-02-27 17:13 ` Tom Rini
2015-03-02 7:32 ` Michal Simek
[not found] ` <54F4122B.202@xilinx.com>
2015-03-02 8:24 ` Michal Simek
2015-03-02 14:23 ` Tom Rini [this message]
2015-03-02 15:07 ` Michal Simek
2015-03-02 17:10 ` Sören Brinkmann
2015-03-02 18:26 ` Tom Rini
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=20150302142352.GL29891@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.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