Re: [U-Boot] [U-Boot, v10, 09/10] tftp: prevent overwriting reserved memory

2019-01-26 Thread Simon Goldschmidt
Am 26.01.2019 um 04:20 schrieb Heinrich Schuchardt: TheOn 1/14/19 10:38 PM, Simon Goldschmidt wrote: This fixes CVE-2018-18439 ("insufficient boundary checks in network image boot") by using lmb to check for a valid range to store received blocks. Signed-off-by: Simon Goldschmidt Acked-by:

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2019-01-26 Thread Marek Vasut
On 1/25/19 3:35 PM, Ooi, Joyce wrote: >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Friday, January 4, 2019 10:56 PM >> To: Ooi, Joyce ; Joe Hershberger >> >> Cc: See, Chin Liang ; Ong, Hean Loong >> ; Priyanka Jain ; u- >> b...@lists.denx.de >> Subject: Re:

Re: [U-Boot] [PATCH 5/5] arm: socfpga: implement proper peripheral reset

2019-01-26 Thread Marek Vasut
On 1/25/19 9:30 PM, Simon Goldschmidt wrote: > This commit removes ad-hoc reset handling for peripheral resets from SPL > for socfpga gen5. > > This is done because as U-Boot drivers support reset handling by now. > > For kernels that don't support taking peripherals out of reset that are > not

Re: [U-Boot] [PATCH 2/5] arm: socfpga: move SDR reset handling to driver

2019-01-26 Thread Marek Vasut
On 1/25/19 9:30 PM, Simon Goldschmidt wrote: > To clean up reset handling for socfpga gen5, let's move the code snippet > taking the DDR controller out of reset from SPL to the DDR driver. > > Signed-off-by: Simon Goldschmidt > --- > > arch/arm/mach-socfpga/spl_gen5.c | 1 - >

Re: [U-Boot] [PATCH 1/5] arm: socfpga: gen5: add reset handles to devicetrees

2019-01-26 Thread Marek Vasut
On 1/25/19 9:30 PM, Simon Goldschmidt wrote: > The SPL for socfpga gen5 currently takes all peripherals out of reset > unconditionally. To implement proper reset handling for peripherals, > some device tree nodes are missing reset handles. > > Since the socfpga gen5 devicetrees are currently in

Re: [U-Boot] [PATCH 4/5] spi: cadence_qspi: add reset handling

2019-01-26 Thread Marek Vasut
On 1/25/19 9:30 PM, Simon Goldschmidt wrote: > This adds reset handling to the devicetree-enabled denalid nand driver. > > For backwards compatibility, only a warning is printed when failing to > get reset handles. > > Signed-off-by: Simon Goldschmidt > --- > > drivers/spi/cadence_qspi.c | 9

Re: [U-Boot] [U-Boot, RESEND, v3, 1/1] avb: add support for named persistent values

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 02:17:00PM +0200, Igor Opaniuk wrote: > AVB version 1.1 introduces support for named persistent values > that must be tamper evident and allows AVB to store arbitrary key-value > pairs [1]. > > Introduce implementation of two additional AVB operations >

Re: [U-Boot] [U-Boot, v10, 09/10] tftp: prevent overwriting reserved memory

2019-01-26 Thread Heinrich Schuchardt
On 1/26/19 10:56 AM, Heinrich Schuchardt wrote: > On 1/26/19 9:46 AM, Simon Goldschmidt wrote: >> Am 26.01.2019 um 04:20 schrieb Heinrich Schuchardt: >>> TheOn 1/14/19 10:38 PM, Simon Goldschmidt wrote: This fixes CVE-2018-18439 ("insufficient boundary checks in network image boot") by

Re: [U-Boot] [U-Boot, v10, 09/10] tftp: prevent overwriting reserved memory

2019-01-26 Thread Heinrich Schuchardt
On 1/26/19 9:46 AM, Simon Goldschmidt wrote: > Am 26.01.2019 um 04:20 schrieb Heinrich Schuchardt: >> TheOn 1/14/19 10:38 PM, Simon Goldschmidt wrote: >>> This fixes CVE-2018-18439 ("insufficient boundary checks in network >>> image boot") by using lmb to check for a valid range to store >>>

