[U-Boot] [PATCH v6 15/18] net: fastboot: Merge AOSP UDP fastboot

2018-05-22 Thread Alex Kiernan
Merge UDP fastboot support from AOSP: https://android.googlesource.com/platform/external/u-boot/+/android-o-mr1-iot-preview-8 Signed-off-by: Alex Kiernan Signed-off-by: Alex Deymo Signed-off-by: Jocelyn Bohr Reviewed-by: Simon

[U-Boot] [PATCH v6 17/18] usb: fastboot: Convert USB f_fastboot to shared fastboot

2018-05-22 Thread Alex Kiernan
Convert USB fastboot code to use shared fastboot protocol. Signed-off-by: Alex Kiernan --- Changes in v6: - merged from RFC USB fastboot series - when entering the DATA phase ensure we actually install the correct handler - on completion of DATA call new

[U-Boot] [PATCH v6 16/18] fastboot: Add support for 'oem format' command

2018-05-22 Thread Alex Kiernan
Introduce 'oem format' which matches the USB implementation, guard this with CONFIG_FASTBOOT_CMD_OEM_FORMAT so that you can configure it out. Signed-off-by: Alex Kiernan --- Changes in v6: None Changes in v5: - new Changes in v4: None Changes in v3: None Changes in v2:

[U-Boot] [PATCH v6 13/18] fastboot: Migrate FASTBOOT_FLASH_NAND_TRIMFFS to Kconfig

2018-05-22 Thread Alex Kiernan
Add FASTBOOT_FLASH_NAND_TRIMFFS to Kconfig; note there are no in-tree users of it. Signed-off-by: Alex Kiernan Reviewed-by: Simon Glass --- Changes in v6: None Changes in v5: - new Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 11/18] ti: fastboot: Move weak overrides to board files

2018-05-22 Thread Alex Kiernan
Overriding fastboot_set_reboot_flag() in arch/arm/mach-omap2/boot-common.c leaves it applying all boards that derive from this, not just the ones which have support for Android bootloader flow. Move the weak function override to the relevant board files. Signed-off-by: Alex Kiernan

[U-Boot] [PATCH v6 14/18] mmc: Separate "mmc swrite" from fastboot

2018-05-22 Thread Alex Kiernan
Introduce CONFIG_IMAGE_SPARSE and CONFIG_CMD_MMC_SWRITE so the "mmc swrite" command is separated from the fastboot code. Move image-sparse from common to lib so it's clear it's library code. Rename CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE to CONFIG_IMAGE_SPARSE_FILLBUF_SIZE and migrate it to Kconfig.

Re: [U-Boot] [PATCH] soc: zynqmp: Update required API version to 1.0

2018-05-22 Thread Marek Vasut
On 05/21/2018 11:26 PM, Manjukumar Harthikote Matha wrote: [...] Ah, I see, so there are three versions of pmu-firmware in a single release, but the one which is actually needed for the system to boot correctly is not in the meta-xilinx repo as one would expect, but in some

[U-Boot] [PATCH v6 05/18] fastboot: Add missing newlines

2018-05-22 Thread Alex Kiernan
Add newlines so we format our output correctly. Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger Reviewed-by: Jocelyn Bohr --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

