Re: [U-Boot] [PATCH v2 0/7] mmc: sunxi: Enable DM_MMC

2019-01-18 Thread Jagan Teki
On Fri, Jan 18, 2019 at 11:18 PM Andre Przywara wrote: > > On Fri, 18 Jan 2019 22:11:36 +0530 > Jagan Teki wrote: > > Hi, > > > On Fri, Jan 18, 2019 at 6:00 PM Andre Przywara > > wrote: > > > > > > On Fri, 18 Jan 2019 07:17:41 -0500 > > > Tom Rini wrote: > > > > > > > On Fri, Jan 18, 2019 at

Re: [U-Boot] [PATCH] ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig

2019-01-18 Thread Derald D. Woods
On Fri, Jan 18, 2019 at 08:37:48AM +, eugen.hris...@microchip.com wrote: > > > On 11.01.2019 18:53, Derald Woods wrote: > > > > > > On Fri, Jan 11, 2019, 10:51 AM Derald Woods > wrote: > > > > > > On Fri, Jan 11, 2019, 5:27 AM >

Re: [U-Boot] arm: am335x-pdu001: Remove SPI support

2019-01-18 Thread Tom Rini
On Thu, Jan 17, 2019 at 10:40:42AM +0100, Felix Brack wrote: > On this board SPI is only used to configure the SoC driving the LC TFT > display which is not used in U-Boot. Hence remove SPI support. > > Signed-off-by: Felix Brack Applied to u-boot/master, thanks! -- Tom signature.asc

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 >

Re: [U-Boot] configs: Remove unused am335x_evm defconfigs

2019-01-18 Thread Tom Rini
On Wed, Jan 16, 2019 at 02:38:04PM +0530, Vignesh R wrote: > These defconfigs don't seem be actively used any more, and have not been > moved to adapt DM or DT. Therefore delete them. > > Signed-off-by: Vignesh R > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] env: sf: fix environment in SPI NOR

2019-01-18 Thread Tom Rini
On Fri, Jan 18, 2019 at 10:45:56AM +0100, Heiko Schocher wrote: > commit 9a9d66f5eff0 ("env: add spi_flash_read_env function") > > breaks Environment functionality, as it reads only > until 2 \0 are found, but fills the buffer with 0x0 > instead 0xff which leads in an incorrect crc sum. > >

Re: [U-Boot] arm: dts: am335x-pdu001: Sync with Linux 5.0-rc2

2019-01-18 Thread Tom Rini
On Thu, Jan 17, 2019 at 11:51:09AM +0100, Felix Brack wrote: > This patch synchronizes the PDU001 board DTS file with the one used by > Linux 5.0-rc2. > Signed-off-by: Felix Brack Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] configs: am335x_evm: Enable DM_SPI and DM_SPI_FLASH

2019-01-18 Thread Tom Rini
On Wed, Jan 16, 2019 at 12:16:11PM +0530, Vignesh R wrote: > Enable DM_SPI and DM_SPI_FLASH for actively used defconfigs for > am335x_evm. > > Signed-off-by: Vignesh R Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] mkimage: fixup CONFIG_FIT_EXTERNAL_OFFSET

2019-01-18 Thread Tom Rini
On Tue, Jan 15, 2019 at 04:34:19PM +0100, Patrick Wildt wrote: > The last parameter is expected to be the imagefile. Since -E is a > flag having the output name before -p will make mkimage ignore the > external offset option. > > Signed-off-by: Patrick Wildt Applied to u-boot/master, thanks!

Re: [U-Boot] travis: Break up the NXP Layerscape jobs more

2019-01-18 Thread Tom Rini
On Wed, Jan 16, 2019 at 07:19:26AM -0500, Tom Rini wrote: > The single job for all Layerscape 10xx platforms is close to, and > sometimes exceeds the time limit for a single job configuration. Break > this down into jobs for LS101x, LS104x and LS108x instead. > > Signed-off-by: Tom Rini

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

Re: [U-Boot] cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n

2019-01-18 Thread Tom Rini
On Thu, Jan 17, 2019 at 10:18:47AM +0100, Quentin Schulz wrote: > cmd/mtd.c:447:13: warning: ‘mtd_help_text’ defined but not used > [-Wunused-variable] > static char mtd_help_text[] = > ^ > > When SYS_LONGHELP is not defined. After looking at how other commands > work,

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"

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