Re: [U-Boot] imx8mq-evk: Outbound network packets lost

2019-01-26 Thread Chris Spencer
On Sat, 26 Jan 2019 at 01:14, Sergey Kubushyn wrote: > Thanks for a reply. The problem here is not with leftover descriptors -- it > is MDIO bus not working at all. It is either bogus speed/clock in DM mode or > something else that I haven't found yet. Reading all zeroes means there is > no

[U-Boot] [PATCH 1/1] test/py: use default load address for tftp

2019-01-26 Thread Heinrich Schuchardt
On x86_64 the size of the file u-boot loaded by the tftp test has grown in size such that when loading the file to 0x20 it overwrites a memory area reserved for PCI. If no load address is specified for tftp do not use the ram base address (or if zero 0x20) but the default address.

Re: [U-Boot] [PATCH 2/3] spi: Add support for the Aspeed ast2500 SPI controllers

2019-01-26 Thread Vignesh R
Hi Cédric, On 25/01/19 11:30 PM, Boris Brezillon wrote: > +Vignesh > [...] >> The first is about performing direct accesses on the AHB window on which >> the flash contents is mapped. > > We have introduced the dirmap API/interface exactly for this purpose, > and the SPI NOR layer will use it

Re: [U-Boot] [PATCH 3/5] mtd: rawnand: denali: add reset handling

2019-01-26 Thread Marek Vasut
On 1/25/19 9:30 PM, Simon Goldschmidt wrote: > This adds reset handling to the devicetree-enabled denalid nand driver. > > For backwards compatibility, only a warning is printed when failing to > get reset handles. > > Signed-off-by: Simon Goldschmidt > --- > >

Re: [U-Boot] [PATCH] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-26 Thread Heinrich Schuchardt
On 1/25/19 10:43 PM, Ard Biesheuvel wrote: > On Fri, 25 Jan 2019 at 19:21, Heinrich Schuchardt wrote: >> >> On 1/23/19 6:33 PM, Alexander Graf wrote: >>> While discussing something compeltely different, Ard pointed out >>> that it might be legal to omit calling SetVirtualAddressMap altogether.

Re: [U-Boot] [U-Boot, v10, 09/10] tftp: prevent overwriting reserved memory

2019-01-26 Thread Tom Rini
On Sat, Jan 26, 2019 at 09:46:35AM +0100, Simon Goldschmidt wrote: > Am 26.01.2019 um 04:20 schrieb Heinrich Schuchardt: > >TheOn 1/14/19 10:38 PM, Simon Goldschmidt wrote: > >>This fixes CVE-2018-18439 ("insufficient boundary checks in network > >>image boot") by using lmb to check for a valid

Re: [U-Boot] [PATCH 1/1] test/py: use default load address for tftp

2019-01-26 Thread Heinrich Schuchardt
On 1/26/19 4:58 PM, Tom Rini wrote: > On Sat, Jan 26, 2019 at 03:25:12PM +0100, Heinrich Schuchardt wrote: >> On x86_64 the size of the file u-boot loaded by the tftp test has grown in >> size such that when loading the file to 0x20 it overwrites a memory >> area reserved for PCI. >> >> If no

Re: [U-Boot] [PATCH] lmb: handle more than one DRAM BANK

2019-01-26 Thread Heinrich Schuchardt
On 1/26/19 10:13 PM, Simon Goldschmidt wrote: > This fixes the automatic lmb initialization and reservation for boards > with more than one DRAM bank. > > This fixes the CVE-2018-18439 and -18440 fixes that only allowed to load > files into the firs DRAM bank from fs and via tftp. > > Found-by:

Re: [U-Boot] [PATCH 1/1] test/py: use default load address for tftp

2019-01-26 Thread Stephen Warren
On 1/26/19 7:25 AM, Heinrich Schuchardt wrote: > On x86_64 the size of the file u-boot loaded by the tftp test has grown in > size such that when loading the file to 0x20 it overwrites a memory > area reserved for PCI. > > If no load address is specified for tftp do not use the ram base

