Re: [U-Boot] [PATCH 1/2] eeprom: fix DM_I2C support with CONFIG_SYS_I2C_EEPROM_BUS

2019-04-24 Thread Marek Vasut
On 4/24/19 7:48 PM, Simon Goldschmidt wrote: > This fixes eeprom for DM_I2C in u-boot-socfpga/master > commit 3c43ab903d33 ("eeprom: fix DM_I2C support without > CONFIG_SYS_I2C_EEPROM_BUS") > which only fixed it without CONFIG_SYS_I2C_EEPROM_BUS defined. > > Signed-off-by: Simon Goldschmidt >

Re: [U-Boot] [PATCH v2 00/11] efi_loader: non-volatile variables support

2019-04-24 Thread Heinrich Schuchardt
On 4/24/19 8:30 AM, AKASHI Takahiro wrote: This patch set is an attempt to implement non-volatile attribute for UEFI variables. Under the current implementation, * SetVariable API doesn't recognize non-volatile attribute * While some variables are defined non-volatile in UEFI specification,

Re: [U-Boot] Booting MX6 via Serial Download after DM conversion

2019-04-24 Thread Fabio Estevam
Hi Peng, On Tue, Apr 23, 2019 at 11:18 PM Peng Fan wrote: > Not try this. > uuu should support SPL file being loaded, then if SPL could runs into > fastboot mode > to interactive with uuu, then u-boot-dtb.img could be loaded I think. My colleague Breno tried to load SPL + u-boot-dtb.img using

Re: [U-Boot] [PATCH 1/3] rockchip: rk3399: add tpl support

2019-04-24 Thread Simon Glass
Hi, On Thu, 18 Apr 2019 at 10:47, Heiko Stübner wrote: > > Am Donnerstag, 18. April 2019, 08:35:49 CEST schrieb Philipp Tomsich: > > Simon, > > > > > On 18.04.2019, at 06:32, Simon Glass wrote: > > > > > > Hi Kever, > > > > > > On Mon, 1 Apr 2019 at 02:21, Kever Yang wrote: > > >> > > >>

[U-Boot] [PATCH] configs: lx2160a: change env location to SPI_FLASH

2019-04-24 Thread Rajat Srivastava
Change env location to SPI_FLASH. Signed-off-by: Rajesh Bhagat Signed-off-by: Rajat Srivastava --- configs/lx2160ardb_tfa_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/lx2160ardb_tfa_defconfig b/configs/lx2160ardb_tfa_defconfig index 2dc49c7f5d..2a2609f80b 100644 ---

Re: [U-Boot] [U-Boot,v2] arm: fix hvc call

2019-04-24 Thread Tom Rini
On Mon, Feb 25, 2019 at 10:11:45AM +, Ibai Erkiaga wrote: > HVC call makes use of 6 mandatory arguments rather than 7 in the same way > as SMC calls. The 7th argument is optional (Client ID) for both HVC and > SMC but is implemented as 16-bit parameter and register R7 or W7. The aim > of this

Re: [U-Boot] [U-Boot, v4] misc: fs_loader: Add support for initializing block device

2019-04-24 Thread Tom Rini
On Thu, Jan 31, 2019 at 07:34:13PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Firmware loader would encounter problem if the block device is accessed > before initializing it. This patch would adding the support of probing > block device and initializing block before the

Re: [U-Boot] [U-Boot, 04/18] arm: asm: io.h: define readX_relaxed and writeX_relaxed

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:33PM +0100, Philippe Reynes wrote: > This patch port the function readX_relaxed and > writeX_relaxed from kernel 4.18. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v2] arm: arm64 32bit address relocation

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 12:18:41PM +, Ibai Erkiaga wrote: > Current relocation code is limited to 21bit PC-relative addressing > which might not be enough for bigger code sizes. The following patch > increases the addressing to 32bit PC-relative. This feature is > specially interesting if

Re: [U-Boot] [U-Boot, 02/18] mtd: nand: import nand_hw_control_init()

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:31PM +0100, Philippe Reynes wrote: > From: Marc Gonzalez > > Linux commit d45bc58dd3b ("mtd: nand: import nand_hw_control_init()") > > The code to initialize a struct nand_hw_control is duplicated across > several drivers. Factorize it using an inline function. >

Re: [U-Boot] [U-Boot,16/18] dt: bcm63158: add nand controller

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:45PM +0100, Philippe Reynes wrote: > Add the nand controller in the bcm63158 device tree. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot,V2,2/8] dt: bcm6858: add led controller

2019-04-24 Thread Tom Rini
On Fri, Mar 22, 2019 at 05:02:02PM +0100, Philippe Reynes wrote: > Add the led controller in the bcm6858 device tree. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, 14/18] dt: bcm968580xref: enable nand controller

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:43PM +0100, Philippe Reynes wrote: > Enable the nand controller in the device tree > of the board bcm968580xref. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 1/4] reset: add polarity field into struct reset_ctl

