Re: [PATCH v2 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-10-18 Thread Baruch Siach
Hi Chris, On Sun, Oct 18 2020, Chris Packham wrote: > On Mon, Oct 19, 2020 at 1:59 AM Baruch Siach wrote: >> >> This series adds NAND flash support to Aramda 8k systems. Patches make the >> necessary changes to the pxa3xx_nand driver and DT files. >> >> v2: >> Rebase on current master. Fixes

[PATCH next] usb: mtu3: fix build warning/error

2020-10-18 Thread Chunfeng Yun
Fix up the following build warning/error: 1. unused variable 'mtu' in mtu3_gadget_dequeue() and mtu3_gadget_ep_set_halt() 2. implicit declaration of function ‘flush_dcache_range’ and ‘invalidate_dcache_range’ Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3_gadget.c | 4 ++--

[PATCH 24/25] binman: Support compression of sections

2020-10-18 Thread Simon Glass
With the previous changes, it is now possible to compress entire sections. Add some tests to check that compression works correctly, including updating the metadata. Also update the documentation. Signed-off-by: Simon Glass --- tools/binman/README | 8 +

[PATCH 19/25] binman: Drop the Entry.CheckSize() method

2020-10-18 Thread Simon Glass
This is only used by entry_Section and that class already calls it. Avoid calling it twice. Also drop it from the documentation. Signed-off-by: Simon Glass --- tools/binman/README | 21 ++--- tools/binman/control.py | 1 - 2 files changed, 10 insertions(+), 12 deletions(-)

[PATCH 22/25] binman: Update CheckEntries() for compressed sections

2020-10-18 Thread Simon Glass
At present this function assumes that the size of a section is at least as large as its contents. With compression this is often not the case. Relax this constraint by using the uncompressed size, if available. Signed-off-by: Simon Glass --- tools/binman/etype/section.py | 6 -- 1 file

[PATCH 23/25] binman: Use the actual contents in CheckSize()

2020-10-18 Thread Simon Glass
At present this function adds up the total size of entries to work out the size of a section's contents. With compression this is no-longer enough. We may as well bite the bullet and build the section contents instead. Call _BuildSectionData() to get the (possibly compressed) contents and

[PATCH 25/25] binman: Avoid calculated section data repeatedly

2020-10-18 Thread Simon Glass
Refactor the implementation slightly so that section data is not rebuilt when it is already available. We still have GetData() set up to rebuild the section, since we don't currently track when things change that might affect a section. For example, if a blob is updated within a section, we must

[PATCH 16/25] binman: Avoid reporting image-pos with compression

2020-10-18 Thread Simon Glass
When a section is compressed, all entries within it are grouped together into a compressed block of data. This obscures the start of each individual child entry. Avoid reporting bogus 'image-pos' properties in this case, since it is not possible to access the entry at the location provided. The

[PATCH 18/25] binman: Move sort and expand to the main Pack() function

2020-10-18 Thread Simon Glass
At present sorting and expanding entries are side-effects of the CheckEntries() function. This is a bit confusing, as 'checking' would not normally involve making changes. Move these steps into the Pack() function instead. Signed-off-by: Simon Glass --- tools/binman/etype/section.py | 7

[PATCH 17/25] binman: Drop Entry.CheckOffset()

2020-10-18 Thread Simon Glass
This function just calls CheckEntries() in the only non-trivial implementation. Drop it and use CheckEntries() directly. Signed-off-by: Simon Glass --- tools/binman/entry.py | 2 +- tools/binman/etype/section.py | 5 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 15/25] binman: Set section contents in GetData()

2020-10-18 Thread Simon Glass
Section contents is not set up when ObtainContents() is called, since packing often changes the layout of the contents. Ensure that the contents are correctly recorded by making this function regenerate the section. It is normally only called by the parent section (when packing) or by the

[PATCH 20/25] binman: Call CheckSize() from the section's Pack() method

