[U-Boot] [PATCH 8/8][RESEND] powerpc: dts: Enable device tree support for T2080QDS

2018-08-21 Thread Jagdish Gediya
Add device tree for T2080QDS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. update board README for device tree usage. Signed-off-by: Jagdish Gediya --- arch/powerpc/dts/Makefile | 2 ++ arch/powerpc/dts/e6500_power_isa.dtsi | 39 +

[U-Boot] [PATCH 7/8][RESEND] powerpc: mpc85xx: Use binman to embed dtb inside u-boot

2018-08-21 Thread Jagdish Gediya
Below is the sequence to embed dtb inside u-boot, 1. Remove bootpg and resetvec section if needed 2. Append dtb 3. Append bootpg and resetvec section back if removed previously Above procedure is required only when CONFIG_MPC85xx, CONFIG_BINMAN and CONFIG_OF_SEPARATE are defined. set

[U-Boot] [PATCH 4/8][RESEND] binman: Add support for powerpc 'bootpg + resetvec' entry

2018-08-21 Thread Jagdish Gediya
This entry contains the powerpc boot page and resetvec sections. Signed-off-by: Jagdish Gediya --- tools/binman/etype/mpc85xx_bootpg_resetvec.py | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 tools/binman/etype/mpc85xx_bootpg_resetvec.py diff --git

Re: [U-Boot] [PATCH 2/3] x86: Enable -fdata-sections always

2018-08-21 Thread Bin Meng
On Mon, Aug 20, 2018 at 8:32 PM, Alexander Graf wrote: > We left -fdata-sections disabled for x86_64 before because we encountered > random bugs that were at that time inexplicable. > > Turns out this really was just side effects of missing .bss* statements > in the linker scripts. With those

[U-Boot] [PATCH 6/8][RESEND] powerpc: dts: add u-boot.dtsi and mpc85xx-u-boot.dtsi

2018-08-21 Thread Jagdish Gediya
add required binman node inside dts to use binman to prepare u-boot-dtb.bin Signed-off-by: Jagdish Gediya --- arch/powerpc/dts/mpc85xx-u-boot.dtsi | 16 arch/powerpc/dts/u-boot.dtsi | 31 +++ 2 files changed, 47 insertions(+) create mode

[U-Boot] [PATCH 5/8][RESEND] powerpc: mpc85xx: select BINMAN by default

2018-08-21 Thread Jagdish Gediya
Signed-off-by: Jagdish Gediya --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 8faef0b..c727d91 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -20,6 +20,7 @@ config MPC85xx select

Re: [U-Boot] Booting into winCE .nb0 without access to source files

