[U-Boot] [PATCH v5 02/20] dts: Add FPGA bitstream properties to Arria 10 DTS

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee These FPGA bitstream properties would help bootloader to understand how to configure FPGA and where to look the FPGA RBF files during booting. Signed-off-by: Tien Fong Chee --- arch/arm/dts/socfpga_arria10.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/

[U-Boot] [PATCH v5 01/20] ARM: socfpga: Description on FPGA RBF properties at Arria 10 FPGA manager

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee This patch adds description on properties about location of FPGA RBFs are stored, type and functionality of RBF used to configure FPGA. Signed-off-by: Tien Fong Chee --- doc/device-tree-bindings/fpga/altera-socfpga-a10-fpga-mgr.txt | 11 +++ 1 file changed, 11 inse

[U-Boot] [PATCH v5 04/20] dts: Enable fpga-mgr node build for Arria 10 SPL

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee fpga-mgr node is required in SPL, because SPL needs information from the node to configure FPGA in Arria 10. Signed-off-by: Tien Fong Chee --- arch/arm/dts/socfpga_arria10.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/socfpga_arria10.dtsi b/arch/ar

[U-Boot] [PATCH v5 06/20] arm: socfpga: Remove static declaration on spl_mmc_find_device function

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee This patch removes the static declation on spl_mmc_find_device_function so this function is accessible by the caller from other file. This patch is required for later patch. Signed-off-by: Tien Fong Chee --- common/spl/spl_mmc.c | 2 +- include/spl.h| 2 ++ 2 files

[U-Boot] [PATCH v5 03/20] arm: socfpga: Add Arria 10 SoCFPGA programming interface

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Add code necessary into the FPGA driver framework in U-Boot so it can be used via the 'fpga' command for programing Arria 10 SoCFPGA. Signed-off-by: Tien Fong Chee --- cmd/fpga.c| 2 +- drivers/fpga/altera.c | 40 drive

[U-Boot] [PATCH v5 09/20] arm: socfpga: Add FPGA drivers for Arria 10 FPGA loadfs

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA drivers to support FPGA loadfs to program FPGA. The drivers are designed based on generic firmware loader framework, specific firmware loader handling is defined in fpga_manager_arria10.c. These drivers can handle FPGA program operation from loading RBF image in flas

[U-Boot] [PATCH v5 07/20] common: Generic firmware loader for file system

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee This is file system generic loader which can be used to load the file image from the storage into target such as memory. The consumer driver would then use this loader to program whatever, ie. the FPGA device. Signed-off-by: Tien Fong Chee --- common/Makefile | 1 +

[U-Boot] [PATCH v5 16/20] arm: socfpga: Enhance Intel SoCFPGA program header to support Arria 10

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Enhance preloader header with both additional program length and program entry offset attributes, which offset is relative to the start of program header. Signed-off-by: Tien Fong Chee Reviewed-by: Dinh Nguyen --- arch/arm/mach-socfpga/include/mach/boot0.h | 7 +++ 1

[U-Boot] [PATCH v5 20/20] arm: socfpga: Enable SPL booting U-boot

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Enable SPL successfully boot to U-boot. Signed-off-by: Tien Fong Chee --- configs/socfpga_arria10_defconfig | 41 ++- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/configs/socfpga_arria10_defconfig b/configs/socfpga_arr

[U-Boot] [PATCH v5 05/20] fs: Enable generic filesystems interface support in SPL.

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Enable generic filesystem interface drivers(fs.c and fat/) build for SPL. This would allow generic filesystem being used in SPL. Signed-off-by: Tien Fong Chee Reviewed-by: Simon Glass --- common/spl/Kconfig | 8 doc/README.SPL | 1 + fs/Makefile| 1 +

[U-Boot] [PATCH v5 11/20] arm: socfpga: Add DRAM bank size initialization function

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Add function for both multiple DRAM bank and single DRAM bank size initialization. This common functionality could be used by every single SOCFPGA board. Signed-off-by: Tien Fong Chee Tested-by: Ley Foon Tan --- arch/arm/mach-socfpga/board.c| 7 +++ include/config

[U-Boot] [PATCH v5 14/20] arm: socfpga: Enable SPL memory allocation

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Enable memory allocation in SPL for preparation to enable FAT in SPL. Memory allocation is needed by FAT to work properly. Signed-off-by: Tien Fong Chee Reviewed-by: Dinh Nguyen --- include/configs/socfpga_common.h | 22 +- 1 file changed, 21 insertion

[U-Boot] [PATCH v5 18/20] arm: socfpga: Adding SoCFPGA info for both SPL and U-Boot

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee SoC FPGA info is required in both SPL and U-Boot. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/board.c| 4 arch/arm/mach-socfpga/misc_arria10.c | 5 - arch/arm/mach-socfpga/spl.c | 6 ++ 3 files changed, 10 insertions(+), 5 deletion

[U-Boot] [PATCH v5 13/20] configs: Add DDR Kconfig support for Arria 10

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee This patch enables DDR Kconfig support for Arria 10. Signed-off-by: Tien Fong Chee Reviewed-by: Dinh Nguyen --- arch/arm/mach-socfpga/Kconfig | 1 + drivers/ddr/altera/Kconfig| 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/K