[U-Boot] [PATCH] lmb: handle more than one DRAM BANK

2019-01-26 Thread Simon Goldschmidt
This fixes the automatic lmb initialization and reservation for boards with more than one DRAM bank. This fixes the CVE-2018-18439 and -18440 fixes that only allowed to load files into the firs DRAM bank from fs and via tftp. Found-by: Heinrich Schuchardt Signed-off-by: Simon Goldschmidt ---

Re: [U-Boot] [PATCH 1/1] test/py: use default load address for tftp

2019-01-26 Thread Heinrich Schuchardt
On 1/26/19 9:33 PM, Stephen Warren wrote: > On 1/26/19 7:25 AM, Heinrich Schuchardt wrote: >> On x86_64 the size of the file u-boot loaded by the tftp test has grown in >> size such that when loading the file to 0x20 it overwrites a memory >> area reserved for PCI. >> >> If no load address is

Re: [U-Boot] [PATCH 1/1] test/py: use default load address for tftp

2019-01-26 Thread Tom Rini
On Sat, Jan 26, 2019 at 03:25:12PM +0100, Heinrich Schuchardt wrote: > On x86_64 the size of the file u-boot loaded by the tftp test has grown in > size such that when loading the file to 0x20 it overwrites a memory > area reserved for PCI. > > If no load address is specified for tftp do not

Re: [U-Boot] [U-Boot, v10, 09/10] tftp: prevent overwriting reserved memory

2019-01-26 Thread Simon Goldschmidt
Am 26.01.2019 um 14:17 schrieb Tom Rini: On Sat, Jan 26, 2019 at 09:46:35AM +0100, Simon Goldschmidt wrote: Am 26.01.2019 um 04:20 schrieb Heinrich Schuchardt: TheOn 1/14/19 10:38 PM, Simon Goldschmidt wrote: This fixes CVE-2018-18439 ("insufficient boundary checks in network image boot") by

Re: [U-Boot] [U-Boot, v10, 09/10] tftp: prevent overwriting reserved memory

2019-01-26 Thread Simon Goldschmidt
Am 26.01.2019 um 10:56 schrieb Heinrich Schuchardt: On 1/26/19 9:46 AM, Simon Goldschmidt wrote: Am 26.01.2019 um 04:20 schrieb Heinrich Schuchardt: TheOn 1/14/19 10:38 PM, Simon Goldschmidt wrote: This fixes CVE-2018-18439 ("insufficient boundary checks in network image boot") by using lmb

Re: [U-Boot] [U-Boot, RESEND, v3, 1/1] avb: add support for named persistent values

2019-01-26 Thread Igor Opaniuk
Hi Tom, Thanks for notifying, I totally forgot about sandbox tee driver emulation (I've run these tests only on real hardware :( ). Will fix and send v4 ASAP. Regards, Igor On Sat, 26 Jan 2019 at 15:14, Tom Rini wrote: > > On Thu, Jan 17, 2019 at 02:17:00PM +0200, Igor Opaniuk wrote: > > >

Re: [U-Boot] [U-Boot, 3/3] poplar: clean up board level mmc initialization code

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 12:09:52PM +0800, Shawn Guo wrote: > We have converted mmc to driver model on Poplar. So let's clean up > board level mmc initialization code. > > Signed-off-by: Shawn Guo > Acked-by: Manivannan Sadhasivam Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, PATCHv1] arm: stm32mp1: deploy spl in root folder

2019-01-26 Thread Tom Rini
On Fri, Jan 04, 2019 at 11:37:24AM +, Sean Nyekjær wrote: > Deploy u-boot-spl.stm32 binary in u-boot root folder like > the rest of the boards. > This makes it more streamlined when building in Yocto, Buildroot etc.. > > Signed-off-by: Sean Nyekjaer > Signed-off-by: Sean Nyekjaer Applied

Re: [U-Boot] [U-Boot, 2/3] mmc: hi6220_dw_mmc: add compatible for Poplar support

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 12:09:51PM +0800, Shawn Guo wrote: > It adds compatible "hisilicon,hi3798cv200-dw-mshc" for Poplar SoC > Hi3798CV200 to probe this mmc driver. > > Signed-off-by: Shawn Guo > Acked-by: Manivannan Sadhasivam Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/3] poplar: sync up device tree with kernel 4.20

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 12:09:50PM +0800, Shawn Guo wrote: > It adds missing pinctrl headers, updates clock header and sync up Poplar > device tree with kernel 4.20 release. > > Signed-off-by: Shawn Guo Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] atmel: add CMD_FS_GENERIC to SAMA5D3 for EFI boot