Re: [U-Boot] [linux-sunxi] Re: [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-05-22 Thread Jagan Teki
On Tue, May 15, 2018 at 6:19 PM, Jagan Teki wrote: > Hi Marek, > > On Tue, May 15, 2018 at 2:16 PM, Jun Nie wrote: >> 2018-05-07 15:33 GMT+08:00 Jagan Teki : >>> This series rework of previous version where it removes

[U-Boot] [PATCH v6 12/18] fs: Add fs_get_type_name to return current filesystem name

2018-05-22 Thread Alex Kiernan
Add fs_get_type_name so we can get the current filesystem type. Signed-off-by: Alex Kiernan Reviewed-by: Simon Glass Reviewed-by: Joe Hershberger --- Changes in v6: None Changes in v5: None Changes in v4: - add docbook

[U-Boot] [PATCH v6 09/18] fastboot: Extract common definitions from USB fastboot

2018-05-22 Thread Alex Kiernan
Move FASTBOOT_VERSION to include/fastboot.h so when we merge the UDP code we only have one definition. Signed-off-by: Alex Kiernan Reviewed-by: Simon Glass Acked-by: Joe Hershberger --- Changes in v6: None Changes in v5: None

Re: [U-Boot] [PATCH v1] ubifs: avoid assert failed in ubifs.c

2018-05-22 Thread Marek Vasut
On 05/10/2018 10:57 PM, Marek Vasut wrote: > On 04/27/2018 03:51 PM, Patrice Chotard wrote: >> This patch solves assert failed displayed in the console during a boot. >> The root cause is that the ubifs_inode is not already allocated when >> ubifs_printdir and ubifs_finddir functions are called.

Re: [U-Boot] [PATCH v1] ubifs: avoid assert failed in ubifs.c

2018-05-22 Thread Richard Weinberger
Am Dienstag, 22. Mai 2018, 12:56:48 CEST schrieb Marek Vasut: > On 05/10/2018 10:57 PM, Marek Vasut wrote: > > On 04/27/2018 03:51 PM, Patrice Chotard wrote: > >> This patch solves assert failed displayed in the console during a boot. > >> The root cause is that the ubifs_inode is not already

Re: [U-Boot] [PATCH v1] ubifs: avoid assert failed in ubifs.c

2018-05-22 Thread Ladislav Michl
On Tue, May 22, 2018 at 01:23:13PM +0200, Richard Weinberger wrote: > Am Dienstag, 22. Mai 2018, 12:56:48 CEST schrieb Marek Vasut: > > On 05/10/2018 10:57 PM, Marek Vasut wrote: > > > On 04/27/2018 03:51 PM, Patrice Chotard wrote: > > >> This patch solves assert failed displayed in the console

[U-Boot] [PATCH 2/3] spi: atcspi200: Fix compiler warning

2018-05-22 Thread Andes
From: Rick Chen Fix warning as below when compile in 64-bit. warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka long unsigned int} Signed-off-by: Rick Chen Signed-off-by: Rick Chen

[U-Boot] [PATCH v6 03/18] fastboot: Extract fastboot_okay/fail to fb_common.c

2018-05-22 Thread Alex Kiernan
Add drivers/fastboot/fb_common.c, where fastboot_okay/fail are implemented so we can call them from a non-USB implementation. Introduce fastboot_response which takes varargs parameters so we can use it to generate formatted response strings. Refactor fastboot_okay/fail to use it. Signed-off-by:

[U-Boot] [PATCH v6 04/18] fastboot: Correct dependencies in FASTBOOT_FLASH

2018-05-22 Thread Alex Kiernan
Ensure that when selecting FASTBOOT_FLASH you end up with a buildable configuration. Prior to this you could select NAND without MTDPARTS and end up with an image which (surprisingly) excluded NAND. Also fix dependencies on FASTBOOT_GPT_NAME/FASTBOOT_MBR_NAME which require you have

[U-Boot] [PATCH v6 01/18] fastboot: Move fastboot to drivers/fastboot

2018-05-22 Thread Alex Kiernan
Separate CMD_FASTBOOT from FASTBOOT and move code and configuration to drivers/fastboot. Switch dependencies on FASTBOOT to USB_FUNCTION_FASTBOOT as anyone who wants FASTBOOT before this series wants USB_FUNCTION_FASTBOOT. Split USB_FUNCTION_FASTBOOT from FASTBOOT so they retain their existing

Re: [U-Boot] [linux-sunxi] Re: [PATCH v7 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-05-22 Thread Marek Vasut
On 05/22/2018 02:40 PM, Jagan Teki wrote: > On Tue, May 15, 2018 at 6:19 PM, Jagan Teki wrote: >> Hi Marek, >> >> On Tue, May 15, 2018 at 2:16 PM, Jun Nie wrote: >>> 2018-05-07 15:33 GMT+08:00 Jagan Teki : This series

[U-Boot] [PATCH 3/3] net: ftmac100: Fix compiler warning

2018-05-22 Thread Andes
From: Rick Chen Fix warnings as below when compile in 64-bit. warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu

[U-Boot] [PATCH v6 10/18] fastboot: Rename public fb_ functions to fastboot_

2018-05-22 Thread Alex Kiernan
Rename fb_mmc_flash_write/fb_mmc_erase/fb_nand_flash_write/fb_nand_erase to fastboot_... as they form a public interface Signed-off-by: Alex Kiernan Reviewed-by: Simon Glass --- Changes in v6: - add docbook comments Changes in v5: - new Changes in

[U-Boot] [PATCH v6 06/18] fastboot: Remove FIXME for CONFIG_FASTBOOT_...NAME

2018-05-22 Thread Alex Kiernan
CONFIG_FASTBOOT_GPT_NAME and CONFIG_FASTBOOT_MBR_NAME are always defined by Kconfig if you're compiling this code, so remove these redundant defaults. Signed-off-by: Alex Kiernan Reviewed-by: Simon Glass Acked-by: Joe Hershberger

[U-Boot] [PATCH v6 07/18] fastboot: Fix parameter types in _fb_nand_write

2018-05-22 Thread Alex Kiernan
Compiling on a 64 bit target the arguments to _fb_nand_write are incompatible: drivers/fastboot/fb_nand.c: In function ‘_fb_nand_write’: drivers/fastboot/fb_nand.c:101:42: warning: passing argument 3 of ‘nand_write_skip_bad’ from incompatible pointer type [-Wincompatible-pointer-types]

[U-Boot] [PATCH v6 00/18] Add fastboot UDP support

2018-05-22 Thread Alex Kiernan
This series merges the fastboot UDP support from AOSP into mainline U-Boot. Changes in UDP behaviour from the AOSP code, so it follows the existing USB behaviour: - 'boot' now follows the USB code and does 'bootm CONFIG_FASTBOOT_BUF_ADDR'. I've added 'fastboot_bootcmd' which if set overrides

[U-Boot] [PATCH 1/3] configs: ax25-ae350: Set 64-bit as default configuration

2018-05-22 Thread Andes
From: Rick Chen Set 64-bit as default configuration for ax25-ae350. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- configs/ax25-ae350_defconfig | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH v6 02/18] fastboot: Refactor fastboot_okay/fail to take response