[U-Boot] [PATCH v5 17/20] arm: socfpga: Adding clock frequency info for U-Boot

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Clock frequency info is required in U-Boot because info would be erased when transition from SPL to U-Boot. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/board.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/m

[U-Boot] [PATCH v5 08/20] arm: socfpga: Fix with the correct polling on bit is set

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Commit 2baa997240d ("arm: socfpga: Add FPGA driver support for Arria 10") Polling on wrong cleared bit. Fix with correct polling on bit is set. Fixes: 2baa997240d ("arm: socfpga: Add FPGA driver support for Arria 10") Signed-off-by: Tien Fong Chee --- drivers/fpga/socfpga

[U-Boot] [PATCH v5 12/20] arm: socfpga: Add DDR driver for Arria 10

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Add DDR driver support for Arria 10. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/sdram.h | 2 + arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 2 + drivers/ddr/altera/Makefile| 1 + drivers/ddr/altera/sdr

[U-Boot] [PATCH v5 15/20] arm: socfpga: Improve comments for Intel SoCFPGA program header

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Adding some details about size in bytes to each section. Signed-off-by: Tien Fong Chee Reviewed-by: Dinh Nguyen --- arch/arm/mach-socfpga/include/mach/boot0.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-socfpga/include/mach/boot0.

[U-Boot] [PATCH v5 19/20] arm: socfpga: Enable DDR working

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee SPL configures DDR by programming peripheral raw binary file and calibrating DDR. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/spl.c | 43 +++ configs/socfpga_arria10_defconfig | 17 +--- 2 files changed, 57

[U-Boot] [PATCH v5 10/20] arm: socfpga: Rename the gen5 sdram driver to more specific name

2017-12-05 Thread tien . fong . chee
From: Tien Fong Chee Current sdram driver is only applied to gen5 device, hence it is better to rename sdram driver to more specific name which is related to gen5 device. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/sdram.h | 432 + .../inclu

Re: [U-Boot] [PATCH v5 07/20] common: Generic firmware loader for file system

2017-12-05 Thread Lothar Waßmann
Hi, On Tue, 5 Dec 2017 15:57:57 +0800 tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is file system generic loader which can be used to load > the file image from the storage into target such as memory. > The consumer driver would then use this loader to program whatever, > ie.

Re: [U-Boot] [PATCH] sunxi: Fix UART console index for A33-OLinuXino

2017-12-05 Thread Maxime Ripard
On Tue, Dec 05, 2017 at 02:00:07PM +0800, Chen-Yu Tsai wrote: > The A33-OLinuXino defconfig was using the default CONS_INDEX value for > A33, which actually points to the R_UART, which is routed to the GPIO > header without proper pull-ups or diodes. The board has a separate > header for UART0, whi

Re: [U-Boot] [PATCH 01/14] cmd: nvedit: Get rid of the env lookup

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > The nvedit command is the only user of env_driver_lookup_default outside of > the environment code itself, and it uses it only to print the environment > it's about to save to during env save. > > As we're about to rework the environment to be able to hand

Re: [U-Boot] [PATCH 02/14] env: Rename env_driver_lookup_default and env_get_default_location

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > The env_driver_lookup_default and env_get_default_location functions are > about to get refactored to support loading from multiple environment. > > The name is therefore not really well suited anymore. Drop the default > part to be a bit more relevant. >

Re: [U-Boot] [PATCH 03/14] env: Pass additional parameters to the env lookup function

2017-12-05 Thread Andre Przywara
Hi Maxime, On 28/11/17 10:24, Maxime Ripard wrote: > In preparation for the multiple environment support, let's introduce two > new parameters to the environment driver lookup function: the priority and > operation. > > The operation parameter is meant to identify, obviously, the operation you >

Re: [U-Boot] [PATCH 04/14] env: Make the env save message a bit more explicit

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > Since we'll soon have support for multiple environments, the environment > saving message might end up being printed multiple times if the higher > priority environment cannot be used. > > That might confuse the user, so let's make it explicit if the opera

Re: [U-Boot] [PATCH 05/14] env: Make it explicit where we're loading our environment from

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > Since we can have multiple environments now, it's better to provide a > decent indication on what environments were tried and which were the one to > fail and succeed. > > Signed-off-by: Maxime Ripard > --- > env/env.c | 5 ++--- > 1 file changed, 2 inse

Re: [U-Boot] [PATCH 08/14] env: common: Make the debug messages play a little nicer

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > Since we have global messages to indicate what's going on, the custom > messages in the environment drivers only make the output less readable. > > Make the common code play a little nicer by removing all the extra output > in the standard case. > > Signe

Re: [U-Boot] [PATCH 07/14] env: mmc: Make the debug messages play a little nicer

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > Since we have global messages to indicate what's going on, the custom > messages in the environment drivers only make the output less readable. > > Make MMC play a little nicer by removing all the extra \n and formatting > that is redundant with the global

Re: [U-Boot] [PATCH 09/14] env: Support multiple environments

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > Now that we have everything in place to support multiple environment, let's > make sure the current code can use it. > > The priority used between the various environment is the same one that was > used in the code previously. > > At read / init times, th

Re: [U-Boot] [PATCH 06/14] env: fat: Make the debug messages play a little nicer