2019-04-24 Thread Tom Rini
On Wed, Mar 20, 2019 at 03:32:38PM +0800, Shawn Guo wrote: > Some reset controllers support different polarities for reset operation, > so let's add a polarity field into struct reset_ctl. > > Signed-off-by: Shawn Guo > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 2/2] pci: Scale MAX_PCI_REGIONS based on CONFIG_NR_DRAM_BANKS

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 04:32:33PM +0100, Thierry Reding wrote: > From: Thierry Reding > > If a platform defines CONFIG_NR_DRAM_BANKS, each DRAM bank will be added > as a PCI region. The number of MAX_PCI_REGIONS therefore needs to scale > with the number of DRAM banks, otherwise we will end up

Re: [U-Boot] malloc: Fix memalign not honoring alignment prior to full malloc init

2019-04-24 Thread Tom Rini
On Wed, Mar 27, 2019 at 01:17:26PM -0500, Andreas Dannenberg wrote: > When using memalign() in a scenario where U-Boot is configured for full > malloc support with simple malloc not explicitly enabled and before the > full malloc support is initialized, a memory block is being allocated > and

Re: [U-Boot] [U-Boot,v2] spl: spl_nand.c: Add NAND loading message

2019-04-24 Thread Tom Rini
On Tue, Mar 26, 2019 at 01:04:00PM +0100, Stefan Roese wrote: > This patch adds a short message to the SPL NAND loader, which displays > the source and destinations addresses including the size of the > loaded image, like this: > > U-Boot SPL 2019.04-rc3-00113-g486efd8aaf (Mar 15 2019 - 14:18:02

Re: [U-Boot] [U-Boot,v3,6/7] pinctrl: add driver for MT8516

2019-04-24 Thread Tom Rini
On Sun, Mar 24, 2019 at 04:46:37PM +0100, Fabien Parent wrote: > Add Pinctrl driver for MediaTek MT8516 SoC. > > Signed-off-by: Fabien Parent > Acked-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v3,2/7] mmc: mtk-sd: add support for MT8516

2019-04-24 Thread Tom Rini
On Sun, Mar 24, 2019 at 04:46:33PM +0100, Fabien Parent wrote: > Add config for handling MT8516 SoC. > > Signed-off-by: Fabien Parent > Acked-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH 3/3] arm: kirkwood: openrd: Increase U-Boot size in flash to make it fit

2019-04-24 Thread Stefan Roese
On 24.04.19 16:13, Tom Rini wrote: On Wed, Apr 24, 2019 at 03:49:35PM +0200, Stefan Roese wrote: On 24.04.19 15:21, Tom Rini wrote: On Sat, Apr 13, 2019 at 09:00:48AM -0400, Tom Rini wrote: On Fri, Apr 12, 2019 at 07:08:40PM +1200, Chris Packham wrote: On Thu, 11 Apr 2019, 10:33 PM Stefan

Re: [U-Boot] tbs2910 not buildable

2019-04-24 Thread Soeren Moch
On 23.04.19 01:19, Tom Rini wrote: > On Sun, Apr 14, 2019 at 12:46:25PM +0200, 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

[U-Boot] [PATCH v2 1/1] efi_loader: set OsIndicationsSupported at init

2019-04-24 Thread Heinrich Schuchardt
From: AKASHI Takahiro UEFI variables should be installed using well-defined API. Currently we don't support much, but the value of OsIndicationsSupported will be updated once some features are added in the future. Signed-off-by: AKASHI Takahiro Add comments. Rename a variable. Reviewed-by:

Re: [U-Boot] [PATCH 0/4] AE350 support SMP boot from flash

2019-04-24 Thread Auer, Lukas
Hi Rick, On Wed, 2019-04-24 at 09:35 +0800, Rick Chen wrote: > Hi Lukas > > Auer, Lukas 於 2019年4月24日 週三 上午3:58寫道: > > Hi Rick, > > > > On Tue, 2019-04-23 at 13:42 +0800, Andes wrote: > > > From: Rick Chen > > > > > > In current RISC-V SMP flow, AE350 will encounter the the write > > >

Re: [U-Boot] [PATCH v2 3/4] pci_ep: add pci_ep sandbox driver

2019-04-24 Thread Simon Glass
Hi Ramon, On Wed, 24 Apr 2019 at 12:54, Ramon Fried wrote: Please add a commit message. > > Signed-off-by: Ramon Fried > --- > > arch/sandbox/dts/test.dts | 4 + > configs/sandbox64_defconfig | 2 + > configs/sandbox_defconfig | 2 + >

Re: [U-Boot] [PATCH v2 1/4] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass

2019-04-24 Thread Simon Glass
Hi Ramon, On Wed, 24 Apr 2019 at 12:54, Ramon Fried wrote: > > Introduce new UCLASS_PCI_EP class for handling PCI endpoint > devices, allowing to set various attributes of the PCI endpoint > device, such as: > * configuration space header > * BAR definitions > * outband memory mapping > *

