Re: [U-Boot] [U-Boot-DM] Enable ENET clocks on IMX6ULL

2018-07-31 Thread Marek Vasut
On 07/31/2018 09:01 AM, Sven Schwermer wrote: > Hi, Hi, (fixing the ML address) > I’m creating a new board in u-boot and I want to use as much driver model / > device tree as possible. I noticed, that my clocks don’t seem to be set up > correctly: The Ethernet PLL is not active and the clock i

Re: [U-Boot] [U-Boot-DM] Enable ENET clocks on IMX6ULL

2018-07-31 Thread Jagan Teki
On Tue, Jul 31, 2018 at 12:31 PM, Sven Schwermer wrote: > Hi, > > I’m creating a new board in u-boot and I want to use as much driver model / > device tree as possible. I noticed, that my clocks don’t seem to be set up > correctly: The Ethernet PLL is not active and the clock is not muxed to the

[U-Boot] [PATCH 1/3] arm: exynos4: fix warning of dts

2018-07-31 Thread Minkyu Kang
remove this warning: avoid_unnecessary_addr_size Signed-off-by: Minkyu Kang --- arch/arm/dts/exynos4210-pinctrl-uboot.dtsi | 4 arch/arm/dts/exynos4210-universal_c210.dts | 2 -- arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi | 4 3 files changed, 10 deletions(-) diff --git a/arch/arm/dts

[U-Boot] [PATCH 2/3] arm: exynos5: fix warning of dts

2018-07-31 Thread Minkyu Kang
remove this warning: avoid_unnecessary_addr_size Signed-off-by: Minkyu Kang --- arch/arm/dts/exynos5.dtsi | 2 -- arch/arm/dts/exynos5250-pinctrl-uboot.dtsi | 4 arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi | 8 3 files changed, 14 deletions(-) diff --git a/arch/arm

[U-Boot] [PATCH 3/3] arm: spring: fix alias of mmc correctly

2018-07-31 Thread Minkyu Kang
Signed-off-by: Minkyu Kang --- arch/arm/dts/exynos5250-spring.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/exynos5250-spring.dts b/arch/arm/dts/exynos5250-spring.dts index b73b572..7633d36 100644 --- a/arch/arm/dts/exynos5250-spring.dts +++ b/arch/arm/dts/

Re: [U-Boot] [PATCH v5 20/27] mtd: declare MTD_PARTITIONS symbol in Kconfig

2018-07-31 Thread Jagan Teki
On Mon, Jul 30, 2018 at 9:16 PM, Miquel Raynal wrote: > UBI selects MTD_PARTITIONS which is the symbol to compile > drivers/mtd/mtdpart.c. Unfortunately, the symbol was not defined in > Kconfig and this worked only with board files defining it. Fix this by > adding a boolean in Kconfig so boards d

Re: [U-Boot] [PATCH v5 21/27] cmd: ubi: delete useless and misleading definitions

2018-07-31 Thread Jagan Teki
On Mon, Jul 30, 2018 at 9:16 PM, Miquel Raynal wrote: > These definitions are simply not used and are misleading because similar > definitions exist in jffs2/load_kernel.h and are used widely to define > MTD device types (which is, by the way, totally redundant with what the > MTD core does). Remo

Re: [U-Boot] [PATCH v5 00/27] SPI-NAND support

2018-07-31 Thread Jagan Teki
On Mon, Jul 30, 2018 at 9:16 PM, Miquel Raynal wrote: > During the last months, Boris Brezillon shared his work to support > serial flashes within Linux. First, he delivered (and merged) a new > layer called spi-mem. He also initiated in Linux MTD subsystem the move > of all 'raw' NAND related cod

Re: [U-Boot] [PATCH v3] mtd: add spi flash id s25fl128l

2018-07-31 Thread Jagan Teki
On Thu, Jul 26, 2018 at 1:01 PM, Clément Laigle wrote: > Add support for SPANSION s25fl128l > > Changes for v2: > - Fix EXT_ID > > Changes for v3: > - s25fl128l have only one version and no EXT_ID These changes log not in commit body, please take care next time. > > Signed-off-by: Clémen

Re: [U-Boot] [PATCH v4 00/27] SPI-NAND support

2018-07-31 Thread Miquel Raynal
Hi Jagan, Stefan Roese wrote on Tue, 31 Jul 2018 07:50:54 +0200: > Hi Jagan, > > On 31.07.2018 07:36, Jagan Teki wrote: > > > > Acked--by: Jagan Teki > > >>> > >>> Thanks! > >>> > Can you rebase on master and send the needed patches or whole? Look > like some changes

Re: [U-Boot] [PATCH 17/17] fs-test: fix false positive error at Test Case 12

2018-07-31 Thread AKASHI Takahiro
On Sun, Jul 29, 2018 at 09:02:00AM +0200, Heinrich Schuchardt wrote: > On 07/20/2018 04:57 AM, AKASHI Takahiro wrote: > > The error message to be matched is wrong. Fix it. > > > > Signed-off-by: AKASHI Takahiro > > --- > > test/fs/fs-test.sh | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-07-31 Thread Alexander Graf
On 07/31/2018 03:36 AM, Tom Rini wrote: On Sat, Jul 28, 2018 at 11:55:08AM -0400, Tom Rini wrote: On Wed, Jul 25, 2018 at 03:04:27PM +0200, Alexander Graf wrote: Hi Tom, This is my current patch queue for efi. Please pull. Alex The following changes since commit 323a73adc9a1bf2de43fe03bd

