From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot FIT image support
Date: Fri, 7 Aug 2015 13:48:42 -0700 [thread overview]
Message-ID: <55C519AA.2030209@freescale.com> (raw)
Simon,
I was doing an experiment to put the load address and entry address of Linux to
higher than 32-bit address. I found it is broken to process more than 32-bit
addresses. When I attempted to fix it, I was troubled by those code used for
both host and target, like common/image-fit.c. For example, to process 64-bit
address, the function
int fit_image_get_load(const void *fit, int noffset, ulong *load)
should be converted to
int fit_image_get_load(const void *fit, int noffset, uint64_t *load)
ulong is 64-bit for 64-bit target such as ARMv8, but it can be 32-bit on host.
If I use uint64_t, all related code in bootm and others need to change. Before I
go too far, I'd like to check if anyone has tried to enable this in FIT image.
#address-cells = <2>;
I can try to use uint64_t in place of ulong for all related code if that's
right. That will be a lot of change.
York
next reply other threads:[~2015-08-07 20:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 20:48 York Sun [this message]
2015-08-07 22:47 ` [U-Boot] u-boot FIT image support Simon Glass
2015-08-07 23:12 ` York Sun
2015-08-10 18:40 ` Simon Glass
2015-08-10 19:14 ` York Sun
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=55C519AA.2030209@freescale.com \
--to=yorksun@freescale.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