[U-Boot] [PATCH] mtd/spi: fix block count for is25lq040b

2017-12-14 Thread Sean Nyekjaer
This spi-nor is 4Mbit/512KB Fixes: b4fbcbc5a5 ("mtd/spi: add support for is25lq040b") Signed-off-by: Sean Nyekjaer --- drivers/mtd/spi/spi_flash_ids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index 32c61

Re: [U-Boot] [PATCH] dm: mmc: sandbox: Update SD card emulation

2017-12-14 Thread Jaehoon Chung
On 12/14/2017 07:47 PM, Jean-Jacques Hiblot wrote: > The SDcard initialization procedure does a few more things than it did > earlier: > * switch the bus width even for 1-bit bus width > * check that speed has been properly set (in resp[4] of SD_CMD_SWITCH_FUNC) > > Update the SD simulator to han

[U-Boot] rk3288: broken boot

2017-12-14 Thread Jagan Teki
Hi Philipp/Kever, Issue observed on rk3288 TPL supported board (vyasa), worked on previous release v2017.11. Tried to bisect but i couldn't do it because of changes in many files any help? thanks! -- Jagan Teki Senior Linux Kernel Engineer | Amarula Solutions U-Boot, Linux | Upstream Maintainer

[U-Boot] [PATCH] spl: atf: fix the plat_params

2017-12-14 Thread Kever Yang
The latest upstream ATF still not support using a fdt base as plat_params, I get error like this: "ERROR: not expected type found 6410029648624618960" The reason is the ATF source code parse the plat_param, and can not decode the type in: /* common header for all plat parameter type */ struct bl

[U-Boot] [PATCH v3 2/3] rockchip: firefly-rk3399: add FIT for rk3399

2017-12-14 Thread Kever Yang
Enable SPL_FIT_GENERATOR with path for it. With this patch you can get u-boot.itb for rk3399-firefly with: > make u-boot.itb Signed-off-by: Kever Yang Reviewed-by: Mark Kettenis Tested-by: Mark Kettenis --- Changes in v3: - update with new script path Changes in v2: - typo fix, rk3399-evb->rk

[U-Boot] [PATCH v3 3/3] rockchip: evb-rk3399: update document for board bring up

2017-12-14 Thread Kever Yang
Since we support ATF in SPL and add script for it, let's make the document up to date. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich --- Changes in v3: - update addr for uboot.itb to 0x4000 Changes in v2: - typo fix, evb-firefly->firefly-rk3399 board/rockchip/evb_rk3399/README | 83 +++

[U-Boot] [PATCH v3 1/3] rockchip: add a common script for generate fit its

2017-12-14 Thread Kever Yang
Rockchip release bl31.elf file for armv8 SoCs like rk3399, rk3328, the elf have more than one section, we need to decode it first and packed them into u-boot.itb with its file. This script is to generate the its script. Need default bl31.elf in root directory of U-Boot source and dtb as parameter.

Re: [U-Boot] [U-Boot, 07/15] spl: atf: introduce spl_invoke_atf and make bl31_entry private

