Re: [U-Boot] [PATCH 0/2] ARM: defconfig: add Raspberry Pi 3 Model B+

2019-04-27 Thread Alexander Graf
> Am 28.04.2019 um 06:46 schrieb Heinrich Schuchardt : > > Updating the bcm283x device tree sources adds the device trees for > > - Raspberry Pi 3 Model A+ > - Raspberry Pi 3 Model B+ > - Raspberry Pi Compute Module IO board rev1 > - Raspberry Pi Compute Module 3 IO board V3.0 > - Raspberry Pi

[U-Boot] [PATCH 2/2] ARM: defconfig: add Raspberry Pi 3 Model B+

2019-04-27 Thread Heinrich Schuchardt
Provide a defconfig file for the Raspberry Pi 3 Model B+. It is based on the Raspberry Pi 3 file, just changing the device tree. Signed-off-by: Heinrich Schuchardt --- configs/rpi_3_b_plus_defconfig | 43 ++ 1 file changed, 43 insertions(+) create mode 100644

[U-Boot] [PATCH 0/2] ARM: defconfig: add Raspberry Pi 3 Model B+

2019-04-27 Thread Heinrich Schuchardt
Updating the bcm283x device tree sources adds the device trees for - Raspberry Pi 3 Model A+ - Raspberry Pi 3 Model B+ - Raspberry Pi Compute Module IO board rev1 - Raspberry Pi Compute Module 3 IO board V3.0 - Raspberry Pi Zero Add a defconfig file for the Raspberry Pi 3 Model B+. Heinrich

[U-Boot] [PATCH 1/2] fdt: update bcm283x device tree sources to Linux 5.1-rc6 state

2019-04-27 Thread Heinrich Schuchardt
Updating the bcm283x device tree sources adds the device trees for - Raspberry Pi 3 Model A+ - Raspberry Pi 3 Model B+ - Raspberry Pi Compute Module IO board rev1 - Raspberry Pi Compute Module 3 IO board V3.0 - Raspberry Pi Zero Signed-off-by: Heinrich Schuchardt --- arch/arm/dts/Makefile

Re: [U-Boot] [PATCH 3/5] spi: add spi-mem driver for MediaTek MT7629 SoC

2019-04-27 Thread Weijie Gao
On Sat, 2019-04-27 at 21:38 +0530, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 2:53 PM Weijie Gao wrote: > > > > This patch adds spi-mem driver for MediaTek MT7629 SoC to access SPI-NOR > > and SPI-NAND flashes. > > > > Cc: Jagan Teki > > Signed-off-by: Weijie Gao > > --- > >

[U-Boot] DE10 Nano U-Boot v2019.04 Issues

2019-04-27 Thread rafael mello
Hello, I've attempted to build u-boot v2019.04 for the DE10 Nano board using the following commands: make ARCH=arm CROSS_COMPILE=${CC} distclean make ARCH=arm CROSS_COMPILE=${CC} socfpga_de10_nano_defconfig make ARCH=arm CROSS_COMPILE=${CC} u-boot-with-spl.sfp It builds just fine but I'm not

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