2018-05-22 Thread Alex Kiernan
Add the response string as a parameter to fastboot_okay/fail, instead of modifying a global, to match the contract expected by the AOSP U-Boot code. Signed-off-by: Alex Kiernan Reviewed-by: Joe Hershberger --- Changes in v6: None Changes in v5:

[U-Boot] [PATCH v6 18/18] fastboot: Update fastboot documentation

2018-05-22 Thread Alex Kiernan
Update fastboot documentation to reflect merged USB/UDP implementation. Signed-off-by: Alex Kiernan --- Changes in v6: - new Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None doc/README.android-fastboot | 240

Re: [U-Boot] UBIFS Problems with U-boot 2018.1 & 4.14 Linux

2018-05-22 Thread Heiko Schocher
Hello Otto, Am 22.05.2018 um 08:24 schrieb Richard Weinberger: Otto, Am Dienstag, 22. Mai 2018, 03:30:04 CEST schrieb Otto Blom: Hi Richard ! To summarize the observations from the last few days. * Linux 4.9 & U-boot 2018 behave the same when attempting to read from a ubifs file system *

Re: [U-Boot] [BUG] SPI NOR for SST25V hangs for TI AM335x.

2018-05-22 Thread Faiz Abbas
Hi, Adding Vignesh. He should be able to help. On Monday 21 May 2018 11:53 PM, Gautam Bhat wrote: > Hi, > > There is a bug in the SST25V SPI NOR for the TI AM335x. On a write the > SPI NOR hangs. This is because of the spi_release_bus(..) in the > spi_flash_read_common call done by

[U-Boot] [GIT PULL] u-boot-uniphier/master

2018-05-22 Thread Masahiro Yamada
Hi Tom, Please pull some more patches. Thanks. The following changes since commit 624d2cae3401c2e4d43c571a9b81d1f650e7703d: SPDX: Fixup SPDX tags in a few new files (2018-05-20 09:47:45 -0400) are available in the git repository at: git://git.denx.de/u-boot-uniphier.git master for you

[U-Boot] [PATCH] gitignore: remove stale /LOG pattern

2018-05-22 Thread Masahiro Yamada
The /LOG directory was created by the old MAKEALL tool, which was deleted by commit c8a3777c51b9 ("Drop the MAKEALL tool"). Signed-off-by: Masahiro Yamada --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index

[U-Boot] [PATCH v6 08/18] fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag

2018-05-22 Thread Alex Kiernan
Rename fb_set_reboot_flag to fastboot_set_reboot_flag so it matches all other fastboot code in the global name space. Fix the guards around them so that they're dependent on FASTBOOT, not just USB_FUNCTION_FASTBOOT. Move the weak implementation of fastboot_set_reboot_flag to fb_common.c so we can

Re: [U-Boot] [PATCH] ubi: fastmap: Implement produce_free_peb()

2018-05-22 Thread Heiko Schocher
Hello Patrice, Am 22.05.2018 um 10:10 schrieb Patrice Chotard: Since 'commit f82290afc847 ("mtd: ubi: Fix worker handling")', when booting from NAND, on a fresh NAND just after being flashed (and only in this case), we got the following log: ubi0: default fastmap pool size: 200 ubi0: default

