Re: [U-Boot] [PATCH] rpi3: Enable verified boot from FIT image

2019-07-26 Thread Jun Nie
Jun Nie 于2019年7月11日周四 上午11:56写道: > > Enable verified boot from FIT image with select configs > and specify boot script image node in FIT image, the FIT > image is verified before it is run. > > Code that reusing dtb in firmware is disabled, so that > the dtb with pubic key packed in u-boot.bin

Re: [U-Boot] [PATCH v2 1/7] clk: add support for clk_is_match()

2019-07-26 Thread Tom Rini
On Mon, Jun 03, 2019 at 06:52:46PM +0530, Sekhar Nori wrote: > Add support for clk_is_match() which is required to > know if two clock pointers point to the same exact > physical clock. > > Also add a unit test for the new API. > > Reviewed-by: Lokesh Vutla > Signed-off-by: Sekhar Nori >

[U-Boot] [PATCH] ARM: da850evm: Split MTDPARTS into SPL and u-boot

2019-07-26 Thread Adam Ford
The MTDPARTS currently lists just u-boot.ais as 512k in size. This works when loading the ais file via serial port, but if one wanted to update just the u-boot portion, it's not really possible. This patch splits the MTDPARTS into a 32k SPL partiion and a 480k u-boot partition which allows

[U-Boot] [PATCH] ARM: da850-evm: Replace CMD_SF with CMD_MTD

2019-07-26 Thread Adam Ford
This patch enables MTD and CMD_MTD and it works with SPI NOR, so the older CMD_SF can be removed. Signed-off-by: Adam Ford diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig index 234bc2c8cb..81dce349aa 100644 --- a/configs/da850evm_defconfig +++ b/configs/da850evm_defconfig

Re: [U-Boot] [PATCH 1/3] armv8: ls1088aqds: The ls1088aqds board supports the I2C driver model.

2019-07-26 Thread Wolfgang Denk
Dear Chuanhua Han, In message <20190725084400.4035-1-chuanhua@nxp.com> you wrote: > This patch is updating ls1088aqds board init code to support DM_I2C. > > Signed-off-by: Chuanhua Han > --- > depends on: > - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 > -

Re: [U-Boot] [EXT] Re: [PATCH v2 4/4] armv8: ls2088aqds : Add ds3232 node

2019-07-26 Thread Wolfgang Denk
Dear Chuanhua Han, In message you wrote: > > > Is this bisectable? You first enable the feature in the code, and only > > later add > > the needed property to the DT? Should it not be reversed? > This should not matter because they are in the same patch set You completely miss the point

Re: [U-Boot] [EXT] Re: [PATCH 1/3] armv8: ls1088aqds: The ls1088aqds board supports the I2C driver model.

2019-07-26 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月26日 14:24 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Ashish Kumar ; > Rajesh Bhagat ; u-boot@lists.denx.de > Subject: [EXT] Re: [U-Boot] [PATCH 1/3] armv8: ls1088aqds: The ls1088aqds > board