Re: [U-Boot] configs: Remove am43xx_evm_ethboot_defconfig

2019-01-18 Thread Tom Rini
On Wed, Jan 16, 2019 at 02:54:36PM +0530, Vignesh R wrote: > am43xx_evm_ethboot_defconfig is not being actively used and has not been > moved to DM or DT. Also, ethboot cannot be tested on AM43xx EVM as such > due EVM limitations. Therefore delete it. > > Signed-off-by: Vignesh R > Reviewed-by:

Re: [U-Boot] configs: Remove am335x_boneblack_defconfig

2019-01-18 Thread Tom Rini
On Thu, Jan 17, 2019 at 03:44:06PM +0530, Faiz Abbas wrote: > The am335x_evm_defconfig supports all am335x_boneblack variants. Remove > the redundant am335x_boneblack_defconfig. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

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

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

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

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

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

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

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

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 ___

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

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

[U-Boot] [PATCH 4/9] mmc: sunxi: Add H6 support

2019-01-18 Thread Andre Przywara
Even though the H6 MMC device is fully compatible to the A64 implementation, we need to differentiate between the two, as the mod clock is on a different address, and we don't use the DT for that yet. Add a separate "variant" which just holds the different MMIO address. Signed-off-by: Andre

[U-Boot] [PATCH 7/9] mmc: sunxi: Honour non-removable property in DT

2019-01-18 Thread Andre Przywara
If a board DT describes a cd-gpios property, but also marks the storage as non-removable, we must ignore the GPIO (as Linux does). Teach the DM_MMC part of the Allwinner MMC driver about the non-removable DT property, to fix DM_MMC access on the SoPine and Pine64-LTS board. Signed-off-by: Andre

[U-Boot] [PATCH 9/9] mmc: sunxi: Mark end of DM_MMC #ifdefs

2019-01-18 Thread Andre Przywara
The Allwinner MMC supports both the legacy approach and the driver model, at the cost of quite some #ifdefs. Mark the closing #endifs with their respective config symbol, to make it more obvious where each part ends and begins. Signed-off-by: Andre Przywara --- drivers/mmc/sunxi_mmc.c | 6

[U-Boot] [PATCH 3/9] mmc: sunxi: Add DM clk and reset support

2019-01-18 Thread Andre Przywara
Now that we have the gate clocks and the reset gates in our new Allwinner clock driver, let's make use of them in the MMC driver, when DM_MMC is defined. We treat the reset device as optional now, as the older SoCs don't implement it. Signed-off-by: Andre Przywara --- drivers/mmc/sunxi_mmc.c |

[U-Boot] [PATCH 6/9] mmc: sunxi: Add A80 support

2019-01-18 Thread Andre Przywara
Add the Allwinner A80 mod clock address and bind it to its compatible string. The special config clock is handled via the clock driver. Signed-off-by: Andre Przywara --- drivers/mmc/sunxi_mmc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/sunxi_mmc.c

[U-Boot] [PATCH 8/9] arm: sunxi: Enable DM_MMC

2019-01-18 Thread Andre Przywara
From: Jagan Teki Enable DM_MMC for all Allwinner SoCs, this will eventually enable BLK. Also removed DM_MMC enablement in few parts of sunxi configurations. Signed-off-by: Jagan Teki Signed-off-by: Andre Przywara --- arch/arm/Kconfig | 1 + arch/arm/mach-sunxi/Kconfig

[U-Boot] [PATCH 2/9] sunxi: clk: A80: add MMC clock support

2019-01-18 Thread Andre Przywara
The A80 handles resets and clock gates for the MMC devices differently, outside of the CCU IP block. Consequently we have a separate clock device with a separate binding for that. Implement that with the respective clock gates and resets to allow the A80 taking part in the DM_MMC game.

[U-Boot] [PATCH 5/9] mmc: sunxi: Add missing compatible strings

2019-01-18 Thread Andre Przywara
From: Jagan Teki From our driver's perspective there is no difference between the MMC controllers for the A83T, A64 and H5 compared to the A10/A20 type. As we now have support for the formerly missing reset gates, we can add their compatible strings, to make those SoCs work with DM_MMC.

[U-Boot] [PATCH 1/9] sunxi: clk: add MMC gates/resets