2018-08-21 Thread Andy Pont
Michael wrote... I have an awkward situation, short of it is we have a custom i.MX53 board, the nk.nb0 and eboot.nb0 files to boot into windows (with no source code), and an Ubuntu VM with the source code and compiled files of uboot from august 2009 (as well as some flavour of linux that I'm

Re: [U-Boot] [PATCH 04/10] Add UCLASS_TEE for Trusted Execution Environment

2018-08-21 Thread Jens Wiklander
Hi Simon, On Fri, Aug 17, 2018 at 06:48:47AM -0600, Simon Glass wrote: > Hi Jens, > > On 13 August 2018 at 09:53, Jens Wiklander wrote: > > Adds a uclass to interface with a TEE (Trusted Execution Environment). > > > > A TEE driver is a driver that interfaces with a trusted OS running in > >

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-21 Thread Bin Meng
Hi Marek, On Tue, Aug 21, 2018 at 1:43 PM, Marek Vasut wrote: > On 08/21/2018 06:56 AM, Bin Meng wrote: > [...] >> The proposal I made is: >> >> * Keep pci-uclass driver's post_bind() and child_post_bind() only for >> Sandbox configuration >> * Keep the call to

[U-Boot] [PATCH 0/8][RESEND] Device Tree support for PowerPC in u-boot

2018-08-21 Thread Jagdish Gediya
In current implementation, PowerPC does not support device tree in u-boot. This patch enables device tree support for PowerPC platform . T2080AQDS board used as first platform. Dtb is embedded in the u-boot following below steps using binmam tool. 1. Remove bootpg and resetvec section if

Re: [U-Boot] [PATCH 1/3] x86: Include bss subsections in linker script

2018-08-21 Thread Bin Meng
On Mon, Aug 20, 2018 at 8:32 PM, Alexander Graf wrote: > When we build with -fdata-sections we may end up with bss subsections. Our > linker script explicitly lists only a single consecutive bss section though. > > Adapt the statement to also include subsections. > > This fixes booting

[U-Boot] [PATCH 1/8][RESEND] powerpc/dts: setup fdt blob at __init_end

2018-08-21 Thread Jagdish Gediya
'__init_end' is defined in ld file. define 'board_fdt_blob_setup' to setup the fdt blob at '&__init_end'. Signed-off-by: Jagdish Gediya --- arch/powerpc/cpu/mpc8xxx/fdt.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c

[U-Boot] [PATCH 2/8][RESEND] powerpc/dts: makefile changes to clean and build dts

2018-08-21 Thread Jagdish Gediya
Signed-off-by: Jagdish Gediya --- arch/powerpc/dts/Makefile | 12 dts/Makefile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 arch/powerpc/dts/Makefile diff --git a/arch/powerpc/dts/Makefile b/arch/powerpc/dts/Makefile new file mode

[U-Boot] [PATCH 3/8][RESEND] binman: Add a new "start-pos" property in section class

2018-08-21 Thread Jagdish Gediya
currently binman calculates '_skip_at_start' based on 'end-at-4gb' property and it is used for x86 images. for powerpc architecture also, '_skip_at_start' should be set because memory address 0xeff4 or 0xfff4 is the first entry offset. 'end-at-4gb' property is not applicable for

Re: [U-Boot] Cavium Octeon support for u-boot

2018-08-21 Thread Aaron Williams
The Octeon version of U-Boot is based off an older versin of U-Boot (2012.07) with a lot of features backported. For example, I have backported NVME support as well as the latest filesystem code. Since there have been significant changes to U-Boot (i.e. 64-bit support) that were missing at the

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-21 Thread Marek Vasut
On 08/21/2018 09:16 AM, Bin Meng wrote: > Hi Marek, > > On Tue, Aug 21, 2018 at 1:43 PM, Marek Vasut wrote: >> On 08/21/2018 06:56 AM, Bin Meng wrote: >> [...] >>> The proposal I made is: >>> >>> * Keep pci-uclass driver's post_bind() and child_post_bind() only for >>> Sandbox

Re: [U-Boot] [PATCH 4/8][RESEND] binman: Add support for powerpc 'bootpg + resetvec' entry

2018-08-21 Thread Bin Meng
On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya wrote: > This entry contains the powerpc boot page and resetvec sections. Again, PowerPC Book-E or e500 would be better since other PowerPC variants like 60x (mpc83xx) does not have boot page and resetvec sections. > > Signed-off-by: Jagdish

Re: [U-Boot] [PATCH 2/8][RESEND] powerpc/dts: makefile changes to clean and build dts

2018-08-21 Thread Bin Meng
On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya wrote: > Signed-off-by: Jagdish Gediya > --- > arch/powerpc/dts/Makefile | 12 > dts/Makefile | 2 +- > 2 files changed, 13 insertions(+), 1 deletion(-) > create mode 100644 arch/powerpc/dts/Makefile > Reviewed-by: Bin

[U-Boot] [PATCH u-boot-marvell v3 04/12] board: turris_mox: Fixup U-Boot's device tree if PCIe connected

2018-08-21 Thread Marek Behún
If PCIe Mox module is connected we want to have PCIe node enabled in U-Boot's device tree. Signed-off-by: Marek Behun --- arch/arm/dts/armada-3720-turris-mox.dts | 7 +++ board/CZ.NIC/turris_mox/turris_mox.c| 82 + configs/turris_mox_defconfig|

[U-Boot] [PATCH v2] ls1088ardb_pb: Add support for ls1088ardb_pb board.

2018-08-21 Thread Pramod Kumar
ls1088ardb-pb is another varinat of the ls1088ardb. This board support two m.2 x2 gen 3 pcie card slot. There is no support of sata, pcie standard slot, miniPCIE slot and TDM in this board. Signed-off-by: Pramod Kumar --- Changes in v2: - Fix the compilation issue when building u-boot for SD

[U-Boot] [PATCH] configs: sama5d2_xplained: Add defconfig for ENV/boot from eMMC

2018-08-21 Thread Codrin Ciubotariu
This adds a defconfig for sama5d2_xplained board to get environment from eMMC. The defconfig is made from sama5d2_xplained_mmc_defconfig, with 'bootcmd' and 'bootargs' changed to kernel, device-tree and rootfs from eMMC. The environment is expected to be found in eMMC's FAT partition.

Re: [U-Boot] [PATCH 3/8][RESEND] binman: Add a new "start-pos" property in section class

2018-08-21 Thread Bin Meng
On Wed, Aug 22, 2018 at 2:06 AM, Jagdish Gediya wrote: > currently binman calculates '_skip_at_start' based on 'end-at-4gb' nits: Currently > property and it is used for x86 images. > > for powerpc architecture also, '_skip_at_start' should be set because powerpc -> PowerPC Book-E, or maybe

Re: [U-Boot] [PATCH 6/8][RESEND] powerpc: dts: add u-boot.dtsi and mpc85xx-u-boot.dtsi

2018-08-21 Thread Bin Meng
On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya wrote: > add required binman node inside dts to use binman to prepare nits: Add > u-boot-dtb.bin > > Signed-off-by: Jagdish Gediya > --- > arch/powerpc/dts/mpc85xx-u-boot.dtsi | 16 > arch/powerpc/dts/u-boot.dtsi | 31

[U-Boot] [PATCH] mmc: omap_hsmmc: Make DM_GPIO calls dependent on DM_GPIO

2018-08-21 Thread Adam Ford
The getcd and getwp functions when DM_MMC is enabled are assumming the DM_GPIO is enabled. In cases (like SPL) where DM_GPIO may not be enabled, wrap these calls in an #ifdef Signed-off-by: Adam Ford diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index caaa914604..4d171f457e

[U-Boot] [PATCH 2/3] configs: sama5d27_som1_ek: Set CONFIG_BOOTARGS using Kconfig

2018-08-21 Thread Codrin Ciubotariu
CONFIG_BOOTARGS can be set using Kconfig, so we no longer need it in the config files. Signed-off-by: Codrin Ciubotariu --- configs/sama5d27_som1_ek_mmc_defconfig | 2 ++ include/configs/sama5d27_som1_ek.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 3/3] configs: sama5d27_som1_ek: Add defconfig for ENV/boot from uSD

