Re: [U-Boot] [U-Boot, 3/3] linker: Modify linker scripts to be more generic

2019-01-28 Thread Tom Rini
On Tue, Jan 22, 2019 at 05:09:26PM -0500, Tom Rini wrote: > Make use of "IMAGE_MAX_SIZE" and "IMAGE_TEXT_BASE" rather than > CONFIG_SPL_MAX_SIZE and CONFIG_SPL_TEXT_BASE. This lets us re-use the > same script for both SPL and TPL. Add logic to scripts/Makefile.spl to > pass in the right value wh

Re: [U-Boot] [U-Boot,2/3] rockchip: Add TPL_MAX_SIZE for RK3288

2019-01-28 Thread Tom Rini
On Tue, Jan 22, 2019 at 05:09:25PM -0500, Tom Rini wrote: > Per Kever Yang, 32768 is a reasonable max size for TPL on RK3288. > > Cc: Kever Yang > Cc: Philipp Tomsich > Signed-off-by: Tom Rini > Reviewed-by: Kever Yang Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [U-Boot] [U-Boot, 1/3] PowerPC: Stop re-using CONFIG_SPL_TEXT_BASE for TPL

2019-01-28 Thread Tom Rini
On Tue, Jan 22, 2019 at 05:09:24PM -0500, Tom Rini wrote: > Rather than checking for CONFIG_TPL_BUILD and then re-defining > CONFIG_SPL_TEXT_BASE make use of CONFIG_TPL_TEXT_BASE directly. > > Cc: York Sun > Cc: Po Liu > Cc: Qiang Zhao > Cc: Timur Tabi > Signed-off-by: Tom Rini After some u

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

2019-01-28 Thread Tom Rini
On Mon, Jan 28, 2019 at 10:18:37AM +, Patrick DELAUNAY wrote: > Hi Tom, > > > -Original Message- > > From: U-Boot On Behalf Of Tom Rini > > Sent: dimanche 27 janvier 2019 04:51 > > To: Sean Nyekjær > > Cc: u-boot@lists.denx.de > > S

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

2019-01-28 Thread Patrick DELAUNAY
Hi Tom, > -Original Message- > From: U-Boot On Behalf Of Tom Rini > Sent: dimanche 27 janvier 2019 04:51 > To: Sean Nyekjær > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [U-Boot, PATCHv1] arm: stm32mp1: deploy spl in root > folder > > On Fri, Jan 04, 201

Re: [U-Boot] [U-Boot, 4/4] sound: rockchip: Add sound support for jerry

2019-01-28 Thread Philipp Tomsich
> Jerry uses a max98090 audio codec and the internal SoC I2S peripheral. > Enable sound support and add the required device-tree pieces. > > Signed-off-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > > arch/arm/dts/rk3288-veyron-jerry.dts | 12 > arch/arm/dts/rk3288-veyron.

Re: [U-Boot] [U-Boot,3/4] rockchip: Add a sound driver

2019-01-28 Thread Philipp Tomsich
> Add a sound driver for rk3288 supporting chromebook_jerry. This uses the > I2S driver, and existing audio codec and the clock/pinmux support. > > Signed-off-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > > drivers/sound/Makefile | 2 +- > drivers/sound/rockchip_sound.c | 13

Re: [U-Boot] [U-Boot, 1/4] rockchip: rk3288: Add i2s pinctrl and clock support

2019-01-28 Thread Philipp Tomsich
> Add support for setting pinctrl and clock for I2S on rk3288. This allows > the sound driver to operate. These settings were created by rkmux.py > > Signed-off-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > > .../include/asm/arch-rockchip/cru_rk3288.h| 8 ++ > .../include/asm/arc

Re: [U-Boot] [U-Boot, 1/2] rockchip: chromebook_minnie: Enable sound

2019-01-28 Thread Philipp Tomsich
> Enable sound for this board, which has the same codec as jerry. > > Signed-off-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > > arch/arm/dts/rk3288-veyron-minnie.dts | 12 > configs/chromebook_minnie_defconfig | 5 + > 2 files changed, 17 insertions(+) > Applied