2020-10-18 Thread Simon Glass
At present CheckSize() is called from the function that packs the entries. Move it up to the main Pack() function so that _PackEntries() can just do the packing. Signed-off-by: Simon Glass --- tools/binman/etype/section.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH 21/25] binman: Drop CheckEntries()

2020-10-18 Thread Simon Glass
This method introduces a separation between packing and checking that is different for sections. In order to handle compression properly, we need to be able to deal with a section's size being smaller than the uncompressed size of its contents. It is easier to make this work if everything happens

[PATCH 10/25] binman: Move section-building code into a function

2020-10-18 Thread Simon Glass
Create a new _BuildSectionData() to hold the code that is now in GetData(), so that it is clearly separated from entry.GetData() base function. Separate out the 'pad-before' processing to make this easier to understand. Unfortunately this breaks the testDual test. Rather than squash several

[PATCH 14/25] binman: Store the original data before compression

2020-10-18 Thread Simon Glass
When compressing an entry, the original uncompressed data is overwritten. Store it so it is available if needed. Signed-off-by: Simon Glass --- tools/binman/entry.py | 7 ++- tools/binman/ftest.py | 12 2 files changed, 18 insertions(+), 1 deletion(-) diff --git

[PATCH 11/25] binman: Refactor _BuildSectionData()

2020-10-18 Thread Simon Glass
At present this function does the padding needed around an entry. It is easier to understand what is going on if we have a function that returns the contents of an entry, with padding included. Refactor the code accordingly, adding a new GetPaddedData() method. Signed-off-by: Simon Glass ---

[PATCH 12/25] binman: Move section padding to the parent

2020-10-18 Thread Simon Glass
Each section is padded up to its size, if the contents are not large enough. Move this logic from _BuildSectionData() to GetPaddedDataForEntry() so that all the padding is in one place. With this, the testDual test is working again, so enable it. Signed-off-by: Simon Glass ---

[PATCH 13/25] binman: Make section padding consistent with other entries

2020-10-18 Thread Simon Glass
At present padding of sections is inconsistent with other entry types, in that different pad bytes are used. When a normal entry is padded by its parent, the parent's pad byte is used. But for sections, the section's pad byte is used. Adjust logic to always do this the same way. Note there is

[PATCH 07/25] binman: Update testPackExtra with more checks

2020-10-18 Thread Simon Glass
Check the contents of each section to make sure it is actually in the right place. Also fix a whitespace error in the .dts file. Signed-off-by: Simon Glass --- tools/binman/ftest.py| 27 ++- tools/binman/test/009_pack_extra.dts | 2 +- 2 files changed,

[PATCH 08/25] binman: Expand docs and test for padding

2020-10-18 Thread Simon Glass
Padding becomes part of the entry once the image is written out, but within binman the entry contents does not include the padding. Add documentation to make this clear, as well as a test. Signed-off-by: Simon Glass --- tools/binman/README | 12 +--- tools/binman/entry.py | 11

[PATCH 09/25] binman: Expand docs and test for alignment

2020-10-18 Thread Simon Glass
Alignment does form part of the entry once the image is written out, but within binman the entry contents does not include the padding. Add documentation to make this clear, as well as a test. Signed-off-by: Simon Glass --- tools/binman/README | 29 -

[PATCH 06/25] binman: Use 'files-compress' to set compression for files

2020-10-18 Thread Simon Glass
At present we use 'compress' as the property to set the compression of a 'files' entry. But this conflicts with the same property for entries, of which Entry_section is a subclass. Strictly speaking, since Entry_files is in fact a subclass of Entry_section, the files can be compressed

[PATCH 01/25] binman: Give a sensible error if no command is given

2020-10-18 Thread Simon Glass
At present if 'binman' is typed on the command line, a strange error about a missing argument is displayed. Fix this. These does not seem to be standard way to add the 'required' argument in all recent Python versions, so set it manually. Signed-off-by: Simon Glass --- tools/binman/cmdline.py

[PATCH 00/25] binman: Support compression of sections