Re: [U-Boot] [PATCH v3 1/3] drivers: Add board uclass

2018-07-31 Thread Mario Six
Hi Simon, On Wed, Jun 27, 2018 at 11:03 PM, Simon Glass wrote: > Hi Mario, > > On 27 June 2018 at 00:03, Mario Six wrote: >> >> Since there is no canonical "board device" that can be used in board >> files, it is difficult to use DM function for board initialization in >> these cases. >> >> Henc

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

2018-07-31 Thread Bin Meng
There are VLAN related macros defined in include/linux/if_vlan.h in Linux kernel, as well as some kernel useful structures and inline functions. Instead of a complete import from kernel, let's add these VLAN macros to U-Boot's include/linux/if_ether.h. Signed-off-by: Bin Meng --- include/linux/

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

2018-07-31 Thread Bin Meng
There are plenty of existing drivers that have macros like ETH_ALEN defined in their own source files. Now that we imported the kernel's if_ether.h to U-Boot we can reduce some duplication. Signed-off-by: Bin Meng --- board/Synology/ds414/cmd_syno.c | 1 - drivers/net/dc2114x.c | 1

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

2018-07-31 Thread Bin Meng
This imports include/uapi/linux/if_ether.h from Linux kernel v4.17. It can be very helpful When porting Linux ethernet driver to U-Boot. Note it is not exactly the same as the kernel one, as checkpatch issues are fixed. Signed-off-by: Bin Meng --- include/linux/if_ether.h | 159 +++

[U-Boot] [PATCH v4 1/3] drivers: Add board uclass

2018-07-31 Thread Mario Six
Since there is no canonical "board device" that can be used in board files, it is difficult to use DM function for board initialization in these cases. Hence, add a uclass that implements a simple "board device", which can hold devices not suitable anywhere else in the device tree, and is also abl

[U-Boot] [PATCH v4 2/3] board: Add gazerbeam driver

2018-07-31 Thread Mario Six
Add a board driver for the upcoming gdsys Gazerbeam board. Signed-off-by: Mario Six --- v3 -> v4: * Fixed misplaced Kconfig lines v2 -> v3: * Set startup-finished GPIOs during probe * Added driver binding file for gazerbeam board * Improved error handling * Improved error/debug output * Improve

[U-Boot] [PATCH v4 3/3] test: Add tests for board uclass

2018-07-31 Thread Mario Six
Add tests for the new board uclass. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v3 -> v4: No changes v2 -> v3: * Accomodated get_board() rename * Fixed style violations v1 -> v2: New in v2 --- arch/sandbox/dts/test.dts | 4 ++ configs/sandbox64_defconfig| 2 +

[U-Boot] [PATCH v2 1/3] linux/if_ether.h: Initial import from Linux kernel v4.17

2018-07-31 Thread Bin Meng
This imports include/uapi/linux/if_ether.h from Linux kernel v4.17. It can be very helpful When porting Linux ethernet driver to U-Boot. Note it is not exactly the same as the kernel one, as checkpatch issues are fixed. Signed-off-by: Bin Meng --- Changes in v2: - correct one indention to use

[U-Boot] [PATCH v2 3/3] linux/if_ether.h: Add VLAN related macros

2018-07-31 Thread Bin Meng
There are VLAN related macros defined in include/linux/if_vlan.h in Linux kernel, as well as some kernel useful structures and inline functions. Instead of a complete import from kernel, let's add these VLAN macros to U-Boot's include/linux/if_ether.h. Signed-off-by: Bin Meng --- Changes in v2:

[U-Boot] [PATCH v2 2/3] net.h: Include linux/if_ether.h to avoid duplication

2018-07-31 Thread Bin Meng
There are plenty of existing drivers that have macros like ETH_ALEN defined in their own source files. Now that we imported the kernel's if_ether.h to U-Boot we can reduce some duplication. Signed-off-by: Bin Meng --- Changes in v2: None board/Synology/ds414/cmd_syno.c | 1 - drivers/net/dc21

Re: [U-Boot] [RFC] usb: musb-new: omap2430: Enable DM_USB and OF support

2018-07-31 Thread Adam Ford
On Sun, Jul 22, 2018 at 3:31 PM Lukasz Majewski wrote: > > Hi Adam, > > > On Sun, Jul 22, 2018 at 11:45 AM Adam Ford wrote: > > > > > > With upcoming changes that require CONFIG_BLK, this broke > > > USB Mass Storage on the OMAP3 boards because if CONFIG_BLK is > > > enabled, it assumes that DM_U

[U-Boot] [PATCH v3 02/13] regmap: Fix documentation

2018-07-31 Thread Mario Six
The documentation in regmap.h is not in kernel-doc format. Correct this. Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- include/regmap.h | 48 +++- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/include/regmap.h b/include/regmap

[U-Boot] [PATCH v3 05/13] regmap: Introduce init_range

