Re: [U-Boot] [PATCH] efi_loader: Use system fdt as fallback

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 15:15 schrieb Alexander Graf: > On 04/13/2016 02:58 PM, Andreas Färber wrote: >> Am 11.04.2016 um 16:55 schrieb Alexander Graf: >>> When the user did not pass any device tree or the boot script >>> didn't find any, let's use the system

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 17:31 schrieb Stephen Warren: > On 04/13/2016 06:55 AM, Andreas Färber wrote: >> Am 13.04.2016 um 14:48 schrieb Andreas Färber: >>> The 4.5.0 kernel cannot cope with U-Boot's internal device tree, and the >>> distro boot commands are looking for

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 19:00 schrieb Stephen Warren: > On 04/13/2016 09:51 AM, Alexander Graf wrote: >> On 04/13/2016 05:31 PM, Stephen Warren wrote: >>> On 04/13/2016 06:55 AM, Andreas Färber wrote: >>>> Am 13.04.2016 um 14:48 schrieb Andreas Färber: >>>>&g

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 19:40 schrieb Stephen Warren: > On 04/13/2016 11:22 AM, Andreas Färber wrote: >> Am 13.04.2016 um 17:31 schrieb Stephen Warren: >>> On 04/13/2016 06:55 AM, Andreas Färber wrote: >>>> Am 13.04.2016 um 14:48 schrieb Andreas Färber: >>>>&g

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 19:58 schrieb Stephen Warren: > On 04/13/2016 11:42 AM, Andreas Färber wrote: >> Am 13.04.2016 um 19:00 schrieb Stephen Warren: >>> Anyway, nothing in your benefits-of-EFI statement implies that relying >>> on $fdtfile being set is correct. That'

Re: [U-Boot] [PATCH] mmc: add mmc partconf read capability

2016-04-13 Thread Andreas Färber
Hi, Am 13.04.2016 um 19:08 schrieb Angelo Dureghello: > This patch allows to read back the EXT_CSD[179] partition_config > register, just specifiing the dev param: "specifying" > > linkmotion> mmc partconf 0 > EXT_CSD[179], PARTITION_CONFIG register: > BOOT_ACK: 0 > BOOT_PARTITION_ENABLE: 0 > P

Re: [U-Boot] efi_loader: Add distro boot script for removable media

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 20:47 schrieb Alexander Graf: > load mmc 0 $fdt_addr_r my_awesome.dtb ;\ > load mmc 0 $kernel_addr_r some/random/path/grub2.efi ;\ > bootefi $kernel_addr_r If we're going in that direction, I would rather pass $fdt_addr_r as second optional argument to bootefi. That would be

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 20:51 schrieb Stephen Warren: > On 04/13/2016 12:17 PM, Andreas Färber wrote: >> Am 13.04.2016 um 19:58 schrieb Stephen Warren: >>> On 04/13/2016 11:42 AM, Andreas Färber wrote: >>>> Am 13.04.2016 um 19:00 schrieb Stephen Warren: >>>>

Re: [U-Boot] [PATCH 1/2] efi_loader: Pass fdt address directly to bootefi cmd

2016-04-13 Thread Andreas Färber
Am 13.04.2016 um 23:22 schrieb Alexander Graf: > The bootefi cmd today fetches its device tree pointer from either the > location appointed by "fdt addr" with a fallback to the U-Boot control > fdt. > > This integration is unusual for U-Boot and diverges from the way we > usually handle parameters

Re: [U-Boot] [PATCH] jetson-tk1: Set fdtfile environment variable

2016-04-13 Thread Andreas Färber
Am 14.04.2016 um 00:05 schrieb Tom Rini: > On Wed, Apr 13, 2016 at 08:02:24PM +0200, Andreas Färber wrote: >> my point was that U-Boot != Linux filename in some cases. For >> example, the dragonboard410c is using dragonboard410c.dts but in Linux >> it's qcom/apq8016-sbc

Re: [U-Boot] [PATCH 2/2] efi_loader: Fall back to fdtfile naming convention

2016-04-14 Thread Andreas Färber
Am 13.04.2016 um 23:22 schrieb Alexander Graf: > When there is no $fdtfile variable set, we still have a good chance > that on 32bit arm the fdtfile really is just called $soc-$board.dtb. > > Enable the exports for $soc and $board in our distr defaults and make > use of them in the efi boot script

Re: [U-Boot] [PATCH v2 1/2] efi_loader: Pass fdt address directly to bootefi cmd

2016-04-14 Thread Andreas Färber
\ > "load ${devtype} ${devnum}:${distro_bootpart} " \ > "${kernel_addr_r} efi/boot/"BOOTEFI_NAME"; " \ > - "bootefi ${kernel_addr_r}\0"

Re: [U-Boot] [PATCH v2 2/2] efi_loader: Fall back to fdtfile naming convention

