Re: [U-Boot] [PATCH 2/2] drivers/spi: fsl_qspi: improve timeout calculation

2019-07-03 Thread Jagan Teki
On Tue, Jul 2, 2019 at 5:13 PM Thomas Schaefer wrote: > > > Von: Jagan Teki > > Gesendet: Dienstag, 2. Juli 2019 13:12 > > > > On Mon, Jul 1, 2019 at 9:07 PM Thomas Schaefer > > wrote: > > > > > > Use readl_poll_timeout instead of explicit calculation > > > > > > Signed-off-by: Thomas Schaefer

[U-Boot] [PATCH v2 1/7] imx8: Add lpcg driver for iMX8QM/QXP

2019-07-03 Thread Ye Li
Each module may have one or more lpcg registers for SW/HW enabling its clocks. Add lpcg register address and its driver for accessing lpcg. Signed-off-by: Ye Li --- Changes in v2: - Fix license and blank line arch/arm/include/asm/arch-imx8/imx8qm_lpcg.h | 198 ++

Re: [U-Boot] [PATCH 3/8] usb_kdb: only process events succesfully received

2019-07-03 Thread Michal Suchánek
On Tue, 2 Jul 2019 23:20:28 +0200 Marek Vasut wrote: > On 7/2/19 9:31 PM, Michal Suchánek wrote: > > On Tue, 2 Jul 2019 20:38:27 +0200 > > Marek Vasut wrote: > > > >> On 7/2/19 7:50 PM, Michal Suchánek wrote: > >>> On Tue, 2 Jul 2019 18:58:54 +0200 > >>> Marek Vasut wrote: > >>> >

Re: [U-Boot] [PATCH 1/5] imx8: Add lpcg driver for iMX8QM/QXP

2019-07-03 Thread Peng Fan
> Subject: [PATCH 1/5] imx8: Add lpcg driver for iMX8QM/QXP > [...] > > diff --git a/arch/arm/include/asm/arch-imx8/imx8qm_lpcg.h > b/arch/arm/include/asm/arch-imx8/imx8qm_lpcg.h > new file mode 100644 > index 000..692c27f > --- /dev/null > +++ b/arch/arm/include/asm/arch-imx8/imx8qm_lpcg.h

[U-Boot] [PATCH v4 4/6] drivers: net: apply serdes configuration for ENETC Ethernet interfaces

2019-07-03 Thread Alex Marginean
Ethernet interfaces using serial protocols go through the serdes block integrated in the SoC. This is accessed over dedicated internal MDIOs which are part of the Ethernet PCI functions. Set up serdes at _start, along with other protocol specific port/MAC configuration. MDIO code is shared with

[U-Boot] [PATCH v4 0/6] ls1028a: networking support

2019-07-03 Thread Alex Marginean
This patch set introduces ENETC ethernet and MDIO drivers, integrated in LS1028A NXP device and enables networking on the two existing boards. The SGMII interface labeled MAC0 is now functional on the reference design board (RDB). The RDB also features four switch ports, not enabled yet. On the

[U-Boot] [PATCH v4 1/6] include: configs: ls1028a: set SYS_RX_ETH_BUFFER to 8

2019-07-03 Thread Alex Marginean
LS1028A ethernet interfaces work with at least 8 BDs, set number of buffers to match that. Signed-off-by: Alex Marginean Reviewed-by: Bin Meng --- include/configs/ls1028a_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/ls1028a_common.h

[U-Boot] [PATCH v4 6/6] configs: ls1028a: enable networking options in rdb, qds defconfig

2019-07-03 Thread Alex Marginean
Enables ethernet, MDIO, PHY drivers for LS1028A RDB and QDS. Signed-off-by: Alex Marginean Reviewed-by: Bin Meng --- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 6 +- configs/ls1028aqds_tfa_defconfig | 5 - configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 4

[U-Boot] [PATCH] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-03 Thread Ludwig Zenz
This patch enables DM I2C for DHCOM i.MX6 PDK2 boards and removes non DM I2C code. Tested with DHCOM i.MX6dl and DHCOM i.MX6q. Signed-off-by: Ludwig Zenz --- board/dhelectronics/dh_imx6/dh_imx6.c | 105 ++ configs/dh_imx6_defconfig | 7 +++