2019-04-27 Thread Tom Rini
On Sat, Apr 27, 2019 at 09:47:21PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - H6 Beelink GS1 board (Clément) > - Olimex A64-Teres-I board (Jonas) > - sunxi build fix for CONFIG_CMD_PXE|DHCP (Ondrej) > - _relaxed MMIO (Andre) NAK, this MMIO change (and

Re: [U-Boot] [PATCH v5 1/2] spl: fix linker size check off-by-one errors

2019-04-27 Thread Simon Goldschmidt
On 25.04.19 21:22, Simon Goldschmidt wrote: This fixes SPL linker script size checks for 3 lds files where the size checks were implemented as "x < YYY_MAX_SIZE". Fix the size checks to be "x <= YYY_MAX_SIZE" instead. After updating Ubuntu to 19.04 today, the new 8.3 gcc makes

Re: [U-Boot] [PATCH] spi: Zap lpc32xx_ssp driver-related code

2019-04-27 Thread Simon Goldschmidt
On 22.04.19 23:00, Tom Rini wrote: On Mon, Apr 22, 2019 at 11:50:22PM +0300, Vladimir Zapolskiy wrote: Hi Jagan, Tom, On 04/19/2019 09:48 AM, Jagan Teki wrote: Dropped - lpc32xx_ssp driver - CONFIG_LPC32XX_SSP, LPC32XX_SSP_TIMEOUT items Dropped due to: - no active updates - no dm

Re: [U-Boot] [PATCH v12 5/9] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-04-27 Thread Simon Goldschmidt
On 19.03.19 09:50, tien.fong.c...@intel.com wrote: From: Tien Fong Chee Add FPGA driver to support program FPGA with FPGA bitstream loading from filesystem. The driver are designed based on generic firmware loader framework. The driver can handle FPGA program operation from loading FPGA

Re: [U-Boot] [PATCH v12 9/9] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-04-27 Thread Simon Goldschmidt
On 19.03.19 09:50, tien.fong.c...@intel.com wrote: From: Tien Fong Chee Increasing Malloc pool size up to 0x15000 is required to support FAT in SPL . The result of calculation is come from after applying some few patches "Some few patches"? What should that mean? Either you refer to the

Re: [U-Boot] [PATCH v12 4/9] ARM: socfpga: Moving the watchdog reset to the for-loop status polling

2019-04-27 Thread Simon Goldschmidt
On 19.03.19 09:50, tien.fong.c...@intel.com wrote: From: Tien Fong Chee Ensure the watchdog is reset timely on each status polling. I would have expected a longer commit message here explaining why this is done, and from where, where to, and why the watchdog reset has been moved.

[U-Boot] Pull request: u-boot-sunxi/master

2019-04-27 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - H6 Beelink GS1 board (Clément) - Olimex A64-Teres-I board (Jonas) - sunxi build fix for CONFIG_CMD_PXE|DHCP (Ondrej) - _relaxed MMIO (Andre) - EPHY clock changes(Jagan) The following changes since commit 1f4ae66eaab29bfb5d1eb44996f7826c9cd01ed1: Merge

Re: [U-Boot] [PATCH 3/5] spi: add spi-mem driver for MediaTek MT7629 SoC

2019-04-27 Thread Jagan Teki
On Fri, Apr 26, 2019 at 2:53 PM Weijie Gao wrote: > > This patch adds spi-mem driver for MediaTek MT7629 SoC to access SPI-NOR > and SPI-NAND flashes. > > Cc: Jagan Teki > Signed-off-by: Weijie Gao > --- > drivers/spi/Kconfig | 9 ++ > drivers/spi/Makefile | 1 + >

Re: [U-Boot] [PATCH] rockchip: make_fit_atf: Use BL31 environ variable for file location

2019-04-27 Thread Emmanuel Vadot
Hi Jagan, On Sun, 21 Apr 2019 22:42:45 +0530 Jagan Teki wrote: > On Tue, Feb 5, 2019 at 4:24 PM Emmanuel Vadot wrote: > > > > Other make_fit script (like imx or sunxi) use the BL31 environment > > variable to indicate the location of the file. > > Also do that for rockchip so we don't need

Re: [U-Boot] [PATCH] lib: uuid: Improve randomness of uuid values on RANDOM_UUID=y

2019-04-27 Thread Lukasz Majewski
On Fri, 26 Apr 2019 23:54:58 +0200 Eugeniu Rosca wrote: > The random uuid values (enabled via CONFIG_RANDOM_UUID=y) on our > platform are always the same. Below is consistent on each cold boot: > > => ### reach U-Boot prompt > => setenv uuid_gpt_misc > => gpt verify mmc 1 $partitions >

Re: [U-Boot] doc: delete long-obsolete README.ARM-memory-map

2019-04-27 Thread Tom Rini
On Thu, Apr 18, 2019 at 08:00:48AM -0400, Robert P. J. Day wrote: > As far back as 2011, "_armboot_start" was being described as "no > longer defined": > > commit 297f18ac0fbeef30ba1c17fe131ca75f09a6e7cf > Author: Greg Ungerer > Date: Fri Sep 9 22:23:34 2011 +1000 > >CM4000: fix

Re: [U-Boot] [U-Boot, v2] mtd: nand: raw: Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior

2019-04-27 Thread Tom Rini
On Wed, Apr 17, 2019 at 11:22:05AM +0200, Gregory CLEMENT wrote: > The purpose of "mtd: nand: raw: allow to disable unneeded ECC layouts" > was to allow disabling the default ECC layouts if a driver is known to > provide its own ECC layout. However, this commit did the opposite and > disabled the

Re: [U-Boot] [U-Boot, v2, 2/2] dtb_platdata.py: prevent define generation of alias

2019-04-27 Thread Tom Rini
On Tue, Apr 16, 2019 at 01:31:58PM +0200, Heiko Schocher wrote: > generate define for an alias only if the struct is not > created already. > > This prevents compilerwarning: > PLATspl/dts/dt-platdata.o > spl/dts/dt-platdata.c:11:46: error: missing braces around initializer >

Re: [U-Boot] fs: fat: Build only if CONFIG_FS_FAT=y

2019-04-27 Thread Tom Rini
On Mon, Apr 15, 2019 at 11:19:15AM +, Ismael Luceno Cortes wrote: > Signed-off-by: Ismael Luceno Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

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

2019-04-27 Thread Tom Rini
On Fri, Apr 26, 2019 at 12:58:33PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following Marvell and watchdog related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing

Re: [U-Boot] fs: btrfs: fix false negatives in ROOT_ITEM search

2019-04-27 Thread Pierre Bourdon
Hi Tom, On Sat, Apr 27, 2019 at 4:46 PM Tom Rini wrote: > On Sat, Apr 13, 2019 at 11:50:49PM +0200, Pierre Bourdon wrote: > > ROOT_ITEMs in btrfs are referenced without knowing their actual "offset" > > value. To perform these searches using only two items from the key, the > > btrfs driver uses

Re: [U-Boot] fs: btrfs: fix false negatives in ROOT_ITEM search

2019-04-27 Thread Tom Rini
On Sat, Apr 27, 2019 at 04:50:18PM +0200, Pierre Bourdon wrote: > Hi Tom, > > On Sat, Apr 27, 2019 at 4:46 PM Tom Rini wrote: > > On Sat, Apr 13, 2019 at 11:50:49PM +0200, Pierre Bourdon wrote: > > > ROOT_ITEMs in btrfs are referenced without knowing their actual "offset" > > > value. To perform

Re: [U-Boot] [U-Boot, 1/1] arm: dts: add missing vexpress device trees

2019-04-27 Thread Tom Rini
On Sun, Apr 21, 2019 at 11:54:37PM +0200, Heinrich Schuchardt wrote: > Add the device trees for > > * vexpress_ca5x2_defconfig > * vexpress_ca9x4_defconfig > * vexpress_ca15_tc2_defconfig > > as available in Linux 5.1 rc5. > > We are using the vexpress_ca15_tc2_defconfig and

Re: [U-Boot] [U-Boot, v3, 4/7] arm: mach-k3: Add secure device support

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:54:45PM -0400, Andrew F. Davis wrote: > K3 devices have High Security (HS) variants along with the non-HS already > supported. Like the previous generation devices (OMAP/Keystone2) K3 > supports boot chain-of-trust by authenticating and optionally decrypting > images as

Re: [U-Boot] arm: lpc32xx: Fix timer initialization

2019-04-27 Thread Tom Rini
On Wed, Apr 17, 2019 at 11:48:45AM +0200, Gregory CLEMENT wrote: > The match controller register is not cleared during > initialization. However, some bits of this register may reset the TC if > tnMRx match it. > > As we can't make any assumption about how U-Boot is launched by the first > stage

Re: [U-Boot] [U-Boot, v6, 1/1] avb: add support for named persistent values

2019-04-27 Thread Tom Rini
On Tue, Apr 09, 2019 at 03:38:14PM +0200, Igor Opaniuk wrote: > AVB 2.0 spec. revision 1.1 introduces support for named persistent values > that must be tamper evident and allows AVB to store arbitrary key-value > pairs [1]. > > Introduce implementation of two additional AVB operations >

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

2019-04-27 Thread Tom Rini
On Fri, Apr 26, 2019 at 11:31:09AM +0200, Marek Vasut wrote: > The following changes since commit 3fbd2dce351ab5d40d3244f26bd713caa4f826e2: > > Merge branch '2019-04-22-master-imports' (2019-04-24 09:04:23 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] net: lpc32xx: Use IRAM for transmit buffer

2019-04-27 Thread Tom Rini
On Wed, Apr 17, 2019 at 11:41:42AM +0200, Gregory CLEMENT wrote: > Since the introduction of the driver, some memory in IRAM is reserved for > the TX buffers. > > However there are not used but instead of it, it is the buffer provided > by the net stack which is used. As stated in the comment of

Re: [U-Boot] sysreset: syscon: remove POWER reset cause

2019-04-27 Thread Tom Rini
On Thu, Apr 18, 2019 at 05:16:21PM +0200, Patrick Delaunay wrote: > The sysreset of 'POWER' type is a PMIC reset defined as > 'remove and restore power'. > So normally only COLD/WARN is supported by sysreset_syscon. > > This modification allows to use the function sysreset_walk(SYSRESET_POWER) >

Re: [U-Boot] fw_env: Fix double free

2019-04-27 Thread Tom Rini
On Wed, Apr 17, 2019 at 04:56:54PM +0200, Björn Stenberg wrote: > addr0 is being freed twice, leading to segmentation fault > > Signed-off-by: Björn Stenberg Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] ARM: da850evm: Fix broken SPI Flash