2019-01-26 Thread Tom Rini
On Sun, Jan 20, 2019 at 11:51:26PM -0500, Greg Czerniak wrote: > I'm working on getting OpenBSD to run on the Atmel SAMA5D3 Xplained. > OpenBSD uses an EFI bootloader, which requires the "load" command to > work, since "fatload" doesn't initialize the EFI memory addresses > properly. To get

Re: [U-Boot] [U-Boot, v3, 3/7] dfu: Remove dependency on HUSH parser in SPL

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 01:43:04PM -0600, Andrew F. Davis wrote: > CLI support with the HUSH parser is not currently SPL safe due to it's > use of realloc. That function is not defined for SPLs that use > SYS_MALLOC_SIMPLE. CLI support can be built in to SPL and some functions > do work, but use

Re: [U-Boot] [U-Boot, v1, 2/5] arm: mach-snapdragon: add pinctrl driver for db820c

2019-01-26 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:47:25AM +0200, Ramon Fried wrote: > Add pinctrl driver for Dragonboard820c, currently with only > one mux func to initialize pins for serial console. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] MAINTAINERS: update stm32mp1 path for arch

2019-01-26 Thread Tom Rini
On Mon, Jan 21, 2019 at 05:20:00PM +0100, Patrick Delaunay wrote: > Handle correctly directory arch/arm/mach-stm32mp/ : > Add a trailing slash to include all files > and subdirectory files. > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v1, 3/5] configs: dragonboard820c: Enable pinctrl/mux config

2019-01-26 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:47:26AM +0200, Ramon Fried wrote: > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v3, 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 01:43:05PM -0600, Andrew F. Davis wrote: > Like AM33xx and AM43xx, DRA7xx and AM57xx devices may need to > have an non-standard boot address in memory. This may be due > to the device being a high security variant, which place the > Initial SoftWare (ISW) after

Re: [U-Boot] misc: i2c_eeprom: Add atmel,24c08 to the list

2019-01-26 Thread Tom Rini
On Mon, Jan 21, 2019 at 01:54:57PM +0100, Michal Simek wrote: > Linux kernel binding is using atmel,24c08 compatible string. On the > other hand there is atmel,24c08a which is not listed in the kernel. > Add compatible string without "a" suffix to be compatible with Linux > kernel binding. > >

Re: [U-Boot] [U-Boot, 1/2] lib: lmb: rename lmb_get_unreserved_size to lmb_get_free_size

2019-01-26 Thread Tom Rini
On Mon, Jan 21, 2019 at 08:29:55PM +0100, Simon Goldschmidt wrote: > As a follow-up, change the name of the newly introduced function > 'lmb_get_unreserved_size' to 'lmb_get_free_size', which is more > appropriate. > > Signed-off-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 2/2] mmc: mtk-sd: fix SPL compilation when GPIO=y and SPL_GPIO=n

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 06:06:01PM +0100, Fabien Parent wrote: > It is not possible to link the SPL image when CONFIG_GPIO is enabled > but CONFIG_SPL_GPIO is not. Use the IS_ENABLED macro instead to > correctly check whether CONFIG_{SPL_}GPIO is enabled. > > This commit fixes the following

Re: [U-Boot] [U-Boot,1/1] hashtable: remove caps buffer

