Re: [U-Boot] [PATCH v2] efi_loader: fix off-by-one bug in efi_get_variable

2018-05-09 Thread Heinrich Schuchardt
On 05/10/2018 04:25 AM, Ivan Gorinov wrote: > efi_get_variable() always stores an extra zero byte after the output data. > When the returned data size matches the output buffer size, the extra zero > byte is stored past the end of the output buffer. > > Signed-off-by: Ivan Gorinov > --- > lib/ef

Re: [U-Boot] [PATCH v3 0/8] riscv: Enable efi_loader support

2018-05-09 Thread Alexander Graf
Am 10.05.2018 um 05:27 schrieb Rick Chen : >>> >>> Then I think if I don't want enter this auto flow, what can I do ? >>> >>> 1 Remove CONFIG_DISTRO_DEFAULTS=y from nx25-ae250_defconfig But it >>> still enter auto flow. >>> >>> 2 Add #ifdef CONFIG_DISTRO_DEFAULTS to encapsulate the >>> CONFI

Re: [U-Boot] [PATCH] driver/mtd/spi: Default page size Spansion flash "S25FS512S" is 256b

2018-05-09 Thread Ashish Kumar
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, May 9, 2018 4:44 PM > To: Ashish Kumar > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH] driver/mtd/spi: Default page size Spansion flash > "S25FS512S" is 256b > > On Mon, May 7, 2018 a

Re: [U-Boot] [PATCH v3 0/8] riscv: Enable efi_loader support

2018-05-09 Thread Rick Chen
> > > > Then I think if I don't want enter this auto flow, what can I do ? > > > > 1 Remove CONFIG_DISTRO_DEFAULTS=y from nx25-ae250_defconfig But it > > still enter auto flow. > > > > 2 Add #ifdef CONFIG_DISTRO_DEFAULTS to encapsulate the > > CONFIG_EXTRA_ENV_SETTINGS in nx25-ae250.h And Remove

[U-Boot] [PATCH v2] efi_loader: fix off-by-one bug in efi_get_variable

2018-05-09 Thread Ivan Gorinov
efi_get_variable() always stores an extra zero byte after the output data. When the returned data size matches the output buffer size, the extra zero byte is stored past the end of the output buffer. Signed-off-by: Ivan Gorinov --- lib/efi_loader/efi_variable.c | 64 +

Re: [U-Boot] [U-Boot,V2] imx: mx7: psci: add system reset support

2018-05-09 Thread Peng Fan
> -Original Message- > From: Trent Piepho [mailto:tpie...@impinj.com] > Sent: 2018年5月10日 3:22 > To: Peng Fan ; christian.gmei...@gmail.com; Anson > Huang ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; sba...@denx.de > Cc: Fabio Estevam > Subject: Re: [U-Boot,V2] imx: mx7: psci: add

[U-Boot] [PATCH 2/2] gadget: f_thor: update to support more than 4GB file as thor 5.0

2018-05-09 Thread Seung-Woo Kim
During file download, it only uses 32bit variable for file size and it limits maximum file size less than 4GB. Update to support more than 4GB file with using two 32bit variables for file size as thor protocol 5.0. Signed-off-by: Seung-Woo Kim --- drivers/usb/gadget/f_thor.c | 10 +++--- d

[U-Boot] [PATCH 1/2] gadget: f_thor: fix filename overflow

2018-05-09 Thread Seung-Woo Kim
The thor sender can send filename without null character and it is used without consideration of overflow. Actually, character array for filename is assigned with DEFINE_CACHE_ALIGN_BUFFER() and it is bigger than size of memcpy, so there was no real overflow. Fix filename overflow for code level in

[U-Boot] [PATCH v3 5/6] ARM: mvebu: a38x: restore support for setting timing

2018-05-09 Thread Chris Packham
This restores support for configuring the timing mode based on the ddr_topology. This was originally implemented in commit 90bcc3d38d2b ("driver/ddr: Add support for setting timing in hws_topology_map") but was removed as part of the upstream sync. Signed-off-by: Chris Packham --- Changes in v3:

[U-Boot] [PATCH v3 2/6] ARM: mvebu: a38x: move sys_env_device_rev_get

2018-05-09 Thread Chris Packham
Move sys_env_device_rev_get() from the ddr training code to sys_env_lib.c (which currently resides with the serdes code). This brings sys_env_device_rev_get() into line with sys_env_device_id_get() and sys_env_model_get(). Signed-off-by: Chris Packham --- Changes in v3: None Changes in v2: - rem

[U-Boot] [PATCH v3 6/6] ARM: mvebu: a38x: use non-zero size for ddr scrubbing

2018-05-09 Thread Chris Packham
From: Chris Packham Make ddr3_calc_mem_cs_size() global scope and use it in ddr3_new_tip_ecc_scrub to correctly initialize all of DDR memory. Signed-off-by: Chris Packham --- Changes in v3: None Changes in v2: None drivers/ddr/marvell/a38x/mv_ddr_plat.c | 2 +- drivers/ddr/marvell/a38x/mv_dd

[U-Boot] [PATCH v3 3/6] ARM: mvebu: a38x: remove some unused code