2019-04-27 Thread Tom Rini
On Wed, Apr 17, 2019 at 11:21:56AM -0500, Adam Ford wrote: > A previous patch converted a bunch of settings for CONFIG_SF_DEFAULT > but it broke the SPI Flash which now prevents booting. This patch > now correctly sets CONFIG_SF_DEFAULT_SPEED=3000 to match what it > was before the

Re: [U-Boot] ARM: da850evm: Fix TI boot scripts for MMC

2019-04-27 Thread Tom Rini
On Wed, Apr 17, 2019 at 01:24:33PM -0500, Adam Ford wrote: > The da850evm include environment/ti/mmc.h and places > DEFAULT_MMC_TI_ARGS, defined int that file, in > CONFIG_EXTRA_ENV_SETTINGS. This has been broken for some time > since neither CMD_PART nor CMD_UUID are available, so manually >

Re: [U-Boot] main: add new bootstage ID for entering cli loop

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:37:03PM +0200, Heiko Schocher wrote: > adding a new bootstage ID: > BOOTSTAGE_ID_ENTER_CLI_LOOP > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, v3, 5/7] arm: mach-k3: Add secure device build support

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:54:46PM -0400, Andrew F. Davis wrote: > K3 HS devices require signed binaries for boot, use the SECDEV tools > to sign the boot artifacts during build. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini > Reviewed-by: Andreas Dannenberg Applied to