Re: [U-Boot] [PATCH v3 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-26 Thread Wolfgang Denk
Dear Chuanhua Han, In message <20190726032729.14381-2-chuanhua@nxp.com> you wrote: > > /* Set I2c to Slot 1 */ > - i2c_write(0x77, 0, 0, , 1); > +#ifndef CONFIG_DM_I2C > + ret = i2c_write(0x77, 0, 0, , 1); > +#else > + ret = i2c_get_chip_for_busnum(0, 0x77, 1, ); > +

Re: [U-Boot] [EXT] Re: [PATCH v3 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-26 Thread Chuanhua Han
Hi, Wolfgang Denk > -Original Message- > From: Wolfgang Denk > Sent: 2019年7月26日 14:34 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Rajesh Bhagat ; > Priyanka Jain ; u-boot@lists.denx.de; > lu...@denx.de; tr...@konsulko.com > Subject: [EXT] Re: [PATCH v3

[U-Boot] [PATCH v6 2/8] x86: Add a common HOB library

2019-07-26 Thread Park, Aiden
FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER) consume HOB(CONFIG_USE_HOB) data from the each HOB list pointer. Add a common HOB library in lib/hob.c and include/asm/hob.h. Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- Changes in v6: * Use CONFIG_USE_HOB * Change

[U-Boot] [PATCH v6 4/8] x86: slimbootloader: Add serial driver

2019-07-26 Thread Park, Aiden
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info HOB - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by: Aiden Park

[U-Boot] [PATCH v6 6/8] x86: slimbootloader: Add a slimbootloader device tree

2019-07-26 Thread Park, Aiden
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- Changes in v3: * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb arch/x86/dts/Makefile | 1 +

Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate rx data is present

2019-07-26 Thread Rick Chen
Hi Sagar > From: Sagar Kadam [mailto:sagar.ka...@sifive.com] > Sent: Friday, July 19, 2019 7:37 PM > To: Rick Jian-Zhi Chen(陳建志) > Subject: Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate rx > data is present > > Hello Rick, > > I missed to CC you while submitting the patch[1]

[U-Boot] [PATCH v6 7/8] board: intel: Add new slimbootloader board

2019-07-26 Thread Park, Aiden
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add doc/board/intel/slimbootloader.rst Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- Changes in v6: * Select

[U-Boot] [PATCH v6 5/8] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-26 Thread Park, Aiden
Slim Bootloader already calibrated TSC and provides it to U-Boot. Therefore, U-Boot does not have to re-calibrate TSC. Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass TSC calibration and use the provided TSC frequency. - Get TSC frequency from performance info hob - Set

[U-Boot] [PATCH v6 8/8] x86: Skip setting up MTRRs in slimbootloader

2019-07-26 Thread Park, Aiden
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by: Aiden Park Reviewed-by: Bin Meng --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c index

[U-Boot] [PATCH v6 3/8] x86: slimbootloader: Add memory configuration

2019-07-26 Thread Park, Aiden
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info HOB - Set available top memory lower than 4GB for U-Boot relocation - Provide e820 entries

Re: [U-Boot] [PATCH v3] dw_mmc: turn on the IO supply

2019-07-26 Thread Kever Yang
Hi Peng, Simon, This patch is delegate to Philipp now, does this patch should go to Rockchip branch first? I can do it if yes, but double with you in case this patch should go to mmc branch first. Thanks, - Kever Peng Fan 于2019年5月20日周一 下午3:04写道: > > Subject: [U-Boot] [PATCH v3] dw_mmc: turn

Re: [U-Boot] [PATCH v2 2/3] configs: Move CONFIG_CMD_USB_MASS_STORAGE properly into Kconfig

2019-07-26 Thread Kever Yang
Hi Urja, The subject is a little bit too long and missing a spaces. This is a per SoC config, so it will be better to add the CONFIG_CMD_USB_MASS_STORAGE as imply option in the SOC Kconfig instead of add them in all the defconfigs. Thanks, - Kever Urja Rannikko 于2019年5月13日周一 下午9:51写道: > This

Re: [U-Boot] [PATCH 1/3] sysreset: switch to using SYSRESET_POWER_OFF for poweroff

2019-07-26 Thread Kever Yang
Hi Urja and Simon, Does this patch still needed? Since this patch delegate to u-boot-rockchip maintainer Philipp now, I would like to know what should I do for this patch. Thanks, - Kever Patrick DELAUNAY 于2019年5月20日周一 下午9:38写道: > Hi Urja, > > > > > Hi, > > > > On Thu, May 16, 2019 at 7:44 AM

Re: [U-Boot] [PATCH 3/3] armv8: ls1088aqds : Add pcf2127 node

2019-07-26 Thread Wolfgang Denk
Dear Chuanhua Han, In message <20190725084400.4035-3-chuanhua@nxp.com> you wrote: > This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 > for ls1088aqds boards. Same question as with the other patches - does this really bisect? Best regards, Wolfgang Denk -- DENX

Re: [U-Boot] [EXT] Re: [PATCH v2 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-26 Thread Wolfgang Denk
Dear Chuanhua Han, In message you wrote: > > > This is a really long list where you repeat the very same code again and > > again > > and again. Would it not make sense to declare a data array (holding pairs > > of > > , entries), and then iterrate over the loop? The could > > would be

Re: [U-Boot] [EXT] Re: [PATCH v2 4/4] armv8: ls2088aqds : Add ds3232 node

2019-07-26 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月26日 14:26 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat ; u-boot@lists.denx.de; > lu...@denx.de; tr...@konsulko.com > Subject: Re: [EXT] Re: [PATCH v2 4/4] armv8:

Re: [U-Boot] [PATCH 1/1] doc: integrate UEFI documentation into Sphinx toctree

2019-07-26 Thread Bin Meng
Hi Heinrich, On Fri, Jul 26, 2019 at 12:56 PM Heinrich Schuchardt wrote: > > Change the UEFI documentation to Sphinx style and integrate it into the > rest of the Sphinx generated documentation. > > Remove the inaccurate TODO list in doc/uefi/uefi.rst. > > Signed-off-by: Heinrich Schuchardt >

[U-Boot] [PATCH v6 1/8] x86: Add new slimbootloader CPU type

2019-07-26 Thread Park, Aiden
This slimbootloader CPU type is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader). The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS booting, and supports QEMU, Apollolake, Whiskeylake and

[U-Boot] [PATCH v6 0/8] x86: Add basic Slim Bootloader payload support

2019-07-26 Thread Park, Aiden
This patch is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader/slimbootloader) boot firmware for x86 platforms. The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS hand-off, and supports

Re: [U-Boot] [PATCH v2 3/3] configs: update rk3288 veyron defconfigs

2019-07-26 Thread Kever Yang
Urja Rannikko 于2019年5月13日周一 下午9:52写道: > Updates jerry, mickey, minnie and speedy defconfigs to: > - fit the SPL in 32k > - boot from SPI (only) > - remove gadget support (these have no OTG port) > > Reviewed-by: Simon Glass > Signed-off-by: Urja Rannikko > Reviewed-by: Kever Yang Thanks, -

[U-Boot] [PATCH v0] rockchip: rk3399: Add ROC-RK3399-PC support

2019-07-26 Thread djw
From: Levin Du Add initial support for ROC-RK3399-PC board. Specification - Rockchip RK3399 - LPDDR4 4GiB - eMMC slot - SD card slot - RTL8211E 1Gbps - HDMI Out, DP, MIPI DSI/CSI, EDP - PCIe M.2 - USB 2.0, USB-3.0 - USB C Type Commit details of rk3399-roc-pc.dts sync from Linux v5.2: "arm64:

Re: [U-Boot] [PATCH] Fix RK3328-evb Floating GPIO0_D6 - pull up - 4ma

2019-07-26 Thread Kever Yang
Hi Mister, NAK for this patch. There is a dts for rock64 now. For the pinctrl, if this is a sdmmc IO, it would prefer to set the io in sdmmc node. One question is, the fix regulator driver should init this GPIO to LOW or HIGH as required which is not floating, does that not enough? Thanks, -

Re: [U-Boot] [PATCH] rockchip: rk3399: Add Khadas Edge board support

2019-07-26 Thread Kever Yang
Hi Nick, Are you going to send a new patch set with the update of change request? Thanks, - Kever Jagan Teki 于2019年5月25日周六 下午1:57写道: > On Sat, May 25, 2019 at 9:14 AM Nick Xie wrote: > > > > > > Hello Jagan, > > > > Thanks for your review. > > > >> > Hope you sync the dts from Linux, if not

[U-Boot] [PATCH v2] sunxi: Add H6 SPI SPL support

2019-07-26 Thread Marek Kraus
Add H6 SPI addresses and masks (since H6 memory map is totally different). Tested on Pine H64 rev B with Winbond W25Q128FW, Signed-off-by: Marek Kraus Cc: Jagan Teki --- Changes for v2: - Macros for sun6i offsets, when different base address --- arch/arm/mach-sunxi/Kconfig | 2 +-

[U-Boot] [PATCH 1/2] libfdt: fdt_address_cells() and fdt_size_cells()

2019-07-26 Thread matthias . bgg
From: Matthias Brugger Add internal fdt_cells() to avoid copy and paste. Fix typo in fdt_size_cells() documentation comment. This is based in upstream commit: c12b2b0 ("libfdt: fdt_address_cells() and fdt_size_cells()") but misses the test cases, as we don't implement them in u-boot.

[U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-07-26 Thread matthias . bgg
From: Matthias Brugger According to the device tree specification, the default value for was not present. This patch also makes fdt_address_cells() and fdt_size_cells() conform to the behaviour documented in libfdt.h. The defaults are only returned if fdt_getprop() returns -FDT_ERR_NOTFOUND,

[U-Boot] Question about GPL v3 font

2019-07-26 Thread Masahiro Yamada
Hi. According to the Kconfig entry, drivers/video/fonts/nimbus_sans_l_regular.ttf is licensed under GPL v3. How the license is handled when U-Boot is compiled with CONFIG_CONSOLE_TRUETYPE_NIMBUS=y ? I am asking this since many companies, I guess, have GPL-v3 allergy. config

Re: [U-Boot] [PATCH 1/2] rk3399: Restore broken USB3 DTS description.

2019-07-26 Thread Kever Yang
Hi Chris, Could you help to check if this patch still needed after patches from Mark: c908d46f3a rockchip: xhci: Remove RK3399 support 062790f461 usb: xhci-dwc3: Add USB2 PHY configuration aaa8d6b149 usb: dwc3-of-simple: Add support for RK3399 Thanks, - Kever Kever Yang 于2019年5月27日周一 下午2:47写道:

Re: [U-Boot] [PATCH 1/2] rk3399: Restore broken USB3 DTS description.

2019-07-26 Thread Mark Kettenis
> From: Kever Yang > Date: Fri, 26 Jul 2019 17:51:34 +0800 > > Hi Chris, > > Could you help to check if this patch still needed after patches from Mark: > c908d46f3a rockchip: xhci: Remove RK3399 support > 062790f461 usb: xhci-dwc3: Add USB2 PHY configuration > aaa8d6b149 usb: dwc3-of-simple:

Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate rx data is present

2019-07-26 Thread Sagar Kadam
Hi Rick, On Fri, Jul 26, 2019 at 12:32 PM Rick Chen wrote: > > Hi Sagar > > > From: Sagar Kadam [mailto:sagar.ka...@sifive.com] > > Sent: Friday, July 19, 2019 7:37 PM > > To: Rick Jian-Zhi Chen(陳建志) > > Subject: Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate > > rx data is

Re: [U-Boot] [PATCH v6 3/8] x86: slimbootloader: Add memory configuration

2019-07-26 Thread Andy Shevchenko
On Fri, Jul 26, 2019 at 10:00 AM Park, Aiden wrote: > > Slim Bootloader provides memory map info thru its HOB list pointer. > Configure memory size and relocation memory from the HOB data, and > provide e820 entries as well. > - Get memory size from the memory map info HOB > - Set available top

Re: [U-Boot] [PATCH v6 0/8] x86: Add basic Slim Bootloader payload support

2019-07-26 Thread Andy Shevchenko
On Fri, Jul 26, 2019 at 9:59 AM Park, Aiden wrote: > > This patch is to enable U-Boot as a payload which runs on top of Slim > Bootloader(https://github.com/slimbootloader/slimbootloader) boot firmware > for x86 platforms. > > The Slim Bootloader is designed with multi-stage architecture for

Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate rx data is present

2019-07-26 Thread Anup Patel
Hi Rick, On Fri, Jul 26, 2019 at 12:32 PM Rick Chen wrote: > > Hi Sagar > > > From: Sagar Kadam [mailto:sagar.ka...@sifive.com] > > Sent: Friday, July 19, 2019 7:37 PM > > To: Rick Jian-Zhi Chen(陳建志) > > Subject: Re: [U-Boot] [PATCH] riscv : serial: use rx watermark to indicate > > rx data is

Re: [U-Boot] [PATCH v2 3/8] ARM: bcm283x: Define configs for RaspberryPi 4

2019-07-26 Thread Matthias Brugger
On 24/07/2019 16:39, Andrei Gherzan wrote: > Define two target configs for Raspberry Pi 4 (32 and 64bit) and the > corresponding BCM2838* configs. > > Be aware of the current limitation in firmware which requires an > explicit configuration to force the arm in 64bit mode when the > respective

Re: [U-Boot] 答复: R-Car-gpio0_00-fails-with-“gpio input” command

2019-07-26 Thread Marek Vasut
On 7/26/19 11:22 AM, Tiezhuang Dong wrote: > I reviewed this issue. > And found that the version of u-boot is different from mine. > I am not sure whether this issue will happen or not on current version. > So, I can't answer about sh_pfc_gpio_disable_free() It will. > My u-boot version is as

Re: [U-Boot] [PATCH v6 2/8] x86: Add a common HOB library

2019-07-26 Thread Andy Shevchenko
On Fri, Jul 26, 2019 at 10:00 AM Park, Aiden wrote: > > FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER) > consume HOB(CONFIG_USE_HOB) data from the each HOB list pointer. > Add a common HOB library in lib/hob.c and include/asm/hob.h. > #define FSP_HEADER_GUID \ > - { \

Re: [U-Boot] [PATCH v6 5/8] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-26 Thread Andy Shevchenko
On Fri, Jul 26, 2019 at 10:00 AM Park, Aiden wrote: > > Slim Bootloader already calibrated TSC and provides it to U-Boot. > Therefore, U-Boot does not have to re-calibrate TSC. > Configuring tsc_base and clock_rate makes x86 tsc_timer driver > bypass TSC calibration and use the provided TSC

Re: [U-Boot] [PATCH v2 8/8] git-mailrc: Add rpi and bcm283x maintainer

2019-07-26 Thread Matthias Brugger
On 24/07/2019 16:39, Andrei Gherzan wrote: > Signed-off-by: Andrei Gherzan Missing commit message. Maybe something like: Add entries for bcm283x and rpi prefix. Other then that: Acked-by: Matthias Brugger > --- > doc/git-mailrc | 4 > 1 file changed, 4 insertions(+) > > diff --git

Re: [U-Boot] [PATCH v2 2/8] ARM: bcm283x: Add BCM283x_BASE define

2019-07-26 Thread Alexander Graf
On 24.07.19 16:39, Andrei Gherzan wrote: From: Matthias Brugger Devices of bcm283x have different base address, depending if they are on bcm2835 or bcm2836/7. Use BCM283x_BASE depending on the SoC you want to build and only add the offset in the header files. Signed-off-by: Matthias Brugger

[U-Boot] [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

2019-07-26 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v4:

[U-Boot] [PATCH v4 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-26 Thread Chuanhua Han
This patch is updating ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v4: - Simplify

[U-Boot] [PATCH v4 3/4] armv8: ls2088aqds : Add ds3232 node

2019-07-26 Thread Chuanhua Han
This patch adds the ds3232-rtc node under the i2c0->i2c-mux@77->i2c@0 for ls2088aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v4:

[U-Boot] [PATCH v4 4/4] configs: ls2088aqds: Enable DM support for ds3231 rtc

2019-07-26 Thread Chuanhua Han
Enable related configs on all ls2088aqds boards to support ds3231 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v4: -

Re: [U-Boot] [PATCH v6 3/8] x86: slimbootloader: Add memory configuration

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:30 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 3/8] x86: slimbootloader: Add memory

Re: [U-Boot] [PATCH v6 2/8] x86: Add a common HOB library

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:32 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 2/8] x86: Add a common HOB library > > On

Re: [U-Boot] [PATCH v2 2/8] ARM: bcm283x: Add BCM283x_BASE define

2019-07-26 Thread Alexander Graf
On 26.07.19 13:55, Matthias Brugger wrote: On 26/07/2019 13:16, Alexander Graf wrote: On 24.07.19 16:39, Andrei Gherzan wrote: From: Matthias Brugger Devices of bcm283x have different base address, depending if they are on bcm2835 or bcm2836/7. Use BCM283x_BASE depending on the SoC you

[U-Boot] [PATCH v2 1/3] armv8: ls1088aqds: The ls1088aqds board supports the I2C driver model.

2019-07-26 Thread Chuanhua Han
This patch is updating ls1088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 -

[U-Boot] [PATCH v2 3/3] configs: ls1088aqds: Enable DM support for pcf2127 rtc

2019-07-26 Thread Chuanhua Han
Enable related configs on all ls1088aqds boards to support pcf2127 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 -

[U-Boot] [PATCH v2 2/3] armv8: ls1088aqds : Add pcf2127 node

2019-07-26 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 for ls1088aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 -

Re: [U-Boot] [PATCH v2 2/8] ARM: bcm283x: Add BCM283x_BASE define

2019-07-26 Thread Andrei Gherzan
Hi, On 26/07/2019 13.04, Alexander Graf wrote: > > > On 26.07.19 13:55, Matthias Brugger wrote: >> >> >> On 26/07/2019 13:16, Alexander Graf wrote: >>> >>> >>> On 24.07.19 16:39, Andrei Gherzan wrote: From: Matthias Brugger Devices of bcm283x have different base address, depending

Re: [U-Boot] [PATCH v6 5/8] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:37 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 5/8] x86: slimbootloader: Set TSC information

Re: [U-Boot] [PATCH v6 0/8] x86: Add basic Slim Bootloader payload support

2019-07-26 Thread Park, Aiden
Hi Andy, > -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, July 26, 2019 7:39 PM > To: Park, Aiden > Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 0/8] x86: Add basic Slim Bootloader payload

