[U-Boot] [RESEND PATCH v2 00/13] ARM: davinci: driver-model improvements

2019-07-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski NOTE: emac conversion is already upstream, so dropped it from this series. No other changes. The following series contains all the patches for davinci that have been sent to the mailing list recently rebased on top of v2019.07 and retested on da850-lcdk and da850-evm. I

Re: [U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-28 Thread Bartosz Golaszewski
niedz., 28 lip 2019 o 19:12 Tom Rini napisał(a): > > On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote: > > śr., 24 lip 2019 o 21:06 Joe Hershberger > > napisał(a): > > > > > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > > > > > > > From: Bartosz Golaszewski

Re: [U-Boot] [PATCH 3/4] efi_loader: implement ConvertPointer()

2019-07-28 Thread Heinrich Schuchardt
On 7/29/19 3:37 AM, AKASHI Takahiro wrote: On Sat, Jul 27, 2019 at 11:00:03PM +0200, Heinrich Schuchardt wrote: Implement the ConvertPointer() runtime service. Thank you for reviewing. I already submitted a similar patch: https://lists.denx.de/pipermail/u-boot/2019-June/371773.html Unfort

[U-Boot] [PATCH] autoboot: fix bug using with CAAM and AUTOBOOT_ENCRYPTION

2019-07-28 Thread Heiko Schocher
if CONFIG_AUTOBOOT_KEYED, CONFIG_AUTOBOOT_ENCRYPTION and CONFIG_AUTOBOOT_STOP_STR_SHA256 are enabled in conjunction with CONFIG_SHA_HW_ACCEL and CONFIG_FSL_CAAM, we get the Error when pressing a key while waiting for bootdelay: Error: Address arguments are not aligned CAAM was not setup properly

Re: [U-Boot] Hi, I am new to U-Boot, how do I get started?

2019-07-28 Thread Ramon Fried
You can start by asking a real question. what are you trying to do? Thanks, Ramon On July 27, 2019 4:39:37 AM GMT+03:00, slahss ss wrote: > >___ >U-Boot mailing list >U-Boot@lists.denx.de >https://lists.denx.de/listinfo/u-boot -- Sent from my Androi

[U-Boot] [PATCH v7 9/9] x86: Skip setting up MTRRs in slimbootloader

2019-07-28 Thread Park, Aiden
The setting up MTRRs have already been done in previous Slim Bootloader stages. Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- arch/x86/lib/init_helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/init_helpers.c b/arch/

[U-Boot] [PATCH v7 8/9] board: intel: Add new slimbootloader board

2019-07-28 Thread Park, Aiden
Add slimbootloader board to run U-boot as a Slim Bootloader payload - Add new board/intel/slimbootloader directory with minimum codes - Add slimbootloader configuration files - Add doc/board/intel/slimbootloader.rst Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --

[U-Boot] [PATCH v7 5/9] x86: slimbootloader: Add serial driver

2019-07-28 Thread Park, Aiden
Slim Bootloader provides serial port info thru its HOB list pointer. All these HOBs are eligible for Slim Bootloader based board only. - Get serial port information from the serial port info HOB - Leverage ns16550 driver with slimbootloader specific platform data Signed-off-by: Aiden Park Reviewe

[U-Boot] [PATCH v7 7/9] x86: slimbootloader: Add a slimbootloader device tree

2019-07-28 Thread Park, Aiden
Add a new device tree which has very minimum nodes - x86 reset - x86 tsc_timer - x86 pci - Slim Bootloader serial Signed-off-by: Aiden Park Reviewed-by: Bin Meng Reviewed-by: Andy Shevchenko --- Changes in v3: * Move slimbootloader.dtb before baytrail_som-db5800-som-6867.dtb arch/x86/dts/M

[U-Boot] [PATCH v7 6/9] x86: slimbootloader: Set TSC information for tsc_timer

2019-07-28 Thread Park, Aiden
Slim Bootloader already calibrated TSC and provides it to U-Boot. Therefore, U-Boot does not have to re-calibrate TSC. Configuring tsc_base and clock_rate makes x86 tsc_timer driver bypass TSC calibration and use the provided TSC frequency. - Get TSC frequency from performance info hob - Set tsc_ba

[U-Boot] [PATCH v7 3/9] x86: Add a common HOB library

2019-07-28 Thread Park, Aiden
FSP(CONFIG_HAVE_FSP) and Slim Bootloader(CONFIG_SYS_SLIMBOOTLOADER) consume HOB(CONFIG_USE_HOB) data from the each HOB list pointer. Add a common HOB library in lib/hob.c and include/asm/hob.h. Signed-off-by: Aiden Park --- Changes in v7: * Split HOB library into EFI_GUID pre-work and making a

[U-Boot] [PATCH v7 4/9] x86: slimbootloader: Add memory configuration

2019-07-28 Thread Park, Aiden
Slim Bootloader provides memory map info thru its HOB list pointer. Configure memory size and relocation memory from the HOB data, and provide e820 entries as well. - Get memory size from the memory map info HOB - Set available top memory lower than 4GB for U-Boot relocation - Provide e820 entries

[U-Boot] [PATCH v7 2/9] x86: lib: fsp: Use EFI_GUID and efi_guid_t

2019-07-28 Thread Park, Aiden
Use existing EFI_GUID and efi_guid_t instead of struct efi_guid. This is pre-work before making a common HOB library. - Change 'struct efi_guid' to efi_guit_t - Remove 'struct efi_guid' - Define GUIDs with EFI_GUID() macro - Use guidcmp() instead of compare_guid() - Remove compare_guid() Signed-of

[U-Boot] [PATCH v7 1/9] x86: Add new slimbootloader CPU type

2019-07-28 Thread Park, Aiden
This slimbootloader CPU type is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader). The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS booting, and supports QEMU, Apollolake, Whiskeylake and Coff