Re: [U-Boot] .gitignore: Ignore .log files

2019-04-27 Thread Tom Rini
On Thu, Apr 18, 2019 at 10:46:58AM +0300, Baruch Siach wrote: > The generated flash.log file that mach-imx uses for MKIMAGEOUTPUT is not > covered by any other ignore pattern. Ignore all *.log files. > > Signed-off-by: Baruch Siach > Reviewed-by: Fabio Estevam Applied to u-boot/master,

Re: [U-Boot] cmd: pxe: Display splashscreen from extlinux.conf input

2019-04-27 Thread Tom Rini
On Thu, Apr 11, 2019 at 11:13:13AM +0200, Patrice Chotard wrote: > The objective is to provide a simple way to retrieve a BMP file, > and display it as splashscreen, from extlinux.conf file input. > > For this, we take example on https://www.syslinux.org/wiki/ >

Re: [U-Boot] fs: btrfs: fix false negatives in ROOT_ITEM search

2019-04-27 Thread Tom Rini
On Sat, Apr 13, 2019 at 11:50:49PM +0200, Pierre Bourdon wrote: > ROOT_ITEMs in btrfs are referenced without knowing their actual "offset" > value. To perform these searches using only two items from the key, the > btrfs driver uses a special "btrfs_search_tree_key_type" function. > > The

Re: [U-Boot] [U-Boot, v3, 6/7] configs: Add configs for AM65x High Security EVM

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:54:47PM -0400, Andrew F. Davis wrote: > Add new defconfig files for the AM65x High Security EVM. > > This defconfigs are the same as for the non-secure part, except for: > CONFIG_TI_SECURE_DEVICE option set to 'y' > CONFIG_FIT_IMAGE_POST_PROCESS option set to

Re: [U-Boot] [U-Boot, v3, 1/7] arm: K3: Avoid use of MCU_PSRAM0 before SYSFW is loaded

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:54:42PM -0400, Andrew F. Davis wrote: > On HS devices the 512b region of reset isolated memory called > MCU_PSRAM0 is firewalled by default. Until SYSFW is loaded we > cannot use this memory. It is only used to store a single value > left at the end of SRAM by ROM that

Re: [U-Boot] [U-Boot, v2] fs: btrfs: fix btrfs_search_tree invalid results

2019-04-27 Thread Tom Rini
On Tue, Apr 16, 2019 at 02:47:14AM +0200, Pierre Bourdon wrote: > btrfs_search_tree should return the first item in the tree that is > greater or equal to the searched item. > > The search algorithm did not properly handle the edge case where the > searched item is higher than the last item of

Re: [U-Boot] [U-Boot,v2,1/2] at91: cleanup taurus port