2018-05-09 Thread Chris Packham
No in-tree code defines SUPPORT_STATIC_DUNIT_CONFIG or STATIC_ALGO_SUPPORT. Remove ddr3_a38x_mc_static.h and use unifdef to remove unused sections in the rest of the ddr/marvell/a38x code. Signed-off-by: Chris Packham --- Much of this code is moved/removed in the updated DDR code so this commit h

[U-Boot] [PATCH v3 1/6] ARM: mvebu: a38x: move definition of PEX_CFG_DIRECT_ACCESS

2018-05-09 Thread Chris Packham
PEX_CFG_DIRECT_ACCESS was defined in ddr3_hws_hw_training_def.h despite only being used in the serdes code. Move this definition to ctrl_pex.h where all the other PEX defines are. Also remove the duplicate definition of PEX_DEVICE_AND_VENDOR_ID which is already defined in ctrl_pex.h. Signed-off-by

[U-Boot] [PATCH v3 0/6] ARM: mvebu: a38x: updates to ddr training code

2018-05-09 Thread Chris Packham
This series updates the ddr training code in u-boot with the latest publicly available version from Marvell which can be found at https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git (mv_ddr-armada-17.10 branch). I've tried to make the delta as small as possible without breaking bisect-

Re: [U-Boot] [PATCH 09/12] ARM: kirkwood: Add device-tree for nsa310s

2018-05-09 Thread Chris Packham
On Thu, May 10, 2018 at 6:27 AM bodhi bodhi wrote: > Hi Chris, > What we have in Linux mainline is Zyxel NSA310 (Marvell 88f6281). The Zyxel NSA310S (Marvell 88f6702) is actually a different box, which has not been mainlined yet. > By the way, there are 3 variations of the Zyxel NSA310 box. Thi

Re: [U-Boot] [U-Boot,V2] imx: mx7: psci: add system reset support