2020-10-18 Thread Simon Glass
This series includes a number of improvements and refactors to support compressing entire sections. This is sometimes useful when a section contains a number of entries which are accessed as a whole and are best compressed together. Most of the effort here is clarifying what is in a section and

[PATCH 04/25] binman: Expand the error message for breaching a section

2020-10-18 Thread Simon Glass
Add in a few more details to this error message to make it easier to see what is going on. Signed-off-by: Simon Glass --- tools/binman/etype/section.py | 10 ++ tools/binman/ftest.py | 5 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git

[PATCH 05/25] binman: Move CompressData() into Entry base class

2020-10-18 Thread Simon Glass
At present this is only used by blobs. To allow it to be used by other entry types (such as sections), move it into the base class. Also read the compression type in the base class. Signed-off-by: Simon Glass --- tools/binman/entry.py | 17 + tools/binman/etype/blob.py |

[PATCH 02/25] binman: Fix return from u-boot-ucode if there is no DT

2020-10-18 Thread Simon Glass
This should return empty contents, not leave it unset. Fix it. Signed-off-by: Simon Glass --- tools/binman/etype/u_boot_ucode.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/binman/etype/u_boot_ucode.py b/tools/binman/etype/u_boot_ucode.py index 44622936182..b4cb8cdb6e1 100644

[PATCH 03/25] binman: Remove references to 'image' in entry_Section

2020-10-18 Thread Simon Glass
While a section is the base class of Image, it is more correct to refer to sections in most places in this file. Fix these comments. Signed-off-by: Simon Glass --- tools/binman/etype/section.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: RPi3b, U-Boot, EFI and Serial Input

2020-10-18 Thread Anthony Davies
Hi, I am running mainline grub built from source. Are you using it successfully on Raspberry Pi 3b or another SBC? At this stage my testing is as follows all using the exact same firmware, kernel and ramdisk: - u-boot -> kernel+ramdisk - No input - u-boot -> grub/ipxe -> kernel+ramdisk - No

Re: [PATCH next v10] usb: add MediaTek USB3 DRD driver

2020-10-18 Thread Chunfeng Yun
On Fri, 2020-10-16 at 14:08 +0200, Marek Vasut wrote: > On 10/16/20 5:38 AM, Chunfeng Yun wrote: > > This patch adds support for the MediaTek USB3 DRD controller, > > its host side is based on xHCI, this driver supports device mode > > and host mode. > > Build failed, please fix: >