2019-04-27 Thread Tom Rini
On Tue, Apr 16, 2019 at 01:31:57PM +0200, Heiko Schocher wrote: > - at91sam9g20-taurus.dts: use labels > - cleanup taurus port to compile clean with > current mainline again. SPL has no serial > output anymore, so it fits into SRAM. > > Signed-off-by: Heiko Schocher This needs to be

Re: [U-Boot] [U-Boot, v3, 7/7] doc: Update info on using K3 secure devices

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:54:48PM -0400, Andrew F. Davis wrote: > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini > Reviewed-by: Andreas Dannenberg Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] tools/Makefile: get openssl CFLAGS from pkg-config

2019-04-27 Thread Tom Rini
On Thu, Apr 11, 2019 at 12:58:49AM +0200, Pierre Bourdon wrote: > Fixes building mkimage on systems where OpenSSL header files do not > live in the standard include path. > > Signed-off-by: Pierre Bourdon Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 3/7] firmware: ti_sci: Modify auth_boot TI-SCI API to match new version

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:54:44PM -0400, Andrew F. Davis wrote: > SYSFW version 2019.01 introduces a slightly modified version of this API, > add support for it here. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini > Reviewed-by: Andreas Dannenberg Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v3, 2/7] firmware: ti_sci: Add support for firewall management

2019-04-27 Thread Tom Rini
On Fri, Apr 12, 2019 at 12:54:43PM -0400, Andrew F. Davis wrote: > TI-SCI message protocol provides support for controlling the firewall > configurations available in SoC. > > Introduce support for the set of TI-SCI message protocol APIs that > provide us with this capability of controlling

Re: [U-Boot] [U-Boot,1/1] disk: part: fix typo

2019-04-27 Thread Tom Rini
On Wed, Apr 10, 2019 at 06:59:26PM +0200, Heinrich Schuchardt wrote: > %g/rathen then/rather than/ > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 6/6] board/BuR/brxre1: use common resetcontroller implementation

2019-04-27 Thread Tom Rini
On Wed, Apr 10, 2019 at 02:13:16PM +0200, Hannes Schmelzer wrote: > The handling of regarding bootmode and early setup has been moved to > central location 'common/br_resetc.c', so use this on brxre1 board. > > Signed-off-by: Hannes Schmelzer Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,5/6] board/BuR/brxre1: cosmetic cleanup

2019-04-27 Thread Tom Rini
On Wed, Apr 10, 2019 at 02:13:15PM +0200, Hannes Schmelzer wrote: > - fixup coding style > - drop unused 'PUSH_KEY' define > > Signed-off-by: Hannes Schmelzer Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, 4/6] board/BuR/common: add br resetcontoller implementation

2019-04-27 Thread Tom Rini
On Wed, Apr 10, 2019 at 02:13:14PM +0200, Hannes Schmelzer wrote: > On many B boards we have a reset-controller, responsible for very > early board-bringup (voltages, clocks, ...) and bootmode selection. > > To be ready for adding more B boards to source tree while avoiding > duplicate code, we

Re: [U-Boot] [U-Boot, 3/6] board/BuR/common: add 'brdefaulip_setup' function

2019-04-27 Thread Tom Rini
On Wed, Apr 10, 2019 at 02:13:13PM +0200, Hannes Schmelzer wrote: > Many B boards are equipped with an I2C-EEPROM where various > information can be stored. > > Today there is only a single byte for 'board_id' used. > > We write this 'board_id' into environment for later use during boot. > >

Re: [U-Boot] [U-Boot, 1/6] board/BuR/common: prepare for compiling common into non AM33XX boards

2019-04-27 Thread Tom Rini
On Wed, Apr 10, 2019 at 02:13:11PM +0200, Hannes Schmelzer wrote: > Today the BuR common stuff is only used on AM33XX boards. In future we > plan to have many other platforms than AM33XX so we have to move arch- > specific #include(s) to responsible #ifdef sections. By the way we drop > unneeded

Re: [U-Boot] [U-Boot, 2/6] board/BuR/common: cosmetic: move 'overwrite_console' up to more related stuff

2019-04-27 Thread Tom Rini
On Wed, Apr 10, 2019 at 02:13:12PM +0200, Hannes Schmelzer wrote: > Signed-off-by: Hannes Schmelzer Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] fit: Add support for printing more than one FPGA node name