2018-08-21 Thread Codrin Ciubotariu
This adds a defconfig for sama5d27_som1_ek board to get environment from uSD. The defconfig is made from sama5d27_som1_ek_mmc_defconfig, with 'bootcmd' and 'bootargs' changed to kernel, device-tree and rootfs from uSD. The environment is expected to be found in uSD's FAT partition. Signed-off-by:

Re: [U-Boot] Cavium Octeon support for u-boot

2018-08-21 Thread Alexander Graf
Hi Aaron, On 08/21/2018 08:07 AM, Aaron Williams wrote: The Octeon version of U-Boot is based off an older versin of U-Boot (2012.07) with a lot of features backported. For example, I have backported NVME support as well as the latest filesystem code. Since there have been significant changes

Re: [U-Boot] [PATCH 1/8][RESEND] powerpc/dts: setup fdt blob at __init_end

2018-08-21 Thread Bin Meng
Hi Jagdish, On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya wrote: > '__init_end' is defined in ld file. define 'board_fdt_blob_setup' > to setup the fdt blob at '&__init_end'. > > Signed-off-by: Jagdish Gediya > --- > arch/powerpc/cpu/mpc8xxx/fdt.c | 12 > 1 file changed, 12

Re: [U-Boot] [PATCH 8/8][RESEND] powerpc: dts: Enable device tree support for T2080QDS

2018-08-21 Thread Bin Meng
On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya wrote: > Add device tree for T2080QDS board and enable CONFIG_OF_CONTROL > so that device tree can be compiled. > > update board README for device tree usage. > > Signed-off-by: Jagdish Gediya > --- > arch/powerpc/dts/Makefile | 2 ++

Re: [U-Boot] [PATCH 7/8][RESEND] powerpc: mpc85xx: Use binman to embed dtb inside u-boot

2018-08-21 Thread Bin Meng
On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya wrote: > Below is the sequence to embed dtb inside u-boot, > 1. Remove bootpg and resetvec section if needed > 2. Append dtb > 3. Append bootpg and resetvec section back if removed previously > > Above procedure is required only when CONFIG_MPC85xx,

Re: [U-Boot] [PATCH 5/8][RESEND] powerpc: mpc85xx: select BINMAN by default

2018-08-21 Thread Bin Meng
On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya wrote: > Signed-off-by: Jagdish Gediya > --- > arch/powerpc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Bin Meng But I suspect you probably need adjust this patch's order to make it come later in this series?

[U-Boot] [PATCH 0/3] configs: sama5d27_som1_ek: Cleanup and new

2018-08-21 Thread Codrin Ciubotariu
This series basically adds a new defconfig for sama5d27_som1_ek board to boot from uSD. Also needed to cleanup the board's config header. Codrin Ciubotariu (3): configs: sama5d27_som1_ek: Remove unnecessary FAT_ENV_xxx macros configs: sama5d27_som1_ek: Set CONFIG_BOOTARGS using Kconfig

[U-Boot] [PATCH 1/3] configs: sama5d27_som1_ek: Remove unnecessary FAT_ENV_xxx macros

2018-08-21 Thread Codrin Ciubotariu
FAT_ENV_xxx options can now be set using Kconfig, so we no longer need them in the config files. Signed-off-by: Codrin Ciubotariu --- include/configs/sama5d27_som1_ek.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/sama5d27_som1_ek.h b/include/configs/sama5d27_som1_ek.h

Re: [U-Boot] [PATCH v2 0/6] musb-new: Improve shutdown code

2018-08-21 Thread Jagan Teki
On Fri, Jul 20, 2018 at 12:43 PM, Jagan Teki wrote: > This is v2 for previous series[1], by excluding sunxi phy changes. > > One patch mark it as 'RFC' about "including UCLASS_USB_DEV_GENERIC > into shutdown caller" so expecting some inputs on the same > > [1]

[U-Boot] [PATCH] mtd: nand: denali_dt: Add reset support

2018-08-21 Thread Marek Vasut
Add optional reset support into the Denali NAND driver. In case there is a valid reset entry in the DT, the reset gets deasserted before the NAND controller gets used. Signed-off-by: Marek Vasut Cc: Masahiro Yamada --- drivers/mtd/nand/denali_dt.c | 9 + 1 file changed, 9 insertions(+)

[U-Boot] [PATCH 3/8] arm: K3: Update _start instruction

2018-08-21 Thread Lokesh Vutla
On K3 family SoCs, once the ROM loads image on R5, M3 resets R5 and expects to start executing from 0x0. In order to handle this ROM updates the boot vector of R5 such that first 64 bytes of image load address are mapped to 0x0. In this case, it is SPL's responsibility to jump to the proper image