Re: [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-18 Thread Tom Rini
On Sun, Oct 18, 2020 at 10:59:36PM +0200, Pali Rohár wrote: > On Sunday 18 October 2020 22:54:41 Anatolij Gustschin wrote: > > If you need video console support, then please convert to DM_VIDEO. > > Ok, but I'm waiting until other N900 issues are fixed. There are pending > patches which needs to

RE: [PATCH 12/18] watchdog: add watchdog driver for MediaTek MT7620 SoC

2020-10-18 Thread Weijie Gao
On Fri, 2020-10-16 at 08:13 +, Qiang Zhao wrote: > On 2020/10/16 Fri 15:36, Weijie Gao wrote > > > > -Original Message- > > From: Weijie Gao > > Sent: 2020年10月16日 15:36 > > To: u-boot@lists.denx.de > > Cc: GSS_MTK_Uboot_upstream ; > > Daniel Schwierzeck ; Stefan Roese > > ; Stefan

Re: [PATCH 00/18] Add support for MediaTek MT7620 SoC

2020-10-18 Thread Weijie Gao
On Fri, 2020-10-16 at 10:50 +0200, Michal Suchánek wrote: > Hello, > > I would suggest to use --thread with format-patch when sending patches. ok. I'll use it for v2 series. > > Thanks > > Michal > > On Fri, Oct 16, 2020 at 03:35:01PM +0800, Weijie Gao wrote: > > This series will add support

Re: [PATCH] gadget: f_thor: fix wrong file size cast

2020-10-18 Thread Jaehoon Chung
On 10/16/20 4:29 PM, Seung-Woo Kim wrote: > Casting 32bit int value directly into 64bit unsigned type causes > wrong value for file size equal or larger than 2GB. Fix the wrong > file size by casting uint32_t first. > > Fixes: commit 1fe9ae76b113 ("gadget: f_thor: update to support more than 4GB

Re: [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-18 Thread Pali Rohár
On Sunday 18 October 2020 22:54:41 Anatolij Gustschin wrote: > If you need video console support, then please convert to DM_VIDEO. Ok, but I'm waiting until other N900 issues are fixed. There are pending patches which needs to be reviewed and merged. Without video console support it is hard and

Re: [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
On Sun, 18 Oct 2020 22:41:30 +0200 Pali Rohár p...@kernel.org wrote: > > -CONFIG_VIDEO=y > > -CONFIG_CFB_CONSOLE_ANSI=y > > Please, do not disable CONFIG_CFB_CONSOLE_ANSI, it will make debugging > on real Nokia N900 very hard... the patch completely disables video console support, so there is

Re: [PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-18 Thread Pali Rohár
On Sunday 18 October 2020 21:18:24 Anatolij Gustschin wrote: > DM_VIDEO conversion deadline has passed, disable VIDEO config. > > Signed-off-by: Anatolij Gustschin > Cc: Pali Rohár > --- > configs/nokia_rx51_defconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Please pull u-boot-video

2020-10-18 Thread Anatolij Gustschin
Hi Tom, please pull video updates for v2021.01. gitlab CI: https://gitlab.denx.de/u-boot/custodians/u-boot-video/-/pipelines/5031 Thanks! The following changes since commit 3d19a7ee8ca7af01f75ff24622ea3c9840cd5bca: test: Fix sandbox tests failing to build (2020-10-17 09:03:22 -0400) are

Re: [PATCH v2 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-10-18 Thread Chris Packham
Hi Baruch, On Mon, Oct 19, 2020 at 1:59 AM Baruch Siach wrote: > > This series adds NAND flash support to Aramda 8k systems. Patches make the > necessary changes to the pxa3xx_nand driver and DT files. > > v2: > Rebase on current master. Fixes conflict with commit 661c98121d4 ("mtd: > nand: >

Re: [PATCH 1/3] phy: marvell: cp110: let the firmware configure the comphy

2020-10-18 Thread Marek Behun
On Sun, 18 Oct 2020 17:11:11 +0300 Baruch Siach wrote: > From: Grzegorz Jaszczyk > > Replace all comphy initialization with appropriate smc calls. It will > result with triggering synchronous exception that is handled by Secure > Monitor code in EL3. Then the Secure Monitor code will dispatch

[PATCH] xfi3: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- configs/xfi3_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/xfi3_defconfig b/configs/xfi3_defconfig index a943354903..9d895f87e6 100644

[PATCH] nokia_rx51: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin Cc: Pali Rohár --- configs/nokia_rx51_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/nokia_rx51_defconfig b/configs/nokia_rx51_defconfig index

[PATCH] mx23evk: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin Cc: Otavio Salvador --- configs/mx23evk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mx23evk_defconfig b/configs/mx23evk_defconfig index

[PATCH] imx: mx6sxsabresd: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin --- configs/mx6sxsabresd_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig index 584e79572a..a33ec49ed4

[PATCH] sansa_fuze_plus: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- configs/sansa_fuze_plus_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/sansa_fuze_plus_defconfig b/configs/sansa_fuze_plus_defconfig

[PATCH] picosam9g45: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin Cc: Erik van Luijk --- configs/picosam9g45_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/picosam9g45_defconfig b/configs/picosam9g45_defconfig index

[PATCH] ls1021aqds: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin Cc: Alison Wang --- configs/ls1021aqds_ddr4_nor_defconfig| 4 ++-- configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 4 ++-- configs/ls1021aqds_nand_defconfig| 4 ++--

[PATCH] ls1021atwr: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin --- configs/ls1021atwr_nor_SECURE_BOOT_defconfig| 4 ++-- configs/ls1021atwr_nor_defconfig| 4 ++-- configs/ls1021atwr_nor_lpuart_defconfig | 4 ++--

[PATCH] eb_cpu5282: fix CONFIG_DM_VIDEO build warnings

2020-10-18 Thread Anatolij Gustschin
Remove CONFIG_VIDEO dependency to fix board removal warnings. Signed-off-by: Anatolij Gustschin Cc: Jens Scharsig --- board/BuS/eb_cpu5282/eb_cpu5282.c | 7 +++ common/stdio.c| 4 +++- configs/eb_cpu5282_defconfig | 3 +--

[PATCH] at91sam9: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin --- configs/at91sam9261ek_dataflash_cs0_defconfig | 2 +- configs/at91sam9261ek_dataflash_cs3_defconfig | 2 +- configs/at91sam9261ek_nandflash_defconfig | 2 +-

[PATCH] imx: mx7dsabresd: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Signed-off-by: Anatolij Gustschin --- configs/mx7dsabresd_defconfig | 2 +- configs/mx7dsabresd_qspi_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/mx7dsabresd_defconfig

[PATCH] at91sam9n12ek: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config. Boards should convert to DM_VIDEO if they need video console support. Signed-off-by: Anatolij Gustschin Cc: Eugen Hristev --- configs/at91sam9n12ek_mmc_defconfig | 2 +- configs/at91sam9n12ek_nandflash_defconfig | 2 +-

[PATCH] arm: sunxi: disable obsolete VIDEO config

2020-10-18 Thread Anatolij Gustschin
DM_VIDEO conversion deadline has passed, disable VIDEO config option by default. Boards should convert to DM_VIDEO if they need video console support. Signed-off-by: Anatolij Gustschin Cc: Jagan Teki Cc: Maxime Ripard --- arch/arm/mach-sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

Re: i.MX RT1050 toolchain

2020-10-18 Thread Giulio Benetti
> Il giorno 18 ott 2020, alle ore 14:53, Andy Pont > ha scritto: > > Giulio wrote… > >> Perfect, I suggest you to test it on a EVK before than going with your >> custom board if you can, and after port your board, that should make it >> easier. > I certainly will do! One supplementary

[PATCH 2/3] phy: marvell: cp110: let the firmware configure comphy for PCIe

2020-10-18 Thread Baruch Siach
From: Grzegorz Jaszczyk Replace the comphy initialization for PCIe with appropriate SMC call, so the firmware will perform appropriate comphy initialization. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Ken Ma Reviewed-by: Igal Liberman Signed-off-by: Baruch Siach ---

[PATCH 0/3] phy: marvell: cp110: fix Armada 8k rev B0 boot hang

2020-10-18 Thread Baruch Siach
Boot of Armada 8040 rev B0 hangs when U-Boot attempts to initialize the PCIe serdes. Adapt patches from downstream Marvell tree that move serdes initialization to ATF. This series requires upstream ATF version 2.1 or newer. Grzegorz Jaszczyk (2): phy: marvell: cp110: let the firmware

[PATCH 3/3] phy: marvell: cp110: update mode parameter for pcie power on calls

2020-10-18 Thread Baruch Siach
From: Igal Liberman It helps ATF to determine who called power on function (U-boot/Linux). The corresponding ATF code was added in this commit: mvebu: cp110: avoid pcie power on/off sequence when called from Linux

[PATCH 1/3] phy: marvell: cp110: let the firmware configure the comphy

2020-10-18 Thread Baruch Siach
From: Grzegorz Jaszczyk Replace all comphy initialization with appropriate smc calls. It will result with triggering synchronous exception that is handled by Secure Monitor code in EL3. Then the Secure Monitor code will dispatch each smc call (by parsing the smc function identifier) and triggers

[PATCH v2 0/5] mtd: pxa3xx_nand: add support for Armada 8k

2020-10-18 Thread Baruch Siach
This series adds NAND flash support to Aramda 8k systems. Patches make the necessary changes to the pxa3xx_nand driver and DT files. v2: Rebase on current master. Fixes conflict with commit 661c98121d4 ("mtd: nand: pxa3xx: Fix not calling dev_xxx with a device") Baruch Siach (2): arm:

[PATCH v2 5/5] mtd: nand: pxa3xx: enable NAND controller if the SoC needs it

2020-10-18 Thread Baruch Siach
From: Shmuel Hazan Based on Linux kernel commit fc256f5789cb ("mtd: nand: pxa3xx: enable NAND controller if the SoC needs it"). This commit adds support for the Armada 8040 nand controller. The kernel commit says this: Marvell recent SoCs like A7k/A8k do not boot with NAND flash

[PATCH v2 1/5] arm: dts: armada-cp110-slave: add missing cps_nand

2020-10-18 Thread Baruch Siach
From: Shmuel Hazan Align node properties to kernel dts node. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- arch/arm/dts/armada-cp110-slave.dtsi | 16 1 file

[PATCH v2 4/5] mtd: pxa3xx_nand: remove dead code

2020-10-18 Thread Baruch Siach
The kfree() call is unreachable, and is not needed. Remove this call and the fail_disable_clk label. Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/pxa3xx_nand.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/nand/raw/pxa3xx_nand.c

[PATCH v2 3/5] mtd: pxa3xx_nand: port to use driver model

2020-10-18 Thread Baruch Siach
From: Shmuel Hazan Signed-off-by: Shmuel Hazan Signed-off-by: Baruch Siach --- drivers/mtd/nand/raw/Kconfig | 2 + drivers/mtd/nand/raw/pxa3xx_nand.c | 117 + 2 files changed, 55 insertions(+), 64 deletions(-) diff --git a/drivers/mtd/nand/raw/Kconfig

[PATCH v2 2/5] arm: dts: armada-cp110-master: update nand-controller

2020-10-18 Thread Baruch Siach
Align node properties to kernel dts node. The change of compatible property does not affect any currently supported board. Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility with the current driver. Signed-off-by: Baruch Siach --- arch/arm/dts/armada-cp110-master.dtsi | 15

Re: i.MX RT1050 toolchain

2020-10-18 Thread Andy Pont
Giulio wrote… Perfect, I suggest you to test it on a EVK before than going with your custom board if you can, and after port your board, that should make it easier. I certainly will do! One supplementary question… what did you use U-Boot to boot? I’m looking to get uClinux running on it. As

[PATCH] rockchip: rk3399: Add Nanopi M4V2 board support

2020-10-18 Thread Shuying Li
From: Libunko Add initial support for Nanopi M4V2 board. Specification - Rockchip RK3399 - Dual-Channel 4GB LPDDR4 - SD card slot - eMMC socket - RTL8211E 1Gbps - AP6356S WiFI/BT - HDMI In/Out, MIPI DSI/CSI - USB 3.0 x4 - USB Type C power and data - GPIO1, GPIO2 expansion ports - DC5V/3A

Re: RPi3b, U-Boot, EFI and Serial Input

2020-10-18 Thread Michal Suchánek
Hello, On Sun, Oct 18, 2020 at 09:40:00PM +1100, Anthony Davies wrote: > Hi All, > > I am having an issue where it seems after u-boot has booted an EFI it > doesnt seem to "release" the serial console input. > > I have had this happen using the iPXE efi similar to >

RPi3b, U-Boot, EFI and Serial Input

2020-10-18 Thread Anthony Davies
Hi All, I am having an issue where it seems after u-boot has booted an EFI it doesnt seem to "release" the serial console input. I have had this happen using the iPXE efi similar to https://lists.denx.de/pipermail/u-boot/2018-April/324802.html and also when using the grub efi. Has anyone other

Re: i.MX RT1050 toolchain

2020-10-18 Thread Giulio Benetti
On 10/17/20 2:53 PM, Andy Pont wrote: Giulio wrote... Is there a preferred / recommended toolchain for building U-Boot for the i.MX RT10xx platforms or should any recent ARM cross compiler work? It should compile fine with any recent ARM cross-compiler. Please let me know if it builds