2018-07-31 Thread Mario Six
Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with an error, which is not currently checked during regmap initialization. Since the indentation depth is already quite deep, extract a new 'init_range' method to do the initialization. Signed-off-by: Mario Six --- v2 -> v3: N

[U-Boot] [PATCH v3 03/13] regmap: Add documentation

2018-07-31 Thread Mario Six
Document the regmap_alloc() function. Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- drivers/core/regmap.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c index 8e5c3bcf61b..77f6f520a06 100644 --- a/drivers/core/regmap.c +++ b/drive

[U-Boot] [PATCH v3 01/13] test: regmap: Increase size of syscon0 memory

2018-07-31 Thread Mario Six
The upcoming changes to the regmap interface will contain a proper check for plausibility when reading/writing from/to a register map. To still have the current tests pass, increase the size of the memory region for the syscon0 device, since one of the tests reads and writes beyond this range. Sig

[U-Boot] [PATCH v3 10/13] test: regmap: Add test for regmap_{set, get}

2018-07-31 Thread Mario Six
Add test for regmap_{set,get} functions. Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- test/dm/regmap.c | 28 1 file changed, 28 insertions(+) diff --git a/test/dm/regmap.c b/test/dm/regmap.c index d4b86b3b03c..152b3a4b800 100644 --- a/test/dm/regmap.c +++

[U-Boot] [PATCH v3 11/13] misc: Sort Makefile entries

2018-07-31 Thread Mario Six
Makefile entries should be sorted. Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- drivers/misc/Makefile | 60 +++ 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index b0ef97b6b3

[U-Boot] [PATCH v3 08/13] regmap: Support reading from specific range

2018-07-31 Thread Mario Six
It is useful to be able to treat the different ranges of a regmap separately to be able to use distinct offset for them, but this is currently not implemented in the regmap API. To preserve backwards compatibility, add regmap_read_range and regmap_write_range functions that take an additional para

[U-Boot] [PATCH v3 04/13] regmap: Improve error handling

2018-07-31 Thread Mario Six
ofnode_read_simple_addr_cells may fail and return a negative error code. Check for this when initializing regmaps. Also check if both_len is zero, since this is perfectly possible, and would lead to a division-by-zero further down the line. Signed-off-by: Mario Six --- v2 -> v3: New in v3 ---

[U-Boot] [PATCH v3 12/13] misc: Add gdsys_soc driver

2018-07-31 Thread Mario Six
This patch adds a driver for the bus associated with a IHS FPGA. Signed-off-by: Mario Six --- v2 -> v3: * Fixed style violations * Added bindings file * Added more debug output in case of errors * Switched all printfs to debug * Documented the private data structure * Formatted documentation as

[U-Boot] [PATCH v3 07/13] regmap: Add raw read/write functions

2018-07-31 Thread Mario Six
The regmap functions currently assume that all register map accesses have a data width of 32 bits, but there are maps that have different widths. To rectify this, implement the regmap_raw_read and regmap_raw_write functions from the Linux kernel API that specify the width of a desired read or writ

[U-Boot] [PATCH v3 09/13] regmap: Define regmap_{get,set}

2018-07-31 Thread Mario Six
It would be convenient if one could use the regmap API in conjunction with register maps defined as structs (i.e. structs that directly mirror the memory layout of the registers in question). A similar approach was planned with the regmap_write32/regmap_read32 macros, but was never used. Hence, im

[U-Boot] [PATCH v3 13/13] misc: Add IHS FPGA driver

2018-07-31 Thread Mario Six
Add a driver for gdsys IHS (Integrated Hardware Systems) FPGAs, which supports initialization of the FPGA, as well as information gathering. Signed-off-by: Mario Six --- v2 -> v3: * Fixed style violations * Added full documentation * Extracted some magic numbers to constants * Removed unnecessar

[U-Boot] [PATCH v3 06/13] regmap: Add error output

2018-07-31 Thread Mario Six
Add some debug output in cases where the initialization of a regmap fails. Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- drivers/core/regmap.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c index 51d9cadc510..

Re: [U-Boot] [ANN] U-Boot v2018.09-rc1 released

2018-07-31 Thread Michal Simek
Hi Tom, On 31.7.2018 03:49, Tom Rini wrote: > Hey all, > > So it's release day and I've put up v2018.09-rc1. The merge window is > now closed and I've updated git and the tarballs are also up now. > > That said, there's a few things that I expect to come in and I hope > soon. There's the SPI-N

Re: [U-Boot] [RFC] usb: musb-new: omap2430: Enable DM_USB and OF support

2018-07-31 Thread Adam Ford
On Tue, Jul 31, 2018 at 4:57 AM Adam Ford wrote: > > On Sun, Jul 22, 2018 at 3:31 PM Lukasz Majewski wrote: > > > > Hi Adam, > > > > > On Sun, Jul 22, 2018 at 11:45 AM Adam Ford wrote: > > > > > > > > With upcoming changes that require CONFIG_BLK, this broke > > > > USB Mass Storage on the OMAP3

[U-Boot] Uboot for STM32F411xx