2017-12-05 Thread Andre Przywara
On 28/11/17 10:24, Maxime Ripard wrote: > Since we have global messages to indicate what's going on, the custom > messages in the environment drivers only make the output less readable. > > Make FAT play a little nicer by removing all the extra \n and formatting > that is redundant with the global

Re: [U-Boot] [PATCH] fpga: allow programming fpga from FIT image for all FPGA drivers

2017-12-05 Thread Michal Simek
On 5.12.2017 08:37, Goldschmidt Simon wrote: > On 5.12.2017 08:22, Michal Simek wrote: >>> Which release will this be in? Does it fit into 2018.01 or has that >>> window already closed? >> >> I believe so. > > Sorry to bother you again, I'm just not sure I understood your answer. > > Was that "I

Re: [U-Boot] [PATCH 11/14] env: Allow to build multiple environments in Kconfig

2017-12-05 Thread Andre Przywara
Hi, On 28/11/17 10:24, Maxime Ripard wrote: > Now that we have everything in place in the code, let's allow to build > multiple environments backend through Kconfig. > > Reviewed-by: Lukasz Majewski > Signed-off-by: Maxime Ripard Looks good, but doesn't apply cleanly to mainline anymore, becau

Re: [U-Boot] [PATCH 10/14] env: Initialise all the environments

2017-12-05 Thread Andre Przywara
Hi, On 28/11/17 10:24, Maxime Ripard wrote: > Since we want to have multiple environments, we will need to initialise > all the environments since we don't know at init time what drivers might > fail when calling load. > > Let's init all of them, and only consider for further operations the ones

Re: [U-Boot] [PATCH 12/14] env: Mark env_get_location as weak

2017-12-05 Thread Andre Przywara
Hi, On 28/11/17 10:24, Maxime Ripard wrote: > Allow boards and architectures to override the default environment lookup > code by overriding env_get_location. > > Reviewed-by: Lukasz Majewski > Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara Cheers, Andre. > --- > env/env.c | 2 +-

Re: [U-Boot] [PATCH 13/14] sunxi: Transition from the MMC to a FAT-based environment

2017-12-05 Thread Andre Przywara
Hi, On 28/11/17 10:24, Maxime Ripard wrote: > The current environment has been hardcoded to an offset that starts to be > an issue given the current size of our main U-Boot binary. > > By implementing a custom environment location routine, we can always favor > the FAT-based environment, and fall

Re: [U-Boot] [PATCH 14/14] env: sunxi: Enable FAT-based environment support by default

2017-12-05 Thread Andre Przywara
Hi, On 28/11/17 10:24, Maxime Ripard wrote: > Now that we have everything in place to implement the transition scheme, > let's enable it by default. > > Reviewed-by: Lukasz Majewski > Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara Cheers, Andre. > --- > env/Kconfig | 4 > 1

Re: [U-Boot] [PATCH] arm: Make gcc 6.0 or later a hard requirement now.

2017-12-05 Thread Dr. Philipp Tomsich
> On 4 Dec 2017, at 20:02, Stephen Warren wrote: > > On 12/02/2017 06:12 PM, Tom Rini wrote: >> Move the warning to an error as we have been promising would happen in >> this release. > > Oh. This has broken my U-Boot build/test system. I guess it's entirely my > fault for interpreting the "20

Re: [U-Boot] [U-Boot,v3,1/1] add support for Raspberry Pi Zero W

2017-12-05 Thread Dmitry Korunov
Great, thanks! On Dec 4, 2017 10:36 PM, "Tom Rini" wrote: On Sun, Nov 26, 2017 at 01:38:53PM +0400, Dmitry Korunov wrote: > Signed-off-by: Dmitry Korunov Applied to u-boot/master, thanks! -- Tom ___ U-Boot mailing list U-Boot@lists.denx.de https://

Re: [U-Boot] [PATCH] arm: Make gcc 6.0 or later a hard requirement now.

2017-12-05 Thread Peter Robinson
On Tue, Dec 5, 2017 at 6:53 AM, Heiko Schocher wrote: > Hello Tom, > > Am 04.12.2017 um 20:09 schrieb Tom Rini: >> >> On Mon, Dec 04, 2017 at 12:02:20PM -0700, Stephen Warren wrote: >>> >>> On 12/02/2017 06:12 PM, Tom Rini wrote: Move the warning to an error as we have been promising wou

[U-Boot] U-Boot for Firetux PNX8181 board

2017-12-05 Thread A.W.C.
Where to download U-boot source customized for Firetux PNX8181 board? (ARM926EJS) mentioned in https://lists.denx.de/pipermail/u-boot/2009-January/045332.html Regards, ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boo

Re: [U-Boot] [RFC PATCH] test: py: Disable sleep test for qemu targets

2017-12-05 Thread Michal Simek
On 4.12.2017 18:14, Stephen Warren wrote: > On 12/04/2017 08:30 AM, Tom Rini wrote: >> On Mon, Dec 04, 2017 at 03:21:04PM +0100, Michal Simek wrote: >>> On 4.12.2017 15:03, Tom Rini wrote: On Mon, Dec 04, 2017 at 02:55:45PM +0100, Michal Simek wrote: > On 1.12.2017 23:44, Tom Rini wrote: >

Re: [U-Boot] [PATCH] arm: Make gcc 6.0 or later a hard requirement now.