Re: [U-Boot] [U-Boot,2/4] rockchip: Add an I2S driver

2019-01-28 Thread Philipp Tomsich
> Add a driver for I2S which allows audio data to be sent from the SoC to > the audio codec. The sample rate and other settings are hard-coded for now > as there is no suitable device-tree binding available. > > Signed-off-by: Simon Glass > Reviewed-by: Philipp Tomsich > --- > > drivers/sound/

Re: [U-Boot] [U-Boot, 1/2] rockchip: chromebook_minnie: Enable sound

2019-01-27 Thread Philipp Tomsich
> Enable sound for this board, which has the same codec as jerry. > > Signed-off-by: Simon Glass > --- > > arch/arm/dts/rk3288-veyron-minnie.dts | 12 > configs/chromebook_minnie_defconfig | 5 + > 2 files changed, 17 insertions(+) > Reviewed-by: Philipp Tomsich _

Re: [U-Boot] [U-Boot,2/4] rockchip: Add an I2S driver

2019-01-27 Thread Philipp Tomsich
> Add a driver for I2S which allows audio data to be sent from the SoC to > the audio codec. The sample rate and other settings are hard-coded for now > as there is no suitable device-tree binding available. > > Signed-off-by: Simon Glass > --- > > drivers/sound/Kconfig| 9 +++ > driv

Re: [U-Boot] [U-Boot,3/4] rockchip: Add a sound driver

2019-01-27 Thread Philipp Tomsich
> Add a sound driver for rk3288 supporting chromebook_jerry. This uses the > I2S driver, and existing audio codec and the clock/pinmux support. > > Signed-off-by: Simon Glass > --- > > drivers/sound/Makefile | 2 +- > drivers/sound/rockchip_sound.c | 132 ++

Re: [U-Boot] [U-Boot, 4/4] sound: rockchip: Add sound support for jerry

2019-01-27 Thread Philipp Tomsich
> Jerry uses a max98090 audio codec and the internal SoC I2S peripheral. > Enable sound support and add the required device-tree pieces. > > Signed-off-by: Simon Glass > --- > > arch/arm/dts/rk3288-veyron-jerry.dts | 12 > arch/arm/dts/rk3288-veyron.dtsi | 1 + > arch/arm/dts

Re: [U-Boot] [U-Boot, 1/4] rockchip: rk3288: Add i2s pinctrl and clock support

