Re: [U-Boot] [PATCH] fsl/usb: Workaround for USB erratum-A005275

2018-10-11 Thread Ran Wang
Hi Chris, > On Friday, October 05, 2018 11:53 Chris Packham > wrote: > > On Thu, Oct 4, 2018 at 8:04 PM Marek Vasut wrote: > > > > On 10/04/2018 08:38 AM, Chris Packham wrote: > > > On Thu, Oct 4, 2018 at 11:17 AM Marek Vasut wrote: > > >> > > >> On 10/03/2018 10:21 PM, Chris Packham wrote: >

Re: [U-Boot] [PATCH v3 3/9] dm: uclass: Add uclass_foreach_dev_probe

2018-10-11 Thread Bin Meng
Hi Patrice, On Tue, Oct 9, 2018 at 9:41 PM Patrice Chotard wrote: > > Add uclass_foreach_dev_probe() which iterates through > devices of a given uclass. Devices are probed if necessary > and are ready to use. > > Signed-off-by: Patrice Chotard > Reviewed-by: Simon Glass > --- > > Changes in v3:

Re: [U-Boot] [PATCH 02/27] dm: Add a new uclass driver for VirtIO transport devices

2018-10-11 Thread Bin Meng
Hi Simon, On Thu, Sep 27, 2018 at 9:42 PM Simon Glass wrote: > > Hi Bin, > > On 23 September 2018 at 06:42, Bin Meng wrote: > > This adds a new virtio uclass driver for “virtio” [1] family of > > devices that are are found in virtual environments like QEMU, > > yet by design they look like physi

Re: [U-Boot] [PATCH 02/27] dm: Add a new uclass driver for VirtIO transport devices

2018-10-11 Thread Bin Meng
Hi Tuomas, On Fri, Sep 28, 2018 at 6:10 AM Tuomas Tynkkynen wrote: > > Hi Bin, > > Thanks for the patches, they look great. Some minor comments: > > On 09/23/2018 04:42 PM, Bin Meng wrote: > > This adds a new virtio uclass driver for “virtio” [1] family of > > devices that are are found in virtua

[U-Boot] [PATCH] mtd: nand: let the raw NAND devices be compiled upon selection

2018-10-11 Thread Miquel Raynal
Today way is to rely on CMD_NAND to be selected and from the root Makefile compile what is in drivers/mtd/nand/raw. While this will work most of the time with decent configurations, it is better to also compile this subsystem upon simple request in the configuration. Otherwise, a user not selectin

Re: [U-Boot] [BUG] efi-x86_app_defconfig does not build with gcc 8.2

2018-10-11 Thread Andy Shevchenko
On Tue, Oct 09, 2018 at 07:28:36AM +0800, Bin Meng wrote: > Hi Andy, > > On Tue, Oct 9, 2018 at 12:31 AM Andy Shevchenko > wrote: > > > > On Mon, Oct 08, 2018 at 11:31:32PM +0800, Bin Meng wrote: > > > +Andy > > > > > > On Sat, Sep 8, 2018 at 5:00 PM Heinrich Schuchardt > > > wrote: > > > > > >

Re: [U-Boot] [PATCH] i2c: fix: Add support for the Arm's Versatile Express I2C controller

2018-10-11 Thread Liviu Dudau
On Thu, Oct 11, 2018 at 07:26:33AM +0200, Heiko Schocher wrote: > accidentially while fixing merge errors for patch: > https://lists.denx.de/pipermail/u-boot/2018-September/342278.html > > missed to add files: > > MAINTAINERS > drivers/i2c/Kconfig > drivers/i2c/Makefile > > add them with this pa

Re: [U-Boot] [PATCH 03/27] virtio: Add codes for virtual queue/ring management

2018-10-11 Thread Bin Meng
Hi Simon, On Thu, Sep 27, 2018 at 9:42 PM Simon Glass wrote: > > On 23 September 2018 at 06:42, Bin Meng wrote: > > From: Tuomas Tynkkynen > > > > This adds support for managing virtual queue/ring, the channel > > for high performance I/O between host and guest. > > > > Signed-off-by: Tuomas Ty

[U-Boot] [PATCH] axs10x/emdk/hsdk/iot_dk: Implement board_mmc_getcd()

2018-10-11 Thread Alexey Brodkin
So now we may detect MMC/SD-card existence and instead of completely misleading message on missing card: >8--- Loading Environment from FAT... Card did not respond to voltage select! >8--- we now get very clear

[U-Boot] [PATCH 1/4] scsi: ceva: add ls1046a soc support

