Re: [U-Boot] [PATCH 2/2] imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO

2018-11-07 Thread Simon Glass
On 7 November 2018 at 04:50, Bin Meng wrote: > Due to revert of commit c0434407b595, this board does not build > any more. Disable CONFIG_DISPLAY_CPUINFO for v2018.11 release. > > This commit should be reverted after v2018.11 release. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [U-Boot, 1/2] Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"

2018-11-07 Thread Tom Rini
On Wed, Nov 07, 2018 at 03:50:34AM -0800, Bin Meng wrote: > This reverts commit c0434407b595f785fc7401237896c48c791b45fd. > > It turns out commit c0434407b595 broke some boards which have DM CPU > driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail > to boot when print_cpuinfo()

Re: [U-Boot] [GIT PULL] Xilinx fixes for v2018.11-rc3

2018-11-07 Thread Tom Rini
On Wed, Nov 07, 2018 at 10:09:42AM +0100, Michal Simek wrote: > Hi Tom, > > please pull this one patch to your tree. > > Thanks, > Michal > > The following changes since commit dd610e616cceda16a81dfa6f9a134877f783548c: > > Merge tag 'u-boot-imx-20181106' of git://git.denx.de/u-boot-imx >

Re: [U-Boot] [PATCH 1/2] Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"

2018-11-07 Thread Simon Glass
On 7 November 2018 at 04:50, Bin Meng wrote: > > This reverts commit c0434407b595f785fc7401237896c48c791b45fd. > > It turns out commit c0434407b595 broke some boards which have DM CPU > driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail > to boot when print_cpuinfo() is called

Re: [U-Boot] [PATCH 12/25] spl: Correct malloc debugging in board_init_r()

2018-11-07 Thread Simon Glass
Hi Simon, On 6 November 2018 at 23:22, Simon Goldschmidt wrote: > On Tue, Nov 6, 2018 at 11:22 PM Simon Glass wrote: >> >> SPL does not support %#x in printf() strings so we must write out the 0x >> explicitly. Update the code for this. >> >> Signed-off-by: Simon Glass > > This has already

Re: [U-Boot] [PATCH] sunxi: Fix memory 2-rank initialization for a33 cpu

2018-11-07 Thread Michael Nazzareno Trimarchi
Hi Jagan On Mon, Nov 5, 2018 at 10:02 AM Maxime Ripard wrote: > > On Wed, Oct 31, 2018 at 08:03:16PM +0100, Michael Trimarchi wrote: > > When we initialize the memory we need to autodetect rank and size > > but this can happen only if we send the proper reset to both > > memory module including

Re: [U-Boot] [BUG] efi-x86_app_defconfig does not build with gcc 8.2

2018-11-07 Thread Andy Shevchenko
On Mon, Oct 29, 2018 at 10:41:29PM +0800, Bin Meng wrote: > On Fri, Oct 26, 2018 at 8:41 PM Andy Shevchenko > wrote: > > On Fri, Oct 26, 2018 at 3:23 PM Bin Meng wrote: > > > On Thu, Oct 25, 2018 at 10:55 PM Bin Meng wrote: > > > > On Thu, Oct 11, 2018 at 5:36 PM Andy Shevchenko > > > > wrote:

[U-Boot] [PATCH 1/2] image-sig: Ensure that hashed-nodes is null-terminated

2018-11-07 Thread Tom Rini
From: Konrad Beckmann A specially crafted FIT image leads to memory corruption in the stack when using the verified boot feature. The function fit_config_check_sig has a logic error that makes it possible to write past the end of the stack allocated array node_inc. This could potentially be used

[U-Boot] [PATCH 2/2] fdt_region: Ensure that depth never goes below -1

2018-11-07 Thread Tom Rini
From: Konrad Beckmann A specially crafted FIT image makes it possible to overflow the stack with controlled values when using the verified boot feature. Depending on the memory layout, this could be used to overwrite configuration variables on the heap and setting them to 0, e.g. disable