2018-07-31 Thread saurabh saxena
Hi kamil, I have spent the whole weekend to get the Uboot run on my STM32F4xC/E, I was able to derive changes for the board( dts and board file), basically my board doesn't require any DRAM initialization. Compiled successfully, but after flashing the system ends in Hard-fault, any help will be a

[U-Boot] U-Boot: Verified Boot: signed configuration and mix and match attack

2018-07-31 Thread Johann Neuhauser
Dear U-Boot devs, I've setup verified boot on a imx6 board and want to protect my device against the "mix and match" attacks mentioned in "doc/uImage.FIT/signature.txt". That's why I have only implemented signed configurations and no signed images as in doc/uImage.FIT/signed-configs.its. My publ

[U-Boot] Verified Boot: Mix and match attack

2018-07-31 Thread Johann Neuhauser
Hello developers, I've setup verified boot on a imx6 board and want to protect my device against the "mix and match" attacks mentioned in "doc/uImage.FIT/signature.txt". That's why, as in doc/uImage.FIT/signed-configs.its, I have only implemented signed configurations and no signed images. My pu

[U-Boot] boot a bios/uefi with x86_64, without grub

2018-07-31 Thread Thierry Gayet
Hi, I am working with a board called "up board" ( http://www.aaeon.com/en/p/up-board-computer-board-for-professional-makers) from aaeon. This card is as tiny as a credit card or a raspberry pi running with a x86_64 processor. It buildin an UEFI BIOS and a MMC memory (no sdcard, no ssd, no sata,

[U-Boot] [PATCH] usb: musb-new: omap2430: Enable DM_USB and OF support

2018-07-31 Thread Adam Ford
With upcoming changes that require CONFIG_BLK, this broke USB Mass Storage on the OMAP3 boards because if CONFIG_BLK is enabled, it assumes that DM_USB is enabled, but it wasn't yet available on omap3 and omap4 boards. This patch converts the OMAP2430 MUSB glue to support DM_USB and extracts the n

Re: [U-Boot] [PATCH 1/2] smbios: fix checkstyle error

2018-07-31 Thread Simon Glass
On 30 July 2018 at 05:22, Christian Gmeiner wrote: > Fixes the following chechpatch -f error: > > ERROR: "(foo*)" should be "(foo *)" > + strncpy((char*)t->uuid, serial_str, sizeof(t->uuid)); > > Signed-off-by: Christian Gmeiner > --- > lib/smbios.c | 2 +- > 1 file changed, 1 inse

Re: [U-Boot] [PATCH v1 1/2] dm: serial: Replace setparity by setconfig

2018-07-31 Thread Simon Glass
Hi Patrice, On 30 July 2018 at 09:23, Patrice Chotard wrote: > From: Patrick Delaunay > > Replace setparity by more generic setconfig ops > to allow uart parity, bits word length and stop bits > number change. > > Adds SERIAL_GET_PARITY/BITS/STOP macros. > > Signed-off-by: Patrick Delaunay > Si

Re: [U-Boot] [PATCH] sata: fix sata_Probe return value check

2018-07-31 Thread Simon Glass
On 27 July 2018 at 17:45, Troy Kisky wrote: > > sata_probe returns 1 for failure, so don't checkout for < 0 > > fixes: f19f1ecb6025 dm: sata: Support driver model with the 'sata' command > > Signed-off-by: Troy Kisky > Thanks! Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v1 2/2] serial: stm32: Replace setparity by setconfig

2018-07-31 Thread Simon Glass
Hi Patrice, On 30 July 2018 at 09:23, Patrice Chotard wrote: > Replace stm32_serial_setparity by stm32_serial_setconfig > which allows to set serial bits number, parity and stop > bits number. > Only parity setting is implemented. > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chot

Re: [U-Boot] [PATCH 2/2] smbios: fix checkstyle warning

2018-07-31 Thread Simon Glass
On 30 July 2018 at 05:22, Christian Gmeiner wrote: > Fixes the following checkstyle warning: > > WARNING: Missing a blank line after declarations > + int tmp = smbios_write_funcs[i]((ulong *)&addr, handle++); > + max_struct_size = max(max_struct_size, tmp); > > Signed-o

Re: [U-Boot] [ANN] U-Boot v2018.09-rc1 released

2018-07-31 Thread Tom Rini
On Tue, Jul 31, 2018 at 12:48:03PM +0200, Michal Simek wrote: > Hi Tom, > > On 31.7.2018 03:49, Tom Rini wrote: > > Hey all, > > > > So it's release day and I've put up v2018.09-rc1. The merge window is > > now closed and I've updated git and the tarballs are also up now. > > > > That said, the

[U-Boot] [PATCH v4 1/4] misc: docs: Fix comments in misc.h

2018-07-31 Thread Mario Six
The comments in misc.h are not in kernel-doc format. Correct the format. Signed-off-by: Mario Six --- v3 -> v4: No changes v2 -> v3: New in v3 --- include/misc.h | 84 ++ 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/in

[U-Boot] [PATCH v4 2/4] misc: uclass: Add enable/disable function

2018-07-31 Thread Mario Six
Add generic enable/disable function to the misc uclass. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v3 -> v4: No changes v2 -> v3: * Now return old state from misc_set_enabled v1 -> v2: * Merged the two functions into one function * Explained the semantics of enabling/disabling more

[U-Boot] [PATCH v4 3/4] test: Add tests for misc uclass

2018-07-31 Thread Mario Six
Add a set of tests for the misc uclass. Signed-off-by: Mario Six --- v3 -> v4: New in v4 --- arch/sandbox/dts/test.dts | 4 ++ drivers/misc/Makefile | 2 +- drivers/misc/misc_sandbox.c | 133 test/dm/Makefile| 1 + test/dm/

[U-Boot] [PATCH v4 4/4] misc: Add gdsys_ioep driver

2018-07-31 Thread Mario Six
Add driver for the IHS IO endpoint on IHS FPGAs. Signed-off-by: Mario Six --- v3 -> v4: * Fixed style violations * Added full documentation * Added binding file * Made res/ret variable names consistent * Improved error checking and error debug output v2 -> v3: No changes v1 -> v2: * Switched

[U-Boot] [PATCH] common: fdt: Make fdt_del_subnodes/fdt_del_partition static

2018-07-31 Thread Michal Simek
These functions are only called in this file that's why make them static to keep static analysers happy. Signed-off-by: Michal Simek --- common/fdt_support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index 1bdd03fddab1..3

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

2018-07-31 Thread Tom Rini
On Mon, Jul 30, 2018 at 02:10:44PM -0600, Simon Glass wrote: > Hi Tom, > > Here are the binman changes, with the rename of the 'pos' property to > 'offset'. > > > The following changes since commit 0e8a8a311020d317fcfcf594e8e3fb1598134593: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2018-

[U-Boot] [PATCH] pico-pi: Add Otavio as maintainer

2018-07-31 Thread Tom Rini
Update the MAINTAINERS file to list Otavio Salvador as the maintainer for this board. Cc: Otavio Salvador Signed-off-by: Tom Rini --- board/technexion/pico-imx7d/MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/board/technexion/pico-imx7d/MAINTAINERS b/board/technexion/pico

[U-Boot] [PATCH] ls1046ardb: Add qspi_spl variant to the MAINTAINERS file

2018-07-31 Thread Tom Rini
Signed-off-by: Tom Rini --- board/freescale/ls1046ardb/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/ls1046ardb/MAINTAINERS b/board/freescale/ls1046ardb/MAINTAINERS index 79a2290974f4..e4312c7cb2fd 100644 --- a/board/freescale/ls1046ardb/MAINTAINERS +++ b/board/

Re: [U-Boot] [PATCH 1/3] arm: exynos4: fix warning of dts

2018-07-31 Thread Tom Rini
On Tue, Jul 31, 2018 at 04:12:42PM +0900, Minkyu Kang wrote: > remove this warning: avoid_unnecessary_addr_size > > Signed-off-by: Minkyu Kang > --- > arch/arm/dts/exynos4210-pinctrl-uboot.dtsi | 4 > arch/arm/dts/exynos4210-universal_c210.dts | 2 -- > arch/arm/dts/exynos4x12-pinctrl-uboo

Re: [U-Boot] [PATCH v1 1/2] dm: serial: Replace setparity by setconfig

2018-07-31 Thread Patrice CHOTARD
Hi Simon On 07/31/2018 01:52 PM, Simon Glass wrote: > Hi Patrice, > > On 30 July 2018 at 09:23, Patrice Chotard wrote: >> From: Patrick Delaunay >> >> Replace setparity by more generic setconfig ops >> to allow uart parity, bits word length and stop bits >> number change. >> >> Adds SERIAL_GET_

Re: [U-Boot] [PATCH] dm: Fix CMD_DM enabling

2018-07-31 Thread Joe Hershberger
On Tue, Jul 31, 2018 at 1:11 AM, Michal Simek wrote: > The patch "dm: Change CMD_DM enabling" > (sha1: 08a00cba06a7e608ae65e3d7ea225cf8c639429d) was incorrectly updated > and PICO_IMX7D is missing imply CMD_DM and WARP7 has it twice. > This patch is fixing it. > > Signed-off-by: Michal Simek Rev

Re: [U-Boot] [PATCH v5 00/27] SPI-NAND support

2018-07-31 Thread Jagan Teki
On Tue, Jul 31, 2018 at 12:59 PM, Jagan Teki wrote: > On Mon, Jul 30, 2018 at 9:16 PM, Miquel Raynal > wrote: >> During the last months, Boris Brezillon shared his work to support >> serial flashes within Linux. First, he delivered (and merged) a new >> layer called spi-mem. He also initiated in

[U-Boot] [PATCH v6 0/8] NXP LS1046A SMMU enabling patches

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor This patch series adds the required devices setup and device tree fixups for SMMU enablement on NXP LS1046A chips. The approach taken tries to mimic the implementation of PAMU LIODN setup on booke powerpc. First 4 patches contain some fixes and add some missing bits & piece

[U-Boot] [PATCH v6 1/8] armv8: fsl-layerscape: add missing register blocks base address defines

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor Add defines for the edma and qdma register block base addresses. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h b/arc

[U-Boot] [PATCH v6 3/8] misc: fsl_portals: setup QMAN_BAR{E} also on ARM platforms

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor QMAN_BAR{E} register setup was disabled on ARM platforms, however the register does need to be set. Enable the code also on ARMs and fix the CONFIG_SYS_QMAN_MEM_PHYS define to the correct value so that the newly enabled code works. Signed-off-by: Laurentiu Tudor --- arch/

[U-Boot] [PATCH v6 2/8] armv8: ls1046a: advertise QMan v3 in configuration

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor The QMan IP block in this SoC is version 3.2 so advertise this in the SoC configuration header. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscap

[U-Boot] [PATCH v6 5/8] armv8: ls1046a: initial icid setup support

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor Add infrastructure for ICID setup and device tree fixup on ARM platforms. This include basic ICID setup for several devices. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/Makefile| 1 + arch/arm/cpu/armv8/fsl-layerscape/icid.c | 110 +

[U-Boot] [PATCH v6 4/8] armv8: fsl-layerscape: add missing debug stream ID

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor Add a define with a value for the missing debug stream ID. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/arch-fsl-layerscape/stream_id_lsch2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-fsl-layerscape/stream_id_lsch2.h b/arch/

[U-Boot] [PATCH v6 6/8] armv8: ls1046a: add icid setup for qman portals

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor Add support for ICID setting of qman portals and the required device tree fixups. Also fix an endiness issue in portal setup code. Signed-off-by: Laurentiu Tudor --- .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 16 +++ .../asm/arch-fsl-layerscape/fsl_portals.h

[U-Boot] [PATCH v6 7/8] armv8: ls1046a: setup fman ports ICIDs and device tree

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor Add support for ICID setting of fman ports and the required device tree fixups. Signed-off-by: Laurentiu Tudor --- arch/arm/cpu/armv8/fsl-layerscape/icid.c | 82 +++ .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 30 +++ .../asm/arch-fsl-layersca

[U-Boot] [PATCH v6 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-31 Thread laurentiu . tudor
From: Laurentiu Tudor Add support for SEC ICID configuration and apply it for ls1046a. Also add code to make the necessary device tree fixups. Signed-off-by: Laurentiu Tudor --- .../arm/cpu/armv8/fsl-layerscape/ls1046_ids.c | 14 +++ .../asm/arch-fsl-layerscape/fsl_icid.h| 25 +

Re: [U-Boot] boot a bios/uefi with x86_64, without grub

2018-07-31 Thread Bin Meng
Hi Thierry, On Tue, Jul 31, 2018 at 6:18 PM, Thierry Gayet wrote: > Hi, > > I am working with a board called "up board" ( > http://www.aaeon.com/en/p/up-board-computer-board-for-professional-makers) > from aaeon. > > This card is as tiny as a credit card or a raspberry pi running with a > x86_64

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-07-31 Thread York Sun
On 04/19/2018 06:53 PM, Calvin Johnson wrote: >> >>> would be better. What this patch currently does can be done with >>> simple env vars, like : >>> >>> setenv boot_bank_1 'i2c mw 0x24 0x7 0xfc; i2c mw 0x24 0x3 0xf5' >>> setenv boot_bank_2 'i2c mw 0x24 0x7 0xfc; i2c mw 0x24 0x3 0xf4' >> >> ...if t

Re: [U-Boot] [PATCH 1/2] mtd: nand: nand_base: Convert EINVAL into ENOTSUPP

2018-07-31 Thread Jagan Teki
On Fri, Jul 13, 2018 at 9:40 PM, Mylène Josserand wrote: > Convert the EINVAL error into ENOTSUPP when the GET/SET_FEATURES > is not supported. > > Signed-off-by: Mylène Josserand > --- Applied both. ___ U-Boot mailing list U-Boot@lists.denx.de https:/

Re: [U-Boot] [PATCH] board: sun50i: h6: Add OrangePi One Plus initial support

2018-07-31 Thread Jagan Teki
On Mon, Jul 30, 2018 at 2:31 PM, Maxime Ripard wrote: > On Sun, Jul 29, 2018 at 12:03:31AM +0530, Jagan Teki wrote: >> OrangePi One Plus is Allwinner H6 based open-source SBC, >> which support: >> - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 >> - GPU Mali-T720 >> - 1GB LPDDR3 RAM >> - AXP805 PMI

Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to switch QSPI bank

2018-07-31 Thread Calvin Johnson
Hi York, > -Original Message- > From: York Sun > Sent: Tuesday, July 31, 2018 8:37 PM > To: Calvin Johnson ; Scott Wood > ; Calvin Johnson > Cc: Jagdish Gediya ; U-Boot Mailing List b...@lists.denx.de> > Subject: Re: [U-Boot] [PATCH] board: freescale: ls1012ardb: Add command to > switch

Re: [U-Boot] [PATCH v6 8/8] armv8: ls1046a: setup SEC ICIDs and fix up device tree

2018-07-31 Thread Horia Geanta
On 7/31/2018 5:53 PM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > Add support for SEC ICID configuration and apply it for ls1046a. > Also add code to make the necessary device tree fixups. > > Signed-off-by: Laurentiu Tudor Reviewed-by: Horia Geantă [snip] > +#define SET_SEC_RT

[U-Boot] Latest u-boot-spi.git master branch build breaks

2018-07-31 Thread Stephen Warren
Jagan, The following Tegra/sandbox builds fail with the latest u-boot-spi.git master branch: sandbox: drivers/mtd/spi/spi_flash_ids.c:113:2: error: expected ‘}’ before ‘{’ token {"s25fl256s_256k", INFO(0x010219, 0x4d00, 256 * 1024, 128, RD_FULL | WR_QPP) }, ^ plutux: medcom-wide: har

Re: [U-Boot] Latest u-boot-spi.git master branch build breaks

2018-07-31 Thread Jagan Teki
On Tue, Jul 31, 2018 at 9:51 PM, Stephen Warren wrote: > Jagan, > > The following Tegra/sandbox builds fail with the latest u-boot-spi.git > master branch: > > sandbox: >> >> drivers/mtd/spi/spi_flash_ids.c:113:2: error: expected ‘}’ before ‘{’ >> token >> {"s25fl256s_256k", INFO(0x010219, 0x4d0

Re: [U-Boot] Latest u-boot-spi.git master branch build breaks

2018-07-31 Thread Stephen Warren
On 07/31/2018 10:34 AM, Jagan Teki wrote: On Tue, Jul 31, 2018 at 9:51 PM, Stephen Warren wrote: Jagan, The following Tegra/sandbox builds fail with the latest u-boot-spi.git master branch: sandbox: drivers/mtd/spi/spi_flash_ids.c:113:2: error: expected ‘}’ before ‘{’ token {"s25fl256s_2

Re: [U-Boot] Latest u-boot-spi.git master branch build breaks

2018-07-31 Thread Jagan Teki
On Tue, Jul 31, 2018 at 10:15 PM, Stephen Warren wrote: > On 07/31/2018 10:34 AM, Jagan Teki wrote: >> >> On Tue, Jul 31, 2018 at 9:51 PM, Stephen Warren >> wrote: >>> >>> Jagan, >>> >>> The following Tegra/sandbox builds fail with the latest u-boot-spi.git >>> master branch: >>> >>> sandbox: >>>

[U-Boot] Please pull u-boot-mpc85xx master

2018-07-31 Thread York Sun
Tom, The following changes since commit 2547e91dc15e5203e15d4ebde9172174743b14a7: tegra: Indicate that binman makes all three output files (2018-07-26 15:49:40 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git for you to fetch changes up to 7c176ce687bb35c

Re: [U-Boot] [PATCH 1/2] Revert "powerpc/p1_p2_rdb_pc: Fix endian access issue on EHCI intinalization"

2018-07-31 Thread York Sun
On 06/13/2018 07:46 PM, Ran Wang wrote: > There was an EHCI endian accessor issue. Now it's fixed by > commit 9829ce2ff25c ("usb: ehci: Fix accessors for big-endian platforms and > descriptors"). > Revert commit 0f2296bab141 ("powerpc/p1_p2_rdb_pc: Fix endian access issue on > EHCI intinalization

Re: [U-Boot] [PATCH 2/2] Revert "powerpc/T104xRDB: Fix endian access issue on EHCI intinalization"

2018-07-31 Thread York Sun
On 06/13/2018 07:46 PM, Ran Wang wrote: > There was an EHCI endian accessor issue. Now it's fixed by > commit 9829ce2ff25c ("usb: ehci: Fix accessors for big-endian platforms and > descriptors") > Revert commit e6a727fffec7b2002e ("powerpc/T104xRDB: Fix endian access issue > on EHCI intinalizatio

Re: [U-Boot] Please pull u-boot-mpc85xx master

2018-07-31 Thread York Sun
Scratch that. I realized I didn't fix the commit messages. Will push another one. York On 07/31/2018 10:12 AM, York Sun wrote: > Tom, > > The following changes since commit 2547e91dc15e5203e15d4ebde9172174743b14a7: > > tegra: Indicate that binman makes all three output files (2018-07-26 > 15:

[U-Boot] Please pull u-boot-mpc85xx master

2018-07-31 Thread York Sun
Tom, The following changes since commit 2547e91dc15e5203e15d4ebde9172174743b14a7: tegra: Indicate that binman makes all three output files (2018-07-26 15:49:40 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git for you to fetch changes up to 9dcb9d763d328da

Re: [U-Boot] [PATCH 4/6] mvebu: select boot device at SoC level

2018-07-31 Thread Dennis Gilmore
Hi Baruch, this patch needs to be rebased on git master as it does not apply. Thanks Dennis El lun, 18-06-2018 a las 21:56 +0300, Baruch Siach escribió: > Move the gdsys Controlcenter DC specific build time kwbimage.cfg > generation code into the mach-mvebu/ directory to be shared by all > 32bit

Re: [U-Boot] [PATCH v2 1/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig

2018-07-31 Thread York Sun
On 07/26/2018 12:09 AM, Yinbo Zhu wrote: >> >> Thanks your feedback! And the patch 1 is applied then that it reported some >> compiled error, so add patch > >> 2 to fix compile error, and I will only put the patch 3 in front of patch 1, >> Do you think that's okay? > >> Every single patch mus

Re: [U-Boot] [PATCH 2/3] scsi: ceva: add ls1043a soc support

2018-07-31 Thread York Sun
On 07/09/2018 03:42 AM, peng...@nxp.com wrote: > From: Peng Ma > > Add ahci compatible support for ls1043a soc. > > Signed-off-by: Peng Ma > --- > depend on: > patchwork.ozlabs.org/patch/924896/ > > drivers/ata/sata_ceva.c | 16 +--- > 1 files changed, 9 insertions(+), 7 d

Re: [U-Boot] [PATCH] pico-pi: Add Otavio as maintainer

2018-07-31 Thread Otavio Salvador
On Tue, Jul 31, 2018 at 9:49 AM, Tom Rini wrote: > Update the MAINTAINERS file to list Otavio Salvador as the maintainer > for this board. > > Cc: Otavio Salvador > Signed-off-by: Tom Rini Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems http://www.ossyst

Re: [U-Boot] [PATCH v1 9/9] ARM: Odroid XU3: Modify Odroid XU3 config to boot by default from SD card

2018-07-31 Thread Anand Moon
Hi Lukasz, On 27 July 2018 at 15:26, Lukasz Majewski wrote: > On Fri, 27 Jul 2018 14:42:32 +0530 > Anand Moon wrote: > >> Hi Lukasz, >> >> On 27 July 2018 at 13:54, Lukasz Majewski wrote: >> > On Fri, 27 Jul 2018 08:34:15 +0530 >> > Anand Moon wrote: >> > >> >> Hi Lukasz, >> >> >> >> On 26 Jul

[U-Boot] Pull request: u-boot-sunxi/master

2018-07-31 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks, Jagan. The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a: Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to 89a89

[U-Boot] [PATCH] ARM: tegra: align carveout size

2018-07-31 Thread Stephen Warren
From: Stephen Warren Align the size of the carveout region to 2M. This ensures that the size can be accurately represented by an LPAE page table that uses sections. This solves a bug (hang at boot time soon after printing the DRAM size) that only shows up when the following two commits are merge

[U-Boot] [PATCH] ARM: tegra: avoid more operations in non-secure world

2018-07-31 Thread Stephen Warren
From: Stephen Warren A secure monitor that runs before U-Boot, and hence causes U-Boot to run in non-secure world, must implement a few operations that U-Boot otherwise implements when running in secure world. Fix U-Boot to skip these operations when running in non-secure world. In particular: -

[U-Boot] [PATCH] openrd: Mark as Orphaned

2018-07-31 Thread Tom Rini
After talking with Albert, mark these boards as orphaned as he no longer has one. Cc: Albert ARIBAUD Cc: Vagrant Cascadian Cc: Chris Packham Signed-off-by: Tom Rini --- board/Marvell/openrd/MAINTAINERS | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/board/Marvel

[U-Boot] [PATCH] .travis.yml: Exclude kirkwood machines from the arm926ejs job

2018-07-31 Thread Tom Rini
We have a specific job for kirkwood platforms so exclude them from this job. Signed-off-by: Tom Rini --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7b0eb6e4f6b5..9c53c4fe219d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -153,7

[U-Boot] Regression due to "efi_loader: efi_allocate_pages is too restrictive"

2018-07-31 Thread Stephen Warren
Commit aa909462d018 "efi_loader: efi_allocate_pages is too restrictive" causes a failure (synchronous abort) in the command "dhcp zImage" on board p2371-2180 (Jetson TX1). Reverting this commit alone solves the problem. According to the exception dump, elr/pc is in efi_allocate_pages(), which m

Re: [U-Boot] [PATCH v5 00/27] SPI-NAND support

2018-07-31 Thread Boris Brezillon
Hi Jagan, On Tue, 31 Jul 2018 20:03:47 +0530 Jagan Teki wrote: > > Applied to u-boot-spi/master > > Look like we have some build issues [1]? Yep, I reproduced the issue. Looks like u-boot Makefile hierarchy is a bit different from Linux one, and patch is breaking raw/parallel NAND build. I f

[U-Boot] [PATCH] efi_loader: don't allocate unusable RAM

2018-07-31 Thread Stephen Warren
From: Stephen Warren Some boards define a maximum usable RAM top that's more restrictive than the ranges defined by U-Boot's memory bank definitions[1]. In this case, the unusable RAM isn't mapped in the page tables, and so the EFI code must not attempt to allocate RAM from outside the usable reg

Re: [U-Boot] [PATCH v5 00/27] SPI-NAND support

2018-07-31 Thread Boris Brezillon
On Tue, 31 Jul 2018 21:25:53 +0200 Boris Brezillon wrote: > Hi Jagan, > > On Tue, 31 Jul 2018 20:03:47 +0530 > Jagan Teki wrote: > > > > Applied to u-boot-spi/master > > > > Look like we have some build issues [1]? > > Yep, I reproduced the issue. Looks like u-boot Makefile hierarchy i

Re: [U-Boot] [PATCH] efi_loader: don't allocate unusable RAM

2018-07-31 Thread Alexander Graf
> Am 31.07.2018 um 21:44 schrieb Stephen Warren : > > From: Stephen Warren > > Some boards define a maximum usable RAM top that's more restrictive than > the ranges defined by U-Boot's memory bank definitions[1]. In this case, > the unusable RAM isn't mapped in the page tables, and so the EFI

  1   2   >