Re: [U-Boot] [PATCH v2 2/4] pci_ep: add Cadence PCIe endpoint driver

2019-04-24 Thread Simon Glass
Hi Ramon, On Wed, 24 Apr 2019 at 12:54, Ramon Fried wrote: > > Add Cadence PCIe endpoint driver supporting configuration > of header, bars and MSI for device. > > Signed-off-by: Ramon Fried > --- > > .../pci_endpoint/cdns,cdns-pcie-ep.txt| 18 + > drivers/pci_endpoint/Kconfig

[U-Boot] [PATCH v2 3/4] pci_ep: add pci_ep sandbox driver

2019-04-24 Thread Ramon Fried
Signed-off-by: Ramon Fried --- arch/sandbox/dts/test.dts | 4 + configs/sandbox64_defconfig | 2 + configs/sandbox_defconfig | 2 + drivers/pci_endpoint/Kconfig | 7 + drivers/pci_endpoint/Makefile | 1 +

[U-Boot] [PATCH v2 4/4] test: pci_ep: add basic pci_ep tests

2019-04-24 Thread Ramon Fried
Add basic PCI endpoint sandbox testing. Signed-off-by: Ramon Fried --- test/dm/Makefile | 1 + test/dm/pci_ep.c | 45 + 2 files changed, 46 insertions(+) create mode 100644 test/dm/pci_ep.c diff --git a/test/dm/Makefile b/test/dm/Makefile index

[U-Boot] trouble booting spl/u-boot from emmc on i.mx6ul

2019-04-24 Thread Robert Cagle
I am trying to debug a failure to boot spl/u-boot on an NXP i.mx6ul using emmc. I'm using u-boot source from: https://github.com/Freescale/u-boot-fslc.git -b 2017.11+fslc and I'm building target mx6ul_14x14_evk_defconfig. I asked for help on the "NXP Community Forum" but was referred here since

[U-Boot] [PATCH v2 2/4] pci_ep: add Cadence PCIe endpoint driver

2019-04-24 Thread Ramon Fried
Add Cadence PCIe endpoint driver supporting configuration of header, bars and MSI for device. Signed-off-by: Ramon Fried --- .../pci_endpoint/cdns,cdns-pcie-ep.txt| 18 + drivers/pci_endpoint/Kconfig | 8 + drivers/pci_endpoint/Makefile | 1 +

[U-Boot] [PATCH v2 1/4] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass

2019-04-24 Thread Ramon Fried
Introduce new UCLASS_PCI_EP class for handling PCI endpoint devices, allowing to set various attributes of the PCI endpoint device, such as: * configuration space header * BAR definitions * outband memory mapping * start/stop PCI link Signed-off-by: Ramon Fried --- Changes in V2: - Changed

[U-Boot] [PATCH v2 0/4] Add Cadence PCIe endpoint driver with new uclass

2019-04-24 Thread Ramon Fried
This patchset adds support for new uclass, UCLASS_PCI_EP allowing new set of PCI endpoint drivers. Included in the patch is also a driver for Cadence PCIe endpoint. Changes in V2: - Removed "pci.h: add missing maskbit" as it was already merged by Simon. - Added PCI endpoint sandbox driver -

Re: [U-Boot] [PATCH v1 1/3] drivers: pci_ep: Introduce UCLASS_PCI_EP uclass

2019-04-24 Thread Simon Glass
HI Ramon, On Mon, 22 Apr 2019 at 10:33, Ramon Fried wrote: > > > Hi Simon, > Thanks for the review. > please see inline, I have few questions/suggestions regarding > your notes. > > Thanks, > Ramon. > On Mon, Apr 22, 2019 at 5:56 AM Simon Glass wrote: >> >> Hi Ramon, >> >> On Fri, 5 Apr 2019 at

Re: [U-Boot] [PATCHv5 0/6] dm: cache: add dm cache driver

2019-04-24 Thread Dinh Nguyen
On 4/24/19 7:58 AM, Tom Rini wrote: > On Wed, Apr 24, 2019 at 07:32:14AM -0500, Dinh Nguyen wrote: >> >> >> On 4/23/19 5:02 PM, Tom Rini wrote: >>> On Tue, Apr 23, 2019 at 04:55:00PM -0500, Dinh Nguyen wrote: Hi, This is V4 of the series to add a UCLASS_CACHE dm driver to handling

Re: [U-Boot] [PATCHv5 0/6] dm: cache: add dm cache driver

2019-04-24 Thread Tom Rini
On Wed, Apr 24, 2019 at 06:50:30PM -0500, Dinh Nguyen wrote: > > > On 4/24/19 7:58 AM, Tom Rini wrote: > > On Wed, Apr 24, 2019 at 07:32:14AM -0500, Dinh Nguyen wrote: > >> > >> > >> On 4/23/19 5:02 PM, Tom Rini wrote: > >>> On Tue, Apr 23, 2019 at 04:55:00PM -0500, Dinh Nguyen wrote: > Hi,