Re: [U-Boot] iotrace examine buffer command

2018-05-22 Thread Ramon Fried
In Addition to what I wrote. I think of another improvement. to be able to limit the iotracing to a specific region of memory. Thanks, Ramon On Tue, May 22, 2018 at 11:26 AM, Ramon Fried wrote: > Hi Simon. > I know that you've mentioned in the commit log that md is

Re: [U-Boot] [PATCH v6 17/18] usb: fastboot: Convert USB f_fastboot to shared fastboot

2018-05-22 Thread Sam Protsenko
On 22 May 2018 at 18:21, Sam Protsenko wrote: > On 22 May 2018 at 12:23, Alex Kiernan wrote: >> Convert USB fastboot code to use shared fastboot protocol. >> >> Signed-off-by: Alex Kiernan >> --- >> >> Changes in v6: >>

Re: [U-Boot] [PATCH v6 17/18] usb: fastboot: Convert USB f_fastboot to shared fastboot

2018-05-22 Thread Alex Kiernan
On Tue, May 22, 2018 at 4:29 PM Sam Protsenko wrote: > On 22 May 2018 at 18:21, Sam Protsenko wrote: > > On 22 May 2018 at 12:23, Alex Kiernan wrote: > >> Convert USB fastboot code to use shared fastboot protocol.

Re: [U-Boot] [RFC PATCH 0/2] ARM: v7: Enable basic framework for supporting bits for CVE-2017-5715

2018-05-22 Thread Fabio Estevam
On Thu, Jan 25, 2018 at 7:45 PM, Nishanth Menon wrote: > Hi Folks, > > This is a follow through on the discussion we have had in [1]. > This itself is'nt a complete solution and is based on recommendation > This from Arm[2] for variant 2 CVE-2017-5715 > > The Linux kernel discussions

Re: [U-Boot] [PATCH] sunxi: Enable fitImage support on OrangePi Zero

2018-05-22 Thread Maxime Ripard
On Fri, May 18, 2018 at 06:22:25PM +0200, Marek Vasut wrote: > On 05/18/2018 05:29 PM, Maxime Ripard wrote: > > On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote: > >> On 05/18/2018 01:52 PM, Maxime Ripard wrote: > >>> On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote: >

[U-Boot] [PATCHv2] block: Have BLOCK_CACHE default to y in some cases

2018-05-22 Thread Tom Rini
When dealing with filesystems that come from block devices we can get a noticeable performance gain in some use cases from having the block cache enabled. The code paths are valid in other cases when we have BLK set and may provide wins in raw reads in some use cases, so have this be default when

[U-Boot] [PATCH v3] arm: zynq: Add initial support for Avnet MiniZed

2018-05-22 Thread Ibai Erkiaga
Initial support for Avnet MiniZed board. Tested UART1 (serial console), QSPI(Flash), SDHCI1 (eMMC), USB. Signed-off-by: Ibai Erkiaga --- Changes in v3: -dts formating refactor -CONFIG_DISPLAY_CPUINFO removed from config -CONFIG_OF_EMBED

[U-Boot] [PATCH] usb: xhci-rcar: deregister before deactivating clock

2018-05-22 Thread Matthias Blankertz
During the execution of xhci_deregister xHCI registers are accessed. If the clock is already deactivated when xhci_deregister is called this can lead to undefined behavior. Change the order to deregister the device before deactivating the clock. Signed-off-by: Matthias Blankertz

Re: [U-Boot] [PATCH 1/2] efi_selftest: allow building relocation code on x86_64

2018-05-22 Thread Simon Glass
On 18 May 2018 at 11:12, Heinrich Schuchardt wrote: > Variables EFI_RELOC and EFI_CRT0 have to be defined to build the > EFI unit tests. This patch ensures this for the x86 architecure. > > If we compile with EFI_STUB, the bitness depends on CONFIG_EFI_STUB_64BIT. > Otherwise

Re: [U-Boot] [PATCH 2/4] mmc: zynq: Use live-tree functions

2018-05-22 Thread Simon Glass
On 18 May 2018 at 02:46, Michal Simek wrote: > Use live-tree functions. > > Signed-off-by: Michal Simek > --- > > drivers/mmc/zynq_sdhci.c | 22 +- > 1 file changed, 9 insertions(+), 13 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v2 2/2] test/py: add test for whitelist of variables while importing environment

2018-05-22 Thread Simon Glass
On 18 May 2018 at 08:45, Quentin Schulz wrote: > This tests that the importing of an environment with a specified > whitelist works as intended. > > If the variable whitelisted_vars is not set, the env importing should > fail with a given message. > > For each variable

