[U-Boot] [PATCH v1 5/6] board: Remove not needed function for the K+P's imx53 board

2018-05-19 Thread Lukasz Majewski
The get_board_rev() is not needed anymore as a generic function for the imx53 SoC has been used instead. Signed-off-by: Lukasz Majewski --- board/k+p/kp_imx53/kp_imx53.c | 12 1 file changed, 12 deletions(-) diff --git a/board/k+p/kp_imx53/kp_imx53.c b/board/k+p/kp_imx53/kp_imx53.

[U-Boot] [PATCH v1 6/6] config: Update defconfig for imx53 K+P boards

2018-05-19 Thread Lukasz Majewski
This commit updates the defconfig for the HSC and DDC boards. Signed-off-by: Lukasz Majewski --- configs/kp_imx53_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/kp_imx53_defconfig b/configs/kp_imx53_defconfig index 63e017da9a..43fd1a7aff 100644 --- a/

[U-Boot] [PATCH v1 4/6] board: Silent out the console on the K+P's imx53 boards

2018-05-19 Thread Lukasz Majewski
Disable console output by default on imx53 based boards from K+P. Signed-off-by: Lukasz Majewski --- include/configs/kp_imx53.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/kp_imx53.h b/include/configs/kp_imx53.h index 530c3557d0..0dc708e480 100644 --- a/include/configs/k

[U-Boot] [PATCH v1 2/6] board: Adjust K+P script to run misc (per board) adjustments

2018-05-19 Thread Lukasz Majewski
This change gives the opportunity to adjust Linux command line for the imx53 device with some legacy data. Signed-off-by: Lukasz Majewski --- board/k+p/bootscripts/tpcboot.cmd | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/k+p/bootscripts/tpcboot.cmd b/board/k+p/bootscripts/tp

[U-Boot] [PATCH v1 3/6] board: Add support for KEY1 status detection on K+P's HSC|DDC boards

2018-05-19 Thread Lukasz Majewski
This code provides information if the K+P's imx53 boards had KEY1 pressed. Signed-off-by: Lukasz Majewski --- arch/arm/dts/imx53-kp.dts | 2 ++ board/k+p/kp_imx53/kp_imx53.c | 14 ++ 2 files changed, 16 insertions(+) diff --git a/arch/arm/dts/imx53-kp.dts b/arch/arm/dts/imx53-

[U-Boot] [PATCH v1 0/6] board: k+p: Minor adjustments for K+P imx53 boards

2018-05-19 Thread Lukasz Majewski
This patch series include minor adjustments for imx53 boards. Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/381036307 Lukasz Majewski (6): board: imx53: Always disable display before starting kernel board: Adjust K+P script to run misc (per board) adjustments board: Add sup

[U-Boot] [PATCH v1 1/6] board: imx53: Always disable display before starting kernel

2018-05-19 Thread Lukasz Majewski
This patch prevents from the situation where we may end up with garbage displayed on the LCD panel. Such situation occurs when one performs "reboot -f" in Linux and then stop in U-boot (or observe the garbage on the screen during boot up). To prevent from such situation - the PWM pin is configure

[U-Boot] [PATCH 3/5] ARM: legoev3: disable networking