2017-12-05 Thread Tom Rini
On Tue, Dec 05, 2017 at 06:02:16AM +0100, Heiko Schocher wrote: > Hello Tom, Stephen, > > Am 04.12.2017 um 20:02 schrieb Stephen Warren: > >On 12/02/2017 06:12 PM, Tom Rini wrote: > >>Move the warning to an error as we have been promising would happen in > >>this release. > > > >Oh. This has broke

Re: [U-Boot] [PATCH v2 0/5] sunxi: Enable EMAC on various boards

2017-12-05 Thread Chen-Yu Tsai
Hi, On Sat, Nov 25, 2017 at 1:08 PM, Chen-Yu Tsai wrote: > Hi, > > This series enables the EMAC for some A83T and A64 boards. > > Changes since v1: > > - Added "bitfield: Include linux/bitops.h for ffs()" to fix build > errors > - Use bitfield_replace_by_mask() instead of open coding bitf

Re: [U-Boot] U-Boot for Firetux PNX8181 board

2017-12-05 Thread Lukasz Majewski
On Tue, 5 Dec 2017 11:50:19 + (UTC) "A.W.C." wrote: > Where to download U-boot source customized for Firetux PNX8181 board? > (ARM926EJS) > > mentioned in > > https://lists.denx.de/pipermail/u-boot/2009-January/045332.html It is _old_ stuff... Please find following link: http://ftp.denx.

Re: [U-Boot] [PATCH] gpt: add part-uuid and part-num subcommands

2017-12-05 Thread Lukasz Majewski
Hi Andrey, > On Mon, Dec 4, 2017 at 1:12 PM, Lukasz Majewski > wrote: > > Hi Andrey, > > > >> Hi Lukasz, > >> > >> On Tue, Nov 14, 2017 at 1:45 AM, Lukasz Majewski > >> wrote: > >> > Hi Andrey, > >> > > >> >> Hi Lukasz, > >> >> > >> >> On Thu, Nov 9, 2017 at 2:28 PM, Lukasz Majewski > >> >

Re: [U-Boot] [RFC PATCH] test: py: Disable sleep test for qemu targets

2017-12-05 Thread Tom Rini
On Tue, Dec 05, 2017 at 01:10:47PM +0100, Michal Simek wrote: > On 4.12.2017 18:14, Stephen Warren wrote: > > On 12/04/2017 08:30 AM, Tom Rini wrote: > >> On Mon, Dec 04, 2017 at 03:21:04PM +0100, Michal Simek wrote: > >>> On 4.12.2017 15:03, Tom Rini wrote: > On Mon, Dec 04, 2017 at 02:55:45P

Re: [U-Boot] u-boot Licensing exception with OpenSSL

2017-12-05 Thread Vagrant Cascadian
On 2017-12-04, Tom Rini wrote: > On Sat, Nov 25, 2017 at 12:50:47PM -0800, Vagrant Cascadian wrote: > >> There are a few targets (clearfog, turris_omnia) and features (signing >> in mkimage) in the Debian build of u-boot that have been avoided due to >> lack of clarity on Licensing issues regarding

[U-Boot] [PATCH v2 0/4] sunxi: Ease eMMC usage and flashing

2017-12-05 Thread Maxime Ripard
Hi, Here is a set of patches that have been sitting in some variations for quite some time now. This is mostly to ease the eMMC (and MMC, to some extent) flashing using fastboot that in turn rely on GPT. The Allwinner SoCs need to have the SPL located right in the middle of a traditional GPT, at

[U-Boot] [PATCH v2 1/4] part: efi: Add a Kconfig option for the number of partition entries

2017-12-05 Thread Maxime Ripard
On some SoCs, the SPL needs to be located right in the middle of the GPT partition entries. One way to work around that is to create partition entries for a smaller number of partitions to accomodate with where the SPL will be. Create a Kconfig option to allow to do that. Reviewed-by: Andre Przyw

[U-Boot] [PATCH v2 3/4] sunxi: Add default partition scheme

2017-12-05 Thread Maxime Ripard
The partitions variable is especially useful to create a partition table from U-Boot, either directly from the U-Boot shell, or through flashing tools like fastboot and its oem format command. This is especially useful on devices with an eMMC you can't take out to flash from another system, and bo

[U-Boot] [PATCH v2 2/4] part: efi: Add default number of partition entries for sunxi

2017-12-05 Thread Maxime Ripard
The SPL must be located at 8kB (16 sectors) offset. That's right in the middle of the GPT, so we need to define a smaller amount of partitions to accomodate for that location. Reviewed-by: Andre Przywara Signed-off-by: Maxime Ripard --- disk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -

[U-Boot] [PATCH v2 4/4] fastboot: Enable flashing by default on sunxi

2017-12-05 Thread Maxime Ripard
Now that more and more devices are built using eMMC, providing a way to easily flash the system without too much hassle seems like a right thing to do. Since fastboot is the most deployed tool to do that these days, we can just rely on it to provide a way to flash the various components in the sys

Re: [U-Boot] [PATCH V2] SPL: Add FIT data-position property support

2017-12-05 Thread York Sun
On 12/04/2017 09:21 PM, Peng Fan wrote: > For external data, FIT has a optional property "data-position" which > can set the external data to a fixed offset to FIT beginning. > Add the support for this property in SPL FIT. > > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > Reviewed-by: Simon G