[U-Boot] [PATCH 05/25] firmware: ti_sci: Add support for reboot core service

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg Since system controller now has control over SoC power management, it needs to be explicitly requested to reboot the SoC. Add support for it. Signed-off-by: Lokesh Vutla Signed-off-by: Nishanth Menon --- drivers/firmware/ti_sci.c | 47

[U-Boot] [PATCH 2/6] board: ti: am65x: Add README

2018-08-21 Thread Lokesh Vutla
Add README file that describes the building and booting procedure. Signed-off-by: Lokesh Vutla --- board/ti/am65x/README | 134 ++ 1 file changed, 134 insertions(+) create mode 100644 board/ti/am65x/README diff --git a/board/ti/am65x/README

[U-Boot] [PATCH 11/25] clk: Allow clock defaults to be set also during re-reloc state

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg The earlier commit f4fcba5c5ba ("clk: implement clk_set_defaults()") which introduced the functionality for setting clock defaults such as rates and parents will skip the processing when executing in a re-reloc state. This for example can prevent the assigning of clock

[U-Boot] [PATCH] ARM: dts: socfpga: Add missing NAND reset

2018-08-21 Thread Marek Vasut
The NAND reset is missing from DT, so the reset manager cannot unreset the NAND. Add the missing DT reset entry. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Ley Foon Tan --- arch/arm/dts/socfpga_arria10.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH] ARM: socfpga: Fix Arria10 SPI and NAND U-Boot offset

2018-08-21 Thread Marek Vasut
The SPL size on Gen5 is 4*64kiB, but on A10 it is 4*256kiB. Handle the difference. Signed-off-by: Marek Vasut --- include/configs/socfpga_common.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index

[U-Boot] [PATCH 0/8] [1/3] Initial support Texas Instrument's AM654 Platform

2018-08-21 Thread Lokesh Vutla
The AM654 SoC is a lead device of the K3 Multicore SoC architecture platform, targeted for broad market and industrial control with aim to meet the complex processing needs of modern embedded products. The device is partitioned into three functional domains, each containing specific processing

[U-Boot] [PATCH 4/8] arm: K3: am654: Add support for boot device detection

2018-08-21 Thread Lokesh Vutla
AM654 allows for booting from primary or backup boot media. Both media can be chosen individually based on switch settings. ROM looks for a valid image in primary boot media, if not found then looks in backup boot media. In order to pass this boot media information to boot loader, ROM stores a

[U-Boot] [PATCH 00/25] [2/3] Initial support Texas Instrument's AM654 Platform

2018-08-21 Thread Lokesh Vutla
Continue from PART 1/3. This series adds all the driver support that are required to boot AM654 SoC. The drivers are: - TISCI Communication protocol to system controller - Clock, power, reset drivers. - Mailbox driver to communication to system controller. - remoteproc drivers to start system

[U-Boot] [PATCH 06/25] firmware: ti_sci: Add support for processor control services

2018-08-21 Thread Lokesh Vutla
TI-SCI message protocol provides support for controlling of various physical cores available in SoC. In order to control which host is capable of controlling a physical processor core, there is a processor access control list that needs to be populated as part of the board configuration data.

[U-Boot] [PATCH 18/25] mailbox: Introduce K3 Secure Proxy Driver

2018-08-21 Thread Lokesh Vutla
Secure Proxy module manages hardware threads that are meant for communication between the processor entities. Adding support for this driver. Signed-off-by: Lokesh Vutla Signed-off-by: Andreas Dannenberg --- .../mailbox/k3-secure-proxy.txt | 40 ++ drivers/mailbox/Kconfig

[U-Boot] [PATCH 16/25] sysreset: Add TI System Control Interface (TI SCI) sysreset driver

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg Devices from the TI K3 family of SoCs like the AM654x contain a Device Management and Security Controller (SYSFW) that manages the low-level device control (like clocks, resets etc) for the various hardware modules present on the SoC. These device control operations are

[U-Boot] [PATCH 3/6] include: am654_evm: Establish initial environment for SD card boot

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg Create a basic U-Boot environment that allows the automatic loading of a Linux Kernel located at /boot/Image and an associated device tree blob located at /boot/k3-am654-base-board.dtb from the secondary partition of an ext4-formatted SD card on the AM654x EVM.

[U-Boot] [PATCH 23/25] spl: Allow remoteproc drivers to be used within SPL

2018-08-21 Thread Lokesh Vutla
Add an option for building remoteproc drivers within SPL. Signed-off-by: Lokesh Vutla --- common/spl/Kconfig | 6 ++ drivers/Makefile| 2 +- drivers/remoteproc/Makefile | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig

[U-Boot] [PATCH 14/25] power domain: Add support for multiple powerdomains per device

2018-08-21 Thread Lokesh Vutla
There are cases where there are more than one power domain attached to the device inorder to get the device functional. So add support for enabling power domain based on the index. Signed-off-by: Lokesh Vutla --- drivers/power/domain/power-domain-uclass.c | 11 +--

[U-Boot] [PATCH 24/25] mmc: k3_arasan: Add sdhci driver support for K3 family SoCs