Re: [U-Boot] [U-Boot, 2/2] imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO

2018-11-07 Thread Tom Rini
On Wed, Nov 07, 2018 at 03:50:35AM -0800, Bin Meng wrote: > Due to revert of commit c0434407b595, this board does not build > any more. Disable CONFIG_DISPLAY_CPUINFO for v2018.11 release. > > This commit should be reverted after v2018.11 release. > > Signed-off-by: Bin Meng > Acked-by: Peng

Re: [U-Boot] [PATCH v2 1/2] linux/sizes.h: sync from kernel

2018-11-07 Thread Tom Rini
On Wed, Nov 07, 2018 at 09:40:39AM +0200, Baruch Siach wrote: > The kernel added SZ_4G macro in commit f2b9ba871b (arm64/kernel: kaslr: > reduce module randomization range to 4 GB). > > Include common.h for _AC() instead of the kernel linux/const.h header. > > Drop a local SZ_4G definition in

Re: [U-Boot] [BUG] efi-x86_app_defconfig does not build with gcc 8.2

2018-11-07 Thread Andy Shevchenko
On Thu, Nov 8, 2018 at 2:28 AM Bin Meng wrote: > On Thu, Nov 8, 2018 at 2:02 AM Andy Shevchenko > wrote: > > On Mon, Oct 29, 2018 at 10:41:29PM +0800, Bin Meng wrote: > > > Here it is: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87793 > > P.S. Btw, I recommend to read a commit message to a

[U-Boot] Booting i.MX6UL via SPL?

2018-11-07 Thread Martyn Welch
Hi All, I've been trying to boot a i.MX6UL based device I have here using SPL. It doesn't seem to want to work for me. I see there's a number of i.MX6UL ports in U-Boot already, some use a custom DCD to configure the board, others seem to provide both options (DCD and SPL). Interestingly the

Re: [U-Boot] error in the make: bad value in the asm-offsets.c file

2018-11-07 Thread Chris Packham
Hi Ian, Sarah, On Thu, 8 Nov 2018, 6:09 AM Ian Kane Sarah, > > It looks to me from the attached image that the error is related to an > expected, but missing value for the -march flag. > To me, I'd expect to see "-march=ARMv5 switch" instead of "-march= > switch". Make note of the empty space

[U-Boot] [PATCH v1 1/2] board: toradex: colibri_vf: efi_loader: unset CONFIG_EFI_UNICODE_CAPITALIZATION

2018-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler Unset CONFIG_EFI_UNICODE_CAPITALIZATION on boards with tough size restrictions. This is analogous to commit a90bf07afc43 ("efi_loader: unset CONFIG_EFI_UNICODE_CAPITALIZATION"). Signed-off-by: Marcel Ziswiler --- configs/colibri_vf_defconfig | 1 + 1 file changed, 1

[U-Boot] [PATCH v1 2/2] imx: mkimage: add size check to the u-boot.imx make target

2018-11-07 Thread Marcel Ziswiler
From: Marcel Ziswiler The make macro to check if the binary exceeds the board size limit is taken straight from the root Makefile. Without this and e.g. enabled EFI Vybrid fails booting as the regular size limit check does not take the final u-boot.imx binary size into account which is bigger

Re: [U-Boot] [PATCH 1/2] Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"

2018-11-07 Thread Bin Meng
Hi Simon, On Thu, Nov 8, 2018 at 1:09 AM Simon Glass wrote: > > On 7 November 2018 at 04:50, Bin Meng wrote: > > > > This reverts commit c0434407b595f785fc7401237896c48c791b45fd. > > > > It turns out commit c0434407b595 broke some boards which have DM CPU > > driver with CONFIG_DISPLAY_CPUINFO

Re: [U-Boot] [PATCH v1 1/2] board: toradex: colibri_vf: efi_loader: unset CONFIG_EFI_UNICODE_CAPITALIZATION