Re: [U-Boot] [PATCH] drivers: net: phy: Ignore PHY ID 0 during PHY probing

2019-07-03 Thread Bin Meng
Hi Alex, On Wed, Jul 3, 2019 at 3:09 AM Alex Marginean wrote: > > On 7/1/2019 11:15 AM, Bin Meng wrote: > > Hi Alex, > > > > On Wed, Jun 19, 2019 at 5:07 PM Alexandru Marginean > > wrote: > >> > >> Current code fails to probe some C45 PHYs that also respond to C22 reads. > >> This is the case

Re: [U-Boot] [PATCH] drivers: net: phy: Ignore PHY ID 0 during PHY probing

2019-07-03 Thread Alex Marginean
Hi Bin, On 7/3/2019 10:39 AM, Bin Meng wrote: Hi Alex, On Wed, Jul 3, 2019 at 3:09 AM Alex Marginean wrote: On 7/1/2019 11:15 AM, Bin Meng wrote: Hi Alex, On Wed, Jun 19, 2019 at 5:07 PM Alexandru Marginean wrote: Current code fails to probe some C45 PHYs that also respond to C22

[U-Boot] [PATCH v4 3/6] drivers: net: add NXP ENETC MDIO driver

2019-07-03 Thread Alex Marginean
Adds a driver for the MDIO interface currently integrated in LS1028A SoC. This MDIO interface is shared by multiple ethernet interfaces and is presented as a stand-alone PCI function on the SoC ECAM. Ethernet has a functional dependency on MDIO, for simplicity there is a single config option for

[U-Boot] [PATCH v2 5/7] net: fec_mxc: Update driver to use full clks for iMX8

2019-07-03 Thread Ye Li
Add support for more clocks used by iMX8 from DTB: ref_clock, tx_2x_clock, ahb_clock And update get clock rate interface to support multiple fec ports. Signed-off-by: Ye Li --- Changes in v2: - None drivers/net/fec_mxc.c | 47 ++-

[U-Boot] [PATCH v2 4/7] imx8qm_mek: increase the size of early malloc pool

2019-07-03 Thread Ye Li
Encounter malloc failure in arch_cpu_init_dm when binding "fsl,imx8-mu" node with imx8_scu driver. So increase the early malloc pool to fix the issue. Signed-off-by: Ye Li --- Changes in v2: - None configs/imx8qm_mek_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 7/7] imx8qm/qxp: Enable UART0 LPCG clock for early serial

2019-07-03 Thread Ye Li
Enable the UART0 LPCG clock in board_early_init_f not depending on the reset default value. Signed-off-by: Ye Li --- Changes in v2: - New patch in v2, enable the UART0 LPCG since we added LPCG driver board/freescale/imx8qm_mek/imx8qm_mek.c | 3 +++ board/freescale/imx8qxp_mek/imx8qxp_mek.c

[U-Boot] [PATCH v2 6/7] imx8qm/imx8qxp: Power down the resources before SPL jump to u-boot

2019-07-03 Thread Ye Li
Make sure that all devices that are powered up by SPL are powered down before entering into the u-boot. Otherwise the subsystem/device will never be powered down by SCFW, due to SPL and u-boot are in different partitions. Benefiting from power domain driver, this patch implements the function

Re: [U-Boot] [PATCH 2/5] misc: scu_api: Add new APIs for clk-imx8 driver

2019-07-03 Thread Peng Fan
> Subject: [PATCH 2/5] misc: scu_api: Add new APIs for clk-imx8 driver > > Add sc_misc_set_control to write the subsystem's DSC GPR registers, and > sc_pm_set_clock_parent to select parent clock source. > > Signed-off-by: Ye Li > --- > arch/arm/include/asm/arch-imx8/sci/sci.h| 4 ++ >

[U-Boot] [PATCH v2 2/7] misc: scu_api: Add new APIs for clk-imx8 driver