2019-01-27 Thread Philipp Tomsich
> Add support for setting pinctrl and clock for I2S on rk3288. This allows > the sound driver to operate. These settings were created by rkmux.py > > Signed-off-by: Simon Glass > --- > > .../include/asm/arch-rockchip/cru_rk3288.h| 8 ++ > .../include/asm/arch-rockchip/grf_rk3288.h| 96

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: > > env

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 erro

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, thank

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 becaus

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] [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 possi

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, 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 e

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 > Revi

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: PGP

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] [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 o

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] [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 https://lists.denx.de/listinfo/

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 certificates

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 Descr

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 t

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 Desc

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 signatur

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 sign

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 bui

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 to

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 u

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: > > > AVB

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 us

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 ran

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 > read_persistent_val

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 >>> receiv

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: Joe

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

2019-01-25 Thread 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: Joe Hershberger > --- Hello Simon, due to t

Re: [U-Boot] [U-Boot,v1] dm: led: add TI LP5562 LED driver

2019-01-25 Thread Tom Rini
On Thu, Jan 10, 2019 at 02:05:57PM -0600, Doug Zobel wrote: > Driver for the TI LP5562 4 channel LED controller. Supports > independent on/off control of all 4 channels. Supports LED_BLINK > on 3 independent channels: blue/green/red. The white channel can > blink, but shares the blue channel bl

Re: [U-Boot] u-boot-dm failures in "ut dm bootcount"

2019-01-22 Thread Simon Glass
Hi Philipp, On Wed, 23 Jan 2019 at 05:51, Stephen Warren wrote: > > Simon, > > In the latest u-boot-dm.git, sandbox fails as follows: > > => ut dm bootcount > Test: dm_test_bootcount: bootcount.c > /var/lib/jenkins/workspace/u-boot-denx_uboot_dm-master-build/src/u-boot/test/dm/bootcount.c:18, > d

[U-Boot] u-boot-dm failures in "ut dm bootcount"

2019-01-22 Thread Stephen Warren
Simon, In the latest u-boot-dm.git, sandbox fails as follows: => ut dm bootcount Test: dm_test_bootcount: bootcount.c /var/lib/jenkins/workspace/u-boot-denx_uboot_dm-master-build/src/u-boot/test/dm/bootcount.c:18, dm_test_bootcount(): 0 == uclass_get_device(UCLASS_BOOTCOUNT, 0, &dev): Expected

Re: [U-Boot] [U-Boot,v3,1/5] Kconfig: Migrate BOUNCE_BUFFER

2019-01-19 Thread Tom Rini
On Fri, Nov 30, 2018 at 10:13:25PM +0100, Philipp Tomsich wrote: > The bounce buffer is used by a few drivers (most of the MMC drivers) > to overcome limitations in their respective DMA implementation. > > This moves the configuration to Kconfig and makes it user-selectable > (even though it will

Re: [U-Boot] [U-Boot,v2,2/2] travis: Switch QEMU to 3.1.0 version

2019-01-18 Thread Tom Rini
On Wed, Jan 16, 2019 at 03:18:44PM +0100, Michal Simek wrote: > Vexpress ca15_tc2 is failing with 3.1.0 because of QEMU issue. > When this patch is applied > https://patchwork.kernel.org/patch/10754401/ > Vexpress can be also turn to newer QEMU version. > > Signed-off-by: Michal Simek > Reviewed

Re: [U-Boot] [U-Boot,08/10] pinctrl: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:26PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass 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] adding saveenv-command for bananapi r2

2019-01-18 Thread Tom Rini
On Tue, Jan 15, 2019 at 06:49:06PM +0100, Frank Wunderlich wrote: > bananapi r2 can be booted from sd-card and emmc > saving the environment have to choose the storage > from which the device has booted > > also the offset is set to 1MB to make sure env is written > to block "user data area" betw

Re: [U-Boot] [U-Boot, v2, 1/2] travis: Setup QEMU_VERSION as variable

2019-01-18 Thread Tom Rini
On Wed, Jan 16, 2019 at 03:18:43PM +0100, Michal Simek wrote: > This change enables setting up specific Qemu version or sha1 for new > targets which are added after (current) v3.0.0 version. > This changes is preparation step for adding new Xilinx Versal Virt > platform which was merge after v3.0.

Re: [U-Boot] [U-Boot,01/10] Kconfig: fix spelling

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:19PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass 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,10/10] lib: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:28PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass 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,05/10] work_92105: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:23PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listi

Re: [U-Boot] [U-Boot,06/10] drivers: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:24PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass 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,04/10] x86: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:22PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass 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,03/10] arm: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:21PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listi

Re: [U-Boot] [U-Boot,07/10] i2c: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:25PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listi

Re: [U-Boot] [U-Boot,09/10] video: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:27PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Anatolij Gustschin > Reviewed-by: Philipp Tomsich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U

Re: [U-Boot] [U-Boot,1/1] disk: efi: GUIDs should be const

2019-01-18 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:25:25AM +0100, Heinrich Schuchardt wrote: > Make system_guid const. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot,02/10] common: spl: Kconfig: spelling fixes

2019-01-18 Thread Tom Rini
On Sun, Jan 13, 2019 at 10:13:20PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass 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, 2/2] mach-snapdragon: db410: pinctrl: fix pin count

2019-01-18 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:48:28AM +0200, Ramon Fried wrote: > Pin count in APQ8016 was wrong, fix that. > > Fixes: ad97051b7ff6 ("mach-snapdragon: Introduce pinctrl driver") > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot,1/2] dts: db410: fix indentation