[U-Boot] [PATCH v7 0/9] x86: Add basic Slim Bootloader payload support

2019-07-28 Thread Park, Aiden
This patch is to enable U-Boot as a payload which runs on top of Slim Bootloader(https://github.com/slimbootloader/slimbootloader) boot firmware for x86 platforms. The Slim Bootloader is designed with multi-stage architecture for the execution from reset vector to OS hand-off, and supports QEMU

Re: [U-Boot] buildman rockchip

2019-07-28 Thread Kever Yang
Hi Simon, On 2019/7/28 下午11:20, Simon Glass wrote: Hi Kever, On Sun, 28 Jul 2019 at 08:12, Simon Glass wrote: HI Kever, On Sun, 28 Jul 2019 at 05:14, Kever Yang wrote: Hi Simon, When I'm using the buildman for rockchip platform, it's always build only 20 boards, and many boards are

Re: [U-Boot] [PATCH v3] x86: Avoid writing temporary asl files into the source tree

2019-07-28 Thread Bin Meng
On Mon, Jul 29, 2019 at 9:36 AM Bin Meng wrote: > > Hi Simon, > > On Mon, Jul 29, 2019 at 4:16 AM Simon Glass wrote: > > > > At present the iasl tool (Intel ACPI (Advanced Configuration and Power > > Interface) Source Language Compiler) is called in such a way that it uses > > the source director

Re: [U-Boot] [PATCH v3] x86: Avoid writing temporary asl files into the source tree

2019-07-28 Thread Bin Meng
Hi Simon, On Mon, Jul 29, 2019 at 4:16 AM Simon Glass wrote: > > At present the iasl tool (Intel ACPI (Advanced Configuration and Power > Interface) Source Language Compiler) is called in such a way that it uses > the source directory for its temporary files. > > This means we end up with these f

Re: [U-Boot] [PATCH 3/4] efi_loader: implement ConvertPointer()

2019-07-28 Thread AKASHI Takahiro
On Sat, Jul 27, 2019 at 11:00:03PM +0200, Heinrich Schuchardt wrote: > Implement the ConvertPointer() runtime service. I already submitted a similar patch: https://lists.denx.de/pipermail/u-boot/2019-June/371773.html Anyhow, > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_runti

Re: [U-Boot] [PATCH v2 0/5] nitrogen6x device tree migration

2019-07-28 Thread Troy Kisky
On 7/27/2019 5:21 AM, Stefano Babic wrote: > +++ > arch/arm/dts/imx53-m53menlo-u-boot.dtsi |5 + > arch/arm/dts/imx6dl-dhcom-pdk2.dts| 14 + > arch/arm/dts/imx6q-dhco

[U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-07-28 Thread megous
From: Ondrej Jirman Orange Pi 3 has 2 GiB of DRAM, that sometime get misdetected as 4 GiB, due to false negative result from mctl_mem_matches() when detecting number of column address bits. This leads to u-boot detecting more address bits than there are and the boot process hangs shortly after.

Re: [U-Boot] [PATCH] ARM: am3517-evm: Remove non-DM legacy code

2019-07-28 Thread Tom Rini
On Tue, Jun 25, 2019 at 02:14:08PM -0500, Adam Ford wrote: > With both SPL and U-Boot now supporting DM, we can start removing > legacy code. This patch removes the legacy MMC initalization and > legacy I2C initialization since both are now available via DM and > device tree. > > Signed-off-by:

Re: [U-Boot] [PATCH] ARM: da850-evm: Remove duplicate UART initialization

2019-07-28 Thread Tom Rini
On Sun, Jun 23, 2019 at 05:48:36PM -0500, Adam Ford wrote: > The Low Level init functions start the UART, so it doesn't need > to happen during board_init. This patch removes it from > board_init. > > Signed-off-by: Adam Ford > > diff --git a/board/davinci/da8xxevm/da850evm.c > b/board/davinc

Re: [U-Boot] [PATCH] ARM: am3517-evm: Migrate to SPL_OF_CONTROL

2019-07-28 Thread Tom Rini
On Mon, Jun 24, 2019 at 11:57:25AM -0500, Adam Ford wrote: > Like the other Logic PD OMAP35/DM37 boards, this board has device > tree enabled for U-Boot. This patch converts the board to enable > SPL_OF_CONTROL and further shrinks the device tree in SPL to limit > it to UART3 (console), MMC1, i2c

Re: [U-Boot] [PATCH] ARM: da850-evm: Remove repeated pinmuxing calls

2019-07-28 Thread Tom Rini
On Sun, Jun 23, 2019 at 06:30:54PM -0500, Adam Ford wrote: > arch_cpu_init() initializes the pinmuxing which is called fairly > early in the start sequences, so the board_init function doesn't > need to do it again. This patch removes the call from board_init. > > Signed-off-by: Adam Ford > >

Re: [U-Boot] [PATCH] ARM: am3517_evm: Fix pin muxing to enable EHCI Host in the future

2019-07-28 Thread Tom Rini
On Mon, Jul 01, 2019 at 09:33:39AM -0500, Adam Ford wrote: > This patch enables the pinmuxing to support gpio_57 for phy reset > and fixes the pinmuxing for the ECHI tranceiver. The clocks > don't appear to by fully enabled yet, so OMAP-EHCI on am3517 is > still not yet working, but we're one ste

Re: [U-Boot] [PATCH] env: ti: boot: Use ttyS2 instead of ttyO2

2019-07-28 Thread Tom Rini
On Fri, Jul 12, 2019 at 08:38:12PM +0300, Sam Protsenko wrote: > ttyO2 console enables legacy CONFIG_SERIAL_OMAP driver in kernel. > Nowadays it's preferred to use the generic CONFIG_SERIAL_8250_OMAP > driver, which being enabled via ttyS2 console. Both drivers are enabled > in multi_v7_defconfig

Re: [U-Boot] [PATCH v3 05/16] armv7R: K3: j721e: Shut down R5 core after ATF startup on A72

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:46AM +0530, Lokesh Vutla wrote: > Populate the release_resources_for_core_shutdown() api with > shutting down r5 cores so that it will by called just after > jumping to ATF. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH v3 09/16] board: ti: j721e: Enable fixing up msmc sram node

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:50AM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Create a ft_board_setup() api that gets called as part of > DT fixup before jumping to kernel. In this ft_board_setup() > call fdt_fixup_msmc_ram that update msmc sram node. > > Signed-off-by: Suman Anna > Sig

Re: [U-Boot] [PATCH v3 12/16] arm: dts: ti: Add Support for J721E SoC

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:53AM +0530, Lokesh Vutla wrote: > Add initial SoC definition for J721E SoC. > Kernel dts posted here: > https://lore.kernel.org/lkml/20190522161921.20750-1...@ti.com/ > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] [PATCH] ARM: am3517-evm: Enable DM_PMIC and DM_REGULATOR functions

2019-07-28 Thread Tom Rini
On Fri, Jun 14, 2019 at 09:06:48AM -0500, Adam Ford wrote: > The PBIAS regulator is available on OMAP3's, and it's shared on > the AM35, so this patch enables that in U-Boot along with GPIO > based regulators. > > Signed-off-by: Adam Ford > > diff --git a/configs/am3517_evm_defconfig b/configs/

Re: [U-Boot] [PATCH v2 4/5] remoteproc: k3_rproc: Update the driver to use ti_sci_proc helpers

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:25:58PM +0530, Lokesh Vutla wrote: > Update the k3_rproc driver to use the generic ti_sci_proc helper > apis which simplifies the driver a bit. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v3 10/16] mmc: am654_sdhci: Separate J721E compatible into 8bit and 4bit versions

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:51AM +0530, Lokesh Vutla wrote: > From: Faiz Abbas > > The j721e 4 bit instances don't have a hard DLL and therefore don't need > any DLL related configurations. Split the compatibles into an 8 bit and a > 4 bit one. Add a private flags field which can be used to ch