2018-10-11 Thread Peng Ma
Add ahci compatible support for ls1046a soc. Signed-off-by: Peng Ma --- drivers/ata/sata_ceva.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/ata/sata_ceva.c b/drivers/ata/sata_ceva.c index 65896d1..a2d21d9 100644 --- a/drivers/ata/sata_ceva.c +++ b/drivers/a

[U-Boot] [PATCH 2/4] armv8: dts: fsl-ls1046a: add sata node support

2018-10-11 Thread Peng Ma
One ls1046a, there is one SATA 3.0 advanced host controller interface which is a high-performance SATA solution that delivers comprehensive and fully-compliant generation 3 (1.5 Gb/s - 6.0 Gb/s) serial ATA capabilities, in accordance with the serial ATA revision 3.0 of Serial ATA International Orga

[U-Boot] [PATCH 4/4] arm64: ls1046aqds: enable DM support for sata

2018-10-11 Thread Peng Ma
Enable related configs to support sata DM feature. Signed-off-by: Peng Ma --- configs/ls1046aqds_defconfig |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configs/ls1046aqds_defconfig b/configs/ls1046aqds_defconfig index fad2eed..b09fc88 100644 --- a/configs/ls1046aq

[U-Boot] [PATCH 3/4] arm64: ls1046ardb: enable DM support for sata

2018-10-11 Thread Peng Ma
Enable related configs to support sata DM feature. Signed-off-by: Peng Ma --- configs/ls1046ardb_qspi_defconfig |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/configs/ls1046ardb_qspi_defconfig b/configs/ls1046ardb_qspi_defconfig index f9660c0..ea2cbb3 100644 --- a/

[U-Boot] [PATCH v2] efi_loader: set image_base and image_size to correct values

2018-10-11 Thread AKASHI Takahiro
Currently, image's image_base points to an address where the image was temporarily uploaded for further loading. Since efi_loader relocates the image to final destination, image_base and image_size should reflect that. This bug was detected in UEFI SCT, "Loaded Image Protocol Test - test 2," which

[U-Boot] [PATCH 1/1] cmd/bdinfo: correct output of numerical values

2018-10-11 Thread Heinrich Schuchardt
Display all digits on 64bit systems. Currently we print only the lower 32 bits. Examples of values that can exceed 32 bits are the size and start of memory banks. For fdt_blob use the same output method as for other values. This avoids misalignment. Signed-off-by: Heinrich Schuchardt --- cmd/bd

Re: [U-Boot] [PATCH v2 02/19] dm: i2c: Add dm_i2c_probe_device() to test the presence of a chip

2018-10-11 Thread Jean-Jacques Hiblot
Hi Simon, thanks for the reviews. On 11/10/2018 05:13, Simon Glass wrote: Hi Jean-Jacques, On 5 October 2018 at 10:45, Jean-Jacques Hiblot wrote: In a non-DM environment, it is possible to test the presence of a chip using i2c_probe(chip_addr). dm_i2c_probe_device() brings the same function

Re: [U-Boot] [PATCH 18/20] spi: mtk_qspi: add qspi driver for MT7629 SoC

2018-10-11 Thread Guochun Mao
Hi Jagan, On Thu, 2018-10-04 at 21:31 +0530, Jagan Teki wrote: > On Tue, Oct 2, 2018 at 4:38 PM Ryder Lee wrote: > > > > From: Guochun Mao > > > > This patch adds MT7629 qspi driver for accessing SPI NOR flash. > > > > Cc: Jagan Teki > > Signed-off-by: Guochun Mao > > --- > > drivers/spi/Kcon

Re: [U-Boot] [PATCH 3/3] ARM: imx6: DHCOM i.MX6 PDK: ddr init for 32bit bus and 4GBit chips

2018-10-11 Thread Ludwig Zenz
Hello Marek, >> From: Ludwig Zenz >> >> Support 1GIB + 2GIB DDR3 with 64bit bus width and 512MIB + 1GIB with 32bit >> bus width >> >> Signed-off-by: Ludwig Zenz >> --- >> board/dhelectronics/dh_imx6/dh_imx6_spl.c | 191 >> +++--- >> 1 file changed, 173 insertions(+),

Re: [U-Boot] [PATCH 1/1] efi_loader: PSCI reset and shutdown for EL1

2018-10-11 Thread Sumit Garg
On Thu, 11 Oct 2018 at 08:56, Heinrich Schuchardt wrote: > > When starting an aarch64 system under QEMU it runs in EL1/EL0. So we have > to use HVC for PSCI calls. > > Without the patch resetting Linux started with bootefi under > qemu-system-aarch64 results in a crash. > > Signed-off-by: Heinrich

Re: [U-Boot] [PATCH v2 3/4] arm: socfpga: stratix10: Add Stratix10 FPGA into FPGA device table