2019-01-18 Thread Tom Rini
On Sat, Jan 12, 2019 at 11:48:27AM +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 https://lists.denx.de/listinfo/

Re: [U-Boot] [u-boot][PATCH] ls1046aqds: Bypass xfi port fixup for KR mode

2019-01-18 Thread York Sun
On 12/10/18 1:27 AM, Florinel Iordache wrote: > u-boot makes a fixup for LS1046AQDS board to setup the properties > 'fixed-link' and 'phy-connection-type' to 'xgmii' but in case of > backplane mode this fixup is not correct because it causes the KR link > to fail and so it must be bypassed in or

Re: [U-Boot] [U-Boot, v1] mmc: fsl_esdhc: make get_cd work well in dm_mmc_ops

2019-01-18 Thread York Sun
On 12/14/18 2:02 AM, Yinbo Zhu wrote: > This patch is to make get_cd work well when DM_MMC enabled > > Signed-off-by: Yinbo Zhu > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lis

Re: [U-Boot] [U-Boot, v10, 05/10] lib: lmb: extend lmb for checks at load time

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:18PM +0100, Simon Goldschmidt wrote: > This adds two new functions, lmb_alloc_addr and > lmb_get_unreserved_size. > > lmb_alloc_addr behaves like lmb_alloc, but it tries to allocate a > pre-specified address range. Unlike lmb_reserve, this address range > must be ins

Re: [U-Boot] [U-Boot, v10, 04/10] fdt: parse "reserved-memory" for memory reservation

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:17PM +0100, Simon Goldschmidt wrote: > boot_fdt_add_mem_rsv_regions() adds reserved memory sections to an lmb > struct. Currently, it only parses regions described by /memreserve/ > entries. > > Extend this to the more commonly used scheme of the "reserved-memory" >

Re: [U-Boot] [U-Boot, v10, 06/10] fs: prevent overwriting reserved memory

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:19PM +0100, Simon Goldschmidt wrote: > This fixes CVE-2018-18440 ("insufficient boundary checks in filesystem > image load") by using lmb to check the load size of a file against > reserved memory addresses. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon

Re: [U-Boot] [U-Boot, v10, 02/10] lmb: fix allocation at end of address range

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:15PM +0100, Simon Goldschmidt wrote: > The lmb code fails if base + size of RAM overflows to zero. > > Fix this by calculating end as 'base + size - 1' instead of 'base + size' > where appropriate. > > Added tests to assert this is fixed. > > Signed-off-by: Simon G

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

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:22PM +0100, 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: Joe Hershberger With some

Re: [U-Boot] [U-Boot, v10, 08/10] lmb: remove unused extern declaration

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:21PM +0100, Simon Goldschmidt wrote: > lmb.h includes an extern declaration of "struct lmb lmb;" which > is not used anywhere, so remove it. > > Signed-off-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v10, 10/10] arm: bootm: fix sp detection at end of address range

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:23PM +0100, Simon Goldschmidt wrote: > This fixes 'arch_lmb_reserve()' for ARM that tries to detect in which > DRAM bank 'sp' is in. > > This code failed if a bank was at the end of physical address range > (i.e. size + length overflowed to 0). > > To fix this, cal

Re: [U-Boot] [U-Boot, v10, 07/10] bootm: use new common function lmb_init_and_reserve

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:20PM +0100, Simon Goldschmidt wrote: > This reduces duplicate code only. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v10, 03/10] lib: lmb: reserving overlapping regions should fail

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:16PM +0100, Simon Goldschmidt wrote: > lmb_add_region handles overlapping regions wrong: instead of merging > or rejecting to add a new reserved region that overlaps an existing > one, it just adds the new region. > > Since internally the same function is used for lm

Re: [U-Boot] [U-Boot,v10,01/10] test: add test for lib/lmb.c

2019-01-17 Thread Tom Rini
On Mon, Jan 14, 2019 at 10:38:14PM +0100, Simon Goldschmidt wrote: > Add basic tests for the lmb memory allocation code used to reserve and > allocate memory during boot. > > Signed-off-by: Simon Goldschmidt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v2] env: add spi_flash_read_env function