2019-01-18 Thread Andre Przywara
Add the MMC clock gates and reset bits for all the Allwinner SoCs. This allows them to be used by the MMC driver. We don't advertise the mod clock yet, as this is still handled by the MMC driver. Signed-off-by: Andre Przywara --- drivers/clk/sunxi/clk_a10.c | 4

[U-Boot] [PATCH 0/9] sunxi: enable DM_MMC

2019-01-18 Thread Andre Przywara
This series enables the Allwinner MMC driver to drive all SoCs with its DM_MMC variant. We use the gates clock and reset support from the new clock driver, but keep the actual mod clock in its somewhat hackish state. Properly supporting this via the clock driver is a bit more work. The

Re: [U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL

2019-01-18 Thread Lukasz Majewski
Hi David, > Hi Heiko, > > 在 2019/1/6 上午1:17, Heiko Stuebner 写道: > >> diff --git a/arch/arm/mach-rockchip/rk3188-board-spl.c > >> b/arch/arm/mach-rockchip/rk3188-board-spl.c index > >> 3c6c3d3c09..a5e4d39cb7 100644 --- > >> a/arch/arm/mach-rockchip/rk3188-board-spl.c +++ > >>

[U-Boot] TPL max size for RK3288 ?

2019-01-18 Thread Tom Rini
Hey, So I was playing with how to make our linker scripts more re-usable and have the kinds of link error on excessive size checks that we find really useful to avoid introducing run time failures, and I found something. On rk3288 we don't size TPL_MAX_SIZE, only for rk3368. Is there a

Re: [U-Boot] configs: move CONFIG_SPL_TEXT_BASE to Kconfig

2019-01-18 Thread Tom Rini
On Mon, Jan 07, 2019 at 10:12:42AM +0100, Simon Goldschmidt wrote: > On Wed, Jan 2, 2019 at 9:13 PM Simon Goldschmidt > wrote: > > > > Hi Marek, > > > > Am 14.11.2018 um 19:51 schrieb Simon Goldschmidt: > > > On 07.10.2018 02:49, Tom Rini wrote: > > >> On Sun, Sep 30, 2018 at 02:31:53PM +0200,

Re: [U-Boot] Convert Pico-Pi i.MX7D to DM

2019-01-18 Thread Fabio Estevam
Hi Joris, On Fri, Jan 18, 2019 at 6:23 PM Joris Offouga wrote: > > Hi all, > > I try to convert Pico-Pi i.MX7D to DM but I'm having some trouble with > pmic and ethernet. > you can see the log lower > > Do you have an idea to solve this? Maybe you could take a look at Byan's patch that

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

2019-01-18 Thread Simon Goldschmidt
Am Fr., 18. Jan. 2019, 20:20 hat Sam Protsenko geschrieben: > 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

[U-Boot] Convert Pico-Pi i.MX7D to DM

2019-01-18 Thread Joris Offouga
Hi all, I try to convert Pico-Pi i.MX7D to DM but I'm having some trouble with pmic and ethernet. you can see the log lower Do you have an idea to solve this? Thanks in advance. Best Regards, Joris Offouga ___ U-Boot mailing list

Re: [U-Boot] [PATCH v4 2/2] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2019-01-18 Thread Martyn Welch
Hi All, Is there anything preventing this series being merged? I don't think I've seen any further issues raised. Sorry if it's already been merged somewhere and I've missed it... Martyn On Tue, 2018-12-11 at 11:34 +, Martyn Welch wrote: > Port for the PHYTEC phyBOARD-i.MX6UL-Segin single

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

2019-01-18 Thread Sam Protsenko
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 eMMC, but it's zeroed out. In that case, we won't be able to "env save"

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

2019-01-18 Thread Sam Protsenko
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_load() -> drv->load() = env_mmc_load() -> env_import() Return code will

[U-Boot] [PATCH 0/2] env: Fix "env save" to malformed environment

2019-01-18 Thread Sam Protsenko
In case when environment is malformed (e.g. zeroed out), we are not able to save new environment to that location. Let's fix that by not considering the location with "bad CRC" environment as not accessible. Sam Protsenko (2): env: common: Return specific error code on bad CRC env: Fix saving

[U-Boot] [PATCH 1/1] efi_loader: comments for variable services

2019-01-18 Thread Heinrich Schuchardt
Comment the functions implementing the runtime variable services. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_variable.c | 86 +-- 1 file changed, 81 insertions(+), 5 deletions(-) diff --git a/lib/efi_loader/efi_variable.c

Re: [U-Boot] [RESEND] [PATCH v3 0/8] Convert i.MX7 WaRP7 ports to DM

2019-01-18 Thread Fabio Estevam
Hi Bryan, On Fri, Jan 18, 2019 at 3:40 PM Bryan O'Donoghue wrote: > > V3-Resend: > - Looks like this set got lost in the ether, resending. > > V3: > - Fix Lucas' mail address "Auer, Lucas" makes git send-mail choke > > V2: > - Add review-by as indicated - Peng Fan > - Squash commit 4 and 5 from

Re: [U-Boot] [PATCH 1/2] armv8: ls1088ardb: Update MAINTAINERS

2019-01-18 Thread York Sun
On 1/16/19 7:49 AM, Rajesh Bhagat wrote: > From: York Sun > > Signed-off-by: York Sun > CC: Rajesh Bhagat > --- This set is applied to fsl-qoriq master, awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] armv7: dts: ls1021a: Remove aliases property name warning