Re: [U-Boot] [PATCH] ARM: omap3/omap35_logic: Fix broken Logic PD Torpedo booting

2019-07-28 Thread Tom Rini
On Wed, Jul 17, 2019 at 09:35:27AM -0500, Adam Ford wrote: > The SOM-LV and Torpedo boards are very similar, but something > happened growing SPL enough to break the Torpedo. The SOM-LV > board were not doing alias sequencing during SPL and they > continue to work while something broke the Torped

Re: [U-Boot] [PATCH v2 5/5] remoteproc: k3_rproc: Rename to ti_k3_arm64_rproc

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:25:59PM +0530, Lokesh Vutla wrote: > k3_rproc driver is specifically meant for controlling an arm64 > core using TISCI protocol. So rename the driver, Kconfig symbol, > compatible and functions accordingly. > > While at it drop this remoteproc selection for a53 defconfi

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic & omap35_logic: Disable OMAP EHCI for Torpedo

2019-07-28 Thread Tom Rini
On Sun, Jun 30, 2019 at 05:30:50PM -0500, Adam Ford wrote: > The OMAP35 and AM/DM37 Torpedo boards do not have a USB > tranceiver connected to the USB host port, so this patch > removes it from the defconfig files. > > Signed-off-by: Adam Ford > > diff --git a/configs/omap35_logic_defconfig b/c