Re: [U-Boot] [PATCH] misc: uclass: Introduce misc_init_by_ofnode

2019-04-24 Thread Simon Glass
Hi Keerthy, On Wed, 24 Apr 2019 at 05:06, Keerthy wrote: > > Introduce misc_init_by_ofnode to probe a misc device > using its ofnode. Can you please add a motivation for this? Also please can you add a test for your function in test/dm/misc.c Regards, Simon > > Signed-off-by: Keerthy > ---

Re: [U-Boot] [PATCH v2 2/2] regulator: bd718x7: support ROHM BD71837 and BD71847 PMICs

2019-04-24 Thread Simon Glass
HI Matti, On Wed, 24 Apr 2019 at 06:37, Matti Vaittinen wrote: > > BD71837 and BD71847 is PMIC intended for powering single-core, > dual-core, and quad-core SoC’s such as NXP-i.MX 8M. BD71847 > is used for example on NXP imx8mm EVK. > > Add regulator driver for ROHM BD71837 and BD71847 PMICs. >

Re: [U-Boot] the dm of SPL does not support very well on spiboot

2019-04-24 Thread Simon Glass
Hi Chuanhua, On Sun, 21 Apr 2019 at 09:00, Chuanhua Han wrote: > > Hi,all > > > > 1. When I tested and compiled some spiboot boards, I found that the board > compilation of these spiflash boot configurations failed. > > These boards all support the dm mode of spl, and the boot mode used is

Re: [U-Boot] [PATCH v2 1/2] regulator: bd71837: copy the bd71837 pmic driver from NXP imx u-boot

2019-04-24 Thread Simon Glass
On Wed, 24 Apr 2019 at 06:35, Matti Vaittinen wrote: > > https://source.codeaurora.org/external/imx/uboot-imx > > cherry picked, styled and merged commits: > - MLK-18387 pmic: Add pmic driver for BD71837: e9a3bec2e95a > - MLK-18590 pmic: bd71837: Change to use new fdt API: acdc5c297a96 > >

Re: [U-Boot] [PATCH v4 1/2] dlmalloc: fix malloc range at end of ram

2019-04-24 Thread Simon Glass
Hi, On Wed, 24 Apr 2019 at 05:53, Tom Rini wrote: > > On Wed, Apr 24, 2019 at 01:49:52PM +0200, Simon Goldschmidt wrote: > > On Wed, Apr 24, 2019 at 1:27 PM Tom Rini wrote: > > > > > > On Tue, Apr 23, 2019 at 09:54:10PM -0600, Simon Glass wrote: > > > > On Mon, 1 Apr 2019 at 14:01, Simon

Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-04-24 Thread Simon Glass
On Wed, 24 Apr 2019 at 05:49, Keerthy wrote: > > Add ofnode_get_addr_size_index function to fetch the address > and size of the reg space based on index. > > Signed-off-by: Keerthy > --- > > Previous discussion can be found here: > > * https://patchwork.ozlabs.org/patch/999659/ > >

Re: [U-Boot] [PATCH v2 02/11] lib: charset: add u16_strncmp()

2019-04-24 Thread AKASHI Takahiro
On Wed, Apr 24, 2019 at 08:36:09PM +0200, Heinrich Schuchardt wrote: > On 4/24/19 8:30 AM, AKASHI Takahiro wrote: > >u16_strncmp() works like u16_strcmp() but only at most n characters > >(in u16) are compared. > >This function will be used in a later patch. > > > >Signed-off-by: AKASHI Takahiro

Re: [U-Boot] [U-Boot,1/1] test: call hexdump tests via `ut lib`

2019-04-24 Thread Tom Rini
On Mon, Feb 11, 2019 at 06:29:24PM +0100, Heinrich Schuchardt wrote: > The unit tests in test/lib/hexdump.c are not related to the device tree. > So they should be executed via `ut lib` and not via `ut dm`. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Goldschmidt Applied to

Re: [U-Boot] [U-Boot, v1, 1/2] ARMv8: Allow SiP service extensions on top of PSCI code

2019-04-24 Thread Tom Rini
On Tue, Feb 12, 2019 at 12:27:02AM -0800, chee.hong@intel.com wrote: > From: Chee Hong Ang > > Allow PSCI layer to handle any SiP service functions added by > platform vendors. PSCI layer will look for SiP service function > in the SiP function table located in '._secure_svc_tbl_entries' >

Re: [U-Boot] cmd: ximg.c: Add support for getting external data address and length

2019-04-24 Thread Tom Rini
On Tue, Feb 12, 2019 at 08:49:30PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This function supports getting both data address and length for > existing FIT subimage and FIT external data. > > Signed-off-by: Tien Fong Chee Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 07/18] drivers: nand: brcmnand: add initial support

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:36PM +0100, Philippe Reynes wrote: > The driver brcmnand come from linux kernel 4.18. > Only SoC bcm6838 and bcm6858 are supported. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 11/18] dt: bcm968380gerg: enable nand controller

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:40PM +0100, Philippe Reynes wrote: > Enable the nand controller in the device tree > of the board bcm96838gerg. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, V2, 5/8] led: bcm6858: allow to use this driver on ARCH_963158