2019-01-17 Thread Tom Rini
On Tue, Dec 11, 2018 at 10:13:56AM +0100, Horatiu Vultur wrote: > The spi_flash_read_env function is a wrapper over spi_flash_read, which > enables the env to read multiple flash page size from flash until '\0\0' > is read or the end of env partition is reached. Instead of reading the > entire env

Re: [U-Boot] [U-Boot, v1] mtd: nand: raw: allow to disable unneeded ECC layouts

2019-01-17 Thread Tom Rini
On Thu, Dec 06, 2018 at 02:57:09PM +0100, Stefan Agner wrote: > From: Stefan Agner > > Each ECC layout consumes about 2984 bytes in the .data section. Allow > to disable the default ECC layouts if a driver is known to provide its > own ECC layout. > > Signed-off-by: Stefan Agner > Reviewed-by:

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

2019-01-17 Thread Andrew F. Davis
On 1/17/19 9:11 AM, Andrew F. Davis wrote: > On 1/17/19 8:15 AM, Tom Rini wrote: >> On Thu, Jan 17, 2019 at 08:13:21AM -0600, Andrew F. Davis wrote: >>> On 1/16/19 3:14 PM, Tom Rini wrote: On Wed, Dec 05, 2018 at 11:51:33AM -0600, Andrew F. Davis wrote: > Like AM33xx and AM43xx, DRA7x

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

2019-01-17 Thread Andrew F. Davis
On 1/17/19 8:15 AM, Tom Rini wrote: > On Thu, Jan 17, 2019 at 08:13:21AM -0600, Andrew F. Davis wrote: >> On 1/16/19 3:14 PM, Tom Rini wrote: >>> On Wed, Dec 05, 2018 at 11:51:33AM -0600, Andrew F. Davis wrote: >>> Like AM33xx and AM43xx, DRA7xx and AM57xx devices may need to have an non-

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

2019-01-17 Thread Tom Rini
On Thu, Jan 17, 2019 at 08:13:21AM -0600, Andrew F. Davis wrote: > On 1/16/19 3:14 PM, Tom Rini wrote: > > On Wed, Dec 05, 2018 at 11:51:33AM -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

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

2019-01-17 Thread Andrew F. Davis
On 1/16/19 3:14 PM, Tom Rini wrote: > On Wed, Dec 05, 2018 at 11:51:33AM -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

Re: [U-Boot] u-boot-fw-utils issue

2019-01-17 Thread Heiko Schocher
Hello Hardik Padhariya, Am 09.01.2019 um 09:14 schrieb Hardik Padhariya: Hello, We are trying to access uboot variables from our application running over Linux. We are using Yocto krogoth 2.1.1 for imx6ul evaluation kit "mx6ul_14x14_evk". We have built u-boot-fw-utils by adding "COR

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

2019-01-16 Thread Tom Rini
On Wed, Dec 05, 2018 at 11:51:33AM -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 certificates

Re: [U-Boot] [U-Boot, 2/2] kbuild: add .SECONDARY special target to scripts/Kbuild.include

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 07:42:27PM +0900, Masahiro Yamada wrote: > Based on the following Linux commits: > > - 54a702f70589 ("kbuild: mark $(targets) as .SECONDARY and remove >.PRECIOUS markers") > > - 8e9b61b293d9 ("kbuild: move .SECONDARY special target to >Kbuild.include") > > GNU

Re: [U-Boot] [U-Boot, 1/2] kbuild: add .DELETE_ON_ERROR special target

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 07:42:26PM +0900, Masahiro Yamada wrote: > Linux commit 9c2af1c7377a8a6ef86e5cabf80978f3dbbb25c0 > > If Make gets a fatal signal while a shell is executing, it may delete > the target file that the recipe was supposed to update. This is needed > to make sure that it is re

Re: [U-Boot] [U-Boot,v2] adding saveenv-command for bananapi r2