2018-11-07 Thread Alexander Graf
On 07.11.18 23:39, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Unset CONFIG_EFI_UNICODE_CAPITALIZATION on boards with tough size > restrictions. > > This is analogous to commit a90bf07afc43 > ("efi_loader: unset CONFIG_EFI_UNICODE_CAPITALIZATION"). > > Signed-off-by: Marcel Ziswiler

Re: [U-Boot] [BUG] efi-x86_app_defconfig does not build with gcc 8.2

2018-11-07 Thread Bin Meng
Hi Andy, On Thu, Nov 8, 2018 at 2:02 AM Andy Shevchenko wrote: > > On Mon, Oct 29, 2018 at 10:41:29PM +0800, Bin Meng wrote: > > On Fri, Oct 26, 2018 at 8:41 PM Andy Shevchenko > > wrote: > > > On Fri, Oct 26, 2018 at 3:23 PM Bin Meng wrote: > > > > On Thu, Oct 25, 2018 at 10:55 PM Bin Meng

Re: [U-Boot] [PATCH v1 2/2] imx: mkimage: add size check to the u-boot.imx make target

2018-11-07 Thread Fabio Estevam
[Adding Stefano] On Wed, Nov 7, 2018 at 8:41 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > The make macro to check if the binary exceeds the board size limit is > taken straight from the root Makefile. > > Without this and e.g. enabled EFI Vybrid fails booting as the regular > size

[U-Boot] [PATCH] fit: Add missing CR in debug output in fit_find_config_node()

2018-11-07 Thread Stefan Roese
Testing has shown that a line-break is missing in one debug line in fit_find_config_node(). Signed-off-by: Stefan Roese --- common/common_fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common_fit.c b/common/common_fit.c index c92d675a0b..3d90eef516 100644 ---

[U-Boot] [PATCH] arm64: zynqmp: Fix logic in CG/EG/EV detection

2018-11-07 Thread Michal Simek
From: Siva Durga Prasad Paladugu The VCU disable bit(8) in IP disable register of efuse is valid only if PL powered up and hence PL powerup status has to be considered while determining the CG part also. This patch considers the PL powerup status and ignores the VCU disable bit if PL not powered

[U-Boot] [PATCH] rockchip: video: mipi: Do not write to the version register

2018-11-07 Thread Richard Röjfors
There was a copy and paste error where the data enable setting was written to the version register. Signed-off-by: Richard Röjfors --- drivers/video/rockchip/rk_mipi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk_mipi.c

Re: [U-Boot] [PATCH] rockchip: video: mipi: Do not write to the version register

2018-11-07 Thread Philipp Tomsich
> On 07.11.2018, at 11:34, Richard Röjfors wrote: > > There was a copy and paste error where the data > enable setting was written to the version register. > > Signed-off-by: Richard Röjfors Reviewed-by: Philipp Tomsich Acked-by: Philipp Tomsich

[U-Boot] [PATCH 1/2] Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"

2018-11-07 Thread Bin Meng
This reverts commit c0434407b595f785fc7401237896c48c791b45fd. It turns out commit c0434407b595 broke some boards which have DM CPU driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail to boot when print_cpuinfo() is called during boot. Fixes are already sent to ML and in

[U-Boot] [PATCH 2/2] imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO

2018-11-07 Thread Bin Meng
Due to revert of commit c0434407b595, this board does not build any more. Disable CONFIG_DISPLAY_CPUINFO for v2018.11 release. This commit should be reverted after v2018.11 release. Signed-off-by: Bin Meng --- configs/imx8qxp_mek_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 2/2] imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO

2018-11-07 Thread Peng Fan
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: 2018年11月7日 19:51 > To: Tom Rini ; Simon Glass ; U-Boot > Mailing List > Cc: Mario Six ; Peng Fan > Subject: [PATCH 2/2] imx8qxp_mek: Disable CONFIG_DISPLAY_CPUINFO > > Due to revert of commit c0434407b595, this

Re: [U-Boot] [PATCH 1/2] Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"