Re: [U-Boot] [PATCH 09/22] mtd: nand: automate NAND timings selection

2017-12-05 Thread York Sun
On 12/04/2017 04:31 PM, Masahiro Yamada wrote: >> Err: serial >> Net: >> MMC read: dev # 0, block # 2080, count 128 ... >> Fman1: Data at 7faf67d0 is not a firmware >> e1000#0: Out of Memory! > > > Looks like malloc() failed. > > >> No ethernet found. >> Hit any key to stop autoboot: 0 >> (Y

Re: [U-Boot] [PATCH] arm: Make gcc 6.0 or later a hard requirement now.

2017-12-05 Thread Stephen Warren
On 12/05/2017 03:32 AM, Dr. Philipp Tomsich wrote: On 4 Dec 2017, at 20:02, Stephen Warren wrote: On 12/02/2017 06:12 PM, Tom Rini wrote: Move the warning to an error as we have been promising would happen in this release. Oh. This has broken my U-Boot build/test system. I guess it's entir

Re: [U-Boot] [RFC PATCH] test: py: Disable sleep test for qemu targets

2017-12-05 Thread Stephen Warren
On 12/04/2017 04:21 PM, Tom Rini wrote: On Mon, Dec 04, 2017 at 10:14:06AM -0700, Stephen Warren wrote: On 12/04/2017 08:30 AM, Tom Rini wrote: On Mon, Dec 04, 2017 at 03:21:04PM +0100, Michal Simek wrote: On 4.12.2017 15:03, Tom Rini wrote: On Mon, Dec 04, 2017 at 02:55:45PM +0100, Michal Si

Re: [U-Boot] [RFC PATCH] test: py: Disable sleep test for qemu targets

2017-12-05 Thread Tom Rini
On Tue, Dec 05, 2017 at 11:20:57AM -0700, Stephen Warren wrote: > On 12/04/2017 04:21 PM, Tom Rini wrote: > >On Mon, Dec 04, 2017 at 10:14:06AM -0700, Stephen Warren wrote: > >>On 12/04/2017 08:30 AM, Tom Rini wrote: > >>>On Mon, Dec 04, 2017 at 03:21:04PM +0100, Michal Simek wrote: > On 4.12.2

Re: [U-Boot] [PATCH] gpt: add part-uuid and part-num subcommands

2017-12-05 Thread Andrey Yurovsky
On Tue, Dec 5, 2017 at 7:10 AM, Lukasz Majewski wrote: > Hi Andrey, > >> On Mon, Dec 4, 2017 at 1:12 PM, Lukasz Majewski >> wrote: >> > Hi Andrey, >> > >> >> Hi Lukasz, >> >> >> >> On Tue, Nov 14, 2017 at 1:45 AM, Lukasz Majewski >> >> wrote: >> >> > Hi Andrey, >> >> > >> >> >> Hi Lukasz, >> >>

[U-Boot] tiny printf limits

2017-12-05 Thread Frank Mori Hess
Shouldn't tiny printf abort or something when it encounters a printf format string it doesn't support? Right now, it just silently skips it while leaving the associated argument in place, resulting in the arguments getting shifted onto the wrong format strings. -- Frank _

Re: [U-Boot] [PATCH 09/22] mtd: nand: automate NAND timings selection

2017-12-05 Thread York Sun
On 12/05/2017 08:38 AM, York Sun wrote: > On 12/04/2017 04:31 PM, Masahiro Yamada wrote: >>> Err: serial >>> Net: >>> MMC read: dev # 0, block # 2080, count 128 ... >>> Fman1: Data at 7faf67d0 is not a firmware >>> e1000#0: Out of Memory! >> >> >> Looks like malloc() failed. >> >> >>> No ethernet

Re: [U-Boot] [PATCH v1] net: mvneta - Fixed recv() when multiple packets have arrived.

2017-12-05 Thread Joe Hershberger
On Tue, Nov 28, 2017 at 1:12 PM, Jason Brown wrote: > This patch fixes a problem in the mvneta driver where if more than > one packet arrives between calls to mvneta_recv(), the additional > descriptors will be marked as free even though only one descriptor > has been read and processed from the r

Re: [U-Boot] [PATCH 1/2] dm: core: add missing dev_count_phandle_with_args()

2017-12-05 Thread Joe Hershberger
On Tue, Nov 28, 2017 at 10:41 AM, wrote: > From: Patrice Chotard > > Add missing dev_count_phandle_with_args() to avoid > compilation issue. > > Signed-off-by: Patrice Chotard Reviewed-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 2/2] net: designware: add clock support

2017-12-05 Thread Joe Hershberger
On Tue, Nov 28, 2017 at 10:41 AM, wrote: > From: Patrice Chotard > > This implementation manages several clocks, disable and > free all of them in case of error during probe and in remove > callback. > > Signed-off-by: Patrice Chotard Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 1/9] drivers: net: pfe_eth: LS1012A PFE driver introduction

2017-12-05 Thread Joe Hershberger
On Mon, Oct 9, 2017 at 4:11 AM, Calvin Johnson wrote: > This patch adds PFE driver into U-Boot. > > Following are the main driver files:- > pfe.c: provides low level helper functions to initialize PFE internal > processor engines and other hardware blocks. > pfe_driver.c: provides probe functions,

Re: [U-Boot] [PATCH 076/080] phy: Fix style violations