2018-05-09 Thread Trent Piepho
On Wed, 2018-05-09 at 01:13 +, Peng Fan wrote: > > +0800, Anson Huang wrote: > > > > > Add i.MX7 PSCI system reset support, linux kernel now can use "reboot" > > > > > command to reset system. > > > > > > > > > > > > > +__secure void imx_system_reset(void) { > > > > > + writew(1 << 2, WDO

Re: [U-Boot] [PATCHv2 2/3] buildman: support newer gcc versions from kernel.org

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 07:16:34AM -0400, Tom Rini wrote: > On Wed, May 09, 2018 at 12:27:38PM +0200, Daniel Schwierzeck wrote: > > > > > > On 08.05.2018 02:50, Tom Rini wrote: > > > From: Daniel Schwierzeck > > > > > > Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. > > > > > > Also use

Re: [U-Boot] [PATCH 1/1] arm: print instructions pointed to by pc

2018-05-09 Thread Alexander Graf
> Am 09.05.2018 um 22:16 schrieb Heinrich Schuchardt : > > If an exception occurs in a loaded image and the relocation offset is > unknown, it is helful to know the instructions pointed to by the > program counter. This patch adds the missing output. > > A possible output is: > *pc: defe e7ff 8

Re: [U-Boot] [PATCH 1/1] efi_loader: always check parameters in efi_cout_query_mode()

2018-05-09 Thread Heinrich Schuchardt
On 05/09/2018 11:18 PM, Tom Rini wrote: > On Wed, May 09, 2018 at 11:13:37PM +0200, Heinrich Schuchardt wrote: >> On 05/09/2018 10:00 PM, Tom Rini wrote: >>> On Sun, Apr 29, 2018 at 08:02:46PM +0200, Heinrich Schuchardt wrote: >>> If we cannot determine the size of the serial terminal we still

Re: [U-Boot] [PATCH 1/1] efi_loader: always check parameters in efi_cout_query_mode()

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 11:13:37PM +0200, Heinrich Schuchardt wrote: > On 05/09/2018 10:00 PM, Tom Rini wrote: > > On Sun, Apr 29, 2018 at 08:02:46PM +0200, Heinrich Schuchardt wrote: > > > >> If we cannot determine the size of the serial terminal we still have > >> to check the parameters of efi_

Re: [U-Boot] [PATCH 1/1] efi_loader: always check parameters in efi_cout_query_mode()

2018-05-09 Thread Heinrich Schuchardt
On 05/09/2018 10:00 PM, Tom Rini wrote: > On Sun, Apr 29, 2018 at 08:02:46PM +0200, Heinrich Schuchardt wrote: > >> If we cannot determine the size of the serial terminal we still have >> to check the parameters of efi_cout_query_mode(). >> >> Querying the size of the serial terminal drains the ke

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Wolfgang Denk
Dear Tom, In message <20180509161456.gm12...@bill-the-cat.ec.rr.com> you wrote: > > I don't want to have it buried here but maybe it's time to talk about > fully adopting C99 (or, GNU C99). Did you happen to read > https://lkml.org/lkml/2017/11/25/133 that Yamada-san passed along? > Having read

[U-Boot] [PATCH 1/1] arm: print instructions pointed to by pc

2018-05-09 Thread Heinrich Schuchardt
If an exception occurs in a loaded image and the relocation offset is unknown, it is helful to know the instructions pointed to by the program counter. This patch adds the missing output. A possible output is: *pc: defe e7ff 8010 e8bd abb9 9ffc f7d5 9ffc Signed-off-by: Heinrich Schuchardt --- a

Re: [U-Boot] [PATCH 1/1] efi_loader: always check parameters in efi_cout_query_mode()

2018-05-09 Thread Tom Rini
On Sun, Apr 29, 2018 at 08:02:46PM +0200, Heinrich Schuchardt wrote: > If we cannot determine the size of the serial terminal we still have > to check the parameters of efi_cout_query_mode(). > > Querying the size of the serial terminal drains the keyboard buffer. > So make sure we do this during

Re: [U-Boot] [PATCH 09/12] ARM: kirkwood: Add device-tree for nsa310s

2018-05-09 Thread bodhi bodhi
Hi Chris, What we have in Linux mainline is Zyxel NSA310 (Marvell 88f6281). The Zyxel NSA310S (Marvell 88f6702) is actually a different box, which has not been mainlined yet. By the way, there are 3 variations of the Zyxel NSA310 box. This box has some combination of: red USB Led, lm85 sensor, ad

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

2018-05-09 Thread Ibai Erkiaga
Initial support for Avnet MiniZed board. Tested UART1 (serial console), QSPI(Flash), SDHCI1 (eMMC), USB. Signed-off-by: Ibai Erkiaga --- Changes for v2: -board model changed to use Avent prefix -usb phy driver changed usb-no-xceiv -removed gpio and intc binding -fi

Re: [U-Boot] Bug#897671: u-boot does not work on sheevaplug

2018-05-09 Thread Markus Krebs
Am 09.05.2018 um 14:33 schrieb klaus.go...@theobroma-systems.com: On 09.05.2018, at 10:19, Markus Krebs wrote: Am 08.05.2018 um 22:54 schrieb Vagrant Cascadian: On 2018-05-08, Vagrant Cascadian wrote: On 2018-05-05, Tom Rini wrote: On Sat, May 05, 2018 at 04:04:08PM -0700, Vagrant Cascadi

Re: [U-Boot] rockchip: set SYS_NS16550_MEM32 for all SoCs

2018-05-09 Thread Philipp Tomsich
> Add back part of patch send out as > 'rockchip: enable SYS_NS16550 for all SoCs by default' that seems to have > gotten lost when it got merged to set SYS_NS16550_MEM32. > > Allows serial output to work on tinker-rk3288 again after > c3c0331db1fb7b1f4ff41e144fc04353b37c785c. > > Signed-off-by:

Re: [U-Boot] [PATCH v2] driver: net: fsl-mc: updated copyright info

2018-05-09 Thread York Sun
On 05/09/2018 12:26 AM, Yogesh Narayan Gaur wrote: > Updated copyright info for the issues reported after running > check-legal test. > > Signed-off-by: Yogesh Gaur > Reviewed-by: York Sun > --- > Legally NXP and Freescale Semiconductor are same entity. > Changes for v2: > - Rebase to top as per

Re: [U-Boot] [PATCH][v3] mtd: nand: fsl_ifc: Fix nand waitfunc return value

2018-05-09 Thread York Sun
On 05/01/2018 03:52 AM, Jagdish Gediya wrote: > As per the IFC hardware manual, Most significant byte in > nand_fsr register is the outcome of NAND READ STATUS command. > > So status value need to be shifted as per the nand > framework requirement. > > Signed-off-by: Jagdish Gediya > Reviewed-by

Re: [U-Boot] [PATCH] armv8/fsl-lsch2: make the workaround for PIN MUX erratum A010539 robust

2018-05-09 Thread York Sun
On 04/25/2018 01:26 AM, Z.q. Hou wrote: > From: Hou Zhiqiang > > Mask HRESET_B after cleared the the RCW_SRC, because in the workaround > we override the RCW_SRC and if HRESET_B is issued after the override > then SoC cannot find valid RCW as the RCW_SRC was overwritten and result > in hang. So w

Re: [U-Boot] [PATCH] armv8/fsl-lsch2: correct QMAN clock

2018-05-09 Thread York Sun
On 04/25/2018 03:29 AM, Z.q. Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2] armv8: sec_firmware: Add support for multiple loadables

2018-05-09 Thread York Sun
On 04/23/2018 05:20 AM, Sumit Garg wrote: > Enable support for multiple loadable images in SEC firmware FIT image. > Also add example "sec_firmware_ppa.its" file. > > Signed-off-by: Sumit Garg > --- > > Changes in v2: > Added example "sec_firmware_ppa.its" file. Also added printf instead of > de

Re: [U-Boot] powerpc: mpc85xx: Improve Work-around for Erratum A005125

2018-05-09 Thread York Sun
On 04/22/2018 11:27 PM, Takuma Ueba wrote: > powerpc/mpc85xx: Work-around for Erratum A005125 must be applied to all cores. > > Signed-off-by: Yoshihisa Morizumi > Signed-off-by: Takuma Ueba > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___

Re: [U-Boot] [PATCH] armv8: ls1088: Update 1900MT/s DDR timing to bring consistency

2018-05-09 Thread York Sun
On 04/18/2018 12:07 AM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] armv8: ls1088aqds: Enable mdio commands on u-boot prompt