Re: [U-Boot] [PATCH 1/2] ARM: omap3_logic: Enable OMAP EHCI support for SOM-LV Boards

2019-07-28 Thread Tom Rini
On Sun, Jun 30, 2019 at 05:30:49PM -0500, Adam Ford wrote: > The SOM-LV boards support the OMAP EHCI driver using port 2. > With the driver updated to support device tree, this patch sets > the corresponding pin muxing for the tranceiver as well as the > reset pin. > > Signed-off-by: Adam Ford >

Re: [U-Boot] [PATCH 2/4] ARM: dts: am574x-idk: Add pinmuxes for mmc1 and mmc2

2019-07-28 Thread Tom Rini
On Thu, Jun 20, 2019 at 03:07:20PM +0530, Faiz Abbas wrote: > Sync with kernel dts by adding pinmuxes for mmc1 and mmc2. This fixes an > issue where mmc2 (eMMC) was coming up in HS52 mode instead of the > highest DDR52 mode. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- T

Re: [U-Boot] [PATCH v2 2/5] cmd: remoteproc: Allow list command to print the probed devices

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:25:56PM +0530, Lokesh Vutla wrote: > 'rproc list' is currently allowed only after probing all the > available remoteproc devices. Given that 'rproc init' is updated > to probe and initialize devices individually, allow the 'rproc list' > command to print all probed devic

Re: [U-Boot] [PATCH v3 01/16] arm: K3: j721e: Add basic support for J721E SoC definition

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:42AM +0530, Lokesh Vutla wrote: > The J721E SoC belongs to the K3 Multicore SoC architecture platform, > providing advanced system integration to enable lower system costs > of automotive applications such as infotainment, cluster, premium > Audio, Gateway, industrial

Re: [U-Boot] [PATCH] ARM: da850-evm: Remove dead/unneeded code

2019-07-28 Thread Tom Rini
On Fri, Jul 19, 2019 at 04:24:50PM -0500, Adam Ford wrote: > The DA8850-evm supports DM_I2C and boots with SPL_DM, so we can > drop some of the code which disables DM_I2C in SPL. This > patch removes some #undef's now rendered obsolete. > > Signed-off-by: Adam Ford > > diff --git a/include/con

Re: [U-Boot] [PATCH 1/4] ARM: dts: dra7-mmc-iodelay: Add a new pinctrl group for clk line without pullup

2019-07-28 Thread Tom Rini
On Thu, Jun 20, 2019 at 03:07:19PM +0530, Faiz Abbas wrote: > During a short period when the bus voltage is switched from 3.3v to 1.8v, > (to enumerate UHS mode), the mmc module is disabled and the mmc IO lines > are kept in a state according to the programmed pad mux pull type. > > According to

Re: [U-Boot] [PATCH v3 06/16] armv7R: K3: j721e: Load SYSFW binary and config from boot media

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:47AM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Use the System Firmware (SYSFW) loader framework to load and start > the SYSFW as part of the J721E early initialization sequence. While > at it also initialize the MCU_UART0 pinmux as it is used by SYSF

Re: [U-Boot] [PATCH 2/2] arm: am57xx: Allow bootm to load larger kernels

2019-07-28 Thread Tom Rini
On Tue, Jul 02, 2019 at 08:56:09PM +0300, Sam Protsenko wrote: > linux-mainline with multi_v7_defconfig + Android configs takes more > space than regular TI Android kernel and bootm will fail to load it. > Let's increase max kernel size up to 64 MiB to make it possible to run > such kernel. > > S

Re: [U-Boot] [PATCH v2 3/5] remoteproc: tisci: add TI-SCI processor control helper functions

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:25:57PM +0530, Lokesh Vutla wrote: > Texas Instruments' K3 generation SoCs has specific modules/register > spaces used for configuring the various aspects of a remote processor. > These include power, reset, boot vector and other configuration features > specific to each

Re: [U-Boot] [PATCH v3 08/16] board: ti: j721e: Add board support for j721e evm

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:49AM +0530, Lokesh Vutla wrote: > Add board specific initialization for j721e evm > > Signed-off-by: Lokesh Vutla > Signed-off-by: Jean-Jacques Hiblot > Signed-off-by: Andreas Dannenberg Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH] ARM: da850evm: Remove legacy OHCI referencs and unify platform

2019-07-28 Thread Tom Rini
On Tue, Jul 02, 2019 at 10:36:28AM -0500, Adam Ford wrote: > OHCI was added with DM_USB support, so there are a few unneeded > items in the header file that can be removed. This also > unifies da850evm with NOR and NAND booting options so all have > OHCI support. > > Signed-off-by: Adam Ford >

