Re: [U-Boot] [U-Boot,v2] odroid-c2: Enable distro boot

2017-04-22 Thread Andreas Färber
Hi, Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt: > On 01/15/2017 07:52 PM, Andreas Färber wrote: >> Use the generic "distro" boot framework to enable automatic DHCP boot. >> >> The fdt and kernel addresses are adopted from downstream; ramdisk and >

Re: [U-Boot] [U-Boot,v2] odroid-c2: Enable distro boot

2017-04-22 Thread Andreas Färber
Am 22.04.2017 um 16:19 schrieb Heinrich Schuchardt: > On 04/22/2017 03:10 PM, Andreas Färber wrote: >> Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt: >>> On 01/15/2017 07:52 PM, Andreas Färber wrote: >>>> Use the generic "distro" boot framework to enabl

Re: [U-Boot] [U-Boot,v2] odroid-c2: Enable distro boot

2017-04-23 Thread Andreas Färber
Am 22.04.2017 um 20:32 schrieb Heinrich Schuchardt: > On 04/22/2017 05:47 PM, Andreas Färber wrote: >> Am 22.04.2017 um 16:19 schrieb Heinrich Schuchardt: >>> On 04/22/2017 03:10 PM, Andreas Färber wrote: >>>> Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt

Re: [U-Boot] [PATCH 1/1] odroid-c2: make fdtfile conform with README.pxe

2017-04-23 Thread Andreas Färber
Heinrich, Am 23.04.2017 um 10:09 schrieb Heinrich Schuchardt: > According to doc/README.pxe fdtfile shall only contain a filename > and no path. If a path is needed it shall be specified with > ftddir. That is absolute BS!!! It does NOT say that at all. http://git.denx.de/?p=u-boot.git;a=commitd

Re: [U-Boot] [U-Boot,v2] odroid-c2: Enable distro boot

2017-04-23 Thread Andreas Färber
Am 22.04.2017 um 16:51 schrieb Heinrich Schuchardt: > On 04/22/2017 03:10 PM, Andreas Färber wrote: >> Hi, >> >> Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt: >>> On 01/15/2017 07:52 PM, Andreas Färber wrote: >>>> Use the generic "distr

Re: [U-Boot] [U-Boot,v2] odroid-c2: Enable distro boot

2017-04-23 Thread Andreas Färber
Am 23.04.2017 um 12:41 schrieb Andreas Färber: > Am 22.04.2017 um 16:51 schrieb Heinrich Schuchardt: >> On 04/22/2017 03:10 PM, Andreas Färber wrote: >>> Hi, >>> >>> Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt: >>>> On 01/15/2017 07:52 PM, And

Re: [U-Boot] [PATCH v2 1/1] core/uclass: iterate over all devices of a uclass

2017-04-23 Thread Andreas Färber
Am 23.04.2017 um 01:58 schrieb Simon Glass: > Hi, > > On 19 April 2017 at 15:34, Simon Glass wrote: >> On 19 April 2017 at 15:06, Andreas Färber wrote: >>> Am 19.04.2017 um 13:26 schrieb Heinrich Schuchardt: >>>> When iterating over the devices of an uclass t

Re: [U-Boot] [PATCH v2 1/1] core/uclass: iterate over all devices of a uclass

2017-04-23 Thread Andreas Färber
Am 19.04.2017 um 23:34 schrieb Simon Glass: > On 19 April 2017 at 15:06, Andreas Färber wrote: >> Am 19.04.2017 um 13:26 schrieb Heinrich Schuchardt: >>> When iterating over the devices of an uclass the iteration stops >>> at the first device that cannot be probed. &

Re: [U-Boot] [PATCH 1/7] rockchip: rk3368: Add clok drvier

2017-04-29 Thread Andreas Färber
Am 29.04.2017 um 02:28 schrieb Simon Glass: > Hi Andy, > > On 20 April 2017 at 20:31, Andy Yan wrote: >> Add driver to setup the various PLLs and peripheral >> clocks on the RK3368. > > Subject: clock Also: driver Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF

Re: [U-Boot] [PATCH 1/7] rockchip: rk3368: Add clok drvier