2019-07-03 Thread Ye Li
Add sc_misc_set_control to write the subsystem's DSC GPR registers, and sc_pm_set_clock_parent to select parent clock source. Signed-off-by: Ye Li --- Changes in v2: - None arch/arm/include/asm/arch-imx8/sci/sci.h| 4 ++ arch/arm/include/asm/arch-imx8/sci/svc/pm/api.h | 7

[U-Boot] [PATCH v4 2/6] drivers: net: add NXP ENETC ethernet driver

2019-07-03 Thread Alex Marginean
Adds a driver for NXP ENETC ethernet controller currently integrated in LS1028A. ENETC is a fairly straight-forward BD ring device and interfaces are presented as PCI EPs on the SoC ECAM. Signed-off-by: Catalin Horghidan Signed-off-by: Alex Marginean Reviewed-by: Bin Meng ---

[U-Boot] [PATCH v4 5/6] arm: dts: ls1028a updates for network interfaces

2019-07-03 Thread Alex Marginean
Defines LS1028A RDB SGMII port, QDS RGMII port. Signed-off-by: Alex Marginean Reviewed-by: Bin Meng --- arch/arm/dts/fsl-ls1028a-qds.dts | 13 + arch/arm/dts/fsl-ls1028a-rdb.dts | 13 + arch/arm/dts/fsl-ls1028a.dtsi| 24 3 files changed, 50

Re: [U-Boot] [PATCH v2 3/9] usb_kdb: only process events succesfully received

2019-07-03 Thread Michal Suchánek
On Wed, 3 Jul 2019 09:37:42 +0800 Bin Meng wrote: > Hi Michal, > > On Wed, Jul 3, 2019 at 1:57 AM Michal Suchanek wrote: > > > > On error the data buffer does not contain valid data so do not submit it > > for processing. Usually it will contain the last data recieved so the > > last pressed

[U-Boot] [PATCH v2 3/7] clk: imx8: Update imx8 clock driver

2019-07-03 Thread Ye Li
Update imx8 clock driver to support LPCG and full clocks tree for some modules aligned with kernel. We classify the clock into serveral types: slice, fixed, lpcg, gpr and mux. Generally slice and fixed clocks are the sources. lpcg, gpr and mux are the downstream of those sources and are used for

Re: [U-Boot] [PATCH 3/8] usb_kdb: only process events succesfully received

2019-07-03 Thread Michal Suchánek
On Wed, 3 Jul 2019 13:26:50 +0200 Marek Vasut wrote: > On 7/3/19 11:46 AM, Michal Suchánek wrote: > > On Tue, 2 Jul 2019 23:20:28 +0200 > > Marek Vasut wrote: > > > >> On 7/2/19 9:31 PM, Michal Suchánek wrote: > >>> On Tue, 2 Jul 2019 20:38:27 +0200 > >>> Marek Vasut wrote: > >>> >

[U-Boot] [PATCH 0/2] Enable booting from VirtIO PCI connected storage

2019-07-03 Thread David Abdurachmanov
Fedora/RISCV uses OpenSBI + U-Boot setup which loads extlinux configuration file from boot media and then continues booting Linux kernel. pcie-root-port was finally enabled for RISC-V in QEMU 4.0.0. PCI is now default instead of MMIO starting libvirt v5.3.0 with QEMU 4.0.0 or newer. Simply put

Re: [U-Boot] [PATCH] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-03 Thread Marek Vasut
On 7/3/19 10:20 AM, Ludwig Zenz wrote: [...] > static int setup_dhcom_mac_from_fuse(void) > { > + struct udevice *dev; > unsigned char enetaddr[6]; > int ret; > > @@ -228,13 +145,14 @@ static int setup_dhcom_mac_from_fuse(void) > return 0; > } > > -

[U-Boot] [PATCH 2/2] distro_bootcmd: refactor virtio to support PCI block devices

2019-07-03 Thread David Abdurachmanov
libvirt v5.3.0 with QEMU 4.0.0 use PCI automatically and thus storage is connected via PCI, which is not visible to U-Boot automatically. Refactor to do "pci enum" followed by "virtio scan" to see PCI connected storage. Tested with Fedora/RISCV using the latest releases: libvirt 5.4.0, QEMU 4.0.0

[U-Boot] [PATCH 1/2] qemu-riscv: enable VIRTIO_PCI