2019-04-27 Thread Tom Rini
On Fri, Apr 26, 2019 at 06:12:40AM +, Chee, Tien Fong wrote: > On Mon, 2019-04-22 at 13:29 -0400, Tom Rini wrote: > > On Wed, Feb 13, 2019 at 08:32:24PM +0800, tien.fong.c...@intel.com > > wrote: > > > > > > > > From: Tien Fong Chee > > > > > > This would print out all the FPGA node names

Re: [U-Boot] [PATCH 2/4] mini-zed: Update mini-zed dts so we can use it for SPL.

2019-04-27 Thread Michal Simek
pá 26. 4. 2019 v 6:18 odesílatel Philip Balister napsal: > On 04/25/2019 05:28 PM, Michal Simek wrote: > > On 17. 04. 19 19:46, Philip Balister wrote: > >> Signed-off-by: Philip Balister > >> --- > >> arch/arm/dts/zynq-minized.dts | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git

Re: [U-Boot] [PATCH 3/4] zynq_minized: Add configuration header file for board specific environment.

2019-04-27 Thread Michal Simek
pá 26. 4. 2019 v 6:59 odesílatel Philip Balister napsal: > On 04/25/2019 05:30 PM, Michal Simek wrote: > > On 17. 04. 19 19:46, Philip Balister wrote: > >> Signed-off-by: Philip Balister > >> --- > >> include/configs/zynq_minized.h | 54 ++ > >> 1 file changed,

Re: [U-Boot] [PATCH 4/4] Update defconfig for minized.

2019-04-27 Thread Michal Simek
pá 26. 4. 2019 v 7:11 odesílatel Philip Balister napsal: > On 04/25/2019 05:33 PM, Michal Simek wrote: > > On 17. 04. 19 19:46, Philip Balister wrote: > >> Signed-off-by: Philip Balister > >> --- > >> configs/zynq_minized_defconfig | 16 +--- > >> 1 file changed, 5 insertions(+),

[U-Boot] [PATCH v3 3/4] pci_ep: add pci endpoint sandbox driver

2019-04-27 Thread Ramon Fried
Add a dummy PCI endpoint for sandbox. Supporting only a single function, it allows setting and reading header configuration. Signed-off-by: Ramon Fried --- Changes in v3: - Added more description to commit message and kmsg - Removed some unused functionality that can't be tested. - Removed

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

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

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

2019-04-27 Thread Ramon Fried
Add basic PCI endpoint sandbox testing. Signed-off-by: Ramon Fried --- Changes in v3: - Added more testing of sandbox driver arch/sandbox/include/asm/test.h | 8 + test/dm/Makefile| 1 + test/dm/pci_ep.c| 64 + 3 files

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

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

[U-Boot] [PATCH v6 13/13] doc: rockchip: Add global doc for rk3399 build/flash

2019-04-27 Thread Jagan Teki
Since rockchip have an individual doc/README.rockchip, it would be better to update the same instead of maintaining it separately in board files. So, add the documentation for rk3399 - procedure to build for Rockchip miniloader and U-Boot SPL options - procedure to boot from SD for Rockchip

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

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

Re: [U-Boot] RSA in U-Boot

2019-04-27 Thread Paolo Bonzini
> >> I've done porting linux's pkcs7/x509 parsers and they work well > >> with my UEFI secure boot patch, but I'm still looking for other options > >> as well. > >> > >> * openssl > >> Most of existing components linked to UEFI secure boot, including > >> EDK2, shim and grub, reply on this

[U-Boot] [PATCH v6 12/13] rockchip: rk3399: Add Rock PI 4 support

2019-04-27 Thread Jagan Teki
Add initial support for Rock PI 4 board. Specification - Rockchip RK3399 - LPDDR4 - eMMC - SD card slot - RTL8211E 1Gbps - HDMI In/Out, DP, MIPI DSI/CSI - PCIe M.2 - USB 2.0, USB-3.0 - USB C Type Commit details of rk3399-rock-pi-4.dts sync from Linux 5.1-rc2: "arm64: dts: rockchip: add ROCK Pi 4

[U-Boot] [PATCH v6 11/13] rockchip: rk3399: Add Rockpro64 board support

2019-04-27 Thread Jagan Teki
Add initial support for Rockpro64 board. Specification - Rockchip RK3399 - 2/4GB Dual-Channel LPDDR3 - SD card slot - eMMC socket - 128Mb SPI Flash - Gigabit ethernet - PCIe 4X slot - WiFI/BT module socket - HDMI In/Out, DP, MIPI DSI/CSI, eDP - USB 3.0, 2.0 - USB Type C power and data - GPIO