[U-Boot] [PATCH] video: arm: rpi: Avoid crash without HDMI monitor connected

2019-07-26 Thread Andre Przywara
Before we use random pointers that bcm2835_set_video_params() is supposed to populate, we should check its return value, which could indicate that the function bailed out early. This happend when there is no monitor connected. That fixes a horrible crash when just booting with a serial console.

[U-Boot] 答复: R-Car-gpio0_00-fails-with-“gpio input” command

2019-07-26 Thread Tiezhuang Dong
I reviewed this issue. And found that the version of u-boot is different from mine. I am not sure whether this issue will happen or not on current version. So, I can't answer about sh_pfc_gpio_disable_free() My u-boot version is as below: "U-Boot 2018.09-00073-g479b167c7c (Jul 26 2019 - 15:09:43

Re: [U-Boot] [PATCH] rockchip: rk3399: Add Khadas Edge board support

2019-07-26 Thread Nick
Hello Kever Yes, I will do this when the DDR patches merged. Nick > 在 2019年7月26日,16:00,Kever Yang 写道: > > Hi Nick, > > Are you going to send a new patch set with the update of change request? > > Thanks, > - Kever > > Jagan Teki 于2019年5月25日周六 下午1:57写道: >> On Sat, May 25, 2019 at 9:14 AM

