Re: [U-Boot] [PATCH v2 15/28] phy: mt76x8-usb-phy: add slew rate calibration and remove non-mt7628 part

2019-09-18 Thread Daniel Schwierzeck
Am 18.09.19 um 04:15 schrieb Weijie Gao: > This patch adds slew rate calibration for mt76x8-usb-phy, removes code > which belongs to mt7620, and gets rid of using syscon and regmap by using > clock driver and reset controller. > > Signed-off-by: Weijie Gao > --- > drivers/phy/Kconfig

Re: [U-Boot] [PATCH v2 22/28] mmc: mtk-sd: add a dts property cd-active-high for builtin-cd mode

2019-09-18 Thread Daniel Schwierzeck
Am 18.09.19 um 04:15 schrieb Weijie Gao: > This patch adds a dts property cd-active-high for builtin-cd mode to make > it configurable instead of using hardcoded active-low. > > Signed-off-by: Weijie Gao > --- > drivers/mmc/mtk-sd.c | 9 - > 1 file changed, 8 insertions(+), 1

Re: [U-Boot] [PATCH] net: Always build the string_to_enetaddr() helper

2019-09-18 Thread Ondřej Jirman
Hello, On Tue, Sep 17, 2019 at 09:22:20PM +, Joe Hershberger wrote: > Hi Simon, > > On Sat, Sep 14, 2019 at 1:55 PM Simon Goldschmidt > wrote: > > > > Joe Hershberger schrieb am Sa., 14. Sep. 2019, > > 20:46: > > > > > On Sat, Sep 14, 2019 at 1:32 PM Tom Rini wrote: > > > > > > > > On

Re: [U-Boot] [PATCH] net: Always build the string_to_enetaddr() helper

2019-09-18 Thread Ondřej Jirman
On Sat, Sep 14, 2019 at 02:29:11PM -0400, Tom Rini wrote: > On Sat, Sep 14, 2019 at 04:05:44PM +0200, Ondřej Jirman wrote: > > Hi, > > > > On Fri, Sep 13, 2019 at 07:40:22PM -0500, Joe Hershberger wrote: > > > Part of the env cleanup moved this out of the environment code and into > > > the net

Re: [U-Boot] [PATCH v2] sunxi: H6: DRAM: Add support for half DQ

2019-09-18 Thread Maxime Ripard
Hi, On Fri, Aug 23, 2019 at 07:24:04PM +0200, Jernej Skrabec wrote: > Half DQ configuration seems to be very rare for H6 based boards/STBs, > but exists nevertheless. Currently the only known product which needs > this support is Tanix TX6 mini. > > This commit adds support for half DQ

Re: [U-Boot] [PATCH v2] arm: dts: sync dts for Allwinner H6

2019-09-18 Thread Maxime Ripard
On Sun, Aug 25, 2019 at 06:04:18PM +0200, Clément Péron wrote: > Sync Kernel DTS for Allwinner H6 boards. > > Drop /omit-if-no-ref/ keyword as it's not supported by U-boot. > > commit Linux 5.3-rc4 > > Signed-off-by: Clément Péron Acked-by: Maxime Ripard Maxime signature.asc Description:

Re: [U-Boot] [ANN] U-Boot v2019.10-rc3 released

2019-09-18 Thread Matthias Brugger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 18/09/2019 16:25, Tom Rini wrote: > On Wed, Sep 18, 2019 at 04:23:35PM +0200, Matthias Brugger wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Hi Tom, >> >> On 27/08/2019 02:19, Tom Rini wrote: >>> Hey all, >>> >>> It's

[U-Boot] [PATCH] libfdt: fix typo on comment

2019-09-18 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- scripts/dtc/libfdt/libfdt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtc/libfdt/libfdt.h b/scripts/dtc/libfdt/libfdt.h index cf86ddba88..53d577d2a8 100644 --- a/scripts/dtc/libfdt/libfdt.h +++ b/scripts/dtc/libfdt/libfdt.h @@

Re: [U-Boot] [PATCH V2] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-18 Thread Marek Vasut
On 9/18/19 12:27 PM, Bin Meng wrote: > On Wed, Sep 18, 2019 at 6:07 PM Marek Vasut wrote: >> >> On 9/18/19 4:13 AM, Bin Meng wrote: >>> On Tue, Sep 17, 2019 at 10:43 PM Marek Vasut wrote: Due to constant influx of more and more weird and broken USB sticks, do as Linux does in

Re: [U-Boot] [ANN] U-Boot v2019.10-rc3 released

2019-09-18 Thread Tom Rini
On Wed, Sep 18, 2019 at 04:23:35PM +0200, Matthias Brugger wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Tom, > > On 27/08/2019 02:19, Tom Rini wrote: > > Hey all, > > > > It's release day and here's v2019.10-rc3. We're well into what should be > > the stabilization period

