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
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 ++
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:
> >>>
>
> 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
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
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
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
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
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 +++
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
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
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
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 ++-
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
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
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
> 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 ++
>
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
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
---
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
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
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
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:
> >>>
>
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
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;
> }
>
> -
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
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
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
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
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
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
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
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.
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
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
> ---
>
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
> >
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:
>
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
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
> 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,
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
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
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
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
> >
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:
> >>>
>
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
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
---
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)
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
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
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,
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
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
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
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
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"
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
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
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
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
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
61 matches
Mail list logo