public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm64: Add Xilinx ZynqMP support
Date: Fri, 27 Feb 2015 12:13:27 -0500	[thread overview]
Message-ID: <20150227171327.GA15882@bill-the-cat> (raw)
In-Reply-To: <37be1350742a9c00eb80b402e602389e47206942.1424764921.git.michal.simek@xilinx.com>

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.

> +	"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?

> +	"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.

> +	"sdboot=mmcinfo && fatload mmc 0:0 f000000 system.dtb && " \
> +		"fatload mmc 0:0 f000000 Image && booti 80000 - f000000\0"

You aren't using $fdt_addr/$kernel_addr here and probably should?

-- 
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/20150227/928ffc58/attachment.sig>

  parent reply	other threads:[~2015-02-27 17:13 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 [this message]
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
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=20150227171327.GA15882@bill-the-cat \
    --to=trini@ti.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