2018-05-09 Thread York Sun
On 04/13/2018 01:58 AM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- > board/freescale/ls1088a/eth_ls1088aqds.c | 2 ++ > 1 file changed, 2 insertions(+) > Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list

Re: [U-Boot] [PATCH][v2] armv8: sec_firmware: Remove JR3 from device tree node in all cases

2018-05-09 Thread York Sun
On 04/12/2018 05:53 AM, Ruchika Gupta wrote: > JR3 was getting removed from device tree only if random number generation > was successful. However, if SEC firmware is present,JR3 should be removed > from device tree node irrespective of the random seed generation as > SEC firmware reserves it for i

Re: [U-Boot] [Patch v2] armv8: ls1088a: Move CONFIG_BOOTARGS and CONFIG_CMD_GREPENV to defconfig

2018-05-09 Thread York Sun
On 03/26/2018 04:32 AM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- > v2: Rebase to top > Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] armv8: layerscape: Avoid code duplication for TZASC Instantiation

2018-05-09 Thread York Sun
On 03/26/2018 03:54 AM, Sriram Dash wrote: > TZASC controller configurations are similar. > Put them in a macro and avoid code duplication. > > Signed-off-by: Priyanka Jain > Signed-off-by: Sriram Dash > --- > arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 62 > +++- >

Re: [U-Boot] [PATCH][v3] mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0

2018-05-09 Thread York Sun
On 03/23/2018 04:17 AM, Jagdish Gediya wrote: > Number of ECC status registers i.e. (ECCSTATx) has been increased in IFC > version 2.0.0 due to increase in SRAM size. This is causing eccstat > array to over flow. > > So, replace eccstat array with u32 variable to make it fail-safe and > independen

Re: [U-Boot] [PATCH] spi: fsl_qspi: Introduce is_controller_busy function

2018-05-09 Thread York Sun
On 03/22/2018 02:46 AM, Rajat Srivastava wrote: > Some SoCs have different endianness of QSPI IP if compared > to endianness of core. The function is_controller_busy() > checks if the QSPI controller is busy or not, considering > the endianness of the QSPI IP. > > Signed-off-by: Rajat Srivastava

Re: [U-Boot] [PATCH v2] arm: ti: boot: Extract PARTS_DEFAULT to boot.h

2018-05-09 Thread Andrew F. Davis
On 04/19/2018 03:57 PM, Sam Protsenko wrote: > Eliminate code duplication: the same PARTS_DEFAULT was defined in > am57xx_evm.h and in dra7xx_evm.h. Extract it to environment/boot.h and > use in all OMAP5-based boards. > > Signed-off-by: Sam Protsenko > --- Acked-by: Andrew F. Davis > inclu

Re: [U-Boot] [PATCH] rockchip: set SYS_NS16550_MEM32 for all SoCs

2018-05-09 Thread Heinrich Schuchardt
On 05/08/2018 12:43 PM, Jonathan Gray wrote: > Add back part of patch send out as > 'rockchip: enable SYS_NS16550 for all SoCs by default' that seems to have > gotten lost when it got merged to set SYS_NS16550_MEM32. > > Allows serial output to work on tinker-rk3288 again after > c3c0331db1fb7b1f4

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 06:07:50PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180509154052.5e0b4240...@gemini.denx.de> I wrote: > > > > > - Don't like // style comments > > > - Visually inconsistent / jarring > > > > - Against existing coding style. > > Also, the SPDX tag is rare

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 05:40:52PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180509134905.gk12...@bill-the-cat.ec.rr.com> you wrote: > > > > > Marek already said what was on my mind, and got ignored. > > > Would it have changed anything if I had posted another complaint? > > > > I

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Wolfgang Denk
Dear Tom, In message <20180509154052.5e0b4240...@gemini.denx.de> I wrote: > > > - Don't like // style comments > > - Visually inconsistent / jarring > > - Against existing coding style. Also, the SPDX tag is rarely a separate comment line. In most cases, it is part of a larger file header, say

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Wolfgang Denk
Dear Tom, In message <20180509134905.gk12...@bill-the-cat.ec.rr.com> you wrote: > > > Marek already said what was on my mind, and got ignored. > > Would it have changed anything if I had posted another complaint? > > Ignored, no. Counts as a veto? No. And if you had chimed in too, I > don't kn

[U-Boot] [PATCH] drivers/net/vsc9953: Initialize action RAM in VCAP complex

2018-05-09 Thread radu-andrei.bulie
From: Radu Bulie VCAP tables must be initialized even if no advanced classification is used. If no initialization is performed, then ECC error will be observed by the user when the first packet enters the l2switch. The error is marked in MPIC_EISR0 -bit 29 which means - Internal RAM multi-bit ECC

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-09 Thread Eugeniu Rosca
On Wed, May 09, 2018 at 07:23:19AM -0400, Tom Rini wrote: > On Wed, May 09, 2018 at 08:32:56AM +, yamada.masah...@socionext.com wrote: > > Tom will make a decision. > > > > Just my thought. > > > > > > U-Boot is basically a mirror of Linux. > > > > Syncing Kconfig will add new tool requirem

Re: [U-Boot] [PATCH 2/2] ARM: Add a new arch + board for QEMU's 'virt' machine