2018-10-11 Thread Marek Vasut
On 10/11/2018 08:21 AM, Ang, Chee Hong wrote: > On Wed, 2018-10-10 at 12:27 +0200, Marek Vasut wrote: >> On 10/10/2018 07:30 AM, Ang, Chee Hong wrote: >>> >>> On Tue, 2018-10-09 at 14:48 +0200, Marek Vasut wrote: On 10/09/2018 05:03 AM, Ang, Chee Hong wrote: > > > On Mon, 2018

Re: [U-Boot] [PATCH 3/3] ARM: imx6: DHCOM i.MX6 PDK: ddr init for 32bit bus and 4GBit chips

2018-10-11 Thread Marek Vasut
On 10/11/2018 09:09 AM, Ludwig Zenz wrote: > Hello Marek, Hello Ludwig, >>> From: Ludwig Zenz >>> >>> Support 1GIB + 2GIB DDR3 with 64bit bus width and 512MIB + 1GIB with 32bit >>> bus width >>> >>> Signed-off-by: Ludwig Zenz >>> --- >>> board/dhelectronics/dh_imx6/dh_imx6_spl.c | 191 >>> ++

Re: [U-Boot] [PATCH 16/27] arm: qemu: Enumerate virtio bus during early boot

2018-10-11 Thread Bin Meng
Hi Simon, On Thu, Sep 27, 2018 at 9:43 PM Simon Glass wrote: > > On 23 September 2018 at 06:42, Bin Meng wrote: > > Currently devices on the virtio bus is not automatically enumerated, > > which means peripherals on the virtio bus are not discovered by their > > drivers. This uses board_init() t

Re: [U-Boot] [PATCH 16/27] arm: qemu: Enumerate virtio bus during early boot

2018-10-11 Thread Bin Meng
Hi Tuomas, On Fri, Sep 28, 2018 at 6:13 AM Tuomas Tynkkynen wrote: > > Hi Bin, > > On 09/23/2018 04:42 PM, Bin Meng wrote: > > Currently devices on the virtio bus is not automatically enumerated, > > which means peripherals on the virtio bus are not discovered by their > > drivers. This uses boar

Re: [U-Boot] [PATCH 20/27] x86: Implement arch-specific io accessor routines

2018-10-11 Thread Bin Meng
Hi Simon, On Thu, Sep 27, 2018 at 9:43 PM Simon Glass wrote: > > On 23 September 2018 at 06:42, Bin Meng wrote: > > At present the generic io{read,write}{8,16,32} routines only support > > MMIO access. With architecture like x86 that has a separate IO space, > > these routines cannot be used to

Re: [U-Boot] [PATCH 21/27] virtio: Add virtio over pci transport driver

2018-10-11 Thread Bin Meng
Hi Simon, On Thu, Sep 27, 2018 at 9:43 PM Simon Glass wrote: > > Hi Bin, > > On 23 September 2018 at 06:42, Bin Meng wrote: > > This adds a transport driver that implements UCLASS_VIRTIO for > > virtio over pci, which is commonly used on x86. > > > > It only supports the legacy interface of the

Re: [U-Boot] [PATCH 25/27] virtio: pci: Support non-legacy PCI transport device

2018-10-11 Thread Bin Meng
Hi Simon, On Thu, Sep 27, 2018 at 9:43 PM Simon Glass wrote: > > On 23 September 2018 at 06:42, Bin Meng wrote: > > By default QEMU creates legacy PCI transport devices, but we can > > ask QEMU to create non-legacy one if we pass additional device > > property/value pairs in the command line: >

Re: [U-Boot] [PATCH] sunxi: Imply fitImage support

2018-10-11 Thread Maxime Ripard
On Wed, Oct 10, 2018 at 06:27:35PM +0200, Marek Vasut wrote: > Enable modern fitImage format on sunxi. > > Signed-off-by: Marek Vasut > Cc: Maxime Ripard > Cc: Tom Rini Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.co

Re: [U-Boot] [PATCH v1 04/19] arm: MediaTek: add basic support for MT7629 boards

2018-10-11 Thread Tom Rini
On Tue, Oct 09, 2018 at 11:54:04AM +0800, Ryder Lee wrote: > This adds a general board file based on MT7629 SoCs from MediaTek. > > Apart from the generic parts (cpu) we add some low level init codes > and initialize the early clocks. > > Signed-off-by: Ryder Lee > Signed-off-by: Weijie Gao [s

Re: [U-Boot] [PULL] u-boot-sh/master

2018-10-11 Thread Tom Rini
On Wed, Oct 10, 2018 at 12:24:14AM +0200, Marek Vasut wrote: > The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3: > > Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19 > -0400) > > are available in the Git repository at: > > git://git.denx.de/u

Re: [U-Boot] [PATCH v1 06/19] configs: MediaTek: add MT7629 reference board support