2016-04-14 Thread Andreas Färber
t; use of them in the efi boot script. > > Reported-by: Andreas Faerber > Reported-by: Stephen Warren > Signed-off-by: Alexander Graf > > --- > > v1 -> v2: > > - set CONFIG_ENV_VARS_UBOOT_CONFIG instead of runtime config > - s/efifdtfile/efi_fdtfile/g

Re: [U-Boot] [PATCH v2] mmc: add mmc partconf read capability

2016-04-14 Thread Andreas Färber
Am 14.04.2016 um 18:56 schrieb Angelo Dureghello: > On 14/04/2016 01:16, Marek Vasut wrote: >> On 04/14/2016 01:11 AM, Angelo Dureghello wrote: >>> diff --git a/include/mmc.h b/include/mmc.h >>> index cdb56e7..4b34b31 100644 >>> --- a/include/mmc.h >>> +++ b/include/mmc.h >>> @@ -222,6 +222,10 @@ >

Re: [U-Boot] [PATCH] mips: fix DTC unit warnings

2016-04-15 Thread Andreas Färber
Am 15.04.2016 um 12:59 schrieb Heiko Schocher: > Fix following warnings for all mips based boards: > mips: + pic32mzdask > +Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, > but no unit name > +Warning (unit_address_vs_reg): Node /cpus/cpu@0 has a unit name, but n

Re: [U-Boot] [PATCH] env_ext4: fix build error.

2016-04-18 Thread Andreas Färber
Am 18.04.2016 um 09:55 schrieb Yoshinori Sato: > Signed-off-by: Yoshinori Sato > --- > common/env_ext4.c | 20 +++- > 1 file changed, 11 insertions(+), 9 deletions(-) > > diff --git a/common/env_ext4.c b/common/env_ext4.c > index ce748ed..5683890 100644 > --- a/common/env_ext4.c

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-18 Thread Andreas Färber
Am 17.04.2016 um 09:48 schrieb Beniamino Galvani: > All members of the DMA descriptor must be 32-bit, even on 64-bit > architectures: change the type to u32 to ensure this. Also, fix > other warnings. > > Signed-off-by: Beniamino Galvani > --- > drivers/net/designware.c | 59 > +

Re: [U-Boot] [PATCH 2/2] serial_sh: Add standrad SCI (w/o FIFO) support

2016-04-18 Thread Andreas Färber
$subject: "standard" 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-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listi

Re: [U-Boot] [PATCH] .travis.yml: explicitly request sudo

2016-02-03 Thread Andreas Färber
ang Denk > Cc: Heiko Schocher > Cc: Tom Rini > Cc: Daniel Schwierzeck > Cc: Andreas Färber Actually I have no clue about Travis... Cheers, Andreas > Signed-off-by: Stephen Warren > --- > .travis.yml | 2 ++ > 1 file changed, 2 insertions(+) [snip] -- SUSE Linux GmbH,

[U-Boot] [PATCH] arm: mvebu: db-88f6820: Drop obsolete binary.0 placeholder

2016-02-15 Thread Andreas Färber
It has been superseded in kwbimage.cfg in favor of an SPL in commit 9e30b31d20f0b793465d07f056b3d9885f578c0d (arm: mvebu: db-88f6820: Add SPL support with DDR init code). Found via code review. Cc: Stefan Roese Signed-off-by: Andreas Färber --- board/Marvell/db-88f6820-gp/binary.0 | 16

Re: [U-Boot] [PATCH 2/2] ARM64: rockchip: Add initial support for RK3368 based GeekBox

2016-07-25 Thread Andreas Färber
Hi Simon, Am 23.07.2016 um 04:31 schrieb Simon Glass: > On 18 July 2016 at 06:13, Heiko Stübner wrote: >> Am Montag, 18. Juli 2016, 03:06:07 schrieb Andreas Färber: >>> diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig >>> index 86b77f8..59

Re: [U-Boot] [PATCH v5 1/4] dts: add support for Rockchip rk3399 soc

2016-07-26 Thread Andreas Färber
-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v5: > - add file source and detail changes for U-Boot > > Changes in v4: None > Changes in v3: None > Changes in v2: None Reviewed-by: Andreas Färber One comment below... > diff --git a/arch/arm/dts/Mak

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Andreas Färber
Hi Keerthy, Am 01.08.2016 um 12:07 schrieb Keerthy: > I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of > SoCs which does not have LPAE support yet. > > Is it mandatory for LPAE to be enabled before enabling hypervisor for A15? On the Linux kernel side you can't enable KVM

Re: [U-Boot] [PATCH 0/2] rockchip: Initial RK3368 and GeekBox support

2016-08-06 Thread Andreas Färber
Hi Simon, Am 06.08.2016 um 06:30 schrieb Simon Glass: > Hi Andreas, > > On 17 July 2016 at 19:06, Andreas Färber wrote: >> Hi, >> >> This series adds initial support for RK3368 SoC and GeekBox. >> For more details see the commit message. >> >> Will

Re: [U-Boot] [PATCH 1/2] mmc: Add Amlogic Meson driver