2019-04-24 Thread Tom Rini
On Fri, Mar 22, 2019 at 05:02:05PM +0100, Philippe Reynes wrote: > Allow the led bcm6858 driver to be used on bcm63158. > They have the same led controller. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v2,2/2] image: android: fix 'iminfo' typo

2019-04-24 Thread Tom Rini
On Mon, Apr 08, 2019 at 05:35:28PM +0200, Eugeniu Rosca wrote: > Fix below CP warning triggered by the 'iminfo' output in another patch: > WARNING: 'addrress' may be misspelled - perhaps 'address'? > > Fixes: 4f1318b29c7a20 ("common: image: minimal android image iminfo support") > Signed-off-by:

Re: [U-Boot] ARM: da850evm: Remove legacy MMC code

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 02:29:20PM -0500, Adam Ford wrote: > With the migration to DM in SPL and the DT support, the > old legacy code is no longer neaded, so this patch removes it > > Signed-off-by: Adam Ford > > diff --git a/board/davinci/da8xxevm/da850evm.c >

Re: [U-Boot] [U-Boot,V2,6/8] dt: bcm63158: add led controller

2019-04-24 Thread Tom Rini
On Fri, Mar 22, 2019 at 05:02:06PM +0100, Philippe Reynes wrote: > Add the led controller in the bcm63158 device tree. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

[U-Boot] [PATCH] arch: mips: Update initrd_start and initrd_end

2019-04-24 Thread Horatiu Vultur
Microsemi SoC defines CONFIG_SYS_SDRAM_BASE to be 0x8000, which represents the start of kseg0 and represents a virtual address. Meaning that the initrd_start and initrd_end point somewhere kseg0. When these parameters are passed to linux kernel through DT they are pointing somewhere in kseg0

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

2019-04-24 Thread Simon Glass
Hi Tom, Build/test: https://travis-ci.org/sglass68/u-boot/builds/523770406 The following changes since commit 6c5f8dd540d7a8eff244d4c27a09451ca12c8d20: Merge branch 'master' of git://git.denx.de/u-boot-usb (2019-04-21 19:00:04 -0400) are available in the Git repository at:

Re: [U-Boot] travis: Add srecord package

2019-04-24 Thread Tom Rini
On Thu, Mar 14, 2019 at 01:01:24AM +0100, Marek Vasut wrote: > At least MIPS Boston currently uses srec_cat tool to fiddle with > srecords. There will be other platforms coming, so install the > tool to prevent build problems. > > Signed-off-by: Marek Vasut > Cc: Daniel Schwierzeck > Cc:

Re: [U-Boot] [U-Boot, v2] misc: fs_loader: Replace label with DT phandle

2019-04-24 Thread Tom Rini
On Tue, Mar 05, 2019 at 11:29:38PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > In previously label which will be expanded to the node's full path was > used, and now replacing label with most commonly used DT phandle. The > codes were changed accordingly to the use of DT

Re: [U-Boot] [U-Boot,18/18] bcm963158: add nand support

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:47PM +0100, Philippe Reynes wrote: > Enable the nand support (driver and command) > in the configuration of the board bcm963158. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 4/7] clk: mediatek: add support for SETCLR_INV and NO_SETCLR flags

2019-04-24 Thread Tom Rini
On Sun, Mar 24, 2019 at 04:46:35PM +0100, Fabien Parent wrote: > Add the implementation for the CLK_GATE_SETCLR_INV and > CLK_GATE_NO_SETCLR flags. > > Signed-off-by: Fabien Parent > Acked-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 3/7] mmc: mtk-sd: fix configuration option check

2019-04-24 Thread Tom Rini
On Sun, Mar 24, 2019 at 04:46:34PM +0100, Fabien Parent wrote: > We either need to use IS_ENABLED(CONFIG_FOO) or CONFIG_IS_ENABLED(FOO). > IS_ENABLE(FOO) will always return false. > > This commit fixes the comparison by using the CONFIG_IS_ENABLED(FOO) > syntax. > > Signed-off-by: Fabien Parent

Re: [U-Boot] [U-Boot,V2,1/8] led: add initial support for bcm6858

2019-04-24 Thread Tom Rini
On Fri, Mar 22, 2019 at 05:02:01PM +0100, Philippe Reynes wrote: > The driver add the support of the led IP on bcm6858. > This led IP can drive up to 32 leds, and can handle > blinking. > > Signed-off-by: Philippe Reynes > Reviewed-by: Daniel Schwierzeck Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,17/18] dt: bcm963158: enable nand controller

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:46PM +0100, Philippe Reynes wrote: > Enable the nand controller in the device tree > of the board bcm963158. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 1/1] test: env: Enable env unit tests by default