2018-10-11 Thread Tom Rini
On Tue, Oct 09, 2018 at 11:54:06AM +0800, Ryder Lee wrote: > This patch adds defconfig for the MT7629 reference board. > > Signed-off-by: Ryder Lee > --- > configs/mt7629_rfb_defconfig | 72 > > 1 file changed, 72 insertions(+) > create mode 100644

Re: [U-Boot] [U-Boot,v2,1/2] gpio: da8xx: Add k2g compatible

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 05:55:13PM +0530, Keerthy wrote: > Add k2g compatible so that k3 SoCs can be supported > > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, 4/5] arm: remove prototype for get_timer_masked

2018-10-11 Thread Tom Rini
On Fri, Oct 05, 2018 at 11:33:52AM +0200, Patrick Delaunay wrote: > The interruption support had be removed for ARM architecture and > the function get_timer_masked() is no more used except in some > the timer.c files. > > This patch clean each timer.c which implement this function and > remove t

Re: [U-Boot] rtc: Add read8 and write8 support to isl1208 driver

2018-10-11 Thread Tom Rini
On Thu, May 31, 2018 at 11:14:44AM -0700, Trent Piepho wrote: > This can be used for device register access from board code. > > This allows access to capabilities in the RTC chip not abstracted in > U-Boot's RTC class. E.g., device NVRAM or a tamper detection circuit. > > Cc: Klaus Goger > Cc

Re: [U-Boot] [U-Boot, v2, 1/1] ARM: meson: Extend mem_map to support 3GiB of RAM

2018-10-11 Thread Tom Rini
On Tue, Sep 25, 2018 at 04:30:35PM +0200, Loic Devulder wrote: > The current mem_map definition for Meson SoCs has support for up > to 2GiB of RAM. According to S905, S905X, S912 and S805X datasheets > the DDR region is set from 0x to 0xBFFF, so mem_map's > definition should be changed

Re: [U-Boot] i2c: Fix pca953x endianess issue, commit daa75b34828d45b7c1d63009188d45f4a32d06ba

2018-10-11 Thread Dirk Eibach
Hello, we have a 16 bit value here, so we have to define whether bit0(containin the information for IO0.0) is in the first or the second byte. Since the PCA9555 does this encoding little endian, the conversion is allright. Cheers Dirk Am Do., 11. Okt. 2018 um 07:42 Uhr schrieb Heiko Schocher : >

Re: [U-Boot] fs: btrfs: Fix tree traversal with btrfs_next_slot()

2018-10-11 Thread Tom Rini
On Fri, Sep 07, 2018 at 12:59:30PM +0300, Yevgeny Popovych wrote: > When traversing slots in a btree (via btrfs_path) with btrfs_next_slot(), > we didn't correctly identify that the last slot in the leaf was reached > and we should jump to the next leaf. > > This could lead to any kind of runtime

Re: [U-Boot] cmd: pxe: add support for FIT config selection

2018-10-11 Thread Tom Rini
On Tue, Oct 02, 2018 at 10:54:48AM +0200, Patrick Delaunay wrote: > Add a way in configuration files (exlinux.conf for sysboot command) > to select a specific FIT configuration. The configuration is selected > with a string added after the FIT filename in the label "KERNEL" or > "LINUX", using the

Re: [U-Boot] tests/test_bind.py: Update test to match the wider 'dm tree' output

2018-10-11 Thread Tom Rini
On Tue, Oct 02, 2018 at 04:22:58PM +0100, Liviu Dudau wrote: > Commit ("dm: core: Widen the dump tree to show more of the driver's > name") has widened the field reserved for the name of a driver, so > we need to update the test to match. > > Signed-off-by: Liviu Dudau > --- > test/py/tests/tes

Re: [U-Boot] [U-Boot, 5/5] arm: remove duplicated prototypes in u-boot.arm.h

2018-10-11 Thread Tom Rini
On Fri, Oct 05, 2018 at 11:33:53AM +0200, Patrick Delaunay wrote: > Remove the function prototypes duplicated between u-boot.arm.h > and init.h/common.h > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] Please pull u-boot-dm

2018-10-11 Thread Tom Rini
On Tue, Oct 09, 2018 at 06:24:13PM -0600, Simon Glass wrote: > Hi Tom, > > Here is my attempt at a signed pull request. I've brought in most of the > outstanding dm patches. Please let me know if it looks OK. Do you have my > public key? Is it on the public key servers? > > > The following ch

Re: [U-Boot] ARM: dts: stm32mp1: Add usbotg_hs regulator for stm32mp157c-ev1

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 09:38:38AM +0200, Patrice Chotard wrote: > Add usbotg_hs regulator to allow to use the USB mass-storage > feature on OTG usb port. > > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, 2/5] arm: remove prototype for reset_timer_masked