Re: [U-Boot] [PATCH 3/4] ata: ahci_mvebu: add scsi support

2018-05-22 Thread Simon Glass
On 17 May 2018 at 19:27, wrote: > From: Ken Ma > > Mvebu AHCI is AHCI driver which uses SCSI under the hood. > This patch adjusts AHCI setup to support SCSI by creating > a SCSI device as a child. > > Signed-off-by: Ken Ma > Cc: Simon Glass

Re: [U-Boot] [BUG] Cannot build qemu-x86_64_defconfig

2018-05-22 Thread Simon Glass
Hi Heinrich, On 22 May 2018 at 13:29, Heinrich Schuchardt wrote: > Hello Simon, > > when I compile qemu-x86_64_defconfig on Debian the spl is close to 4GB > large. > > These files shed some light: > > spl/u-boot-spl.lds > -- > OUTPUT_FORMAT("elf32-i386",

Re: [U-Boot] iotrace examine buffer command

2018-05-22 Thread Simon Glass
Hi Ramon, On 22 May 2018 at 05:56, Ramon Fried wrote: > > In Addition to what I wrote. > I think of another improvement. to be able to limit the iotracing to a > specific region of memory. Both of these seem fine to me. Regards, Simon > > Thanks, > Ramon > > > On Tue,

Re: [U-Boot] [PATCH v3 6/6] test: dm: Fix wrong aliases property names

2018-05-22 Thread Simon Glass
Hi Eugeniu, On 19 May 2018 at 06:13, Eugeniu Rosca wrote: > After importing v4.17-rc1 Linux commit 9130ba884640 ("scripts/dtc: > Update to upstream version v1.4.6-9-gaadd0b65c987"), sandbox build > reports below warnings: > > arch/sandbox/dts/test.dtb: Warning

Re: [U-Boot] [PATCH 2/4] ata: ahci_mvebu: a8040 a0: remove bad port register offsets workarounds

2018-05-22 Thread Simon Glass
On 17 May 2018 at 19:27, wrote: > From: David Sniatkiwicz > > This workaround was added for A8040/7040 A0. > A8040/7040 A0 is no longer supported so this workaround > can be removed. > > Signed-off-by: David Sniatkiwicz >

Re: [U-Boot] [PATCH 3/4] watchdog: cadence: Use live-tree functions

2018-05-22 Thread Simon Glass
On 18 May 2018 at 02:46, Michal Simek wrote: > Use live-tree functions. > > Signed-off-by: Michal Simek > --- > > drivers/watchdog/cdns_wdt.c | 9 - > 1 file changed, 4 insertions(+), 5 deletions(-) Reviewed-by: Simon Glass

[U-Boot] [PATCH] fit: Enable fitImage by default if OF_LIBFDT is enabled

2018-05-22 Thread Marek Vasut
Enable fitImage by default on systems which already use libfdt. The fitImage has many benefits over zImage and supersedes legacy uImage, so enable it by default where possible to make it widely available. Signed-off-by: Marek Vasut Cc: Maxime Ripard

Re: [U-Boot] [PATCH 4/4] timer: cadence: Use live-tree functions

2018-05-22 Thread Simon Glass
On 18 May 2018 at 02:46, Michal Simek wrote: > Use live-tree functions. > > Reported-by: Simon Glass > Signed-off-by: Michal Simek > --- > > drivers/timer/cadence-ttc.c | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [U-Boot] [PATCH] ehci: msm: Replace board_prepare_usb with board_usb_init

2018-05-22 Thread Simon Glass
Hi Ramon, On 20 May 2018 at 13:04, Ramon Fried wrote: > Use standard board_usb_init() instead of the specific board_prepare_usb. You should mention why... For any patch: - what the problem is / motivation - what your patch does > > Signed-off-by: Ramon Fried

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

2018-05-22 Thread Tom Rini
On Wed, May 23, 2018 at 12:37:04AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull some more patches. Thanks. > > > The following changes since commit 624d2cae3401c2e4d43c571a9b81d1f650e7703d: > > SPDX: Fixup SPDX tags in a few new files (2018-05-20 09:47:45 -0400) > > are

[U-Boot] [BUG] Cannot build qemu-x86_64_defconfig

2018-05-22 Thread Heinrich Schuchardt
Hello Simon, when I compile qemu-x86_64_defconfig on Debian the spl is close to 4GB large. These files shed some light: spl/u-boot-spl.lds -- OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) ENTRY(_start) SECTIONS { . = 0xfffd; __text_start = .;

Re: [U-Boot] [PATCH] usb: xhci-rcar: deregister before deactivating clock

2018-05-22 Thread Marek Vasut
On 05/22/2018 04:12 PM, Matthias Blankertz wrote: > During the execution of xhci_deregister xHCI registers are accessed. If > the clock is already deactivated when xhci_deregister is called this can > lead to undefined behavior. Change the order to deregister the device > before deactivating the

Re: [U-Boot] [PATCH] sunxi: Enable fitImage support on OrangePi Zero

2018-05-22 Thread Marek Vasut
On 05/22/2018 04:22 PM, Maxime Ripard wrote: > On Fri, May 18, 2018 at 06:22:25PM +0200, Marek Vasut wrote: >> On 05/18/2018 05:29 PM, Maxime Ripard wrote: >>> On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote: On 05/18/2018 01:52 PM, Maxime Ripard wrote: > On Thu, May 17, 2018

Re: [U-Boot] [PATCH 1/4] ata: mvebu: move mvebu sata driver to drivers/ata directory

2018-05-22 Thread Simon Glass
Hi Ken, On 17 May 2018 at 19:27, wrote: > From: Ken Ma > > Currently mvebu sata driver is in arch/arm/mach_mvebu directory, this > patch moves it to drivers/ata directory with renaming "sata.c" to > "ahci_mvebu.c" which is aligned to Linux. > New ahci

Re: [U-Boot] [PATCH v2] add FIT data-position & data-offset property support

2018-05-22 Thread Simon Glass
Hi, On 18 May 2018 at 01:56, Kelvin Cheung wrote: > Add FIT data-position & data-offset property support for bootm, > which were already supported in SPL. > > Signed-off-by: Kelvin Cheung > --- > > Changes for v2: >create

Re: [U-Boot] [PATCH 2/2] efi_loader: build CRT0 and RELOC on x86_64

2018-05-22 Thread Simon Glass
On 18 May 2018 at 11:12, Heinrich Schuchardt wrote: > The efi selftest and the hello application require CRT0 and RELOC to be > built. > > Signed-off-by: Heinrich Schuchardt > --- > arch/x86/lib/Makefile | 12 +++- > 1 file changed, 11

Re: [U-Boot] [PATCH 4/4] arm64: mvebu: defconfig: enable CONFIG_AHCI_MVEBU

2018-05-22 Thread Simon Glass
On 17 May 2018 at 19:27, wrote: > From: Ken Ma > > This patch enables the new ahci mvebu driver for marvell arm64 platform > SOCs(A3k and A8k). > > Signed-off-by: Ken Ma > Cc: Simon Glass > Cc: Stefan Roese

Re: [U-Boot] [PATCH 1/4] serial: zynq: Use live-tree functions

2018-05-22 Thread Simon Glass
On 18 May 2018 at 02:46, Michal Simek wrote: > Use live-tree functions. > > Signed-off-by: Michal Simek > --- > > drivers/serial/serial_zynq.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v6 17/18] usb: fastboot: Convert USB f_fastboot to shared fastboot