Re: [U-Boot] [PATCH 3/4] ARM: dts: am57xx: Disable voltage switching for SD card

2019-07-28 Thread Tom Rini
On Thu, Jun 20, 2019 at 03:07:21PM +0530, Faiz Abbas wrote: > If UHS speed modes are enabled, a compatible SD card switches down to 1.8V > during enumeration. If after this a software reboot/crash takes place and > on-chip ROM tries to enumerate the SD card, the difference in > IO voltages (host @

Re: [U-Boot] [PATCH v3 16/16] configs: j721e_evm_a72: Add initial support

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:57AM +0530, Lokesh Vutla wrote: > Add initial defconfig support for J721e that runs on A72. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [PATCH 4/4] ARM: dts: dra76x: Update MMC2_HS200_MANUAL1 iodelay values

2019-07-28 Thread Tom Rini
On Thu, Jun 20, 2019 at 03:07:22PM +0530, Faiz Abbas wrote: > Update the MMC2_HS200_MANUAL1 iodelay values to match with the latest > dra76x data manual[1]. > > Also this particular pinctrl-array is using spaces instead of tabs for > spacing between the values and the comments. Fix this as well.

Re: [U-Boot] [PATCH v3 15/16] configs: j721e_evm_r5: Add initial support

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:56AM +0530, Lokesh Vutla wrote: > Add initial defconfig support for J721e that runs on R5. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot m

Re: [U-Boot] [PATCH] ARM: dts: Logic PD SOM-LV and Torpedo Boards: Resync DTS

2019-07-28 Thread Tom Rini
On Mon, Jul 15, 2019 at 02:07:52PM -0500, Adam Ford wrote: > Re-sync all Logic PD OMAP35 and AM/DM37 boards with Kernel > 5.2.1 > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/dts/logicpd-som-lv-35xx-devkit.dts > b/arch/arm/dts/logicpd-som-lv-35xx-devkit.dts > index 32d0dc371f..f7a841a2

Re: [U-Boot] [PATCH v3 07/16] armv8: K3: j721e: Add custom MMU support

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:48AM +0530, Lokesh Vutla wrote: > From: Suman Anna > > The A72 U-Boot code loads and boots a number of remote processors > including the C71x DSP, both the C66_0 and C66_1 DSPs, and the various > Main R5FSS Cores. Change the memory attributes for the DDR regions use

Re: [U-Boot] [PATCH v3 13/16] arm: dts: k3-j721e: Add initial support for common processor board

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:54AM +0530, Lokesh Vutla wrote: > Common Processor board is the baseboard that has most of the actual > connectors, > power supply etc. A SOM (System on Module) is plugged on to the common > processor board and this contains the SoC, PMIC, DDR and basic highspeed > c

Re: [U-Boot] [PATCH v3 02/16] armv7R: K3: j721e: Add support for boot device detection

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:43AM +0530, Lokesh Vutla wrote: > J721E 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 orde

Re: [U-Boot] [PATCH v3 04/16] armv7R: K3: j721e: Store boot index from ROM

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:45AM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Obtain the boot index as left behind by the device boot ROM and store > it in scratch pad SRAM for later use before it may get overwritten. > > Signed-off-by: Andreas Dannenberg Applied to u-boot/mast

Re: [U-Boot] [PATCH v3 11/16] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721E

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:52AM +0530, Lokesh Vutla wrote: > Add pinctrl macros for J721E SoC. These macro definitions are > similar to that of AM6, but adding new definitions to avoid > any naming confusions in the soc dts files. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Andreas Danne

Re: [U-Boot] [PATCH v3 7/9] dt-bindings: ti_sci_pm_domains: Add support for exclusive and shared access

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:45PM +0530, Lokesh Vutla wrote: > TISCI protocol supports for enabling the device either with exclusive > permissions for the requesting host or with sharing across the hosts. > There are certain devices which are exclusive to Linux context and > there are certain dev

Re: [U-Boot] [PATCH v3 14/16] arm: dts: k3-j721e: Add r5 specific dt support

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:55AM +0530, Lokesh Vutla wrote: > Add initial support for dt that runs on r5. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Andreas Dannenberg Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 6/9] power-domain: Add private data to power domain

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:44PM +0530, Lokesh Vutla wrote: > Certain drivers want to attach private data corresponding to each > power domain. This data might be specific be to the drvier. So add > a priv entry into the power_domain structure. > > Signed-off-by: Lokesh Vutla Applied to u-boo

Re: [U-Boot] [PATCH v3 03/16] armv7R: K3: j721e: Unlock all applicable control MMR registers

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:44AM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > To access various control MMR functionality the registers need to > be unlocked. Do that for all control MMR regions in the MCU and MAIN > domains. We may want to go back later and limit the unlocking th

Re: [U-Boot] [PATCH] ARM: am3517-evm: Remove manual ethernet reset code