2019-04-24 Thread Tom Rini
On Sun, Apr 07, 2019 at 05:57:40PM +0200, Heinrich Schuchardt wrote: > If CONFIG_UNIT_TEST is enabled we should enable the individual tests by > default to ensure good test coverage. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, V2, 3/8] dt: bcm968580xref: enable led controller

2019-04-24 Thread Tom Rini
On Fri, Mar 22, 2019 at 05:02:03PM +0100, Philippe Reynes wrote: > Enable the led controller in the device tree > of the board bcm968580xref. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 1/2] image: android: allow booting lz4-compressed kernels

2019-04-24 Thread Tom Rini
On Mon, Apr 08, 2019 at 05:35:27PM +0200, Eugeniu Rosca wrote: > According to Android image format [1], kernel image resides at 1 page > offset from the boot image address. Grab the magic number from there > and allow U-Boot to handle LZ4-compressed KNL binaries instead of > hardcoding

Re: [U-Boot] [U-Boot,V2,7/8] dt: bcm963158: enable led controller

2019-04-24 Thread Tom Rini
On Fri, Mar 22, 2019 at 05:02:07PM +0100, Philippe Reynes wrote: > Enable the led controller in the device tree > of the board bcm963158. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 1/7] mmc: mtk-sd: add source_cg clock support

2019-04-24 Thread Tom Rini
On Sun, Mar 24, 2019 at 04:46:32PM +0100, Fabien Parent wrote: > Some MediaTek SoC need an additional clock "source_cg". Enable > this new clock. We reuse the same clock name as in the kernel. > > Signed-off-by: Fabien Parent > Acked-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v3,5/7] clk: mediatek: add driver for MT8516

2019-04-24 Thread Tom Rini
On Sun, Mar 24, 2019 at 04:46:36PM +0100, Fabien Parent wrote: > Add clock driver for MediaTek MT8516 SoC. > > Signed-off-by: Fabien Parent > Acked-by: Ryder Lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 06/18] compat linux: import completion from linux 4.18

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:35PM +0100, Philippe Reynes wrote: > This patch port the file include/linux/completion.h > from linux 4.18 to u-boot. It define the structure > but all the function are stubbed. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH 3/3] arm: kirkwood: openrd: Increase U-Boot size in flash to make it fit

2019-04-24 Thread Stefan Roese
On 24.04.19 15:21, Tom Rini wrote: On Sat, Apr 13, 2019 at 09:00:48AM -0400, Tom Rini wrote: On Fri, Apr 12, 2019 at 07:08:40PM +1200, Chris Packham wrote: On Thu, 11 Apr 2019, 10:33 PM Stefan Roese, wrote: We have run now multiple times into size issues with the openrd board port. To

Re: [U-Boot] [U-Boot, v4, 2/4] reset: add reset driver for HiSilicon platform

2019-04-24 Thread Tom Rini
On Wed, Mar 20, 2019 at 03:32:39PM +0800, Shawn Guo wrote: > It adds a Driver Model compatible reset driver for HiSlicon platform. > The driver implements a custom .of_xlate function, and uses .data field > as reset register offset and .id field as bit shift. > > Signed-off-by: Shawn Guo >

Re: [U-Boot] [U-Boot,V2,4/8] bcm968580xref: enable led support

2019-04-24 Thread Tom Rini
On Fri, Mar 22, 2019 at 05:02:04PM +0100, Philippe Reynes wrote: > Enable the led support in the configuration > of the board bcm968580xref. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v1, 2/2] ARMv8: Disable fwcall when PSCI is enabled

2019-04-24 Thread Tom Rini
On Tue, Feb 12, 2019 at 12:27:03AM -0800, chee.hong@intel.com wrote: > From: "Ang, Chee Hong" > > When PSCI is enabled, we are expecting U-Boot which now act > as EL3 software will handle all the PSCI calls. We won't need > fwcall as no further HVC or SMC are needed. > > Signed-off-by:

Re: [U-Boot] [U-Boot, 01/18] mtd: add get/set of_node/flash_node helpers

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:30PM +0100, Philippe Reynes wrote: > From: Brian Norris > > Linux commit 28b8b26b308 ("mtd: add get/set of_node/flash_node helpers") > > We are going to begin using the mtd->dev.of_node field for MTD device > nodes, so let's add helpers for it. Also, we'll be

Re: [U-Boot] Support boot Android image without address on bootm command

2019-04-24 Thread Tom Rini
On Fri, Feb 22, 2019 at 04:28:06PM +0800, Shawn Guo wrote: > It works perfectly fine to boot an Android boot.img with bootm command > followed by an explicit address argument that holds the image. But if > we have boot.img downloaded into default 'loadaddr', and then boot it > using bootm

Re: [U-Boot] spl: ymodem: Add support for loading full fitImages

2019-04-24 Thread Tom Rini
On Wed, Mar 06, 2019 at 10:04:31PM +0100, Marek Vasut wrote: > Add support for loading fully featured fitImages over YModem in SPL. > This is useful when various advanced features of full fitImages are > needed in SPL. > > Signed-off-by: Marek Vasut > Cc: Tom Rini Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v4, 4/4] poplar: enable Ethernet driver support