2017-12-05 Thread Joe Hershberger
On Fri, Sep 29, 2017 at 7:52 AM, Mario Six wrote: > Fix some style violations in the generic PHY management code. > > Signed-off-by: Mario Six > --- > drivers/net/phy/phy.c | 82 > ++- > 1 file changed, 49 insertions(+), 33 deletions(-) > > diff -

Re: [U-Boot] [PATCH v3] net: phy: marvell: Add functions to read PHY's extended registers

2017-12-05 Thread Joe Hershberger
On Mon, Oct 30, 2017 at 4:57 PM, Lukasz Majewski wrote: > This commit allows extended Marvell registers to be read with: > > foo > mdio rx FEC 3.10 > Reading from bus FEC > PHY at address 0: > 3.16 - 0x1063 > foo > mdio wx FEC 3.10 0x1011 > > The above code changes the way ETH connector LEDs blink

Re: [U-Boot] [PATCH 1/4] net: phy: Add Broadcom BCM53xx switch driver

2017-12-05 Thread Joe Hershberger
Hi Florian, On Sat, Oct 14, 2017 at 8:00 PM, Florian Fainelli wrote: > Add a minimalistic Broadcom BCM53xx (roboswitch) switch driver similar > to the Marvell MV88E617x. This takes care of configuring the minimum > amount out of the switch hardware such that each user visible port > (configurable

Re: [U-Boot] [PATCH 2/4] net: designware: Pad small packets

2017-12-05 Thread Joe Hershberger
On Sat, Oct 14, 2017 at 8:00 PM, Florian Fainelli wrote: > Make sure that we pad small packets to a minimum length of 60 bytes > (without FCS). This is necessary to interface with Ethernet switches > that will reject RUNT frames unless padded correctly. > > Signed-off-by: Florian Fainelli > --- >

Re: [U-Boot] [PATCH 3/4] net: phy: b53: Add b53_reg read/write commands

2017-12-05 Thread Joe Hershberger
On Sat, Oct 14, 2017 at 3:20 PM, Florian Fainelli wrote: > Add a b53_reg read/write command which allows inspecting the switch > registers. Because the Broadcom BCM53xx registers have different sizes, > we need to split the accesses in 8, 16, 32, 48 or 64 bits to obtain > expected results. > > Sig

Re: [U-Boot] [PATCH 4/4] configs: Update Lamobo_R1 with B53 switch options

2017-12-05 Thread Joe Hershberger
On Sat, Oct 14, 2017 at 8:00 PM, Florian Fainelli wrote: > Enable CONFIG_B53_SWITCH, define the CPU/management port number (8) and > enable all 5 ports of the switch to be usable. > > Signed-off-by: Florian Fainelli Acked-by: Joe Hershberger ___ U-Boo

Re: [U-Boot] [PATCH 2/9] drivers: net: pfe_eth: provide pfe commands

2017-12-05 Thread Joe Hershberger
On Mon, Oct 9, 2017 at 4:11 AM, Calvin Johnson wrote: > pfe_command provides command line support for several features that > support pfe like starting or stopping the pfe, checking the health > of the processor engines and checking status of different unit inside > pfe. > > Signed-off-by: Calvin

Re: [U-Boot] [PATCH] arm: zynq: Use unsigned type with comparison with ARRAY_SIZE

2017-12-05 Thread Joe Hershberger
On Fri, Nov 10, 2017 at 7:07 AM, Michal Simek wrote: > Sparse is return warning about this: > arch/arm/mach-zynq/slcr.c: In function 'zynq_slcr_get_mio_pin_status': > arch/arm/mach-zynq/slcr.c:185:16: warning: comparison between signed and > unsigned integer expressions [-Wsign-compare] > for (i

Re: [U-Boot] [Patch v2 1/2] driver: net: ldpaa_eth: Add PHY-less SGMII support

2017-12-05 Thread Joe Hershberger
On Mon, Nov 13, 2017 at 3:37 AM, Ashish Kumar wrote: > In case of PHY-less mode, there is no interaction with PHY > so auto-neg etc is not required and link will have fixed > attributes It appears that the commit message does not match the code. It appears you are adding SGMII support. I don't se

Re: [U-Boot] [PATCH] TCP and wget implementation.

2017-12-05 Thread Joe Hershberger
Hi Duncan, The subject should not end with a '.' character. Also, this should have been marked as v2. Please mark the next as v3. On Wed, Nov 8, 2017 at 6:34 PM, Duncan Hare wrote: > his is the interface and Kconfig files for introducing TCP and wget > into u-boot. Missing 'T' at the beginning

Re: [U-Boot] [PATCH V2 18/23] net: fec: do not access reserved register for i.MX8M

2017-12-05 Thread Joe Hershberger
On Sun, Dec 3, 2017 at 10:31 PM, Peng Fan wrote: > The MIB RAM and FIFO receive start register does not exist on > i.MX8M. Accessing these register will cause system hang. > > Signed-off-by: Peng Fan > Cc: Joe Hershberger Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH V2 19/23] net: fec: fix build warnings for 64bits support

2017-12-05 Thread Joe Hershberger
On Sun, Dec 3, 2017 at 10:31 PM, Peng Fan wrote: > When building for 64bits system, we get some warnings about type > cast between pointer and integer. This patch eliminates the warnings > by using ulong/long type which is 32bits on 32bits system or 64bits on > 64bits system. > > Signed-off-by: Ye

Re: [U-Boot] [PATCH] net: sh-eth: Fix coding style checked by checkpatch.pl

2017-12-05 Thread Joe Hershberger
On Thu, Nov 30, 2017 at 5:08 PM, Nobuhiro Iwamatsu wrote: > This fixes the chord style checked by checkpatch.pl. > Details of change details are as follows: > > - Fix typo > Change from alligned to aligned. > - Remove whitespace before ',' > - Add spaces preferred around that '|' > - Fix m

Re: [U-Boot] [RESEND PATCH 2/2] net: designware: add clock support

2017-12-05 Thread Joe Hershberger
On Wed, Nov 29, 2017 at 2:06 AM, wrote: > From: Patrice Chotard > > This implementation manages several clocks, disable and > free all of them in case of error during probe and in remove > callback. > > Signed-off-by: Patrice Chotard Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH] net: sh-eth: Remove bd_t from sh_eth_config()