2019-07-03 Thread David Abdurachmanov
libvirt v.5.3.0 with QEMU 4.0.0 or above uses PCI automatically and thus devices (network, storage, etc) are connected via PCI. Signed-off-by: David Abdurachmanov --- board/emulation/qemu-riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/emulation/qemu-riscv/Kconfig

Re: [U-Boot] [PATCH 3/8] usb_kdb: only process events succesfully received

2019-07-03 Thread Marek Vasut
On 7/3/19 1:43 PM, Michal Suchánek wrote: > On Wed, 3 Jul 2019 13:26:50 +0200 > Marek Vasut wrote: > >> On 7/3/19 11:46 AM, Michal Suchánek wrote: >>> On Tue, 2 Jul 2019 23:20:28 +0200 >>> Marek Vasut wrote: >>> On 7/2/19 9:31 PM, Michal Suchánek wrote: > On Tue, 2 Jul 2019

Re: [U-Boot] [PATCH 3/8] usb_kdb: only process events succesfully received

2019-07-03 Thread Marek Vasut
On 7/3/19 11:46 AM, Michal Suchánek wrote: > On Tue, 2 Jul 2019 23:20:28 +0200 > Marek Vasut wrote: > >> On 7/2/19 9:31 PM, Michal Suchánek wrote: >>> On Tue, 2 Jul 2019 20:38:27 +0200 >>> Marek Vasut wrote: >>> On 7/2/19 7:50 PM, Michal Suchánek wrote: > On Tue, 2 Jul 2019

Re: [U-Boot] [PATCH 0/4] nand: davinci: enable driver model for NAND

2019-07-03 Thread Tom Rini
On Wed, Jul 03, 2019 at 03:01:15PM +0200, Bartosz Golaszewski wrote: > pt., 7 cze 2019 o 10:16 Bartosz Golaszewski napisał(a): > > > > czw., 6 cze 2019 o 17:58 Adam Ford napisał(a): > > > > > > On Thu, Jun 6, 2019 at 10:50 AM Bartosz Golaszewski wrote: > > > > > > > > From: Bartosz Golaszewski

Re: [U-Boot] [PATCH 0/4] davinci: omapl138-lcdk: enable CONFIG_SPL_DM

2019-07-03 Thread Tom Rini
On Wed, Jul 03, 2019 at 03:00:37PM +0200, Bartosz Golaszewski wrote: > pon., 24 cze 2019 o 10:18 Bartosz Golaszewski napisał(a): > > > > wt., 28 maj 2019 o 11:58 Bartosz Golaszewski napisał(a): > > > > > > From: Bartosz Golaszewski > > > > > > This series enables the driver model in SPL on

Re: [U-Boot] [PATCH 0/4] davinci: omapl138-lcdk: enable CONFIG_SPL_DM

2019-07-03 Thread Bartosz Golaszewski
pon., 24 cze 2019 o 10:18 Bartosz Golaszewski napisał(a): > > wt., 28 maj 2019 o 11:58 Bartosz Golaszewski napisał(a): > > > > From: Bartosz Golaszewski > > > > This series enables the driver model in SPL on omapl138-lcdk. First two > > patches enable size-reducing options in defconfig. The

Re: [U-Boot] [PATCH 0/4] nand: davinci: enable driver model for NAND

2019-07-03 Thread Bartosz Golaszewski
pt., 7 cze 2019 o 10:16 Bartosz Golaszewski napisał(a): > > czw., 6 cze 2019 o 17:58 Adam Ford napisał(a): > > > > On Thu, Jun 6, 2019 at 10:50 AM Bartosz Golaszewski wrote: > > > > > > From: Bartosz Golaszewski > > > > > > This series enables the driver model for NAND on davinci da850 boards.

Re: [U-Boot] [PATCH 2/2] distro_bootcmd: refactor virtio to support PCI block devices

2019-07-03 Thread Bin Meng
Hi David, On Wed, Jul 3, 2019 at 8:52 PM David Abdurachmanov wrote: > > libvirt v5.3.0 with QEMU 4.0.0 use PCI automatically and thus storage nits: 5.3.0 or 5.4.0? > is connected via PCI, which is not visible to U-Boot automatically. > Refactor to do "pci enum" followed by "virtio scan" to see