2016-08-07 Thread Andreas Färber
Am 13.05.2016 um 15:53 schrieb Carlo Caione: > [...] but since it is really unlikely that we will > ever see a U-Boot port for the Meson8b I stuck with that. Why do you consider that so unlikely? Please don't make such assumptions for design decisions. Regards, Andreas -- SUSE Linux GmbH, Maxfe

Re: [U-Boot] [PATCH 0/2] rockchip: Initial RK3368 and GeekBox support

2016-08-07 Thread Andreas Färber
Am 07.08.2016 um 15:31 schrieb Tom Rini: > On Sat, Aug 06, 2016 at 06:05:29PM +0200, Andreas Färber wrote: >> Hi Simon, >> >> Am 06.08.2016 um 06:30 schrieb Simon Glass: >>> Hi Andreas, >>> >>> On 17 July 2016 at 19:06, Andreas Färber wrote: >>

Re: [U-Boot] [PATCH 0/2] efi_loader: Implement reset on RPi

2016-08-07 Thread Andreas Färber
Am 14.07.2016 um 08:18 schrieb Alexander Graf: >> Am 14.07.2016 um 06:48 schrieb Andreas Färber : >> >> Hi Alex, >> >>> Am 05.06.2016 um 23:17 schrieb Alexander Graf: >>> If Linux finds an EFI implementation it always uses the EFI reset handler to >&g

Re: [U-Boot] [PATCH v3] arm: cache: always flush cache line size for page table

2016-08-07 Thread Andreas Färber
Am 07.08.2016 um 19:17 schrieb Stefan Agner: > From: Stefan Agner > > The page table is maintained by the CPU, hence it is safe to always > align cache flush to a whole cache line size. This allows to use > mmu_page_table_flush for a single page table, e.g. when configure > only small regions thr

Re: [U-Boot] [PATCH v5 0/4] add support for rk3399 soc and evb

2016-08-07 Thread Andreas Färber
Am 19.07.2016 um 15:16 schrieb Kever Yang: > > Hi Simon, > > Sorry for didn't apply all the changes for comments from > Andreas in V4, I rebase this patchset on u-boot-rockchip.git > master branch and reset to below commit: > f278234 rockchip: update fastboot usage > > Please help to rebase my

Re: [U-Boot] [PATCH] rockchip: rk3399: update MAINTAINER file

2016-08-09 Thread Andreas Färber
S | 6 ++ >> 1 file changed, 6 insertions(+) > > Acked-by: Simon Glass Thanks, 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) _

Re: [U-Boot] uboot uImage binary does not boot in Qemu

2014-11-07 Thread Andreas Färber
Hi, Am 06.11.2014 um 07:37 schrieb pegasus711: > I cross compiled u-boot's latest version 2014-10 using buildroot's built-in > cross compiler and generated uboot.bin. > > When I try to invoke it like so: > > > it throws an error complaining wrong image format: > > > I've checked qemu's sour

Re: [U-Boot] [PATCH 0/7] *** iMX6SL-evk SPL Support ***

2014-11-09 Thread Andreas Färber
Hi, Please drop "***" from the cover letter template git-format-patch generates. :) Cheers, Andreas -- SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 21284 AG Nürnberg ___ U-Boot mailing l

Re: [U-Boot] [PATCH v2] .travis.yml: build u-boot on travis-ci

2014-11-16 Thread Andreas Färber
Hi, Am 14.11.2014 um 14:58 schrieb Roger Meier: > --- > Changes for v2: > - use latest device tree compiler (suggested by Daniel Schwierzeck) > - add sandbox (suggested by Daniel Schwierzeck) > - seperate echo and execution of TEST_CMD > - remove BUILD_NCPUS( part of script) > - introduc

Re: [U-Boot] [PATCH 5/5] bcm2835 video: Map fb as cached

