Re: [PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support

2021-03-01 Thread Jagan Teki
On Sat, Feb 27, 2021 at 6:21 PM Marek Vasut wrote: > > On 2/27/21 8:54 AM, Jagan Teki wrote: > > Hi Marek, > > > > On Sat, Feb 27, 2021 at 3:44 AM Marek Vasut wrote: > >> > >> Add support for ethernet on the imx8mn-ddr4-evk. > >> > >> Signed-off-by: Marek Vasut > >> Cc: Fabio Estevam > >> Cc: P

RE: [PATCH v3 04/38] ppc: qemu: Support non-identity PCI bus address

2021-03-01 Thread Priyanka Jain (OSS)
>-Original Message- >From: Bin Meng >Sent: Monday, March 1, 2021 1:25 PM >To: Priyanka Jain (OSS) >Cc: Simon Glass ; Alexander Graf ; U- >Boot Mailing List ; Tom Rini >Subject: Re: [PATCH v3 04/38] ppc: qemu: Support non-identity PCI bus address > >Hi Priyanka, > >On Mon, Mar 1, 2021 a

[ANN] U-Boot v2021.04-rc3 released

2021-03-01 Thread Tom Rini
Hey all, It's release day, and here's v2021.04-rc3. There's a number of things I want to talk about now. First, we've migrated our SCM from "gitlab.denx.de" to "source.denx.de". Redirections are in place and this should be the last move. If you're using "git.denx.de", please update. If you're

Re: [PATCH 4/5] log: convert pr_*() to logging

2021-03-01 Thread Tom Rini
On Mon, Jan 04, 2021 at 08:02:55AM +0100, Heinrich Schuchardt wrote: > In drivers we use a family of printing functions including pr_err() and > pr_cont(). CONFIG_LOGLEVEL is used to control which of these lead to output > via printf(). > > Our logging functions allow finer grained control of out

Re: [PATCH u-boot] fs: btrfs: do not fail when offset of a ROOT_ITEM is not -1

2021-03-01 Thread Tom Rini
On Tue, Feb 09, 2021 at 06:33:37PM +0100, Marek Behún wrote: > When the btrfs_read_fs_root() function is searching a ROOT_ITEM with > location key offset other than -1, it currently fails via BUG_ON. > > The offset can have other value than -1, though. This can happen for > example if a subvolume

[RESEND v1] pxe_utils: add localcmd defination

2021-03-01 Thread Artem Lapkin
pxe localboot usage too much limited, i think be useful improve it welcome for any suggestions and feedbacks... 1) add localcmd defination which can used with localboot by default localboot get from env, now we can define it in pxe script 2) localcmd can use without localboot 3) multiline usage fo

Re: [PATCH 09/11] imx: ventana: enable dm support for MMC and SATA

2021-03-01 Thread Tim Harvey
On Mon, Mar 1, 2021 at 4:19 PM Fabio Estevam wrote: > > Hi Peter, > > On Mon, Mar 1, 2021 at 7:48 PM Peter Robinson wrote: > > > I'm not sure that's entirely true, they may be a new addition, or just > > not previously documented as working, they're added for the rockchip > > devices in Linux and

Re: [PATCH 1/1] pinephone_defconfig: lower DRAM clock to 528

2021-03-01 Thread Bob
On 2/28/21 8:25 AM, André Przywara wrote: On 22/02/2021 22:11, Bob wrote: Hi Bob, Hello André, Thanks for reaching out. Lower DRAM clock speed to the official speed for the pinephone design: 528 Can you elaborate why this is necessary? Are there reports with the existing data rate causing

Re: [PATCH 09/11] imx: ventana: enable dm support for MMC and SATA

2021-03-01 Thread Fabio Estevam
Hi Peter, On Mon, Mar 1, 2021 at 7:48 PM Peter Robinson wrote: > I'm not sure that's entirely true, they may be a new addition, or just > not previously documented as working, they're added for the rockchip > devices in Linux and they're documented in the bindings as working > now: > https://git

Re: [PATCH v3 5/6] mmc: actions: add MMC driver for Actions OWL S700/S900

2021-03-01 Thread Jaehoon Chung
On 3/2/21 8:04 AM, Andre Przywara wrote: > On Tue, 2 Mar 2021 07:11:54 +0900 > Jaehoon Chung wrote: > >> On 3/1/21 11:25 PM, Andre Przywara wrote: >>> On Mon, 1 Mar 2021 18:47:26 +0530 >>> Amit Tomar wrote: >>> >>> Hi, >>> > So this whole mode handling here looks dodgy. Below you mix "ass

Re: [PATCH v3 1/1] env: sf: single function env_sf_save()

2021-03-01 Thread Sean Anderson
On 3/1/21 11:39 AM, Harry Waschkeit wrote: Hi again, gentle ping for that patch, also in view of subsequently sent patch ... https://lists.denx.de/pipermail/u-boot/2021-February/439797.html ... which saw a competing patch by Patrick Delaunay a week later: https://lists.denx.de/pipermail/

Re: [PATCH] hush: Fix assignments being misinterpreted as commands