2018-05-22 Thread Sam Protsenko
On 22 May 2018 at 18:53, Alex Kiernan wrote: > On Tue, May 22, 2018 at 4:29 PM Sam Protsenko > wrote: > >> On 22 May 2018 at 18:21, Sam Protsenko wrote: >> > On 22 May 2018 at 12:23, Alex Kiernan

Re: [U-Boot] [PATCH v6 17/18] usb: fastboot: Convert USB f_fastboot to shared fastboot

2018-05-22 Thread Alex Kiernan
On Tue, May 22, 2018 at 7:41 PM Sam Protsenko wrote: > On 22 May 2018 at 18:53, Alex Kiernan wrote: > > On Tue, May 22, 2018 at 4:29 PM Sam Protsenko < semen.protse...@linaro.org> > > wrote: > > > >> On 22 May 2018 at 18:21, Sam Protsenko

Re: [U-Boot] [PATCH v6 17/18] usb: fastboot: Convert USB f_fastboot to shared fastboot

2018-05-22 Thread Sam Protsenko
On 22 May 2018 at 12:23, Alex Kiernan wrote: > Convert USB fastboot code to use shared fastboot protocol. > > Signed-off-by: Alex Kiernan > --- > > Changes in v6: > - merged from RFC USB fastboot series > - when entering the DATA phase ensure we

Re: [U-Boot] [PATCH v6 16/18] fastboot: Add support for 'oem format' command