2018-10-11 Thread Tom Rini
On Fri, Oct 05, 2018 at 11:33:50AM +0200, Patrick Delaunay wrote: > Remove prototype for function only used in one file > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boo

Re: [U-Boot] [U-Boot, 1/2] arm: K3: am654: Choose MMC boot device based on boot port

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 10:03:22AM -0500, Andrew F. Davis wrote: > For most devices the boot mode maps directly to the boot > device. For MMC this is not the case as we have two MMC > boot modes and two MMC boot devices (ports). Check the > boot port to determine which MMC device was our boot > de

Re: [U-Boot] [U-Boot, 2/2] arm: K3: am654: Add support for getting boot mode

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 10:03:23AM -0500, Andrew F. Davis wrote: > Read the boot mode register to find the boot mode. Only use eMMC boot0 > mode when the mode is eMMC boot (called BOOT_DEVICE_MMC1 currently due > to current conflating of boot mode and boot device), and not iff the > boot device is

Re: [U-Boot] [U-Boot, v2, 1/2] fdt: add call to ft_board_setup_ex() for ks2 boards

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 12:58:48PM +0200, Nicholas Faustini wrote: > When updating the board FDT, some of the operations > are performed by ft_board_setup_ex() and should be > executed also by the fdt command. > > Signed-off-by: Nicholas Faustini > Reviewed-by: Tom Rini Applied to u-boot/maste

[U-Boot] [PATCH] ARC: Don't use COMMON section for global not-initialized variables

2018-10-11 Thread Alexey Brodkin
By default GCC puts global non-initialized variables in COMMON section. And we used to ignore existence of COMMON section in our linker scripts though smart LD silently appended it right after .bss. And the problem here is variables from COMMON section even though require zeroing in run-time were

Re: [U-Boot] [U-Boot,3/5] arm: remove prototype for udelay_masked

2018-10-11 Thread Tom Rini
On Fri, Oct 05, 2018 at 11:33:51AM +0200, Patrick Delaunay wrote: > The interruption support had be removed for ARM architecture and > the function udelay_masked() is no more used except in some timer.c > files and have the same content than udelay() or __udelay(). > > This patch update each tim

Re: [U-Boot] [U-Boot,1/2] ARM: meson: Add Khadas VIM2 board DT

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 12:02:06PM +0200, Loic Devulder wrote: > This adds Device Tree for the Khadas VIM2 board. > > The meson-gxm-khadas-vim2.dts is synchronized from Linux 4.18.10. > > Signed-off-by: Neil Armstrong > Signed-off-by: Loic Devulder > Acked-by: Neil Armstrong Applied to u-boo

Re: [U-Boot] [U-Boot, 1/5] arm: remove prototype for arch_interrupt_init

2018-10-11 Thread Tom Rini
On Fri, Oct 05, 2018 at 11:33:49AM +0200, Patrick Delaunay wrote: > Remove prototype for no more existing function > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mai

Re: [U-Boot] [U-Boot, v2, 2/2] board: ks2: move uinitrd fixup logic inside ft_board_setup_ex

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 12:58:49PM +0200, Nicholas Faustini wrote: > The uinitrd fixup logic should be executed after the FDT /chosen > node has been properly populated by fdt_initrd() > > Signed-off-by: Nicholas Faustini > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] [U-Boot, v2, 2/2] gpio: da8xx: Push generic defines of gpio.h out of mach-davinci

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 05:55:14PM +0530, Keerthy wrote: > Push generic defines of gpio.h out of mach-davinci to drivers/gpio > now that non-davinci architectures are beginning to use this IP. > > Signed-off-by: Keerthy > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signa

Re: [U-Boot] [U-Boot, 2/2] ARM: meson: Add Khadas VIM2 board support

2018-10-11 Thread Tom Rini
On Wed, Oct 03, 2018 at 12:02:07PM +0200, Loic Devulder wrote: > This adds platform code for the Khadas VIM2 board based on a > Meson GXM (S912) SoC with the Meson GXM configuration. > > This initial submission supports UART, MMC/SDCard and Ethernet. > USB is partially supported. > > All the cod

Re: [U-Boot] bootm: Add board specific OS preboot hook

2018-10-11 Thread Tom Rini
On Thu, Oct 04, 2018 at 09:16:31PM +0200, Marek Vasut wrote: > Add board-specific hook which is executed before the code hands over > control to the OS. This lets the board perform some last-minute clean > ups. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Reviewed-by: Simon Goldschmidt App

Re: [U-Boot] [PATCH v2] efi_loader: set image_base and image_size to correct values