Re: [U-Boot] [ANN] U-Boot v2019.10-rc3 released

2019-09-18 Thread Matthias Brugger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Tom, On 27/08/2019 02:19, Tom Rini wrote: > Hey all, > > It's release day and here's v2019.10-rc3. We're well into what should be > the stabilization period at this point. Going forward I am hoping for PRs > that are bug fixes / regression

[U-Boot] [PATCH 2/2] rsa: Return immediately if required-key verification fails

2019-09-18 Thread Philippe Reynes
From: Daniele Alessandrelli Currently, if image verification with a required key fails, rsa_verify() code tries to find another key to verify the FIT image. This however, is not the intended behavior as the documentation says that required keys "must be verified for the image / configuration to

[U-Boot] [PATCH 0/2] rsa signature: check that required key is really mandatory

2019-09-18 Thread Philippe Reynes
This serie fix an issue with the required key on rsa signature. If a required key is defined, only FIT signed with this key should be accepted. right now, there is an issue with required key, u-boot may used others key than required key. The first commit add a test in vboot to check that u-boot

[U-Boot] [PATCH 1/2] pytest: vboot: add a test for required key

2019-09-18 Thread Philippe Reynes
This commit add a test in the vboot test to check that when a required key is asked, only FIT signed with this key is used/accepted by u-boot. Signed-off-by: Philippe Reynes --- test/py/tests/test_vboot.py| 57 ++

[U-Boot] Verified boot interrogation

2019-09-18 Thread Roger Clark
Hello everyone, After studying the verified boot feature I have some interrogations. If my understanding is correct the procedure should be the following : 1) Generate private keys and certificate 2) Generate a uboot and a dts file to describe the key 3) Generate a kernel/dtb/ramdisk and an its

[U-Boot] fpga spi on uboot driver

2019-09-18 Thread jérémy alcim
hi, I search how to make a multiplexing for my unstandar spi on my fpga. why ? because my spi register are 1 slot more. this slot is a sublayer for non standard connection data bus selector. I have 1 card connected at 4 card by my spi implementation. i want to use my spi chip on the fpga with the

Re: [U-Boot] [PATCH v2 10/28] pinctrl: add support for MediaTek MT7628

2019-09-18 Thread Daniel Schwierzeck
Am 18.09.19 um 04:15 schrieb Weijie Gao: > This patch adds pinctrl support for mt7628, with a file for common pinmux > functions and a file for mt7628 which has additional support for pinconf. > > Signed-off-by: Weijie Gao > --- > drivers/pinctrl/Kconfig | 1 + >

Re: [U-Boot] [PATCH 05/14] dfu: allow read with 0 data for EOF indication

2019-09-18 Thread Patrick DELAUNAY
Hi Lukasz, > From: Lukasz Majewski > Sent: mardi 17 septembre 2019 12:29 > > Hi Patrick, > > > This patch allows into the DFU backend to indicate that there is no > > remaining data (for EOF for example). That allows users to read a > > buffer greater than the device size; the dfu stack stops

[U-Boot] [PATCH v1] armv8: fsl-layerscape: LS1044A/1048A: enable Only 1x 10GE port

2019-09-18 Thread Pramod Kumar
LS1044A/1048A is LS1088 personality which support only one 1x 10GE port. MAC1 and MAC2 are associated with 1G SGMII, 2.5G SGMII, and XFI. Disable MAC1 to have only one 1x 10GE port Signed-off-by: Pramod Kumar --- arch/arm/cpu/armv8/fsl-layerscape/ls1088a_serdes.c | 33 +- 1

Re: [U-Boot] [RFC 02/15] test: add tests for u16_strcmp()

2019-09-18 Thread Heinrich Schuchardt
On 9/18/19 3:26 AM, AKASHI Takahiro wrote: > New seven test cases for u16_strcmp() are added under Unicode unit test, > which should be executed by "ut unicode" command. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt ___ U-Boot

Re: [U-Boot] [RFC 01/15] lib: charset: add u16_strcmp()

2019-09-18 Thread Heinrich Schuchardt
On 9/18/19 3:26 AM, AKASHI Takahiro wrote: > u16 version of strcmp(): u16_strncmp() works like u16_strcmp() but only > at most n characters (in u16) are compared. > This function will be used in my UEFI secure boot patch. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

[U-Boot] [PATCH v2] armv7: ls102xa: Correct entry of SCFG_QSPI_CLKSEL