2019-01-18 Thread York Sun
On 1/5/19 12:06 AM, Rajesh Bhagat wrote: > Remove aliases property name warning while compilation: > Warning (alias_paths): /aliases: aliases property name must > include only lowercase and '-' > > Signed-off-by: Rajesh Bhagat > --- Applied to fsl-qoriq master, awaiting upstream. Thanks. York

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

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: properly configure qdma ICID

2019-01-18 Thread York Sun
On 12/12/18 3:45 AM, laurentiu.tu...@nxp.com wrote: > From: Laurentiu Tudor > > The ICIDs for the qdma device are not configured through SCFG but > through some registers found in the actual device register block. > > Signed-off-by: Laurentiu Tudor > --- Applied to fsl-qoriq master, awaiting

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

Re: [U-Boot] [PATCH] fsl-layerscape: dpaa: fix fsl-mc status in fdt with bootefi

2019-01-18 Thread York Sun
On 12/18/18 5:01 AM, Mian Yousaf Kaukab wrote: > fsl-mc lazyapply command applies dpl from efi_exit_boot_services(). > Status of fsl-mc node in working fdt is updated at this stage. > However, an efi application like grub may already have copied the fdt. > So the updates to fdt done at

Re: [U-Boot] [PATCH 1/2] armv8: ls1043a: add SVR definitions for 23x23 package silicon

2019-01-18 Thread York Sun
On 12/19/18 10:31 PM, Z.q. Hou wrote: > From: Hou Zhiqiang > > LS1043A/LS1023A 23x23 package silicon has different SVR:VAR_PER. > > Signed-off-by: Hou Zhiqiang This set has been applied to fsl-qoriq master, awaiting upstream. Thanks. York ___

Re: [U-Boot] [RESEND PATCH 1/2] env: fix allow to build multiple environments

2019-01-18 Thread York Sun
On 1/11/19 11:30 PM, Rajesh Bhagat wrote: > Patch fixes build error when enabling CONFIG_ENV_IS_IN_SPI_FLAS > and CONFIG_ENV_IS_IN_MMC at the same time mentioned issue in > below link: > > Refer: https://lists.denx.de/pipermail/u-boot/2018-February/319565.html > > build error when enabling

Re: [U-Boot] [PATCH 1/7] armv8: fsl-layerscape: fixes for TFABOOT framework

2019-01-18 Thread York Sun
On 12/26/18 8:37 PM, Rajesh Bhagat wrote: > Fixes for TFABOOT framework > - update eMMC bootsrc to SD_MMC > - Increase buffer size for mcinitcmd from 256 to 512 > - Fix mcinitcmd and bootcmd for Secure Boot > > Signed-off-by: Pankit Garg > Signed-off-by: Rajesh Bhagat > --- This set has been

[U-Boot] Please pull u-boot-fsl-qoriq master

2019-01-18 Thread York Sun
Tom, The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: Prepare v2019.01 (2019-01-14 17:02:36 -0500) are available in the Git repository at: git://git.denx.de/u-boot-fsl-qoriq.git tags/fsl-qoriq-for-v2019.04-rc1 for you to fetch changes up to