2018-10-11 Thread Heinrich Schuchardt
On 10/11/2018 01:11 PM, AKASHI Takahiro wrote: > Currently, image's image_base points to an address where the image was > temporarily uploaded for further loading. Since efi_loader relocates > the image to final destination, image_base and image_size should reflect > that. > > This bug was detecte

Re: [U-Boot] [PATCH] linux/compat.h: Add netdev_### log macros

2018-10-11 Thread Bin Meng
Hi Joe, On Wed, Oct 10, 2018 at 4:39 AM Joe Hershberger wrote: > > On Sun, Oct 7, 2018 at 7:53 AM Bin Meng wrote: > > > > Hi Joe, > > > > On Sat, Sep 15, 2018 at 4:37 AM Joe Hershberger > > wrote: > > > > > > Hi Bin, > > > On Tue, Sep 11, 2018 at 5:07 AM Bin Meng wrote: > > > > > > > > Hi Joe

Re: [U-Boot] tests/test_bind.py: Update test to match the wider 'dm tree' output

2018-10-11 Thread Simon Glass
Hi Tom, On 11 October 2018 at 08:11, Tom Rini wrote: > > On Tue, Oct 02, 2018 at 04:22:58PM +0100, Liviu Dudau wrote: > > > Commit ("dm: core: Widen the dump tree to show more of the driver's > > name") has widened the field reserved for the name of a driver, so > > we need to update the test to

[U-Boot] [PATCH v2] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-11 Thread Stefan Roese
Some SPI NOR chips only support 4-byte mode addressing. Here the default 3-byte mode does not work and leads to incorrect accesses. This patch now reads the 4-byte mode status bit (in this case in the CR register of the Macronix SPI NOR) and configures the SPI transfers accordingly. This was notic

[U-Boot] [PATCH v3] sf: Add auto detection of 4-byte mode (vs standard 3-byte mode)

2018-10-11 Thread Stefan Roese
Some SPI NOR chips only support 4-byte mode addressing. Here the default 3-byte mode does not work and leads to incorrect accesses. This patch now reads the 4-byte mode status bit (in this case in the CR register of the Macronix SPI NOR) and configures the SPI transfers accordingly. This was notic

Re: [U-Boot] [PATCH 3/4] x86: doc: Mention qemu-x86_64 support

2018-10-11 Thread Heinrich Schuchardt
On 10/11/2018 03:53 AM, Bin Meng wrote: > Currently only 32-bit U-Boot for QEMU x86 is documented. Mention > the 64-bit support. > > Signed-off-by: Bin Meng > --- > > doc/README.x86 | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/doc/README.x86 b/doc/README.x86

Re: [U-Boot] [PATCH 1/4] x86: Specify -march=core2 to build 64-bit U-Boot proper

2018-10-11 Thread Heinrich Schuchardt
On 10/11/2018 03:53 AM, Bin Meng wrote: > With newer kernel.org GCC (7.3.0 or 8.1.0), the u-boot.rom image > built for qemu-x86_64 target does not boot. It keeps resetting > soon after the 32-bit SPL jumps to 64-bit proper. Debugging shows > that the reset happens inside env_callback_init(). > > 0

Re: [U-Boot] [PATCH 3/4] x86: doc: Mention qemu-x86_64 support

2018-10-11 Thread Bin Meng
Hi Heinrich, On Thu, Oct 11, 2018 at 11:15 PM Heinrich Schuchardt wrote: > > On 10/11/2018 03:53 AM, Bin Meng wrote: > > Currently only 32-bit U-Boot for QEMU x86 is documented. Mention > > the 64-bit support. > > > > Signed-off-by: Bin Meng > > --- > > > > doc/README.x86 | 8 ++-- > > 1 fi

Re: [U-Boot] [PATCH 3/4] x86: doc: Mention qemu-x86_64 support

2018-10-11 Thread Heinrich Schuchardt
On 10/11/2018 05:27 PM, Bin Meng wrote: > Hi Heinrich, > > On Thu, Oct 11, 2018 at 11:15 PM Heinrich Schuchardt > wrote: >> >> On 10/11/2018 03:53 AM, Bin Meng wrote: >>> Currently only 32-bit U-Boot for QEMU x86 is documented. Mention >>> the 64-bit support. >>> >>> Signed-off-by: Bin Meng >>>

Re: [U-Boot] [PATCH 3/4] x86: doc: Mention qemu-x86_64 support

2018-10-11 Thread Bin Meng
Hi Heinrich, On Thu, Oct 11, 2018 at 11:32 PM Heinrich Schuchardt wrote: > > On 10/11/2018 05:27 PM, Bin Meng wrote: > > Hi Heinrich, > > > > On Thu, Oct 11, 2018 at 11:15 PM Heinrich Schuchardt > > wrote: > >> > >> On 10/11/2018 03:53 AM, Bin Meng wrote: > >>> Currently only 32-bit U-Boot for