Re: [U-Boot] [PATCH v6 7/8] board: intel: Add new slimbootloader board

2019-07-26 Thread Bin Meng
Hi Aiden, On Fri, Jul 26, 2019 at 3:00 PM Park, Aiden wrote: > > Add slimbootloader board to run U-boot as a Slim Bootloader payload > - Add new board/intel/slimbootloader directory with minimum codes > - Add slimbootloader configuration files > - Add doc/board/intel/slimbootloader.rst > >

Re: [U-Boot] [PATCH v6 7/8] board: intel: Add new slimbootloader board

2019-07-26 Thread Park, Aiden
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Friday, July 26, 2019 10:00 PM > To: Park, Aiden > Cc: Andy Shevchenko ; U-Boot Mailing List b...@lists.denx.de>; Simon Glass > Subject: Re: [PATCH v6 7/8] board: intel: Add new slimbootloader board > >

Re: [U-Boot] [PATCH] rockchip: rk3399: Add Khadas Edge board support

2019-07-26 Thread Chris Webb
Hi Nick. I think Kever has merged the LPDDR4 series, and it's already made its way into the mainline u-boot master branch. https://gitlab.denx.de/u-boot/u-boot/commit/852f6ddd76fad2d5adef3f7e3a75d0065c68db3b and its ancestors are the v3 series Jagan posted to the list. There have also