2019-01-15 Thread Frank Wunderlich
Hi, Here is v3 :) https://patchwork.ozlabs.org/patch/1025345/ Regards Frank Am 16. Januar 2019 03:54:07 MEZ schrieb Tom Rini <>: >> Applied to u-boot/master, thanks! > >Wait, no, silly me, I forgot to remove this from my local bundle. I'm >expecting a v3 and have been talking with Frank off-l

Re: [U-Boot] [U-Boot, v2] kbuild: fix parallel build race caused by u-boot.cfg regeneration

2019-01-15 Thread Tom Rini
On Thu, Jan 10, 2019 at 11:11:39PM +0900, Masahiro Yamada wrote: > Multiple people have reported intermittent build failure in parallel > building. > > Kever Yang reported this issue some time ago [1], but I could not > get enough clue at that time. > > This time, Richard Purdie provided a full

Re: [U-Boot] [U-Boot, 2/2, (RFT)] am335x: igep003x: Add Device Tree Support and DM_MMC driver

2019-01-15 Thread Tom Rini
On Fri, Dec 28, 2018 at 11:55:48AM +0100, Enric Balletbo i Serra wrote: > This adds device tree and the DM_MMC driver for the AM335x IGEP based > boards. > > Signed-off-by: Enric Balletbo i Serra Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, 10/11] MAINTAINERS: ARM MEDIATEK: update file entries

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:58PM +0800, Weijie Gao wrote: > This patch adds new file entries for MediaTek SoCs > > Signed-off-by: Weijie Gao Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing lis

Re: [U-Boot] [U-Boot, v2, 1/3] include: configs: Add gunzip size for HiKey board

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:03PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Default 8MB gunzip size is not enough to load the release kernel, hence > fix 64MB size for uncompressing the kernel. > > Signed-off-by: Manivannan Sadhasivam > Reviewed-by: Simon Glass >

Re: [U-Boot] [U-Boot, 2/5] omap3: igep00x0: Remove USB support due DM_USB deadline

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:27PM +0100, Enric Balletbo i Serra wrote: > The USB support for this board was never really tested, in fact, the > presence of these options are more a copy & paste error from the > Beagleboard than a feature that really was used. As doesn't work, remove > for now. If

Re: [U-Boot] [U-Boot,v2] adding saveenv-command for bananapi r2

2019-01-15 Thread Tom Rini
On Tue, Jan 15, 2019 at 09:39:39PM -0500, Tom Rini wrote: > On Tue, Dec 04, 2018 at 02:44:28PM +0100, Frank Wunderlich wrote: > > > changes since v1: fixed bracket-style in if-else statement > > > > >From 47701fbea478ce09a5ef43d914261bf00eb50544 Mon Sep 17 00:00:00 2001 > > From: Frank Wunderlich

Re: [U-Boot] [U-Boot, 1/5] omap3: igep00x0: Remove unmaintained IGEP0032 defconfig

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:26PM +0100, Enric Balletbo i Serra wrote: > The IGEP0032 board was never officially pushed upstream and actually I > don't have access to this hardware, unless someone with the hardware > wants to start working on this doesn't makes sense have this defconfig > here. S

Re: [U-Boot] [U-Boot,1/1] cmd: ubi: remove unreachable code

2019-01-15 Thread Tom Rini
On Sun, Jan 06, 2019 at 12:26:28PM +0100, Heinrich Schuchardt wrote: > It does not make sense to check if argc < 2 a second time, especially after > accessing argv[1]. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, 07/11] arm: dts: add ethernet related node for MT7629 SoC

2019-01-15 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:55PM +0800, Weijie Gao wrote: > This patch adds ethernet gmac node for MT7629 with internal gigabit phy. > > Signed-off-by: Mark Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v2, 3/3] arm: dts: Add MMC nodes for HiKey board

2019-01-15 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:05PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Add MMC nodes for HiKey board based on HI6220 SoC. There are three MMC > controllers in this SoC, first one used for eMMC, second one used > for SD card and third one is not used by u-boot. >

<    6   7   8   9   10   11   12   13   14   15   >