From: Eric Nelson <eric@nelint.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] i.MX SPL tools (was Re: [RFC PATCH 00/12] imx: mx6: add virtual mx6memcal board)
Date: Tue, 21 Jun 2016 12:48:45 -0700 [thread overview]
Message-ID: <57699A1D.9070109@nelint.com> (raw)
In-Reply-To: <1466534502-17233-1-git-send-email-eric@nelint.com>
On 06/21/2016 11:41 AM, Eric Nelson wrote:
> This patch set makes use of the dynamic DDR calibration routines added in commit
> d339f16 to define an alternative to the Freescale DDR stress tester tool.
>
Hi all,
While preparing this patch set, I thought again about the tools we have
for managing SPL images, and especially "first boot" issues (when a
full U-Boot isn't available or isn't programmed into the normal boot
device).
Since the "mx6memcal" device is deliberately small, with only
the DDR and UART defined, there's no way to load a full U-Boot
and doing so would defeat the primary purpose.
We've discussed this at length on a number of occasions, (most recently
in [5]) but I don't think we have a good solution.
I just looked at Troy's ancient patches ([1] and [2]) and it seems that
these two patches are the bulk of the work needed to build a combined
SPL+U-Boot image, and if I understand patch 2 correctly, SPL could
tell at run-time that it was executed via a plugin and return control
to the Boot ROM instead of trying to load U-Boot or a kernel.
If I recall correctly, Troy dropped these patches because of push-back
that came from the sheer size of the 21-patch set, and not because of
any particular objection to support for plugins.
It seems that a little work here would remove the need for things
like Stefano's patch in [3] or Michael thoughts of adding DFU support
in [4].
I'm interested in hearing your thoughts on the subject.
Regards,
Eric
[1] [U-Boot,V2,06/21] imximage: add plugin commands
https://patchwork.ozlabs.org/patch/186051/
[2] [U-Boot,V2,08/21] mx6: add plugin file for use with imximage.cfg
https://patchwork.ozlabs.org/patch/186054/
[3] [U-Boot] [PATCH v2] imx_common: check for Serial Downloader in
spl_boot_device
http://lists.denx.de/pipermail/u-boot/2015-December/237555.html
[4] Discussion of SPU and DFU
http://lists.denx.de/pipermail/u-boot/2013-October/thread.html#165805
[5] Discussion of booting Wand through USB
http://lists.denx.de/pipermail/u-boot/2015-May/thread.html#215573
next prev parent reply other threads:[~2016-06-21 19:48 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-21 18:41 [U-Boot] [RFC PATCH 00/12] imx: mx6: add virtual mx6memcal board Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 01/12] imx: mx6: ddr: return output of calibration routines Eric Nelson
2016-06-22 23:18 ` Marek Vasut
2016-06-22 23:52 ` Eric Nelson
2016-06-22 23:57 ` Marek Vasut
2016-06-23 0:18 ` Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 02/12] novena: supply calibration parameter to DDR " Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 03/12] imx: mx6: ddr: make calibration optional in config routines Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 04/12] imx: mx6: ddr: pass sysinfo to calibration routines Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 05/12] novena: pass mx6_ddr_sysinfo " Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 06/12] imx: mx6: ddr: use Kconfig for inclusion of DDR calibration Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 07/12] novena_defconfig: select MX6_DDRCAL Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 08/12] mx6: Add board mx6memcal for use in validating DDR Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 09/12] mx6memcal: add configuration mx6memcal_mx6slevk_defconfig Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 10/12] mx6memcal: add configuration mx6memcal_nitrogen6_max_defconfig Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 11/12] mx6memcal: add configuration mx6memcal_sabrelite_defconfig Eric Nelson
2016-06-21 18:41 ` [U-Boot] [RFC PATCH 12/12] mx6memcal: add configuration mx6memcal_warpboard_defconfig Eric Nelson
2016-06-21 19:48 ` Eric Nelson [this message]
2016-06-24 23:26 ` [U-Boot] i.MX SPL tools (was Re: [RFC PATCH 00/12] imx: mx6: add virtual mx6memcal board) Tom Rini
2016-08-26 15:00 ` [U-Boot] [RFC PATCH 00/12] imx: mx6: add virtual mx6memcal board Tim Harvey
2016-08-26 15:33 ` Eric Nelson
2016-08-26 16:46 ` Fabio Estevam
2016-08-26 20:34 ` Tim Harvey
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=57699A1D.9070109@nelint.com \
--to=eric@nelint.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.