Re: [U-Boot] [PATCH] video: arm: rpi: Bail out early if querying video information fails

2019-07-26 Thread Andre Przywara
On Thu, 11 Jul 2019 16:56:24 +0200 matthias@kernel.org wrote: Hi, > From: Fabian Vogt > > When probing we query for the width and hight of the display. If the > firmware does not report any connected display the system will crash. > See https://github.com/raspberrypi/firmware/issues/1157

Re: [U-Boot] [PATCH] video: arm: rpi: Avoid crash without HDMI monitor connected

2019-07-26 Thread Andre Przywara
On Fri, 26 Jul 2019 13:35:26 + Matthias Brugger wrote: > On 26/07/2019 14:54, Andre Przywara wrote: > > Before we use random pointers that bcm2835_set_video_params() is > > supposed to populate, we should check its return value, which could > > indicate that the function bailed out early.

Re: [U-Boot] [PATCH 0/3] Support distro boot in pico-imx7d BL33 case

2019-07-26 Thread Jun Nie
Jun Nie 于2019年7月16日周二 下午3:43写道: > > Support distro boot in pico-imx7d BL33 case with changing the enviroment > variables. While the other two patches are for polishing clock code and > for feature enablement. > Hi, any comments? Thanks! Jun ___

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (22.07.2019)