2019-04-24 Thread Tom Rini
On Wed, Mar 20, 2019 at 03:32:41PM +0800, Shawn Guo wrote: > The 'phy' reset of gmac device in kernel device tree is not generic > enough for u-boot to use, so we need to overwrite the 'resets' property > as needed. With this device tree fixup and poplar_defconfig changes, > Ethernet starts

Re: [U-Boot] [U-Boot,13/18] dt: bcm6858: add nand controller

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:42PM +0100, Philippe Reynes wrote: > Add the nand controller in the bcm6858 device tree. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot,15/18] bcm968580xref: add nand support

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:44PM +0100, Philippe Reynes wrote: > Enable the nand support (driver and command) > in the configuration of the board bcm968580xref. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v1 2/3] pci: pci.h: add missing maskbit

2019-04-24 Thread Simon Glass
On Sun, 21 Apr 2019 at 20:57, Simon Glass wrote: > > On Fri, 5 Apr 2019 at 19:12, Ramon Fried wrote: > > > > PCI_MSI_FLAGS_MASKBIT was missing from include file, > > add it. > > > > Signed-off-by: Ramon Fried > > --- > > > > include/pci.h | 1 + > > 1 file changed, 1 insertion(+) > >

Re: [U-Boot] [PULL] u-boot-atmel-2019.07-b

2019-04-24 Thread Tom Rini
On Mon, Apr 22, 2019 at 11:46:19AM +, eugen.hris...@microchip.com wrote: > Hello Tom, > > Please pull tag u-boot-atmel-2019.07-b , the second set of new features > and fixes for u-boot-atmel for 2019.07 release. > > The features include the new SAMA5D2 Industrial Connectivity Platform >

Re: [U-Boot] [PATCH 1/1] test/py: pytest.mark.notbuildconfigspec()

2019-04-24 Thread Tom Rini
On Mon, Apr 22, 2019 at 09:44:29AM +0200, Heinrich Schuchardt wrote: > We already can let a Python test depend on a build option being set via > @pytest.mark.buildconfigspec(). It may be necessary to let a test depend on > a build option *not* being set. So let's introduce > >

Re: [U-Boot] [U-Boot,10/18] dt: bcm6838: add nand controller

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:39PM +0100, Philippe Reynes wrote: > Add the nand controller in the bcm6838 device tree. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] fit: load all fragments from the extra configurations

2019-04-24 Thread Tom Rini
On Wed, Mar 06, 2019 at 03:52:27PM +0200, Peter Ujfalusi wrote: > Currently only the first fdt is loaded from the extra configuration of > FIT image. > If the configuration have multiple fdt, load them all as well. > > Signed-off-by: Peter Ujfalusi > Reviewed-by: Lokesh Vutla Applied to

Re: [U-Boot] [U-Boot, v4, 3/4] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-04-24 Thread Tom Rini
On Wed, Mar 20, 2019 at 03:32:40PM +0800, Shawn Guo wrote: > It adds the driver for HIGMACV300 Ethernet controller found on HiSilicon > SoCs like Hi3798CV200. It's based on a downstream U-Boot driver, but > quite a lot of code gets rewritten and cleaned up to adopt driver model > and PHY API. >

Re: [U-Boot] [U-Boot, 09/18] drivers: nand: brcmnand: add an option to read the write-protect from device tree

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:38PM +0100, Philippe Reynes wrote: > The option write-protect may only change on the kernel command line, > we add a property in the device tree to be more flexible. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v4, 2/2] dlmalloc: be compatible to tiny printf

2019-04-24 Thread Tom Rini
On Mon, Apr 01, 2019 at 10:01:50PM +0200, Simon Goldschmidt wrote: > Convert debug output from '%#lx' to '0x%lx' to be compatible with tiny > printf used in SPL. > > Signed-off-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 7/7] ARM: MediaTek: Add support for MT8516 SoC

2019-04-24 Thread Tom Rini
On Sun, Mar 24, 2019 at 04:46:38PM +0100, Fabien Parent wrote: > Add support for MediaTek MT8516 SoC. This include the file > that will initialize the SoC after boot and its device tree. > > Signed-off-by: Fabien Parent > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] bootm: Simplying cache flush code

2019-04-24 Thread Tom Rini
On Wed, Mar 27, 2019 at 11:50:09PM +, Trent Piepho wrote: > The cache flush of the kernel load area needs to be aligned outward to > the DMA cache alignment. The operations are simpler if we think of this > as aligning the start down, ALIGN_DOWN(load, ARCH_DMA_MINALIGN), and > aligning the

[U-Boot] U-Boot Security

2019-04-24 Thread Linder Pascal
Hello everyone, I want to add some supplementary security to my embedded system. The Flattened Image Tree (FIT) to secure the operating system and the device tree, I have already found. Now, I am wondering if I could also secure U-Boot itself before starting it by the Secondary Program Loader