2019-07-28 Thread Tom Rini
On Sun, Jun 23, 2019 at 12:42:14AM -0500, Adam Ford wrote: > The reset line going to the ethernet controller is controlled > by a global reset controlling multiple peripherals. There > is no need to manually invoke the reset. > > Signed-off-by: Adam Ford > > diff --git a/board/logicpd/am3517ev

Re: [U-Boot] [PATCH v3 04/16] armv7R: K3: j721e: Store boot index from ROM

2019-07-28 Thread Tom Rini
On Thu, Jun 13, 2019 at 10:29:45AM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Obtain the boot index as left behind by the device boot ROM and store > it in scratch pad SRAM for later use before it may get overwritten. > > Signed-off-by: Andreas Dannenberg Applied to u-boot/mast

Re: [U-Boot] [PATCH v3 5/9] armv7R: k3: Release all the exclusive devices

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:43PM +0530, Lokesh Vutla wrote: > Release all the exclusive devices held by SPL. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing lis

Re: [U-Boot] [PATCH v2 1/5] cmd: remoteproc: Add support for initializing devices individually

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:25:55PM +0530, Lokesh Vutla wrote: > 'rproc init' does the probe and initialization of all the available > remoteproc devices in the system. This doesn't allow the flexibility > to initialize the remote cores needed as per use case. In order > to provide flexibility, upd

Re: [U-Boot] [PATCH v3 9/9] arm: dts: k3-am654: Update power-domains property for each node

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:47PM +0530, Lokesh Vutla wrote: > Update the power-domain-cells to 2 and add the permissions > to each node. Mark the following nodes accessed by r5 as shared: > - DDR node > - main uart 0 > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v3 4/9] armv7R: K3: am654: Shut down R5 core after ATF startup on A53

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:42PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Rather than simply parking the R5 core in WFE after starting up ATF > on A53 instead use SYSFW API to properly shut down the R5 CPU cores > as well as associated timer resources that were pre-allocated.

Re: [U-Boot] [PATCH v3 8/9] power: domain: ti_sci_power_domains: Add support for exclusive and shared access

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:46PM +0530, Lokesh Vutla wrote: > TISCI protocol supports for enabling the device either with exclusive > permissions for the requesting host or with sharing across the hosts. > There are certain devices which are exclusive to Linux context and > there are certain dev

Re: [U-Boot] [PATCH v3 1/9] firmware: ti_sci: Allow for device shared and exclusive requests

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:39PM +0530, Lokesh Vutla wrote: > Sysfw provides an option for requesting exclusive access for a > device using the flags MSG_FLAG_DEVICE_EXCLUSIVE. If this flag is > not used, the device is meant to be shared across hosts. Once a device > is requested from a host wit

Re: [U-Boot] [PATCH v3 2/9] firmware: ti_sci: Add processor shutdown API method

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:40PM +0530, Lokesh Vutla wrote: > From: Andreas Dannenberg > > Add and expose a new processor shutdown API that wraps the two TISCI > messages involved in initiating a core shutdown. The API will first > queue a message to have the DMSC wait for a certain processor

Re: [U-Boot] [PATCH v3 3/9] firmware: ti_sci: Add a command for releasing all exclusive devices

2019-07-28 Thread Tom Rini
On Fri, Jun 07, 2019 at 07:24:41PM +0530, Lokesh Vutla wrote: > Any host while requesting for a device can request for its exclusive > access. If an exclusive permission is obtained then it is the host's > responsibility to release the device before the software entity on > the host completes its

Re: [U-Boot] Pull request v2: u-boot-spi/master

2019-07-28 Thread Tom Rini
On Thu, Jul 25, 2019 at 06:55:01PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Changes for v2: > - include MediaTek MT7629 spi driver patches > > Summary: > - fix for fsl_qspi read timeout (Thomas) > - spi-mem read data size fix (Ye Li) > - SiFive SPI driver, mmc_spi flags (

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u -boot-imx-20190719

2019-07-28 Thread Tom Rini
On Sat, Jul 27, 2019 at 02:21:48PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > > The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2: > > Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400) > > are available in

[U-Boot] make all fails at bad mtune value

2019-07-28 Thread Quiet Mouse
chris@chris-hp-laptop:~/u-boot$ make all scripts/kconfig/conf --syncconfig Kconfig CHK include/config.h UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CFG spl/u-boot.cfg GEN spl/include/autoconf.mk CHK include

[U-Boot] [PATCH v3] x86: Avoid writing temporary asl files into the source tree

2019-07-28 Thread Simon Glass
At present the iasl tool (Intel ACPI (Advanced Configuration and Power Interface) Source Language Compiler) is called in such a way that it uses the source directory for its temporary files. This means we end up with these files when building x86 boards: board/dfi/dfi-bt700/dsdt.aml board/d