2019-09-18 Thread Kuldeep Singh
Value 0xC is reserved. Replace it with correct value 0x5 which is ClusterPLL/16 Signed-off-by: Ashish Kumar Signed-off-by: Kuldeep Singh --- v2: Reword commit message arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH V2] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-18 Thread Bin Meng
On Wed, Sep 18, 2019 at 6:07 PM Marek Vasut wrote: > > On 9/18/19 4:13 AM, Bin Meng wrote: > > On Tue, Sep 17, 2019 at 10:43 PM Marek Vasut wrote: > >> > >> Due to constant influx of more and more weird and broken USB sticks, > >> do as Linux does in commit

Re: [U-Boot] Odroid n1- booting hangs if we add memtest=4 to kernel command line.

2019-09-18 Thread Anand Moon
Hi Kevrer, On Wed, 18 Sep 2019 at 12:02, Kever Yang wrote: > > Hi Anand, > > > On 2019/9/16 下午7:03, Anand Moon wrote: > > Hi Jagan / Kever, > > I have with me Odroid - N1 per-released development board, > It's almost same form factor to "Firefly-RK3399 Board" with > rk3399-sdram-ddr3-1600.dtsi

Re: [U-Boot] [PATCH V2] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-18 Thread Marek Vasut
On 9/18/19 4:13 AM, Bin Meng wrote: > On Tue, Sep 17, 2019 at 10:43 PM Marek Vasut wrote: >> >> Due to constant influx of more and more weird and broken USB sticks, >> do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 >> >> usb: storage: scsiglue: further describe our 240

[U-Boot] [PATCH 1/2] rockchip: evb-rk3288: Drop explicit SPL_TEXT

2019-09-18 Thread Kever Yang
SPL_TEXT_BASE is 0x0 by default, based on the kconfig definition move in below commit. "configs: move CONFIG_SPL_TEXT_BASE to Kconfig" (sha1: f89d6133eef2e068f9c33853b6584d7fcbfa9d2e) So, don't define it explicitly. Signed-off-by: Kever Yang --- configs/evb-rk3288_defconfig | 1 - 1 file

[U-Boot] [PATCH 2/2] rockchip: config: evb-rk3288: enable SPL_STACK_R

2019-09-18 Thread Kever Yang
We need a new STACK in SDRAM instead of SRAM so that the EMMC controller can work properly. The EMMC/SD controller's master is not able to access SRAM area, it can only access DRAM area. Signed-off-by: Kever Yang --- configs/evb-rk3288_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-18 Thread Kever Yang
On 2019/9/18 下午1:25, Jagan Teki wrote: On Wed, Sep 18, 2019 at 10:36 AM Kever Yang wrote: On 2019/9/17 下午2:10, Jagan Teki wrote: SPL sets up SDRAM while in its board_init_f() function, it is possible for the stack to move there before board_init_r() is reached. So it is required to reserve

Re: [U-Boot] [U-BOOT PATCH v1 1/2] gpio: fu540: add support for DM based gpio driver for FU540-SoC

2019-09-18 Thread Bin Meng
Hi Sagar, On Tue, Sep 10, 2019 at 11:44 PM Sagar Shrikant Kadam wrote: > > This patch adds a DM based driver model for gpio controller present in > FU540-C000 SoC on HiFive Unleashed A00 board. This SoC has one GPIO > bank and 16 GPIO lines in total, out of which GPIO0 to GPIO9 and > GPIO15 are