2018-08-21 Thread Lokesh Vutla
AM654 has an arasan sdhci controller and a mmc phy attached to it. Add basic support for K3 specific arasan sdhci controller. Cc: Jaehoon Chung Signed-off-by: Lokesh Vutla --- drivers/mmc/Kconfig | 9 +++ drivers/mmc/Makefile | 1 + drivers/mmc/k3_arsan_sdhci.c | 109

[U-Boot] [PATCH 4/6] arm64: dts: k3: Add Support for AM654 SoC

2018-08-21 Thread Lokesh Vutla
Add initial DT support for AM654 EVM that runs on A53. Signed-off-by: Lokesh Vutla --- - Fetched from Linux next that are in queue for 4.19-rc1 arch/arm/dts/Makefile| 2 + arch/arm/dts/k3-am65-main.dtsi | 31 arch/arm/dts/k3-am65.dtsi| 87

[U-Boot] [PATCH 20/25] remoteproc: Allow for individual remoteproc initialization

2018-08-21 Thread Lokesh Vutla
Existing rproc_init() api tries to initialize all available remoteproc devices. This will fail when there is dependency among available remoteprocs. So introduce a separate api that allows to initialize remoteprocs individually based on id. Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH 5/6] arm64: dts: k3: Add u-boot specific nodes

2018-08-21 Thread Lokesh Vutla
Add the minimum dt nodes required to boot. These nodes will get deleted as kernel gets these nodes added in the main dts files. Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 203 +++ include/dt-bindings/pinctrl/k3-am65.h| 49 + 2

[U-Boot] [PATCH 6/6] configs: am65x_evm_a53: Add initial support

2018-08-21 Thread Lokesh Vutla
Add initial defconfig support for AM65x that runs on A53. Signed-off-by: Lokesh Vutla Signed-off-by: Andreas Dannenberg --- board/ti/am65x/MAINTAINERS | 1 + configs/am65x_evm_a53_defconfig | 71 + 2 files changed, 72 insertions(+) create mode 100644

[U-Boot] [PATCH 1/6] board: ti: am654: a53: Add initial support for am654

2018-08-21 Thread Lokesh Vutla
Add initial support for AM654 based EVM running on A53. Enable 4GB of DDR available on the EVM so that kernel DTB file can be updated accordingly. Signed-off-by: Lokesh Vutla [Andreas: Added 4GB ddr support] Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/Kconfig| 1 +

Re: [U-Boot] [PATCH v2 00/18] spi: mpc8xxx: DM conversion

2018-08-21 Thread Christophe LEROY
Hi Mario, Le 10/08/2018 à 09:57, Mario Six a écrit : Hi Christophe, On Fri, Aug 10, 2018 at 9:35 AM Christophe LEROY wrote: Hello Mario, Le 26/04/2018 à 10:36, Mario Six a écrit : Hi Joakim, On Thu, Apr 26, 2018 at 10:23 AM, Joakim Tjernlund wrote: On Thu, 2018-04-26 at 11:35 +0530,

[U-Boot] [PATCH] ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding

2018-08-21 Thread Christian.Amann
From: Christian Amann Copy missing Kernel patch to make SLEWCTRL_SLOW available in device tree and to correct the value of SLEWCTRL_FAST. After this patch, the Kernel and U-boot device tree settings for SLEWCTRL have the same effect. Original Kernel patch message:

Re: [U-Boot] [PATCH v3 27/58] fastboot: sunxi: Update fastboot mmc default device

2018-08-21 Thread Jagan Teki
On Mon, Aug 20, 2018 at 5:14 PM, Maxime Ripard wrote: > On Sun, Aug 19, 2018 at 07:26:44PM +0530, Jagan Teki wrote: >> Usually eMMC is default mmc device for fastboot. >> >> By enabling DM_MMC, the mmc devices are probed as per >> DT status not with respect to MMC_SUNXI_SLOT_EXTRA in >> U-Boot

Re: [U-Boot] [linux-sunxi] Re: [PATCH v2 0/6] musb-new: Improve shutdown code

2018-08-21 Thread Chen-Yu Tsai
On Tue, Aug 21, 2018 at 9:04 PM Jagan Teki wrote: > > On Fri, Jul 20, 2018 at 12:43 PM, Jagan Teki > wrote: > > This is v2 for previous series[1], by excluding sunxi phy changes. > > > > One patch mark it as 'RFC' about "including UCLASS_USB_DEV_GENERIC > > into shutdown caller" so expecting

Re: [U-Boot] u-boot 2018.07/2018.09 'data abort' kernel start failure with GCC 8.2.0 on sun8i (H3)

2018-08-21 Thread Auston Stewart
I tested another configuration to further isolate the issue: u-boot 2018.05 / nanopi_neo_defconfig / GCC 8.2.0 + Linux 4.17.14 / GCC 8.2.0 = works So something introduced between 2018.05 GA and 2018.07 GA associated with Sunxi H3 configs is rubbing GCC 8.2.0 the wrong way. On Tue, Aug 21, 2018

[U-Boot] u-boot 2018.07/2018.09 'data abort' kernel start failure with GCC 8.2.0 on sun8i (H3)