Re: [U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-28 Thread Tom Rini
On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote: > śr., 24 lip 2019 o 21:06 Joe Hershberger napisał(a): > > > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > > > > > From: Bartosz Golaszewski > > > > > > The following series contains all the patches for davin

Re: [U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-28 Thread Bartosz Golaszewski
śr., 24 lip 2019 o 21:06 Joe Hershberger napisał(a): > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > The following series contains all the patches for davinci that have > > been sent to the mailing list recently rebased on top of v2019.07

[U-Boot] [PATCH v2 05/11] spl: support booting via RISC-V OpenSBI

2019-07-28 Thread Lukas Auer
RISC-V OpenSBI is an open-source implementation of the RISC-V Supervisor Binary Interface (SBI) specification. It is required by Linux and U-Boot running in supervisor mode. This patch adds support for booting via the OpenSBI FW_DYNAMIC firmware. In this configuration, U-Boot SPL starts in machine

[U-Boot] [PATCH v2 00/11] SPL support for RISC-V

2019-07-28 Thread Lukas Auer
This series adds support for SPL to RISC-V U-Boot. Images can be booted via OpenSBI (FW_DYNAMIC firmware) or by directly jumping to them. In the former case, OpenSBI and U-Boot proper are bundled as a FIT image and made available to U-Boot SPL. Currently, only the QEMU board enables U-Boot SPL with

[U-Boot] [PATCH v2 08/11] riscv: add a generic FIT generator script

2019-07-28 Thread Lukas Auer
Add a generic FIT generator script for RISC-V to generate images containing U-Boot, OpenSBI FW_DYNAMIC firmware, and optionally one or more device trees. The location of the OpenSBI firmware binary can be specified with the OPENSBI environment variable. By default, it is assumed to be "fw_dynamic.b

[U-Boot] [PATCH v2 03/11] spl: fit: use U-Boot device tree when FIT image has no device tree

2019-07-28 Thread Lukas Auer
As part of the SPL FIT boot flow, the device tree is appended to U-Boot proper. The device tree is used to record information on the loadables to make them available to the SPL framework and U-Boot proper. Depending on the U-Boot device tree provider, the FIT image might not include a device tree.

[U-Boot] [PATCH v2 11/11] doc: update QEMU RISC-V documentation

2019-07-28 Thread Lukas Auer
The available defconfigs for RISC-V QEMU have changed. We now have configurations to compile U-Boot to run in supervisor mode and for U-Boot SPL. Update the QEMU RISC-V documentation to reflect these changes. Signed-off-by: Lukas Auer Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2

[U-Boot] [PATCH v2 10/11] riscv: qemu: add SPL configuration

2019-07-28 Thread Lukas Auer
Add two new configurations (qemu-riscv{32,64}_spl_defconfig) with SPL enabled for RISC-V QEMU. QEMU does not require SPL to run U-Boot. The configurations are meant to help the development of SPL on RISC-V. The configurations enable RAM as the only SPL boot device. Images must be loaded at address

[U-Boot] [PATCH v2 04/11] riscv: add run mode configuration for SPL

2019-07-28 Thread Lukas Auer
U-Boot SPL can be run in a different privilege mode from U-Boot proper. Add new configuration entries for SPL to allow the run mode to be configured independently of U-Boot proper. Extend all uses of the CONFIG_RISCV_SMODE and CONFIG_RISCV_MMODE configuration symbols to also cover the SPL equivale

[U-Boot] [PATCH v2 07/11] riscv: support SPL stack and global data relocation

2019-07-28 Thread Lukas Auer
To support relocation of the stack and global data on RISC-V, the secondary harts must be notified of the change using IPIs. We can reuse the hart relocation code for this purpose. It uses global data to store the new stack pointer and global data pointer for the secondary harts. This means that we

[U-Boot] [PATCH v2 09/11] riscv: set default FIT generator script and build target for SPL builds

2019-07-28 Thread Lukas Auer
Now that we have a generic FIT generator script for RISC-V, set it as the default. To also build the FIT image by default, set the default build target to "u-boot.itb" if CONFIG_SPL_LOAD_FIT is enabled. Signed-off-by: Lukas Auer Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2: None

[U-Boot] [PATCH v2 06/11] riscv: add SPL support

2019-07-28 Thread Lukas Auer
U-Boot SPL on the generic RISC-V CPU supports two boot flows, directly jumping to the image and via OpenSBI firmware. In the first case, both U-Boot SPL and proper must be compiled to run in the same privilege mode. Using OpenSBI firmware, U-Boot SPL must be compiled for machine mode and U-Boot pro

[U-Boot] [PATCH v2 02/11] Makefile: support building SPL FIT images without device trees

2019-07-28 Thread Lukas Auer
When building a U-Boot FIT image, the device trees specified by the board are unconditionally built for inclusion in the FIT image. However, not all device tree providers, such as CONFIG_OF_PRIOR_STAGE, require a device tree to be built and bundled with the U-Boot binary. They rely on other mechani

[U-Boot] [PATCH v2 01/11] fdtdec: make CONFIG_OF_PRIOR_STAGE available in SPL

2019-07-28 Thread Lukas Auer
The current preprocessor logic prevents CONFIG_OF_PRIOR_STAGE from being used in U-Boot SPL. Change the logic to also make it available in U-Boot SPL. Signed-off-by: Lukas Auer Reviewed-by: Bin Meng Tested-by: Bin Meng --- Changes in v2: None include/fdtdec.h | 2 +- lib/fdtdec.c | 6 ++-

Re: [U-Boot] buildman rockchip

2019-07-28 Thread Simon Glass
Hi Kever, On Sun, 28 Jul 2019 at 08:12, Simon Glass wrote: > > HI Kever, > > On Sun, 28 Jul 2019 at 05:14, Kever Yang wrote: > > > > Hi Simon, > > > > When I'm using the buildman for rockchip platform, it's always > > build only 20 boards, > > > > and many boards are not build, there are 38

[U-Boot] [PATCH] x86: qemu: Fix non-working ramboot and nfsboot environment variables

2019-07-28 Thread Bin Meng
With qemu-x86 starting to use config_distro_bootcmd, the pre-defined ramboot and nfsboot commands do not work any more. This is caused by undefined environment variable 'ramdiskaddr' that was previously set in CONFIG_EXTRA_ENV_SETTINGS but later CONFIG_EXTRA_ENV_SETTINGS was redefined for distro bo

Re: [U-Boot] [BUG] Build failure conga-qeval20-qa3-e3845

2019-07-28 Thread Tom Rini
On Sun, Jul 28, 2019 at 10:10:34PM +0800, Bin Meng wrote: > On Sun, Jul 28, 2019 at 10:03 PM Tom Rini wrote: > > > > On Sun, Jul 28, 2019 at 08:13:12PM +0800, Bin Meng wrote: > > > On Sun, Jul 28, 2019 at 8:02 PM Tom Rini wrote: > > > > > > > > On Sun, Jul 28, 2019 at 03:41:17PM +0800, Bin Meng w

Re: [U-Boot] [BUG] Build failure conga-qeval20-qa3-e3845

2019-07-28 Thread Heinrich Schuchardt
On 7/28/19 2:00 PM, Bin Meng wrote: > On Sun, Jul 28, 2019 at 5:52 PM Heinrich Schuchardt > wrote: >> >> On 7/28/19 11:35 AM, Bin Meng wrote: >>> On Sun, Jul 28, 2019 at 5:08 PM Heinrich Schuchardt >>> wrote: >> >> Skipping Git submodules setup >> $ ret=0; ./tools/buildman/buildman -P -E -x ar

[U-Boot] [PATCH 25/39] env: Move env_get_char() to env.h

2019-07-28 Thread Simon Glass
Move env_get_char() over to the new header file. Signed-off-by: Simon Glass --- include/env.h | 10 ++ include/environment.h | 10 -- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/env.h b/include/env.h index 15a0906847..827d96cc86 100644 --- a/

Re: [U-Boot] buildman rockchip

2019-07-28 Thread Simon Glass
HI Kever, On Sun, 28 Jul 2019 at 05:14, Kever Yang wrote: > > Hi Simon, > > When I'm using the buildman for rockchip platform, it's always > build only 20 boards, > > and many boards are not build, there are 38 boards with its defconfig in > configs/ dir, > > could you help to check what's m

[U-Boot] [PATCH 32/39] env: Rename the redundancy flags

2019-07-28 Thread Simon Glass
Add an ENV prefix to these two flags so that it is clear what they relate to. Also move them to env.h since they are part of the public API. Use an enum rather than a #define to tie them together. Signed-off-by: Simon Glass --- cmd/nvedit.c | 2 +- env/eeprom.c | 10 ++---

[U-Boot] [PATCH 36/39] env: Drop environment.h header file where not needed

2019-07-28 Thread Simon Glass
This header file is now only used by files that access internal environment features. Drop it from various places where it is not needed. Signed-off-by: Simon Glass --- arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 - arch/arm/mach-davinci/misc.c | 1 - arch/arm/mac

[U-Boot] [PATCH 21/39] env: Move env_load/save functions to env.h

2019-07-28 Thread Simon Glass
Move these function to the new header file. Signed-off-by: Simon Glass --- include/env.h | 21 + include/environment.h | 21 - 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/include/env.h b/include/env.h index 5c01cd3d6d..2ba345f

[U-Boot] [PATCH 26/39] env: Move env_reloc() to env.h

2019-07-28 Thread Simon Glass
Move env_reloc() over to the new header file. Signed-off-by: Simon Glass --- include/env.h | 7 +++ include/environment.h | 4 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/include/env.h b/include/env.h index 827d96cc86..82214d973e 100644 --- a/include/env.h ++

[U-Boot] [PATCH 19/39] env: Move uncommon functions to env.h

2019-07-28 Thread Simon Glass
Move eth_parse_enetaddr() and env_fix_drivers() over to the new header file. Signed-off-by: Simon Glass --- cmd/ethsw.c | 1 + include/env.h | 16 include/environment.h | 7 --- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/cmd/ethsw.c

  1   2   >