Re: [U-Boot] [PATCH 1/2] qemu-riscv: enable VIRTIO_PCI

2019-07-03 Thread Bin Meng
On Wed, Jul 3, 2019 at 8:51 PM David Abdurachmanov wrote: > > libvirt v.5.3.0 with QEMU 4.0.0 or above uses PCI automatically and nits: v5.3.0 or just 5.3.0 > thus devices (network, storage, etc) are connected via PCI. > > Signed-off-by: David Abdurachmanov > --- >

Re: [U-Boot] [PATCH] fastboot: Add "is-userspace" variable

2019-07-03 Thread Sam Protsenko
Hi Eugeniu, On Fri, Jun 21, 2019 at 5:16 PM Eugeniu Rosca wrote: > > Hi Sam, > > Two nits as input for future patches. No real concerns. Thanks! > > On Thu, Jun 20, 2019 at 04:40:26PM +0300, Sam Protsenko wrote: > > As per documentation [1], Android-Q requires for bootloader to provide > >

Re: [U-Boot] [U-Boot-Custodians] [U-Boot-Board-Maintainers] [ANN] U-Boot v2019.07-rc4 released

2019-07-03 Thread Simon Glass
Hi Troy, On Tue, 2 Jul 2019 at 10:04, Troy Benjegerdes wrote: > > > > > On Jun 22, 2019, at 2:43 PM, Marek Vasut wrote: > > > > On 6/22/19 9:12 PM, Heinrich Schuchardt wrote: > >> On 6/22/19 8:15 PM, Simon Glass wrote: > >>> Hi, > >>> > >>> On Sat, 22 Jun 2019 at 16:10, Andreas Färber wrote: >

[U-Boot] [PATCH v2] fastboot: getvar: Add "is-userspace" variable

2019-07-03 Thread Sam Protsenko
As per documentation [1], Android-Q requires for bootloader to provide "is-userspace" variable. "no" value should be always returned. This patch implements this fastboot variable. [1] https://android.googlesource.com/platform/system/core/+/refs/tags/android-q-preview-4/fastboot/README.md

Re: [U-Boot] [U-Boot-Board-Maintainers] [U-Boot-Custodians] [ANN] U-Boot v2019.07-rc4 released

2019-07-03 Thread Tom Rini
On Wed, Jul 03, 2019 at 09:59:22AM -0600, Simon Glass wrote: > Hi Troy, > > On Tue, 2 Jul 2019 at 10:04, Troy Benjegerdes > wrote: > > > > > > > > > On Jun 22, 2019, at 2:43 PM, Marek Vasut wrote: > > > > > > On 6/22/19 9:12 PM, Heinrich Schuchardt wrote: > > >> On 6/22/19 8:15 PM, Simon Glass

Re: [U-Boot] [U-Boot-Board-Maintainers] [U-Boot-Custodians] [ANN] U-Boot v2019.07-rc4 released

2019-07-03 Thread Troy Benjegerdes
> On Jul 3, 2019, at 11:04 AM, Tom Rini wrote: > > On Wed, Jul 03, 2019 at 09:59:22AM -0600, Simon Glass wrote: >> Hi Troy, >> >> On Tue, 2 Jul 2019 at 10:04, Troy Benjegerdes >> wrote: >>> >>> >>> On Jun 22, 2019, at 2:43 PM, Marek Vasut wrote: On 6/22/19 9:12 PM,

[U-Boot] [PATCH v2] video: backlight: fix pwm invertation

2019-07-03 Thread marvin24
Fixes: 57e7775413 ("video: backlight: Parse PWM polarity cell") set_pwm will always fail with -ENOSYS if pwm_set_invert is not implemented, leaving the backlight dark. Fix this by returning no error if pwm_set_invert is not implemented and no polarity change is requested. v2: simplify logic

[U-Boot] Boot rootfs from FIT Image

2019-07-03 Thread deepakpradhan
HI, I am using fitimage to load kernel dtb and rootfs. However the kernel and dtb files are getting loaded but the rootfs is loading from the /dev/mmcblk0p4 partition. I need to load the rootfs from FIT image and I don't know what should be the uboot command line args for this. What I have to