2021-03-01 Thread Sean Anderson
On 3/1/21 1:26 PM, Heinrich Schuchardt wrote: On 3/1/21 3:17 PM, Tom Rini wrote: On Sun, Feb 28, 2021 at 06:51:53PM -0500, Sean Anderson wrote: On 2/28/21 6:40 PM, Heinrich Schuchardt wrote: Am 28. Februar 2021 22:29:51 MEZ schrieb Sean Anderson : If there were no variable substitutions in a

Re: [PATCH v3 5/6] mmc: actions: add MMC driver for Actions OWL S700/S900

2021-03-01 Thread Andre Przywara
On Tue, 2 Mar 2021 07:11:54 +0900 Jaehoon Chung wrote: > On 3/1/21 11:25 PM, Andre Przywara wrote: > > On Mon, 1 Mar 2021 18:47:26 +0530 > > Amit Tomar wrote: > > > > Hi, > > > >>> So this whole mode handling here looks dodgy. Below you mix "assignments > >>> to mode" with "ORing in values",

Re: [PATCH v2] time: Fix get_ticks being non-monotonic

2021-03-01 Thread Sean Anderson
On 3/1/21 11:40 AM, Michael Opdenacker wrote: Hi Simon, I'm back working on this old issue. Thanks for your help with this! So, SPL support for Atmel/Microchip SAMA5D3 is still broken in the latest mainline, at least for the Xplained board with the MMC configuration. My comments and further qu

[PATCH 10/11] imx: ventana: enable dm for MTD and NAND

2021-03-01 Thread Tim Harvey
Enable driver model for MTD and NAND support allowing us to remove the iomux, init, and most of the static configuration. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 52 - configs/gwventana_nand_defconfig| 2 + include/configs/gw_venta

[PATCH 11/11] imx: ventana: enable dm for SPI

2021-03-01 Thread Tim Harvey
Enable driver model for SPI which allows us to remove the iomux and init. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 27 - configs/gwventana_emmc_defconfig| 3 +++ configs/gwventana_gw5904_defconfig | 3 +++ configs/gwventana_na

Re: [PATCH 09/11] imx: ventana: enable dm support for MMC and SATA

2021-03-01 Thread Peter Robinson
On Mon, Mar 1, 2021 at 10:35 PM Tim Harvey wrote: > > Enable driver model support for MMC and SATA. > > Note that DM_MMC requires aliases for your mmc devices so > they are added to the dts. Linux does not support enumerating mmc > devices by alias so these are not present in the Linux dts. I'm n

[PATCH 08/11] imx: ventana: enable dm support for USB

2021-03-01 Thread Tim Harvey
Enable dm support for USB (which also requires dm support for fixed regulators used for vbus enable) and remove usb iomux which is no longer needed. We can remove the handling of otgpwr_en gpio as this is defined in dt as usbotg vbus-supply but we need to keep the handling of USB_HUB_RST# for boar

[PATCH 09/11] imx: ventana: enable dm support for MMC and SATA

2021-03-01 Thread Tim Harvey
Enable driver model support for MMC and SATA. Note that DM_MMC requires aliases for your mmc devices so they are added to the dts. Linux does not support enumerating mmc devices by alias so these are not present in the Linux dts. Note that we still need board_mmc_init() and board_mmc_getcd() for

[PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image

2021-03-01 Thread Tim Harvey
In preparation for dm conversion convert to OF_CONTROL by adding FIT image support and multi dtb. Add a board_fit_config_name_match to match the dtb based off of EEPROM model. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gsc.c| 88 + board/gateworks/g

[PATCH 07/11] imx: ventana: add pinctrl and remove unneeded UART init and config

2021-03-01 Thread Tim Harvey
Once the IMX6 pinctrl driver is added UART is fully using driver mode so we no longer need to config and initialize it. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 12 configs/gwventana_emmc_defconfig| 2 ++ configs/gwventana_gw5904_defconfig

[PATCH 05/11] arm: dts: imx6qdl-gw*: add dr_mode prop to dt to avoid error

2021-03-01 Thread Tim Harvey
The fsl-usb dt bindings in Linux default dr_mode to 'host' for backward compatibility however U-Boot prints an error if this property does not exist. Declare it in the Gateworks Ventana device-trees to avoid the error. Signed-off-by: Tim Harvey --- arch/arm/dts/imx6qdl-gw51xx.dtsi | 1 + arch/ar

[PATCH 03/11] dt-bindings: add tda1997x and bindings

2021-03-01 Thread Tim Harvey
Add td1997x header from Linux to be included by dts files. Signed-off-by: Tim Harvey --- include/dt-bindings/media/tda1997x.h | 74 1 file changed, 74 insertions(+) create mode 100644 include/dt-bindings/media/tda1997x.h diff --git a/include/dt-bindings/media/tda19

[PATCH 00/11] imx: ventana: convert Gateworks Ventana to dm

2021-03-01 Thread Tim Harvey
This is the first series converting the IMX6 basd Gateworks Ventana boards to driver-model. This series resolves some issues with NAND SPL (non DM SPL) in order to read the FIT image. Additionally it covers conversions to DM_USB, DM_MMC, DM_MTD, and DM_SPI. Remaining items are DM_PCI and DM_ETH w

[PATCH 02/11] spl: fit: nand: allow for non-page-aligned elements

2021-03-01 Thread Tim Harvey
Add a weak nand_get_mtd function for nand drivers to provide mtd info and use this to set pagesize such that reading of non page-aligned elements can succeed. The spl_load_simple_fit already handles block block access so all we need to do is provide the nand writesize as the block length. Further

[PATCH 01/11] spl: fit: nand: skip bad block handling if NAND chip not fully defined

2021-03-01 Thread Tim Harvey
commit 9f6a14c47ff9 ("spl: fit: nand: fix fit loading in case of bad blocks") added support for adjusting the image offset to account for bad blocks. However this requires nand_spl_adjust_offset() which requires fully defined specifics of the NAND chip being used may not be avialable. Allow skippi

Re: [PATCH v2 4/4] board: gateworks: imx8mm: Add Gateworks Venice board support

2021-03-01 Thread Tim Harvey
On Mon, Mar 1, 2021 at 8:04 AM Stefano Babic wrote: > > Hi Tim, > > On 06.02.21 01:11, Tim Harvey wrote: > > Add initial support for Gateworks Venice product family based on the > > i.MX 8M Mini SoC > > > > Signed-off-by: Tim Harvey > > --- > > [snip] > > > diff --git a/arch/arm/mach-imx/imx8m/Kc

Re: [PATCH v3 5/6] mmc: actions: add MMC driver for Actions OWL S700/S900

2021-03-01 Thread Jaehoon Chung
On 3/1/21 11:25 PM, Andre Przywara wrote: > On Mon, 1 Mar 2021 18:47:26 +0530 > Amit Tomar wrote: > > Hi, > >>> So this whole mode handling here looks dodgy. Below you mix "assignments >>> to mode" with "ORing in values", without actually ever initialising mode >>> explicitly. I wonder why the c

Re: [PATCH 4/5] sysinfo: Add gpio-sysinfo driver

2021-03-01 Thread Sean Anderson
On 3/1/21 3:46 PM, Sean Anderson wrote: This uses the newly-added dm_gpio_get_values_as_int_base3 function to implement a sysinfo device. The revision map is stored in the device tree. Signed-off-by: Sean Anderson --- .../sysinfo/gpio-sysinfo.txt | 37 + drivers/sys

[PATCH 4/5] sysinfo: Add gpio-sysinfo driver

2021-03-01 Thread Sean Anderson
This uses the newly-added dm_gpio_get_values_as_int_base3 function to implement a sysinfo device. The revision map is stored in the device tree. Signed-off-by: Sean Anderson --- .../sysinfo/gpio-sysinfo.txt | 37 + drivers/sysinfo/Kconfig | 8 + dri

[PATCH 5/5] test: Add gpio-sysinfo test

2021-03-01 Thread Sean Anderson
This adds a test for the gpio-sysinfo driver. Signed-off-by: Sean Anderson --- arch/sandbox/dts/test.dts | 7 test/dm/Makefile | 1 + test/dm/sysinfo-gpio.c| 69 +++ 3 files changed, 77 insertions(+) create mode 100644 test/dm/sysinfo-gpi

[PATCH 3/5] sysinfo: Require that sysinfo_detect be called before other methods

2021-03-01 Thread Sean Anderson
This updates sysinfo documentation to document that detect() must be called first. This allows drivers to cache information in detect() and perform (cheaper) retrieval in the other accessors. This also modifies the only instance where this sequencing was not followed. Signed-off-by: Sean Anderson

[PATCH 2/5] sysinfo: Provide some global/default IDs

2021-03-01 Thread Sean Anderson
This adds an ID for a board revision. Existing IDs have been moved above SYSINFO_ID_END to allow for future expansion. Signed-off-by: Sean Anderson --- drivers/sysinfo/gazerbeam.h | 10 +- drivers/sysinfo/sandbox.h | 10 -- include/sysinfo.h | 13 + 3 fil

[PATCH 1/5] dm: gpio: Fix gpio_get_list_count failing with livetree

2021-03-01 Thread Sean Anderson
of_parse_phandle_with_args (called by dev_read_phandle_with_args) does not support getting the length of a phandle list by using the index -1. Instead, use dev_count_phandle_with_args which supports exactly this use-case. Fixes: 3669e0e759 ("dm: gpio: Add better functions to request GPIOs") Signe

[PATCH 0/5] sysinfo: Add gpio sysinfo driver

2021-03-01 Thread Sean Anderson
This series adds a GPIO sysinfo driver using the dm_gpio_get_values_as_int_base3 function. The board revision is mapped based in devicetree properties. This series is based on Simon's GPIO series [1]. [1] https://patchwork.ozlabs.org/project/uboot/list/?series=228126 Sean Anderson (5): dm: gpi

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Peter Robinson
On Mon, Mar 1, 2021 at 7:42 PM Tom Rini wrote: > > On Mon, Mar 01, 2021 at 07:28:17PM +, Peter Robinson wrote: > > On Mon, Mar 1, 2021 at 5:57 PM Tom Rini wrote: > > > > > > On Mon, Mar 01, 2021 at 02:44:13PM +0100, Stefano Babic wrote: > > > > On 01.03.21 14:40, Stefano Babic wrote: > > > >

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Tom Rini
On Mon, Mar 01, 2021 at 07:28:17PM +, Peter Robinson wrote: > On Mon, Mar 1, 2021 at 5:57 PM Tom Rini wrote: > > > > On Mon, Mar 01, 2021 at 02:44:13PM +0100, Stefano Babic wrote: > > > On 01.03.21 14:40, Stefano Babic wrote: > > > > On 01.03.21 14:36, Marek Vasut wrote: > > > > > On 3/1/21 10

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Peter Robinson
On Mon, Mar 1, 2021 at 5:57 PM Tom Rini wrote: > > On Mon, Mar 01, 2021 at 02:44:13PM +0100, Stefano Babic wrote: > > On 01.03.21 14:40, Stefano Babic wrote: > > > On 01.03.21 14:36, Marek Vasut wrote: > > > > On 3/1/21 10:27 AM, Stefano Babic wrote: > > > > > Hi Marek, > > > > > > > > Hi, > > > >

Re: [PATCH] hush: Fix assignments being misinterpreted as commands

2021-03-01 Thread Tom Rini
On Sun, Feb 28, 2021 at 04:29:51PM -0500, Sean Anderson wrote: > If there were no variable substitutions in a command, then initial > assignments would be misinterpreted as commands, instead of being skipped > over. This is demonstrated by the following example: > > => foo=bar echo baz >

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Marek Vasut
On 3/1/21 6:56 PM, Tom Rini wrote: [...] This patch breaks build for two boards, udoo and ot1200_spl. Strange enough, I get weird results with git bisect (but definetely this is the only patch I am applying that cause the issue). Could you take a look, please ? There is V3 already, does that

[PATCH] configs: stm32mp15: move bootdelay configuration in defconfig

2021-03-01 Thread Patrick Delaunay
The STM32MP15 boards have no reason to configure bootdelay in stm32mp1.h as it is already done with CONFIG_BOOTDELAY (default = 2) and in include/env_default.h. This patch allows configuration for customers which reuse stm32mp1.h and reduce the size of the default environment. Signed-off-by: Patr

Re: [PATCH] hush: Fix assignments being misinterpreted as commands

2021-03-01 Thread Heinrich Schuchardt
On 3/1/21 3:17 PM, Tom Rini wrote: On Sun, Feb 28, 2021 at 06:51:53PM -0500, Sean Anderson wrote: On 2/28/21 6:40 PM, Heinrich Schuchardt wrote: Am 28. Februar 2021 22:29:51 MEZ schrieb Sean Anderson : If there were no variable substitutions in a command, then initial assignments would be misi

[PATCH v2 1/1] video: add DejaVu Mono font

2021-03-01 Thread Heinrich Schuchardt
A TrueType font for U-Boot should fulfill the following requirements: * mono spaced * support full code page 437 * easily readable Unfortunately none of the fonts provided with U-Boot fulfills all of these requirements. Let's add the DejaVu Mono font. To reduce the code size the characters are l

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Tom Rini
On Mon, Mar 01, 2021 at 02:44:13PM +0100, Stefano Babic wrote: > On 01.03.21 14:40, Stefano Babic wrote: > > On 01.03.21 14:36, Marek Vasut wrote: > > > On 3/1/21 10:27 AM, Stefano Babic wrote: > > > > Hi Marek, > > > > > > Hi, > > > > > > [...] > > > > > > > > diff --git a/arch/arm/mach-imx/Mak

Re: [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-03-01 Thread Marek Behun
On Mon, 1 Mar 2021 16:41:01 +0100 Pali Rohár wrote: > On Sunday 28 February 2021 22:38:26 Luka Kovacic wrote: > > Hello Marek, > > > > On Sat, Feb 27, 2021 at 2:24 PM Marek Behun wrote: > > > > > > In Linux the DTS for espressobin-ultra includes > > > armada-3720-espressobin.dtsi and just add

Re: [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-03-01 Thread Marek Behun
On Mon, 1 Mar 2021 16:41:01 +0100 Pali Rohár wrote: > On Sunday 28 February 2021 22:38:26 Luka Kovacic wrote: > > Hello Marek, > > > > On Sat, Feb 27, 2021 at 2:24 PM Marek Behun wrote: > > > > > > In Linux the DTS for espressobin-ultra includes > > > armada-3720-espressobin.dtsi and just add

[PATCH v9 4/5] arm: rmobile: Add HopeRun HiHope RZ/G2N board support

2021-03-01 Thread Biju Das
The HiHope RZ/G2N board from HopeRun consists of main board (HopeRun HiHope RZ/G2N main board) and sub board(HopeRun HiHope RZ/G2N sub board). The HiHope RZ/G2N sub board sits below the HiHope RZ/G2N main board. This patch adds the required board support to boot HopeRun HiHope RZ/G2N board. Signe

[PATCH v9 3/5] arm: rmobile: Add HopeRun HiHope RZ/G2M board support

2021-03-01 Thread Biju Das
The HiHope RZ/G2M board from HopeRun consists of main board (HopeRun HiHope RZ/G2M main board) and sub board(HopeRun HiHope RZ/G2M sub board). The HiHope RZ/G2M sub board sits below the HiHope RZ/G2M main board. This patch adds the required board support to boot HopeRun HiHope RZ/G2M board. Signe

[PATCH v9 5/5] arm: rmobile: Add HopeRun HiHope RZ/G2H board support

2021-03-01 Thread Biju Das
The HiHope RZ/G2H board from HopeRun consists of main board (HopeRun HiHope RZ/G2H main board) and sub board(HopeRun HiHope RZ/G2H sub board). The HiHope RZ/G2H sub board sits below the HiHope RZ/G2H main board. This patch adds the required board support to boot HopeRun HiHope RZ/G2H board. Signe

[PATCH v9 2/5] arm: dts: rmobile: r8a774e1: Synchronize DTs with Linux 5.11

2021-03-01 Thread Biju Das
Synchronize r8a774e1 device trees with Linux 5.11, commit f40ddce88593482919 ("Linux 5.11"). Signed-off-by: Biju Das --- * New patch --- arch/arm/dts/r8a774e1-hihope-rzg2h-ex.dts | 20 +++ arch/arm/dts/r8a774e1-hihope-rzg2h.dts| 41 +++ 2 files changed, 61 insert

[PATCH v9 1/5] arm: dts: rmobile: r8a774b1: Synchronize DTs with Linux 5.11

2021-03-01 Thread Biju Das
Synchronize r8a774b1 device trees with Linux 5.11, commit f40ddce88593482919 ("Linux 5.11") Signed-off-by: Biju Das --- * New patch --- arch/arm/dts/r8a774b1-hihope-rzg2n-ex.dts | 21 arch/arm/dts/r8a774b1-hihope-rzg2n.dts| 41 +++ 2 files changed, 62 insert

[PATCH v9 0/5] Add RZ/G2[HMN] board support

2021-03-01 Thread Biju Das
This patch series adds the required SoC/Board support to boot HopeRun HiHope RZ/G2[HMN] boards. Board identification support for supporting multidtb is derived from TF-A blob. V8-->v9 * Use tf-a blob for identifying board type. Biju Das (5): arm: dts: rmobile: r8a774b1: Synchronize DTs with Li

Re: [PATCH v2] time: Fix get_ticks being non-monotonic

2021-03-01 Thread Michael Opdenacker
Hi Simon, I'm back working on this old issue. Thanks for your help with this! So, SPL support for Atmel/Microchip SAMA5D3 is still broken in the latest mainline, at least for the Xplained board with the MMC configuration. My comments and further questions below... On 11/22/20 12:07 AM, Simon Gl

Re: [PATCH v3 1/1] env: sf: single function env_sf_save()

2021-03-01 Thread Harry Waschkeit
Hi again, gentle ping for that patch, also in view of subsequently sent patch ... https://lists.denx.de/pipermail/u-boot/2021-February/439797.html ... which saw a competing patch by Patrick Delaunay a week later: https://lists.denx.de/pipermail/u-boot/2021-February/440769.html However, the

[Contributor Call] Call for agenda items

2021-03-01 Thread Simon Glass
Hi, If you plan to join and want to add a topic, please do at [1]. If there are no topics, I will cancel for this week, for both time slots. For the Asia-friendly time, Regards, Simon [1] https://bit.ly/3bFvwA1 or https://docs.google.com/document/d/1YBOMsbM19uSFyoJWnt7-PsOLBaevzQUgV-hiR88a5-o/

[QUESTION] Experiencing errors with RPI CM4 4GB (but not 2GB)

2021-03-01 Thread David Caputo
Hello - this is my first message to this list, so I apologize in advance if I've got some of the customs wrong in doing so. I have searched prior messages and am running a very recent build (commit 08cca188c120b8337600091c94dc0e211cd03e10) which incorporates all of the patches relating to similar

Re: [PATCH] Fix data abort in startup for at91 machines based on ARM926EJS

2021-03-01 Thread Eugen.Hristev
Hi, On 26.02.2021 10:44, Martin Townsend wrote: > The startup code in arm/cpu/arm926ejs preserves the link register across > the call to lowlevel_init by using r4: > > mov r4, lr /* perserve link reg across call */ > bl lowlevel_init /* go setup pll,mux,memory */ > mov lr,

Re: [PATCH v2 4/4] board: gateworks: imx8mm: Add Gateworks Venice board support

2021-03-01 Thread Stefano Babic
Hi Tim, On 06.02.21 01:11, Tim Harvey wrote: Add initial support for Gateworks Venice product family based on the i.MX 8M Mini SoC Signed-off-by: Tim Harvey --- [snip] diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index c455f7b..7117650 100644 --- a/arch/ar

Re: [PATCH v5] imx: support for conga-QMX8 board

2021-03-01 Thread Stefano Babic
On 01.03.21 16:27, Oliver Graute wrote: On 01/03/21, Stefano Babic wrote: Hi Oliver, I have two open points with the patch, that I want finally merge: On 19.02.21 13:34, Oliver Graute wrote: + case 0: + /* onboard eMMC */ + if (!imx8_power_domain_lookup_name("con

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Marek Vasut
On 3/1/21 2:44 PM, Stefano Babic wrote: On 01.03.21 14:40, Stefano Babic wrote: On 01.03.21 14:36, Marek Vasut wrote: On 3/1/21 10:27 AM, Stefano Babic wrote: Hi Marek, Hi, [...] diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 1aa26a50ad8..e6b4654cd35 100644 ---

[PATCH V4] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Marek Vasut
The u-boot-with-spl.imx is a concatenation of SPL and u-boot.uim. The u-boot.uim is u-boot.bin wrapped in uImage. In case OF_SEPARATE is enabled, the u-boot.bin does not contain control DT for U-Boot, and so u-boot.uim does not contain the DT, and so u-boot-with-spl.imx does not contain the DT, and

Re: [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-03-01 Thread Pali Rohár
On Sunday 28 February 2021 22:38:26 Luka Kovacic wrote: > Hello Marek, > > On Sat, Feb 27, 2021 at 2:24 PM Marek Behun wrote: > > > > In Linux the DTS for espressobin-ultra includes > > armada-3720-espressobin.dtsi and just adds changes. > > > > If possible, please do this as is done in Linux. In

Re: [PATCH v5] imx: support for conga-QMX8 board

2021-03-01 Thread Oliver Graute
On 01/03/21, Stefano Babic wrote: > Hi Oliver, > > I have two open points with the patch, that I want finally merge: > > On 19.02.21 13:34, Oliver Graute wrote: > > + case 0: + /* onboard eMMC */ + > > if (!imx8_power_domain_lookup_name("conn_sdhc0", &pd)) + > > power_do

Re: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command

2021-03-01 Thread Pali Rohár
On Sunday 28 February 2021 22:54:27 Luka Kovacic wrote: > Hello Pali, > > On Sat, Feb 27, 2021 at 2:09 AM Pali Rohár wrote: > > > > On Monday 15 February 2021 20:59:32 Luka Kovacic wrote: > > > The hw_info command is implemented to enable parsing Marvell hw_info > > > formatted environments. This

Re: [PATCH v2 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-03-01 Thread Pali Rohár
On Sunday 28 February 2021 22:26:25 Luka Kovacic wrote: > Hello Pali, > > On Sat, Feb 27, 2021 at 1:38 AM Pali Rohár wrote: > > > > On Monday 15 February 2021 20:59:33 Luka Kovacic wrote: > > > Add the loadaddr U-Boot environment variable, as this is available in > > > the stock Marvell U-Boot by

Re: [PATCH 07/16] arm: Remove ot1200 board

2021-03-01 Thread Christian Gmeiner
Am Mi., 17. Feb. 2021 um 10:58 Uhr schrieb Christian Gmeiner : > > Hi Tom > > Am Mi., 10. Feb. 2021 um 03:43 Uhr schrieb Tom Rini : > > > > This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. > > The > > deadline for this conversion was the v2019.07 release. In order to > >

Re: [PATCH u-boot-dm + u-boot-spi v3 10/11] mtd: compare also with OF path and device name in get_mtd_device_nm()

2021-03-01 Thread Tom Rini
On Mon, Mar 01, 2021 at 03:03:11PM +0100, Marek Behun wrote: > On Thu, 25 Feb 2021 15:39:09 -0500 > Tom Rini wrote: > > > Well, past migration deadline doesn't mean it can cause CI to fail. I'm > > just now throwing things out that are 2 years past the deadline, and > > we'll probably be doing

Re: [PATCH v3 5/6] mmc: actions: add MMC driver for Actions OWL S700/S900

2021-03-01 Thread Andre Przywara
On Mon, 1 Mar 2021 18:47:26 +0530 Amit Tomar wrote: Hi, > > So this whole mode handling here looks dodgy. Below you mix "assignments > > to mode" with "ORing in values", without actually ever initialising mode > > explicitly. I wonder why the compiler doesn't warn about this, I can see > > paths

Re: [PATCH] hush: Fix assignments being misinterpreted as commands

2021-03-01 Thread Tom Rini
On Sun, Feb 28, 2021 at 06:51:53PM -0500, Sean Anderson wrote: > On 2/28/21 6:40 PM, Heinrich Schuchardt wrote: > > Am 28. Februar 2021 22:29:51 MEZ schrieb Sean Anderson : > > > If there were no variable substitutions in a command, then initial > > > assignments would be misinterpreted as commands

Re: Broken build on OpenBSD

2021-03-01 Thread Tom Rini
On Fri, Feb 26, 2021 at 01:01:58PM -0600, Alex G. wrote: > On 2/25/21 1:31 PM, Simon Glass wrote: > > Hi Alex, > > > > > > To the extent that it is unconventional, that reflects the decision to > > avoid adding U-Boot-specific error numbers and perhaps also to avoid > > having a different error n

Re: [PATCH u-boot-dm + u-boot-spi v3 10/11] mtd: compare also with OF path and device name in get_mtd_device_nm()

2021-03-01 Thread Marek Behun
On Thu, 25 Feb 2021 15:39:09 -0500 Tom Rini wrote: > Well, past migration deadline doesn't mean it can cause CI to fail. I'm > just now throwing things out that are 2 years past the deadline, and > we'll probably be doing that for a few releases. Tom, I would like to send v4 without the CONFIG_

Re: Broken build on OpenBSD

2021-03-01 Thread Tom Rini
On Tue, Feb 23, 2021 at 08:07:21PM +0100, Mark Kettenis wrote: > Hi Simon, > > Commit c5819701a3de61e2ba2ef7ad0b616565b32305e5 broke the build on > OpenBSD and probably other non-Linux systems. ENODATA, which is now > used in fit_check_format(), isn't defined. It isn't part of POSIX[1] > and ge

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Stefano Babic
On 01.03.21 14:40, Stefano Babic wrote: On 01.03.21 14:36, Marek Vasut wrote: On 3/1/21 10:27 AM, Stefano Babic wrote: Hi Marek, Hi, [...] diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 1aa26a50ad8..e6b4654cd35 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Stefano Babic
On 01.03.21 14:36, Marek Vasut wrote: On 3/1/21 10:27 AM, Stefano Babic wrote: Hi Marek, Hi, [...] diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 1aa26a50ad8..e6b4654cd35 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -202,10 +202,10

Re: [PATCH V2] ARM: imx: Include u-boot.img in u-boot-with-spl.imx if OF_SEPARATE=y

2021-03-01 Thread Marek Vasut
On 3/1/21 10:27 AM, Stefano Babic wrote: Hi Marek, Hi, [...] diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 1aa26a50ad8..e6b4654cd35 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -202,10 +202,10 @@ append = cat $(filter-out $< $(PHONY

Re: [PATCH v3 5/6] mmc: actions: add MMC driver for Actions OWL S700/S900

2021-03-01 Thread Amit Tomar
Hi, > So this whole mode handling here looks dodgy. Below you mix "assignments > to mode" with "ORing in values", without actually ever initialising mode > explicitly. I wonder why the compiler doesn't warn about this, I can see > paths were you OR into an uninitialised value. > > But the compile

Re: [PATCH] Fix data abort in startup for at91 machines based on ARM926EJS

2021-03-01 Thread Martin Townsend
Kind regards Martin Martin Townsend | Embedded Software Engineer mar...@rufilla.com W http://www.rufilla.com T+44 (0)1865 601201 ABuilding D5 | Culham Science Centre | Abingdon, UK | OX14 3DB [rufilla_logo_transparent]

[PATCH] board: stm32mp1: use CONFIG_SYS_MMC_ENV_DEV when available

2021-03-01 Thread Patrick Delaunay
Check whether user has explicitly defined the mmc device to use in mmc_get_env_dev() with CONFIG_SYS_MMC_ENV_DEV. On STMicroelectronics boards the used mmc device for environment is the instance of boot device provided by the ROM code; the mmc instance is configured by alias in device tree. The us

[v5 7/7] Makefile: socfpga: Add target to generate hex output for combined spl and dtb

2021-03-01 Thread Siew Chin Lim
From: Dalon Westergreen Add target to Makefile to generate "u-boot-spl-dtb.hex" for Intel SOCFPGA SOC64 devices (Stratix 10 and Agilex). "u-boot-spl-dtb.hex" is hex formatted spl with and offset of CONFIG_SPL_TEXT_BASE. It combines the spl image and dtb. "u-boot-spl-dtb.hex" is needed to generate

[v5 5/7] configs: socfpga: soc64: Move CONFIG_BOOTCOMMAND to defconfig

2021-03-01 Thread Siew Chin Lim
CONFIG_BOOTCOMMAND have been moved to Kconfig.boot. This patch move the CONFIG_BOOTCOMMAND macro from socfpga_soc64_common.h to *_defconfig file for both Stratix 10 and Agilex. Signed-off-by: Siew Chin Lim --- configs/socfpga_agilex_atf_defconfig| 2 ++ configs/socfpga_agilex_defconfig

[v5 6/7] configs: socfpga: Add defconfig for Agilex with VAB support

2021-03-01 Thread Siew Chin Lim
Booting Agilex with Vendor Authorized Boot. Signed-off-by: Siew Chin Lim --- .../{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig}| 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) copy configs/{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig} (92%) diff --

[v5 2/7] arm: socfpga: soc64: Support Vendor Authorized Boot (VAB)

2021-03-01 Thread Siew Chin Lim
Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images are loaded from FIT, the VAB certificate and signature block appended at the end of each image are sent to Secu

[v5 3/7] arm: socfpga: cmd: Support 'vab' command

2021-03-01 Thread Siew Chin Lim
Support 'vab' command to perform vendor authentication. Command format: vab addr len Authorize 'len' bytes starting at 'addr' via vendor public key Signed-off-by: Siew Chin Lim --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/vab.c| 34 ++ 2 f

[v5 4/7] arm: socfpga: dts: soc64: Update filename in binman node of FIT image with VAB support

2021-03-01 Thread Siew Chin Lim
FIT image of Vendor Authentication Coot (VAB) contains signed images. Signed-off-by: Siew Chin Lim --- arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi b/arch/arm/dts/socfpga_soc64_f

[v5 1/7] arm: socfpga: Move Stratix10 and Agilex to use TARGET_SOCFPGA_SOC64

2021-03-01 Thread Siew Chin Lim
Create common macro TARGET_SOCFPGA_SOC64 for Stratix10 and Agilex. Signed-off-by: Siew Chin Lim --- arch/arm/Kconfig| 6 +++--- arch/arm/mach-socfpga/Kconfig | 5 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 3 +-- arch/arm

[v5 0/7] Add Vendor Authorized Boot (VAB) support

2021-03-01 Thread Siew Chin Lim
This is the 5th version of patchset to add Vendor Authorized Boot (VAB) support for Intel Agilex SoC device. Vendor Authorized Boot is a security feature for authenticating the images such as U-Boot, ARM trusted Firmware, Linux kernel, device tree blob and etc loaded from FIT. After those images a

Re: [Uboot-stm32] [PATCH] usb: dwc2: change compatible st, stm32mp1-hsotg to st, stm32mp15-hsotg

2021-03-01 Thread Ahmad Fatoum
Hello Patrick, On 19.02.21 14:30, Patrick DELAUNAY wrote: > Hi Ahmad, > > On 2/11/21 12:14 PM, Ahmad Fatoum wrote: >> Hi, >> >> On 10.02.21 20:59, Tom Rini wrote: >>> On Tue, Feb 09, 2021 at 08:51:26PM +0100, Patrick DELAUNAY wrote: On 2/9/21 11:39 AM, Marek Vasut wrote: > On 2/9/21 11:1

[PATCH] imx: Add 2GB lpddr support for i.MX8MN Beacon EmbeddedWorks devkit.

2021-03-01 Thread sbabic
> There is a second lpddr configuration with 2GB of RAM, but this requires > different RAM timings, so in addition to adding the timing file, a > separate defconfig is necessary. > Signed-off-by: Adam Ford > diff --git a/board/beacon/imx8mn/Kconfig b/board/beacon/imx8mn/Kconfig > index 6ed17c00d8.

[PATCH 2/2] ARM: imx6: mx6sabre-common: Search for boot components in /boot too

2021-03-01 Thread sbabic
> Some root filesystem configurations do not have separate /boot partition, > but rather place kernel, DT, scripts into /boot directory. Search the /boot > directory for these boot components in case they are not found in /, which > is the old behavior. > Signed-off-by: Marek Vasut > Cc: Fabio Est

[PATCH] ARM: imx6: dh-imx6: Enable support for applying DTO

2021-03-01 Thread sbabic
> Enable DTO support to make it possible to boot fitImage with DTOs > embedded in them. > Signed-off-by: Marek Vasut > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software En

[PATCH 1/4] mmc: fsl_esdhc_imx: Add a compatible for i.MX51

2021-03-01 Thread sbabic
> Add a compatible for i.MX51 so that i.MX51 can use this driver > via driver model. > Signed-off-by: Fabio Estevam > Reviewed-by: Jaehoon Chung Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Sof

[PATCH 3/4] ARM: dts: imx53-qsb: Describe the esdhc1 card detect pin

2021-03-01 Thread sbabic
> The micro SD card slot uses GPIO3_13 as card detect pin, so describe > it in the devicetree. > This was noticed when converting imx53-qsb board to driver model > in U-Boot as the micro SD card was not getting detected. > After this change it is possible to load the dtb and zImage > from the SD ca

[PATCH] ARM: imx: Revert "dh_imx6: Switch to full DM-aware"

2021-03-01 Thread sbabic
> This reverts commit 03a673cf49e ("dh_imx6: Switch to full DM-aware"). > According to discussion [1], the patch is known to break the dh_imx6 > board, however it made it upstream just before 2021.01-rc4, likely by > mistake. Revert this patch to put the board back into working order. > Also note t

[PATCH 4/4] mx51evk: Add myself as maintainer

2021-03-01 Thread sbabic
> I would like to help supporting this board, so add myself > as a maintainer. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managin

[PATCH] mmc: fsl_esdhc_imx: fix the DTOCV to 0xE

2021-03-01 Thread sbabic
> From: Haibo Chen > On imx6Q/imx6DL, we find if config the DTOCV to 0~3, it will impact > cmd6 behavior, after cmd6 get transfer complete interrupt, the data0 > line will keep low over 5 seconds. This should be a IC bug on imx6Q/DL. > For other platforms, do not has this issue. > To fix this issu

[PATCH] arm: dts: imx8mp-evk: Add FEC PHY reset timing

2021-03-01 Thread sbabic
> Add phy-reset-duration and phy-reset-post-delay to FEC node for PHY > reset, otherwise the PHY does not work correctly. > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Soft

[PATCH v2] tools: imx8mimage: Restore the original __ALIGN_MASK() macro

2021-03-01 Thread sbabic
> Since commit c738adb8dbbf ("tool: Move ALIGN_MASK to header as common MACRO") > the i.MX8MQ EVK board no longer boots. > The reason is that imx8mimage.c used a custom __ALIGN_MASK() macro, so > restore the original macro to fix the boot and rename it accordingly. > Reported-by: Lukas Rusak > Sig

[PATCH 2/4] mx53loco: Convert to driver model

2021-03-01 Thread sbabic
> Make the conversion to driver model as it is mandatory. > Remove the SATA support for now as the i.MX53 support has not > been added yet. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH v2 2/3] mx23evk: Convert to driver model

2021-03-01 Thread sbabic
> Make the conversion to driver model as it is mandatory. > Successfully tested booting Linux from the SD card. > Dropped splash screen support as this needs to be properly > converted to DM and tested. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano B

[PATCH 1/2] ARM: imx6: mx6sabre-common: Replace fatload with FS_GENERIC load

2021-03-01 Thread sbabic
> Replace filesystem specific fatload command with a filesystem agnostic > load command, so the board can boot from e.g. ext4 too. > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > Cc: Ye Li > Cc: uboot-imx > Reviewed-by: Peng Fan Applied to u-boot-imx, ma

  1   2   >