From: Stefan Agner
Make sure we use objcopy from the cross compiler toolchain.
Signed-off-by: Stefan Agner
---
scripts/get_default_envs.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/get_default_envs.sh b/scripts/get_default_envs.sh
index 7955db60e5
From: Stefan Agner
Treat the first equal sign as a key/value separation too. This makes
the script files compatible with mkenvimage input file format. It
won't support variables with equal signs anymore, but this seems not
really like a loss.
Signed-off-by: Stefan Agner
---
tools/env/fw_
On 21.02.2018 16:16, Marcel Ziswiler wrote:
> From: Marcel Ziswiler
>
> The Tegra NAND driver recently got broken by ongoing driver model resp.
> live tree migration work:
>
> NAND: Could not decode nand-flash in device tree
> Tegra NAND init failed
> 0 MiB
>
> A patch for NAND uclass support
On 15.02.2018 09:59, Lukasz Majewski wrote:
> On Thu, 15 Feb 2018 07:08:55 +0100
> Andre Heider wrote:
>
>> Cosmetic change.
Hm, this got introduced by
commit 9b643e312d52 ("treewide: replace with error() with pr_err()")
error() did print the newline...
Acked-by: St
On 08.02.2018 17:17, Alex Kiernan wrote:
> On Thu, Feb 8, 2018 at 3:37 PM, wrote:
>> On 08.02.2018 10:35, Alex Kiernan wrote:
>>> Using fw_printenv with --noheader fails:
>>>
>>> root@nrr-922:~# fw_printenv --noheader arch
>>> ## Error: `-n' option requires exactly one argument
>>
>> I think
From: Stefan Agner
Simplify SPL_LDSCRIPT config by using the new arch Kconfig
configurations ARCH_MX23 and ARCH_MX28.
Signed-off-by: Stefan Agner
---
Changes in v2: None
arch/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
From: Stefan Agner
This converts CONFIG_NAND_MXS to Kconfig.
Signed-off-by: Stefan Agner
---
Changes in v2: None
configs/apx4devkit_defconfig| 3 ++-
configs/aristainetos2_defconfig | 3 ++-
configs/aristainetos2b_defconfig| 3 ++-
configs
From: Stefan Agner
The motivation for moving MX23 selection to Kconfig is to be able
to better handle NAND MXS selection through Kconfig.
This selection method also aligns with the way other i.MX SoCs are
selected in U-Boot.
Signed-off-by: Stefan Agner
---
Changes in v2:
- Move to arch/arm
From: Stefan Agner
The motivation for moving MX28 selection to Kconfig is to be able
to better handle NAND MXS selection through Kconfig.
This selection method also aligns with the way other i.MX SoCs are
selected in U-Boot.
Signed-off-by: Stefan Agner
---
Changes in v2:
- Move to arch/arm
From: Stefan Agner
This converts i.MX23/28 to Kconfig. This helps to properly
add dependencies for GPMI NAND (NAND_MXS) configs.
Patch 4 is from a previous patchset "mtd: nand: mxs_nand:
improve ECC support".
--
Stefan
Changes in v2:
- Move to arch/arm/mach-imx/mxs/Kconfig
- Fi
From: Stefan Agner
This converts CONFIG_NAND_MXS to Kconfig.
Signed-off-by: Stefan Agner
---
configs/apx4devkit_defconfig| 3 ++-
configs/aristainetos2_defconfig | 3 ++-
configs/aristainetos2b_defconfig| 3 ++-
configs/aristainetos_defconfig | 3
From: Stefan Agner
Simplify SPL_LDSCRIPT config by using the new arch Kconfig
configurations ARCH_MX23 and ARCH_MX28.
Signed-off-by: Stefan Agner
---
arch/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f4301f18ce
From: Stefan Agner
The motivation for moving MX28 selection to Kconfig is to be able
to better handle NAND MXS selection through Kconfig.
This selection method also aligns with the way other i.MX SoCs are
selected in U-Boot.
Signed-off-by: Stefan Agner
---
arch/arm/Kconfig
From: Stefan Agner
The motivation for moving MX23 selection to Kconfig is to be able
to better handle NAND MXS selection through Kconfig.
This selection method also aligns with the way other i.MX SoCs are
selected in U-Boot.
Signed-off-by: Stefan Agner
---
arch/arm/Kconfig
From: Stefan Agner
This converts i.MX23/28 to Kconfig. This helps to properly
add dependencies for GPMI NAND (NAND_MXS) configs.
Patch 4 is from a previous patchset "mtd: nand: mxs_nand:
improve ECC support".
--
Stefan
Stefan Agner (4):
arm: imx: mx23: Move MX23 selection to Kco
From: Stefan Agner
Add config option which allows to enable on flash bad block table
support. This has the same effect as when using the device tree
property "nand-on-flash-bbt" in Linux.
Signed-off-by: Stefan Agner
---
Changes in v2: None
drivers/mtd/nand/mxs_nand.c | 4 ++
From: Stefan Agner
Add support for minimum ECC strength supported by the NAND chip.
This aligns with the behavior when using the fsl,use-minimum-ecc
device tree property in Linux.
Signed-off-by: Stefan Agner
---
Changes in v2: None
drivers/mtd/nand/Kconfig| 8 +
drivers/mtd/nand
From: Stefan Agner
Report correct ECC parameters back to the stack. Do not report
bytes as we have it not immeaditly available and the Linux version
also does not report it. It seems to have no aversive effect.
Signed-off-by: Stefan Agner
---
Changes in v2:
- Extend the patchset with "r
From: Stefan Agner
Instead of completing initialization via scan_bbt callback use
NAND self init to initialize the GPMI (MXS) NAND controller.
Suggested-by: Scott Wood
Signed-off-by: Stefan Agner
---
Changes in v2: None
drivers/mtd/nand/Kconfig| 1 +
drivers/mtd/nand/mxs_nand.c | 52
From: Stefan Agner
Calculate BCH geometry at start and store the information in
a structure. This avoids recalculation on every page access
and allows to calculate ECC relevant information in one place.
This patch does not change ECC layout or driver behavior in
any way.
The patch aligns the
From: Stefan Agner
This converts CONFIG_NAND_MXS to Kconfig.
Signed-off-by: Stefan Agner
---
Changes in v2:
- Extend the patchset with "Convert CONFIG_NAND_MXS to Kconfig" patch
configs/apx4devkit_defconfig| 3 ++-
configs/aristainetos2_defconfig | 3 ++
From: Stefan Agner
This patchset reworks the drivers ECC calculation to align more
with the Linux driver gpmi-nand.c. It aims to implements minimal
ECC support as supported by the NAND chip.
The first three patches are of preparational nature, I hope that
especially the first two can go in
From: Stefan Agner
Add support for minimum ECC strength supported by the NAND chip.
This aligns with the behavior when using the fsl,use-minimum-ecc
device tree property in Linux.
Signed-off-by: Stefan Agner
---
drivers/mtd/nand/Kconfig| 8 +
drivers/mtd/nand/mxs_nand.c | 71
From: Stefan Agner
Add config option which allows to enable on flash bad block table
support. This has the same effect as when using the device tree
property "nand-on-flash-bbt" in Linux.
Signed-off-by: Stefan Agner
---
drivers/mtd/nand/mxs_nand.c | 4
1 file changed, 4
From: Stefan Agner
Calculate BCH geometry at start and store the information in
a structure. This avoids recalculation on every page access
and allows to calculate ECC relevant information in one place.
This patch does not change ECC layout or driver behavior in
any way.
The patch aligns the
From: Stefan Agner
Instead of completing initialization via scan_bbt callback use
NAND self init to initialize the GPMI (MXS) NAND controller.
Signed-off-by: Stefan Agner
---
drivers/mtd/nand/Kconfig| 1 +
drivers/mtd/nand/mxs_nand.c | 52 +
2
From: Stefan Agner
The input keycode KEY_POWER is used in the imx6ull.dtsi file,
hence include the input header where used.
Signed-off-by: Stefan Agner
---
arch/arm/dts/imx6ull-14x14-evk.dts | 1 -
arch/arm/dts/imx6ull.dtsi | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff
Hi Ryan,
On 19.01.2018 10:53, Ryan Harkin wrote:
> Add DTE mode support via Kconfig on the MXC uart.
Make use of the driver model, there DTE is supported already today:
https://lists.denx.de/pipermail/u-boot/2016-July/259573.html
--
Stefan
>
> Signed-off-by: Ryan Harkin
> Reviewed-by: Bryan O
From: Stefan Agner
Introduce a new config symbol to select the i.MX
General Purpose Timer (GPT).
Signed-off-by: Stefan Agner
Reviewed-by: Fabio Estevam
---
Changes in v2:
- Fix Kconfig for MX5
arch/arm/mach-imx/Kconfig | 3 +++
arch/arm/mach-imx/Makefile| 3 ++-
arch/arm/mach-imx
From: Stefan Agner
The i.MX 6UL/ULL feature a Cortex-A7 CPU which suppor the ARM
generic timer. This change makes use of the ARM generic timer in
U-Boot.
This is crucial to make the ARM generic timers usable in Linux since
timer_init() initalizes the system counter module, which is necessary
to
From: Stefan Agner
Signed-off-by: Stefan Agner
Reviewed-by: Fabio Estevam
---
Changes in v2: None
arch/arm/mach-imx/Kconfig | 3 +++
arch/arm/mach-imx/mx7/Kconfig | 1 +
include/configs/mx7_common.h | 1 -
scripts/config_whitelist.txt | 1 -
4 files changed, 4 insertions(+), 2
On 2018-01-05 13:40, Fabio Estevam wrote:
> On Mon, Jan 1, 2018 at 10:43 PM, Stefan Agner wrote:
>
>> --- a/arch/arm/mach-imx/mx6/Kconfig
>> +++ b/arch/arm/mach-imx/mx6/Kconfig
>> @@ -9,7 +9,7 @@ config MX6_SMP
>>
>> config MX6
>> sel
On 2018-01-02 01:43, Stefan Agner wrote:
> Introduce a new config symbol to select the i.MX
> General Purpose Timer (GPT).
>
> Signed-off-by: Stefan Agner
> ---
>
> arch/arm/mach-imx/Kconfig | 3 +++
> arch/arm/mach-imx/Makefile| 3 ++-
> arch/arm/mach-imx/mx
Hi Stefano,
Any chance to get this patchset still into v2018.01? IMHO it is almost a
bug that U-Boot does not initialize the ARM architected timer
properly...
--
Stefan
On 2018-01-02 01:43, Stefan Agner wrote:
> Signed-off-by: Stefan Agner
> ---
>
> arch/arm/mach-imx/Kco
timers CP15 registers.
Signed-off-by: Stefan Agner
---
arch/arm/include/asm/arch-mx6/imx-regs.h | 1 +
arch/arm/mach-imx/Makefile | 2 +-
arch/arm/mach-imx/mx6/Kconfig| 4 +++-
include/configs/mx6_common.h | 5 -
4 files changed, 9 insertions(+), 3 deletions
Signed-off-by: Stefan Agner
---
arch/arm/mach-imx/Kconfig | 3 +++
arch/arm/mach-imx/mx7/Kconfig | 1 +
include/configs/mx7_common.h | 1 -
scripts/config_whitelist.txt | 1 -
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx
Introduce a new config symbol to select the i.MX
General Purpose Timer (GPT).
Signed-off-by: Stefan Agner
---
arch/arm/mach-imx/Kconfig | 3 +++
arch/arm/mach-imx/Makefile| 3 ++-
arch/arm/mach-imx/mx5/Kconfig | 1 +
arch/arm/mach-imx/mx6/Kconfig | 1 +
4 files changed, 7 insertions
imply CMD_FUSE
--
Stefan
>
> Reported-by: Stefan Agner
> Signed-off-by: Fabio Estevam
> ---
> arch/arm/include/asm/arch-mx6/imx-regs.h | 20 ++--
> arch/arm/include/asm/arch-mx6/mx6-ddr.h| 2 +-
> arch/arm/include/asm/arch-mx6/mx6ul-ddr.h | 2
for CONFIG_MX6UL.
Those changes seem to cover it.
Reviewed-by: Stefan Agner
One minor nit below.
>
> Reported-by: Stefan Agner
> Signed-off-by: Fabio Estevam
> ---
> arch/arm/include/asm/arch-mx6/imx-regs.h | 20 ++--
> arch/arm/include/asm/arch-mx6/mx6-dd
On 2017-11-28 00:07, Breno Lima wrote:
> From: Breno Lima
>
> MX6UL contains features that MX6ULL doesn't support.
> Deselect CONFIG_MX6UL and select SYS_L2CACHE_OFF and ROM_UNIFIED_SECTIONS.
>
> The motivation for doing this change is that MX6UL supports CAAM and
> MX6ULL does not.
While I agr
On 2017-11-14 19:32, Otavio Salvador wrote:
> This upgrades the U-Boot from 2017.09 to 2017.11 release.
You might encounter this when building fw_printenv/setenv tools alone:
https://lists.denx.de/pipermail/u-boot/2017-November/311505.html
--
Stefan
>
> Signed-off-by: Otavio Salvador
> ---
>
From: Stefan Agner
With commit 84d46e7e8948 ("tools: env: allow to print U-Boot version")
the fw_env utilities need the version.h header file. Building only
the envtools in a pristine build directory will fail due to missing
header files.
Make sure the header files are a depende
Hi Tom, Stefano,
Any chance to get this still into 2017.11? It allows to use 2017.11 on
my board...
--
Stefan
On 2017-10-17 13:59, Stefan Agner wrote:
> From: Stefan Agner
>
> On Vybrid SoCs U-Boot gets loaded into GFX SRAM which is 512KiB.
> Currently 32KiB is reserved for th
From: Stefan Agner
The fw_env utility family has a default environment compiled in
which ties it quite strongly to the U-Boot source/config it has
been built with. Allow to display the U-Boot version it has been
built with using the -v/--version argument.
Signed-off-by: Stefan Agner
gt;>
>> + WATCHDOG_RESET();
>> usb_gadget_handle_interrupts(controller_index);
>>
>> sdp_handle_in_ep();
> Reviewed-by: Lukasz Majewski
Thanks for the patch! Looks good to me too.
Reviewed-by: Stefan Agner
Best regards,
Stef
From: Stefan Agner
On Vybrid SoCs U-Boot gets loaded into GFX SRAM which is 512KiB.
Currently 32KiB is reserved for the IMX header. However, this is
not reflected in the size limit. In v2017.11-rc2 the actual size
limit (512KiB-32KiB) has been reached for Colibri VF61, which
lead to a successful
From: Stefan Agner
The changes required to use U-Boot's Serial Download Protocol
implementation are now available in upstream imx_usb_loader
repository. Update the URL accordingly.
Signed-off-by: Stefan Agner
---
doc/README.sdp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On 25.09.2017 20:20, Fabio Estevam wrote:
> From: Fabio Estevam
>
> CONFIG_SPL_PAD_TO is already defined inside "imx6_spl.h", so there
> is no need to redefine it in the board config files.
That looks good to me.
Reviewed-by: Stefan Agner
--
Stefan
>
>
On September 18, 2017 8:05:43 AM PDT, Stefano Babic wrote:
>Hi Stefan,
>
>On 14/09/2017 07:24, Eric Nelson wrote:
>> Hi Stefan,
>>
>> Thanks for this patch.
>>
>> On 09/13/2017 02:29 PM, Stefan Agner wrote:
>>> From: Stefan Agner
>>&g
On 2017-09-13 22:23, Eric Nelson wrote:
> On 09/13/2017 02:29 PM, Stefan Agner wrote:
>> From: Stefan Agner
>>
>> This macro allows to detect whether the USB PHY is active. This
>> is helpful to detect if the boot ROM has previously started the
>> USB serial do
Sorry, the subject should have been v4.
--
Stefan
On 2017-09-13 14:29, Stefan Agner wrote:
> From: Stefan Agner
>
> This macro allows to detect whether the USB PHY is active. This
> is helpful to detect if the boot ROM has previously started the
> USB serial downloader.
>
&
From: Stefan Agner
This macro allows to detect whether the USB PHY is active. This
is helpful to detect if the boot ROM has previously started the
USB serial downloader.
The idea is taken from the mfgtool support in the NXP U-Boot:
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit
From: Stefan Agner
The current mechanism using SCR/GPR registers work well when
the serial downloader boot mode has been selected explicitly
(either via boot mode pins or using bmode command). However,
in case the system entered boot ROM due to unbootable primary
boot devices (e.g. empty eMMC
SB still in there, how about:
is_usbotg_phy_active()
--
Stefan
>
> Best regards,
> Stefano
>
>> On 09/12/2017 04:54 PM, Stefan Agner wrote:
>>> From: Stefan Agner
>>>
>>> This macro allows to detect whether the USB PHY is active. This
>>> is h
From: Stefan Agner
This macro allows to detect whether the USB PHY is active. This
is helpful to detect if the boot ROM has previously started the
USB serial downloader.
The idea is taken from the mfgtool support in the NXP U-Boot:
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit
From: Stefan Agner
The current mechanism using SCR/GPR registers work well when
the serial downloader boot mode has been selected explicitly
(either via boot mode pins or using bmode command). However,
in case the system entered boot ROM due to unbootable primary
boot devices (e.g. empty eMMC
ic script...
--
Stefan
>
> Regards,
> Vincent
>
>
> 2017-09-08 18:37 GMT+02:00 Stefan Agner :
>> Hi Vincent,
>>
>> On 2017-09-08 01:27, Vincent Prince wrote:
>>> Hi everyone,
>>>
>>> I managed to get SDP protocol to work with on my custom
On 2017-09-08 17:41, Eric Nelson wrote:
> Hi Stefan,
>
> On 09/08/2017 05:35 PM, Fabio Estevam wrote:
>> On Fri, Sep 8, 2017 at 8:35 PM, Stefan Agner wrote:
>>
>>> + /*
>>> +* The above method does not detect that the boot ROM used
>>&g
On 2017-09-08 16:41, Eric Nelson wrote:
> Hi Stefan,
>
> On 09/08/2017 04:35 PM, Stefan Agner wrote:
>> From: Stefan Agner
>>
>> The current mechanism using SCR/GPR registers work well when
>> the serial downloader boot mode has been selected explicitly
>&
From: Stefan Agner
The current mechanism using SCR/GPR registers work well when
the serial downloader boot mode has been selected explicitly
(either via boot mode pins or using bmode command). However,
in case the system entered boot ROM due to unbootable primary
boot devices (e.g. empty eMMC
From: Stefan Agner
This macro allows to detect whether the USB PHY is active. This
is helpful to detect if the boot ROM has previously started the
USB serial downloader.
The idea is taken from the mfgtool support in the NXP U-Boot:
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit
:
mx6_usb_sdp_uboot
#hid/bulk,[old_header,]max packet size, {ram start, ram size}(repeat
valid ram areas)
hid,1024,0x1000,1G,0x00907000,0x31000
#Load complete FIT image to $ramdisk_addr_r
tezi.itb:load 0x1210
#Load script to $loadaddr and jump to it
boot-sdp.scr:load 0x1200,jump 0x1200
--
Stefan
On 03.09.2017 07:56, Fabio Estevam wrote:
> From: Fabio Estevam
>
> Instead of having every board file to add its own g_dnl_bind_fixup()
> implementation, move it to the common imx6 SPL code.
>
> Signed-off-by: Fabio Estevam
> ---
> Stefan,
>
> I don't have access to Toradex board to test it, h
On 2017-09-05 09:18, Fabio Estevam wrote:
> On Tue, Sep 5, 2017 at 1:05 PM, Stefan Agner wrote:
>
>> i.MX 7 has a Boot Information structure which is passed from the Boot
>> ROM, so we have a much cleaner method there.
>> http://git.denx.de/?p=u-boot/u-boot-imx.git;a=blob
On 2017-09-05 06:45, Fabio Estevam wrote:
> Hi Stefano,
>
> On Tue, Sep 5, 2017 at 8:16 AM, Stefano Babic wrote:
>
>> Maybe we get some further info from our "insider" (Fabio, Peng). It will
>> be very interesting to know if we can apply this to all spectrum from
>> i.MX6, or if there is some MX
On 2017-09-05 04:13, Fabio Estevam wrote:
> Hi Stefan,
>
> On Mon, Sep 4, 2017 at 10:21 PM, Stefan Agner wrote:
>> From: Stefan Agner
>>
>> This macro allows to detect whether the boot ROM initialized USB
>> already (serial downloader). This is helpful to rel
On 2017-09-04 19:57, Eric Nelson wrote:
> Hi Stefan,
>
> On 09/04/2017 06:21 PM, Stefan Agner wrote:
>> From: Stefan Agner
>>
>> This macro allows to detect whether the boot ROM initialized USB
>> already (serial downloader). This is helpful to reliably detect
&g
From: Stefan Agner
The current mechanism using SCR/GPR registers work well when
the serial downloader boot mode has been selected explicitly
(either via boot mode pins or using bmode command). However,
in case the system entered boot ROM due to unbootable primary
boot devices (e.g. empty eMMC
From: Stefan Agner
This macro allows to detect whether the boot ROM initialized USB
already (serial downloader). This is helpful to reliably detect
if the system has been recovered via USB serial downloader.
Signed-off-by: Stefan Agner
Acked-by: Marcel Ziswiler
---
Hi Stefano,
I noted
On September 1, 2017 12:25:44 PM PDT, Fabio Estevam wrote:
>On Fri, Sep 1, 2017 at 3:54 PM, Fabio Estevam
>wrote:
>
>> I have tested this method and it works, thanks.
>>
>> Do you plan to usptream this method?
>
>Or I can also put your patch as part of my series that adds SDP
>support for imx6q
On 2017-09-01 09:48, Fabio Estevam wrote:
> Hi Stefan,
>
> On Wed, Aug 16, 2017 at 3:00 PM, Stefan Agner wrote:
>> From: Stefan Agner
>>
>> This series adds NXP's Serial Download Protocol (SDP) support via
>> USB for SPL/U-Boot. It allows to download U-
From: Stefan Agner
The NXP i.MX 6UL and 6ULL do not support SATA and have no SATA
boot mode, hence remove it from the boot device detecion. This
fixes a build error introduced with 3bd1642d4d50 ("imx: fix USB
boot mode detection for i.MX 6UL and 6ULL")
Fixes: 3bd1642d4d50 ("im
On 2017-08-27 13:21, Sébastien Szymanski wrote:
> Hello,
>
>> On 27 Aug 2017, at 21:17, Stefan Agner wrote:
>>
>> On 2017-08-27 01:45, Sébastien Szymanski wrote:
>>> Hello,
>>>
>>>> On 25 Aug 2017, at 13:33, Stefano Babic wrote:
>>
On 2017-08-27 01:45, Sébastien Szymanski wrote:
> Hello,
>
>> On 25 Aug 2017, at 13:33, Stefano Babic wrote:
>>
>> On 16/08/2017 02:49, Stefan Agner wrote:
>>> From: Stefan Agner
>>>
>>> i.MX 6 serial downloader is not necessarily booting vi
From: Stefan Agner
When using ISO partitions with a DMA enabled block device driver
reading the ISO partition leads to unaligned DMA operations:
CACHE: Misaligned operation at range [bffb7da8, bffb85a8]
Align the buffer to make sure we pass a buffer which works for
DMA operations.
Signed-off
From: Stefan Agner
Use a completely independent USB Product ID for SPL. This allows
to differentiate a SDP running in SPL and SDP running in a U-Boot
which could not read the config block successfully.
Signed-off-by: Stefan Agner
Acked-by: Max Krummenacher
---
Changes in v2: None
board
From: Stefan Agner
Add USB serial download protocol support to SPL. If the SoC started
in recovery mode the SPL will immediately switch to SDP and wait for
further downloads/commands from the host side.
Signed-off-by: Stefan Agner
Reviewed-by: Stefano Babic
---
Changes in v2:
- Changed
From: Stefan Agner
Add a new command to start USB Serial Download Protocol (SDP)
state machine.
Signed-off-by: Stefan Agner
Reviewed-by: Łukasz Majewski
Reviewed-by: Stefano Babic
---
Changes in v2:
- Changed function signature of sdp_init/sdp_handle
cmd/Kconfig | 7 +++
cmd
From: Stefan Agner
Document the U-Boot Serial Download Protocol implementation and
some typical use cases.
Signed-off-by: Stefan Agner
---
This ended up to be almost more a imx_usb documentation. But there
is really not much to document from a U-Boot side since actual usage
heavily depends on
From: Stefan Agner
Enable Serial Download Protocol (SDP) in SPL and U-Boot. This is
useful to make use of imx_usb to download the complete U-Boot
(u-boot.img) after SPL has been downloaded. The U-Boot command
sdp allows to enumerate as SDP capable device again, e.g. to
download a Linux kernel
From: Stefan Agner
Support U-Boot images in SPL so that u-boot.img files can be
directly downloaded and executed. Furthermore support U-Boot
scripts download and execution in full U-Boot so that custom
recovery actions can be downloaded from the host in a third
step.
Signed-off-by: Stefan Agner
From: Stefan Agner
Add SDP (Serial Downloader Protocol) implementation for U-Boot. The
protocol is used in NXP SoC's boot ROM and allows to download program
images. Beside that, it can also be used to read/write registers and
download complete Device Configuration Data (DCD) sets. This
From: Stefan Agner
Move the imximage.h header file to a common location so we can make
use of it from U-Boot too.
Signed-off-by: Stefan Agner
Reviewed-by: Łukasz Majewski
---
Changes in v2: None
{tools => include}/imximage.h | 0
1 file changed, 0 insertions(+), 0 deletions(-)
ren
From: Stefan Agner
This series adds NXP's Serial Download Protocol (SDP) support via
USB for SPL/U-Boot. It allows to download U-Boot via USB from a
(recovered) SPL using the same tools used to download SPL itself
(specifically imx_usb, but also sb_loader seems to work).
The idea has
From: Stefan Agner
i.MX 6 serial downloader is not necessarily booting via UART but can
also boot from USB. In fact only some i.MX chips have serial
downloader support via UART (e.g. 6UL/ULL and Vybrid) but all of
them have serial downloader support via USB. Use the more appropriate
From: Stefan Agner
Add the reserved boot mode used in the bmode command for i.MX 6UL
and 6ULL as introduced in commit 3fd9579085fa ("imx: mx6ull: fix USB
bmode for i.MX 6UL and 6ULL").
Also replace BMODE_UART with BMODE_RESERVED, which is more appropriate.
Commit 96aac843b68d
On 2017-08-10 01:14, Stefano Babic wrote:
> Hi Stefan,
>
> On 05/08/2017 01:38, Stefan Agner wrote:
>> From: Stefan Agner
>>
>> Add SDP (Serial Downloader Protocol) implementation for U-Boot. The
>> protocol is used in NXP SoC's boot ROM and allows to downl
Stefano,
One question below:
On 2017-08-04 16:38, Stefan Agner wrote:
> From: Stefan Agner
>
> Add USB serial download protocol support to SPL. If the SoC started
> in recovery mode the SPL will immediately switch to SDP and wait for
> further downloads/commands from the host si
On 2017-08-08 03:43, Lothar Waßmann wrote:
> Hi,
>
> On Fri, 4 Aug 2017 16:38:11 -0700 Stefan Agner wrote:
>> From: Stefan Agner
>>
>> Add USB serial download protocol support to SPL. If the SoC started
>> in recovery mode the SPL will immediately switch to SDP
On 2017-08-08 02:15, Stefano Babic wrote:
> Hi Stefan,
>
> On 07/08/2017 20:06, Stefan Agner wrote:
>> Hi Eric,
>>
>> On 2017-08-06 08:19, Eric Nelson wrote:
>>> Hi Stefan,
>>>
>>> On 08/04/2017 04:38 PM, Stefan Agner wrote:
>>&g
Hi Eric,
On 2017-08-06 08:19, Eric Nelson wrote:
> Hi Stefan,
>
> On 08/04/2017 04:38 PM, Stefan Agner wrote:
>> From: Stefan Agner
>>
>> This series adds NXP's Serial Download Protocol (SDP) support via
>> USB for SPL/U-Boot. It allows to download U-Boot v
From: Stefan Agner
Add USB serial download protocol support to SPL. If the SoC started
in recovery mode the SPL will immediately switch to SDP and wait for
further downloads/commands from the host side.
Signed-off-by: Stefan Agner
---
common/spl/Kconfig | 6 ++
common/spl
From: Stefan Agner
Use a completely independent USB Product ID for SPL. This allows
to differentiate a SDP running in SPL and SDP running in a U-Boot
which could not read the config block successfully.
Signed-off-by: Stefan Agner
Acked-by: Max Krummenacher
---
board/toradex/apalis_imx6
From: Stefan Agner
Enable Serial Download Protocol (SDP) in SPL and U-Boot. This is
useful to make use of imx_usb to download the complete U-Boot
(u-boot.img) after SPL has been downloaded. The U-Boot command
sdp allows to enumerate as SDP capable device again, e.g. to
download a Linux kernel
From: Stefan Agner
Add SDP (Serial Downloader Protocol) implementation for U-Boot. The
protocol is used in NXP SoC's boot ROM and allows to download program
images. Beside that, it can also be used to read/write registers and
download complete Device Configuration Data (DCD) sets. This
From: Stefan Agner
Add a new command to start USB Serial Download Protocol (SDP)
state machine.
Signed-off-by: Stefan Agner
---
cmd/Kconfig | 7 +++
cmd/Makefile | 1 +
cmd/usb_gadget_sdp.c | 53
3 files changed, 61
From: Stefan Agner
Support U-Boot images in SPL so that u-boot.img files can be
directly downloaded and executed. Furthermore support U-Boot
scripts download and execution in full U-Boot so that custom
recovery actions can be downloaded from the host in a third
step.
Signed-off-by: Stefan Agner
From: Stefan Agner
Move the imximage.h header file to a common location so we can make
use of it from U-Boot too.
Signed-off-by: Stefan Agner
---
{tools => include}/imximage.h | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename {tools => include}/imximage.h (100%)
diff -
From: Stefan Agner
This series adds NXP's Serial Download Protocol (SDP) support via
USB for SPL/U-Boot. It allows to download U-Boot via USB from a
(recovered) SPL using the same tools used to download SPL itself
(specifically imx_usb, but also sb_loader seems to work).
The idea has
Message d'origine-
>> De : Fabio Estevam [mailto:feste...@gmail.com]
>> Envoyé : samedi 10 juin 2017 00:10
>> À : Stefan Agner ; Esponde, Joel
>>
>> Cc : Stefano Babic ; Fabio Estevam
>> ; Stefan Agner ; U-
>> Boot-Denx
>> Objet : Re: [U-Bo
201 - 300 of 703 matches
Mail list logo