[U-Boot] [PATCH v6 10/13] rockchip: rk3399: Add Nanopi NEO4 board support

2019-04-27 Thread Jagan Teki
Add initial support for Nanopi NEO4 board. Specification - Rockchip RK3399 - 1GB DDR3-1866 - SD card slot - eMMC Socket - RTL8211E 1Gbps - AP6212 WiFI/BT - HDMI In/Out, DP, MIPI CSI - USB 3.0, 2.0 - USB Type C power and data - GPIO expansion ports - DC 5V/3A Commit details of

[U-Boot] [PATCH v6 08/13] rockchip: rk3399: Add Nanopi M4 board support

2019-04-27 Thread Jagan Teki
Add initial support for Nanopi M4 board. Specification - Rockchip RK3399 - Dual-Channel 4GB LPDDR3-1866 - SD card slot - eMMC socket - RTL8211E 1Gbps - AP6356S WiFI/BT - HDMI In/Out, DP, MIPI DSI/CSI - USB 3.0 x4 - USB Type C power and data - GPIO1, GPIO2 expansion ports - DC5V/3A Commit details

[U-Boot] [PATCH v6 07/13] rockchip: dts: rk3399: nanopi4: Use CD pin as RK_FUNC_1

2019-04-27 Thread Jagan Teki
sdmmc cd pin is configured as RK_FUNC_GPIO which is wrong and indeed failed to detect the sdcard on the board with below error Card did not respond to voltage select! So, fix it by replacing RK_FUNC_GPIO with RK_FUNC_1 which is already defined in rk3399.dts so make use of same like other

[U-Boot] [PATCH v6 05/13] rockchip: rk3399: Add Orangepi RK3399 support

2019-04-27 Thread Jagan Teki
Add initial support for Orangepi RK3399 board. Specification - Rockchip RK3399 - 2GB/4GB DDR3 - 16GB eMMC - SD card slot - RTL8211E 1Gbps - AP6356S WiFI/BT - HDMI In/Out, DP, MIPI DSI/CSI - Mini PCIe - Sensors, Keys etc - DC12V-2A and DC5V-2A Commit details about Linux DTS sync: "arm64: dts:

[U-Boot] [PATCH v6 09/13] rockchip: rk3399: Add Nanopc T4 board support

2019-04-27 Thread Jagan Teki
Add initial support for Nanopc T4 board. Specification - Rockchip RK3399 - Dual-Channel 4GB LPDDR3-1866 - SD card slot - 16GB eMMC - RTL8211E 1Gbps - AP6356S WiFI/BT - HDMI In/Out, DP, MIPI DSI/CSI, eDP - USB 3.0, 2.0 - USB Type C power and data - GPIO expansion ports - DC 12V/2A Commit details

[U-Boot] [PATCH v6 06/13] rockchip: dts: rk3399: Sync rk3399-nanopi4.dtsi from Linux

2019-04-27 Thread Jagan Teki
Sync rk3399-nanopi4.dtsi from Linux 5.1-rc2 tag. Linux commit details about the rk3399-nanopi4.dtsi sync: "arm64: dts: rockchip: Add nanopi4 bluetooth" (sha1: 3e2f0bb72be36aa6c14ee7f11ac4dd8014801030) Signed-off-by: Jagan Teki Reviewed-by: Paul Kocialkowski ---

[U-Boot] [PATCH v6 02/13] rockchip: dts: rk3399: Sync pwm2_pin_pull_down from Linux 5.1-rc2

2019-04-27 Thread Jagan Teki
To make successful build with dts(i) files syncing from Linux 5.1-rc2 the rk3399.dtsi would require pwm2_pin_pull_down. So, sync the pwm2_pin_pull_down node from Linux 5.1-rc2. Since this node is strictly not part of any commit alone, I have mentioned Linux 5.1-rc2 tag for future reference of

[U-Boot] [PATCH v6 01/13] rockchip: dts: rk3399: Sync rk3399-opp from Linux

2019-04-27 Thread Jagan Teki
Sync rk3399-opp.dtsi from Linux. Linux commit details about the rk3399-opp.dtsi sync: "arm64: dts: rockchip: use SPDX-License-Identifier" (sha1: 4ee99cebd486238ac433da823b95cc5f8d8a6905) Signed-off-by: Jagan Teki Reviewed-by: Paul Kocialkowski --- arch/arm/dts/rk3399-opp.dtsi | 133

[U-Boot] [PATCH v6 04/13] arm: rockchip: rk3399: Move common configs in Kconfig