2018-05-22 Thread Simon Glass
On 22 May 2018 at 03:23, Alex Kiernan wrote: > Introduce 'oem format' which matches the USB implementation, guard this > with CONFIG_FASTBOOT_CMD_OEM_FORMAT so that you can configure it out. > > Signed-off-by: Alex Kiernan > --- > > Changes in v6:

Re: [U-Boot] UBIFS Problems with U-boot 2018.1 & 4.14 Linux

2018-05-22 Thread Otto Blom
Thanks a lot for your help Richard & Heiko ! I appreciate it I agree, this does not look u-boot or ubifs related anymore /Otto On Tue, May 22, 2018 at 2:31 AM, Heiko Schocher wrote: > Hello Otto, > > Am 22.05.2018 um 08:24 schrieb Richard Weinberger: >> >> Otto, >> >> Am

Re: [U-Boot] UBI: regression since "mtd: ubi: Fix worker handling"

2018-05-22 Thread Heiko Schocher
Hello Patrice, Am 22.05.2018 um 09:21 schrieb Patrice CHOTARD: Hi Richard, Heiko On 05/22/2018 08:51 AM, Patrice CHOTARD wrote: Hi On 05/22/2018 08:37 AM, Richard Weinberger wrote: Am Dienstag, 22. Mai 2018, 08:30:45 CEST schrieb Heiko Schocher: Hello Richard, Am 21.05.2018 um 21:31

Re: [U-Boot] UBI: regression since "mtd: ubi: Fix worker handling"

2018-05-22 Thread Patrice CHOTARD
On 05/22/2018 09:29 AM, Heiko Schocher wrote: > Hello Patrice, > > Am 22.05.2018 um 09:21 schrieb Patrice CHOTARD: >> Hi Richard, Heiko >> >> On 05/22/2018 08:51 AM, Patrice CHOTARD wrote: >>> Hi >>> >>> On 05/22/2018 08:37 AM, Richard Weinberger wrote: Am Dienstag, 22. Mai 2018, 08:30:45

Re: [U-Boot] [PATCH] disk: efi: Correct backing up the MBR boot code

2018-05-22 Thread Andy Shevchenko
+Cc: Ferry, he might be interested in testing this on Intel Edison. On Tue, May 22, 2018 at 2:04 AM, Sam Protsenko wrote: > In commit e163a931af34 ("cmd: gpt: backup boot code before writing MBR") > there was added the procedure for storing old boot code when doing

[U-Boot] [PATCH 1/4] riscv: cpu: nx25: Rename as ax25

2018-05-22 Thread Andes
From: Rick Chen Andes has rearranged the product combinations. nx25 and ax25 both are RISC-V architecture cpu core. But ax25 has MMU unit inside, and nx25 is not. Cpu nx25 and platform ae250 are arranged in pairs. Cpu ax25 and platform ae350 are arranged in pairs. This

Re: [U-Boot] [PATCH v3 2/6] board: eets: pdu001: Fix wrong default value in Kconfig

2018-05-22 Thread Felix Brack
Hi Eugeniu, On 19.05.2018 14:13, Eugeniu Rosca wrote: > After importing linux v4.16-rc1 commit 2c37e08464a8 ("kconfig: Warn if > choice default is not in choice"), Kconfig complains: > > scripts/kconfig/conf --syncconfig Kconfig > board/eets/pdu001/Kconfig:22:warning:\ > choice

[U-Boot] [PATCH 4/4] doc: ae250: Rename as ae350

2018-05-22 Thread Andes
From: Rick Chen Rename nx25 as ax25 ae250 as ae350 nx25-ae250 as ax25-ae350 including filename, variable, string and definition. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu ---

[U-Boot] [PATCH 3/4] configs: nx25-ae250:Rename as ax25-ae350

2018-05-22 Thread Andes
From: Rick Chen Rename nx25 as ax25 ae250 as ae350 nx25-ae250 as ax25-ae350 including filename, variable, string and definition. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu ---

[U-Boot] [PATCH 2/4] board: nx25-ae250: Rename as ax25-ae350

2018-05-22 Thread Andes
From: Rick Chen Rename nx25 as ax25 ae250 as ae350 nx25-ae250 as ax25-ae350 including filename, variable, string and definition. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu ---

[U-Boot] [PATCH] ubi: fastmap: Implement produce_free_peb()

2018-05-22 Thread Patrice Chotard
Since 'commit f82290afc847 ("mtd: ubi: Fix worker handling")', when booting from NAND, on a fresh NAND just after being flashed (and only in this case), we got the following log: ubi0: default fastmap pool size: 200 ubi0: default fastmap WL pool size: 100 ubi0: attaching mtd2 ubi0: scanning is