Re: [U-Boot] [PATCH] ls1012afrwy:update ls1012afrwy env board variable

2018-10-11 Thread York Sun
On 10/10/2018 11:40 PM, Pramod Kumar wrote: > ls1012afrwy and ls1012afrdm both boards are varinat of ls1012a based > SoC board. > By default board and board_name uboot env variables are set as > ls1012afrdm. > whenever board is detected as ls1012afrwy, uboot env > variables are upadted to ls1012afr

[U-Boot] [PATCH 0/3] Add raw read support and use it in pxa3xx NAND driver

2018-10-11 Thread Miquel Raynal
When using 2kiB-pages NAND chips requesting an 8-bit strength ECC, the layout used is a bit particular and it happens that the ECC engine tries to correct uncorrectable errors on empty pages, producing bitflips. To avoid such situation, raw read support is added to the pxa3xx_nand driver, and then

[U-Boot] [PATCH 2/3] mtd: nand: pxa3xx: re-read a page in raw mode on uncorrectable error

2018-10-11 Thread Miquel Raynal
This only applies on BCH path. When an empty page is read, it triggers an uncorrectable error. While this is expected, the ECC engine might produce itself bitflips in the read data under certain layouts. To overcome this situation, always re-read the entire page in raw mode and check for the whole

[U-Boot] [PATCH 1/3] mtd: nand: pxa3xx: add raw read support

2018-10-11 Thread Miquel Raynal
Raw read support is added by editing a few code sections: ->handle_data_pio() includes the ECC bytes that are not consumed anymore by the ECC engine. ->prepare_set_command() is changed so that the ECC bytes are requested as part of the data I/O length. ->drain_fifo() shall al

[U-Boot] [PATCH 3/3] mtd: rawnand: pxa3xx: fix 2kiB pages with 8b strength chips layout

2018-10-11 Thread Miquel Raynal
The initial layout for such NAND chips was the following: ++ | 1024 (data) | 30 (ECC) | 1024 (data) | 30 (ECC) | 32 (free OOB) | 30 (ECC) | ++ Th

Re: [U-Boot] i2c: Fix pca953x endianess issue, commit daa75b34828d45b7c1d63009188d45f4a32d06ba

2018-10-11 Thread Joakim Tjernlund
On Thu, 2018-10-11 at 16:11 +0200, Dirk Eibach wrote: > > Hello, > > we have a 16 bit value here, so we have to define whether bit0(containin the > information for IO0.0) is in the first or the second byte. Since the PCA9555 > does this encoding little endian, the conversion is allright. > Y

[U-Boot] [PATCH 1/4] dm: adc: add uclass's mask and conversion helpers

2018-10-11 Thread Fabrice Gasnier
Add two functions to ADC uclass's: - adc_raw_to_uV() to ease ADC raw value conversion to microvolts - adc_channel_mask() to get channels on consumer side Signed-off-by: Fabrice Gasnier --- drivers/adc/adc-uclass.c | 37 + include/adc.h| 21 +++

[U-Boot] [PATCH 2/4] cmd: adc: add info on channel mask

2018-10-11 Thread Fabrice Gasnier
Enhance adc info command to report also the channel mask. Signed-off-by: Fabrice Gasnier --- cmd/adc.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/adc.c b/cmd/adc.c index c8857ed..39f61c1 100644 --- a/cmd/adc.c +++ b/cmd/adc.c @@ -35,7 +35,7 @@ static int do_adc

[U-Boot] [PATCH 0/4] Add adc uclass's channel mask and conversion helpers and enhance adc cmd

2018-10-11 Thread Fabrice Gasnier
This series adds ADC uclass's helpers to - retrieve the ADC device available channels - ease conversions to standard unit (µV) - enhance 'adc' command to print information on available ADC channels - enhance 'adc' command to print conversion result both as raw and µV - enhance 'adc' command to scan

[U-Boot] [PATCH 4/4] cmd: adc: add an option to scan some or all available channels

2018-10-11 Thread Fabrice Gasnier
Add new option to 'adc' command to do a single scan of: - some channel(s), using mask argument - all channels available on an ADC device (when optional mask is omitted). Signed-off-by: Fabrice Gasnier --- cmd/adc.c | 55 ++- 1 file changed, 54

[U-Boot] [PATCH 3/4] cmd: adc: print single conversion also in uV

2018-10-11 Thread Fabrice Gasnier
Use newly introduced adc_raw_to_uV() API to print conversion result both as raw value and micro-volts by default. Signed-off-by: Fabrice Gasnier --- cmd/adc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmd/adc.c b/cmd/adc.c index 39f61c1..7360a96 100644 --- a/c