2019-04-27 Thread Jagan Teki
Few SPL and U-Boot proper configs are common to all rk3399 target defconfigs, move them and select it from platform kconfig. Moved configs: - SPL_ATF - SPL_ATF_NO_PLATFORM_PARAM if SPL_ATF - SPL_LOAD_FIT - SPL_CLK if SPL - SPL_PINCTRL if SPL - SPL_RAM if SPL - SPL_REGMAP if SPL -

[U-Boot] [PATCH v6 03/13] Kconfig: Add default SPL_FIT_GENERATOR for rockchip

2019-04-27 Thread Jagan Teki
Add default SPL_FIT_GENERATOR py script for rockchip platforms if specific target enabled SPL_LOAD_FIT. So, this would help get rid of explicitly mentioning the default SPL FIT generator in defconfigs. however some targets, like puma_rk3399 still require their own FIT generator so in those cases

[U-Boot] [PATCH v6 00/13] rockchip: Add new rk3399 boards

2019-04-27 Thread Jagan Teki
This is v6 patchset for New rk3399 boards support wrt previous version[1] Overall this series add support below rk3399 boards - Orangepi RK3399 - NanoPI M4 - NanoPC T4 - NanoPI NEO4 - Orangepi RK3399 - Rock PI 4 - Rockpro64 All the respective dts(i) files are synced from Linux 5.1-rc2 and few

[U-Boot] [PATCH v6 3/3] arm64: rockchip: dts: rk3399: Use rk3399-u-boot.dtsi

2019-04-27 Thread Jagan Teki
Now we have - board specific -u-boot.dtsi files for board specific u-boot dts changes. - soc specific rk3399-u-boot.dtsi for soc specific u-boot dts changes. So, include the rk3399-u-boot-dtsi on respective board -u-boot.dtsi and drop the properties which are globally available in

[U-Boot] [PATCH v6 1/3] arm64: rockchip: dts: rk3399: Add board -u-boot.dtsi files

2019-04-27 Thread Jagan Teki
Devicetree files in RK3399 platform is synced from Linux, like other platforms does. Apart from these u-boot in rk3399 would also require some u-boot specific node like dmc. dmc node has big chunk of DDR timing parameters which are specific to specific board, and maintained with

[U-Boot] [PATCH v6 2/3] arm64: rockchip: dts: Add initial rk3399-u-boot.dtsi file

2019-04-27 Thread Jagan Teki
U-Boot always managed to use Linux devicetree files with respective bindings, but on the other hand u-boot also has it's own u-boot specific nodes or properties example u-boot,dm-pre-reloc which is required for SPL_OF_CONTROL to allocate particular node. It is always better to maintain these

[U-Boot] [PATCH v6 0/3] arm64: rockchip: dts: Add rk3399 -u-boot.dtsi files

2019-04-27 Thread Jagan Teki
This series is a rework of v5 patch that send it in separate series[1] All these changes are creating an initial rk3399-u-boot.dtsi and rk3399 board -u-boot.dtsi files and u-boot specific dts changes like - sdram dtsi - sdmmc, u-boot,dm-pre-reloc - spi1, u-boot,dm-pre-reloc Changes for v6: -

Re: [U-Boot] [PATCH v2 1/1] lib/vsprintf: allow printing upper case GUIDs

2019-04-27 Thread Alexander Graf
On 26.04.19 19:23, Heinrich Schuchardt wrote: > In the UEFI context GUIDs are expected to be rendered in upper case. > > The patch uses the formerly unused bit 1 of the parameter str_format > of function uuid_bin_to_str() to indicate if we need upper or lower case > output. > > Function

Re: [U-Boot] EFIBootGuard for CIP and SecureBoot

2019-04-27 Thread Alexander Graf
On 26.04.19 15:46, Heinrich Schuchardt wrote: > > On 4/26/19 1:21 PM, Jan Kiszka wrote: >> On 26.04.19 12:21, Grant Likely wrote: >>> On 26/04/2019 10:49, Jan Kiszka wrote: On 26.04.19 11:07, Francois Ozog wrote: >>> [...] > Here are the guiding principles of our efforts : > 0) we

Re: [U-Boot] RSA in U-Boot

2019-04-27 Thread Heinrich Schuchardt
On 4/27/19 7:31 AM, Paolo Bonzini wrote: I've done porting linux's pkcs7/x509 parsers and they work well with my UEFI secure boot patch, but I'm still looking for other options as well. * openssl Most of existing components linked to UEFI secure boot, including EDK2, shim and grub,