2018-11-07 Thread Peng Fan
> -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: 2018年11月7日 19:51 > To: Tom Rini ; Simon Glass ; U-Boot > Mailing List > Cc: Mario Six ; Peng Fan > Subject: [PATCH 1/2] Revert "board_f: Use static print_cpuinfo if CONFIG_CPU > is > active" > > This reverts

[U-Boot] [GIT PULL] Xilinx fixes for v2018.11-rc3

2018-11-07 Thread Michal Simek
Hi Tom, please pull this one patch to your tree. Thanks, Michal The following changes since commit dd610e616cceda16a81dfa6f9a134877f783548c: Merge tag 'u-boot-imx-20181106' of git://git.denx.de/u-boot-imx (2018-11-06 11:12:00 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v6 34/34] imx: add i.MX8QXP MEK board support

2018-11-07 Thread Fabio Estevam
+ Peng On Wed, Nov 7, 2018 at 4:58 AM Jon Nettleton wrote: > > I have been spending some time on this, at least from the lpddr4 side. > There is a good amount of this that can be abstracted out and made > into general initialization routines. This is all well and good and > you can see that

Re: [U-Boot] Some tegra cleanups and Kconfig migrations

2018-11-07 Thread Peter Robinson
Tom or Tom, Any chance we could get these reviewed and merged, mostly generic cleanups so I don't think most of them are controversial. Peter On Sun, Sep 16, 2018 at 6:23 PM Peter Robinson wrote: > > The following patches are a few cleanups to dangling comments from Kconfig > cleanups and

Re: [U-Boot] [PATCH v6 34/34] imx: add i.MX8QXP MEK board support

2018-11-07 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2018年11月7日 20:36 > To: Jon Nettleton ; Peng Fan > Cc: thar...@gateworks.com; Fabio Estevam ; > U-Boot-Denx > Subject: Re: [U-Boot] [PATCH v6 34/34] imx: add i.MX8QXP MEK board support > > + Peng > > On

[U-Boot] [PATCH 9/9] ARM: Exynos: Add Exynos5433 based TM2 board support

2018-11-07 Thread Marek Szyprowski
This patch adds support for Exynos5433 based TM2 and TM2e boards. u-boot is used to load and decompress kernel image or alternatively (when 'volume down' button is pressed during boot) provide THOR download USB feature for flashing kernel and rootfs images. Based on earlier work done by Lukasz

[U-Boot] [PATCH 0/9] ARM: Exynos: Add TM2 board support

2018-11-07 Thread Marek Szyprowski
Hi All This patchset adds support for TM2 board. u-boot is used to load and decompress kernel image or alternatively (when 'volume down' button is pressed during boot) provide THOR download USB feature for flashing kernel and rootfs images. To let it work, a few minor changes and enhancements

[U-Boot] [PATCH 1/9] cmd: itest: add support for .q size specifier

2018-11-07 Thread Marek Szyprowski
Add support for quad (64bits) memory access. Signed-off-by: Marek Szyprowski --- cmd/itest.c | 12 1 file changed, 12 insertions(+) diff --git a/cmd/itest.c b/cmd/itest.c index fd6f4166f1..1813a131d1 100644 --- a/cmd/itest.c +++ b/cmd/itest.c @@ -72,6 +72,11 @@ static long

[U-Boot] [PATCH 3/9] cmd: thor: select DFU subsystem also for 'thor' download tool

2018-11-07 Thread Marek Szyprowski
'THOR' download command requires DFU infrastructure to properly flash board images. It can be used without enabling DFU command, so add such dependency to Kconfig. Signed-off-by: Marek Szyprowski --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index

[U-Boot] [PATCH 7/9] arm: armv8: add support for boards with broken/unset counter frequency

2018-11-07 Thread Marek Szyprowski
Some boards use legacy firmware which doesn't properly configure ARM architected timer registers. This patch adds a workaround to use the defined COUNTER_FREQUENCY instead of reading its value from the timer registers. Signed-off-by: Marek Szyprowski --- arch/arm/cpu/armv8/generic_timer.c | 4