2019-01-26 Thread Tom Rini
On Wed, Jan 23, 2019 at 08:17:02AM +0100, Heinrich Schuchardt wrote: > slre_match() checks if caps == NULL. In this case it does not try to > update it. So there is no need to create a buffer caps which we do not > evaluate. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master,

Re: [U-Boot] [U-Boot, 1/2] env: common: Return specific error code on bad CRC

2019-01-26 Thread Tom Rini
On Fri, Jan 18, 2019 at 09:19:03PM +0200, Sam Protsenko wrote: > Callers of env_import*() functions might want to check the case when we > have incorrect environment (with bad CRC). For example, when environment > location is being defined in env_load(), call chain may look like this: > >

Re: [U-Boot] ARM: chiliboard: enable DM_SPI

2019-01-26 Thread Tom Rini
On Fri, Jan 18, 2019 at 05:35:42PM +0100, Marcin Niestroj wrote: > Add DM_SPI to suppress build warning about dm conversion. > > Signed-off-by: Marcin Niestroj Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] Makefile: Only build dtc if needed

2019-01-26 Thread Tom Rini
On Tue, Nov 13, 2018 at 03:43:07PM -0700, Simon Glass wrote: > At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined. This > is wasteful when the system already has a suitable version available. > > Update the Makefile logic to build dtc only if the version available is > too old.

Re: [U-Boot] [U-Boot, v1, 1/5] arm: mach-snapdragon: db820c: Actually init PLL for serial

2019-01-26 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:47:24AM +0200, Ramon Fried wrote: > The PLL for the UART was not set, and relied on previous > initializtion made by LK. add the appropriate initialization. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] cmd: ximg: Invert check for fit image compression

2019-01-26 Thread Tom Rini
On Mon, Jan 07, 2019 at 10:25:52AM +0100, Stefan Theil wrote: > The imgextract command runs a number of checks of > the specified fit. Where it checks for a load address > for compressed images the logic in the expression > is inverted as fit_image_check_comp returns 1 on > success and not 0.

Re: [U-Boot] [U-Boot, v1, 5/5] dts: 820c: Add pinctrl node and uart mux

2019-01-26 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:47:28AM +0200, Ramon Fried wrote: > * Add pinctrl node for TLMM and add mux request for uart node. > * Rename uart to the actual board uart port. > * Fix indentendation of sdhc2 node. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v3, 5/7] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 01:43:06PM -0600, Andrew F. Davis wrote: > Add a new defconfig file for the DRA7xx High Security EVM. This config > is specific for the case of USB booting. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini OK, this an the am57xx_hs_evm_usb config no longer

Re: [U-Boot] Please pull ARC changes

2019-01-26 Thread Tom Rini
On Fri, Jan 25, 2019 at 05:52:31AM +, Alexey Brodkin wrote: > Hi Tom, > > The following changes since commit ce0d1e48165fdd3bde4bb431f1d2e100b1617a6e: > > Merge tag 'xilinx-for-v2019.04' of git://git.denx.de/u-boot-microblaze > (2019-01-24 10:47:05 -0500) > > are available in the Git

Re: [U-Boot] bcm968380gerg: disable SPI_FLASH

2019-01-26 Thread Tom Rini
On Mon, Jan 21, 2019 at 06:52:05PM +0100, Philippe Reynes wrote: > The board bcm968380gerg don't have a spi flash so > we disable the spi flash support. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v1,1/1] arm64: dt: poplar: add optee node

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 04:37:40PM +0200, Igor Opaniuk wrote: > As Poplar supports running TF-A with OP-TEE as BL32 > payload, add op-tee node in DT, which enables usage of > OP-TEE driver (which provides an interface for requesting services > from OP-TEE). > > Signed-off-by: Igor Opaniuk >

Re: [U-Boot] tests: dtoc: adapt tests to changed dtoc output

