Re: [U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-28 Thread Rick Chen
Bin Meng 於 2018年10月25日 週四 下午9:36寫道: > > Hi Rick, > > On Thu, Oct 25, 2018 at 11:27 AM Rick Chen wrote: > > > > Bin Meng 於 2018年10月25日 週四 上午11:16寫道: > > > > > > Hi Rick, > > > > > > On Thu, Oct 25, 2018 at 11:11 AM Rick Chen wrote: > > > > > > > > Bin Meng 於 2018年10月25日 週四 上午10:33寫道: > > > > >

Re: [U-Boot] [PATCH] riscv: cache: Implement i/dcache [status, enable, disable]

2018-10-28 Thread Rick Chen
Auer, Lukas 於 2018年10月27日 週六 上午12:32寫道: > > Hi Rick, > > On Mon, 2018-10-22 at 16:16 +0800, Andes wrote: > > From: Rick Chen > > > > AndeStar V5 provide mcache_ctl register which can configure > > I/D cache as enabled or disabled. > > > > This CSR will be encapsulated by CONFIG_NDS_V5. > > If

Re: [U-Boot] Please pull u-boot-x86

2018-10-28 Thread Tom Rini
On Sun, Oct 28, 2018 at 09:07:20PM +0800, Bin Meng wrote: > Hi Tom, > > These are various small fixes for x86 for this release. > > The following changes since commit 24a72511e7eeec78c9cc3f72953ff8726849b0c1: > > vf610twr: Enable thumb2 for builds (2018-10-26 08:40:53 -0400) > > are

Re: [U-Boot] [PATCH] drivers: cosmetic: Convert SPDX license tags to Linux Kernel style

2018-10-28 Thread Tom Rini
On Fri, Oct 26, 2018 at 09:02:52AM +0200, Patrick Delaunay wrote: > Complete in the drivers directory the work started with > commit 83d290c56fab ("SPDX: Convert all of our single > license tags to Linux Kernel style"). > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! --

Re: [U-Boot] FW: [PATCH 18/30] riscv: invalidate the instruction cache before jumping to Linux

2018-10-28 Thread Rick Chen
Auer, Lukas 於 2018年10月27日 週六 上午12:27寫道: > > Hi Rick, > > On Mon, 2018-10-22 at 09:39 +0800, Rick Chen wrote: > > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > > Sent: Saturday, October 20, 2018 6:08 AM > > > To: u-boot@lists.denx.de > > > Cc: Bin Meng; Lukas Auer; Greentime Hu;

[U-Boot] [PATCH 3/4] sunxi: H3/H5: Update .dts files

2018-10-28 Thread Andre Przywara
Update the .dts/.dtsi files from the Linux sunxi/dt64-for-4.20 tree: commit 679294497be31596e1c9c61507746d72b6b05f26 Author: Rodrigo Exterckötter Tjäder Date: Wed Sep 26 19:48:24 2018 + arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay Signed-off-by: Andre Przywara ---

[U-Boot] [PATCH 2/4] sunxi: A64: Re-add syscon to DT node

2018-10-28 Thread Andre Przywara
The sun50i-a64.dtsi changes introduced in Linux v4.19-rc1 changed the compatible name for the syscon controller, dropping the generic "syscon" fallback. Using this new DT node will make the Ethernet driver in every older kernel (or non-Linux kernels) fail to initialise the MAC device. To allow

[U-Boot] [PATCH 4/4] sunxi: A64: Add Pine64-LTS board

2018-10-28 Thread Andre Przywara
The Pine64 LTS is an updated version of the Pine64, copying the technical updates from the SoPine platform: LPDDR3 DRAM, eMMC socket and soldered SPI flash chip, even the broken SD card detect pin has been copied. Consequently this leads to the .dts (copied from the kernel) just including the

[U-Boot] [PATCH 1/4] sunxi: A64: Update .dts/.dtsi files

2018-10-28 Thread Andre Przywara
Update the .dts/.dtsi file from the Linux sunxi/dt64-for-4.20 tree: commit 679294497be31596e1c9c61507746d72b6b05f26 Author: Rodrigo Exterckötter Tjäder Date: Wed Sep 26 19:48:24 2018 + arm64: dts: allwinner: a64: a64-olinuxino: set the PHY TX delay Signed-off-by: Andre Przywara ---

[U-Boot] [PATCH 0/4] sunxi: A64/H3/H5 DT updates

2018-10-28 Thread Andre Przywara
This updates the .dts and .dtsi files used in U-Boot to what will become the new DTs in Linux 4.20 (anytime soon). Those updates are not too useful for U-Boot itself, but keep the DTs consistent and allow to directly pass U-Boot's copy to any kernel, by using $fdtcontroladdr. There is a small

[U-Boot] [PATCH] sunxi: use 6MHz PLL_VIDEO step for DE2 for higher resolution LCD

2018-10-28 Thread Vasily Khoruzhick
From: Icenowy Zheng DE2 SoCs can support LCDs up to 1080p (e.g. A64), and 3MHz step won't let PLL_VIDEO be high enough for them. Use 6MHz step for PLL_VIDEO when using DE2, to satisfy 1080p LCD. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Tested-by: Vasily Khoruzhick ---

[U-Boot] [PATCH v4 4/5] sun50i: A64: add support for R_I2C controller

2018-10-28 Thread Vasily Khoruzhick
Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has two groups of pinmuxes on PL bank, so it's called R_I2C. Add support for this I2C controller and the pinmux which doesn't conflict with RSB. Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime

[U-Boot] [PATCH v4 5/5] sunxi: DT: add support for Pinebook

2018-10-28 Thread Vasily Khoruzhick
Pinebook is a laptop produced by Pine64, with USB-connected keyboard, USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP bridge from Analogix. Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard Cc: Vagrant Cascadian --- arch/arm/dts/Makefile

[U-Boot] [PATCH v4 3/5] sunxi: DT: A64: update device tree files for Allwinner A64 SoC

2018-10-28 Thread Vasily Khoruzhick
Updates the device tree files from the linux-next tree, exactly Linux commit: commit 8c60c36d0b8c (tag: next-20181019) Author: Stephen Rothwell Date: Fri Oct 19 18:13:43 2018 +1100 Add linux-next specific files for 20181019 Signed-off-by: Stephen Rothwell Signed-off-by: Vasily

[U-Boot] [PATCH v4 1/5] mmc: sunxi: add support for automatic delay calibration

2018-10-28 Thread Vasily Khoruzhick
A64 and H6 support automatic delay calibration and Linux driver uses it instead of hardcoded delays. Add support for it to u-boot driver. Fixes eMMC instability on Pinebook Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard Reviewed-by: Andre Przywara Cc:

[U-Boot] [PATCH v4 2/5] dm: video: bridge: don't fail to activate bridge if reset or sleep GPIO is missing

2018-10-28 Thread Vasily Khoruzhick
Both GPIOs are optional, so we shouldn't fail if any is missing. Without this fix reset is not deasserted if sleep GPIO is missing. Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Tested-by: Maxime Ripard Reviewed-by: Andre Przywara Cc: Vagrant Cascadian ---

[U-Boot] [PATCH v4 0/5] Add support for Pinebook

2018-10-28 Thread Vasily Khoruzhick
This series adds support for the Pinebook, an allwinner A64 laptop produced by Pine64. It also syncs sun50i-a64.dtsi with linux, adds support for mmc delay calibration, R_I2C controller, and addresses the issue with activating video bridge when any of GPIOs is missing. v2: - sync sun50i-a64.dtsi

Re: [U-Boot] [PATCH v3 0/8] Improvements for the dwc3_generic driver

2018-10-28 Thread Lukasz Majewski
Dear All, > Andy, Kerver, Lin, > > could you give a try to this series on evb-rk3328 please ? This has > been blocked for a long time already. Yes, agree. Could somebody (who has this SoC) test this patch set? Thanks in advance, Łukasz > > Thanks, > > JJ > > On 22/10/2018 18:24,

Re: [U-Boot] [PATCH 2/3] Kbuild: standalone: do not ignore platform-specific OBJCOPYFLAGS

2018-10-28 Thread Daniel Schwierzeck
Am 23.09.18 um 19:15 schrieb Daniel Schwierzeck: > Currently the OBJCOPYFLAGS are cleared when assigning "-O srec" > or "-O binary" for standalone programs. All flags set by arch-specific > Makefiles are lost. This is bad if an arch demands arch-specific > flags for the objcopy step. are there

Re: [U-Boot] [PATCH 1/3] Kbuild: add LDFLAGS_STANDALONE

2018-10-28 Thread Daniel Schwierzeck
Am 23.09.18 um 19:15 schrieb Daniel Schwierzeck: > Introduce a new Makefile variable for passing LDFLAGS to standalone > programs. Currently the variable CONFIG_STANDALONE_LOAD_ADDR is > misued on some archs to pass a specific linker script. are there any objections or can I apply this to

Re: [U-Boot] [PATCH 04/14] mips: mt76xx: Add ethernet DT node to mt7628a.dtsi

2018-10-28 Thread Daniel Schwierzeck
Am 09.10.18 um 08:59 schrieb Stefan Roese: > Add the ethernet DT node to the DTS file. > > Signed-off-by: Stefan Roese > Cc: Daniel Schwierzeck > --- > arch/mips/dts/mt7628a.dtsi | 8 > 1 file changed, 8 insertions(+) > series from 4/14 to 14/14 applied to u-boot-mips/next,

Re: [U-Boot] [PATCH 02/14] mips: mt76xx: lowlevel_init.S: Add missing memory controller reset in DDR init

2018-10-28 Thread Daniel Schwierzeck
Am 09.10.18 um 08:59 schrieb Stefan Roese: > This fixes an issue which has been noticed on the Gardena board, with > the watchdog enabled, where the watdchdog reset (after a system hang) > did result in reporting of 2.9 GiB and a hang after this. With this > patch applied the memory controller

Re: [U-Boot] [PATCH] wdt: Add MT7621 watchdog driver

2018-10-28 Thread Daniel Schwierzeck
Am 04.10.18 um 13:39 schrieb Stefan Roese: > This patch adds watchdog support for the Mediatek MT7621 SoC. The driver > is loosly based on the Linux kernel version. > > Signed-off-by: Stefan Roese > Cc: Daniel Schwierzeck > --- > drivers/watchdog/Kconfig | 7 +++ >

Re: [U-Boot] [PATCH v2] gpio: Add MT7621 GPIO support

2018-10-28 Thread Daniel Schwierzeck
Am 08.10.18 um 12:38 schrieb Stefan Roese: > This patch adds GPIO support for the Mediatek MT7621 SoC, tested on > MT7688 (Gardena smart-gateway). The driver is loosly based on the > Linux kernel version. > > Signed-off-by: Stefan Roese > Cc: Daniel Schwierzeck > --- > v2: > - Dropped IO

Re: [U-Boot] [PATCH 03/14] mips: mt76xx: Enable SYS_MIPS_CACHE_INIT_RAM_LOAD for cache init

2018-10-28 Thread Daniel Schwierzeck
Am 09.10.18 um 08:59 schrieb Stefan Roese: > Using CONFIG_SYS_MIPS_CACHE_INIT_RAM_LOAD should ensure that the cache > is initialized correctly (parity etc). Even though some issues are > still seen on the linkit and gardena MT7688 platforms, which could > be a result of a non-optimal cache

Re: [U-Boot] [PATCH v2 3/7] MSCC: add support for Ocelot SoCs

2018-10-28 Thread Daniel Schwierzeck
Am 09.10.18 um 13:58 schrieb Gregory CLEMENT: > This family of SoCs are found in the Microsemi Switches solution and have > already a support in the linux kernel. > > Signed-off-by: Gregory CLEMENT > --- > arch/mips/Kconfig | 6 + > arch/mips/Makefile

Re: [U-Boot] [PATCH v2 7/7] MIPS: bootm: Add support for Vcore III linux kernel

2018-10-28 Thread Daniel Schwierzeck
Hi Gregory, sorry for the late response. Am 09.10.18 um 13:58 schrieb Gregory CLEMENT: > The kernels built for the Vcore III linux kernel have different > expectation in the way the data were passed. > > Unlike with yamon, the command line is expected to be a single string > passed in argv[1].

Re: [U-Boot] "Kbuild:43: recipe for target 'lib/asm-offsets.s' failed"

2018-10-28 Thread R White
BONZAI! that's the answer! On Sun, Oct 28, 2018 at 1:32 AM Chris Packham wrote: > > > On Sun, 28 Oct 2018, 2:29 PM R White, wrote: > >> *People,* >> >> >> *Can anyone tell me what I am doing wrong? Am I missing something?* >> >> >> *I have even reloaded the machine, everything. * >> *Rick*

[U-Boot] [PATCH 2/2] ARM: am3517_evm: Remove SPL_OF_CONTROL and OF_PLATDATA

2018-10-28 Thread Adam Ford
After the recomendation, some testing shows like these are unnecessary. Suggested-by: Jean-Jacques Hiblot Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index e334030e51..1c251cf914 100644 --- a/configs/am3517_evm_defconfig +++

[U-Boot] [PATCH 1/2] ARM: omap3_logic: Remove SPL_OF_CONTROL and OF_PLATDATA

2018-10-28 Thread Adam Ford
After the recomendation, some testing shows like these are unnecessary. Suggested-by: Jean-Jacques Hiblot Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig index 54c40d8c42..452164f212 100644 --- a/configs/omap35_logic_defconfig +++

Re: [U-Boot] [PATCH 00/13] dm: DM_FLAG_PRE_RELOC flag clean up

2018-10-28 Thread Adam Ford
On Wed, Oct 24, 2018 at 8:32 AM Bin Meng wrote: > > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed

[U-Boot] Please pull u-boot-x86

2018-10-28 Thread Bin Meng
Hi Tom, These are various small fixes for x86 for this release. The following changes since commit 24a72511e7eeec78c9cc3f72953ff8726849b0c1: vf610twr: Enable thumb2 for builds (2018-10-26 08:40:53 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to

Re: [U-Boot] [PATCH] x86: Fix car_uninit weak symbol definition

2018-10-28 Thread Bin Meng
On Fri, Oct 26, 2018 at 12:22 AM Heinrich Schuchardt wrote: > > On 10/25/2018 12:05 PM, Bin Meng wrote: > > Since commit 80df194f0165 ("x86: detect unsupported relocation types"), > > an error message is seen on QEMU x86 target during boot: > > > > do_elf_reloc_fixups32: unsupported relocation

Re: [U-Boot] [PATCH 1/2] powerpc: t1040: Correct RCW MAC2_GMII_SEL value

2018-10-28 Thread Bin Meng
On Thu, Oct 25, 2018 at 2:46 PM Poonam Aggrwal wrote: > > Hello Bin, > > > > -Original Message- > > From: Bin Meng [mailto:bmeng...@gmail.com] > > Sent: Monday, October 22, 2018 9:41 AM > > To: Poonam Aggrwal > > Cc: York Sun ; U-Boot Mailing List > > Subject: Re: [PATCH 1/2] powerpc:

[U-Boot] [PATCH] fdt: restore board_fdt_blob_setup() declaration

2018-10-28 Thread Baruch Siach
Commit 90c08fa038451d (fdt: Add device tree memory bindings) removed the prototype declaration of board_fdt_blob_setup(), most likely by mistake. This didn't break the build because the only file calling this function (lib/fdtdec.c) provides a local weak definition. Restore the declaration. Cc:

[U-Boot] [PATCH 2/2] arm64: mvebu: a8k: autodetect RAM size

2018-10-28 Thread Baruch Siach
Some Armada 8K boards like Macchiatobin and Clearfog GT-8K use RAM from external DIMM. Hard coding the RAM size in the device-tree is not convenient. Fortunately, the ATF that initializes the RAM knows the size of RAM, and U-Boot can query the ATF using a SMC call. This code in this commit is

[U-Boot] [PATCH 1/2] linux/sizes.h: sync from kernel

2018-10-28 Thread Baruch Siach
The kernel added SZ_4G macro in commit f2b9ba871b (arm64/kernel: kaslr: reduce module randomization range to 4 GB). Include common.h for _AC() instead of the kernel linux/const.h header. Drop a local SZ_4G definition in tegra code. Cc: Tom Warren Signed-off-by: Baruch Siach ---

Re: [U-Boot] "Kbuild:43: recipe for target 'lib/asm-offsets.s' failed"

2018-10-28 Thread Chris Packham
On Sun, 28 Oct 2018, 2:29 PM R White, wrote: > *People,* > > > *Can anyone tell me what I am doing wrong? Am I missing something?* > > > *I have even reloaded the machine, everything. * > *Rick* > > == > >