Re: [U-Boot] UBIFS Problems with U-boot 2018.1 & 4.14 Linux

2018-05-22 Thread Richard Weinberger
Otto, Am Dienstag, 22. Mai 2018, 03:30:04 CEST schrieb Otto Blom: > Hi Richard ! > > To summarize the observations from the last few days. > > * Linux 4.9 & U-boot 2018 behave the same when attempting to read from > a ubifs file system > * Whenever Linux 4.14 writes to a ubifs there is some

Re: [U-Boot] UBI: regression since "mtd: ubi: Fix worker handling"

2018-05-22 Thread Richard Weinberger
Am Dienstag, 22. Mai 2018, 08:30:45 CEST schrieb Heiko Schocher: > Hello Richard, > > Am 21.05.2018 um 21:31 schrieb Richard Weinberger: > > Patrice, > > > > Am Montag, 21. Mai 2018, 16:07:41 CEST schrieb Richard Weinberger: > >>> e->pnum = aeb->pnum; > >>>

Re: [U-Boot] UBI: regression since "mtd: ubi: Fix worker handling"

2018-05-22 Thread Patrice CHOTARD
Hi On 05/22/2018 08:37 AM, Richard Weinberger wrote: > Am Dienstag, 22. Mai 2018, 08:30:45 CEST schrieb Heiko Schocher: >> Hello Richard, >> >> Am 21.05.2018 um 21:31 schrieb Richard Weinberger: >>> Patrice, >>> >>> Am Montag, 21. Mai 2018, 16:07:41 CEST schrieb Richard Weinberger: >

Re: [U-Boot] [PATCH 0/5] Add KConfig option for cache maintenance availability

2018-05-22 Thread Faiz Abbas
Hi, On Monday 30 April 2018 02:03 PM, Emmanuel Vadot wrote: > Hi, > > In order to correctly exectute some binaries on some arch we need to flush > the data cache or instructions cache. Some arch offer helper functions for > this while others don't (or don't have the ability to do this in

Re: [U-Boot] UBI: regression since "mtd: ubi: Fix worker handling"

2018-05-22 Thread Heiko Schocher
Hello Richard, Am 21.05.2018 um 21:31 schrieb Richard Weinberger: Patrice, Am Montag, 21. Mai 2018, 16:07:41 CEST schrieb Richard Weinberger: e->pnum = aeb->pnum; e->ec = aeb->ec; ubi->lookuptbl[e->pnum] = e; + ubi->thread_enabled

Re: [U-Boot] UBI: regression since "mtd: ubi: Fix worker handling"

2018-05-22 Thread Patrice CHOTARD
Hi Richard, Heiko On 05/22/2018 08:51 AM, Patrice CHOTARD wrote: > Hi > > On 05/22/2018 08:37 AM, Richard Weinberger wrote: >> Am Dienstag, 22. Mai 2018, 08:30:45 CEST schrieb Heiko Schocher: >>> Hello Richard, >>> >>> Am 21.05.2018 um 21:31 schrieb Richard Weinberger: Patrice, Am

Re: [U-Boot] [xHCI] Controller failure with USB 3.0 hub

2018-05-22 Thread Bin Meng
Hi Marek, On Sat, May 19, 2018 at 7:54 PM, Bin Meng wrote: > Hi Marek, > > On Sat, May 19, 2018 at 7:30 PM, Marek Vasut wrote: >> On 05/19/2018 01:09 PM, Bin Meng wrote: >>> Hi Marek, >> >> Hi, >> >>> On Sat, May 19, 2018 at 9:03 AM, Marek Vasut

[U-Boot] iotrace examine buffer command

2018-05-22 Thread Ramon Fried
Hi Simon. I know that you've mentioned in the commit log that md is enough, but I find it hard to read and I can easily add a command for examining the buffer. Will you accept a patch like this ? Also, I think it will also be beneficial to add a timestamp to each entry. what do you think ?

Re: [U-Boot] [PATCH v3 2/6] board: eets: pdu001: Fix wrong default value in Kconfig

2018-05-22 Thread Eugeniu Rosca
Hi Felix, On Tue, May 22, 2018 at 10:07:58AM +0200, Felix Brack wrote: > Hi Eugeniu, > > On 19.05.2018 14:13, Eugeniu Rosca wrote: > > After importing linux v4.16-rc1 commit 2c37e08464a8 ("kconfig: Warn if > > choice default is not in choice"), Kconfig complains: > > > > scripts/kconfig/conf