2018-05-09 Thread Paulo Neves
Hello I have successfully built u-boot and launched qemu with the flags proposed by the patch. My problems start when I try to boot the kernel What is the linux kernel defconfig that should be used to boot this machine? I tried the versatile one but they are different in some key places like the s

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Dr. Philipp Tomsich
> On 9 May 2018, at 15:49, Tom Rini wrote: > > On Wed, May 09, 2018 at 02:46:54PM +0200, Wolfgang Denk wrote: >> Dear Tom, >> >> In message <20180509114828.gg12...@bill-the-cat.ec.rr.com> you wrote: >>> >>> We should go and update [1] to note some special exemptions to the rule. >> >> I'm not

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 02:46:54PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180509114828.gg12...@bill-the-cat.ec.rr.com> you wrote: > > > > We should go and update [1] to note some special exemptions to the rule. > > I'm not happy about this. > > > I see you missed out on the S

[U-Boot] [PATCH v2 2/2] test: fs: fs-test: Modified test 1 to do a ls to a nonexistent dir

2018-05-09 Thread Eugen Hristev
Added a simple ls to a nonexistent directory for test 1. In case the driver is broken for a nonexistent directory, U-boot might crash. Here is an example failed output: => # Test Case 1 - ls => ext4ls host 0:0 4096 . 4096 .. 16384 lost+found 4096 SUBDIR 262144

[U-Boot] [PATCH v2 1/2] fs: ext4: fix crash on ext4ls

2018-05-09 Thread Eugen Hristev
Found a crash while issuing ext4ls with a non-existent directory. Crash test: => ext4ls mmc 0 1 ** Can not find directory. ** data abort pc : [<3fd7c2ec>] lr : [<3fd93ed8>] reloc pc : [<26f142ec>]lr : [<26f2bed8>] sp : 3f963338 ip : 3fdc3dc4 fp : 3fd6b370 r10: 0004 r9 : 3f96

[U-Boot] SPL too big for Turris Omnia in v2018.05

2018-05-09 Thread guillaume . gardet
Hi, While trying to build u-boot for Turris Omnia board in v2018.05 with GCC 7.3.1, I get the following error: MKIMAGE u-boot-spl.kwb Error: Image header (incl. SPL image) too big! header=0x240f1 CONFIG_SYS_U_BOOT

Re: [U-Boot] [PATCH 3/3] i2c: Drop CONFIG_SH_SH7734_I2C

2018-05-09 Thread Heiko Schocher
Hello Tuomas, Am 09.05.2018 um 14:24 schrieb Tuomas Tynkkynen: Last user of this driver went away in May 2017 in commit eb5ba3aefdf0f6c ("i2c: Drop use of CONFIG_I2C_HARD"). Signed-off-by: Tuomas Tynkkynen --- doc/driver-model/i2c-howto.txt | 1 - drivers/i2c/Makefile | 1 -

Re: [U-Boot] [PATCH 2/3] i2c: Drop CONFIG_TSI108_I2C

2018-05-09 Thread Heiko Schocher
Hello Tuomas, Am 09.05.2018 um 14:24 schrieb Tuomas Tynkkynen: Last user of this driver went away in June 2015 in commit d928664f4101e24 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support") Signed-off-by: Tuomas Tynkkynen --- doc/driver-model/i2c-howto.txt | 1 - drivers/i2c/Makefile

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Wolfgang Denk
Dear Tom, In message <20180509114828.gg12...@bill-the-cat.ec.rr.com> you wrote: > > We should go and update [1] to note some special exemptions to the rule. I'm not happy about this. > I see you missed out on the SPDX thread over here: > https://lists.denx.de/pipermail/u-boot/2018-May/327544.ht

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

2018-05-09 Thread Michal Simek
On 4.5.2018 11:40, Ibai Erkiaga wrote: > Initial support for Avnet MiniZed board. Tested UART1 (serial console), > QSPI(Flash), SDHCI1 (eMMC), USB. > > Signed-off-by: Ibai Erkiaga > --- > arch/arm/dts/Makefile |1 + > arch/arm/dts/zynq-minized.dts | 115 >

Re: [U-Boot] Bug#897671: u-boot does not work on sheevaplug

2018-05-09 Thread klaus . goger
> On 09.05.2018, at 10:19, Markus Krebs wrote: > > Am 08.05.2018 um 22:54 schrieb Vagrant Cascadian: >> On 2018-05-08, Vagrant Cascadian wrote: >>> On 2018-05-05, Tom Rini wrote: On Sat, May 05, 2018 at 04:04:08PM -0700, Vagrant Cascadian wrote: > Markus Krebs discovered that the sheev

[U-Boot] [PATCH 1/3] net: Drop CONFIG_TSI108_ETH

2018-05-09 Thread Tuomas Tynkkynen
Last user of this driver went away in June 2015 in commit d928664f4101e24 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support") Signed-off-by: Tuomas Tynkkynen --- drivers/net/Makefile |1 - drivers/net/tsi108_eth.c | 1015 -- include/netdev.h

[U-Boot] [PATCH 3/3] i2c: Drop CONFIG_SH_SH7734_I2C