[U-Boot] [PATCH v2] fastboot: Remove "bootloader-version" variable

2019-07-03 Thread Sam Protsenko
As per [1], there is no such fastboot variable as "bootloader-version". Only "version-bootloader" is supported. Let's reflect this and not confuse users further. [1] https://android.googlesource.com/platform/system/core/+/refs/tags/android-q-preview-4/fastboot/README.md Fixes: 3aab70afc531d1

Re: [U-Boot] [PATCH] fastboot: Remove "bootloader-version" variable

2019-07-03 Thread Sam Protsenko
Hi Eugeniu, On Wed, Jun 26, 2019 at 1:12 AM Eugeniu Rosca wrote: > > Hi Sam, > > On Thu, Jun 20, 2019 at 05:00:01PM +0300, Sam Protsenko wrote: > > As per [1], there is no such fastboot variable as "bootloader-version". > > Only "version-bootloader" is supported. Let's reflect this and not > >

Re: [U-Boot] [PATCH 3/8] usb_kdb: only process events succesfully received

2019-07-03 Thread Michal Suchánek
On Wed, 3 Jul 2019 13:48:00 +0200 Marek Vasut wrote: > On 7/3/19 1:43 PM, Michal Suchánek wrote: > > On Wed, 3 Jul 2019 13:26:50 +0200 > > Marek Vasut wrote: > > > >> On 7/3/19 11:46 AM, Michal Suchánek wrote: > >>> On Tue, 2 Jul 2019 23:20:28 +0200 > >>> Marek Vasut wrote: > >>> >

Re: [U-Boot] [PATCH] test/py: gpt: Use long options for sgdisk

2019-07-03 Thread Sam Protsenko
Hi Stephen, On Tue, Jul 2, 2019 at 9:35 PM Stephen Warren wrote: > > On 7/2/19 12:20 PM, Sam Protsenko wrote: > > sgdisk 0.8.10.2 from AOSP doesn't support short options, failing with > > errors like this: > > > > sgdisk: invalid option -- 'U' > > > > Test fails due to that error. Let's use

[U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-03 Thread Igor Opaniuk
From: Igor Opaniuk NXP downstream kernel uses legacy method to enable other cores, which requires kernel to run in a security mode (althought upstream kernel uses PSCI for this). As we're using NXP kernel in our BSPs, lets enable this by default. Signed-off-by: Igor Opaniuk ---

Re: [U-Boot] [PATCH] watchdog: mtk_wdt: Cosmetic cleanup of latest changes

2019-07-03 Thread Matthias Brugger
On 03/07/2019 07:22, Stefan Roese wrote: > This patch cleans up some coding style related issues in the mtk_wtd > driver to make this driver comply again with the U-Boot coding style > standards. > > The only minimal functional change is that the timeout parameter is now > passed in (u64)

[U-Boot] [PATCH 1/1] efi_loader: remove superfluous spaces in comments

2019-07-03 Thread Heinrich Schuchardt
Leave only a single space after * if not aligning. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index e72d09c5fb..ba4c1e5765 100644

[U-Boot] [PATCH v3] qemu-x86: Use config_distro_bootcmd

2019-07-03 Thread Joshua Watt
Converts qemu x86 machines to boot using distro_config. The intent is to allow u-boot in qemu to be maximally compatible with many boot methods without having to change the config. Previously, u-boot would only boot in a very limited set of circumstances where there was a /boot/vmlinuz on scsi 0:3

Re: [U-Boot] [U-Boot-Board-Maintainers] [U-Boot-Custodians] [ANN] U-Boot v2019.07-rc4 released

2019-07-03 Thread Heinrich Schuchardt
On 7/3/19 6:22 PM, Troy Benjegerdes wrote: On Jul 3, 2019, at 11:04 AM, Tom Rini wrote: On Wed, Jul 03, 2019 at 09:59:22AM -0600, Simon Glass wrote: Hi Troy, On Tue, 2 Jul 2019 at 10:04, Troy Benjegerdes wrote: On Jun 22, 2019, at 2:43 PM, Marek Vasut wrote: On 6/22/19 9:12 PM,

Re: [U-Boot] [PATCH] tools: buildman: add gcc-8.1.0 support

2019-07-03 Thread Thomas Chou
Hi Bin, On 6/30/19 6:32 PM, Bin Meng wrote: We should fix all issues before we turn on the 8.1 for buildman, otherwise the travis-ci will break. I agree. It is not ready yet. CHeers, Thomas ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] (no subject)