2017-12-14 Thread Kever Yang
Hi Philipp, This patch use fdt_addr as plat_params, break the compatible with upstream ATF, and get error: "ERROR: not expected type found 6410029648624618960" The ATF do have a requirement for plat_params structure, and fdt_addr does not match this: /* common header for all plat pa

Re: [U-Boot] [PATCH 2/2] disk: part: use common api to lookup part driver

2017-12-14 Thread Kever Yang
Hi Philipp, On 12/14/2017 05:53 PM, Dr. Philipp Tomsich wrote: Kever, On 14 Dec 2017, at 07:39, Kever Yang wrote: Do not need to scan disk every time when we get part info by name. How does this interact with USB devices? I.e.: what happens, when you get the partition-info for a usb drive,

[U-Boot] [PATCH] ARM SOCFPGA: add resetmgr command so reset can be deasserted in bootcmd (for example on peripheral dma interfaces after fpga has been programmed).

2017-12-14 Thread Frank Mori Hess
--- arch/arm/mach-socfpga/reset_manager_gen5.c | 31 + + 1 file changed, 31 insertions(+) diff --git a/arch/arm/mach-socfpga/reset_manager_gen5.c b/arch/arm/mach- socfpga/reset_manager_gen5.c index aa88adb414..6ad5d2a362 100644 --- a/arch/arm/mach-socfpga/reset_manager

[U-Boot] [PATCH] ARM SOCFPGA: add resetmgr command so reset can be deasserted in bootcmd (for example on peripheral dma interfaces after fpga has been programmed).

2017-12-14 Thread Frank Mori Hess
--- arch/arm/mach-socfpga/reset_manager_gen5.c | 31 ++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/mach-socfpga/reset_manager_gen5.c b/arch/arm/mach-socfpga/reset_manager_gen5.c index aa88adb414..6ad5d2a362 100644 --- a/arch/arm/mach-socfpga/reset_manager_

[U-Boot] [PATCH V12 1/4] usb: rockchip: add the rockusb gadget

2017-12-14 Thread Eddie Cai
this patch implement rockusb protocol on the device side. this is based on USB download gadget infrastructure. the rockusb function implements the rd, wl, rid commands. it can work with rkdeveloptool Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v12: -use dynamically allocated

Re: [U-Boot] [PATCH V11 1/4] usb: rockchip: add the rockusb gadget

2017-12-14 Thread Eddie Cai
Hi Lukasz 2017-12-12 20:31 GMT+08:00 Lukasz Majewski : > Hi Eddie, > >> On 12/01/2017 08:20 AM, Eddie Cai wrote: >> > this patch implement rockusb protocol on the device side. this is >> > based on USB download gadget infrastructure. the rockusb function >> > implements the rd, wl, rid commands. i

[U-Boot] [PATCH V12 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-12-14 Thread Eddie Cai
this patch enable rockusb support on rk3288 based device. Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v12: -none Changes in v11: -none Changes in v10: -rebase to latest mainline U-Boot, add vyasa board support Changes in v9: -fix compile error Changes in v8: -fix compile

[U-Boot] [PATCH V12 2/4] usb: rockchip: add rockusb command

2017-12-14 Thread Eddie Cai
this patch add rockusb command. the usage is rockusb e.g. rockusb 0 mmc 0 Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v12: -rebase to the latest main line U-Boot Changes in v11: -fix check patch error -add maintainer Changes in v10: -fix build error Changes in v9: -fix

[U-Boot] [PATCH V12 3/4] rockchip:usb: add a simple readme for rockusb

2017-12-14 Thread Eddie Cai
add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v12: -none Changes in v11: -add to MAINTAINER Changes in v10: -none Changes in v9: -none Changes in v8: -none Changes in v7: -none Changes in v6: -none C

[U-Boot] [PATCH V12 0/4] introduce Rockchip rockusb

2017-12-14 Thread Eddie Cai
rockusb is a protocol run between host pc and device. it help people get device info, flash image to device. this patch implement rockusb on device side Changes in v12: -use dynamically allocated buffer -address Marek's comments Changes in v11: -fix check patch error -add maintainer Changes in v

Re: [U-Boot] [PATCH v2 3/5] Introduce CONFIG_ENABLE_BUG_CHECKS to disable BUG{_ON} by default

2017-12-14 Thread Masahiro Yamada
2017-12-12 22:47 GMT+09:00 Tom Rini : > On Tue, Dec 12, 2017 at 10:06:19AM +0100, Lothar Waßmann wrote: >> Hi, >> >> On Mon, 4 Dec 2017 12:37:02 +0900 Masahiro Yamada wrote: >> > BUG() and BUG_ON() are generally used to test a condition that should >> > never happen. If it does, it is a bug. >> >

Re: [U-Boot] [PULL] u-boot-sh/rmobile-mx

2017-12-14 Thread Tom Rini
On Wed, Dec 13, 2017 at 08:45:42AM +0100, Marek Vasut wrote: > The following changes since commit 335f7b1290ce24a729a9689a1db834c743226ca8: > > Merge git://git.denx.de/u-boot-mpc85xx (2017-12-08 12:02:01 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-sh.git

Re: [U-Boot] [PULL] u-boot-usb/master

2017-12-14 Thread Tom Rini
On Wed, Dec 13, 2017 at 08:46:18AM +0100, Marek Vasut wrote: > The following changes since commit 335f7b1290ce24a729a9689a1db834c743226ca8: > > Merge git://git.denx.de/u-boot-mpc85xx (2017-12-08 12:02:01 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-usb.git

Re: [U-Boot] [PULL] u-boot-socfpga/master

2017-12-14 Thread Tom Rini
On Wed, Dec 13, 2017 at 08:46:49AM +0100, Marek Vasut wrote: > The following changes since commit 335f7b1290ce24a729a9689a1db834c743226ca8: > > Merge git://git.denx.de/u-boot-mpc85xx (2017-12-08 12:02:01 -0500) > > are available in the Git repository at: > > git://git.denx.de/u-boot-socfpga

Re: [U-Boot] please pull u-boot-samsung master

2017-12-14 Thread Tom Rini
On Wed, Dec 13, 2017 at 01:43:24PM +0900, Jaehoon Chung wrote: > The below message is from Minkyu. > I just resend his original PR. > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] Please pull u-boot-dm (take 2)

2017-12-14 Thread Simon Glass
Hi Stephen, On 13 December 2017 at 09:49, Stephen Warren wrote: > On 12/13/2017 09:14 AM, Simon Glass wrote: >> >> Hi Tom, >> >> I dropped the translation patch until Tegra can be fixed to work with >> it. This is storing up problems though, since in the meantime others >> might rely on the curre

Re: [U-Boot] [PATCH v2] drivers: core: Add translation in live tree case

2017-12-14 Thread Simon Glass
+Stephen, Tom Hi Mario, I've had to drop this since it breaks tegra. Stephen feels that this is likely a bug in the patch rather than anything wrong with Tegra. Do you have any thoughts? I can potentially try things out on the Tegra boards I have. Regards, Simon On 8 December 2017 at 10:11,

Re: [U-Boot] Please pull u-boot-dm (take 2)

2017-12-14 Thread Simon Glass
Hi Tom, On 14 December 2017 at 12:51, Tom Rini wrote: > On Wed, Dec 13, 2017 at 09:14:00AM -0700, Simon Glass wrote: > >> Hi Tom, >> >> I dropped the translation patch until Tegra can be fixed to work with >> it. This is storing up problems though, since in the meantime others >> might rely on th

Re: [U-Boot] Please pull u-boot-mmc master

2017-12-14 Thread Tom Rini
On Thu, Dec 14, 2017 at 05:48:01PM +0900, Jaehoon Chung wrote: > On 12/14/2017 02:37 PM, Stephen Warren wrote: > > On 12/13/2017 09:25 PM, Jaehoon Chung wrote: > >> On 12/14/2017 12:23 PM, Tom Rini wrote: > >>> On Thu, Dec 14, 2017 at 11:16:55AM +0900, Jaehoon Chung wrote: > >>> > Dear Tom, >

Re: [U-Boot] [PATCH v4 1/2] drivers/misc: Share qbman init between archs

2017-12-14 Thread York Sun
On 12/13/2017 09:49 PM, Ahmed Mansour wrote: > This patch adds changes necessary to move functionality present in > PowerPC folders with ARM architectures that have DPAA1 QBMan hardware > > - Create new board/freescale/common/fsl_portals.c to house shared > device tree fixups for DPAA1 devices w

Re: [U-Boot] [PATCH v4 2/2] Move SYS_DPAA_QBMAN to Kconfig

2017-12-14 Thread York Sun
On 12/13/2017 09:49 PM, Ahmed Mansour wrote: > The CONFIG_SYS_DPAA_QBMAN define is used by DPAA1 freescale SOCs to > add device tree fixups that allow deep sleep in Linux. The define was > placed in header files included by a number of boards, but was not > explicitly documented in any of the Kconf

Re: [U-Boot] Please pull u-boot-dm (take 2)

2017-12-14 Thread Tom Rini
On Wed, Dec 13, 2017 at 09:14:00AM -0700, Simon Glass wrote: > Hi Tom, > > I dropped the translation patch until Tegra can be fixed to work with > it. This is storing up problems though, since in the meantime others > might rely on the current behaviour. Is this building binman only when the boa

[U-Boot] [PATCH] imx: spl: Fix NAND bootmode detection

2017-12-14 Thread Eran Matityahu
commit 20f14714169 ("imx: spl: Update NAND bootmode detection bit") broke the NAND bootmode detection by checking if BOOT_CFG1[7:4] == 0x8 for NAND boot mode. This commit essentially reverts it, while using the IMX6_BMODE_* macros that were introduced since. Tables 8-7 & 8-10 from IMX6DQRM say the

[U-Boot] [PATCH v2 3/8] arm: mach-snapdragon: refactor clock driver

2017-12-14 Thread Jorge Ramirez-Ortiz
In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-snapdragon/Makefile | 6 +- arch/arm/mach-snapdragon/clock-apq8016.c

[U-Boot] [PATCH v2 6/8] db820c: stop autoboot when vol- pressed

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- include/configs/dragonboard820c.h| 2 ++ 3 files changed, 57 insertions(+), 1 deletion(-) cr

[U-Boot] [PATCH v2 4/8] db820c: add qualcomm dragonboard 820C support

2017-12-14 Thread Jorge Ramirez-Ortiz
This commit adds support for 96Boards Dragonboard820C. The board is based on APQ8086 Qualcomm Soc, complying with the 96Boards specification. Features - 4x Kyro CPU (64 bit) up to 2.15GHz - USB2.0 - USB3.0 - ISP - Qualcomm Hexagon DSP - SD 3.0 (UHS-I) - UFS 2.0 - Qualcomm Adreno 530 GPU

[U-Boot] [PATCH v2 8/8] db410c: update wlan and bt mac addresses from firmware

2017-12-14 Thread Jorge Ramirez-Ortiz
The firmware that runs before u-boot modifies u-boot's device tree adding the local-mac-address and local-bd-address properties for the compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan". This commit reads that firmware, retrieves the properties and fixups the device tree that is passed to the kern

[U-Boot] [PATCH v2 5/8] db820c: enable pmic gpios for pm8994

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/pm8916_gpio.c| 7 +-- 3 files changed, 55 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/drago

[U-Boot] [PATCH v2 1/8] env: enable accessing the environment in an EXT4 partition

2017-12-14 Thread Jorge Ramirez-Ortiz
For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's default config: CONFIG_ENV_IS_IN_EXT4=y CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1" CONFIG_ENV_EXT4_FILE="/uboot.env"

[U-Boot] [PATCH v2 7/8] db410c: configs: increase max kernel size

2017-12-14 Thread Jorge Ramirez-Ortiz
the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index d2447b2..fdfac27 100644

[U-Boot] [PATCH v2 2/8] spmi: msm: display the PMIC Arb version (debug)

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++ b/drivers/spmi/spmi-msm.c @@ -17,6 +17,11 @@ DECLA

[U-Boot] Dragonboard410c and Dragonboard820c patchset

2017-12-14 Thread Jorge Ramirez-Ortiz
The following version fixes some nasty compiler warnings present in the previous version. Sorry about it. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] common/memsize.c: restore content of the base address

2017-12-14 Thread Patrick DELAUNAY
Hi Wolfgang, > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > > Dear Patrick, > > In message <10532397af3d416f9a1b30f0b09a9...@sfhdag6node3.st.com> > you wrote: > > > > > You should keep the functionality, but move it to where it belongs, > > > i. e. to the SPL running

Re: [U-Boot] [EXT] Re: arm64: a37xx: add distro boot compability

2017-12-14 Thread Andre Heider
Hi Kostya, On 14/12/17 13:21, Kostya Porotchkin wrote: While having the attention of both of you: Downstream has diverged quite a bit compared to upstream, is there any ongoing work to upstream the missing bits? [Konstantin Porotchkin] I need to understand the terminology first :-) The upstream

Re: [U-Boot] [EXT] Re: arm64: a37xx: add distro boot compability

2017-12-14 Thread Kostya Porotchkin
Hi, Andre, > -Original Message- > From: Andre Heider [mailto:a.hei...@gmail.com] > Sent: Thursday, December 14, 2017 14:03 > To: Stefan Roese; Kostya Porotchkin > Cc: u-boot@lists.denx.de > Subject: [EXT] Re: arm64: a37xx: add distro boot compability > > External Email > > --

[U-Boot] [PATCH v2 2/2] armv8: ls1088ardb: Add environment variable address location for QSPI-NOR

2017-12-14 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- include/configs/ls1088a_common.h | 6 ++ include/configs/ls1088aqds.h | 1 - include/configs/ls1088ardb.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h index b9

[U-Boot] [PATCH v2 1/2] env: sf: Add support for env init for QSPI-NOR

2017-12-14 Thread Ashish Kumar
ENV variables can now be used before relocation. Signed-off-by: Ashish Kumar --- v2: replace & with && in #if Tested on ls1088ardb. Tested on ls1012hexa after defining CONFIG_ENV_ADDR env/sf.c | 21 + 1 file changed, 21 insertions(+) diff --git a/env/sf.c b/env/sf.c index

Re: [U-Boot] arm64: a37xx: add distro boot compability

2017-12-14 Thread Andre Heider
On 14/12/17 11:30, Stefan Roese wrote: On 14.12.2017 11:26, Andre Heider wrote: On 14/12/17 11:23, Stefan Roese wrote: Hi Andre, On 14.12.2017 11:17, Andre Heider wrote: On 02/12/17 10:46, Andre Heider wrote: this small set improves the usability to ease booting distro shipped kernels. Teste

[U-Boot] [PATCH 8/8] db410c: update wlan and bt mac addresses from firmware

2017-12-14 Thread Jorge Ramirez-Ortiz
The firmware that runs before u-boot modifies u-boot's device tree adding the local-mac-address and local-bd-address properties for the compatibles "qcom,wcnss-bt" and "qcom,wcnss-wlan". This commit reads that firmware, retrieves the properties and fixups the device tree that is passed to the kern

[U-Boot] [PATCH 1/2] env: sf: Add support for env init for QSPI-NOR

2017-12-14 Thread Ashish Kumar
ENV variables can now be used before relocation. Signed-off-by: Ashish Kumar --- Tested on ls1088ardb Tested on ls1012 after adding CONFIG_ENV_ADDR in header files env/sf.c | 21 + 1 file changed, 21 insertions(+) diff --git a/env/sf.c b/env/sf.c index e51b1ae..d3d46d0 1006

[U-Boot] [PATCH 2/2] armv8: ls1088ardb: Add environment variable address location for QSPI-NOR

2017-12-14 Thread Ashish Kumar
Signed-off-by: Ashish Kumar --- include/configs/ls1088ardb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h index 1da8153..56416de 100644 --- a/include/configs/ls1088ardb.h +++ b/include/configs/ls1088ardb.h @@ -12,8 +12,10 @@ #d

[U-Boot] [PATCH 6/8] db820c: stop autoboot when vol- pressed

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c-uboot.dtsi | 19 board/qualcomm/dragonboard820c/dragonboard820c.c | 37 +++- include/configs/dragonboard820c.h| 2 ++ 3 files changed, 57 insertions(+), 1 deletion(-) cr

[U-Boot] [PATCH 7/8] db410c: configs: increase max kernel size

2017-12-14 Thread Jorge Ramirez-Ortiz
the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/dragonboard410c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index d2447b2..fdfac27 100644

[U-Boot] [PATCH 5/8] db820c: enable pmic gpios for pm8994

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard820c.dts | 43 +++ configs/dragonboard820c_defconfig | 7 +++ drivers/gpio/pm8916_gpio.c| 7 +-- 3 files changed, 55 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/drago

[U-Boot] [PATCH 4/8] db820c: add qualcomm dragonboard 820C support

2017-12-14 Thread Jorge Ramirez-Ortiz
This commit adds support for 96Boards Dragonboard820C. The board is based on APQ8086 Qualcomm Soc, complying with the 96Boards specification. Features - 4x Kyro CPU (64 bit) up to 2.15GHz - USB2.0 - USB3.0 - ISP - Qualcomm Hexagon DSP - SD 3.0 (UHS-I) - UFS 2.0 - Qualcomm Adreno 530 GPU

[U-Boot] [PATCH 3/8] arm: mach-snapdragon: refactor clock driver

2017-12-14 Thread Jorge Ramirez-Ortiz
In preparation to add support for the Dragonboard820c (APQ8096), refactor the current Snapdragon clock driver. No new functionality has been added. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-snapdragon/Makefile | 6 +- arch/arm/mach-snapdragon/clock-apq8016.c

[U-Boot] [PATCH 1/8] env: enable accessing the environment in an EXT4 partition

2017-12-14 Thread Jorge Ramirez-Ortiz
For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's default config: CONFIG_ENV_IS_IN_EXT4=y CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1" CONFIG_ENV_EXT4_FILE="/uboot.env"

[U-Boot] [PATCH 2/8] spmi: msm: display the PMIC Arb version (debug)

2017-12-14 Thread Jorge Ramirez-Ortiz
Signed-off-by: Jorge Ramirez-Ortiz --- drivers/spmi/spmi-msm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c index c226913..e9bfbb0 100644 --- a/drivers/spmi/spmi-msm.c +++ b/drivers/spmi/spmi-msm.c @@ -17,6 +17,11 @@ DECLA

Re: [U-Boot] [PATCH] common/memsize.c: restore content of the base address

2017-12-14 Thread Wolfgang Denk
Dear Patrick, In message <10532397af3d416f9a1b30f0b09a9...@sfhdag6node3.st.com> you wrote: > > > You should keep the functionality, but move it to where it belongs, i. e. > > to the > > SPL running from OCM. > > I remove it in U-Boot and I call it only in SPL, > executed in onchip RAM, juste af

[U-Boot] Anyone using recentish u-boot on a GuruPlug?

2017-12-14 Thread Martin Husemann
I naively compiled a 2017.11 u-boot for GuruPlug and wrote the u-boot.kwb to nand, but that bricked the GuruPlug (should have tested with a ram version first, yes, I know). I have a jtag for it and was able to recover, but I wonder if i did something wrong in my local build or if support just bitr

[U-Boot] [PATCH v4 1/2] drivers/misc: Share qbman init between archs

2017-12-14 Thread Ahmed Mansour
This patch adds changes necessary to move functionality present in PowerPC folders with ARM architectures that have DPAA1 QBMan hardware - Create new board/freescale/common/fsl_portals.c to house shared device tree fixups for DPAA1 devices with ARM and PowerPC cores - Add new header file to top

[U-Boot] [PATCH v4 0/2] arm: ppc: Share DPAA1 fixups between ARCHs

2017-12-14 Thread Ahmed Mansour
- Support DPAA1 QBMan device tree fixups in a shared location for both arm and ppc architectures - cleanup a define from header files and add as Kconfig with auto selection based on SOC Changes in v4: - Update function name setup_portals() to setup_qbman_portals() in files that were missed t

[U-Boot] [PATCH v4 2/2] Move SYS_DPAA_QBMAN to Kconfig

2017-12-14 Thread Ahmed Mansour
The CONFIG_SYS_DPAA_QBMAN define is used by DPAA1 freescale SOCs to add device tree fixups that allow deep sleep in Linux. The define was placed in header files included by a number of boards, but was not explicitly documented in any of the Kconfigs. A description was added to the drivers/networkin

Re: [U-Boot] [EXT] [PATCH] arm64: mvebu: armada-8k: support SD card environment

2017-12-14 Thread Kostya Porotchkin
> -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: Sunday, December 10, 2017 13:54 > To: Stefan Roese > Cc: u-boot@lists.denx.de; Sergey Matyukevich; Baruch Siach; Kostya > Porotchkin > Subject: [EXT] [PATCH] arm64: mvebu: armada-8k: support SD card > environment

Re: [U-Boot] [EXT] [PATCH 4/4] arm64: a37xx: use distro bootcmd

2017-12-14 Thread Kostya Porotchkin
> -Original Message- > From: Andre Heider [mailto:a.hei...@gmail.com] > Sent: Saturday, December 02, 2017 11:47 > To: u-boot@lists.denx.de > Cc: Stefan Roese; Kostya Porotchkin > Subject: [EXT] [PATCH 4/4] arm64: a37xx: use distro bootcmd > > External Email > > -

Re: [U-Boot] [EXT] [PATCH 2/4] arm64: a37xx: add distro compatible env vars

2017-12-14 Thread Kostya Porotchkin
> -Original Message- > From: Andre Heider [mailto:a.hei...@gmail.com] > Sent: Saturday, December 02, 2017 11:47 > To: u-boot@lists.denx.de > Cc: Stefan Roese; Kostya Porotchkin > Subject: [EXT] [PATCH 2/4] arm64: a37xx: add distro compatible env vars > > External Email > > -

Re: [U-Boot] [EXT] [PATCH 3/4] arm64: a37xx: defconfigs: enable CONFIG_DISTRO_DEFAULTS

2017-12-14 Thread Kostya Porotchkin
> -Original Message- > From: Andre Heider [mailto:a.hei...@gmail.com] > Sent: Saturday, December 02, 2017 11:47 > To: u-boot@lists.denx.de > Cc: Stefan Roese; Kostya Porotchkin > Subject: [EXT] [PATCH 3/4] arm64: a37xx: defconfigs: enable > CONFIG_DISTRO_DEFAULTS > > External Email > >

Re: [U-Boot] [EXT] [PATCH 1/4] arm64: a37xx: use disto defaults

2017-12-14 Thread Kostya Porotchkin
> -Original Message- > From: Andre Heider [mailto:a.hei...@gmail.com] > Sent: Saturday, December 02, 2017 11:47 > To: u-boot@lists.denx.de > Cc: Stefan Roese; Kostya Porotchkin > Subject: [EXT] [PATCH 1/4] arm64: a37xx: use disto defaults > > External Email > > -

[U-Boot] [PATCH] dm: mmc: sandbox: Update SD card emulation

2017-12-14 Thread Jean-Jacques Hiblot
The SDcard initialization procedure does a few more things than it did earlier: * switch the bus width even for 1-bit bus width * check that speed has been properly set (in resp[4] of SD_CMD_SWITCH_FUNC) Update the SD simulator to handle those requests gracefully. Signed-off-by: Jean-Jacques Hibl

Re: [U-Boot] Please pull u-boot-mmc master

2017-12-14 Thread Jean-Jacques Hiblot
Hi Tom, Jeahoon, On 14/12/2017 06:25, Jaehoon Chung wrote: On 12/14/2017 12:23 PM, Tom Rini wrote: On Thu, Dec 14, 2017 at 11:16:55AM +0900, Jaehoon Chung wrote: Dear Tom, Could you pull these patches to u-boot/master? Sorry for late. We want to support HS200/UHS mode at v2018.01. I have t

Re: [U-Boot] arm64: a37xx: add distro boot compability

2017-12-14 Thread Stefan Roese
On 14.12.2017 11:26, Andre Heider wrote: On 14/12/17 11:23, Stefan Roese wrote: Hi Andre, On 14.12.2017 11:17, Andre Heider wrote: On 02/12/17 10:46, Andre Heider wrote: this small set improves the usability to ease booting distro shipped kernels. Tested on espressobin with debian's flash-ker

Re: [U-Boot] arm64: a37xx: add distro boot compability

2017-12-14 Thread Andre Heider
Hi, On 14/12/17 11:23, Stefan Roese wrote: Hi Andre, On 14.12.2017 11:17, Andre Heider wrote: On 02/12/17 10:46, Andre Heider wrote: this small set improves the usability to ease booting distro shipped kernels. Tested on espressobin with debian's flash-kernel. I could successfully boot from u

Re: [U-Boot] arm64: a37xx: add distro boot compability

2017-12-14 Thread Stefan Roese
Hi Andre, On 14.12.2017 11:17, Andre Heider wrote: On 02/12/17 10:46, Andre Heider wrote: this small set improves the usability to ease booting distro shipped kernels. Tested on espressobin with debian's flash-kernel. I could successfully boot from usb. Anyone? Bueller? I'm waiting for Kost

[U-Boot] [PATCH] common: image.c: Fix CACHE: Misaligned operation output

2017-12-14 Thread Heiko Schocher
When booting a itb file with a Ramdisk on a imx6 based board, U-Boot drops the warning: Loading Kernel Image ... OK Loading Ramdisk to 4ecf1000, end 4ef8b11f ... \ CACHE: Misaligned operation at range [4ecf1000, 4ef8b11f] Fix it! Signed-off-by: Heiko Schocher Tested-by: Ayoub Zaki --- Tested

Re: [U-Boot] arm64: a37xx: add distro boot compability

2017-12-14 Thread Andre Heider
On 02/12/17 10:46, Andre Heider wrote: this small set improves the usability to ease booting distro shipped kernels. Tested on espressobin with debian's flash-kernel. I could successfully boot from usb. Anyone? Bueller? ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH 2/2] disk: part: use common api to lookup part driver

2017-12-14 Thread Dr. Philipp Tomsich
Kever, > On 14 Dec 2017, at 07:39, Kever Yang wrote: > > Do not need to scan disk every time when we get part info > by name. How does this interact with USB devices? I.e.: what happens, when you get the partition-info for a usb drive, then change the attached usb drive (with only a single one

Re: [U-Boot] [PATCH v3 3/5] docs: Document verified-boot for sunxi a64

2017-12-14 Thread Maxime Ripard
On Wed, Dec 13, 2017 at 09:41:35PM +0530, Jagan Teki wrote: > On Wed, Dec 13, 2017 at 9:08 PM, Maxime Ripard > wrote: > > Hi, > > > > On Wed, Dec 13, 2017 at 11:33:04AM +0530, Jagan Teki wrote: > >> Add verified-boot documentation for sunxi a64 platform. > >> > >> Signed-off-by: Jagan Teki > >> -

Re: [U-Boot] [linux-sunxi] Re: [PATCH v3 1/5] sunxi: a64: Enable FIT Signature

2017-12-14 Thread Peter Korsgaard
> "Jagan" == Jagan Teki writes: > On Wed, Dec 13, 2017 at 9:38 PM, Peter Korsgaard wrote: >>> "Maxime" == Maxime Ripard writes: >> >> Hi, >> >> >> +++ b/arch/arm/mach-sunxi/Kconfig >> >> @@ -179,6 +179,7 @@ config MACH_SUN50I >> >> select SUNXI_DRAM_DW_32BIT >> >> select FIT

Re: [U-Boot] Please pull u-boot-mmc master

2017-12-14 Thread Jaehoon Chung
On 12/14/2017 02:37 PM, Stephen Warren wrote: > On 12/13/2017 09:25 PM, Jaehoon Chung wrote: >> On 12/14/2017 12:23 PM, Tom Rini wrote: >>> On Thu, Dec 14, 2017 at 11:16:55AM +0900, Jaehoon Chung wrote: >>> Dear Tom, Could you pull these patches to u-boot/master? Sorry for late.

Re: [U-Boot] [PATCH v3 1/5] sunxi: a64: Enable FIT Signature

2017-12-14 Thread Jagan Teki
On Wed, Dec 13, 2017 at 9:09 PM, Maxime Ripard wrote: > On Wed, Dec 13, 2017 at 11:33:02AM +0530, Jagan Teki wrote: >> From: Jagan Teki >> >> Enable FIT_SIGNATURE for sunxi a64. >> >> Signed-off-by: Jagan Teki >> --- >> Changes for v3: >> - Move imply outside block >> Changes for v2: >> - Use im

Re: [U-Boot] [linux-sunxi] Re: [PATCH v3 1/5] sunxi: a64: Enable FIT Signature

2017-12-14 Thread Jagan Teki
On Wed, Dec 13, 2017 at 9:38 PM, Peter Korsgaard wrote: >> "Maxime" == Maxime Ripard writes: > > Hi, > > >> +++ b/arch/arm/mach-sunxi/Kconfig > >> @@ -179,6 +179,7 @@ config MACH_SUN50I > >> select SUNXI_DRAM_DW_32BIT > >> select FIT > >> select SPL_LOAD_FIT > >> + imply FIT_SIGNATURE