2018-05-19 Thread David Lechner
This disables networking related items in the config. The EV3 does not have any networking hardware, so this is wasted space. Signed-off-by: David Lechner --- board/lego/ev3/legoev3.c | 4 +--- configs/legoev3_defconfig | 4 +--- include/configs/legoev3.h | 2 -- 3 files changed, 2 insertions(+

[U-Boot] [PATCH 5/5] ARM: legoev3: update boot script to load uEnv.txt and .dtb

2018-05-19 Thread David Lechner
This updates the LEGO MINDSTORMS EV3 boot script to try loading a uEnv.txt file and a da850-lego-ev3.dtb device tree during boot. Signed-off-by: David Lechner --- board/lego/ev3/README | 36 ++--- include/configs/legoev3.h | 48 ++-

[U-Boot] [PATCH 4/5] ARM: legoev3: remove unused configuration options

2018-05-19 Thread David Lechner
This removes the unused clock and RAM config options that were cargo- culted when this board was copied from the DA850 EVM. Signed-off-by: David Lechner --- include/configs/legoev3.h | 54 --- 1 file changed, 54 deletions(-) diff --git a/include/configs/legoe

[U-Boot] [PATCH 2/5] ARM: legoev3: Move UART enable to early init

2018-05-19 Thread David Lechner
This moves the UART init for LEGO MINDSTORMS EV3 to board_early_init_f(). Some console messages were not being printed because the UART was not enabled until later in the init process. Signed-off-by: David Lechner --- board/lego/ev3/legoev3.c | 10 +- 1 file changed, 5 insertions(+), 5 d

[U-Boot] [PATCH 1/5] ARM: legoev3: increase flash image sizes

2018-05-19 Thread David Lechner
This increases the kernel image to 4M and the rootfs image to 10M. It is getting hard to get a kernel image to fit in 3M. Signed-off-by: David Lechner --- board/lego/ev3/README | 4 ++-- include/configs/legoev3.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/l

[U-Boot] [PATCH 0/5] ARM: legoev3: updates

2018-05-19 Thread David Lechner
This series contains some updates for LEGO MINDSTORMS EV3. There are a couple of cleanups, a fix for some console messages not printing and device tree support. David Lechner (5): ARM: legoev3: increase flash image sizes ARM: legoev3: Move UART enable to early init ARM: legoev3: disable netw

[U-Boot] Exception Level switching seems broken on RK3399

2018-05-19 Thread Vicente Bergas
Hello, I am writing this from a standalone Sapphire board [1], that is, without the Excavator base board. The CPU is the Rockchip RK3399, which implements ARMv8.0-A. Currently the boot process is: 1.- Boot ROM 2.- SPL, provided as closed source binary blob [2] 3.- ATF, closed source binary blo

Re: [U-Boot] [PATCH] ARM: uniphier: rename environment variable fdt_name to fdtname

2018-05-19 Thread Masahiro Yamada
2018-05-17 19:55 GMT+09:00 Masahiro Yamada : > For booting Linux in the generic distro mechanism, cmd/pxe.c > retrieves the FDT file name from "fdtname" environment variable. > > Rename "fdt_name" to "fdtname" for easier migration to distro boot. > > Signed-off-by: Masahiro Yamada > --- Fixup "fd

Re: [U-Boot] [PATCH 0/4] ARM: dts: uniphier: add additional required properties for ethernet nodes

2018-05-19 Thread Masahiro Yamada
2018-05-11 18:49 GMT+09:00 Kunihiko Hayashi : > According to the modification of linux-next, > add required clocks and their names, resets and their names, and system > controller properties to fix the activation issues for the ethernet > controllers implemented on some UniPhier SoCs. > > Kunihiko

[U-Boot] [PATCH] ARM: dts: uniphier: sync with Linux 4.17-rc6

2018-05-19 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ld11.dtsi| 2 +- arch/arm/dts/uniphier-ld20-ref.dts | 8 arch/arm/dts/uniphier-ld20.dtsi| 2 +- arch/arm/dts/uniphier-pxs3.dtsi| 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/uniphi

Re: [U-Boot] [RFC][PATCH] block: Enable block cache by default

2018-05-19 Thread Marek Vasut
On 05/20/2018 12:29 AM, Tom Rini wrote: > On Sat, May 19, 2018 at 11:39:38PM +0200, Marek Vasut wrote: >> On 05/19/2018 10:50 PM, Tom Rini wrote: >>> On Sat, May 19, 2018 at 08:20:30PM +0200, Marek Vasut wrote: On 05/19/2018 04:36 PM, Simon Glass wrote: > On 18 May 2018 at 03:22, Marek Vas

Re: [U-Boot] [RFC][PATCH] block: Enable block cache by default

2018-05-19 Thread Tom Rini
On Sat, May 19, 2018 at 11:39:38PM +0200, Marek Vasut wrote: > On 05/19/2018 10:50 PM, Tom Rini wrote: > > On Sat, May 19, 2018 at 08:20:30PM +0200, Marek Vasut wrote: > >> On 05/19/2018 04:36 PM, Simon Glass wrote: > >>> On 18 May 2018 at 03:22, Marek Vasut wrote: > > The recent ext4 ca

Re: [U-Boot] [RFC][PATCH] block: Enable block cache by default

2018-05-19 Thread Marek Vasut
On 05/19/2018 10:50 PM, Tom Rini wrote: > On Sat, May 19, 2018 at 08:20:30PM +0200, Marek Vasut wrote: >> On 05/19/2018 04:36 PM, Simon Glass wrote: >>> On 18 May 2018 at 03:22, Marek Vasut wrote: The recent ext4 cache discussion would indicate that the block cache is a desired feat

Re: [U-Boot] [RFC][PATCH] block: Enable block cache by default

2018-05-19 Thread Tom Rini
On Sat, May 19, 2018 at 08:20:30PM +0200, Marek Vasut wrote: > On 05/19/2018 04:36 PM, Simon Glass wrote: > > On 18 May 2018 at 03:22, Marek Vasut wrote: > >> > >> The recent ext4 cache discussion would indicate that the block cache > >> is a desired feature, yet hidden and not enabled most of the

Re: [U-Boot] [RFC][PATCH] block: Enable block cache by default

2018-05-19 Thread Marek Vasut
On 05/19/2018 04:36 PM, Simon Glass wrote: > On 18 May 2018 at 03:22, Marek Vasut wrote: >> >> The recent ext4 cache discussion would indicate that the block cache >> is a desired feature, yet hidden and not enabled most of the time. >> Enable the block cache by default since it provides significa

Re: [U-Boot] [PATCH V3 1/2] mmc: add HS400 support

2018-05-19 Thread Fabio Estevam
On Sat, May 19, 2018 at 9:54 AM, Peng Fan wrote: > Add HS400 support. > Selecting HS400 needs first select HS199 according to spec, so use I think you meant HS200 instead? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boo

Re: [U-Boot] [PATCH] malloc: Use malloc simple before malloc is fully initialized in memalign()

2018-05-19 Thread Simon Glass
Hi Ley, On 18 May 2018 at 04:03, Ley Foon Tan wrote: > Follow implementation in mALLOc(). Check GD_FLG_FULL_MALLOC_INIT flag and use > malloc_simple if GD_FLG_FULL_MALLOC_INIT is unset. Adjust the malloc bytes > to align with the requested alignment. > > The original memalign() function will acce

Re: [U-Boot] [RFC][PATCH] block: Enable block cache by default

2018-05-19 Thread Simon Glass
On 18 May 2018 at 03:22, Marek Vasut wrote: > > The recent ext4 cache discussion would indicate that the block cache > is a desired feature, yet hidden and not enabled most of the time. > Enable the block cache by default since it provides significant block > device access performance improvement

Re: [U-Boot] [RFC PATCH v2 1/2] usb: fastboot: Convert USB f_fastboot to shared fastboot

2018-05-19 Thread Alex Kiernan
On Fri, May 18, 2018 at 10:42 PM Alex Kiernan wrote: > Hi Sam > On Fri, May 18, 2018 at 7:32 PM Sam Protsenko > wrote: > > On 17 May 2018 at 19:13, Alex Kiernan wrote: > > > Convert USB fastboot code to use shared fastboot protocol. > > > > > > Signed-off-by: Alex Kiernan > > > --- > > > > >

[U-Boot] [PATCH V3 2/2] mmc: fsl_esdhc: enable HS400 feature

2018-05-19 Thread Peng Fan
The strobe dll code is ported from Linux Kernel: drivers/mmc/host/sdhci-esdhc-imx.c The comments are from the above file, "For HS400 eMMC, there is a data_strobe line. This signal is generated by the device and used for data output and CRC status response output in HS400 mode. The frequency of this

[U-Boot] [PATCH V3 1/2] mmc: add HS400 support

2018-05-19 Thread Peng Fan
Add HS400 support. Selecting HS400 needs first select HS199 according to spec, so use a dedicated function for HS400. Add HS400 related macros. Remove the restriction of only using the low 6 bits of EXT_CSD_CARD_TYPE, using all the 8 bits. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Jean-Jacqu

[U-Boot] [PATCH v3] add FIT data-position & data-offset property support

2018-05-19 Thread Kelvin Cheung
Add FIT data-position & data-offset property support for bootm, which were already supported in SPL. Signed-off-by: Kelvin Cheung --- Changes for v2: create fit_image_get_data_and_size() to remove duplicated code Changes for v3: correct the comment --- common/image-fit.c | 54 ++

Re: [U-Boot] UBIFS Problems with U-boot 2018.1 & 4.14 Linux

2018-05-19 Thread Richard Weinberger
Am Samstag, 19. Mai 2018, 01:56:33 CEST schrieb Otto Blom: > UBIFS error (ubi0:0 pid 0): crypto_comp_decompress: cannot decompress > 2801 bytes, compressor lzo, error -6 LZO_E_LOOKBEHIND_OVERRUN... > UBIFS error (ubi0:0 pid 0): ubifs_decompress: cannot decompress 2801 > bytes, compressor lzo, err

Re: [U-Boot] UBIFS Problems with U-boot 2018.1 & 4.14 Linux

2018-05-19 Thread Richard Weinberger
Otto, Am Freitag, 18. Mai 2018, 23:02:17 CEST schrieb Otto Blom: > Hallo Heiko & Richard ! > > Turns out the len and out_len do not match, much like you suspected. > Out_len is 2 bytes short (4094 vs 4096) See log below > > UBIFS DBG tnc: search key (5725, data, 124) > UBIFS DBG tnc: found 1, lv

Re: [U-Boot] [PATCH v2 1/6] kconfig: re-sync with Linux 4.17-rc4

2018-05-19 Thread Eugeniu Rosca
Dear reviewers, Please, have a look at v3 series. TIA! Best regards, Eugeniu. On Wed, May 16, 2018 at 01:27:02PM +0200, Eugeniu Rosca wrote: > Hi Petr, Masahiro, Simon, > > On Wed, May 16, 2018 at 10:24:41AM +0200, Eugeniu Rosca wrote: > > Hi Petr, > > > > On Wed, May 16, 2018 at 07:09:05AM +0

[U-Boot] [PATCH v3 6/6] test: dm: Fix wrong aliases property names

2018-05-19 Thread Eugeniu Rosca
After importing v4.17-rc1 Linux commit 9130ba884640 ("scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987"), sandbox build reports below warnings: arch/sandbox/dts/test.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-' arch/sandbox/dts/test

[U-Boot] [PATCH v3 4/6] scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987

2018-05-19 Thread Eugeniu Rosca
From: Rob Herring This adds the following commits from upstream: aadd0b65c987 checks: centralize printing of property names in failure messages 88960e398907 checks: centralize printing of node path in check_msg f1879e1a50eb Add limited read-only support for older (V2 and V3) device tree to libf

[U-Boot] [PATCH v3 3/6] scripts/dtc: Update to upstream version v1.4.5-6-gc1e55a5513e9

2018-05-19 Thread Eugeniu Rosca
From: Rob Herring Pickup the fix for handling unresolved phandles in overlays. This adds the following commits from upstream: c1e55a5513e9 checks: fix handling of unresolved phandles for dts plugins f8872e29ce06 tests: Avoid 64-bit arithmetic in assembler 48c91c08bcfa libfdt: add stringlist fun

[U-Boot] [PATCH v3 2/6] board: eets: pdu001: Fix wrong default value in Kconfig

2018-05-19 Thread Eugeniu Rosca
After importing linux v4.16-rc1 commit 2c37e08464a8 ("kconfig: Warn if choice default is not in choice"), Kconfig complains: scripts/kconfig/conf --syncconfig Kconfig board/eets/pdu001/Kconfig:22:warning:\ choice default symbol 'PDU001_RUN_LED_RED' \ is not contained in the choice Th

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-19 Thread Dr. Philipp Tomsich
Marty, > On 19 May 2018, at 12:40, Marty E. Plummer wrote: > > On Mon, May 14, 2018 at 05:56:27PM +0200, Dr. Philipp Tomsich wrote: >> I had a bit more time to look into this and it looks as if we have two >> problem-spots... >> >> First, there's a type-mismatch between ram_info.size (a size_t

Re: [U-Boot] [xHCI] Controller failure with USB 3.0 hub

2018-05-19 Thread Bin Meng
Hi Marek, On Sat, May 19, 2018 at 7:30 PM, Marek Vasut wrote: > On 05/19/2018 01:09 PM, Bin Meng wrote: >> Hi Marek, > > Hi, > >> On Sat, May 19, 2018 at 9:03 AM, Marek Vasut wrote: >>> Hello Bin, >>> >>> I noticed a potential bug in the U-Boot xHCI implementation. I observe >>> this one Renesas

Re: [U-Boot] [xHCI] Controller failure with USB 3.0 hub

2018-05-19 Thread Marek Vasut
On 05/19/2018 01:09 PM, Bin Meng wrote: > Hi Marek, Hi, > On Sat, May 19, 2018 at 9:03 AM, Marek Vasut wrote: >> Hello Bin, >> >> I noticed a potential bug in the U-Boot xHCI implementation. I observe >> this one Renesas RCar Gen3 platform. >> >> If I plug a USB 3.0 hub into the root port, I see

Re: [U-Boot] [xHCI] Controller failure with USB 3.0 hub

2018-05-19 Thread Bin Meng
Hi Marek, On Sat, May 19, 2018 at 9:03 AM, Marek Vasut wrote: > Hello Bin, > > I noticed a potential bug in the U-Boot xHCI implementation. I observe > this one Renesas RCar Gen3 platform. > > If I plug a USB 3.0 hub into the root port, I see the following error: > ERROR: Configure Endpoint com

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-19 Thread Marty E. Plummer
On Mon, May 14, 2018 at 05:56:27PM +0200, Dr. Philipp Tomsich wrote: > I had a bit more time to look into this and it looks as if we have two > problem-spots... > > First, there's a type-mismatch between ram_info.size (a size_t) and > gd.ram_size (phys_size_t). > While we can increase the size o