[U-Boot] [PATCH 1/1] efi_loader: remove duplicate function mem2hex()

2019-01-18 Thread Heinrich Schuchardt
Replace duplicate function mem2hex() by inline function bin2hex(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_variable.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c index

Re: [U-Boot] Porting u-boot to flash micro with proprietary (non-GPL) flash programming library

2019-01-18 Thread Ulf Samuelsson
Den 2019-01-14 kl. 17:55, skrev Ulf Samuelsson: No Answer, so I am resending. Question is: How to port U-Boot to a flash microprocessor, where the vendor does not supply source code to the library to program the internal flash without violating GPL? Best Regards Ulf Samuelsson I am working

Re: [U-Boot] [PATCH v2 0/7] mmc: sunxi: Enable DM_MMC

2019-01-18 Thread Andre Przywara
On Fri, 18 Jan 2019 22:11:36 +0530 Jagan Teki wrote: Hi, > On Fri, Jan 18, 2019 at 6:00 PM Andre Przywara > wrote: > > > > On Fri, 18 Jan 2019 07:17:41 -0500 > > Tom Rini wrote: > > > > > On Fri, Jan 18, 2019 at 11:53:49AM +, Andre Przywara wrote: > > > > On Thu, 17 Jan 2019 22:39:44

[U-Boot] [RESEND] [PATCH v3 8/8] arm: imx7s-warp: Convert to DM PMIC

2019-01-18 Thread Bryan O'Donoghue
This patch converts the warp7 and warp7_bl33 board ports over to using the DM PMIC model. Signed-off-by: Bryan O'Donoghue Reviewed-by: Peng Fan Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 27 +++ configs/warp7_bl33_defconfig |

[U-Boot] [RESEND] [PATCH v3 4/8] arm: imx7s-warp: Convert to DM MMC initialization

2019-01-18 Thread Bryan O'Donoghue
Converts from fixed initialization of MMC to DM initialization of MMC. Signed-off-by: Bryan O'Donoghue Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 34 -- configs/warp7_bl33_defconfig | 1 +

[U-Boot] [RESEND] [PATCH v3 5/8] arm: dts: imx7s-warp: Create alias for mmc0 to

2019-01-18 Thread Bryan O'Donoghue
This patch sets up an alias for mmc0 to usdhc3. Before the DM conversion only usdhc3 was enabled and therefore it appeared as MMC 0 to u-boot. After enabling MMC DM though usdhc3 defaults to MMC 2, which left unattended would drive changes to existing warp7 bootscripts and environment variables

[U-Boot] [RESEND] [PATCH v3 6/8] warp7: defconfig: Switch on IMX7 GPIO/pinctrl for both ports

2019-01-18 Thread Bryan O'Donoghue
Switches on the IMX7 pinctrl driver for the warp7 and warp7_bl33 ports, necessary to convert over to DM for this board. It is necessary to switch on pinctrl and GPIO in one go. Signed-off-by: Bryan O'Donoghue Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- configs/warp7_bl33_defconfig

[U-Boot] [RESEND] [PATCH v3 7/8] warp7: defconfig: Switch to DM for I2C

2019-01-18 Thread Bryan O'Donoghue
This commit switches to DM I2C for warp7 and warp7_bl33 defconfigs. Signed-off-by: Bryan O'Donoghue Reviewed-by: Peng Fan Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 24 configs/warp7_bl33_defconfig | 1 +

[U-Boot] [RESEND] [PATCH v3 2/8] arm: dts: imx7s-warp: Import Linux warp7 dts

2019-01-18 Thread Bryan O'Donoghue
This patch imports the Linux kernel warp7 dts as at upstream kernel commit cf76c364a1e1. Signed-off-by: Bryan O'Donoghue Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/dts/imx7s-warp.dts | 438 1 file changed, 438

[U-Boot] [RESEND] [PATCH v3 1/8] arm: dts: imx7: Correct spelling mistake in GPIO name

2019-01-18 Thread Bryan O'Donoghue
As pointed out by Lucas WDOD1_WDOG_ANY should be WDOG1_WDOG_ANY. Once corrected we can import the latest kernel DTS unmodified. Signed-off-by: Bryan O'Donoghue Reported-by: Lukas Auer --- arch/arm/dts/imx7d-pinfunc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [RESEND] [PATCH v3 3/8] arm: imx7s-warp: Add DT file hooks

2019-01-18 Thread Bryan O'Donoghue
This patch adds DT file hooks for imx7s-warp.dtb to the warp7 and warp7_bl33 builds. Signed-off-by: Bryan O'Donoghue Reviewed-by: Peng Fan Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/dts/Makefile| 3 ++- configs/warp7_bl33_defconfig | 3 ++-

[U-Boot] [RESEND] [PATCH v3 0/8] Convert i.MX7 WaRP7 ports to DM

2019-01-18 Thread Bryan O'Donoghue
V3-Resend: - Looks like this set got lost in the ether, resending. V3: - Fix Lucas' mail address "Auer, Lucas" makes git send-mail choke V2: - Add review-by as indicated - Peng Fan - Squash commit 4 and 5 from v1 - Peng Fan - Leave usdhc1 intact because of alias of mmc0 to usdhc3 - Bryan - Add

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

2019-01-18 Thread Simon Glass
On Thu, 17 Jan 2019 at 07:37, 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 > --- >

[U-Boot] [PATCH] cmd: image_info: Add checking of default FIT config

2019-01-18 Thread Bryan O'Donoghue
This patch adds a check for the default FIT config to iminfo. Once applied any signing of the config will show a pass fail similar to rsa+/rsa-. Output looks like this: Hash(es) for Image 0 (kernel@1): sha1+ Hash(es) for Image 1 (f...@imx7s-warp.dtb): sha1+ Hash(es) for Image 2

Re: [U-Boot] [PATCH v6.1 15/20] arm: sunxi: Enable CLK, RESET

2019-01-18 Thread Jagan Teki
On Fri, Jan 11, 2019 at 4:48 PM Jagan Teki wrote: > > CLK and DM_RESET drivers are now available for all of > the Allwinner platforms, so enable them in arch/arm/Kconfig > > Enabling CLK will select DM_RESET by default. > > Signed-off-by: Jagan Teki > --- Applied to u-boot-sunxi/master

Re: [U-Boot] [PATCH v6 00/20] clk: Add Allwinner CLK, RESET support

2019-01-18 Thread Jagan Teki
On Fri, Jan 11, 2019 at 12:13 AM Jagan Teki wrote: > > This series fixes few comments from previous verision for Allwinner > clock gates, resets and dropped clock tree patches which I have > mentioned on previous series[1]. > > Changes for v6: > - use ARRAY_SIZE for reset array instead of number

Re: [U-Boot] [PATCH 1/2] ARM: dts: sun8i: Update A80 dts(i) from Linux-v4.18-rc3

2019-01-18 Thread Jagan Teki
On Fri, Jan 11, 2019 at 4:46 PM Jagan Teki wrote: > > Update all A80 devicetree dtsi and dtsi files from > Linux-v4.18-rc3 with below commits. > > arch/arm/boot/dts/sun9i-a80*: > > commit 190e3138f9577885691540dca59c2f07540bde04 > Merge: cafc87023b0d a7affb13b271 > Author: Arnd Bergmann > Date:

[U-Boot] am335x: EFI: tftp: CACHE: Misaligned operation at range [9ce7e470, 9ce7e4b0]

2019-01-18 Thread Matwey V. Kornilov
Hello, I am running u-boot 2018.11 at BeagleBoneBlack with the following setup. I have EFI Grub image with tftp module enabled. This image is deployed by tftp and it is advertised by dhcp. When started Grub loads Linux kernel and initrd and boots OS. Such setup works fine with qemu-arm and OVMF

Re: [U-Boot] [PATCH v2 0/7] mmc: sunxi: Enable DM_MMC

2019-01-18 Thread Jagan Teki
On Fri, Jan 18, 2019 at 6:00 PM Andre Przywara wrote: > > On Fri, 18 Jan 2019 07:17:41 -0500 > Tom Rini wrote: > > > On Fri, Jan 18, 2019 at 11:53:49AM +, Andre Przywara wrote: > > > On Thu, 17 Jan 2019 22:39:44 +0530 > > > Jagan Teki wrote: > > > > > > > V2 for previous version[1] changes,

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

2019-01-18 Thread Marcin Niestroj
Add DM_SPI to suppress build warning about dm conversion. Signed-off-by: Marcin Niestroj --- configs/chiliboard_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/chiliboard_defconfig b/configs/chiliboard_defconfig index 02eb324811..ceba006e0c 100644 ---

Re: [U-Boot] [PATCH 19/26] configs: mx6sabresd: Add SPL FIT and DM support

2019-01-18 Thread Tom Rini
On Fri, Jan 18, 2019 at 03:26:42PM +, Abel Vesa wrote: > On 19-01-18 13:16:07, Fabio Estevam wrote: > > Hi Abel, > > > > On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa wrote: > > > > > +CONFIG_OF_CONTROL=y > > > +CONFIG_SPL_OF_CONTROL=y > > > +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd" > > > >

Re: [U-Boot] [PATCH 01/26] usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE

2019-01-18 Thread Abel Vesa
On 19-01-18 10:03:14, Tom Rini wrote: > On Fri, Jan 18, 2019 at 02:53:15PM +, Abel Vesa wrote: > > > Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL, > > makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE. > > Everything that is not part of the usb

Re: [U-Boot] [PATCH 11/26] arm: dts: Add imx6q-sabreauto dts file

2019-01-18 Thread Fabio Estevam
On Fri, Jan 18, 2019 at 1:07 PM Abel Vesa wrote: > > Add imx6q-sabreauto dts support from Linux. Please specify the kernel version you used. > diff --git a/arch/arm/dts/imx6q-sabreauto.dts > b/arch/arm/dts/imx6q-sabreauto.dts > new file mode 100644 > index 000..334b924 > --- /dev/null >

Re: [U-Boot] [PATCH 19/26] configs: mx6sabresd: Add SPL FIT and DM support

2019-01-18 Thread Abel Vesa
On 19-01-18 13:16:07, Fabio Estevam wrote: > Hi Abel, > > On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa wrote: > > > +CONFIG_OF_CONTROL=y > > +CONFIG_SPL_OF_CONTROL=y > > +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd" > > Does this mean that only imx6q-sabresd variant is supported after this >

Re: [U-Boot] [PATCH 0/4] Align U-Boot I2C DM bus ID handling with Linux

2019-01-18 Thread Michal Simek
On 18. 01. 19 16:13, Michal Simek wrote: > U-Boot with I2C_DM enabled is not capable to list i2c busses connected > to i2c mux. For getting this work there is a need to find out highest > alias ID and use this uniq number for new buses connected to I2C mux. > This series is making this happen. >

Re: [U-Boot] [PATCH 0/2] Board support updates for topic-miamiplus modules

2019-01-18 Thread Michal Simek
On 18. 01. 19 9:02, Mike Looijmans wrote: > Patches rebased for re-submission, were sent earlier as part of a longer > series. > > This improves performance and functionality for the topic-miamiplus > boards with Zynq 7035/7045/7100. > > Mike Looijmans (2): > topic-miamiplus: Run CPU at 800MHz

Re: [U-Boot] [PATCH 19/26] configs: mx6sabresd: Add SPL FIT and DM support

2019-01-18 Thread Fabio Estevam
Hi Abel, On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa wrote: > +CONFIG_OF_CONTROL=y > +CONFIG_SPL_OF_CONTROL=y > +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd" Does this mean that only imx6q-sabresd variant is supported after this series is applied? We still need to support imx6dl/imx6qp sabresd

[U-Boot] [PATCH 2/4] fdt: Introduce fdtdec_get_alias_highest_id()

2019-01-18 Thread Michal Simek
Find out the highest alias ID used for certain subsystem. This call will be used for alocating IDs for i2c buses which are not described in DT. Signed-off-by: Michal Simek --- include/fdtdec.h | 13 + lib/fdtdec.c | 33 + 2 files changed, 46

[U-Boot] [PATCH 3/4] i2c: dm: Record maximum id of devices before probing devices

2019-01-18 Thread Michal Simek
There is a need to find out the first free i2c ID which can be used for i2s buses (including i2c buses connected to i2c mux). Do it early in init and share this variable with other i2c classes for uniq bus identification. Signed-off-by: Michal Simek --- drivers/i2c/i2c-uclass.c | 19

[U-Boot] [PATCH 4/4] i2c: mux: Add support for not listed sub-buses

2019-01-18 Thread Michal Simek
Before this patch is applied all i2c sub-buses are using number -1 and they can't be addresses(switch to). If all busses are listed in DT alias they will get proper numbers and U-Boot can work with them. In Linux buses which are not listed in DT alias get uniq number which starts from the first

[U-Boot] [PATCH 1/4] dm: core: Add of_alias_get_highest_id()

2019-01-18 Thread Michal Simek
The same functionality was added to Linux for i2c bus registration with this commit message: " of: base: add function to get highest id of an alias stem I2C supports adding adapters using either a dynamic or fixed id. The latter is provided by aliases in the DT case. To prevent id collisions of

[U-Boot] [PATCH 0/4] Align U-Boot I2C DM bus ID handling with Linux

2019-01-18 Thread Michal Simek
U-Boot with I2C_DM enabled is not capable to list i2c busses connected to i2c mux. For getting this work there is a need to find out highest alias ID and use this uniq number for new buses connected to I2C mux. This series is making this happen. There is only one missing piece which is that also

Re: [U-Boot] [PATCH v3 2/4] net: add MSCC Ocelot switch support

2019-01-18 Thread Daniel Schwierzeck
Am 17.01.19 um 17:07 schrieb Gregory CLEMENT: > This patch adds support for the Microsemi Ethernet switch present on > Ocelot SoCs. > > Signed-off-by: Gregory CLEMENT > --- > MAINTAINERS | 1 + > drivers/net/Kconfig | 7 + > drivers/net/Makefile| 1 + >

[U-Boot] [PATCH 26/26] board: mx6sabresd: Remove the enet reset gpio handling

2019-01-18 Thread Abel Vesa
Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi and get rid of the enet reset gpio handling from the board file. Signed-off-by: Abel Vesa --- board/freescale/mx6sabresd/mx6sabresd.c | 7 --- 1 file changed, 7 deletions(-) diff --git

Re: [U-Boot] [PATCH 00/26] mx6sabre: Add DM and SPL FIT support

2019-01-18 Thread Fabio Estevam
Hi Abel, On Fri, Jan 18, 2019 at 12:53 PM Abel Vesa wrote: > > This comes as a next iteration to the followin RFC: > https://lists.denx.de/pipermail/u-boot/2019-January/354834.html > > Changes since that RFC: > * Add all the dl/qp/q dts and dtsi files from linux as suggested >by Fabio

[U-Boot] [PATCH 13/26] arm: dts: Add imx6dl-sabreauto dts file

2019-01-18 Thread Abel Vesa
Add imx6dl-sabreauto dts support from Linux. Signed-off-by: Abel Vesa --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/imx6dl-sabreauto.dts | 17 + 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/imx6dl-sabreauto.dts diff --git

[U-Boot] [PATCH 14/26] arm: dts: Add imx6dl-sabresd dts file

2019-01-18 Thread Abel Vesa
Add imx6dl-sabresd dts support from Linux. Signed-off-by: Abel Vesa --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/imx6dl-sabresd.dts | 17 + 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/imx6dl-sabresd.dts diff --git

[U-Boot] [PATCH 11/26] arm: dts: Add imx6q-sabreauto dts file

2019-01-18 Thread Abel Vesa
Add imx6q-sabreauto dts support from Linux. Signed-off-by: Abel Vesa --- arch/arm/dts/Makefile| 3 ++- arch/arm/dts/imx6q-sabreauto.dts | 25 + 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/imx6q-sabreauto.dts diff --git

[U-Boot] [PATCH 20/26] mx6sabreauto: Add DM_GPIO support

2019-01-18 Thread Abel Vesa
Add the DM_GPIO related config for mx6sabreauto. Also add the gpio request calls. Signed-off-by: Abel Vesa --- board/freescale/mx6sabreauto/mx6sabreauto.c | 3 +++ configs/mx6sabreauto_defconfig | 1 + 2 files changed, 4 insertions(+) diff --git

[U-Boot] [PATCH 18/26] configs: mx6sabreauto: Add SPL FIT and DM support

2019-01-18 Thread Abel Vesa
Enable all the necessary configs for SPL DM and FIT support for mx6sabreauto. Signed-off-by: Abel Vesa --- configs/mx6sabreauto_defconfig | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index

  1   2   >