2018-08-21 Thread Auston Stewart
Greetings, As others have reported ( https://lists.denx.de/pipermail/u-boot/2018-July/334126.html), a 'data abort' occurs when attempting to load the kernel with recent u-boot compiled with recent GCC on Allwinner (Sunxi) H3 boards. I ran into this issue when performing a bootstrap of Shedbuilt

[U-Boot] [PATCH] configs: am57xx: change default board name to beagle_x15

2018-08-21 Thread Praneeth Bajjuri
beagleboard x15 is the first supported platform variant of am57xx in AOSP (android open source project) now. changing board name to stay in consistent with aosp target name. Signed-off-by: Praneeth Bajjuri --- configs/am57xx_evm_defconfig| 2 +- configs/am57xx_hs_evm_defconfig | 2 +- 2

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-21 Thread Tom Rini
On Tue, Aug 21, 2018 at 04:29:49PM -0600, Simon Glass wrote: > Hi Alex, > > On 21 August 2018 at 13:26, Alexander Graf wrote: > > > > > > On 21.08.18 19:30, Simon Glass wrote: > >> Hi Alex, > >> > >> On 20 August 2018 at 06:23, Alexander Graf wrote: > >>> > >>> On 08/17/2018 02:49 PM, Simon

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-21 Thread Simon Glass
Hi Alex, On 21 August 2018 at 13:26, Alexander Graf wrote: > > > On 21.08.18 19:30, Simon Glass wrote: >> Hi Alex, >> >> On 20 August 2018 at 06:23, Alexander Graf wrote: >>> >>> On 08/17/2018 02:49 PM, Simon Glass wrote: Hi, On 9 August 2018 at 23:45, Bin Meng wrote: >

Re: [U-Boot] u-boot 2018.07/2018.09 'data abort' kernel start failure with GCC 8.2.0 on sun8i (H3)

2018-08-21 Thread Heinrich Schuchardt
On 08/22/2018 01:05 AM, Auston Stewart wrote: > Greetings, > >   As others have reported > (https://lists.denx.de/pipermail/u-boot/2018-July/334126.html), a 'data > abort' occurs when attempting to load the kernel with recent u-boot > compiled with recent GCC on Allwinner (Sunxi) H3 boards. I ran

Re: [U-Boot] u-boot 2018.07/2018.09 'data abort' kernel start failure with GCC 8.2.0 on sun8i (H3)

2018-08-21 Thread Auston Stewart
Apologies! I just realized I had my SD cards mixed up. 2018.05 compiled with GCC 8.2.0 isn't working either, although I just see a 'resetting' message rather than the full dump. The 2018.05 installation I saw booting successfully was compiled using earlier GCC. On Tue, Aug 21, 2018 at 3:17 PM

Re: [U-Boot] u-boot 2018.07/2018.09 'data abort' kernel start failure with GCC 8.2.0 on sun8i (H3)

2018-08-21 Thread Heinrich Schuchardt
CC: ARM SUNXI maintainers On 08/22/2018 01:31 AM, Heinrich Schuchardt wrote: > On 08/22/2018 01:05 AM, Auston Stewart wrote: >> Greetings, >> >>   As others have reported >> (https://lists.denx.de/pipermail/u-boot/2018-July/334126.html), a 'data >> abort' occurs when attempting to load the kernel

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-21 Thread Bin Meng
Hi Marek, On Tue, Aug 21, 2018 at 6:28 PM, Marek Vasut wrote: > On 08/21/2018 09:16 AM, Bin Meng wrote: >> Hi Marek, >> >> On Tue, Aug 21, 2018 at 1:43 PM, Marek Vasut wrote: >>> On 08/21/2018 06:56 AM, Bin Meng wrote: >>> [...] The proposal I made is: * Keep

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-21 Thread Simon Glass
Hi Marek, On 21 August 2018 at 12:26, Marek Vasut wrote: > > On 08/21/2018 07:32 PM, Simon Glass wrote: > > Hi Bin, > > > > On 20 August 2018 at 21:46, Bin Meng wrote: > >> Hi Simon, > >> > >> On Tue, Aug 21, 2018 at 3:29 AM, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On 20 August 2018 at

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-21 Thread Marek Vasut
On 08/21/2018 07:32 PM, Simon Glass wrote: > Hi Bin, > > On 20 August 2018 at 21:46, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Aug 21, 2018 at 3:29 AM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 20 August 2018 at 12:42, Marek Vasut wrote: On 08/20/2018 06:57 PM, Simon Glass wrote:

Re: [U-Boot] [PULL 2018.09] efi patch queue 2018-08-21

2018-08-21 Thread Alexander Graf
On 21.08.18 19:42, Tom Rini wrote: > On Tue, Aug 21, 2018 at 11:31:41AM -0600, Simon Glass wrote: >> Hi Alex, >> >> On 21 August 2018 at 09:52, Alexander Graf wrote: >>> Hi Tom, >>> >>> This is my current patch queue for efi to be applied for 2018.09. Please >>> pull. >>> >>> Alex >> >> I

Re: [U-Boot] Cavium Octeon support for u-boot

2018-08-21 Thread Suneel Garapati
On Tue, Aug 21, 2018 at 5:57 AM, Alexander Graf wrote: > Hi Aaron, > > On 08/21/2018 08:07 AM, Aaron Williams wrote: >> >> The Octeon version of U-Boot is based off an older versin of U-Boot >> (2012.07) >> with a lot of features backported. For example, I have backported NVME >> support >> as

Re: [U-Boot] [PATCH] DM: omap_gpio: Reduce overhead when used with OF_PLATDATA

2018-08-21 Thread Simon Glass
On 20 August 2018 at 19:27, Adam Ford wrote: > Platforms with limited resources in SPL may enable OF_PLATDATA, > this limits some of the library functions and cannot extract data > from the device tree. This patch adds additional wrappers around > these functions to only allow them when

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-21 Thread Tom Rini
On Tue, Aug 21, 2018 at 09:26:53PM +0200, Alexander Graf wrote: > > > On 21.08.18 19:30, Simon Glass wrote: > > Hi Alex, > > > > On 20 August 2018 at 06:23, Alexander Graf wrote: > >> > >> On 08/17/2018 02:49 PM, Simon Glass wrote: > >>> > >>> Hi, > >>> > >>> On 9 August 2018 at 23:45, Bin

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-21 Thread Simon Glass
Hi Bin, On 20 August 2018 at 21:46, Bin Meng wrote: > Hi Simon, > > On Tue, Aug 21, 2018 at 3:29 AM, Simon Glass wrote: >> Hi Marek, >> >> On 20 August 2018 at 12:42, Marek Vasut wrote: >>> >>> On 08/20/2018 06:57 PM, Simon Glass wrote: >>> > Hi Bin, >>> > >>> > On 16 August 2018 at 19:51, Bin

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-21 Thread Marek Vasut
On 08/21/2018 08:29 PM, Simon Glass wrote: > Hi Marek, > > On 21 August 2018 at 12:26, Marek Vasut wrote: >> >> On 08/21/2018 07:32 PM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 20 August 2018 at 21:46, Bin Meng wrote: Hi Simon, On Tue, Aug 21, 2018 at 3:29 AM, Simon Glass

Re: [U-Boot] [RESEND PATCH v9 01/18] Revert "efi_loader: Rename sections to allow for implicit data"

2018-08-21 Thread Alexander Graf
On 21.08.18 19:31, Simon Glass wrote: > Hi Alex, > > On 20 August 2018 at 16:29, Alexander Graf wrote: >> >> >> >> On 20.08.18 20:54, Simon Glass wrote: >>> This partially reverts commit 7e21fbca26d18327cf7cabaad08df276a06a07d8. >>> >>> That change broke sandbox EFI support for unknown

Re: [U-Boot] [PULL 2018.09] efi patch queue 2018-08-21

2018-08-21 Thread Tom Rini
On Tue, Aug 21, 2018 at 11:31:41AM -0600, Simon Glass wrote: > Hi Alex, > > On 21 August 2018 at 09:52, Alexander Graf wrote: > > Hi Tom, > > > > This is my current patch queue for efi to be applied for 2018.09. Please > > pull. > > > > Alex > > I still think we should be reverting the

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-21 Thread Alexander Graf
On 21.08.18 19:30, Simon Glass wrote: > Hi Alex, > > On 20 August 2018 at 06:23, Alexander Graf wrote: >> >> On 08/17/2018 02:49 PM, Simon Glass wrote: >>> >>> Hi, >>> >>> On 9 August 2018 at 23:45, Bin Meng wrote: Hi Alex, On Wed, Aug 8, 2018 at 1:16 AM, Alexander Graf

[U-Boot] [PATCH] ARM: omap3_logic_defconfig: Convert to DM_SPL

2018-08-21 Thread Adam Ford
The OF_CONTROL and OF_PLATDATA are not really useful without DM. This patch supports DM_SPL, but it requires manual references both Serial and MMC. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index fbad89b696..620423bbc8

[U-Boot] [PULL 2018.09] efi patch queue 2018-08-21

2018-08-21 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi to be applied for 2018.09. Please pull. Alex The following changes since commit 9f8cf76be256a83643ee05de6cffaeb452ed0931: Convert CONFIG_SYS_I2C_DAVINCI to Kconfig (2018-08-17 15:43:38 -0400) are available in the git repository at:

[U-Boot] [PATCH 2/8] arm: K3: Add support for AM654 SoC definition

2018-08-21 Thread Lokesh Vutla
The AM654 device is designed for industrial automation and PLC controller class platforms among other applications. Introduce base support for AM654 SoC. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/Kconfig | 31 ++ arch/arm/mach-k3/Makefile

[U-Boot] [PATCH 8/8] armv8: K3: am654: Add support for generating build targets

2018-08-21 Thread Lokesh Vutla
Update Makefile to generate - tispl.bin: First stage bootloader on ARMv8 core - u-boot.img: Second stage bootloader on ARMv8 core. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/config.mk | 21 + scripts/Makefile.spl | 9 + 2 files changed, 30 insertions(+)

[U-Boot] [PATCH 12/25] clk: Extend clock control with an optional data field

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg Some systems require more than a single ID to identify and configure any clock provider. For those scenarios add an optional data field to the clock control structure. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- include/clk.h | 12 +++-

[U-Boot] [PATCH 7/8] armv8: K3: am654: Introduce FIT generator script

2018-08-21 Thread Lokesh Vutla
Add a script that is capable of generating a FIT image source file that combines ATF, SPL(64 bit) and DT. This combined image is used by R5 SPL and start ATF on ARMv8 core. Signed-off-by: Lokesh Vutla --- tools/k3/k3_fit_atf.sh | 98 ++ 1 file changed, 98

[U-Boot] [PATCH 08/25] dm: reset: Update uclass to allow querying reset status

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg Add a reset operations function pointer to support querying the current status of a reset control. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- drivers/reset/reset-uclass.c | 9 + include/reset-uclass.h | 8

[U-Boot] [PATCH 21/25] remoteproc: Introduce K3 system controller

2018-08-21 Thread Lokesh Vutla
K3 specific SoCs have a dedicated microcontroller for doing resource management. Any HLOS/firmware on compute clusters should load a firmware to this microcontroller before accessing any resource. Adding support for loading this firmware. After the K3 system controller got loaded with firmware

[U-Boot] [PATCH 13/25] clk: Introduce TI System Control Interface (TI SCI) clock driver

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg Some TI Keystone 2 and K3 family of SoCs contain a system controller (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and the Device Management and Security Controller on AM65x SoCs) that manage the low-level device control (like clocks, resets etc) for

[U-Boot] [PATCH 22/25] remoteproc: Introduce K3 remoteproc driver

2018-08-21 Thread Lokesh Vutla
Add support for K3 based remoteproc driver that communicates with TISCI to start start a remote processor. Signed-off-by: Lokesh Vutla --- .../remoteproc/k3-rproc.txt | 50 drivers/remoteproc/Kconfig| 9 + drivers/remoteproc/Makefile

[U-Boot] [PATCH 17/25] mailbox: Allow attaching private data for mbox_chan

2018-08-21 Thread Lokesh Vutla
Sometimes mbox controllers wants to store private data in mbox_chan so that it can be used at a later point of time. Adding support for hooking private data. Signed-off-by: Lokesh Vutla --- include/mailbox.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 07/25] dm: firmware: Automatically bind child devices

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg To support scenarios where a firmware device node has subnodes that have their own drivers automatically scan the DT and bind those when the firmware device gets bound. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH 0/6] [3/3] Initial support Texas Instrument's AM654 Platform

2018-08-21 Thread Lokesh Vutla
Continue from PART 2/3... This series adds arm64 support for AM654 EVM. Patch 2/6 describes the boot flow in detail. I would recommend to go through the patch in order to understand the entire boot flow. Right now only arm64 support is added. r5 support will be posted later once loading of

[U-Boot] [PATCH 02/25] firmware: ti_sci: Add support for board configuration

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg TI-SCI message protocol provides support for board configuration to assign resources and other board related operations. Introduce the board configuration capability support to the driver protocol as part of this change. Signed-off-by: Andreas Dannenberg Signed-off-by:

[U-Boot] [PATCH] env: ubi: Add missing ENV_NAME

2018-08-21 Thread Marek Vasut
Add missing environment name for UBI, to prevent this NULL in output: Loading Environment from ... and rather have a valid UBI there: Loading Environment from UBI... Signed-off-by: Marek Vasut --- env/ubi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/env/ubi.c b/env/ubi.c index

[U-Boot] [PATCH] ARM: dts: socfpga: Drop ad-hoc UART clock frequency encoding from DT

2018-08-21 Thread Marek Vasut
The UART clock frequency can be obtained from the clock framework by the ns16550 driver, so drop this redundant DT node. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Ley Foon Tan --- arch/arm/dts/socfpga_arria10_socdk.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 1/8] arm: K3: Add initial support for TI's K3 generation of SoCs