Re: [U-Boot] [PATCH 3/3] arm: kirkwood: openrd: Increase U-Boot size in flash to make it fit

2019-04-24 Thread Tom Rini
On Wed, Apr 24, 2019 at 03:49:35PM +0200, Stefan Roese wrote: > On 24.04.19 15:21, Tom Rini wrote: > >On Sat, Apr 13, 2019 at 09:00:48AM -0400, Tom Rini wrote: > >>On Fri, Apr 12, 2019 at 07:08:40PM +1200, Chris Packham wrote: > >>>On Thu, 11 Apr 2019, 10:33 PM Stefan Roese, wrote: > >>> > We

Re: [U-Boot] [PATCH v4] arm: socfpga: mailbox: Fix off-by-one error on command length checking

2019-04-24 Thread Marek Vasut
On 4/24/19 7:21 AM, Ley Foon Tan wrote: > A mailbox command contains 1-u32 header + arguments. The "len" variable > only contains the length of the arguments, but not the 1-u32 header. > Include the length of header when checking the ring buffer space to > prevent off-by-one error. > >

Re: [U-Boot] [PATCH v2] arm: socfpga: Move Stratix 10 SDRAM driver to DM

2019-04-24 Thread Marek Vasut
On 4/24/19 8:21 AM, Ley Foon Tan wrote: > Convert Stratix 10 SDRAM driver to device model. > > Get rid of call to socfpga_per_reset() and use reset > framework. > > SPL is changed from calling function in SDRAM driver > directly to just probing UCLASS_RAM. > > Move sdram_s10.h from arch to

Re: [U-Boot] [U-Boot,1/1] cmd: add exception command

2019-04-24 Thread Tom Rini
On Wed, Dec 26, 2018 at 05:20:35PM +0100, Heinrich Schuchardt wrote: > The 'exception' command allows to test exception handling. > > This implementation supports ARM, x86, RISC-V and the following exceptions: > * 'breakpoint' - prefetch abort exception (ARM 32bit only) > * 'unaligned' - data

Re: [U-Boot] Build error: caused by CONFIG_SPL_LOG_CONSOLE

2019-04-24 Thread Tom Rini
On Sat, Apr 13, 2019 at 01:01:52AM +0200, U.Mutlu wrote: > If I activate "Enable logging support in SPL" (ie. CONFIG_SPL_LOG_CONSOLE), > ie. the following window in make menuconfig: > > Logging ---> > > [*] Enable logging support > [*] Enable logging support in SPL > [*]

Re: [U-Boot] [PATCH 3/3] arm: kirkwood: openrd: Increase U-Boot size in flash to make it fit

2019-04-24 Thread Tom Rini
On Sat, Apr 13, 2019 at 09:00:48AM -0400, Tom Rini wrote: > On Fri, Apr 12, 2019 at 07:08:40PM +1200, Chris Packham wrote: > > On Thu, 11 Apr 2019, 10:33 PM Stefan Roese, wrote: > > > > > We have run now multiple times into size issues with the openrd > > > board port. To finally fix this, this

Re: [U-Boot] [U-Boot, 01/34] Add target to generate initial environment

2019-04-24 Thread Tom Rini
On Wed, Mar 13, 2019 at 09:46:45AM +0100, Stefano Babic wrote: > The initial environment is linked to the u-boot binary. Modifying the > environment from User Space with the env tools requires that the tools > are always built together with the bootloader to be sure that they > contain the

Re: [U-Boot] [U-Boot, 1/2] pci: Add boundary check for hose->regions

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 04:32:32PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Make sure that we don't overflow the hose->regions array, otherwise we > would end up overwriting the hose->region_count field and cause mayhem > to ensue. Also print an error message when we'd be

Re: [U-Boot] [U-Boot, 03/18] mtd: nand: provide several helpers to do common NAND operations

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:32PM +0100, Philippe Reynes wrote: > From: Boris Brezillon > > Linux commit 97d90da8a88 ("mtd: nand: provide several helpers > to do common NAND operations") > > This is part of the process of removing direct calls to ->cmdfunc() > outside of the core in order to

Re: [U-Boot] [U-Boot,12/18] bcm968380gerg: add nand support

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:41PM +0100, Philippe Reynes wrote: > Enable the nand support (driver and command) > in the configuration of the board bcm96838gerg. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, 08/18] drivers: nand: brcmnand: add parameter parameter-page-big-endian

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:37PM +0100, Philippe Reynes wrote: > The parameter page isn't always in big endian, so we add > an option to choose the endiannes of the parameter page. > > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, 05/18] include: linux: io: define devm_ioremap on board with ioremap

2019-04-24 Thread Tom Rini
On Fri, Mar 15, 2019 at 03:14:34PM +0100, Philippe Reynes wrote: > The macro devm_ioremap is only defined for configuration > that doesn't have ioremap. But this macro may also be > defined on configuration with ioremap. > This patch remove the condition for the macro devm_ioremap, > so it's

  1   2   3   >