[U-Boot] [PATCH 8/9] ARM: Exynos: Add minimal support for ARM 64bit based Exynos5433 SoC

2018-11-07 Thread Marek Szyprowski
This patch adds minimal support for Exynos5433 SoC (ARM64 based). The following devices are supported: - mmc0 (for eMMC) - serial1 (for debug/console) - gpa0..3 and gpb0..2 GPIO banks Based on earlier work done by Lukasz Majewski . Signed-off-by: Marek Szyprowski ---

[U-Boot] [PATCH 6/9] mmc: exynos_dw_mmc: fix compilation on ARM64-based Exynos

2018-11-07 Thread Marek Szyprowski
From: Lukasz Majewski Disable some legacy code to let it work on ARM64 based Exynos SoCs. Signed-off-by: Lukasz Majewski [extracted from old sources and adapted to mainline u-boot, minor fixes] Signed-off-by: Marek Szyprowski --- drivers/mmc/exynos_dw_mmc.c | 14 +++--- 1 file

Re: [U-Boot] Some tegra cleanups and Kconfig migrations

2018-11-07 Thread Tom Warren
Sorry, Peter. I missed these. I'll take a look today and get a PR out to Tom before EOW. -Original Message- From: Peter Robinson Sent: Wednesday, November 7, 2018 7:12 AM To: u-boot@lists.denx.de; Tom Warren ; Tom Rini Subject: Re: Some tegra cleanups and Kconfig migrations Tom or

[U-Boot] [PATCH 4/9] dfu: mmc: add support for in-partition offset

2018-11-07 Thread Marek Szyprowski
Add possibility to define a part of partition as a separate DFU entity. This allows to have more than one items on the given partiton. The real use case for this option is TM2 board. It can use u-boot stored as Linux kernel on the defined partiton (as RAW data) and load the real kernel from the

[U-Boot] [PATCH 2/9] gadget: f_thor: properly enable 3rd endpoint defined by the protocol

2018-11-07 Thread Marek Szyprowski
This is needed to make Windows THOR flash tool happy, because it starts sending data only when interrupt packet is received on the 3rd endpoint. Signed-off-by: Marek Szyprowski --- drivers/usb/gadget/f_thor.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/gadget/f_thor.c

[U-Boot] [PATCH 5/9] mmc: dw_mmc: add support for 64bit DMA

2018-11-07 Thread Marek Szyprowski
From: Lukasz Majewski DW-MMC module in Samsung Exynos5433 requires 64bit DMA descriptors. This patch adds code for handling them. Signed-off-by: Lukasz Majewski [extracted from old sources and adapted to mainline u-boot, minor fixes] Signed-off-by: Marek Szyprowski --- drivers/mmc/dw_mmc.c

Re: [U-Boot] error in the make: bad value in the asm-offsets.c file

2018-11-07 Thread Ian Kane
Sarah, It looks to me from the attached image that the error is related to an expected, but missing value for the -march flag. To me, I'd expect to see "-march=ARMv5 switch" instead of "-march= switch". Make note of the empty space in the second. However I defer to anyone else more

Re: [U-Boot] Some tegra cleanups and Kconfig migrations

2018-11-07 Thread Tom Warren
Peter, The SYS_I2C patch doesn't apply cleanly to TOT u-boot-tegra/master (see below git am spew). Please take a look & let me know when you've resent a fixed patchset and I'll retry. Tom tom@tom-lt2:~/denx/uboot-tegra$ git am -s --whitespace=strip

[U-Boot] error in the make: bad value in the asm-offsets.c file

2018-11-07 Thread Sarah Wicker
Good Morning, i am trying to compile u-boot on my pc to use it for a ZedBoard from Xilinx. I cloned the repository u-boot-xlnx using this link: https://github.com/Xilinx/u-boot-xlnx.git Made the first make to build the U-boot for a ZedBoard, it works well. Asked for the second make and i