From: Atish Patra
Currently, timer driver is bound only for hart0.
There is no mandatory requirement that hart0 should always
come up. In fact, HiFive Unleashed SoC hart0 doesn't boot
in S-mode because it only has M-mode.
The timer driver should be bound for boot hart.
Signed-off-by: Atish Pat
This patch enables CONFIG_SYS_BOOT_RAMDISK_HIGH for RISC-V
because bootm will update initrd location in DTB only if
CONFIG_SYS_BOOT_RAMDISK_HIGH is enabled. If we don't enable
this option then bootm assumes DTB already has initrd details
which is not the case most of the time.
Signed-off-by: Atish
This patch adds SiFive FU540 board support. For now, only
SiFive serial, SiFive PRCI, and Cadance MACB drivers are
only enabled. The SiFive FU540 defconfig by default builds
U-Boot for S-Mode because U-Boot on SiFive FU540 will run
in S-Mode as payload of BBL or OpenSBI.
Signed-off-by: Atish Patra
From: Atish Patra
It is possible that input clock is not available because clk
device was not available and 'clock-frequency' DT property is
also not available.
In this case, instead of failing we should just skip baudrate
config by returning zero.
Signed-off-by: Atish Patra
Signed-off-by: Anu
This patch adds fixed-factor clock driver which derives clock
rate by dividing (div) and multiplying (mult) fixed factors
to a parent clock.
Signed-off-by: Atish Patra
Signed-off-by: Anup Patel
---
arch/sandbox/dts/test.dts | 8
drivers/clk/Makefile | 4 +-
drivers/clk/clk
From: Atish Patra
The readme guide describes the procedure to build, flash and boot Linux
using U-boot on HiFive Unleashed. It also explains the current state of
U-boot support and future action items.
Signed-off-by: Atish Patra
Signed-off-by: Anup Patel
---
doc/README.sifive-fu540 | 302
From: Atish Patra
Fix MID bit field check to correctly identify all GEM hardwares.
The check is updated as per macb driver in Linux location:
/drivers/net/ethernet/cadence/macb_main.c:259
Signed-off-by: Atish Patra
Signed-off-by: Anup Patel
Reviewed-by: Alexander Graf
Reviewed-by: Lukas Auer
From: Atish Patra
Compute the baud rate multipler with more precision.
Signed-off-by: Atish Patra
Signed-off-by: Anup Patel
Reviewed-by: Alexander Graf
Reviewed-by: Lukas Auer
---
drivers/serial/serial_sifive.c | 28 ++--
1 file changed, 26 insertions(+), 2 deletions
Add driver code for the SiFive FU540 PRCI IP block. This IP block
handles reset and clock control for the SiFive FU540 device and
implements SoC-level clock tree controls and dividers.
Based on code written by Wesley Terpstra
found in commit 999529edf517ed75b56659d456d221b2ee56bb60 of:
https://g
Don't fail in macb_enable_clk() if clk_enable() returns
-ENOSYS because we get -ENOSYS for fixed-rate clocks.
Signed-off-by: Anup Patel
Reviewed-by: Bin Meng
---
drivers/net/macb.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/net/macb.c b/drivers/net/macb
This patch adds asm/dma-mapping.h for Linux-like DMA mappings
APIs required by some of the drivers (such as, Cadance MACB
Ethernet driver).
Signed-off-by: Anup Patel
Reviewed-by: Bin Meng
Reviewed-by: Alexander Graf
Reviewed-by: Lukas Auer
---
arch/riscv/include/asm/dma-mapping.h | 38 +++
On 64bit systems, the DRAM top can be easily beyond 4GB and U-Boot
DMA mapping APIs will generate DMA addresses beyond 4GB. This
breaks DMA programming in 32bit DMA capable devices (such as
Cadence MACB ethernet). For example, If DRAM is more then 2GB
on QEMU sifive_u machine then Cadence MACB ethe
Some of the drivers expect asm/arch/clk.h to be provided by
arch support code so we add place-holder asm/arch/clk.h for
RISC-V support.
Signed-off-by: Anup Patel
---
arch/riscv/include/asm/arch/clk.h | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 arch/riscv/include/asm
The QEMU CPU support under arch/riscv is pretty much generic
and works fine for SiFive Unleashed as well. In fact, there
will be quite a few RISC-V SOCs for which QEMU CPU support
will work fine.
This patch renames cpu/qemu to cpu/generic to indicate the
above fact. If there are SOC specific errat
Currently, the mrproper make target tries to force remove all
"arch/*/include/asm/arch" paths assuming they are symlinks but
this prevents us from adding place-holder headers under the
arch/riscv/include/asm/arch directory.
To solve this, we fix mrproper make target to only remove
"arch/*/include/
We will be adding place-holder headers under include/asm/arch
for RISC-V so this patch updates .gitignore to not consider
files under arch/riscv/include/asm/arch
Signed-off-by: Anup Patel
---
arch/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/.gitignore b/arch/.gitignore
in
This patchset adds SiFive Freedom Unleashed (FU540) support
to RISC-V U-Boot.
The patches are based upon latest RISC-V U-Boot tree
(git://git.denx.de/u-boot-riscv.git) at commit id
91882c472d8c0aef4db699d3f2de55bf43d4ae4b
All drivers namely: SiFive PRCI, SiFive Serial, and Cadance
MACB Ethernet w
> -Original Message-
> From: Anup Patel
> Sent: Tuesday, February 5, 2019 6:34 PM
> To: Rick Chen ; Bin Meng ;
> Joe Hershberger ; Michal Simek
> ; Michal Simek ; Lukas Auer
> ; Masahiro Yamada
> ; Simon Glass
> Cc: Alexander Graf ; Palmer Dabbelt ;
> Paul Walmsley ; Atish Patra
> ; Anup
On Fri, Feb 08, 2019 at 11:19:46AM +0100, Marek Vasut wrote:
> SD/MMC and filesystem fixes below ...
>
> The following changes since commit e5fd39c886485e3dec77f4438a6e364c2987cf5f:
>
> Merge tag 'for-master-20190201' of git://git.denx.de/u-boot-rockchip
> (2019-02-02 10:11:20 -0500)
>
> are
On Mon, Jan 28, 2019 at 05:13:55PM +0800, Shawn Guo wrote:
> It adds the driver for HIGMACV300 Ethernet controller found on HiSilicon
> SoCs like Hi3798CV200. It's based on a downstream U-Boot driver, but
> quite a lot of code gets rewritten and cleaned up to adopt driver model
> and PHY API.
>
On Fri, 2019-02-08 at 21:36 +0100, Simon Goldschmidt wrote:
>
>
> Am Fr., 8. Feb. 2019, 21:28 hat Dalon L Westergreen <
> dalon.westergr...@linux.intel.com> geschrieben:
> > On Thu, 2019-02-07 at 22:23 +0100, Simon Goldschmidt wrote:
> > > To clean up reset handling for socfpga gen5, let's move t
Hi Lukasz
On Fri, 2019-02-08 at 22:42 +0100, Lukasz Majewski wrote:
> Hi Marcel,
>
> > From: Bhuvanchandra DV
> >
> > Switch to the generic compressed Kernel image type (zImage) instead
> > of
> > the U-Boot specific uImage format.
> >
>
> I would recommend switching to use fitImage instead o
Hi Marcel,
> From: Bhuvanchandra DV
>
> Switch to the generic compressed Kernel image type (zImage) instead of
> the U-Boot specific uImage format.
>
I would recommend switching to use fitImage instead of zImage.
You can look on display5 board for a reference.
> While at it also fix device t
On Fri, Feb 08, 2019 at 10:05:41PM +0100, Simon Goldschmidt wrote:
> On Fri, Feb 8, 2019 at 8:46 PM Tom Rini wrote:
> >
> > On Wed, Nov 28, 2018 at 09:52:45PM +0100, Simon Goldschmidt wrote:
> >
> > > SPL currently does not check uImage CRCs when loading U-Boot.
> > >
> > > This patch adds checkin
On Fri, Feb 8, 2019 at 8:46 PM Tom Rini wrote:
>
> On Wed, Nov 28, 2018 at 09:52:45PM +0100, Simon Goldschmidt wrote:
>
> > SPL currently does not check uImage CRCs when loading U-Boot.
> >
> > This patch adds checking the uImage CRC when SPL loads U-Boot. It does
> > this by reusing the existing
Am Fr., 8. Feb. 2019, 21:28 hat Dalon L Westergreen <
dalon.westergr...@linux.intel.com> geschrieben:
> On Thu, 2019-02-07 at 22:23 +0100, Simon Goldschmidt wrote:
> > To clean up reset handling for socfpga gen5, let's move the code snippet
> > taking the DDR controller out of reset from SPL to th
On Fri, Feb 8, 2019 at 2:46 AM Pankaj Bansal wrote:
>
> if an error occurs in ldpaa_eth_init, need to free all resources
> before returning the error.
>
> Threfore, free net_dev before returning from ldpaa_eth_init.
>
> Signed-off-by: Pankaj Bansal
>
Acked-by: Joe Hershberger
__
On Wed, Nov 28, 2018 at 09:52:45PM +0100, Simon Goldschmidt wrote:
> SPL currently does not check uImage CRCs when loading U-Boot.
>
> This patch adds checking the uImage CRC when SPL loads U-Boot. It does
> this by reusing the existing config option SPL_CRC32_SUPPORT to allow
> leaving out the C
Remove the duplicate code in efi_do_enter() and use efi_start_image() to
start the image invoked by the bootefi command.
Signed-off-by: Heinrich Schuchardt
---
v2
use EFI_CALL
---
cmd/bootefi.c | 22 +-
include/efi_loader.h | 4
lib/efi_
If we want to properly unload images in Exit() the memory should always be
allocated in the same way. As we allocate memory when reading from file we
should do the same when the original image is in memory.
A further patch will be needed to free the memory when Exit() is called.
Signed-off-by: He
Up to now efi_load_pe() returns the entry point or NULL in case of an
error. This does not allow to return correct error codes from LoadImage().
Let efi_load_pe() return a status code and fill in the entry point in the
corresponding field of the image object.
Signed-off-by: Heinrich Schuchardt
-
This patch series starts the necessary changes needed to correctly
implement the unloading of images in Exit().
If we want to properly unload images in Exit() the memory should always be
allocated in the same way. As we allocate memory when reading from file we
should do the same when the original
Free resources upon failure.
Correct the function description.
As there is no need for any special address in the dummy memory device
path passed via the EFI_LOADED_IMAGE_PROTOCOL simply use 0 as address.
Signed-off-by: Heinrich Schuchardt
---
v2
new patch
---
cmd/bootefi.c | 58 ++
On 2/8/19 9:15 AM, AKASHI Takahiro wrote:
> Signed-off-by: AKASHI Takahiro
> ---
> include/efi_loader.h | 2 +-
> lib/efi_loader/efi_boottime.c | 61 +++
> 2 files changed, 35 insertions(+), 28 deletions(-)
>
> diff --git a/include/efi_loader.h b/include
On 2/8/19 9:15 AM, AKASHI Takahiro wrote:
> All efi objects are presented as DM devices, either existing device types
> or efi-specific, and efi_handle_t is an opaque pointer to "struct udevice."
>
> We still maintain efi_obj_list as it is quite inefficient to traverse
> the DM hierarchy to find a
From: Gerard Salvatella
The PMIC on the Colibri iMX6 may have ECC errors in fuses that will
prevent correct settings. Up to one bit error per fuse bank can be
reported and corrected by the ECC logic. Two bit errors can only be
reported.
Signed-off-by: Gerard Salvatella
Acked-by: Marcel Ziswiler
From: Max Krummenacher
Print also for Colibri iMX6 512MB IT with 64-bit RAM bus.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/colibri_imx6.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/toradex/colibri_imx6/colibri_imx6.c
b/board/tor
From: Stefan Agner
Add support for distro boot. This is especially helpful for external
devices. There is a global boot command which scans a predefined
list of boot targets:
run distro_bootcmd
As well as direct boot commands such as:
run bootcmd_mmc1
run bootcmd_usb
run bootcmd_dhcp
.
From: Sanchayan Maity
Use ext4 file system by default.
Signed-off-by: Sanchayan Maity
Acked-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
include/configs/colibri_imx6.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/colibri_imx6.h b/include/c
From: Max Krummenacher
This doesn't do anything anymore, probably never did.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/colibri_imx6.c | 7 ---
include/configs/colibri_imx6.h| 2 --
2 files changed, 9 deletions(-)
diff --git a/b
From: Stefan Agner
In case USB serial downloader has been used to load U-Boot start the
serial download protocol (SDP) emulation. This allows to download
complete images such as Toradex Easy Installer over USB SDP as well.
This code uses the boot ROM provided boot information to reliably
detect U
From: Gerard Salvatella
RGMII_RD1 pin (active high, GPIO6_IO27) is triggered on reboot during
the SPL phase. This asserts (active low) nReset_Out from the PMIC.
Only V1.1 and later Colibri iMX6 modules implement this in hw. Previous
versions do not use this pin, so it is safe to leave it enabled
From: Bhuvanchandra DV
Switch to the generic compressed Kernel image type (zImage) instead of
the U-Boot specific uImage format.
While at it also fix device tree naming for MMC DFU.
Signed-off-by: Bhuvanchandra DV
Acked-by: Marcel Ziswiler
---
include/configs/colibri_imx6.h | 22 ++
This series addresses some shortcomings, enables/introduces device tree
support and converts all except video to using the driver model. This is
fully tested both running our latest downstream BSP as well as the
mainline Linux kernel.
Bhuvanchandra DV (2):
toradex: colibri_imx6: overwrite CMA
From: Max Krummenacher
We have two commands to change the bootmode fuses:
mfgr_fuse which set fuse 0/5 and 0/6
and
updt_fuse which burns bit 4 of 0/5.
Before Image 2.6 we fused in mfgr_fuse 0x5062, which boots
from the user partition of the eMMC.
To workaround certain hangs we moved to fastboot
From: Marcel Ziswiler
Migrate I2C to using driver model.
Signed-off-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/colibri_imx6.c | 50 +
board/toradex/colibri_imx6/pf0100.c | 54 ---
configs/colibri_imx6_defconfig| 1 +
include/
From: Max Krummenacher
If the UART is used in DTE mode the RI and DCD bits in UCR3 become
irq enable bits. Both are set to enabled after reset and both likely
are pending.
Disable the bits also on UARTs not used in the boot loader to prevent
an interrupt storm when Linux enables the UART interru
From: Max Krummenacher
In the linux device tree we use 40Ohm drive strenght. So use the same
value in U-Boot.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/colibri_imx6.c | 24 +--
1 file changed, 14 insertions(+), 10 deletions(
From: Marcel Ziswiler
Migrate MMC to using driver model.
Signed-off-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/colibri_imx6.c | 38 +++
configs/colibri_imx6_defconfig| 1 +
2 files changed, 5 insertions(+), 34 deletions(-)
diff --git a/board/toradex/
From: Max Krummenacher
Colibri iMX6 V1.1 HW can use the PMIC GEN3 to power the NVCC_SD1.
Change the settings fused into the PMIC's OTP to powerup with
GEN3 set to output 3.3V.
Signed-off-by: Max Krummenacher
Acked-by: Stefan Agner
Acked-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/pf
From: Max Krummenacher
Keep debug code at the end of the function.
Use a one line informational message for the PMIC only.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/pf0100.c | 82 ++---
1 file changed, 41 insertions(+),
From: Marcel Ziswiler
Enable pin control driver as required for further driver model
migration.
Signed-off-by: Marcel Ziswiler
---
configs/colibri_imx6_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/colibri_imx6_defconfig b/configs/colibri_imx6_defconfig
index 27b85c
From: Marcel Ziswiler
Migrate to using device tree required for further driver model
integration.
Signed-off-by: Marcel Ziswiler
---
arch/arm/dts/imx6-colibri.dts | 411 +
board/toradex/colibri_imx6/MAINTAINERS | 2 +
configs/colibri_imx6_defconfig
From: Marcel Ziswiler
Now with SPL long since being in place even for recovery using SDP
finally get rid of those nospl configurations.
Signed-off-by: Marcel Ziswiler
---
.../toradex/colibri_imx6/800mhz_2x64mx16.cfg | 58 ---
.../toradex/colibri_imx6/800mhz_4x64mx16.cfg | 58 --
From: Bhuvanchandra DV
Make sure CMA memory is not greater than 50% of available physical
memory.
Allow user to change the CMA memory via 'cma-size' U-Boot environment
variable.
Signed-off-by: Bhuvanchandra DV
Acked-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/colibri_imx6.c | 14 +++
From: Marcel Ziswiler
Enbale FIT image, GPT command, i.MX thermal and EFI loader support.
Signed-off-by: Marcel Ziswiler
---
configs/colibri_imx6_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs/colibri_imx6_defconfig b/configs/colibri_imx6_defconfig
i
From: Marcel Ziswiler
Migrate PMIC and regulator to using driver model.
Signed-off-by: Marcel Ziswiler
---
configs/colibri_imx6_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/colibri_imx6_defconfig b/configs/colibri_imx6_defconfig
index dea6ca6270..6fd050a99f 10
From: Marcel Ziswiler
Migrate USB to using driver model.
Signed-off-by: Marcel Ziswiler
---
board/toradex/colibri_imx6/colibri_imx6.c | 23 +--
configs/colibri_imx6_defconfig| 1 +
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/board/toradex/
From: Marcel Ziswiler
Remove obsolete USB_GADGET_MASS_STORAGE configuration.
Signed-off-by: Marcel Ziswiler
---
include/configs/colibri_imx6.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index 9e45d63245..f029a885d2 100
From: Marcel Ziswiler
Migrate GPIOs to using driver model, properly request backlight, MMC/SD
card detect and USB power enable GPIOs and also enable SION bit in pin
muxing for auxiliary, backlight and USB power enable GPIOs.
While at it also update copyright year, clean-up/re-order includes, add
From: Marcel Ziswiler
Use distro defaults and minimise default configuration again using
savedefconfig.
Signed-off-by: Marcel Ziswiler
---
configs/colibri_imx6_defconfig | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/configs/colibri_imx6_defconfig b/configs/
From: Marcel Ziswiler
Move console in env from header file to defconfig.
While at it also update copyright year.
Signed-off-by: Marcel Ziswiler
---
configs/colibri_imx6_defconfig | 1 +
include/configs/colibri_imx6.h | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/co
This patch serie add a new configuration
stm32mp15_trusted_defconfig to handle STM32MP157 boards
with TF-A as secure first stage bootloader.
TF-A code is available in GitHub
https://github.com/ARM-software/arm-trusted-firmware
With platform stm32mp1 platform
https://github.com/ARM-software/arm-t
Now that generic helpers are available, use those instead of relying on
ti specific functions.
Signed-off-by: Carlo Caione
Signed-off-by: Vladimir Oltean
Acked-by: Joe Hershberger
---
drivers/net/phy/ti.c | 130 +--
1 file changed, 25 insertions(+), 105
Switch to use the generic helpers to access the MMD registers so that we
can used the same command also for C45 PHYs, C22 PHYs with direct and
indirect access and PHYs implementing a custom way to access the
registers.
Signed-off-by: Carlo Caione
---
cmd/mdio.c | 27 ---
Implement checkboard() function to display
- the boot chain used: basic or trusted
- the board compatible in device tree
- the board identifier and revision, saved in OTP59 for ST boards
Signed-off-by: Patrick Delaunay
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-stm32mp/include/m
Two new helper functions (phy_read_mmd() and phy_write_mmd()) are added
to allow access to the MMD PHY registers.
The MMD PHY registers can be accessed by several means:
1. Using two new MMD access function hooks in the PHY driver. These
functions can be implemented when the PHY driver does not s
Introduce phy_{read|write}_mmd() helpers and modify the mdio command to
make good use of them. Fix the ti driver in the same patchset.
Carlo Caione (3):
net: phy: Add generic helpers to access MMD PHY registers
net: phy: ti: use generic helpers to access MMD registers
cmd: mdio: Switch to g
Add support of trusted boot, using TF-A as first stage bootloader,
The boot sequence is
BootRom >=> TF-A.stm32 (clock & DDR) >=> U-Boot.stm32
The TF-A monitor provides secure monitor with support of SMC
- proprietary to manage secure devices (BSEC for example)
- PSCI for power
The same device t
As BSEC is secure aware, all register access need to be done
by TF-A for TRUSTED boot chain, when U-Boot is executed in
normal world.
Signed-off-by: Patrick Delaunay
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-stm32mp/bsec.c | 28 ++
arch/arm/mach-stm
Add support of trusted boot, using TF-A as first stage bootloader,
The boot sequence is
BootRom >=> TF-A.stm32 (clock & DDR) >=> U-Boot.stm32
The TF-A monitor provides secure monitor with support of SMC
- proprietary to manage secure devices (BSEC for example)
- PSCI for power
The same device t
This patch serie add a new configuration
stm32mp15_trusted_defconfig to handle STM32MP157 boards
with TF-A as secure first stage bootloader.
TF-A code is available in GitHub
https://github.com/ARM-software/arm-trusted-firmware
With platform stm32mp1 platform
https://github.com/ARM-software/arm-t
From: Marcel Ziswiler
Switch to the generic compressed Kernel image type (zImage) instead of
the U-Boot specific uImage format.
While at it also fix device tree naming for MMC DFU.
Signed-off-by: Bhuvanchandra DV
Acked-by: Marcel Ziswiler
---
Changes in v2:
- Also fix device tree naming for
Implement checkboard() function to display
- the boot chain used: basic or trusted
- the board compatible in device tree
- the board identifier and revision, saved in OTP59 for ST boards
Signed-off-by: Patrick Delaunay
---
Changes in v2: None
arch/arm/mach-stm32mp/include/mach/stm32.h | 4 +++
From: Sanchayan Maity
Use ext4 file system by default.
Signed-off-by: Sanchayan Maity
Acked-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
Changes in v2: None
include/configs/apalis_imx6.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/apalis
Add support of clk dump command and
display information during probe (under CONFIG_DISPLAY_CPUINFO).
Signed-off-by: Patrick Delaunay
---
Changes in v2: None
configs/stm32mp15_basic_defconfig | 1 +
configs/stm32mp15_trusted_defconfig | 1 +
drivers/clk/clk_stm32mp1.c | 83
From: Stefan Agner
In case USB serial downloader has been used to load U-Boot start the
serial download protocol (SDP) emulation. This allows to download
complete images such as Toradex Easy Installer over USB SDP as well.
This code uses the boot ROM provided boot information to reliably
detect U
From: Max Krummenacher
We have two commands to change the bootmode fuses:
mfgr_fuse which set fuse 0/5 and 0/6
and
updt_fuse which burns bit 4 of 0/5.
Before BSP 2.6 we fused in mfgr_fuse 0x5062, which boots
from the user partition of the eMMC.
To workaround certain hangs we moved to fastboot mo
From: Marcel Ziswiler
Now with SPL long since being in place even for recovery using SDP
finally get rid of those nospl configurations.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
.../toradex/apalis_imx6/1066mhz_4x128mx16.cfg | 47 -
.../toradex/apalis_imx6/1066mhz_4x256m
From: Marcel Ziswiler
Add support for distro boot. This is especially helpful for external
devices. There is a global boot command which scans a predefined
list of boot targets:
run distro_bootcmd
As well as direct boot commands such as:
run bootcmd_mmc1
run bootcmd_mmc2
run bootcmd_usb
From: Marcel Ziswiler
Migrate PMIC and regulator to using driver model.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
configs/apalis_imx6_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig
index 60c4d97
From: Max Krummenacher
If the UART is used in DTE mode the RI and DCD bits in UCR3 become
irq enable bits. Both are set to enabled after reset and both likely
are pending.
Disable the bits also on UARTs not used in the boot loader to prevent
an interrupt storm when Linux enables the UART interru
This series addresses some shortcomings, enables/introduces device tree
support and converts all except video to using the driver model. This is
fully tested both running our latest downstream BSP as well as the
mainline Linux kernel.
Changes in v2:
- Remove spurious mentioning of DFU MMC both in
As BSEC is secure aware, all register access need to be done
by TF-A for TRUSTED boot chain, when U-Boot is executed in
normal world.
Signed-off-by: Patrick Delaunay
---
Changes in v2: None
arch/arm/mach-stm32mp/bsec.c | 28 ++
arch/arm/mach-stm32mp/include/mach/st
From: Max Krummenacher
In the Linux device tree we use 40Ohm drive strength. So use the same
value in U-Boot.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
Changes in v2: None
board/toradex/apalis_imx6/apalis_imx6.c | 24 ++--
1 file changed, 14 insertio
From: Marcel Ziswiler
This doesn't do anything anymore, probably never did.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
Changes in v2: None
board/toradex/apalis_imx6/apalis_imx6.c | 7 ---
include/configs/apalis_imx6.h | 2 --
2 files changed, 9 deletions(-)
From: Marcel Ziswiler
Migrate USB to using driver model.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
board/toradex/apalis_imx6/apalis_imx6.c | 22 --
configs/apalis_imx6_defconfig | 1 +
2 files changed, 1 insertion(+), 22 deletions(-)
diff --git a
From: Gerard Salvatella
The PMIC on Apalis iMX6 may have ECC errors in fuses that will prevent
correct settings. Up to one bit error per fuse bank may be reported and
corrected by the ECC logic. Two bit errors can only be reported.
Signed-off-by: Gerard Salvatella
Acked-by: Marcel Ziswiler
--
From: Marcel Ziswiler
Migrate MMC and SATA to using driver model.
While at it also enable SCSI driver model.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
board/toradex/apalis_imx6/apalis_imx6.c | 98 +++--
configs/apalis_imx6_defconfig | 3 +
includ
From: Max Krummenacher
During porting to 2016.11 the check of a SD (mmc2) interface
was dropped, this was unintended.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
Changes in v2: None
include/configs/apalis_imx6.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
From: Marcel Ziswiler
Migrate to using device tree required for further driver model
integration.
Signed-off-by: Marcel Ziswiler
---
Changes in v2:
- Use GPL-2.0+ OR X11 instead of GPL-2.0 OR MIT to be more consistent
with all our other device trees.
- Further comments and white-space clean
From: Marcel Ziswiler
Keep debug code at the end of the function.
Use a one line informational message for the PMIC only.
Signed-off-by: Max Krummenacher
Acked-by: Marcel Ziswiler
---
Changes in v2: None
board/toradex/apalis_imx6/pf0100.c | 110 +++--
1 file changed
From: Marcel Ziswiler
Remove obsolete USB_GADGET_MASS_STORAGE configuration.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
include/configs/apalis_imx6.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index a1ba16fc
From: Marcel Ziswiler
Migrate GPIOs to using driver model, properly request backlight,
Ethernet PHY reset, MMC/SD card detect and USB power GPIOs and also
enable SION bit in pin muxing for Apalis, backlight, eMMC reset,
Ethernet PHY reset and USB power enable GPIOs.
While at it also update copyr
From: Marcel Ziswiler
Migrate I2C to using driver model.
Signed-off-by: Marcel Ziswiler
---
Changes in v2:
- Also update copyright year in PMIC header file.
- And drop compiler.h include.
board/toradex/apalis_imx6/apalis_imx6.c | 88 +
board/toradex/apalis_imx6/pf010
From: Marcel Ziswiler
Enable pin control driver as required for further driver model
migration.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
configs/apalis_imx6_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defc
From: Marcel Ziswiler
Move console in env from header file to defconfig.
While at it also update copyright year and remove spurious comments and
new lines.
Signed-off-by: Marcel Ziswiler
---
Changes in v2:
- Remove spurious mentioning of DFU MMC both in subject as well as
description.
co
From: Marcel Ziswiler
Use distro defaults and minimise default configuration again using
savedefconfig.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
configs/apalis_imx6_defconfig | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/configs/apalis_imx6_d
From: Marcel Ziswiler
Enbale FIT image, GPT command, i.MX thermal and EFI loader support.
Signed-off-by: Marcel Ziswiler
---
Changes in v2: None
configs/apalis_imx6_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs/apalis_imx6_defconfig b/configs/apali
Define CONFIG_SPL_LOAD_FIT_ADDRESS to enable SPL-DFU for am57x platform.
Signed-off-by: Bin Liu
---
include/configs/am57xx_evm.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index d61fdf9f7a36..70aa4250605b 100644
--
1 - 100 of 152 matches
Mail list logo