2019-07-26 Thread Marek Vasut
On 7/26/19 5:37 PM, Sam Protsenko wrote: > On Thu, Jul 25, 2019 at 6:41 PM Marek Vasut wrote: >> >> On 7/25/19 3:27 PM, Sam Protsenko wrote: >>> Hi Marek, Lukasz, >>> >>> On Mon, Jul 22, 2019 at 7:17 PM Lukasz Majewski wrote: Dear Marek, Repo:

Re: [U-Boot] Question about GPL v3 font

2019-07-26 Thread Tom Rini
On Fri, Jul 26, 2019 at 06:42:47PM +0900, Masahiro Yamada wrote: > Hi. > > According to the Kconfig entry, > drivers/video/fonts/nimbus_sans_l_regular.ttf > is licensed under GPL v3. > > How the license is handled when U-Boot is compiled with > CONFIG_CONSOLE_TRUETYPE_NIMBUS=y ? > > I am

Re: [U-Boot] [PATCH v2 1/6] net: phy: mv88e61xx: rework to enable detection of 88E6071 devices

2019-07-26 Thread Anatolij Gustschin
On Tue, 23 Jul 2019 04:07:04 + Joe Hershberger joe.hershber...@ni.com wrote: > > > static int mv88e61xx_phy_wait(struct phy_device *phydev) > > > { > > > + struct mv88e61xx_phy_priv *priv = phydev->priv; > > > int val; > > > u32 timeout = 100; > > > > > > do {

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (22.07.2019)

2019-07-26 Thread Sam Protsenko
On Thu, Jul 25, 2019 at 6:41 PM Marek Vasut wrote: > > On 7/25/19 3:27 PM, Sam Protsenko wrote: > > Hi Marek, Lukasz, > > > > On Mon, Jul 22, 2019 at 7:17 PM Lukasz Majewski wrote: > >> > >> Dear Marek, > >> > >> Repo: g...@gitlab.denx.de:u-boot/custodians/u-boot-dfu.git > >> Branch: master >

[U-Boot] [PATCH v2 1/1] doc: integrate UEFI documentation into Sphinx toctree

2019-07-26 Thread Heinrich Schuchardt
Change the UEFI documentation to Sphinx style and integrate it into the rest of the Sphinx generated documentation. Remove the inaccurate TODO list in doc/uefi/uefi.rst. Signed-off-by: Heinrich Schuchardt --- v2 correct formatting, thanks to Bin --- MAINTAINERS| 4 +-

Re: [U-Boot] [PATCH PATCH v3 00/12] Add support for applications of overlays in SPL

2019-07-26 Thread Tom Rini
On Thu, May 23, 2019 at 12:39:00PM +0200, Jean-Jacques Hiblot wrote: > The purpose of this series is to provide the SPL with ability to apply > overlays for u-boot. this is only a RFC so far, to get a feedback on the > approach. > > Our use-case is the support of the daughter boards of the AM65x

Re: [U-Boot] Pull request: u-boot-net.git master

2019-07-26 Thread Joe Hershberger
Hi Tom, On Fri, Jul 26, 2019 at 2:38 PM Tom Rini wrote: > > On Thu, Jul 25, 2019 at 01:38:29PM -0500, Joe Hershberger wrote: > > > Hi Tom, > > > > These changes passed Travis-CI here: > > https://travis-ci.org/jhershbe/u-boot/builds/562815175 > > > > The following changes since commit

Re: [U-Boot] [PATCH 1/1] video: dw_hdmi: Add support for ddc-i2c-bus property

2019-07-26 Thread Anatolij Gustschin
On Wed, 17 Jul 2019 19:35:52 + Niklas Schulze m...@jns.io wrote: ... > @@ -812,6 +813,15 @@ static int hdmi_read_edid(struct dw_hdmi *hdmi, int > block, u8 *buff) > u32 trytime = 5; > u32 n; > > + struct udevice *chip; > + if (hdmi->ddc_bus) { here, please use something

Re: [U-Boot] [PATCH v6 5/8] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-26 Thread Andy Shevchenko
On Fri, Jul 26, 2019 at 3:50 PM Park, Aiden wrote: > > On Fri, Jul 26, 2019 at 10:00 AM Park, Aiden wrote: > > > > > > Slim Bootloader already calibrated TSC and provides it to U-Boot. > > > Therefore, U-Boot does not have to re-calibrate TSC. > > > Configuring tsc_base and clock_rate makes x86

Re: [U-Boot] [PATCH v2 1/6] net: phy: mv88e61xx: rework to enable detection of 88E6071 devices

2019-07-26 Thread Joe Hershberger
On Fri, Jul 26, 2019 at 9:48 AM Anatolij Gustschin wrote: > > On Tue, 23 Jul 2019 04:07:04 + > Joe Hershberger joe.hershber...@ni.com wrote: > > > > > static int mv88e61xx_phy_wait(struct phy_device *phydev) > > > > { > > > > + struct mv88e61xx_phy_priv *priv = phydev->priv; > > > >

Re: [U-Boot] Pull request: u-boot-net.git master

2019-07-26 Thread Tom Rini
On Thu, Jul 25, 2019 at 01:38:29PM -0500, Joe Hershberger wrote: > Hi Tom, > > These changes passed Travis-CI here: > https://travis-ci.org/jhershbe/u-boot/builds/562815175 > > The following changes since commit a9aa4c5700c68c070d63a391b51ea8d341b6e8a6: > > Merge branch