Re: [U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-18 Thread Kever Yang
On 2019/9/17 下午2:10, Jagan Teki wrote: SPL sets up SDRAM while in its board_init_f() function, it is possible for the stack to move there before board_init_r() is reached. So it is required to reserve the stack for SDRAM, with a proper location and size otherwise any operations during SPL

[U-Boot] [PATCH v3 0/3] env: Add CONFIG_ENV_FULL_SUPPORT

2019-09-18 Thread Patrick Delaunay
Hi, This patchset is a the 3rd version of http://patchwork.ozlabs.org/project/uboot/list/?series=129339 "env: Add CONFIG_ENV_SUPPORT" The first patch of the serie only solves the regression introduced by commit 7d4776545b0f ("env: solve compilation error in SPL"); change_ok was always NULL

[U-Boot] [PATCH v3 1/3] env: correct the check of env_flags_validate presence

2019-09-18 Thread Patrick Delaunay
This patch corrects the check of env_flags_validate presence because "flags.c" is always compiled in U-Boot and CONFIG_ENV_SUPPORT don't exist; so the macro CONFIG_IS_ENABLED(ENV_SUPPORT) only provides the expected result for SPL and TPL (check activation of CONFIG_SPL_ENV_SUPPORT and

[U-Boot] [PATCH v3 2/3] env: introduce macro ENV_IS_IN_SOMEWHERE

2019-09-18 Thread Patrick Delaunay
This patch introduce a macro ENV_IS_IN_SOMEWHERE to check if the the environment can be saved somewhere, in a device or in a file system, without assumption on CONFIG$(SPL_TPL_)ENV_IS_NOWHERE. Since the commit 208bd2b85ecc ("env: allow ENV_IS_NOWHERE with other storage target"), is is allowed to

[U-Boot] [RESEND][PATCH v2] configs: ls1012ardb: Add CONFIG_ENV_ADDR for LS1012ARDB

2019-09-18 Thread Kuldeep Singh
This configuration helps in picking the environment from flash before DDR init. Signed-off-by: Ashish Kumar Signed-off-by: Kuldeep Singh --- v2: Reword commit message include/configs/ls1012ardb.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/ls1012ardb.h

[U-Boot] [PATCH v2] armv8: ls1028a: add more personalities support

2019-09-18 Thread Yuantian Tang
Add LS1027A, LS1018A and LS1017A personalities support to LS1028A processor soc family. LS1028A processor is the prime personality of LS1028A soc family. LS1027A processor is a lower funtionality version of QorIQ LS1028A which does not support the multimedia subsystems, such as LCD controller,

[U-Boot] [PATCH] armv8: ls1028a: add more personalities support

2019-09-18 Thread Yuantian Tang
Add LS1027A, LS1018A and LS1017A personalities support to LS1028A processor soc family. LS1028A processor is the prime personality of LS1028A soc family. LS1027A processor is a lower funtionality version of QorIQ LS1028A which does not support the multimedia subsystems, such as LCD controller,

Re: [U-Boot] Ethernet on i.MX8MM with mainline U-Boot

2019-09-18 Thread Peng Fan
Hi Frider, > -Original Message- > From: Schrempf Frieder > Sent: 2019年9月17日 21:49 > To: Peng Fan > Cc: u-boot@lists.denx.de > Subject: Ethernet on i.MX8MM with mainline U-Boot > > Hi Peng, > > I tried to get Ethernet running on i.MX8MM with mainline U-Boot and your > latest patches

Re: [U-Boot] [PATCH 3/4] imx6: spl: Reduce SPL limit size in case CONFIG_SECURE_BOOT is enabled

2019-09-18 Thread Stefano Babic
Hi Jagan, Breno, On 17/09/19 09:13, Jagan Teki wrote: > Hi Breno, > > On Thu, Jul 18, 2019 at 6:06 PM Breno Matheus Lima wrote: >> >> In case CONFIG_SECURE_BOOT is enabled we need to limit the SPL size to >> avoid a possible HAB failure event: >> >> - HAB Event 1 - >>

Re: [U-Boot] [U-BOOT PATCH v1 2/2] configs: fu540: enable gpio driver

2019-09-18 Thread Bin Meng
On Tue, Sep 10, 2019 at 11:44 PM Sagar Shrikant Kadam wrote: > > Enable the DM based GPIO driver for FU540-C000 SoC. > > Signed-off-by: Sagar Shrikant Kadam > --- > board/sifive/fu540/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Bin Meng Tested-by: Bin Meng

Re: [U-Boot] [U-BOOT PATCH v1 0/2] add gpio support for HiFive Unleashed A00 board.

2019-09-18 Thread Bin Meng
Hi Sagar, On Tue, Sep 10, 2019 at 11:44 PM Sagar Shrikant Kadam wrote: > > U-Boot currently is missing GPIO support for FU540-C000 SoC which is > mounted on HiFive Unleashed A00 board. This patch is intended to add DM > based GPIO controller driver in order to access GPIO pins within the SoC >

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-18 Thread Stefan Roese
Hi Frieder, On 18.09.19 09:08, Schrempf Frieder wrote: One further update on this QSPI driver. This driver only works when loaded via "imx_usb" on the i.MX6ULL EVK. When programmed into QSPI and booted from QSPI this driver does not detect the SPI NOR flash: => sf probe unrecognized JEDEC

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-09-18 Thread Schrempf Frieder
Hi Stefan, On 18.09.19 06:51, Stefan Roese wrote: > Hi Ashish, > > On 13.09.19 15:11, Stefan Roese wrote: >> On 12.09.19 14:36, Stefan Roese wrote: >> >> >> The spi-mem version is still under debug, I could make it working for ls1088rdb, ls1046rdb, but it is failing for

Re: [U-Boot] Odroid n1- booting hangs if we add memtest=4 to kernel command line.

2019-09-18 Thread Kever Yang
Hi Anand, On 2019/9/16 下午7:03, Anand Moon wrote: Hi Jagan / Kever, I have with me Odroid - N1 per-released development board, It's almost same form factor to "Firefly-RK3399 Board" with rk3399-sdram-ddr3-1600.dtsi ram configuration. I have configure Odroid - N1 board to boot using TPL / SPL