2019-01-26 Thread Tom Rini
On Mon, Jan 21, 2019 at 10:07:55AM +0100, Simon Goldschmidt wrote: > The dtoc tests need to be adapted to dtoc being changed to output platdata > structs as const, which has been introduced in commit 7d05d3a8e35f ("dtoc: > make generated platdata structs const"). > > Fixes: 7d05d3a8e35f ("dtoc:

Re: [U-Boot] [U-Boot, RESEND] drivers: esdhc: add support for ColdFire mcf5441x family

2019-01-26 Thread Tom Rini
On Sat, Jan 19, 2019 at 10:40:38AM +0100, Angelo Dureghello wrote: > This patch has been tested on the mcf54415-based stmark2 > board. The eSDHC driver works reliably using DMA mode. > > Signed-off-by: Angelo Dureghello Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] Makefile: have "make distclean" remove CHANGELOG

2019-01-26 Thread Tom Rini
On Fri, Jan 18, 2019 at 08:41:23AM -0500, Robert P. J. Day wrote: > Ensure that "make distclean" deletes an existing CHANGELOG file. > > Signed-off-by: Robert P. J. Day > > diff --git a/Makefile b/Makefile > index 3be9fc5c34..b9e8b0952c 100644 Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v3, 1/7] spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 01:43:02PM -0600, Andrew F. Davis wrote: > The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same > meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT > to allow for cleaner use in code. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini > Acked-by:

Re: [U-Boot] [U-Boot, 1/2] mmc: mtk-sd: fix possible incomplete read ops

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 06:06:00PM +0100, Fabien Parent wrote: > The code is checking for incomplete read when it see the INT_XFER_COMPL > flag, but it forget to first check whether there is anything left in the > FIFO to copy to the RX buffer. This means that sometimes we will get > errors

Re: [U-Boot] [U-Boot, 2/2] env: Fix saving environment to "bad CRC" location

2019-01-26 Thread Tom Rini
On Fri, Jan 18, 2019 at 09:19:04PM +0200, Sam Protsenko wrote: > In case when the environment on some location is malformed (CRC isn't > matching), there is a chance we won't be able to save the environment to > that location. For example, consider the case when we only have the > environment on

Re: [U-Boot] [U-Boot, v3, 2/7] dfu: Make DFU support more SPL friendly

2019-01-26 Thread Tom Rini
On Thu, Jan 17, 2019 at 01:43:03PM -0600, Andrew F. Davis wrote: > Do this by using $(SPL_) in Makefiles and CONFIG_IS_ENABLED in C code. > This ensures the files and features are only built into the right build > for which they are enabled. Using the macros to simplify this patch was > made

Re: [U-Boot] [U-Boot, 2/2] lib: lmb: cleanup var names and patman warnings

2019-01-26 Thread Tom Rini
On Mon, Jan 21, 2019 at 08:29:56PM +0100, Simon Goldschmidt wrote: > Change multiple usages of 'j' into 'rgn'; fix whitespace/coding style > reported by patman. > > Signed-off-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v1, 4/5] arm: mach-snapdragon: pinctrl: clarify gpio disable bit

2019-01-26 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:47:27AM +0200, Ramon Fried wrote: > The TLMM_GPIO_ENABLE bit is actually use to disable > the GPIO. change it to TLMM_GPIO_DISABLE so it's clearer. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] lmb: handle more than one DRAM BANK

2019-01-26 Thread Heinrich Schuchardt
On 1/26/19 10:27 PM, Heinrich Schuchardt wrote: > On 1/26/19 10:13 PM, Simon Goldschmidt wrote: >> This fixes the automatic lmb initialization and reservation for boards >> with more than one DRAM bank. >> >> This fixes the CVE-2018-18439 and -18440 fixes that only allowed to load >> files into

[U-Boot] [Bug?] raspberrypi: UART issue in combination with pi3-disable-bt device-tree overlay

2019-01-26 Thread Orne Brocaar
Hello, I ran into an issue with the UART interface and U-Boot on a Raspberry Pi 3 (rpi_3_32b_defconfig). In my config.txt I have added the following lines: dtparam=spi=on enable_uart=1 core_freq=250 dtoverlay=pi3-disable-bt This works fine when directly booting the Linux kernel, however when