On Thu, Oct 03, 2019 at 07:50:24PM +0200, Miquel Raynal wrote:
> It is already the case that all defconfigs with SPI_FLASH_MTD also
> declare using MTD, but let's make this consistent and enforce it in
> Kconfig. Most of the time SPI_FLASH_MTD is used in conjunction with
> UBI, which already
This supports i2c DM and enables CONFIG_DM_I2C
for SoC LS1012A
Signed-off-by: Biwen Li
---
Changes in v3:
- none
Changes in v2:
- merge some patches to one patch
arch/arm/include/asm/gpio.h | 1 +
board/freescale/ls1012aqds/ls1012aqds.c | 20 ++-
On 11/6/19 12:07 AM, Joe Hershberger wrote:
On Tue, Nov 5, 2019 at 5:49 AM Heinrich Schuchardt wrote:
sandbox_defconfig does not compile using GCC 9.2.1:
net/net.c: In function ‘net_process_received_packet’:
net/net.c:1288:23: error: taking address of packed member of ‘struct
ip_udp_hdr’ may
Function fetch_tftp_file() in test/py/tests/test_efi_loader.py expects that
the dictionary describing a file contains an entry 'addr' specifying the
loading address. Otherwise it defaults to the start of RAM. On
qemu_arm64_defconfig and qemu_arm_defconfig this collides with the hardware
supplied
On Thu, Oct 03, 2019 at 07:50:05PM +0200, Miquel Raynal wrote:
> Like in Linux, just use CONFIG_MTD to compile the MTD stack.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
After re-running the migration:
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description:
> -Original Message-
> From: Ramon Fried
> Sent: 2019年12月4日 15:34
> To: Xiaowei Bao
> Cc: Ramon Fried ; Hongbo Wang
> ; u-boot@lists.denx.de; York Sun
> ; Z.q. Hou ; Mingkai Hu
>
> Subject: Re: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support
> for ls2088 PCIe EP mode
>
>-Original Message-
>From: Biwen Li
>Sent: Thursday, December 5, 2019 11:41 AM
>To: Jagdish Gediya ; Priyanka Jain
>; h...@denx.de; ja...@amarulasolutions.com;
>aford...@gmail.com; Alison Wang ;
>bhaskar.upadh...@nxp.com; feng.l...@nxp.com; jh80.ch...@samsung.com;
>Pramod Kumar ;
>-Original Message-
>From: Biwen Li
>Sent: Thursday, December 5, 2019 11:41 AM
>To: Jagdish Gediya ; Priyanka Jain
>; h...@denx.de; ja...@amarulasolutions.com;
>aford...@gmail.com; Alison Wang ;
>bhaskar.upadh...@nxp.com; feng.l...@nxp.com; jh80.ch...@samsung.com;
>Pramod Kumar ;
Set the load address for files to the value of $kernel_addr_r for the
qemu_arm64_defconfig and qemu_arm_defconfig boards to avoid collisions with
the device tree.
Signed-off-by: Heinrich Schuchardt
---
py/travis-ci/u_boot_boardenv_qemu_arm64_na.py | 6 +++---
Hi Bin,
On Sun, 1 Dec 2019 at 22:26, Bin Meng wrote:
>
> Hi Simon,
>
> On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote:
> >
> > Add a driver for the Apollo Lake UART. It uses the standard ns16550 device
> > but also sets up the input clock with LPSS and supports configuration via
> >
This supports driver model for pcf8563
Signed-off-by: Biwen Li
---
Changes in v3:
- update commit messages
Changes in v2:
- none
drivers/rtc/pcf8563.c | 107 ++
1 file changed, 107 insertions(+)
diff --git a/drivers/rtc/pcf8563.c
Function fetch_tftp_file() in test/py/tests/test_efi_loader.py expects that
the dictionary describing a file contains an entry 'addr' specifying the
loading address.
Add an optional parameter in function file2env() to set the 'addr' entry.
Signed-off-by: Heinrich Schuchardt
---
>-Original Message-
>From: Biwen Li
>Sent: Thursday, December 5, 2019 11:41 AM
>To: Jagdish Gediya ; Priyanka Jain
>; h...@denx.de; ja...@amarulasolutions.com;
>aford...@gmail.com; Alison Wang ;
>bhaskar.upadh...@nxp.com; feng.l...@nxp.com; jh80.ch...@samsung.com;
>Pramod Kumar ;
>-Original Message-
>From: Biwen Li
>Sent: Thursday, December 5, 2019 11:40 AM
>To: Jagdish Gediya ; Priyanka Jain
>; h...@denx.de; ja...@amarulasolutions.com;
>aford...@gmail.com; Alison Wang ;
>bhaskar.upadh...@nxp.com; feng.l...@nxp.com; jh80.ch...@samsung.com;
>Pramod Kumar ;
This supports i2c DM and enables CONFIG_DM_I2C
for SoC LS1046A
Signed-off-by: Biwen Li
---
Changes in v3:
- none
Changes in v2:
- merge some patches to one patch
arch/arm/dts/fsl-ls1046a-frwy.dts | 3 ++
arch/arm/dts/fsl-ls1046a-qds.dtsi | 4 ++
This supports i2c DM and enables CONFIG_DM_I2C
for SoC LS1021A
Signed-off-by: Biwen Li
---
Changes in v3:
- none
Changes in v2:
- merge some patches to one patch
board/freescale/common/dcu_sii9022a.c | 94 +++
board/freescale/common/diu_ch7301.c
This supports i2c DM and enables CONFIG_DM_I2C
for SoC LS1043A
Signed-off-by: Biwen Li
---
Changes in v3:
- none
Changes in v2:
- merge some patches to one patch
arch/arm/include/asm/gpio.h | 2 +-
board/freescale/ls1043aqds/ls1043aqds.c | 97
The default value of CONFIG_SYS_MALLOC_F_LEN (0x400)
leaves U-Boot with not enough memory to load i2c driver
before relocate, causing it to hang.
Change the default value of CONFIG_SYS_MALLOC_F_LEN
for below SoCs,
- LS1012A
- LS1021A
- LS1043A
- LS1046A
Signed-off-by: Biwen Li
---
Changes in
This adds DM_FLAG_PRE_RELOC flag to probe i2c driver
before relocation
Signed-off-by: Biwen Li
---
Changes in v3:
- none
Changes in v2:
- none
drivers/i2c/mxc_i2c.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index
Fix below SPL build error when DM_I2C is enabled,
- arch/arm/cpu/armv8/built-in.o: In function `board_init_f:
arch/arm/cpu/armv8/fsl-layerscape/spl.c:74: undefined reference to
`i2c_init_all'
arch/arm/cpu/armv8/fsl-layerscape/spl.c:74:(.text.board_init_f+0x30):
relocation truncated to fit:
On Thu, Oct 03, 2019 at 07:50:14PM +0200, Miquel Raynal wrote:
> In some files, options of CMD_NAND are selected but not the command
> itself. Fix this inconsistency.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Hi BIn,
On Sun, 1 Dec 2019 at 22:26, Bin Meng wrote:
>
> Hi Simon,
>
> On Mon, Nov 25, 2019 at 12:12 PM Simon Glass wrote:
> >
> > Add a driver for the Apollo Lake SoC. It supports the basic operations and
> > can use device tree or of-platdata.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
>
From: Bharat Kumar Reddy Gooty
Programs the following:
1. Redistributor PROCBASER configuration table (which
is common for all redistributors)
2. Redistributor pending table (PENDBASER), for all the
available redistributors.
Signed-off-by: Bharat Kumar Reddy Gooty
Signed-off-by: Vladimir
On Thu, Oct 03, 2019 at 07:50:22PM +0200, Miquel Raynal wrote:
> CONFIG_DFU_NAND needs the raw NAND core being compiled.
>
> Also fix the colibri_vf defconfig to reflect this dependency.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
Applied to u-boot/master, thanks!
--
>-Original Message-
>From: U-Boot On Behalf Of Alex Marginean
>Sent: Wednesday, December 4, 2019 7:02 PM
>To: u-boot@lists.denx.de
>Cc: Joe Hershberger
>Subject: [PATCH 2/2] drivers: net: phy: aquantia: make it less verbose
>
>The driver now unconditionally prints some information
On Thu, Oct 03, 2019 at 07:50:08PM +0200, Miquel Raynal wrote:
> MTD must be enabled when there is a SPI NOR flash using the
> SPI_FLASH_MTD config entry.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description:
Hi Simon,
On Thu, Dec 5, 2019 at 12:28 PM Simon Glass wrote:
>
> Hi Bin,
>
> On Mon, 25 Nov 2019 at 08:11, Bin Meng wrote:
> >
> > Hi Simon,
> >
> > On Mon, Nov 25, 2019 at 12:11 PM Simon Glass wrote:
> > >
> > > These functions are used by code outside the network support, so move them
> > >
>-Original Message-
>From: U-Boot On Behalf Of Alex Marginean
>Sent: Wednesday, December 4, 2019 7:02 PM
>To: u-boot@lists.denx.de
>Cc: Joe Hershberger
>Subject: [PATCH 1/2] drivers: net: phy: aquantia: drop XGMII as a valid system
>interface proto
>
>Use either USXGMII or XFI in
On Thu, Oct 03, 2019 at 07:50:03PM +0200, Miquel Raynal wrote:
> Add more clarity by changing the Kconfig entry name.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
After re-running the migration:
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
Hi Bin,
On Mon, 25 Nov 2019 at 08:14, Bin Meng wrote:
>
> Hi Simon,
>
> On Mon, Nov 25, 2019 at 12:11 PM Simon Glass wrote:
> >
> > Drivers are not allowed to use static data since they may be used in SPL
> > where BSS is not available.
> >
> > It is possible that driver model may provide
Hi Bin,
On Mon, 25 Nov 2019 at 08:11, Bin Meng wrote:
>
> Hi Simon,
>
> On Mon, Nov 25, 2019 at 12:11 PM Simon Glass wrote:
> >
> > These functions are used by code outside the network support, so move them
> > to lib/ to be more accessible.
> >
> > Without this, the functions are only
On Sun, 24 Nov 2019 at 18:48, Bin Meng wrote:
>
> On Mon, Nov 25, 2019 at 9:45 AM Masahiro Yamada
> wrote:
> >
> > The suffix should be ".bin" instead of ".dtb" .
> >
> > Signed-off-by: Masahiro Yamada
> > ---
> >
> > tools/binman/README.entries | 2 +-
> > 1 file changed, 1 insertion(+), 1
On Fri, Oct 25, 2019 at 07:39:31PM +0200, Miquel Raynal wrote:
> Move MTD-related lines out of the root Makefile. Put them in their
> respective directories. Enclose some of these new lines to skip them
> when building the SPL. MTD core files and some MTD device drivers are
> compiled in a mtd.o
On Fri, Oct 25, 2019 at 07:39:30PM +0200, Miquel Raynal wrote:
> Defconfigs have been fixed, now we can add proper dependencies in
> Kconfig. SPI FLASH is still not dependent on MTD (deeper rework needed).
>
> Signed-off-by: Miquel Raynal
Applied to u-boot/master, thanks!
--
Tom
On Fri, Oct 25, 2019 at 07:39:29PM +0200, Miquel Raynal wrote:
> The 'sf' command is not supposed to rely on the MTD stack, but both
> 'sf' and 'nand' commands use helpers located in mtd_uboot.c. Despite
> their location, these functions do not depend at all on the MTD
> stack.
>
> This file
On Thu, Oct 03, 2019 at 07:50:25PM +0200, Miquel Raynal wrote:
> Move the Kconfig entry of the option right after the entry of the
> mtdparts command.
>
> Signed-off-by: Miquel Raynal
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Thu, Oct 03, 2019 at 07:50:21PM +0200, Miquel Raynal wrote:
> Because of the include's game, when some files are compiled for a SPI
> NAND device, no warning appears. But when it is for a raw NAND device,
> GCC complains. Fix these warning by including .
>
> Signed-off-by: Miquel Raynal
>
On Thu, Oct 03, 2019 at 07:50:19PM +0200, Miquel Raynal wrote:
> There is no flash on this board, there is no reason to define MTD
> environment variables nor UBI. Drop them from the configuration file.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Wolfgang Grandegger
Applied to
On Thu, Oct 03, 2019 at 07:50:23PM +0200, Miquel Raynal wrote:
> A NOR flash needs the MTD core, ensure this dependency is met by
> adding a "depends on" in Kconfig. This is fine since defconfigs have
> been fixed.
>
> Signed-off-by: Miquel Raynal
This is not correct and has been dropped (same
On Thu, Oct 03, 2019 at 07:50:09PM +0200, Miquel Raynal wrote:
> UBI must be enabled when using fastmap, reflect this is defconfigs.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Thu, Oct 03, 2019 at 07:50:06PM +0200, Miquel Raynal wrote:
> CONFIG_MTD must be enabled when there is a NOR flash selected.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
This is not applied. On deeper inspection of the overall changes, there
are a number of cases and
On Thu, Oct 03, 2019 at 07:50:04PM +0200, Miquel Raynal wrote:
> CONFIG_MTD must be reserved for the MTD core. Like any other
> subsystem, prefix the symbol by DM when it comes to DM support.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
After re-running the migration:
On Wed, Dec 04, 2019 at 06:57:53PM +0100, Marek Vasut wrote:
> The following changes since commit 94d022bb400890f22fe35220d2519c3bce73f05e:
>
> Merge tag 'efi-2020-01-rc5' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-efi (2019-12-03 18:12:58
> -0500)
>
> are available in the Git
On Thu, Oct 03, 2019 at 07:50:18PM +0200, Miquel Raynal wrote:
> While the right Kconfig entries were selected, because of the missing
> CMD_NAND symbol the raw NAND core was never compiled. Remove it from
> the defconfigs otherwise the build will fail.
>
> Signed-off-by: Miquel Raynal
Applied
On Thu, Oct 03, 2019 at 07:50:17PM +0200, Miquel Raynal wrote:
> Due to previous Makefile organization, the raw NAND subdirectory was
> not compiled in if CMD_NAND was not enabled. Because the Denali driver
> does not compile with these boards (undefined environment offset),
> remove the
On Thu, Oct 03, 2019 at 07:50:16PM +0200, Miquel Raynal wrote:
> Let's be consistent and always declare CONFIG_MTD from the defconfig
> file when needed.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
On Thu, Oct 03, 2019 at 07:50:15PM +0200, Miquel Raynal wrote:
> MTD support must be enabled when using mtdparts. Indeed, functions
> like get_mtd_info(), get_mtd_device() and put_mtd_device() are in
> drivers/mtd/mtd_uboot.c and are built only with CONFIG_MTD.
>
> Signed-off-by: Miquel Raynal
On Thu, Oct 03, 2019 at 07:50:13PM +0200, Miquel Raynal wrote:
> Raw NAND support must be enabled when the environment is in NAND.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Thu, Oct 03, 2019 at 07:50:11PM +0200, Miquel Raynal wrote:
> UBI must be enabled when CMD_UBI is used, this is mandatory and will
> later be reflected thanks to a "depends on" in Kconfig. But first,
> defconfigs needs to be fixed.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris
On Thu, Oct 03, 2019 at 07:50:10PM +0200, Miquel Raynal wrote:
> MTD must be enabled when UBI is used, this is mandatory and will later
> be reflected thanks to a "depends on" in Kconfig. But first,
> defconfigs need to be fixed.
>
> Signed-off-by: Miquel Raynal
> Reviewed-by: Boris Brezillon
On Thu, Oct 03, 2019 at 07:50:07PM +0200, Miquel Raynal wrote:
> Both symbols must be enabled when there is a raw NAND driver
> selected. Also enable them when CONFIG_CMD_NAND is selected to avoid
> breaking things when we'll further rework the MTD dependency
> description.
>
> Signed-off-by:
On Thu, Oct 03, 2019 at 07:50:02PM +0200, Miquel Raynal wrote:
> Hello,
>
> A year ago, while working on SPI-NAND support in U-Boot, I discovered
> when modifying Makefiles a confusing organization where:
> * Sub-directories/files are compiled from the root Makefile
> * Commands are at the root
On Thu, Dec 5, 2019 at 7:54 AM Tom Rini wrote:
>
> With the change to make tools/version.h a file we need to make sure that
> the output directory exists first otherwise we will get a build failure.
>
> Reported-by: Peter Robinson
> Tested-by: Peter Robinson
> Fixes: 4d90f6cd9813 ("tools: Avoid
On Wed, Dec 04, 2019 at 05:28:59PM +0900, AKASHI Takahiro wrote:
> On Wed, Dec 04, 2019 at 08:31:26AM +0100, Heinrich Schuchardt wrote:
> > On 12/4/19 3:43 AM, AKASHI Takahiro wrote:
> > >Tom, Simon, Heinrich,
> > >
> > >I have submitted three major patch sets for UEFI secure boot:
> > >*
With the change to make tools/version.h a file we need to make sure that
the output directory exists first otherwise we will get a build failure.
Reported-by: Peter Robinson
Tested-by: Peter Robinson
Fixes: 4d90f6cd9813 ("tools: Avoid creating symbolic links for tools/version.h")
Signed-off-by:
This driver assumes that lpuart clock is already enabled before probing
but using DM only lpuart won't be automatically enabled so add
clk_enable() when probing if CONFIG_CLK is defined.
Signed-off-by: Giulio Benetti
---
drivers/serial/serial_lpuart.c | 13 +
1 file changed, 13
On Wed, Dec 4, 2019 at 8:37 PM Tom Rini wrote:
>
> On Wed, Dec 04, 2019 at 03:53:01PM +, Peter Robinson wrote:
> > > > Commit 4d90f6cd9813 breaks parallel builds in 2020.01-rc series. This
> > > > fixes the issue, reverting it also fixes it. Not sure which is the best
> > > > route.
> > > >
>
Hello all,
On 12/4/19 6:44 PM, Giulio Benetti wrote:
Add dtsi file for i.MXRT1050.
Signed-off-by: Giulio Benetti
---
arch/arm/dts/imxrt1050.dtsi | 146 +++
include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++
2 files changed, 1139 insertions(+)
create
Not all architectures(i.e. i.MXRT) support mxc_get_clock() and use DM_CLK
instead. So building could result in failure due to missing
mxc_get_clock().
Make if(CONFIG_IS_ENABLED(CLK)) an #if statement.
Signed-off-by: Giulio Benetti
---
drivers/mmc/fsl_esdhc_imx.c | 38
This commit adds board support for i.MXRT1050-EVK from NXP. This board
is an evaluation kit provided by NXP for i.MXRT105x processor family.
More information about this board can be found here:
Add SDRAM driver for i.MXRT SoCs.
Signed-off-by: Giulio Benetti
---
drivers/ram/Kconfig | 8 +
drivers/ram/Makefile | 2 +
drivers/ram/imxrt_sdram.c| 439 +++
include/dt-bindings/memory/imxrt-sdram.h | 100 ++
Add i.IMXRT family basic support.
Signed-off-by: Giulio Benetti
---
arch/arm/Kconfig| 10 ++
arch/arm/Makefile | 4 +--
arch/arm/include/asm/arch-imxrt/clock.h | 10 ++
arch/arm/include/asm/arch-imxrt/gpio.h | 19
On Wed, Dec 04, 2019 at 05:49:09PM +0800, Tim Williams wrote:
> Hello, I am trying to port u-boot to a new board,
>
> There are several macros, how to use them properly?
>
> CONFIG_ARCH_XXX
> CONFIG_MACH_XXX
> CONFIG_TARGET_XXX
>
> for example, my board has:
>
> SoC: LS2K1000
> ISA:
Add compatible "fsl,imxrt-usdhc" to make mmc working on i.MXRT platforms
with CONFIG_DM_MMC=y.
Signed-off-by: Giulio Benetti
---
drivers/mmc/Kconfig | 2 +-
drivers/mmc/fsl_esdhc_imx.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/Kconfig
Hi Igor,
> From: Igor Opaniuk
>
> Add universal update_uboot wrapper that helps to update
> U-Boot image on internal storage.
>
> > tftpboot ${loadaddr} ${board_name}/u-boot.img
> > run update_uboot
> > tftpboot ${loadaddr} ${board_name}/SPL
> > run update_spl
>
> Signed-off-by: Igor
Hi,
On Fri, Nov 29, 2019 at 9:31 PM Eugeniu Rosca wrote:
>
> Currently, it is only possible to get the ${index}'s entry of a DTB/DTBO
> image [*]. The "dtimg" command is agnostic on the "id" and "rev" fields
> and is unable to take them as input for a more fine-grained DTB/DTBO
>
On Fri, Nov 29, 2019 at 09:23:43PM -0700, Simon Glass wrote:
> Hi Tom,
>
> I have been meaning to have a crack at setting up a little hardware
> lab for a while.
>
> I made some progress recently and hooked up a rpi_3 with sdwire for
> USB/SD, ykush for power and a little computer to control
On Fri, Nov 29, 2019 at 12:06:33PM +0100, Belisko Marek wrote:
> Hi,
>
> I'm trying to run mainline u-boot on amlogic a96mini device but before
> I try to flash it does anybody have an idea if it will work on
> mainline. As I have limited number of devices and I know that after
> flashing I can
On Mon, Nov 25, 2019 at 10:28:45AM +0100, Michal Simek wrote:
> Defconfig is pointing to incorrect DT file which needs to be fix.
>
> Signed-off-by: Michal Simek
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On 12/4/19 5:52 PM, matthias@kernel.org wrote:
From: Matthias Brugger
Up to now we only update the DRAM banks when we are define
CONFIG_BCM2711. But our one binary approach uses a config that supports
BCM2837 and BCM2711. As a result we only see one gigabyte of RAM on
On Wed, Dec 04, 2019 at 03:53:01PM +, Peter Robinson wrote:
> > > Commit 4d90f6cd9813 breaks parallel builds in 2020.01-rc series. This
> > > fixes the issue, reverting it also fixes it. Not sure which is the best
> > > route.
> > >
> > > Signed-off-by: Peter Robinson
> > > ---
> > >
Add i.MXRT pinctrl driver.
Signed-off-by: Giulio Benetti
---
drivers/pinctrl/nxp/Kconfig | 14 ++
drivers/pinctrl/nxp/Makefile| 1 +
drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 +
3 files changed, 55 insertions(+)
create mode 100644
This patchset add support for i.MXRT family starting from i.MXRT1050 SoC.
It provides:
- i.MXRT1050 SoC entry
- i.MXRT pinctrl driver
- i.MXRT serial driver tweaking
- i.MXRT sdram controller driver
- i.MXRT usdhc driver tweaking
- i.MXRT1050-evk initial support
It uses all DM clocks all around
Implement set_rate() for pfd.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pfd.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/clk/imx/clk-pfd.c b/drivers/clk/imx/clk-pfd.c
index 188b2b3b90..4ae55f5a07 100644
--- a/drivers/clk/imx/clk-pfd.c
+++
Hi,
On Wed, Dec 4, 2019 at 8:25 PM Eugeniu Rosca wrote:
>
> Hi again,
>
> [I would be willing to take this discussion offline, if you consider it
> too noisy for ML]
>
Agreed. Please find me on freenode IRC, nick: joeskb7. There is
#u-boot channel, or #linaro-android, whichever suits you best.
Hi,
On Tue, Dec 3, 2019 at 9:29 PM Eugeniu Rosca wrote:
>
> Hi Sam,
> Cc: Aleksandr, Roman
>
> As expressed in the attached e-mail, to minimize the headaches extending
> the argument list of "bootimg" in future, can we please agree on below?
>
> On Wed, Oct 23, 2019 at 05:34:22PM +0300, Sam
Hi,
On Wed, Dec 4, 2019 at 7:33 PM Eugeniu Rosca wrote:
>
> Hello Sam,
> Please, see one more suggestion below.
>
> On Tue, Dec 03, 2019 at 08:29:10PM +0100, Eugeniu Rosca wrote:
> > Hi Sam,
> > Cc: Aleksandr, Roman
> >
> > As expressed in the attached e-mail, to minimize the headaches extending
Enable configs related to DMA and Ethernet so as to support networking at
U-Boot prompt
Signed-off-by: Vignesh Raghavendra
Acked-by: Joe Hershberger
Reviewed-by: Grygorii Strashko
---
configs/j721e_evm_a72_defconfig | 8
1 file changed, 8 insertions(+)
diff --git
Add dtsi file for i.MXRT1050.
Signed-off-by: Giulio Benetti
---
arch/arm/dts/imxrt1050.dtsi | 146 +++
include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++
2 files changed, 1139 insertions(+)
create mode 100644 arch/arm/dts/imxrt1050.dtsi
create mode 100644
Hi,
On Fri, Nov 29, 2019 at 9:30 PM Eugeniu Rosca wrote:
>
> Unlike dtimg, U-Boot commands like part [1], fstype [2] and uuid [3]
> accept an _optional_ parameter, which means that they will
> output the result to console whenever is skipped. This is
> extremely useful during development.
>
>
Add support for PLLV3 AV type.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 76 +
1 file changed, 76 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index d5087a104e..fc16416d5f 100644
---
Hi again,
[I would be willing to take this discussion offline, if you consider it
too noisy for ML]
On Wed, Oct 23, 2019 at 05:34:22PM +0300, Sam Protsenko wrote:
> +U_BOOT_CMD(
> + bootimg, CONFIG_SYS_MAXARGS, 0, do_bootimg,
> + "manipulate Android Boot Image",
> + "set_addr \n"
> +
This patch enables networking support for TI's J721e SoC.
Patch 1 adds a new interface to DMA uclass to get channel specific
private/configuration data. Patch 2 to 4 use this interface to pass data
from J721e's UDMA driver to CPSW ethernet driver. Last two patches add
DMA and CPSW DT nodes and
At the moment entry_point is set to image_get_load(header) that sets it
to "load address" instead of "entry point", assuming entry_point is
equal to load_addr, but it's not true. Then load_addr is set to
"entry_point - header_size", but this is wrong too since load_addr is
not an entry point.
So
Add generic set_rate() support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index 9b37cd9cd9..a721dbee94 100644
---
Add disable() support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index d8cbe3dd4e..9b37cd9cd9 100644
--- a/drivers/clk/imx/clk-pllv3.c
+++
On 12/3/2019 6:13 PM, Peng Fan wrote:
Troy
>>
>> So, is this code buggy ?
>
> Yes, please use devfdt_get_addr_size_index
>
> Regards,
> Peng.
>
Thanks, that was my problem.
BR
Troy
Since some driver requires this function add it as an empty stub
when DCACHE is OFF.
Signed-off-by: Giulio Benetti
---
arch/arm/cpu/armv7m/cache.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cache.c
index f4ba3ad50e..7353698557
The following changes since commit 94d022bb400890f22fe35220d2519c3bce73f05e:
Merge tag 'efi-2020-01-rc5' of
https://gitlab.denx.de/u-boot/custodians/u-boot-efi (2019-12-03 18:12:58
-0500)
are available in the Git repository at:
git://git.denx.de/u-boot-sh.git master
for you to fetch
Add PLLV3_SYS support by adding set/get_rate() for PLLV3_SYS but keeping
generic enable()/disable(). Add a different driver because ops are
different respect to GENERIC/USB.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 53 +
1 file changed,
Add i.MXRT1050 clk driver support.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/Kconfig | 16 ++
drivers/clk/imx/Makefile| 2 +
drivers/clk/imx/clk-imxrt1050.c | 292
include/dt-bindings/clock/imxrt1050-clock.h |
Add i.MXRT compatible string and cpu type support to lpuart driver,
to use little endian 32 bits configurations.
Also according to RM, the Receive RX FIFO Enable (RXFE) field in LPUART
FIFO register is bit 3, so this definition should change to 0x08 as done
for i.MX8. It needs also to set
Hello Sam,
Please, see one more suggestion below.
On Tue, Dec 03, 2019 at 08:29:10PM +0100, Eugeniu Rosca wrote:
> Hi Sam,
> Cc: Aleksandr, Roman
>
> As expressed in the attached e-mail, to minimize the headaches extending
> the argument list of "bootimg" in future, can we please agree on below?
div_mask is different for GENERIC and USB pll, so set it according.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c
index d1e4c3fe30..02c75c37ea 100644
---
Better to register the 2 clock as 2 different drivers because they work
slightly differently depending on power_bit and powerup_set bits coming
on next patches.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 20 +++-
1 file changed, 15 insertions(+), 5
Before set_rate() pllv3 needs enable() to power the pll up.
Add enable() taking into account different power_bit and
different powerup_set, because some pll needs its power_bit to be
set or reset to be powered on.
Signed-off-by: Giulio Benetti
---
drivers/clk/imx/clk-pllv3.c | 24
Get flow ID information for RX DMA channel using dma_get_cfg() interface
instead of reading from DT. This is required in order to avoid DT update
whenever there is change in the range of flow ID allocated to the host.
Signed-off-by: Vignesh Raghavendra
Acked-by: Joe Hershberger
Reviewed-by:
From: Matthias Brugger
To update the dram bank information from device-tree we use
fdtdec_decode_ram_size() which expectes the the size-cells and
address-cells to be defined in the memory node. For normal system RAM
these values are defined in the root node. When the values differ from
the
Hi Sam,
On Mon, Dec 02, 2019 at 09:07:15PM +0200, Sam Protsenko wrote:
> I'd like this patch series to be applied ASAP (probably before DTBO
> patches you mention are merged). It's been too long as it is. Once
> merged and we are unblocked w.r.t. Android boot stuff, we can then
> look into DTBO
Sometimes, there would be a need to exchange data between DMA provider
and DMA client which are very specific to DMA driver of the SoC/platform
and are not generic enough to be put into struct dma. Therefore, introduce
dma_get_cfg() interface to get DMA provider specific data from client
device.
1 - 100 of 168 matches
Mail list logo