2017-12-05 Thread Joe Hershberger
On Thu, Nov 30, 2017 at 5:08 PM, Nobuhiro Iwamatsu wrote: > bd_t is not used in sh_eth_config(). This deletes bd_t from sh_eth_config(). > > Signed-off-by: Nobuhiro Iwamatsu Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https:

Re: [U-Boot] [PATCH] net: sh-eth: Change structure used in read/write function to struct sh_eth_info

2017-12-05 Thread Joe Hershberger
On Thu, Nov 30, 2017 at 5:10 PM, Nobuhiro Iwamatsu wrote: > This changes Change structure used in sh_eth_read and sh_eth_write function > from struct sh_eth_dev to struct sh_eth_info. > This is necessary to convert to Drivers model. > > Signed-off-by: Nobuhiro Iwamatsu Acked-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH] test: py: Disable sleep test for qemu targets

2017-12-05 Thread Daniel Schwierzeck
On 05.12.2017 19:38, Tom Rini wrote: > On Tue, Dec 05, 2017 at 11:20:57AM -0700, Stephen Warren wrote: >> On 12/04/2017 04:21 PM, Tom Rini wrote: >>> On Mon, Dec 04, 2017 at 10:14:06AM -0700, Stephen Warren wrote: On 12/04/2017 08:30 AM, Tom Rini wrote: > On Mon, Dec 04, 2017 at 03:21:04

Re: [U-Boot] [PATCH] net: sh-eth: Fix misaligned cache operation warning

2017-12-05 Thread Joe Hershberger
On Thu, Nov 30, 2017 at 10:56 PM, Nobuhiro Iwamatsu wrote: > When we using network on board using sh-eth, it prints a lot of > "CACHE: Misaligned operation at range" messages. > This commit fixes this problem. > > Signed-off-by: Nobuhiro Iwamatsu Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH 1/3] drivers: net: pfe_eth: add pfe_rx_done to clear bd after packet processing

2017-12-05 Thread Joe Hershberger
On Wed, Nov 22, 2017 at 12:31 AM, Calvin Johnson wrote: > Create pfe_rx_done function to clear buffer descriptor > after the packet is processed by the network stack. > > Signed-off-by: Calvin Johnson > Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] net: sh-eth: Add to Kconfig and convert

2017-12-05 Thread Joe Hershberger
Please fix the title of this patch. It appears to be incomplete. On Fri, Dec 1, 2017 at 1:08 AM, Nobuhiro Iwamatsu wrote: > This adds SH_ETHER to drivers/net/Kconfig and convert to Kconfig. > > Signed-off-by: Nobuhiro Iwamatsu Otherwise... Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH 3/3] drivers: net: pfe_eth: cleanup typos and indent

2017-12-05 Thread Joe Hershberger
On Wed, Nov 22, 2017 at 12:31 AM, Calvin Johnson wrote: > Typos are corrected. > Some sentences are rephrased. > Proper indentation added. > > Signed-off-by: Calvin Johnson Typically clean-up patches should be at the beginning of the series. Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH 1/2] drivers: net: pfe_eth: remove unused code under CONFIG_UTIL_PE_DISABLED

2017-12-05 Thread Joe Hershberger
On Wed, Nov 22, 2017 at 12:45 AM, Calvin Johnson wrote: > remove unused code under CONFIG_UTIL_PE_DISABLED > > Signed-off-by: Calvin Johnson Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] drivers: net: pfe_eth: use writel/readl to access hw bds

2017-12-05 Thread Joe Hershberger
On Wed, Nov 22, 2017 at 12:31 AM, Calvin Johnson wrote: > writel/readl accessors should be used to access hardware > buffer descriptors. > > Signed-off-by: Calvin Johnson > Signed-off-by: Anjaneyulu Jagarlmudi Acked-by: Joe Hershberger ___ U-Boot mai

Re: [U-Boot] [PATCH 2/2] drivers: net: pfe_eth: remove unused code under CONFIG_PFE_WARN_WA

2017-12-05 Thread Joe Hershberger
On Wed, Nov 22, 2017 at 12:45 AM, Calvin Johnson wrote: > remove unused code under CONFIG_PFE_WARN_WA > > Signed-off-by: Calvin Johnson Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 7/8] net: pch_gbe: Use wait_for_bit() helper

