Re: [U-Boot] [PATCH] core: ofnode: Fix ASAN-reported stack-buffer-overflow in of_get_address

2019-04-14 Thread Eugeniu Rosca
Hi Simon, CC: Tom, Yamada-san, Jiri, Stephen, On Sat, Mar 30, 2019 at 03:19:23PM -0600, Simon Glass wrote: > Hi Eugeniu, > > On Mon, 25 Mar 2019 at 04:44, Eugeniu Rosca wrote: > > > > Hello Simon, > > > > On Sun, Mar 10, 2019 at 03:51:47PM -0600, Simon Glass wrote: > > [..] > > > Reviewed-by:

Re: [U-Boot] [PATCH v2 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-14 Thread Clément Péron
Hi, On Sun, 14 Apr 2019 at 19:29, Jagan Teki wrote: > > On Fri, Apr 12, 2019 at 7:45 PM Clément Péron wrote: > > > > Beelink GS1 is an Allwinner H6 based TV box, > > which support: > > - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 > > - GPU Mali-T720 > > - 2GB LPDDR3 RAM > > - 16GB eMMC > > -

Re: [U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-14 Thread keerthy
On 4/13/2019 6:32 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:14PM +0530, Keerthy wrote: The series adds the support for hardware leveling. This needs the kernel to be patched with hardware leveling support and the kernel support is already in linux-next:

Re: [U-Boot] [PATCH] fs: btrfs: fix false negatives in ROOT_ITEM search

2019-04-14 Thread Pierre Bourdon
On Sun, Apr 14, 2019 at 12:05 AM Pierre Bourdon wrote: > A more practical example in case the explanation isn't clear: > > root tree > node 122216448 level 1 items 6 free 115 generation 12246 owner ROOT_TREE > fs uuid b516974e-a94e-469c-a9ff-d237ce96b03b > chunk uuid

[U-Boot] [PATCH] imx: add lowlevel init for ARM64

2019-04-14 Thread Peng Fan
Sometimes we met SERROR, but only to catch it when Linux boots up. Let's enable catching in U-Boot to catch it ealier and ease debug. Signed-off-by: Peng Fan --- arch/arm/mach-imx/Makefile | 2 +- arch/arm/mach-imx/lowlevel.S | 22 ++ 2 files changed, 23 insertions(+), 1

[U-Boot] Pull request for UEFI sub-system for v2019.07-rc1 (2)

2019-04-14 Thread Heinrich Schuchardt
The following changes since commit 40a9546c7b6217a78a3a010a0142529a837e46b6: Merge branch '2019-04-11-ti-master-imports' (2019-04-12 12:22:43 -0400) are available in the Git repository at: https://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc1-2 for you to fetch changes up to

Re: [U-Boot] [PATCH] core: ofnode: Fix ASAN-reported stack-buffer-overflow in of_get_address

2019-04-14 Thread Tom Rini
On Sun, Apr 14, 2019 at 10:13:15PM +0200, Eugeniu Rosca wrote: > Hi Simon, > CC: Tom, Yamada-san, Jiri, Stephen, > > On Sat, Mar 30, 2019 at 03:19:23PM -0600, Simon Glass wrote: > > Hi Eugeniu, > > > > On Mon, 25 Mar 2019 at 04:44, Eugeniu Rosca wrote: > > > > > > Hello Simon, > > > > > > On

Re: [U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-14 Thread Tom Rini
On Mon, Apr 15, 2019 at 06:19:31AM +0530, keerthy wrote: > > > On 4/13/2019 6:32 PM, Tom Rini wrote: > >On Fri, Apr 12, 2019 at 12:08:14PM +0530, Keerthy wrote: > > > >>The series adds the support for hardware leveling. This needs the > >>kernel to be patched with hardware leveling support and

Re: [U-Boot] [PATCH v1] sunxi: Add support for Olimex A64-Teres-I board

2019-04-14 Thread Jonas Smedegaard
Quoting Jagan Teki (2019-04-14 19:36:15) > On Sun, Apr 14, 2019 at 10:16 PM Jonas Smedegaard wrote: > > > > Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard. > > https://linux-sunxi.org/Olimex_Teres-A64 > > > > This patch enables support for the A64-Teres-I board to u-boot, >

[U-Boot] [PATCH v1] sunxi: Add support for Olimex A64-Teres-I board

2019-04-14 Thread Jonas Smedegaard
Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard. https://linux-sunxi.org/Olimex_Teres-A64 This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree). sun50i-a64-teres-i.dts is copied verbatim from

Re: [U-Boot] [PATCH 3/8] video/console: Implement relative cursor movement ANSI handling

2019-04-14 Thread André Przywara
On 14/04/2019 13:54, Anatolij Gustschin wrote: > Hi André, > > On Sat, 13 Apr 2019 22:40:03 +0100 > André Przywara andre.przyw...@arm.com wrote: > ... >>> I've dropped all applied patches of this series now, some of them >>> introduced dm video_ansi test error [1]. Please fix. Thanks! >> >>

Re: [U-Boot] [PATCH v3 05/13] regmap: Add support for polling on a register

2019-04-14 Thread Faiz Abbas
Hi Tom, On 13/02/19 1:25 PM, Faiz Abbas wrote: > Hi Tom, > > On 12/02/19 2:28 PM, Faiz Abbas wrote: >> Add an API to continuously read a register until a condition is >> satisfied or a timeout occurs. >> >> Signed-off-by: Faiz Abbas >> Reviewed-by: Tom Rini >> --- >> include/regmap.h | 34

[U-Boot] [PATCH] fs: btrfs: fix btrfs_search_tree invalid results

2019-04-14 Thread Pierre Bourdon
btrfs_search_tree should return the first item in the tree that is greater or equal to the searched item. The search algorithm did not properly handle the edge case where the searched item is higher than the last item of the node but lower than the first item of the next node. Instead of properly

Re: [U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-14 Thread keerthy
On 4/15/2019 6:35 AM, Tom Rini wrote: On Mon, Apr 15, 2019 at 06:19:31AM +0530, keerthy wrote: On 4/13/2019 6:32 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:14PM +0530, Keerthy wrote: The series adds the support for hardware leveling. This needs the kernel to be patched with

Re: [U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL

2019-04-14 Thread Masahiro Yamada
On Sun, Apr 14, 2019 at 7:21 PM Robert P. J. Day wrote: > > > From way back in 2015: > > commit dffb86e468c8e02ba77283989aefef214d904dc5 > Author: Masahiro Yamada > Date: Wed Aug 12 07:31:54 2015 +0900 > > of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL > > As

Re: [U-Boot] [PATCH] fs: btrfs: fix btrfs_search_tree invalid results

2019-04-14 Thread Marek Behun
Hi Pierre On Mon, 15 Apr 2019 03:30:32 +0200 Pierre Bourdon wrote: > btrfs_search_tree should return the first item in the tree that is > greater or equal to the searched item. > > The search algorithm did not properly handle the edge case where the > searched item is higher than the last item

Re: [U-Boot] [PATCH v12 0/9] Add support for loading FPGA bitstream

2019-04-14 Thread Chee, Tien Fong
On Tue, 2019-03-19 at 16:50 +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This version mainly resolved comments from Dinh in [v11]. > > This series is working on top of u-boot.git http://git.denx.de/u-boot > .git > > These patches are required before applying this series of

Re: [U-Boot] [PATCH 1/4] cmd: ubifs: Remove select for non-existent option

2019-04-14 Thread Heiko Schocher
Hello Chris, Am 13.04.2019 um 11:13 schrieb Chris Packham: There is no 'config CRC32', remove the select that was attempting to use it. Reported-by: Robert P. J. Day Signed-off-by: Chris Packham --- cmd/Kconfig | 2 -- 1 file changed, 2 deletions(-) Reviewed-by: Heiko Schocher bye,

Re: [U-Boot] [PATCH 2/4] mtd: ubi: Remove select for non existent option

2019-04-14 Thread Heiko Schocher
Hello Chris, Am 13.04.2019 um 11:13 schrieb Chris Packham: There is no 'config CRC32' remove the select that was attempting to use it. Reported-by: Robert P. J. Day Signed-off-by: Chris Packham --- drivers/mtd/ubi/Kconfig | 1 - 1 file changed, 1 deletion(-) Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH 3/4] Remove #define CONFIG_CRC32

2019-04-14 Thread Heiko Schocher
Hello Chris, Am 13.04.2019 um 11:13 schrieb Chris Packham: There is no check for CONFIG_CRC32 so the #define in image.h does nothing. Remove it. Reported-by: Robert P. J. Day Signed-off-by: Chris Packham --- include/image.h | 1 - 1 file changed, 1 deletion(-) Reviewed-by: Heiko

Re: [U-Boot] [PATCH 4/4] Remove whitelist entry for CONFIG_CRC32

2019-04-14 Thread Heiko Schocher
Hello Chris, Am 13.04.2019 um 11:13 schrieb Chris Packham: There are no longer any references to this in the code so this can be removed. Signed-off-by: Chris Packham --- scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) Reviewed-by: Heiko Schocher bye, Heiko -- DENX

Re: [U-Boot] [PATCH v5] board/fsl/lx2160a: Fix MC firmware loading during SD boot

2019-04-14 Thread Pankaj Bansal
> -Original Message- > From: Prabhakar Kushwaha > Sent: Wednesday, 27 March, 2019 11:50 AM > To: Pankaj Bansal ; Meenakshi Aggarwal > ; Priyanka Jain > Cc: u-boot@lists.denx.de > Subject: RE: [PATCH v5] board/fsl/lx2160a: Fix MC firmware loading during SD > boot > > > > -Original

[U-Boot] [PATCH] net: fec_mxc: not access reserved register on i.MX8

2019-04-14 Thread Peng Fan
We should not access reserved register on i.MX8, otherwise met SERROR Signed-off-by: Peng Fan --- drivers/net/fec_mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 84f010d805..097bbd090f 100644 ---

Re: [U-Boot] [PATCH v2 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-14 Thread Jagan Teki
On Mon, Apr 15, 2019 at 2:58 AM Clément Péron wrote: > > Hi, > > On Sun, 14 Apr 2019 at 19:29, Jagan Teki wrote: > > > > On Fri, Apr 12, 2019 at 7:45 PM Clément Péron wrote: > > > > > > Beelink GS1 is an Allwinner H6 based TV box, > > > which support: > > > - Allwinner H6 Quad-core 64-bit ARM

[U-Boot] [PATCH] board: tbs2910: Remove CMD_FDT support in defconfig to reduce u-boot size

2019-04-14 Thread Soeren Moch
This fixes the build failure "u-boot.imx exceeds file size limit". Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- configs/tbs2910_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig index

Re: [U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Robert P. J. Day
On Sun, 14 Apr 2019, Marek Vasut wrote: > On 4/14/19 12:51 PM, Robert P. J. Day wrote: > > On Sun, 14 Apr 2019, Marek Vasut wrote: > > > >> On 4/14/19 12:06 PM, Robert P. J. Day wrote: > >>> > >>> Kbuild "select" directives should not include "CONFIG_" prefix. > >>> > >>> Signed-off-by: Robert P.

Re: [U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Marek Vasut
On 4/14/19 1:40 PM, Robert P. J. Day wrote: > On Sun, 14 Apr 2019, Marek Vasut wrote: > >> On 4/14/19 12:51 PM, Robert P. J. Day wrote: >>> On Sun, 14 Apr 2019, Marek Vasut wrote: >>> On 4/14/19 12:06 PM, Robert P. J. Day wrote: > > Kbuild "select" directives should not include

[U-Boot] getting rid of clearly(?) obsolete doc/README* files?

2019-04-14 Thread Robert P. J. Day
before i submit a patch, i'll ask permission first -- is it worth submitting patches to delete what appear to be totally obsolete README files? i just stumbled over doc/README.ARM-memory-map, dated Sep 2003, which reads in part: "_armboot_start contains the value of CONFIG_SYS_TEXT_BASE

Re: [U-Boot] [PATCH 3/8] video/console: Implement relative cursor movement ANSI handling

2019-04-14 Thread Anatolij Gustschin
Hi André, On Sat, 13 Apr 2019 22:40:03 +0100 André Przywara andre.przyw...@arm.com wrote: ... > > I've dropped all applied patches of this series now, some of them > > introduced dm video_ansi test error [1]. Please fix. Thanks! > > Hmh, good one. Didn't find an easy way to get to the bottom

[U-Boot] [PATCH v2 2/8] video/console: Implement reverse video ANSI sequence for DM_VIDEO

2019-04-14 Thread Anatolij Gustschin
From: Andre Przywara The video console for DM_VIDEO compliant drivers only understands a very small number of ANSI sequences. First and foremost it misses the "reverse video" command, which is used by our own bootmenu command to highlight the selected entry. To avoid forcing people to use their

Re: [U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Robert P. J. Day
On Sun, 14 Apr 2019, Marek Vasut wrote: > On 4/14/19 12:06 PM, Robert P. J. Day wrote: > > > > Kbuild "select" directives should not include "CONFIG_" prefix. > > > > Signed-off-by: Robert P. J. Day > > The patch is correct, but does it have any side-effects ? > > > --- > > > > diff --git

Re: [U-Boot] tbs2910 not buildable

2019-04-14 Thread Stefano Babic
Hi Soeren, On 14/04/19 12:46, Soeren Moch wrote: > Hi Stefano, > > On 14.04.19 11:52, stefano babic wrote: >> Hallo Soeren, >> >> after pulling from Tom and merging u-boot-imx, - next, your board is not >> buildable anymore. Better: it is buildable, but size exceeds: >> >>arm: +

Re: [U-Boot] tbs2910 not buildable

2019-04-14 Thread Sören Moch
Hi Stefano, On 14.04.19 13:24, Stefano Babic wrote: > Hi Soeren, > > On 14/04/19 12:46, Soeren Moch wrote: >> Hi Stefano, >> >> On 14.04.19 11:52, stefano babic wrote: >>> Hallo Soeren, >>> >>> after pulling from Tom and merging u-boot-imx, - next, your board is not >>> buildable anymore. Better:

Re: [U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Marek Vasut
On 4/14/19 12:51 PM, Robert P. J. Day wrote: > On Sun, 14 Apr 2019, Marek Vasut wrote: > >> On 4/14/19 12:06 PM, Robert P. J. Day wrote: >>> >>> Kbuild "select" directives should not include "CONFIG_" prefix. >>> >>> Signed-off-by: Robert P. J. Day >> >> The patch is correct, but does it have

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

2019-04-14 Thread Tom Rini
On Fri, Apr 12, 2019 at 07:13:01PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit 02f173ca156cee8526dff87603d5e446b443cde3: > > Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-11 14:29:37 > -0400) > >

[U-Boot] [PATCH] arm: am57xx: cl-som-am57x: remove board support

2019-04-14 Thread Uri Mashiach
U-Boot support for the CL-SOM-AM57x module is no longer required. Signed-off-by: Uri Mashiach --- arch/arm/dts/am57xx-cl-som-am57x.dts | 617 - arch/arm/dts/am57xx-sbc-am57x.dts | 179 - arch/arm/mach-omap2/omap5/Kconfig | 5 -

[U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Robert P. J. Day
Kbuild "select" directives should not include "CONFIG_" prefix. Signed-off-by: Robert P. J. Day --- diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index ba1e6bfa43..96474f4e3b 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -204,7 +204,7 @@ config

[U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL

2019-04-14 Thread Robert P. J. Day
From way back in 2015: commit dffb86e468c8e02ba77283989aefef214d904dc5 Author: Masahiro Yamada Date: Wed Aug 12 07:31:54 2015 +0900 of: flip CONFIG_SPL_DISABLE_OF_CONTROL into CONFIG_SPL_OF_CONTROL As we discussed a couple of times, negative CONFIG options make our life

Re: [U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Marek Vasut
On 4/14/19 12:06 PM, Robert P. J. Day wrote: > > Kbuild "select" directives should not include "CONFIG_" prefix. > > Signed-off-by: Robert P. J. Day The patch is correct, but does it have any side-effects ? > --- > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > index

Re: [U-Boot] [PATCH] dm: core: Change platform specific translation-offset handling

2019-04-14 Thread Baruch Siach
Hi Stefan, On Fri, Apr 12 2019, Stefan Roese wrote: > Testing has shown that the current DM implementation of a platform / > board specific translation offset, as its needed for the SPL on MVEBU > platforms is buggy. The translation offset is confingured too late, > after the driver bind

[U-Boot] tbs2910 not buildable

2019-04-14 Thread stefano babic
Hallo Soeren, after pulling from Tom and merging u-boot-imx, - next, your board is not buildable anymore. Better: it is buildable, but size exceeds: arm: + tbs2910 +u-boot.imx exceeds file size limit: + limit: 392192 bytes + actual: 396288 bytes + excess: 4096 bytes Just dropping

Re: [U-Boot] very short list of "badref selects" in u-boot source

2019-04-14 Thread Robert P. J. Day
On Fri, 12 Apr 2019, Robert P. J. Day wrote: > rather than go to the trouble of whipping up a wiki page, i can > present this in a short post to the list. here's the list of what my > script identified as "badref selects" -- those identifiers for which > there is a Kconfig line of the form: > >

Re: [U-Boot] tbs2910 not buildable

2019-04-14 Thread Soeren Moch
Hi Stefano, On 14.04.19 11:52, stefano babic wrote: > Hallo Soeren, > > after pulling from Tom and merging u-boot-imx, - next, your board is not > buildable anymore. Better: it is buildable, but size exceeds: > >arm: + tbs2910 > +u-boot.imx exceeds file size limit: > + limit: 392192

Re: [U-Boot] [PATCH 3/4] Remove #define CONFIG_CRC32

2019-04-14 Thread stefano babic
Am 13.04.19 um 11:13 schrieb Chris Packham: > There is no check for CONFIG_CRC32 so the #define in image.h does > nothing. Remove it. > > Reported-by: Robert P. J. Day > Signed-off-by: Chris Packham > --- > > include/image.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git

[U-Boot] [PATCH] arm64: allwinner: sun50i: Sync H6 dts(i) files from Linux

2019-04-14 Thread Jagan Teki
Usually the Linux dts changes were synced in specific tags in Allwinner, to keep track for whats been synced so-far and plan for future syncs. But this patch sync sun50i-h6* dts(i) files from Linux w/o any specific tag since these dts(i) changes are required for new H6 boards support. Linux

Re: [U-Boot] [PATCH v2 2/3] arm: dts: h6: Add Beelink GS1 initial support

2019-04-14 Thread Jagan Teki
On Fri, Apr 12, 2019 at 7:45 PM Clément Péron wrote: > > Beelink GS1 is an Allwinner H6 based TV box, > which support: > - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 > - GPU Mali-T720 > - 2GB LPDDR3 RAM > - 16GB eMMC > - AXP805 PMIC > - 1Gbps GMAC via RTL8211E > - USB 2.0 and 3.0 Host > - HDMI

Re: [U-Boot] [PATCH v1] sunxi: Add support for Olimex A64-Teres-I board

2019-04-14 Thread Jagan Teki
On Sun, Apr 14, 2019 at 10:16 PM Jonas Smedegaard wrote: > > Olimex Teres-I is a laptop DIY kit, and A64-Teres-I is its mainboard. > https://linux-sunxi.org/Olimex_Teres-A64 > > This patch enables support for the A64-Teres-I board to u-boot, > including enabling screen backlight (lacking from

[U-Boot] Please pull u-boot-video

2019-04-14 Thread Anatolij Gustschin
Hi Tom, please pull video updates for v2019.07-rc1. Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/51990 Thanks, Anatolij The following changes since commit cf5eebeb18f7790d5030eb94f51fca0ebcd6e406: Merge tag 'pull-12apr19' of git://git.denx.de/u-boot-dm (2019-04-13 08:27:35