2019-07-03 Thread Thomas Chou
Hi Bin, On 6/30/19 6:31 PM, Bin Meng wrote: On Sun, Jun 30, 2019 at 10:07 AM Thomas Chou wrote: x86: + efi-x86_app +{standard input}: Assembler messages: +{standard input}:21695: Error: junk at end of line, first unrecognized character is `@' +{standard input}:21740: Error: junk

[U-Boot] [PATCH 5/5] travis: Build aspeed board with qemu HEAD

2019-07-03 Thread Joel Stanley
In order to boot u-boot in the aspeed machine we need to run at least qemu 3059c2f5a813 (v4.0.0-1592-g3059c2f5a813), which is not in a released tag. This should be changed to v4.1.0 when it is released. Signed-off-by: Joel Stanley --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 1/5] configs: aspeed: Unset CONFIG_MMC

2019-07-03 Thread Joel Stanley
The aspeed board does not have an upstream MMC driver. As CONFIG_MMC defaults on, the board would fail to build due to the CONFIG_DM_MMC migration: = WARNING == This board does not use CONFIG_DM_MMC. Please update the board to use CONFIG_DM_MMC

[U-Boot] [PATCH 4/5] travis: Add ASPEED ast2500 to qemu tests

2019-07-03 Thread Joel Stanley
Signed-off-by: Joel Stanley --- .travis.yml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 53dade5ae116..69ae1c8b4223 100644 --- a/.travis.yml +++ b/.travis.yml @@ -387,6 +387,13 @@ matrix: - TEST_PY_BD="sandbox_flattree"

Re: [U-Boot] (no subject)

2019-07-03 Thread Thomas Chou
On 7/1/19 9:20 PM, Tom Rini wrote: On Sun, Jun 30, 2019 at 10:06:35AM +0800, Thomas Chou wrote: Add gcc-8.1.0 support to buildman toolchain. The old gcc-7.3.0 has shared libraries issues on Ubuntu 18.04LTS and 19.04. Can you not resolve those shared library issues via one of the toolchain

[U-Boot] [PATCH 0/5] travis: Build and test ASPEED board

2019-07-03 Thread Joel Stanley
Tom suggested I add support for booting the ASPEED EVB configuration in Qemu. This series fixes up a few things with the defconfig so buildman passes, and makes u-boot testable: https://travis-ci.com/shenki/u-boot/builds/117772801 I've sent some patches to Stephen for uboot-test-scripts tools

[U-Boot] [PATCH 2/5] configs: aspeed: Add HUSH and random ethernet addr

2019-07-03 Thread Joel Stanley
Tests in test/py/tests/test_env.py like this fail without CONFIG_HUSH_PARSER: => => printenv test_env_0 ## Error: "test_env_0" not defined => .=> setenv test_env_0 => => echo $test_env_0 $test_env_0 => F We also want a mac address so the ethernet device works in qemu. Signed-off-by: Joel

[U-Boot] [PATCH 3/5] traivs: Build aspeed boards

2019-07-03 Thread Joel Stanley
Currently we only have one, but this will expand to cover other boards as they are supported. Signed-off-by: Joel Stanley --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6662ca126ab5..53dade5ae116 100644 --- a/.travis.yml +++ b/.travis.yml

Re: [U-Boot] (no subject)

2019-07-03 Thread Thomas Chou
Hi Tom, On 7/1/19 9:19 PM, Tom Rini wrote: On Sun, Jun 30, 2019 at 06:31:10PM +0800, Bin Meng wrote: Unfortunately the kernel.org gcc-8.1 toolchain just isn't usable for us due to a number of later-fixed regressions. We need to use gcc-8.3, I think, for something that should work again