2016-03-18 Thread Andreas Färber
Am 15.03.2016 um 18:21 schrieb Alexander Graf: > The bcm2835 frame buffer is in RAM, so we can easily map it as cached and gain > all the glorious performance boost that brings with it. > > Signed-off-by: Alexander Graf > --- > drivers/video/bcm2835.c | 6 ++ > 1 file changed, 6 insertions(+

Re: [U-Boot] [PATCH 1/5] arm64: Add 32bit arm compatible dcache definitions

2016-03-19 Thread Andreas Färber
Am 15.03.2016 um 18:21 schrieb Alexander Graf: > We want to be able to reuse device drivers from 32bit code, so let's add > definitions for all the dcache options that 32bit code has. > > While at it, fix up the DCACHE_OFF configuration. That was setting the bits > to declare a PTE a PTE and left

Re: [U-Boot] [PATCH] rpi: remove redundant board files

2016-04-03 Thread Andreas Färber
Am 03.04.2016 um 05:56 schrieb Stephen Warren: > Now that rpi_*defconfig and Kconfig rather than the config header file, "rpi*_defconfig"? Also the sentence seems to be missing a verb - "Now that we use ..."? > provide the identify of the build, we don't need to separate config "identity"? > h

[U-Boot] rockchip: firefly-rk3288 broken - DRAM wrong?

2016-04-03 Thread Andreas Färber
Hello, v2016.01 is the last release to boot Linux on the Firefly-RK3288 for me. On v2016.03 or master there is no output from the kernel. This coincides with the DRAM getting misdetected as 512 MiB: U-Boot SPL 2016.03-00634-g563d8d9 (Apr 03 2016 - 16:29:17) Trying to boot from MMC1 U-Boot 201

Re: [U-Boot] rockchip: firefly-rk3288 broken - DRAM wrong?

2016-04-03 Thread Andreas Färber
Am 03.04.2016 um 18:05 schrieb Andreas Färber: > v2016.01 is the last release to boot Linux on the Firefly-RK3288 for me. > On v2016.03 or master there is no output from the kernel. Correction: Plain v2016.03 does work but not openSUSE's package. > This coincides with th

Re: [U-Boot] rockchip: firefly-rk3288 broken - DRAM wrong?

2016-04-03 Thread Andreas Färber
Am 03.04.2016 um 21:59 schrieb Alexander Graf: >> Am 03.04.2016 um 21:32 schrieb Andreas Färber : >>> Am 03.04.2016 um 18:05 schrieb Andreas Färber: >>> v2016.01 is the last release to boot Linux on the Firefly-RK3288 for me. >>> On v2016.03 or master t

Re: [U-Boot] [PATCH] rpi: remove redundant board files

2016-04-04 Thread Andreas Färber
Am 04.04.2016 um 17:36 schrieb Stephen Warren: > On 04/03/2016 09:41 AM, Andreas Färber wrote: >> Am 03.04.2016 um 05:56 schrieb Stephen Warren: >>> Now that rpi_*defconfig and Kconfig rather than the config header file, >> >> "rpi*_defconfig"? > &g

Re: [U-Boot] [PATCH v4 20/21] board: Add Qualcomm Dragonboard 410C support

2016-04-04 Thread Andreas Färber
Am 31.03.2016 um 23:12 schrieb Mateusz Kulikowski: > diff --git a/include/configs/dragonboard410c.h > b/include/configs/dragonboard410c.h > new file mode 100644 > index 000..a63440f > --- /dev/null > +++ b/include/configs/dragonboard410c.h [...] > +#include > + > +/* BOOTP options */ > +#defi

Re: [U-Boot] [PATCH v4 20/21] board: Add Qualcomm Dragonboard 410C support

2016-04-04 Thread Andreas Färber
Am 05.04.2016 um 01:54 schrieb Daniel Glöckner: > On Tue, Apr 05, 2016 at 01:13:38AM +0200, Andreas Färber wrote: >> Am 31.03.2016 um 23:12 schrieb Mateusz Kulikowski: >>> +/* Environment */ >>> +#define CONFIG_EXTRA_ENV_SETTINGS \ >>> + "reflash=&

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

2017-02-02 Thread Andreas Färber
: >>>>> 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 >>>>> >>>>> Signed-of

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

2017-02-12 Thread Andreas Färber
Hi Marek, Am 01.12.2016 um 02:06 schrieb Marek Vasut: > From: Paul Burton > > Add support for the Creator CI20 platform based on the JZ4780 SoC. > The DTS file comes from Linux 4.6 as of revision > 78800558d104e003f9ae92e0107f1de39cf9de9f > > So far, there are still a few details which will hav

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

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 12:55 schrieb Marek Vasut: > On 02/12/2017 12:52 PM, Andreas Färber wrote: >> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads to this error: >> >> LD spl/u-boot-spl >> mipsel-suse-linux-ld.bfd: u-boot-spl section `.data' will not fit in

Re: [U-Boot] [PATCH] tiny-printf: add static to locally used functions

2017-02-12 Thread Andreas Färber
esolve its size issue), Tested-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-Boot mailing list U-Boot@lists.denx.de http://

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

2017-02-12 Thread Andreas Färber
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: >>> On 02/12/2017 12:52 PM, Andreas Färber wrote: >>>> CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y leads to this error: >

Re: [U-Boot] [PATCH] am33xx: board: Refactor USB initialization into separate function

2017-02-12 Thread Andreas Färber
Am 06.02.2017 um 23:30 schrieb Alexandru Gagniuc: > diff --git a/arch/arm/mach-omap2/am33xx/board.c > b/arch/arm/mach-omap2/am33xx/board.c > index 190310f..f19e919 100644 > --- a/arch/arm/mach-omap2/am33xx/board.c > +++ b/arch/arm/mach-omap2/am33xx/board.c > @@ -190,11 +190,9 @@ static struct musb

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

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 12:52 schrieb Andreas Färber: > Hi Marek, > > Am 01.12.2016 um 02:06 schrieb Marek Vasut: >> From: Paul Burton >> >> Add support for the Creator CI20 platform based on the JZ4780 SoC. >> The DTS file comes from Linux 4.6 as of revision >> 7

Re: [U-Boot] [PATCH 06/13] mmc: Add JZ47xx SD/MMC controller driver

2017-02-12 Thread Andreas Färber
Am 01.12.2016 um 02:06 schrieb Marek Vasut: > diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c > new file mode 100644 > index 000..95b3367 > --- /dev/null > +++ b/drivers/mmc/jz_mmc.c [...] > +static void jz_mmc_set_ios(struct mmc *mmc) This needs to return int by now. > +{ > + st

Re: [U-Boot] [PATCH 06/13] mmc: Add JZ47xx SD/MMC controller driver

2017-02-12 Thread Andreas Färber
Am 12.02.2017 um 15:29 schrieb Marek Vasut: > On 02/12/2017 03:20 PM, Andreas Färber wrote: >> Am 01.12.2016 um 02:06 schrieb Marek Vasut: >>> diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c >>> new file mode 100644 >>> index 000..95b3367 >

Re: [U-Boot] How to update Espressobin (U-Boot) firmware?

2017-07-19 Thread Andreas Färber
Hi, Am 19.07.2017 um 18:50 schrieb Andre Przywara: > On 19/07/17 17:37, Kostya Porotchkin wrote: >> I probably have to build and try the SATA image as the next step. > > Yeah, that was my plan for tonight as well, since this would allow me to > experiment safely with the generated image. > > Oh,

[U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Andreas Färber
Hello, In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. I've tried gcc 7.0.1 (CC=gcc-7), but no change. [ 99s] LD u-boot [ 99s] ld.bfd: u-boot: Not enough room for program headers, try linking with -N [ 99s] ld.bfd: final link failed: Bad value [ 99s] make: *

Re: [U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Andreas Färber
Am 09.04.2017 um 15:21 schrieb Andreas Färber: > Hello, > > In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. > I've tried gcc 7.0.1 (CC=gcc-7), but no change. > > [ 99s] LD u-boot > [ 99s] ld.bfd: u-boot: Not enough room for program h

[U-Boot] [PATCH v3] Makefile: Fix linking with modern binutils

2017-04-09 Thread Andreas Färber
xt&id=ff45000fcb56b5b0f1a14a865d3541746d838a0a Signed-off-by: Joel Stanley [AF: Apply to LDFLAGS_$(SPL_BIN) as well, suggested by Tom Rini] Signed-off-by: Andreas Färber --- Makefile | 4 scripts/Makefile.spl | 4 2 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index ca7d60d

Re: [U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Andreas Färber
Am 09.04.2017 um 20:04 schrieb Tom Rini: > On Sun, Apr 09, 2017 at 02:02:56PM -0400, Tom Rini wrote: >> On Sun, Apr 09, 2017 at 03:33:47PM +0200, Andreas Färber wrote: >>> Am 09.04.2017 um 15:21 schrieb Andreas Färber: >>>> Hello, >>>> >>>> In

[U-Boot] DT overlay issues - dtc flags

2017-04-10 Thread Andreas Färber
Hi, I've tried to play around with Device Tree overlays (.dtbo files): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/overlay-notes.txt First of all, that document refers to a non-existing Documentation/devicetree/dt-object-internal.txt. Could so

[U-Boot] arch/arm/lib/crt0_arm_efi.o build errors

2017-04-10 Thread Andreas Färber
Hello, In our OBS builds I occasionally see the following build failure with, e.g., -j 2, which seems to hint at a missing Makefile dependency somewhere: > [ 234s] CC lib/efi_loader/helloworld.o > [ 234s] make[2]: *** No rule to make target 'arch/arm/lib/crt0_arm_efi.o', > needed by 'li

Re: [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.

2017-04-12 Thread Andreas Färber
Am 12.04.2017 um 23:28 schrieb Vagrant Cascadian: > Set ramdisk_addr_r to 0x2000, otherwise it may conflict with > kernel_addr_r location (0x0108) with a moderately large kernel. > > Signed-off-by: Vagrant Cascadian > --- > > include/configs/meson-gxbb-common.h | 2 +- > 1 file changed,

Re: [U-Boot] [PATCH 1/2] arm: dts: odroid-c2: assign mmc device number 0 to eMMC slot

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 10:24 schrieb Heiner Kallweit: > In most cases Odroid C2 is used with a eMMC card. So far the eMMC slot > was assigned dev number 1 (0 is the SD slot). So on uboot prompt U-Boot > we had to manually switch the mmc device first. Therefore change the > device number assignment. Ob

Re: [U-Boot] [PATCH 2/2] odroid-c2: support storing the uboot environment in eMMC

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 10:26 schrieb Heiner Kallweit: > Support storing uboot environment in eMMC. > > Signed-off-by: Heiner Kallweit > --- > include/configs/meson-gxbb-common.h | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/include/configs/meson-gxbb-common.h > b/includ

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: > To enable booting from MMC the MMC devices 0 and 1 are added to the from eMMC > BOOT_TARGET_DEVICES. > > Signed-off-by: Heinrich Schuchardt > --- > This is a resubmission of > https://lists.denx.de/pipermail/u-boot/2017-April/287315.html > w

Re: [U-Boot] [PATCH 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 15:50 schrieb Heinrich Schuchardt: > On 04/14/2017 03:42 PM, Andreas Färber wrote: >> Am 14.04.2017 um 13:46 schrieb Heinrich Schuchardt: >>> To enable booting from MMC the MMC devices 0 and 1 are added to the >> >> from eMMC Sorry, was gett

Re: [U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target

2017-04-14 Thread Andreas Färber
andled. > > Cc: Andreas Färber > Signed-off-by: Heinrich Schuchardt > --- > v2: > Enhance commit message to clearly indicate how the > boot targets are sequenced. Reviewed-by: Andreas Färber Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany

[U-Boot] [PATCH] sunxi: Fix arm64 fdtfile variable

2017-04-14 Thread Andreas Färber
such as Raspberry Pi 3. Signed-off-by: Andreas Färber --- include/configs/sunxi-common.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 1d475b1..ad4012c 100644 --- a/include/configs/sunxi-common.h +++ b

Re: [U-Boot] [PATCH 1/1] odroid-c2: increase CONFIG_SYS_BOOTM_LEN

2017-04-14 Thread Andreas Färber
Hi, Am 14.04.2017 um 14:17 schrieb Heinrich Schuchardt: > A feature rich Kernel for Linux needs more than 8 MiB. "Linux kernel"? > Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2. > As the Odroid C2 has has 2 GiB of RAM this poses no problem. Duplicate "has", and "Odroid-C2". Yo

Re: [U-Boot] [PATCH 1/1] odroid-c2: change ramdisk_addr_r

2017-04-14 Thread Andreas Färber
Am 14.04.2017 um 19:34 schrieb Heinrich Schuchardt: > 0x1000 is the start of a 2 MiB area used by > ARM Trusted Firmware (BL31). > > So we should not load the ramdisk here. > > The legacy Ubuntu image comes with the following line in boot.ini: > setenv initrd_loadaddr "0x1300" > > See >

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

2017-04-15 Thread Andreas Färber
>> - general refactoring >> >> Signed-off-by: Carlo Caione >> Signed-off-by: Andreas Färber >> Signed-off-by: Heiner Kallweit > > Applied to u-boot-mmc. Thanks! Thanks guys for all the work on this! I have tested it successfully on the Odroid-C2. But for

Re: [U-Boot] [PATCH 1/2] arm: dts: odroid-c2: assign mmc device number 0 to eMMC slot

2017-04-15 Thread Andreas Färber
Am 14.04.2017 um 17:52 schrieb Heiner Kallweit: > Am 14.04.2017 um 15:39 schrieb Andreas Färber: >> Am 14.04.2017 um 10:24 schrieb Heiner Kallweit: >>> In most cases Odroid C2 is used with a eMMC card. So far the eMMC slot >>> was assigned dev number 1 (0 is the S

Re: [U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target

2017-04-15 Thread Andreas Färber
Am 14.04.2017 um 16:35 schrieb Andreas Färber: > Am 14.04.2017 um 16:33 schrieb Heinrich Schuchardt: >> To enable automatic booting from SD card or eMMC the MMC devices 0 and 1 >> are added to the BOOT_TARGET_DEVICES. >> >> Booting from SD card, eMMC, and DHCP are trie

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

2017-04-15 Thread Andreas Färber
Am 15.04.2017 um 20:27 schrieb Alexander Graf: > On 15.04.17 20:18, Heiner Kallweit wrote: >> Am 15.04.2017 um 17:05 schrieb Andreas Färber: >>> But for the Vega S95 Telos I needed to disable the first of three MMC >>> nodes (SDIO) - otherwise U-Boot would happily itera

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

2017-04-15 Thread Andreas Färber
Am 15.04.2017 um 22:52 schrieb Heinrich Schuchardt: > On 04/15/2017 10:34 PM, Andreas Färber wrote: >> U-Boot 2017.05-rc1-00318-g082535f-dirty (Apr 15 2017 - 22:29:17 +0200) >> vega-s95 >> >> DRAM: 2 GiB >> MMC: mmc@7: 0, mmc@72000: 1, mmc@74000: 2 >

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

2017-04-15 Thread Andreas Färber
Am 15.04.2017 um 23:04 schrieb Alexander Graf: >> Am 15.04.2017 um 22:34 schrieb Andreas Färber : >>> Am 15.04.2017 um 20:27 schrieb Alexander Graf: >>>> On 15.04.17 20:18, Heiner Kallweit wrote: >>>>> Am 15.04.2017 um 17:05 schrieb Andreas Färber: &g

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

2017-04-15 Thread Andreas Färber
Am 15.04.2017 um 23:16 schrieb Andreas Färber: > Am 15.04.2017 um 23:04 schrieb Alexander Graf: >>> Am 15.04.2017 um 22:34 schrieb Andreas Färber : >>>> Am 15.04.2017 um 20:27 schrieb Alexander Graf: >>>>> On 15.04.17 20:18, Heiner Kallweit wrote: >&g

Re: [U-Boot] [PATCH v3 19/19] sunxi: update Pine64 README

2017-04-15 Thread Andreas Färber
ROSS_COMPILE=aarch64-linux-gnu- > $ make pine64_plus_defconfig > $ make [snip] Build-testing this series with both pine64_plus_defconfig and orangepi_pc2_defconfig, I ran into a ~1616 size overflow with gcc5. gcc6 worked okay. Would be helpful to document such requirements here. For t

Re: [U-Boot] [PATCH v7 1/4] arm: dts: update Meson GXBB / Odroid-C2 DT with latest Linux version

2017-04-16 Thread Andreas Färber
Am 16.04.2017 um 21:33 schrieb Simon Glass: > On 14 April 2017 at 04:27, Heinrich Schuchardt wrote: >> As a prerequisite for adding a Meson GX MMC driver update the >> Meson GXBB / Odroid-C2 device tree in Uboot with the latest > > U-Boot > >> version from Linux. > > It's a good idea to indicat

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

2017-04-16 Thread Andreas Färber
Am 17.04.2017 um 00:01 schrieb Vagrant Cascadian: > This enables booting from microSD and eMMC on odroid-c2 by using the > distro_bootcmd MMC functions. > > Signed-off-by: Vagrant Cascadian > --- > > include/configs/meson-gxbb-common.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a

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

2017-04-16 Thread 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 supports the widely used syslinux style boot > configuration format. > > Signed-off-by: V

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

2017-04-17 Thread Andreas Färber
Am 18.04.2017 um 00:26 schrieb Vagrant Cascadian: > DHCP the protocol is not at all u-boot specific, sure, but the boot > method: > > #define BOOTENV_DEV_DHCP(devtypeu, devtypel, instance) \ > "bootcmd_dhcp=" \ > BOOTENV_RUN_NET_USB_START \ > BOOTENV_RUN_NET_PCI_E

Re: [U-Boot] [PATCH] sunxi: Fix arm64 fdtfile variable

2017-04-18 Thread Andreas Färber
Am 18.04.2017 um 07:45 schrieb Jagan Teki: > On Fri, Apr 14, 2017 at 10:14 PM, Andreas Färber wrote: >> Currently $fdtfile is constructed from CONFIG_DEFAULT_TREE, containing >> the filename. However on arm64 that file is located in an allwinner >> subdirectory. >> >

Re: [U-Boot] [PATCH v3 19/19] sunxi: update Pine64 README

2017-04-18 Thread Andreas Färber
Am 01.04.2017 um 00:31 schrieb Andre Przywara: > With the DRAM init code and the SPL's ability to load the ATF binary as > well, we can now officially get rid of the boot0 boot method, which > involed a closed-source proprietary blob to be used. "involved" > Rework the Pine64 README file to docum

Re: [U-Boot] [PATCH 1/1] core/uclass: uclass_get_device_tail: always set devp

2017-04-18 Thread Andreas Färber
;> device is passed by bootefi to the EFI executable. >> >> The problem was reported by Andreas Färber in >> https://lists.denx.de/pipermail/u-boot/2017-April/287432.html >> >> For testing I used an odroid-c2 with a dts including >> &sd_emmc_a { >>

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

2017-04-18 Thread Andreas Färber
andled. > > Cc: Andreas Färber > Signed-off-by: Heinrich Schuchardt Reviewed-by: Andreas Färber The issues with SDIO mmc 0 are being investigated at a different level, so I think it is okay to merge this generalized version for -rc3. Once done, Vagrant's PXE addition can be rebase

Re: [U-Boot] [PATCH] rpi: Support both UART interfaces.

2017-04-18 Thread Andreas Färber
Am 02.04.2017 um 10:26 schrieb Alex Deymo: > The Raspberry Pi 3 has two UART interfaces that can be pinmuxed to the > header pins. The PL011 is by default muxed to the Bluetooth chip and > the mini-UART can be muxed to the pin headers passing "enabled_uart=1" "enable_uart=1" > in the config.txt f

Re: [U-Boot] [PATCH v2] rockchip: reserve memory for rk3399 ATF data

2017-04-19 Thread Andreas Färber
Hi Kever, Some grammar nits below: Am 19.04.2017 um 08:42 schrieb Kever Yang: > There are 3 region used by rk3399 ATF: "regions" > - bl31 code, locate at 0x1; > - cortex-m0 code and data, locate at 0xff8c; > - bl31 data, locate at 0xff8c1000 ~ 0xff8c4000; 3x "located" > > SPL_TEXT_BA

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

2017-04-19 Thread Andreas Färber
no block device being >> passed to the EFI executable if the first device cannot be probed. >> >> The problem was reported by Andreas Färber in >> https://lists.denx.de/pipermail/u-boot/2017-April/287432.html >> >> For testing I used an odroid-c2 with a dts including

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 18:22 schrieb Álvaro Fernández Rojas: > In case you decide to apply this version (I see you're yet deciding which is > the best way to go), I tested it and it solves my problem with sysreset not > bein probed correctly. Can you point us to which call site that is in your case ex

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 17:52 schrieb Simon Glass: > Hi Andreas, > > On 19 April 2017 at 09:14, Simon Glass wrote: >> Hi Andreas, >> >> On 19 April 2017 at 08:43, Andreas Färber wrote: >>> Hi Simon, >>> >>> Am 19.04.2017 um 16:28 schrieb Simon Glas

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 18:31 schrieb Álvaro Fernández Rojas: > Hi Andreas, > > El 19/04/2017 a las 18:25, Andreas Färber escribió: >> Am 19.04.2017 um 18:22 schrieb Álvaro Fernández Rojas: >>> In case you decide to apply this version (I see you're yet deciding which

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

2017-04-19 Thread Andreas Färber
Am 19.04.2017 um 18:56 schrieb Simon Glass: > Hi Andreas, > > On 19 April 2017 at 10:37, Andreas Färber wrote: >> Am 19.04.2017 um 17:52 schrieb Simon Glass: >>> Hi Andreas, >>> >>> On 19 April 2017 at 09:14, Simon Glass wrote: >>>> Hi

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

2017-04-19 Thread Andreas Färber
he first device cannot be probed. > > The problem was reported by Andreas Färber in > https://lists.denx.de/pipermail/u-boot/2017-April/287432.html > > For testing I used an odroid-c2 with a dts including > &sd_emmc_a { > status = "okay"; > } > Th

Re: [U-Boot] [PATCH v3 19/19] sunxi: update Pine64 README

2017-04-19 Thread Andreas Färber
Am 18.04.2017 um 22:38 schrieb André Przywara: > On 16/04/17 02:20, Andreas Färber wrote: >> Build-testing this series with both pine64_plus_defconfig and >> orangepi_pc2_defconfig, I ran into a ~1616 size overflow with gcc5. gcc6 >> worked okay. Would be helpful to document s

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

2017-04-20 Thread Andreas Färber
Hi, Using -rc2 with firefly-rk3288 defconfig I can only boot into SPL but not into full U-Boot. I am using the old documented way of dd'ing to sector 256 on SD (doc/README.rockchip). Looking at include/configs/rk3288_common.h I also tried putting u-boot.img on a FAT partition, to no effect. v201

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

2017-04-20 Thread Andreas Färber
Hi Simon, Am 21.04.2017 um 01:44 schrieb Simon Glass: > On 20 April 2017 at 17:23, Andreas Färber wrote: >> Using -rc2 with firefly-rk3288 defconfig I can only boot into SPL but >> not into full U-Boot. I am using the old documented way of dd'ing to >> sector 256

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

2017-04-20 Thread Andreas Färber
Am 21.04.2017 um 02:34 schrieb Andreas Färber: > Hi Simon, > > Am 21.04.2017 um 01:44 schrieb Simon Glass: >> On 20 April 2017 at 17:23, Andreas Färber wrote: >>> Using -rc2 with firefly-rk3288 defconfig I can only boot into SPL but >>> not into full U-Boot. I a

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

2017-04-20 Thread Andreas Färber
Hi Simon, Am 21.04.2017 um 04:10 schrieb Simon Glass: > On 20 April 2017 at 18:47, Andreas Färber wrote: >> Am 21.04.2017 um 02:34 schrieb Andreas Färber: >>> Am 21.04.2017 um 01:44 schrieb Simon Glass: >>>> On 20 April 2017 at 17:23, Andreas Färber wrote: >&g

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

2017-04-20 Thread Andreas Färber
Am 21.04.2017 um 04:24 schrieb Andreas Färber: > Hi Simon, > > Am 21.04.2017 um 04:10 schrieb Simon Glass: >> On 20 April 2017 at 18:47, Andreas Färber wrote: >>> Am 21.04.2017 um 02:34 schrieb Andreas Färber: >>>> Am 21.04.2017 um 01:44 schrieb Simon Gl

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

2017-04-20 Thread Andreas Färber
Am 21.04.2017 um 04:43 schrieb Andreas Färber: > Am 21.04.2017 um 04:24 schrieb Andreas Färber: >> Hi Simon, >> >> Am 21.04.2017 um 04:10 schrieb Simon Glass: >>> I just tested mainline with those two changes and it works for me. I >>> pushed my patch to u

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

2017-04-20 Thread Andreas Färber
Hi Andy, Sorry for forgetting about this, and thank you for picking it up. Am 21.04.2017 um 04:32 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 Landingshi

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

2017-04-20 Thread Andreas Färber
Am 21.04.2017 um 01:23 schrieb Andreas Färber: > Hi, > > Using -rc2 with firefly-rk3288 defconfig I can only boot into SPL but > not into full U-Boot. I am using the old documented way of dd'ing to > sector 256 on SD (doc/README.rockchip). > > Looking at include/conf

<    1   2   3   4   >