2017-12-05 Thread Joe Hershberger
On Tue, Nov 21, 2017 at 2:33 PM, Paul Burton wrote: > The pch_gbe driver has 4 paths which open-code the equivalent of > wait_for_bit(). Replace these with use of wait_for_bit() in order to > shorten the code & avoid duplication. > > Signed-off-by: Paul Burton > Cc: Daniel Schwierzeck > Cc: Joe

Re: [U-Boot] [PATCH 6/8] net: pch_gbe: Support PHY reset GPIOs

2017-12-05 Thread Joe Hershberger
On Tue, Nov 21, 2017 at 2:33 PM, Paul Burton wrote: > Add support to the pch_gbe driver for resetting the PHY using a GPIO > specified in the device tree. This matches the support already in Linux. > > Signed-off-by: Paul Burton > Cc: Daniel Schwierzeck > Cc: Joe Hershberger > Cc: Simon Glass

Re: [U-Boot] [PATCH 0/3] ls1012a: fix tftp failure

2017-12-05 Thread Joe Hershberger
On Wed, Nov 22, 2017 at 7:17 PM, Calvin Johnson wrote: > Hi York, > >> -Original Message- >> From: York Sun >> Sent: Thursday, November 23, 2017 12:00 AM >> To: Calvin Johnson ; u-boot@lists.denx.de >> Cc: Anji Jagarlmudi ; Joe Hershberger >> ; Prabhakar Kushwaha >> >> Subject: Re: [PATCH

Re: [U-Boot] [PATCH v2 2/5] net: sun8i_emac: Support RX/TX delay chains

2017-12-05 Thread Joe Hershberger
On Fri, Nov 24, 2017 at 11:08 PM, Chen-Yu Tsai wrote: > The EMAC syscon has configurable RX/TX delay chains for use with RGMII > PHYs. > > This adds support for configuring them via device tree properties. The > property names and format were defined in Linux's dwmac-sun8i binding > that was merge

Re: [U-Boot] [PATCH v2 0/5] sunxi: Enable EMAC on various boards

2017-12-05 Thread Joe Hershberger
On Tue, Dec 5, 2017 at 7:07 AM, Chen-Yu Tsai wrote: > Hi, > > On Sat, Nov 25, 2017 at 1:08 PM, Chen-Yu Tsai wrote: >> Hi, >> >> This series enables the EMAC for some A83T and A64 boards. >> >> Changes since v1: >> >> - Added "bitfield: Include linux/bitops.h for ffs()" to fix build >> error

Re: [U-Boot] [PATCH 02/16] net: e1000: add support for writing to EEPROM

2017-12-05 Thread Joe Hershberger
On Wed, Nov 8, 2017 at 9:59 AM, Martyn Welch wrote: > From: Hannu Lounento > > Port functions for writing to EEPROM, updating the checksum and > committing data to flash from the Linux kernel igb driver. > > Functions were ported from Linux 4.8-rc2 (694d0d0bb20). > > Signed-off-by: Hannu Lounento

Re: [U-Boot] [PATCH v2 1/3] net: sh-eth: fix inl and outl definitions

2017-12-05 Thread Joe Hershberger
On Fri, Nov 3, 2017 at 8:30 AM, Chris Brandt wrote: > The macros inl and outl maybe already be defined from file > arch/arm/include/asm/io.h so there may be no reason to define them. > And if you do try defined them here, you get a redefined complier warning. > > Signed-off-by: Chris Brandt Acke

Re: [U-Boot] [PATCH v2 2/3] net: sh-eth: remove sh_eth_offset_rz table

2017-12-05 Thread Joe Hershberger
On Fri, Nov 3, 2017 at 8:30 AM, Chris Brandt wrote: > First, this table could never be included in the build anyway because > SH_ETH_TYPE_RZ is not defined until later in the file. > Second, the register PIR was missing, so PHY MDIO never worked. > Third, after adding the PIR register, the table i

Re: [U-Boot] [PATCH v2 1/5] bitfield: Include linux/bitops.h for ffs()

2017-12-05 Thread Joe Hershberger
On Fri, Nov 24, 2017 at 11:08 PM, Chen-Yu Tsai wrote: > bitfield_shift() uses the ffs() function, which is provided by bitops.h. > > Explicitly include this header. > > Signed-off-by: Chen-Yu Tsai Reviewed-by: Joe Hershberger ___ U-Boot mailing list U

Re: [U-Boot] [PATCH] net: ravb: Fix reset GPIO handling

2017-12-05 Thread Joe Hershberger
On Tue, Nov 28, 2017 at 8:49 PM, Marek Vasut wrote: > Fix handling of the reset GPIO. Drop the _nodev() suffix from the > gpio_request_by_name() call as there is now a proper DM capable > GPIO driver. Also check if the GPIO is valid before freeing it in > remove path, otherwise U-Boot will crash.

Re: [U-Boot] [PATCH v2 3/3] net: miiphybb: fix casting error

2017-12-05 Thread Joe Hershberger
On Fri, Nov 3, 2017 at 8:30 AM, Chris Brandt wrote: > Since the return value is a signed int, if the leading MSB of rdreg is a 1, > it will get signed extended and will return a negative value which is an > error even though we read the correct value. > > Fixes: dfcc496ed7e2 ("net: mii: Changes no

  1   2   >