[U-Boot] [PATCH 1/3] serial: bcm6858: add serial support

2018-10-11 Thread Philippe Reynes
This driver add the support of serial on bcm6858. It's based on serial for bcm6345. Signed-off-by: Philippe Reynes --- drivers/serial/Kconfig | 6 + drivers/serial/Makefile | 1 + drivers/serial/serial_bcm6858.c | 300 3 files changed

[U-Boot] [PATCH 3/3] bcm968580xref: add initial support

2018-10-11 Thread Philippe Reynes
This add the initial support of the broadcom reference board bcm968580xref with a bcm6858 SoC. This board has 512 MB of ram, 256 MB of flash (nand), 2 usb port, 1 uart, 4 ethernet ports (LAN), 1 ethernet port (WAN). Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm968580xref.dts

[U-Boot] [PATCH 2/3] bcm6858: add initial support

2018-10-11 Thread Philippe Reynes
This add the initial support of the broadcom bcm6858 SoC family, only the cpu, dram and uart are supported. Signed-off-by: Philippe Reynes --- arch/arm/Kconfig | 7 arch/arm/dts/bcm6858.dtsi | 85 +++ 2 files changed, 92 insertions(+) c

Re: [U-Boot] [PATCH 2/4] x86: Ensure no instruction sets of MMX/SSE are generated in 64-bit build

2018-10-11 Thread Heinrich Schuchardt
On 10/11/2018 03:53 AM, Bin Meng wrote: > With the '-march=core2' fix, it seems that we have some luck that > the 64-bit U-Boot boots again. However if we examine the disassembly > codes there are still SSE instructions elsewhere which means passing > cpu type to GCC is not enough to prevent it fro

Re: [U-Boot] [U-Boot,11/45] rtc: Allow use of RTC in SPL and TPL

2018-10-11 Thread Heinrich Schuchardt
On 10/01/2018 08:22 PM, Simon Glass wrote: > Add Kconfig options so that the RTC can be used in SPL and TPL. This is > helpful for accessing the contents of CMOS RAM, for example. > > Signed-off-by: Simon Glass > Signed-off-by: Simon Glass > --- Hello Simon, with this patch x86_64 does not bo

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

2018-10-11 Thread Joe Hershberger
Hi Tom, The few checkpatch alerts were checked to be exceptions. All passed travis. Thanks! The following changes since commit 0a60a81ba3860946551cb79aa6486aa076e357f3: Kconfig: sandbox: enable cmd_avb and dependencies (2018-10-07 13:34:19 -0400) are available in the git repository at: gi

Re: [U-Boot] linux/mdio.h: Sync with Linux kernel v4.17

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/949573/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] linux/compat.h: Add netdev_### log macros

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/949577/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] linux/mii.h: Sync with Linux kernel v4.17

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/949572/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net.h: Include linux/if_ether.h to avoid duplication

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/951500/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] phy: Add 25G_AUI, XLAUI, CAUI2, CAUI4 related macros

2018-10-11 Thread Joe Hershberger
Hi Priyanka, https://patchwork.ozlabs.org/patch/962408/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ti: Recover from "port mirroring" N/A MODE4

2018-10-11 Thread Joe Hershberger
Hi Janine, https://patchwork.ozlabs.org/patch/962746/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox: Share the priv structure with tests

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975409/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox: Add a priv ptr for tests to use

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975419/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ti: Add lane swapping support in the DP83867 TI's PHY driver

2018-10-11 Thread Joe Hershberger
Hi Janine, https://patchwork.ozlabs.org/patch/962741/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Consolidate UDP header functions

2018-10-11 Thread Joe Hershberger
Hi Duncan, https://patchwork.ozlabs.org/patch/934006/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] linux/if_ether.h: Initial import from Linux kernel v4.17

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/951499/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ti: Add binding for the CLK_OUT pin muxing

2018-10-11 Thread Joe Hershberger
Hi Janine, https://patchwork.ozlabs.org/patch/962743/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: pch_gbe: Make probe/remove static

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/950525/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] test: eth: Add a test for the target being pinged

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975410/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox: Move disabled flag into priv struct

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975411/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] linux/if_ether.h: Add VLAN related macros

2018-10-11 Thread Joe Hershberger
Hi Bin, https://patchwork.ozlabs.org/patch/951501/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: Add an accessor to know if waiting for ARP

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975417/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox: Refactor sandbox send function

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975414/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox: Allow fake eth to handle more than 1 packet response

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975413/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: sandbox: Make the fake eth driver response configurable

2018-10-11 Thread Joe Hershberger
Hi Joe, https://patchwork.ozlabs.org/patch/975408/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

  1   2   >