2018-05-09 Thread Tuomas Tynkkynen
Last user of this driver went away in May 2017 in commit eb5ba3aefdf0f6c ("i2c: Drop use of CONFIG_I2C_HARD"). Signed-off-by: Tuomas Tynkkynen --- doc/driver-model/i2c-howto.txt | 1 - drivers/i2c/Makefile | 1 - drivers/i2c/sh_sh7734_i2c.c| 376

[U-Boot] [PATCH 2/3] i2c: Drop CONFIG_TSI108_I2C

2018-05-09 Thread Tuomas Tynkkynen
Last user of this driver went away in June 2015 in commit d928664f4101e24 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support") Signed-off-by: Tuomas Tynkkynen --- doc/driver-model/i2c-howto.txt | 1 - drivers/i2c/Makefile | 1 - drivers/i2c/tsi108_i2c.c | 275 --

Re: [U-Boot] [PATCH] fs: ext4: fix crash on ext4ls

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 12:57:35PM +0300, Eugen Hristev wrote: > Found a crash while issuing ext4ls with a non-existent directory. > Crash test: > > => ext4ls mmc 0 1 > ** Can not find directory. ** > data abort > pc : [<3fd7c2ec>] lr : [<3fd93ed8>] > reloc pc : [<26f142ec>]lr : [<26f

Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add support for ZynqMP qspi driver

2018-05-09 Thread Jagan Teki
On Wed, May 9, 2018 at 5:22 PM, Siva Durga Prasad Paladugu wrote: > Hi, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, May 09, 2018 4:47 PM >> To: Siva Durga Prasad Paladugu >> Cc: Jagan Teki ; U-Boot-Denx > b...@lists.denx.de>; michal.si

Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add support for ZynqMP qspi driver

2018-05-09 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, May 09, 2018 4:47 PM > To: Siva Durga Prasad Paladugu > Cc: Jagan Teki ; U-Boot-Denx b...@lists.denx.de>; michal.si...@xilinx.com > Subject: Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 01:38:37PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180509111627.gd12...@bill-the-cat.ec.rr.com> you wrote: > > > > > What’s your preferred solution: > > > (a) change these comments > > > (b) change our Makefiles to let GCC know that we are compiling

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Wolfgang Denk
Dear Tom, In message <20180509111627.gd12...@bill-the-cat.ec.rr.com> you wrote: > > > What’s your preferred solution: > > (a) change these comments > > (b) change our Makefiles to let GCC know that we are compiling > > gnu99/C99? > > > > Neither solution is too appealing to me, so I am

[U-Boot] [PATCH] arm: ls1021aqds: config: enable CONFIG_ID_EEPROM for mac command

2018-05-09 Thread Jagdish Gediya
Signed-off-by: Jagdish Gediya --- include/configs/ls1021aqds.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index 0b4a6a4..79a84c4 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -351,6 +35

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 08:32:56AM +, yamada.masah...@socionext.com wrote: > Hi Engeniu, > > > -Original Message- > > From: Eugeniu Rosca [mailto:ero...@de.adit-jv.com] > > Sent: Wednesday, May 09, 2018 5:04 PM > > To: Tom Rini ; Yamada, Masahiro/山田 真弘 > > ; Petr Vorel > > Cc: Ulf Mag

Re: [U-Boot] [PATCH v2 1/3] spi: sh_qspi: full DM conversion

2018-05-09 Thread Jagan Teki
What I understand from this is you made changes on top of your previous patch which is wrong. Since the first patch is not accepted and request for changes you need to make changes on top. Since this is v2 you mentioned 'changes for v2' what is been fixed/updated with this version. On Wed, May 9,

Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add support for ZynqMP qspi driver

2018-05-09 Thread Jagan Teki
On Wed, May 9, 2018 at 4:44 PM, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, May 09, 2018 4:18 PM >> To: Siva Durga Prasad Paladugu >> Cc: Jagan Teki ; U-Boot-Denx > b...@lists.denx.de>; mic

Re: [U-Boot] [PATCHv2 2/3] buildman: support newer gcc versions from kernel.org

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 12:27:38PM +0200, Daniel Schwierzeck wrote: > > > On 08.05.2018 02:50, Tom Rini wrote: > > From: Daniel Schwierzeck > > > > Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. > > > > Also use a regex for matching the tarball names. Some gcc versions > > use '-ARCH-' i

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Tom Rini
On Wed, May 09, 2018 at 10:46:10AM +0200, Dr. Philipp Tomsich wrote: > Tom, > > I recently ran a local buildman with a came across these: > > cc -Wp,-MD,tools/.gen_eth_addr.d -Wall -Wstrict-prototypes -O2 > > -fomit-frame-pointer-include ./include/compiler.h -idirafterinclude > > -idirafte

Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add support for ZynqMP qspi driver

2018-05-09 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, May 09, 2018 4:18 PM > To: Siva Durga Prasad Paladugu > Cc: Jagan Teki ; U-Boot-Denx b...@lists.denx.de>; michal.si...@xilinx.com > Subject: Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqsp

Re: [U-Boot] [PATCH] driver/mtd/spi: Default page size Spansion flash "S25FS512S" is 256b

2018-05-09 Thread Jagan Teki
On Mon, May 7, 2018 at 4:01 PM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- > drivers/mtd/spi/spi_flash.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c > index 3d24a08..ce420cb 100644 > -

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

2018-05-09 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks, Jagan. The following changes since commit b25f8e2112b1582ce6386e846800a31bab688e50: Merge git://git.denx.de/u-boot-imx (2018-04-30 07:14:05 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sunxi.git master for you to fetch chang

Re: [U-Boot] [PATCH v2 1/2] ARM: dts: sun8i: Sync r40 dtsi from Linux

2018-05-09 Thread Jagan Teki
On Fri, Apr 27, 2018 at 5:33 PM, Jagan Teki wrote: > Sync sun8i-r40.dtsi changes from Linux with > > Merge: a406778618d0 088345fc3553 > Author: Stephen Rothwell > Date: Tue Apr 24 14:15:02 2018 +1000 > > Merge branch 'akpm/master' > > Signed-off-by: Jagan Teki > --- Applied to u-boot-sunx

Re: [U-Boot] [PATCH v2 2/2] board: sunxi: sun8i-v4: Add Bananapi M2 Berry support

2018-05-09 Thread Jagan Teki
On Wed, May 2, 2018 at 2:46 PM, Maxime Ripard wrote: > On Fri, Apr 27, 2018 at 05:33:42PM +0530, Jagan Teki wrote: >> Banana Pi BPI-M2 Berry is a quad-core mini single board computer >> built with Allwinner V40 SoC. It features >> - Quad Core ARM Cortex A7 CPU V40 >> - 1GB of RAM . >> - microSD/SA

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-09 Thread Eugeniu Rosca
Masahiro, Tom, Petr, Thanks for your prompt feedback. > On Wed, May 09, 2018 at 10:27:00AM +0900, Masahiro Yamada wrote: > > I prefer syncing to check-picking. > > [...] > > Would you do that please? > > Or, do you want me to do it? I would happily attempt that. However, see my below question.

Re: [U-Boot] Bug#897671: u-boot does not work on sheevaplug

2018-05-09 Thread Markus Krebs
Am 08.05.2018 um 22:54 schrieb Vagrant Cascadian: On 2018-05-08, Vagrant Cascadian wrote: On 2018-05-05, Tom Rini wrote: On Sat, May 05, 2018 at 04:04:08PM -0700, Vagrant Cascadian wrote: Markus Krebs discovered that the sheevaplug target has again grown and installation overlaps where the u-b

[U-Boot] [PATCH v2 3/3] spi: mxs_spi: full dm conversion

2018-05-09 Thread Akash Gajjar
v1->v2 register cs_info method remove unused function __mxs_spi_setup merged __spi_xfer function to spi_xfer printf replaced by debug Signed-off-by: Akash Gajjar --- drivers/spi/mxs_spi.c | 169 -- 1 file changed, 81 insertions(+), 88 deletions(-)

[U-Boot] [PATCH v1 1/1] spi: lpc32xx_ssp: DM conversion

2018-05-09 Thread Akash Gajjar
From: Akash Gajjar This patch adds support for DM to the LPC32xx SSP SPI driver. Some TODOs are left over for later, These would be enhancements to the original functionality, and can come later. The legacy functionality is removed in this version. Signed-off-by: Akash Gajjar --- drivers/spi/

[U-Boot] [PATCH v2 2/3] spi: sh_spi: full DM conversion

2018-05-09 Thread Akash Gajjar
v1->v2 New in v2 add cs_info method remove fixed regs address add missing platform struct missing member moved priv struct into sh_spi.c remove unnecessary space and comments Signed-off-by: Akash Gajjar --- drivers/spi/sh_spi.c | 44 +++ drivers/s

[U-Boot] [PATCH v2 1/3] spi: sh_qspi: full DM conversion

2018-05-09 Thread Akash Gajjar
v1->v2 New in v2 update Kconfig replace __sh_qspi_setup to sh_qspi_setup add missing memeber of platform data Signed-off-by: Akash Gajjar --- drivers/spi/Kconfig| 12 +- drivers/spi/sh_qspi.c | 49 +++--- include/dm/platform_da

Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add support for ZynqMP qspi driver

2018-05-09 Thread Jagan Teki
On Wed, May 9, 2018 at 4:08 PM, Jagan Teki wrote: > On Wed, May 9, 2018 at 1:31 PM, Siva Durga Prasad Paladugu > wrote: >> Hi Jagan, >> >>> -Original Message- >>> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >>> Sent: Wednesday, May 09, 2018 1:22 PM >>> To: Siva Durga Prasad Paladug

Re: [U-Boot] [PATCH v3 1/2] spi: zynqmp_gqspi: Add support for ZynqMP qspi driver

2018-05-09 Thread Jagan Teki
On Wed, May 9, 2018 at 1:31 PM, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, May 09, 2018 1:22 PM >> To: Siva Durga Prasad Paladugu >> Cc: Jagan Teki ; U-Boot-Denx > b...@lists.denx.de>; mic

Re: [U-Boot] [PATCHv2 2/3] buildman: support newer gcc versions from kernel.org

2018-05-09 Thread Daniel Schwierzeck
On 08.05.2018 02:50, Tom Rini wrote: > From: Daniel Schwierzeck > > Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. > > Also use a regex for matching the tarball names. Some gcc versions > use '-ARCH-' instead of '_ARCH-'. > > As part of this, we switch TravisCI to also using these toolc

Re: [U-Boot] [PATCH v2 0/6] ARM: mvebu: a38x: updates to ddr training code

2018-05-09 Thread Stefan Roese
Hi Chris, On 09.04.2018 12:12, Chris Packham wrote: This series updates the ddr training code in u-boot with the latest publicly available version from Marvell which can be found at https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git (mv_ddr-armada-17.10 branch). I've tried to make

[U-Boot] [PATCH] configs: sama5d2_xplained: enable ext4 command support

2018-05-09 Thread Eugen Hristev
To support loading the zImage + DTB from the rootfs ext4 partitions, enable the ext4 command support. Based on original work by Wenyou Yang Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + 2 files changed, 2 i

Re: [U-Boot] [PATCH] efi_loader: fix off-by-one bug in efi_get_variable

2018-05-09 Thread Heinrich Schuchardt
On 05/09/2018 12:50 AM, Ivan Gorinov wrote: efi_get_variable() always stores an extra zero byte after the output data. When the returned data size matches the output buffer size, the extra zero byte is stored past the end of the output buffer. Signed-off-by: Ivan Gorinov Thanks for the patc

[U-Boot] [PATCH] fs: ext4: fix crash on ext4ls

2018-05-09 Thread Eugen Hristev
Found a crash while issuing ext4ls with a non-existent directory. Crash test: => ext4ls mmc 0 1 ** Can not find directory. ** data abort pc : [<3fd7c2ec>] lr : [<3fd93ed8>] reloc pc : [<26f142ec>]lr : [<26f2bed8>] sp : 3f963338 ip : 3fdc3dc4 fp : 3fd6b370 r10: 0004 r9 : 3f96

Re: [U-Boot] [UBOOT PATCH v3 0/7] Add support of SD3.0 UHS modes for ZynqMP

2018-05-09 Thread Michal Simek
Hi Jaehoon, On 2.5.2018 04:05, Jaehoon Chung wrote: > On 04/30/2018 06:02 PM, Michal Simek wrote: >> Hi Tom, >> >> On 19.4.2018 09:07, Siva Durga Prasad Paladugu wrote: >>> This patch series is meant to add SD3.0 support for ZynqMP >>> platform. >>> The first five patches in the series mostly sett

Re: [U-Boot] [PATCH] efi_loader: fix off-by-one bug in efi_get_variable

2018-05-09 Thread Alexander Graf
On 05/09/2018 12:50 AM, Ivan Gorinov wrote: efi_get_variable() always stores an extra zero byte after the output data. When the returned data size matches the output buffer size, the extra zero byte is stored past the end of the output buffer. Signed-off-by: Ivan Gorinov Thanks to the memset

Re: [U-Boot] [U-Boot,1/3] sf: Add GigaDevice gd25q32b entry

2018-05-09 Thread Philipp Tomsich
> Add entry for GigaDevice gd25q32b part. > > Signed-off-by: Marty E. Plummer > --- > drivers/mtd/spi/spi_flash_ids.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.d

[U-Boot] GCC 7.x vs. C++ comments

2018-05-09 Thread Dr. Philipp Tomsich
Tom, I recently ran a local buildman with a came across these: > cc -Wp,-MD,tools/.gen_eth_addr.d -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer-include ./include/compiler.h -idirafterinclude > -idirafter./arch/arm/include -I./scripts/dtc/libfdt -I./tools -DUSE_HOSTCC > -D__KERNEL_S

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-09 Thread Petr Vorel
Hi Eugeniu, > FWIW, here is some statistics of the kernel kconfig development in the > v4.10..v4.17-rc4 commit range: > - 86 non-merge change-sets: > git rev-list --no-merges --count v4.10..v4.17-rc4 -- scripts/kconfig/ > 86 FYI: I send some time ago a patchset to update kconfig in buildroot, whe

Re: [U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

2018-05-09 Thread yamada.masahiro
Hi Engeniu, > -Original Message- > From: Eugeniu Rosca [mailto:ero...@de.adit-jv.com] > Sent: Wednesday, May 09, 2018 5:04 PM > To: Tom Rini ; Yamada, Masahiro/山田 真弘 > ; Petr Vorel > Cc: Ulf Magnusson ; Simon Glass ; > U-Boot Mailing List ; Eugeniu Rosca > ; Eugeniu Rosca > Subject: Re:

Re: [U-Boot] [PATCH] rockchip: set SYS_NS16550_MEM32 for all SoCs

2018-05-09 Thread Dr. Philipp Tomsich
Kever, if this affects all SoCs, then apparently nobody tested -rc3 … I had made sure that all these last-minute changes had gone in before rc3. Regards, Philipp. > On 9 May 2018, at 10:12, Dr. Philipp Tomsich > wrote: > > Kever, > > There were a number a merge conflicts with this series an

Re: [U-Boot] rockchip: set SYS_NS16550_MEM32 for all SoCs

2018-05-09 Thread Philipp Tomsich
> Add back part of patch send out as > 'rockchip: enable SYS_NS16550 for all SoCs by default' that seems to have > gotten lost when it got merged to set SYS_NS16550_MEM32. > > Allows serial output to work on tinker-rk3288 again after > c3c0331db1fb7b1f4ff41e144fc04353b37c785c. > > Signed-off-by:

  1   2   >