2018-08-21 Thread Lokesh Vutla
Add support for Texas Instruments' K3 Generation Processor families. Signed-off-by: Lokesh Vutla --- Kconfig | 2 +- MAINTAINERS | 1 + arch/arm/Kconfig | 8 arch/arm/Makefile| 1 + arch/arm/mach-k3/Kconfig | 12

[U-Boot] [PATCH 10/25] reset: Introduce TI System Control Interface (TI SCI) reset driver

2018-08-21 Thread Lokesh Vutla
From: Andreas Dannenberg Some TI Keystone 2 and K3 family of SoCs contain a system controller (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and the Device Management and Security Controller on AM65x SoCs) that manage the low-level device control (like clocks, resets etc) for

[U-Boot] [PATCH 6/8] armv8: K3: am654: Add custom MMU support

2018-08-21 Thread Lokesh Vutla
Add MMU mappings for AM654 SoC. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/Makefile| 1 + arch/arm/mach-k3/arm64-mmu.c | 45 2 files changed, 46 insertions(+) create mode 100644 arch/arm/mach-k3/arm64-mmu.c diff --git a/arch/arm/mach-k3/Makefile

[U-Boot] [PATCH 04/25] firmware: ti_sci: Add support for clock control

2018-08-21 Thread Lokesh Vutla
In general, we expect to function at a device level of abstraction, however, for proper operation of hardware blocks, many clocks directly supplying the hardware block needs to be queried or configured. Introduce support for the set of SCI message protocol support that provide us with this

  1   2   >