2017-04-30 Thread Andreas Färber
Am 29.04.2017 um 02:28 schrieb Simon Glass: > On 20 April 2017 at 20:31, Andy Yan wrote: >> +static int rk3368_clk_probe(struct udevice *dev) >> +{ >> + struct rk3368_clk_priv *priv = dev_get_priv(dev); >> + >> + rkclk_init(priv->cru); > > Should this only happen in SPL? We don't use

Re: [U-Boot] [PATCH 5/7] rockchip: rk3368: Add initial support for RK3368 based GeekBox

2017-04-30 Thread Andreas Färber
Hi Andy, Am 21.04.2017 um 08:17 schrieb Andy Yan: > On 2017年04月21日 10:59, Andreas Färber wrote: >> Am 21.04.2017 um 04:32 schrieb Andy Yan: >>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile >>> index ce34e3e..fbc97e8 100644 >>> --- a/arch/arm

Re: [U-Boot] [PATCH 1/8] armv7: Add workaround for USB erratum A-009008

2017-04-30 Thread Andreas Färber
Am 28.04.2017 um 06:03 schrieb yinbo.zhu: > From: Suresh Gupta > > USB High Speed (HS) EYE Height Adjustment > This patch is adding the erratum for LS1021. Please make that clear in the subject! > > Signed-off-by: Sriram Dash So, you have one author, then a different Sob and yet another send

Re: [U-Boot] [Turris Omnia] Is there a standard approach to write a driver for CryptoAuthentication/EEPROM chip?

2017-04-30 Thread Andreas Färber
Hello Marek, Am 25.04.2017 um 15:27 schrieb Marek Behún: > The Turris Omnia has (on I2C interface) an Atmel ATSHA204 > CryptoAuthentication chip for storage of MAC adresses, device serial > number, device configuration (1 GB RAM vs 2 GB RAM). This data is > stored in the internal EEPROM of ATSHA20

Re: [U-Boot] [PATCH] rockchip: dts: rk3328: add aliases for mmc controller

2017-05-23 Thread Andreas Färber
Hi Heiko, Am 23.05.2017 um 23:27 schrieb Heiko Stuebner: > Am Dienstag, 23. Mai 2017, 17:14:19 CEST schrieb Tom Rini: >> On Tue, May 23, 2017 at 11:03:23PM +0200, Mark Kettenis wrote: From: Heiko Stuebner Date: Tue, 23 May 2017 22:29:33 +0200 Hi Kever, Tom, Am Dienst

Re: [U-Boot] [PATCH v2 0/2] sunxi: update Pine64 device tree

2017-05-23 Thread Andreas Färber
Hi Andre, Am 23.05.2017 um 12:09 schrieb Andre Przywara: > an updated version: the first patch is unchanged (still the exact > same DT as in Linux), but the second patch reformats the Ethernet nodes > as a .dtsi and uses the new U-Boot specific DT addon feature to make > it clear that these nodes

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-05-24 Thread Andreas Färber
Hej Patrick, Am 09.05.2017 um 14:43 schrieb Patrick Wildt: > The NanoPi Neo2 is basically the same as the NanoPi Neo, but that they > replaced the SoC with the 64-bit Allwinner H5 SoC. Add a (64-bit only) > defconfig defining the required options to build the U-Boot proper. > > Create a new .dts

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-05-24 Thread Andreas Färber
Am 24.05.2017 um 14:44 schrieb Andre Przywara: > On 24/05/17 12:50, Andreas Färber wrote: >> Am 09.05.2017 um 14:43 schrieb Patrick Wildt: >>> The NanoPi Neo2 is basically the same as the NanoPi Neo, but that they >>> replaced the SoC with the 64-bit Allwinner

Re: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-05-25 Thread Andreas Färber
Am 08.05.2017 um 18:36 schrieb Jorge Ramirez-Ortiz: > This port adds support for: > 1) Serial > 2) eMMC > 3) USB > > It has been tested with ARM TRUSTED FIRMWARE running u-boot as the > BL33 executable [see board's README] > > eMMC has been tested for reading and booting t

Re: [U-Boot] [PATCH 3/3] marvell: armada385: Add the Turris Omnia board

2017-05-28 Thread Andreas Färber
Hi Pavel, Am 28.05.2017 um 21:17 schrieb Pavel Machek: >> Signed-off-by: Marek Behun [...] >> +++ b/arch/arm/dts/armada-385-turris-omnia.dts >> @@ -0,0 +1,428 @@ >> +/* >> + * Device Tree file for the Turris Omnia >> + * >> + * Copyright (C) 2014 Marvell >> + * >> + * Marek Behun > There should

Re: [U-Boot] [PATCH] arm: sunxi: initial support for NanoPi Neo2

2017-06-01 Thread Andreas Färber
Am 01.06.2017 um 16:04 schrieb Patrick Wildt: > What's holding us up from using the Linux device trees without any > changes? This diff I attach inline copies all a64, h3 and h5 related > files from v4.12-rc3 (so, mainline) and modifies the emac driver to > use the new pinmux attributes. Andre or

Re: [U-Boot] [PATCH v2 3/6] arch/arm/dts: Add Turris Omnia device tree

2017-06-02 Thread Andreas Färber
Am 02.06.2017 um 18:58 schrieb Marek Behun: > From: Marek Behún > > This device tree is taken from mainline Linux kernel commit > 7b7db5ab Thanks for that clarification. > with certain modifications: > > - aliases for I2C devices are added, because u-boot i2cmux > doesn't work otherwise

Re: [U-Boot] [RFC 1/1] meson-gx: reserved memory regions

2017-06-09 Thread Andreas Färber
Am 09.06.2017 um 17:43 schrieb heinr...@suse.de: > From: Heinrich Schuchardt > > The Odroid C2 has two GiB of memory with two reserved regions. > reg = <0x0 0x0 0x0 0x100>; > reg = <0x0 0x1000 0x0 0x20>; > > The description has been created with the following patches: > > Patch > bf

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-06-11 Thread Andreas Färber
Am 12.02.2017 um 15:03 schrieb Marek Vasut: > On 02/12/2017 02:24 PM, Andreas Färber wrote: >> Am 12.02.2017 um 13:53 schrieb Marek Vasut: >>> On 02/12/2017 01:24 PM, Andreas Färber wrote: >>>> Am 12.02.2017 um 12:55 schrieb Marek Vasut: >>>>>

Re: [U-Boot] [PATCH 1/1] efi_loader: disk: iterate only over valid block devices

2017-06-20 Thread Andreas Färber
ifdef CONFIG_BLK > struct udevice *dev; > > - for (uclass_first_device(UCLASS_BLK, &dev); > + for (uclass_first_device_check(UCLASS_BLK, &dev); >dev; > - uclass_next_device(&dev)) { > + uclass_next_device_check(&dev)) { >

Re: [U-Boot] [ANN] U-Boot v2017.07-rc2 released

2017-06-23 Thread Andreas Färber
Hi, On mvebu_db-88f3720 I am seeing endless resets when doing "scsi scan" or "scan reset" (SATA). I am chain-loading U-Boot from the vendor U-Boot. It seems the latest version working was v2017.01, v2017.03 is failing. Haven't had time to bisect between releases yet. Regards, Andreas -- SUSE L

[U-Boot] [ANN] meson-tools v0.1 released

2017-05-01 Thread Andreas Färber
Hello, I have just made an initial v0.1 release of my meson-tools project: https://github.com/afaerber/meson-tools In particular the amlbootsig tool has successfully been used in the openSUSE Open Build Service instance to create bootable images for the Amlogic S905 based Hardkernel Odroid-C2, u

Re: [U-Boot] [PATCH v3 1/1] meson: gxbb: enable MMC as boot target

2017-05-01 Thread Andreas Färber
Am 19.04.2017 um 07:12 schrieb Andreas Färber: > Am 15.04.2017 um 21:30 schrieb Heinrich Schuchardt: >> To enable automatic booting from SD card or eMMC the MMC >> devices 0, 1, and 2 are added to the BOOT_TARGET_DEVICES. >> >> Booting from SD card, eMMC, and DHCP

Re: [U-Boot] [PATCH 2/2] Enable PXE boot on meson-gxbb.

2017-05-01 Thread Andreas Färber
Am 17.04.2017 um 00:04 schrieb Andreas Färber: > Am 17.04.2017 um 00:01 schrieb Vagrant Cascadian: >> Enable distro_bootcmd PXE functions on meson-gxbb systems. >> >> While DHCP boot is already supported, the format is fairly u-boot >> specific, while PXE boot suppor

Re: [U-Boot] [PATCH 1/1] odroid-c2: README: MMC is supported

2017-05-01 Thread Andreas Färber
c.git. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Andreas Färber Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ___ U-

[U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-01 Thread Andreas Färber
Populate the fdtfile environment variable based on CONFIG_DEFAULT_FDT_FILE. Allow to override this default behavior via FDTFILE. Set CONFIG_DEFAULT_FDT_FILE for the GeekBox. Signed-off-by: Andreas Färber --- configs/geekbox_defconfig | 1 + include/configs/rk3368_common.h | 7 ++- 2

Re: [U-Boot] [PATCH 6/7] rockchip: rk3368: Add PX5 Evaluation board

2017-05-01 Thread Andreas Färber
Am 21.04.2017 um 04:33 schrieb Andy Yan: > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile > index fbc97e8..d786611 100644 > --- a/arch/arm/dts/Makefile > +++ b/arch/arm/dts/Makefile > @@ -42,9 +42,10 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ > rk3288-veyron-minnie.dtb \ > rk3328-e

Re: [U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-01 Thread Andreas Färber
Am 01.05.2017 um 19:41 schrieb Andreas Färber: > diff --git a/configs/geekbox_defconfig b/configs/geekbox_defconfig > index f5783100c0..5e4d5f03a4 100644 > --- a/configs/geekbox_defconfig > +++ b/configs/geekbox_defconfig > @@ -4,6 +4,7 @@ CONFIG_ROCKCHIP_RK3368=y > CONFI

Re: [U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-09 Thread Andreas Färber
Hi Simon, Am 08.05.2017 um 18:38 schrieb Simon Glass: > On 1 May 2017 at 11:48, Andreas Färber wrote: >> Am 01.05.2017 um 19:41 schrieb Andreas Färber: >>> diff --git a/configs/geekbox_defconfig b/configs/geekbox_defconfig >>> index f5783100c0..5e4d5f03

Re: [U-Boot] Add ARM errata workaround 852421 and 852423 for Cortex-A17

2017-05-09 Thread Andreas Färber
Hi Nisal, Am 08.05.2017 um 21:43 schrieb Tom Rini: > On Wed, Apr 26, 2017 at 04:18:01PM -0500, Nisal Menuka wrote: > >> ARM errata 852421 and 852423 applies to r1p0, r1p1 and r1p2 >> revisions of Cortex-A17 processors. These workarounds >> exist in Linux kernel and I thought it would be better >>

Re: [U-Boot] [PATCH 3/3] marvell: armada385: Add the Turris Omnia board

2017-05-13 Thread Andreas Färber
Hi Marek, Thanks for working on this. Am 12.05.2017 um 16:10 schrieb Marek Behún: > The Turris Omnia is a open-source router created by CZ.NIC. > > The code is based on the Marvell/db-88f6820-gp by Stefan Roese > with modifications from Tomas Hlavacek in the CZ.NIC turris-omnia-uboot > repositor

[U-Boot] [PATCH] meson-gxbb: Add NanoPi K2

2017-05-14 Thread Andreas Färber
The FriendlyARM NanoPi K2 is a single-board computer. The Device Tree is taken from the v1 kernel patchset. Cc: techsupp...@friendlyarm.com Signed-off-by: Andreas Färber --- arch/arm/dts/meson-gxbb-nanopi-k2.dts | 152 ++ arch/arm/mach-meson/Kconfig

Re: [U-Boot] [PATCH v2 6/7] rockchip: rk3368: Add initial support for RK3368 based GeekBox

2017-05-15 Thread Andreas Färber
Am 15.05.2017 um 11:54 schrieb Andy Yan: > From: Andreas Färber > > The GeekBox is a TV box from GeekBuying, based on an MXM3 module. > The module can be used with base boards such as the GeekBox Landingship. > This adds basic support to chain-load U-Boot from Rockchip's min

Re: [U-Boot] [PATCH] meson-gxbb: Add NanoPi K2

2017-05-21 Thread Andreas Färber
Hi FriendlyARM, Am 15.05.2017 um 03:15 schrieb Andreas Färber: > diff --git a/board/amlogic/nanopi-k2/nanopi-k2.c > b/board/amlogic/nanopi-k2/nanopi-k2.c > new file mode 100644 > index 00..b61daaa4a7 > --- /dev/null > +++ b/board/amlogic/nanopi-k2/nanopi-k2

Re: [U-Boot] [PATCH v1 16/16] board: Add Qualcomm Dragonboard 410C support

2016-01-20 Thread Andreas Färber
Hi Mateusz, Am 20.01.2016 um 23:00 schrieb Mateusz Kulikowski: > On 20.01.2016 05:35, Simon Glass wrote: >> Tested-by: Simon Glass > > Great! Which Git branch can we use to test this? I spotted no final v1 branch matching this series. Among others, I tried your dragonboard-for-mainline-v2 bran

[U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-10-26 Thread Andreas Färber
s __be32 and converting it in fdt_value_setenv(), like its counterpart fdt_parse_prop() already does. Fixes: bc80295 ("fdt: Add get commands to fdt") Cc: Joe Hershberger Cc: Gerald Van Baren Signed-off-by: Andreas Färber --- cmd/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[U-Boot] [PATCH] MAINTAINERS: Fix syntax and update filename for FDT

2016-10-26 Thread Andreas Färber
Let get_maintainers.pl pick up the new cmd/fdt.c. Cc: Simon Glass Signed-off-by: Andreas Färber --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8e67202..3d18f28 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -273,7 +273,7 @@ F

Re: [U-Boot] [PATCH v2 0/3] LS1046A secure boot target addition

2016-10-26 Thread Andreas Färber
Hi, Am 26.10.2016 um 22:17 schrieb Sumit Garg: > The patch-set does the following: > > 1. Add NOR secure boot target on ls1046aqds platform. > 2. Add QSPI secure boot target on ls1046ardb platform. Please double-check your clock, you are posting in the future. Regards, Andreas -- SUSE Linux G

Re: [U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-10-27 Thread Andreas Färber
Hi Simon, Am 26.10.2016 um 21:19 schrieb Simon Glass: > On 26 October 2016 at 09:02, Andreas Färber wrote: >> On a Raspberry Pi 2 disagreements on cell endianness can be observed: >> >> U-Boot> fdt print /soc/gpio@7e20 phandle >> phandle = <0x000d&

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-27 Thread Andreas Färber
since the node is defined there? > > Mmh, I find examples for both ways (.dtsi vs. .dts) in the kernel. I > need to learn what's the best practice here. Last I was told by kernel maintainers (in an Amlogic context) aliases should be in the board's .dts[i] so that only the enabled nod

[U-Boot] [PATCH] odroid-c2: Enable distro boot

2016-11-01 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. Signed-off-by: Andreas Färber --- Kconfig | 2 +- configs/odroid-c2_defconfig | 1 - include/configs/meson-gxbb-common.h | 13 + include/configs/odroid-c2.h

Re: [U-Boot] [PATCH] odroid-c2: Enable distro boot

2016-11-01 Thread Andreas Färber
Hi Alex, Am 01.11.2016 um 22:19 schrieb Alexander Graf: > On 01/11/2016 22:11, Andreas Färber wrote: >> diff --git a/include/configs/meson-gxbb-common.h >> b/include/configs/meson-gxbb-common.h >> index 3bba2e6..0c467fe 100644 >> --- a/include/configs/meson-gxbb-common

[U-Boot] [PATCH] arm: dts: Fix Rockchip sort order

2016-11-02 Thread Andreas Färber
Sort rk3036 before rk3288. Signed-off-by: Andreas Färber --- arch/arm/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 756535b..7f6545e 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -28,6

[U-Boot] [PATCH] arm: rockchip: Fix typo in ROCKCHIP_RK3288 help

2016-11-02 Thread Andreas Färber
UART,s -> UARTs, to avoid this spreading via copy&paste. Signed-off-by: Andreas Färber --- arch/arm/mach-rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 1aac3c8..ffd281c 100644 ---

Re: [U-Boot] [PATCH v2] rk3399: Reserve space for ARM Trust Firmware

2016-11-02 Thread Andreas Färber
Hello, Am 25.07.2016 um 05:45 schrieb Kever Yang: > RK3399 needs reserve 0x20 at the beginning of DRAM, for ATF bl31. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - correct some typo on commit message and comment > > board/rockchip/evb_rk3399/evb-rk3399.c | 3 ++- > 1 file cha

Re: [U-Boot] [PATCH] evb-rk3399: deduced the dram node size when space reserved

2016-11-07 Thread Andreas Färber
Am 07.11.2016 um 09:30 schrieb Kever Yang: > The size dram node need to be deduced by the same amount of reserved space. > > Reported-by: Andreas Färber > Signed-off-by: Kever Yang Reviewed-by: Andreas Färber Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg

Re: [U-Boot] [PATCH] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2016-11-15 Thread Andreas Färber
Hi Simon, Am 28.10.2016 um 03:52 schrieb Simon Glass: > On 27 October 2016 at 05:44, Andreas Färber wrote: >> Am 26.10.2016 um 21:19 schrieb Simon Glass: >>> On 26 October 2016 at 09:02, Andreas Färber wrote: >>>> On a Raspberry Pi 2 disagreements on c

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-12-15 Thread Andreas Färber
Hi Stefan, Am 03.12.2014 um 18:04 schrieb Stefan Agner: > Can this be fixed by the merger or should I create a new revision? It looks as if this was neither applied nor respun? I have some more patches to make CONFIG_USE_PRIVATE_LIBGCC build for Thumb that I would like to rebase on it. In partic

[U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-14 Thread Andreas Färber
Hello, I would like to test the latest version of U-Boot on the Jetson TX1. Unfortunately U-Boot is lacking a README that would explain how to do that: http://git.denx.de/?p=u-boot.git;a=tree;f=board/nvidia/p2371-2180;h=097fb9aaec8abd522b7b8382e5c4169f5ea8f691;hb=HEAD I understand that the Jet

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Andreas Färber
Am 15.02.2018 um 10:22 schrieb Jon Hunter: > On 15/02/18 01:51, Andreas Färber wrote: >> I would like to test the latest version of U-Boot on the Jetson TX1. [...] >> Here's what I have tried: >> >> $ sudo ./flash.sh p2371-2180-devkit mmcblk0p1 > This shoul

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Andreas Färber
Hi Mikko, Am 15.02.2018 um 08:56 schrieb Mikko Perttunen: > In the cboot + U-Boot combination, cboot loads U-Boot from the usual > kernel partition (LNX or kernel depending on system), so flashing U-Boot > there should do the trick. I believe this did indeed change in some L4T > version, so the wi

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Andreas Färber
Hi Jon, Am 15.02.2018 um 15:01 schrieb Jon Hunter: > On 15/02/18 12:32, Andreas Färber wrote: >> Am 15.02.2018 um 10:22 schrieb Jon Hunter: >>> On 15/02/18 01:51, Andreas Färber wrote: >>>> I would like to test the latest version of U-Boot on the Jetson TX1. >>

Re: [U-Boot] How to test new bootloaders on Jetson TX1? - ATF

2018-02-15 Thread Andreas Färber
Hi Varun, Am 15.02.2018 um 17:57 schrieb Varun Wadekar: > Andreas, can you try the TOS packaging script available in our public repo? > > http://nv-tegra.nvidia.com/gitweb/?p=3rdparty/ote_partner/tlk.git;a=blob;f=tools/gen_tos_part_img.py;h=47828f7028e56a6cffb9b773502b13dc431a015e;hb=HEAD Great,

Re: [U-Boot] How to test new bootloaders on Jetson TX1? - ATF

2018-02-16 Thread Andreas Färber
o fix a regression: https://github.com/ARM-software/arm-trusted-firmware/pull/1271 Regards, Andreas > > ------------ > *From:* Andreas Färber > *Sent:* Thursday, February 15, 2018 7:04 PM > *To:* Varun Wadekar > *Cc:* Tom

Re: [U-Boot] [PATCH 2/3] rockchip: set Pre-reloc malloc pool size to 4kb for rk3368 based boards

2017-08-02 Thread Andreas Färber
Am 02.08.2017 um 15:25 schrieb Dr. Philipp Tomsich: > >> On 02 Aug 2017, at 15:10, Andy Yan wrote: >> >> The default 1kb pre-reloc malloc pool is not enough for dm >> core to enable the dm-pre-reloc device drivers. >> >> Signed-off-by: Andy Yan >> — > > Acked-by: Philipp Tomsich > Reviewed-by:

Re: [U-Boot] [PATCH] sunxi: Fix CONFIG_SUNXI_GMAC references

2017-08-07 Thread Andreas Färber
Am 07.08.2017 um 11:26 schrieb Jagan Teki: > On Sun, Aug 6, 2017 at 10:45 AM, Simon Glass wrote: >> On 26 July 2017 at 05:26, Dave Prue wrote: >>> GMAC Initialization for sun7i targets has been broken since v2017.05-rc3 "initialization", but more importantly: >>> due to the renaming of CONFIG_S

Re: [U-Boot] [PATCH v2 1/1] add support for Raspberry Pi Zero W

2017-11-25 Thread Andreas Färber
Am 01.08.2017 um 16:47 schrieb Dmitry Korunov: > The Raspberry Pi Zero W extends the Pi Zero family and it's also > based on a BCM2835 SoC. Like the Pi Zero, it has 512MB RAM, > Mini HDMI and USB On-The-Go ports. Both Pi's hasn't got Ethernet, > but Pi Zero W has built in wireless LAN 802.11 b/g/n.

Re: [U-Boot] [PATCH] arm: mvebu: fix boot from UART when in fallback mode

2017-11-25 Thread Andreas Färber
Am 24.11.2017 um 14:01 schrieb Sean Nyekjaer: > It's the first 8 bits of the bootrom error register that > contains the boot error/fallback error code. Lets check that "bits ... contain" "Let's" > and continue to boot from UART. > > Signed-off-by: Sean Nyekjaer > --- > arch/arm/mach-mvebu/inc

Re: [U-Boot] [PATCH u-boot] ARM: arch-meson: build memory banks using reported memory from registers

2017-11-25 Thread Andreas Färber
Hi Neil, Am 25.11.2017 um 10:54 schrieb Neil Armstrong: > Le 24/11/2017 23:35, Simon Glass a écrit : >> On 20 November 2017 at 08:36, Neil Armstrong wrote: >>> diff --git a/arch/arm/include/asm/arch-meson/gxbb.h >>> b/arch/arm/include/asm/arch-meson/gxbb.h >>> index 74d5290..117f796 100644 >>> -

Re: [U-Boot] [PATCH v2 5/5] arm: Add Khadas VIM support based on Meson GXL family

2017-11-26 Thread Andreas Färber
Hi Simon, Am 24.11.2017 um 23:35 schrieb Simon Glass: > On 22 November 2017 at 06:25, Neil Armstrong wrote: >> +Go back to mainline U-Boot source tree then : >> + > mkdir fip >> + >> + > cp $FIPDIR/gxl/bl2.bin fip/ >> + > cp $FIPDIR/gxl/acs.bin fip/ >> + > cp $FIPDIR/gxl/bl21.bin fip/ >> + > cp $

Re: [U-Boot] [PATCH] arm64: mvebu: armada-7k/8k: drop useless #ifdef

2017-11-26 Thread Andreas Färber
Am 26.11.2017 um 08:21 schrieb Baruch Siach: > CONFIG_ENV_IS_IN_NAND has been removed in commit 2be296538e2e (Convert > CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig). > CONFIG_ENV_IS_IN_SPI_FLASH has bee removed in commit 91c868fe7cd "been" > (Convert CONFIG_ENV_IS_IN_SPI_FLASH to Kconfig

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-26 Thread Andreas Färber
Hi Kever, Am 21.11.2017 um 10:33 schrieb Kever Yang: >     I try to understand why we need to do the relocate in U-Boot. > From the document README/crt0.S, I think the relocation feature comes > from some SoC have limited SRAM whose size is enough to load the whole > U-Boot, but not enough to run

Re: [U-Boot] [PATCH 3/4] clk: add Amlogic meson clock driver

2018-03-30 Thread Andreas Färber
Hi guys, Am 30.03.2018 um 10:41 schrieb Simon Glass: > On 30 March 2018 at 15:53, Neil Armstrong wrote: >> On 30/03/2018 00:41, Simon Glass wrote: >>> On 29 March 2018 at 16:42, Neil Armstrong wrote: On 03/12/2017 10:17, Beniamino Galvani wrote: > + > + gate = &gates[clk->id]; >

Re: [U-Boot] [PATCH V2] Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig

2017-12-29 Thread Andreas Färber
Hi, Am 29.12.2017 um 16:52 schrieb Paul Kocialkowski: > Le vendredi 29 décembre 2017 à 08:16 -0600, Adam Ford a écrit : >> This converts the following to Kconfig: >>CONFIG_USB_MUSB_OMAP2PLUS >>CONFIG_USB_MUSB_AM35X >>CONFIG_USB_MUSB_DSPS >>CONFIG_USB_MUSB_PIO_ONLY > > Thanks for m

Re: [U-Boot] [PATCH V2] Convert CONFIG_USB_MUSB_OMAP2PLUS et al to Kconfig

2018-01-02 Thread Andreas Färber
Am 02.01.2018 um 15:29 schrieb Andrew F. Davis: > On 12/29/2017 10:10 AM, Adam Ford wrote: >> On Fri, Dec 29, 2017 at 10:04 AM, Andreas Färber wrote: >>> Hi, >>> >>> Am 29.12.2017 um 16:52 schrieb Paul Kocialkowski: >>>> Le vendredi 29 décembre 20

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-17 Thread Andreas Färber
Hi Marek and Stefan, Am 09.06.2017 um 19:28 schrieb Marek Behún: > This is the fourth version of patches for adding support for the > Turris Omnia board, a router developed by the CZ.NIC. I'm still facing trouble testing turris_omnia on latest v2018.01. First, that made me notice there's no READ

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-18 Thread Andreas Färber
Hi Stefan, Am 18.01.2018 um 18:20 schrieb Stefan Roese: > On 17.01.2018 16:52, Andreas Färber wrote: >> Am 09.06.2017 um 19:28 schrieb Marek Behún: >>> This is the fourth version of patches for adding support for the >>> Turris Omnia board, a router developed by the CZ.

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-19 Thread Andreas Färber
Hi, Am 18.01.2018 um 18:20 schrieb Stefan Roese: > On 17.01.2018 16:52, Andreas Färber wrote: >> Am 09.06.2017 um 19:28 schrieb Marek Behún: >>> This is the fourth version of patches for adding support for the >>> Turris Omnia board, a router developed by the CZ.

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-19 Thread Andreas Färber
Am 20.01.2018 um 02:40 schrieb Andreas Färber: > Hi, > > Am 18.01.2018 um 18:20 schrieb Stefan Roese: >> On 17.01.2018 16:52, Andreas Färber wrote: >>> Am 09.06.2017 um 19:28 schrieb Marek Behún: >>>> This is the fourth version of patches for adding suppor

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-19 Thread Andreas Färber
Am 20.01.2018 um 02:40 schrieb Andreas Färber: > Hi, > > Am 18.01.2018 um 18:20 schrieb Stefan Roese: >> On 17.01.2018 16:52, Andreas Färber wrote: >>> Am 09.06.2017 um 19:28 schrieb Marek Behún: >>>> This is the fourth version of patches for adding suppor

[U-Boot] [PATCH] tools/mrvl_uart.sh: Fix minicom baudrate

2018-01-20 Thread Andreas Färber
c: Stefan Roese Cc: Igal Liberman Signed-off-by: Andreas Färber --- tools/mrvl_uart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mrvl_uart.sh b/tools/mrvl_uart.sh index 6b04d7ae2c..500fa117eb 100755 --- a/tools/mrvl_uart.sh +++ b/tools/mrvl_uart.sh @@ -115,5 +115,5

[U-Boot] [PATCH] tools/mrvl_uart.sh: Tidy script output

2018-01-20 Thread Andreas Färber
ese Cc: Igal Liberman Signed-off-by: Andreas Färber --- tools/mrvl_uart.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/mrvl_uart.sh b/tools/mrvl_uart.sh index 500fa117eb..6824208902 100755 --- a/tools/mrvl_uart.sh +++ b/tools/mrvl_uart.sh @@ -46,13 +46,13 @@ t

[U-Boot] mrvl_uart.sh and Turris Omnia (was: [EXT] Re: [PATCH v4 0/6] Support for the Turris Omnia router)

2018-01-20 Thread Andreas Färber
to rebuild from sources with "BOOT_FROM uart" like I seem to need to for mrvl_uart.sh. Are you planning to re-implement that for your script? Regards, Andreas > Original message > From: Andreas Färber > Date: 1/20/18 05:34 (GMT+02:00) > To: Stefan Roese , u-boot

Re: [U-Boot] [PATCH v4 0/6] Support for the Turris Omnia router

2018-01-21 Thread Andreas Färber
Hi, Am 20.01.2018 um 15:32 schrieb Sean Nyekjær: > On 20 January 2018 10:07:57 CET, Stefan Roese wrote: >> On 20.01.2018 03:30, Andreas Färber wrote: >>> Am 20.01.2018 um 02:40 schrieb Andreas Färber: >>>> Am 18.01.2018 um 18:20 schrieb Stefan Roese: >>>

[U-Boot] [PATCH v2] cmd/fdt: Make fdt get value endian-safe for single-cell properties

2017-01-09 Thread Andreas Färber
d converting it in fdt_value_setenv(), like its counterpart fdt_parse_prop() already does. Consistently use fdt32_t, fdt32_to_cpu() and cpu_to_fdt32(). Fixes: bc80295 ("fdt: Add get commands to fdt") Cc: Joe Hershberger Cc: Gerald Van Baren Signed-off-by: Andreas Färber --- cmd/

Re: [U-Boot] [PATCH] mx6sx: Add initial support for UDOO Neo Board

2017-01-09 Thread Andreas Färber
Hi, Am 25.11.2016 um 19:56 schrieb Breno Lima: > diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h > new file mode 100644 > index 000..81e0481 > --- /dev/null > +++ b/include/configs/udoo_neo.h [...] > +#define CONFIG_EXTRA_ENV_SETTINGS \ > + "console=ttymxc0,115200\0" \

[U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber --- Kconfig | 1 + configs/odroid-c2

[U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andreas Färber --- Kconfig | 1 + configs/odroid-c2

[U-Boot] [PATCH] meson: misc_init_r is board-specific

2017-01-15 Thread Andreas Färber
Move it from meson-gxbb-common.h to odroid-c2.h to allow new boards not to implement it. Signed-off-by: Andreas Färber --- include/configs/meson-gxbb-common.h | 1 - include/configs/odroid-c2.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/meson

Re: [U-Boot] [PATCH v2] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Am 15.01.2017 um 20:03 schrieb Alexander Graf: > On 15/01/2017 19:52, Andreas Färber wrote: >> Use the generic "distro" boot framework to enable automatic DHCP boot. >> >> The fdt and kernel addresses are adopted from downstream; ramdisk and >> scripta

[U-Boot] [PATCH v3] odroid-c2: Enable distro boot

2017-01-15 Thread Andreas Färber
Use the generic "distro" boot framework to enable automatic DHCP boot. MMC and USB are not yet implemented, so this is the only boot option. The fdt and kernel addresses are adopted from downstream; ramdisk and scriptaddr addresses were chosen arbitrarily. Signed-off-by: Andr

Re: [U-Boot] [PATCH v2 1/4] kconfig: Add API kconfig file

2017-01-17 Thread Andreas Färber
Am 17.01.2017 um 16:50 schrieb Emmanuel Vadot: > Add kconfig file to enable API support > > Signed-off-by: Emmanuel Vadot > --- > Kconfig | 2 ++ > api/Kconfig | 9 + > 2 files changed, 11 insertions(+) > create mode 100644 api/Kconfig > > diff --git a/Kconfig b/Kconfig > index 39a

Re: [U-Boot] [PATCH v3 1/4] kconfig: Add API kconfig file

2017-01-26 Thread Andreas Färber
Am 26.01.2017 um 17:46 schrieb Emmanuel Vadot: > Add kconfig file to enable API support > > Signed-off-by: Emmanuel Vadot > --- > Kconfig | 2 ++ > api/Kconfig | 9 + > 2 files changed, 11 insertions(+) > create mode 100644 api/Kconfig No patch in this series updates the two boards

Re: [U-Boot] [PATCH v3 1/4] kconfig: Add API kconfig file

2017-01-26 Thread Andreas Färber
Am 26.01.2017 um 18:45 schrieb Emmanuel Vadot: > On Thu, 26 Jan 2017 18:17:47 +0100 > Andreas Färber wrote: > >> Am 26.01.2017 um 17:46 schrieb Emmanuel Vadot: >>> Add kconfig file to enable API support >>> >>> Signed-off-by: Emmanuel Vadot >>&g

Re: [U-Boot] [PATCH v3 2/4] kconfig: Add a FREEBSD option

2017-01-26 Thread Andreas Färber
Am 26.01.2017 um 18:53 schrieb Alexander Graf: > On 01/26/2017 06:44 PM, Emmanuel Vadot wrote: >> On Thu, 26 Jan 2017 18:08:49 +0100 >> Alexander Graf wrote: >> >>> On 01/26/2017 05:46 PM, Emmanuel Vadot wrote: Add a FreeBSD option that enables the API and the data cache command as both

Re: [U-Boot] [PATCH v2 1/4] mmc: meson: add MMC nodes to Meson GXBB DT

2017-01-26 Thread Andreas Färber
Hi, Am 25.01.2017 um 20:52 schrieb Heiner Kallweit: > Copied from amlogic/meson-gx.dtsi on Linux with the interrupt > definition removed. Is there any reason to not sync the full .dtsi file and its dependent headers from Linux like I did in my recent forward-port of Carlo's series? If there is a

Re: [U-Boot] [PATCH v2 2/4] mmc: meson: enable MMC device nodes on Odroid C2

2017-01-26 Thread Andreas Färber
Am 25.01.2017 um 20:52 schrieb Heiner Kallweit: > Enable the MMC device nodes on Odroid C2. > > Signed-off-by: Heiner Kallweit Same question about syncing. The dtb is actually passed on in the bootefi boot path, so it should match what's in Linux. Regards, Andreas -- SUSE Linux GmbH, Maxfeld

Re: [U-Boot] [PATCH v2 3/4] mmc: meson: add MMC driver for Meson GX (S905)

2017-01-26 Thread Andreas Färber
Am 25.01.2017 um 20:54 schrieb Heiner Kallweit: > This driver implements MMC support on Meson GX (S905) based systems. > It's based on Carlo Caione's work, changes: > - BLK support added > - general refactoring > > Original author: Carlo Caione > Signed-off-by: Heiner Kallweit There is no such

Re: [U-Boot] [PATCH v2 4/4] mmc: meson: add MMC support in Odroid C2 board init / config

2017-01-26 Thread Andreas Färber
Am 25.01.2017 um 20:54 schrieb Heiner Kallweit: > Add MMC support in Odroid C2 board init code and config. > > Signed-off-by: Heiner Kallweit This looks very much like Carlo's and my patches, so this is missing Signed-off-bys. > --- > v2: > - move GXBB_PINMUX definition from patch 3 to this one

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Andreas Färber
Am 14.06.19 um 18:41 schrieb Stephen Warren: > On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: >> Hi, >> I am seeing a hang with dhcp boot on Jetson TX2. Its running firmware >> from >> L4T 32.1 with U-Boot from master branch (c2ea87883e) with [1] applied. >> >> I use following command sequence at u

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Andreas Färber
Am 14.06.19 um 19:26 schrieb Varun Wadekar: >>> ERROR: ARI request timed out: req 89 on CPU 4 >>> ASSERT: plat/nvidia/tegra/soc/t186/drivers/mce/ari.c <127> : retries >>> != 0U > > This time out means that TEGRA_ARI_ROC_FLUSH_CACHE_TRBITS ARI call timed out. > Looks like the firmware responsib

[U-Boot] Poplar broken in U-Boot v2019.07-rc4

2019-06-16 Thread Andreas Färber
Hello, Am 11.06.19 um 03:31 schrieb Tom Rini: > It's release day and here is v2019.07-rc4. At this point, I know we > have some regression fixes for i.MX that are coming, and I'm expecting a > fix to the build time failure for tinker-rk3288. > > To repeat myself about DM migration deadlines, fi

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-16 Thread Andreas Färber
Am 16.06.19 um 21:27 schrieb Mian Yousaf Kaukab: > On Fri, Jun 14, 2019 at 11:40:49AM -0600, Stephen Warren wrote: >> On 6/14/19 11:09 AM, Andreas Färber wrote: >>> Am 14.06.19 um 18:41 schrieb Stephen Warren: >>>> On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: >

Re: [U-Boot] Jetson TX1 boot problems

2019-06-16 Thread Andreas Färber
Am 14.06.19 um 19:40 schrieb Stephen Warren: > On 6/14/19 11:09 AM, Andreas Färber wrote: >> (I recently wondered whether TX1 may be missing some, as I needed >> multiple tries to boot the kernel successfully there - TF-A 2.1 didn't >> work there, so some more investi

Re: [U-Boot] [PATCH] armv8: fix typo in LINUX_KERNEL_IMAGE_HEADER check

2019-06-16 Thread Andreas Färber
Am 13.06.19 um 14:46 schrieb Mian Yousaf Kaukab: > Fixes: 8163faf952 ARMv8: add optional Linux kernel image header That's not quite the Linux syntax (and an extra white line), but not sure if U-Boot cares? > > Signed-off-by: Mian Yousaf Kaukab Tested-by: Andreas Färber T

Re: [U-Boot] [PATCH] poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support

2019-06-17 Thread Andreas Färber
quot;), we need to increase SYS_MALLOC_F_LEN from its > default size 0x400, as pre-relocation requires more memory there. Let's > increase SYS_MALLOC_F_LEN to 0x4000 to fix the regression. > > Thanks to Andreas Färber for reporting, and Bin Meng > for trouble shooting. Than

<    1   2   3   4   >