Re: [U-Boot] [PATCH v5 00/24] Fix and extend i.MX HAB layer

2018-01-09 Thread Bryan O'Donoghue
On 09/01/18 15:53, Breno Matheus Lima wrote: Hi Bryan, 2018-01-08 15:36 GMT-02:00 Bryan O'Donoghue : v5: - Drop dcache disable across HAB call. We can't replicate this error on the current codebase and the available images. We'll have to wait for the error

Re: [U-Boot] [PATCH v2 2/6] am335x-fb: cosmetic: update-copyright

2018-01-09 Thread Hannes Schmelzer
mfG Schmelzer Hannes On 01/09/2018 05:04 PM, Tom Rini wrote: On Tue, Jan 09, 2018 at 04:44:43PM +0100, Hannes Schmelzer wrote: Signed-off-by: Hannes Schmelzer --- Changes in v2: None drivers/video/am335x-fb.c | 4 ++-- drivers/video/am335x-fb.h | 4 ++-- 2 files

Re: [U-Boot] [PATCH v2 2/6] am335x-fb: cosmetic: update-copyright

2018-01-09 Thread Hannes Schmelzer
On 01/09/2018 06:39 PM, Tom Rini wrote: On Tue, Jan 09, 2018 at 06:35:04PM +0100, Hannes Schmelzer wrote: mfG Schmelzer Hannes On 01/09/2018 05:04 PM, Tom Rini wrote: On Tue, Jan 09, 2018 at 04:44:43PM +0100, Hannes Schmelzer wrote: Signed-off-by: Hannes Schmelzer ---

[U-Boot] [PATCH v3 0/6] am335x-fb: support display PLL for lcd-clock / pixel-clock

2018-01-09 Thread Hannes Schmelzer
In most cases days ago the LCDC IP-core clock on AM335x was sourced from the peripheral PLL with 192 MHz and the pixel clock for the connected lcd-screen was made more or less accurate with a divider inside LCDC IP- core. For certain displays, example a standard VGA with 25.17 MHz pixelclock, it

[U-Boot] [PATCH v3 6/6] board/BuR: drop LCDC clock manipulation from board code

2018-01-09 Thread Hannes Schmelzer
The clock selection is done now from the am335x-fb code, so there is no more need doing this in the board code. Signed-off-by: Hannes Schmelzer --- Changes in v3: None Changes in v2: None board/BuR/brppt1/board.c | 3 --- board/BuR/brxre1/board.c | 2 -- 2 files changed, 5

[U-Boot] [PATCH v3 2/6] am335x-fb: cosmetic: update-copyright

2018-01-09 Thread Hannes Schmelzer
Signed-off-by: Hannes Schmelzer --- Changes in v3: - modify copyright year to 2013-2018 Changes in v2: None drivers/video/am335x-fb.c | 4 ++-- drivers/video/am335x-fb.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/am335x-fb.c

Re: [U-Boot] ext4: cache first extent index blocks (#06343)

2018-01-09 Thread Tom Rini
On Fri, Oct 27, 2017 at 04:18:11PM +0200, Christophe Ronco wrote: > Extent index blocks are read many times when reading completely a big file. > This is time costly if underlying driver is slow. > Caching the first index blocks cost a bit of RAM but speed up file reading a > lot. > --- >

[U-Boot] [PATCH] arm: am33xx: security: Fix size calculation on header

2018-01-09 Thread Andrew F. Davis
From: Madan Srinivas Fix the size calculation in the verify boot. The header size should be subtracted from the image size, not be assigned to the image size. Fixes: 0830d72bb9f8 ("arm: am33xx: security: adds auth support for encrypted images") Signed-off-by: Madan Srinivas

Re: [U-Boot] api: bootelf: go: flush cache before starting

2018-01-09 Thread Tom Rini
On Mon, Dec 04, 2017 at 07:33:45PM +0100, Emmanuel Vadot wrote: > From: Warner Losh > > Some application might load some code at location that contain stale > cache entries. Before running a elf or raw binary, flush the caches > if they are enabled. > > Reviewed-by: Tom Rini

[U-Boot] [PATCH] Makefile: ensure DTB doesn't overflow into initial stack

2018-01-09 Thread Stephen Warren
From: Stephen Warren With CONFIG_SYS_INIT_SP_BSS_OFFSET enabled, the initial (pre-relocation) stack is placed some distance after bss_start. The control DTB is appended to the U-Boot binary at bss_start. If the DTB is too large, or the SP BSS offset too small, then the

[U-Boot] [PATCH] arm: mach-omap2: Remove secure certificate name printing

2018-01-09 Thread Andrew F. Davis
The signing certificate name is always 15 chars long, but need not be null terminated. One solution is then to use printf precision modifiers to only print this many chars ("%.15s"), but tiny printf does not support this, so lets just drop printing the cert name for now. Signed-off-by: Andrew F.

Re: [U-Boot] [PATCH 3/4] ARMv8: Allow dynamic early stack pointer

2018-01-09 Thread Stephen Warren
On 01/08/2018 03:11 PM, Simon Glass wrote: Hi Stephen, On 8 January 2018 at 11:34, Stephen Warren wrote: On 01/07/2018 08:40 PM, Simon Glass wrote: Hi Stephen, On 19 December 2017 at 18:30, Stephen Warren wrote: From: Stephen Warren

[U-Boot] [PATCH 1/2] ARM: imx: cm_fx6: export board and soc info to env

2018-01-09 Thread christopher.spinrath
From: Christopher Spinrath Like many other i.MX6 based boards, there are multiple variants of the cm-fx6 module featuring different SoC variants. Furthermore, the module can be paired with multiple baseboards. At the same time modern distribution like Fedora

[U-Boot] [PATCH 2/2] ARM: imx: cm_fx6: env: try to determine dtb to use

2018-01-09 Thread christopher.spinrath
From: Christopher Spinrath Some distributions like Fedora expect U-Boot to select a proper devicetree. Since there are several variants of the cm-fx6 module featuring different SoC variants and the module can be paired with several baseboards, it is not

Re: [U-Boot] [PATCH V3 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-09 Thread Fabio Estevam
On Tue, Jan 9, 2018 at 10:11 AM, Peng Fan wrote: > This patchset is to add i.MX8M and i.MX8MQ-EVK support Just a quick note for those who would like to help reviewing this series: mx8mq documentation is available now:

Re: [U-Boot] [PATCH 1/1] ls1012a:dts: Update LS1012A-2G5RDB device tree

2018-01-09 Thread York Sun
On 12/08/2017 12:26 AM, Bhaskar Upadhaya wrote: > Previously LS1012A-2G5RDB dts includes fsl-ls1012a-rdb.dtsi which > further includes fsl-ls1012a.dtsi.Now LS1012A-2G5RDB dts include > fsl-ls1012a.dtsi. > > Signed-off-by: Bhaskar Upadhaya > --- As discussed, please

[U-Boot] [PATCH v3 5/6] board/BuR: provide real clock-frequency instead a divider

2018-01-09 Thread Hannes Schmelzer
Actual am335x-fb implementation takes now a real clock frequency instead a divider. So this component doesn't need to know anymore some base frequency of the LCDC, we simply provide the pixel-clock frequency. Signed-off-by: Hannes Schmelzer --- Changes in v3: None Changes in

[U-Boot] [PATCH v3 3/6] am335x-fb: cosmetic: fix coding style

2018-01-09 Thread Hannes Schmelzer
Signed-off-by: Hannes Schmelzer --- Changes in v3: None Changes in v2: - am335x-fb: avoid compiler warning drivers/video/am335x-fb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index

[U-Boot] [PATCH v3 4/6] am335x-fb: setup display PLL

2018-01-09 Thread Hannes Schmelzer
The LCDC IP-core an be feed from several clock sources, one of those is a dedicated DPLL for generating a dividable base-clock for this IP-core. The TRM specifies the maximum input frequency for the LCCD with 200 MHz, so we must not exceed this value with the PLL frequency (which can lock much

[U-Boot] [PATCH 1/3] configs: enable spl support wrt env device

2018-01-09 Thread Jagan Teki
nand device needed for mmc config to access nand for write and update so enabling SPL_SUPPORT to mmc or nand is wrt to env device rather nand driver check. Signed-off-by: Jagan Teki --- include/configs/imx6-engicam.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH v2 2/6] am335x-fb: cosmetic: update-copyright

2018-01-09 Thread Tom Rini
On Tue, Jan 09, 2018 at 06:51:28PM +0100, Hannes Schmelzer wrote: > On 01/09/2018 06:39 PM, Tom Rini wrote: > >On Tue, Jan 09, 2018 at 06:35:04PM +0100, Hannes Schmelzer wrote: > >>mfG > >>Schmelzer Hannes > >> > >>On 01/09/2018 05:04 PM, Tom Rini wrote: > >>>On Tue, Jan 09, 2018 at 04:44:43PM

Re: [U-Boot] [PATCH 3/7] tools: include necessary headers explicitly

2018-01-09 Thread Joe Hershberger
On Tue, Jan 9, 2018 at 3:34 AM, Masahiro Yamada wrote: > Several host-tools use "bool" type without including . > This relies on the crappy header inclusion chain. > > tools/Makefile has the following line: > > HOST_EXTRACFLAGS += -include

[U-Boot] [PATCH 2/3] configs: icore: enable nand on mmc defconfig

2018-01-09 Thread Jagan Teki
Enable nand on mmc defconfig, so-that preparing nand for writing/updating bootimage, Linux becomes easy. Signed-off-by: Jagan Teki --- configs/imx6qdl_icore_mmc_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/imx6qdl_icore_mmc_defconfig

Re: [U-Boot] [PATCH v1 1/6] board: ti: dra7xx-evm: turn on USB clocks in late init stage

2018-01-09 Thread Tom Rini
On Fri, Jan 05, 2018 at 02:50:38PM +0100, Jean-Jacques Hiblot wrote: > For USB ports that use the Driver Model, turn on the clocks during the > late init stage. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH v1 5/6] configs: enable DM_USB for all the platforms of the DRA7 family

2018-01-09 Thread Tom Rini
On Fri, Jan 05, 2018 at 02:50:42PM +0100, Jean-Jacques Hiblot wrote: > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

[U-Boot] [PULL] Please pull from u-boot-rockchip/master

2018-01-09 Thread Dr. Philipp Tomsich
Hi Tom, the below request is for some Rockchip-related changes that had missed the previous merge window and had been queued up in my next-branch. Travis-CI report at https://travis-ci.org/ptomsich/u-boot-rockchip/builds/326751040 Regards, Philipp. The following changes since commit

[U-Boot] [PATCH 3/3] i.MX: nand: add nandbcb update command

2018-01-09 Thread Jagan Teki
writing/updating boot image in nand device is not straight forward in i.MX6 platform and it require boot control block(BCB) configure. It become difficult to use uboot 'nand' command to write BCB since it require platform specific attributes need to taken care. It even difficult to use existing

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

2018-01-09 Thread Tom Rini
On Tue, Jan 09, 2018 at 10:04:38PM +0900, Masahiro Yamada wrote: > Hi Tom, > > The MW is open, and here are some updates. Please pull! > > > > The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a: > > Prepare v2018.01 (2018-01-08 20:25:29 -0500) > > are available in

Re: [U-Boot] [PATCH 3/3] drivers: net: pfe_eth: Disable autonegotiation for 2.5G SGMII

2018-01-09 Thread York Sun
On 01/09/2018 08:15 AM, Bhaskar Upadhaya wrote: > > >> -Original Message- >> From: York Sun >> Sent: Tuesday, January 09, 2018 12:13 AM >> To: Bhaskar Upadhaya ; u-boot@lists.denx.de >> Subject: Re: [PATCH 3/3] drivers: net: pfe_eth: Disable autonegotiation for

Re: [U-Boot] [PATCH V3 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-09 Thread Diego Dorta
Hi peng, 2018-01-09 10:11 GMT-02:00 Peng Fan : > This patchset is to add i.MX8M and i.MX8MQ-EVK support > > V3: > This patchset based on https://patchwork.ozlabs.org/patch/855027/ > "arm: imx: Rework i.MX specific commands to be excluded from SPL" from > Tom to avoid this

[U-Boot] [PATCH v3 1/6] mach-omap2: add AM335x Display PLL register definition

2018-01-09 Thread Hannes Schmelzer
Adds the register definition of the Display DPLL Signed-off-by: Hannes Schmelzer --- Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-am33xx/clock.h | 1 + arch/arm/mach-omap2/am33xx/clock_am33xx.c | 7 +++ 2 files changed, 8 insertions(+) diff --git

Re: [U-Boot] Pull request: u-boot-net.git master

2018-01-09 Thread Tom Rini
On Wed, Jan 03, 2018 at 03:32:31PM -0600, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit 1314bd1192b4c67d28bdae7eee639588e88090cd: > > boards: amlogic: khadas-vim: Typo fixup (2018-01-02 07:57:34 -0500) > > are available in the git repository at: > >

Re: [U-Boot] [PULL] Please pull from u-boot-rockchip/master

2018-01-09 Thread Tom Rini
On Tue, Jan 09, 2018 at 06:38:09PM +0100, Dr. Philipp Tomsich wrote: > Hi Tom, > > the below request is for some Rockchip-related changes that had missed > the previous merge window and had been queued up in my next-branch. > > Travis-CI report at >

Re: [U-Boot] [PATCH v2 2/6] am335x-fb: cosmetic: update-copyright

2018-01-09 Thread Tom Rini
On Tue, Jan 09, 2018 at 06:35:04PM +0100, Hannes Schmelzer wrote: > > mfG > Schmelzer Hannes > > On 01/09/2018 05:04 PM, Tom Rini wrote: > >On Tue, Jan 09, 2018 at 04:44:43PM +0100, Hannes Schmelzer wrote: > >>Signed-off-by: Hannes Schmelzer > >>--- > >> > >>Changes in v2: None

Re: [U-Boot] [PATCH v1 6/6] dts: dra7x: enable host on USB2 for all the platforms of the DRA7 family

2018-01-09 Thread Tom Rini
On Fri, Jan 05, 2018 at 02:50:43PM +0100, Jean-Jacques Hiblot wrote: > This enables the USB2. USB1 is not enabled because it's managed by platform > code not by DM. > > Signed-off-by: Jean-Jacques Hiblot > > --- > > arch/arm/dts/dra7-evm-common.dtsi | 7 +++ >

[U-Boot] [GIT] Pull request: u-boot-dfu (09.01.2018)

2018-01-09 Thread Lukasz Majewski
Dear Marek, The following changes since commit 91f4fb9b89c94838bed41e12c3705c5553662c83: arm64: layerscape: Move CONFIG_HAS_FSL_DR_USB to Kconfig (2018-01-09 12:37:15 +0100) are available in the git repository at: git://git.denx.de/u-boot-dfu.git for you to fetch changes up to

[U-Boot] [PATCH 0/4] ARM: Extend qemu_arm to support ARM64

2018-01-09 Thread Tuomas Tynkkynen
Hi, This series extends qemu_arm to have support for ARM64 as well. Adding test.py support for it gets us the first test.py job for an ARM64 board on Travis-CI. Before the last patch can be merged, https://github.com/swarren/uboot-test-hooks/pull/15 needs to be applied in the uboot-test-hooks

Re: [U-Boot] mmc1 not working on Samsung snow chromebook

2018-01-09 Thread Guillaume Gardet
Hi, Le 17/11/2017 à 10:48, Jaehoon Chung a écrit : Hi, On 2017년 11월 16일 21:29, Guillaume Gardet wrote: I found a workaround. If I disable MMC_MODE_HS_52MHz, then it is working fine. I guess there is a better way to implement the following patch ?

[U-Boot] [PATCH 4/4] Travis-CI: Add job for running test.py on qemu_arm64

2018-01-09 Thread Tuomas Tynkkynen
The corresponding changes in the uboot-test-hooks repo are: https://github.com/swarren/uboot-test-hooks/pull/15 Signed-off-by: Tuomas Tynkkynen --- .travis.yml | 5 + 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index

[U-Boot] [PATCH 3/4] Travis-CI: Download ARM64 version of GRUB as well

2018-01-09 Thread Tuomas Tynkkynen
For preparation of adding AArch64 test.py jobs. Signed-off-by: Tuomas Tynkkynen --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 00ff53cbfe..31e06bbd74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,8 @@

[U-Boot] [PATCH 1/4] ARM: qemu-arm: Add support for AArch64

2018-01-09 Thread Tuomas Tynkkynen
This adds support for '-machine virt' on AArch64. This is rather simple: we just add TARGET_QEMU_ARM_xxBIT to select a few different Kconfig symbols, provide the ARMv8 memory map from the board file and add a new defconfig based on the 32-bit defconfig. Signed-off-by: Tuomas Tynkkynen

[U-Boot] [PATCH 2/4] ARM: Document AArch64 version of qemu-arm

2018-01-09 Thread Tuomas Tynkkynen
It's mostly obvious, except that QEMU is annoying and requires an explicit '-cpu cortex-a57' (or some other 64-bit core) to actually run in 64-bit mode. Signed-off-by: Tuomas Tynkkynen --- doc/README.qemu-arm | 23 ++- 1 file changed, 18

Re: [U-Boot] [PATCH 2/4] ARM: Document AArch64 version of qemu-arm

2018-01-09 Thread Tuomas Tynkkynen
On 01/09/2018 06:22 PM, Tom Rini wrote: On Tue, Jan 09, 2018 at 04:34:28PM +0200, Tuomas Tynkkynen wrote: Building U-Boot --- -Set the CROSS_COMPILE and ARCH=arm environment variables as usual, and run: +Set the CROSS_COMPILE environment variable as usual, and run: +- For

Re: [U-Boot] [PATCH 3/3] i.MX: nand: add nandbcb update command

2018-01-09 Thread Fabio Estevam
Hi Jagan, Thanks for working on upstreaming this feature. It is a very useful one! Last time Scott Wood made several comments about this patch. Please Cc him next time and make sure to address all of his previous feedback. Also, you could submit this patch independently of the other two

Re: [U-Boot] [PATCH v5 00/24] Fix and extend i.MX HAB layer

2018-01-09 Thread Fabio Estevam
Hi Bryan, On Mon, Jan 8, 2018 at 3:36 PM, Bryan O'Donoghue wrote: > v5: > - Drop dcache disable across HAB call. > We can't replicate this error on the current codebase and the available > images. We'll have to wait for the error to crop up again before pushing >

[U-Boot] [PATCH v3 4/6] ARM: openrd: disable CONFIG_BUG_CHECKS

2018-01-09 Thread Masahiro Yamada
These boards are always on the boundary of "u-boot-nodtb.bin exceeds file size limit" error. Commit ab5502bf561b ("ARM: openrd: set CONFIG_LOGLEVEL to 2") reduced the loglevel to save memory footprint. They are hitting the size limit, again. Disable CONFIG_BUG_CHECKS. Signed-off-by: Masahiro

[U-Boot] [PATCH v3 1/6] Enable CONFIG_PANIC_HANG for boards without do_reset()

2018-01-09 Thread Masahiro Yamada
Calling panic() for these boards causes build error: undefined reference to `do_reset' They must compile do_reset(), or define CONFIG_PANIC_HANG. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2:

[U-Boot] [PATCH v3 3/6] Introduce CONFIG_BUG_CHECKS to allow to disable BUG{_ON} and WARN_ON

2018-01-09 Thread Masahiro Yamada
BUG(), BUG_ON(), WARN_ON(), etc. are generally used to test a condition that should never happen. If it does, it is a bug, then they print noisy messages. They are useful to catch bugs, and Linux always enables them, but doing so in U-Boot causes image size problems on some platforms. Introduce

[U-Boot] [PATCH v3 0/6] assert() is almost used in the same way as BUG_ON(), except:

2018-01-09 Thread Masahiro Yamada
- the logic is opposite - currently, assert() is compiled only when DEBUG is defined Coccinelle can easily convert assert() to BUG_ON(). A problem is it would grow the image size. In v2, I introduced a new CONFIG option to allow to disable it. In v3, it is default 'y'. I disabled it only

[U-Boot] [PATCH v3 2/6] usb: xhci: return ERR_PTR(-ETIMEDOUT) at the end of xhci_wait_for_event()

2018-01-09 Thread Masahiro Yamada
xhci_wait_for_event() is supposed to return a pointer to union xhci_trb, but it does not return anything at the end of the function. This relies on that the end of the function is unreachable due to BUG(). We are planning to make BUG() no-op for platforms with strong image size constraint.

[U-Boot] [PATCH v3 6/6] Remove assert()

2018-01-09 Thread Masahiro Yamada
No more users of assert() except host tools. Remove. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- Changes in v3: - Rebase on v2017.01 Changes in v2: None include/log.h | 15 --- lib/tiny-printf.c | 9

[U-Boot] [PATCH v3 5/6] treewide: convert assert() to BUG_ON()

2018-01-09 Thread Masahiro Yamada
We do not need multiple ways to do the same thing. Instead of assert(), use BUG_ON() from Linux. The logic is opposite, but Coccinelle is of great help for such a conversion. We could simply convert assert(x) to BUG_ON(!x) for all expressions "x", but I did a bit better job by converting

Re: [U-Boot] [PATCH V3 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-09 Thread Fabio Estevam
Hi Peng, On Tue, Jan 9, 2018 at 10:55 PM, Peng Fan wrote: > As noted in cover-letter, > This patchset based on https://patchwork.ozlabs.org/patch/855027/ > "arm: imx: Rework i.MX specific commands to be excluded from SPL" from > Tom to avoid this patchset fail apply after

Re: [U-Boot] [PATCH V3 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-09 Thread Fabio Estevam
On Wed, Jan 10, 2018 at 12:09 AM, Fabio Estevam wrote: > It would be better to generate the series against U-Boot 2018.11 master. 2018.01 I mean :-) ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 06/16] efi: sandbox: Adjust memory usage for sandbox

2018-01-09 Thread Heinrich Schuchardt
On 12/04/2017 10:28 PM, Simon Glass wrote: > With sandbox the U-Boot code is not mapped into the sandbox memory range > so does not need to be excluded when allocating EFI memory. Update the EFI > memory init code to take account of that. > > Also use mapmem instead of a cast to convert a memory

Re: [U-Boot] [PATCH V3 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-09 Thread Peng Fan
Hi Diego, On Tue, Jan 09, 2018 at 03:42:29PM -0200, Diego Dorta wrote: >Hi peng, > >2018-01-09 10:11 GMT-02:00 Peng Fan : >> This patchset is to add i.MX8M and i.MX8MQ-EVK support >> >> V3: >> This patchset based on https://patchwork.ozlabs.org/patch/855027/ >> "arm: imx:

Re: [U-Boot] [PATCH 1/2] ARM: imx: cm_fx6: export board and soc info to env

2018-01-09 Thread Fabio Estevam
Hi Christopher, On Tue, Jan 9, 2018 at 7:01 PM, wrote: > From: Christopher Spinrath > > Like many other i.MX6 based boards, there are multiple variants of > the cm-fx6 module featuring different SoC variants.

Re: [U-Boot] [PATCH 03/07] db410c: replace reset driver with psci

2018-01-09 Thread Tuomas Tynkkynen
Hi Jorge, On 01/09/2018 11:12 AM, Jorge Ramirez-Ortiz wrote: From: Jorge Ramirez-Ortiz this should be the norm for armv8 platforms. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard410c.dts | 5

Re: [U-Boot] [PATCH v4 1/7] driver/ddr: Add support for setting timing in hws_topology_map

2018-01-09 Thread Chris Packham
Hi Marek, On Sat, Jun 10, 2017 at 5:28 AM, Marek Behún wrote: > The DDR3 training code for Marvell A38X currently computes 1t timing > when given board topology map of the Turris Omnia, but Omnia needs 2t. > > This patch adds support for enforcing the 2t timing in struct >

Re: [U-Boot] [PATCH V3 00/31] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-09 Thread Peng Fan
On Wed, Jan 10, 2018 at 12:13:42AM -0200, Fabio Estevam wrote: >On Wed, Jan 10, 2018 at 12:09 AM, Fabio Estevam wrote: > >> It would be better to generate the series against U-Boot 2018.11 master. > >2018.01 I mean :-) ok. I'll post out V4 based on Tom's master tree with.

[U-Boot] [PATCH V4 01/32] arm: imx: Rework i.MX specific commands to be excluded from SPL

2018-01-09 Thread Peng Fan
From: Tom Rini The "clocks" and "bootaux" commands are only usable in full U-Boot, not SPL, so do not link them inside of SPL. Rework a little of the bootaux related code to make use of __weak and declare parts of it static as it's local to the file. Cc: Stefano Babic

[U-Boot] [PATCH V4 00/32] imx: add i.MX8M support and i.MX8MQ EVK

2018-01-09 Thread Peng Fan
This patchset is to add i.MX8M and i.MX8MQ-EVK support V4: Regenerate patchset based on Tom's master tree. In this patchset, https://patchwork.ozlabs.org/patch/855027/ "arm: imx: Rework i.MX specific commands to be excluded from SPL" from Tom is included to avoid merge conflicts because the

[U-Boot] [PATCH V4 05/32] time: add wait_mask_set/clr_timeout helper functions

2018-01-09 Thread Peng Fan
Add heler functions for wait mask set/clr. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Masahiro Yamada Cc: Simon Glass --- include/linux/delay.h | 4

[U-Boot] [PATCH V4 03/32] imx: mx8m: add register definition header file

2018-01-09 Thread Peng Fan
Add register definition header file for i.MX8M Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-mx8m/imx-regs.h | 468 ++ 1 file changed, 468 insertions(+)

[U-Boot] [PATCH V4 02/32] imx: add i.MX8M into Kconfig

2018-01-09 Thread Peng Fan
Add i.MX8M into Kconfig, create a new folder mx8m dedicated for i.MX8M. Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam Cc: Stefano Babic --- arch/arm/Kconfig | 14 +++--- arch/arm/Makefile | 4

[U-Boot] [PATCH V4 09/32] imx: cpu: update cpu file to support i.MX8M

2018-01-09 Thread Peng Fan
Update get_reset_cause to reflect i.MX8M Compile out get_ahb_clk and set_chipselect_size for i.MX8M Signed-off-by: Peng Fan Reviewed-by: Stefano Babic Reviewed-by: Fabio Estevam --- arch/arm/mach-imx/cpu.c | 11 ++- 1 file

[U-Boot] [PATCH V4 11/32] imx: add i.MX8MQ SoC Revision and is_mx8m helper

2018-01-09 Thread Peng Fan
Add i.MX8MQ SoC Revision Add is_mx8m helper The 7ULP is a dummy number, so use 0xEx. Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-imx/cpu.h | 6 --

[U-Boot] [PATCH V4 10/32] imx: spl: implement spl_boot_device for i.MX8M

2018-01-09 Thread Peng Fan
Implement spl_boot_device for i.MX8M. Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam Cc: Stefano Babic --- arch/arm/mach-imx/spl.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH V4 08/32] imx: boot_mode: add USB_BOOT entry

2018-01-09 Thread Peng Fan
Add USB_BOOT entry. Signed-off-by: Peng Fan Reviewed-by: Stefano Babic Reviewed-by: Fabio Estevam --- arch/arm/include/asm/mach-imx/boot_mode.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH V4 06/32] imx: mx8m: add clock driver

2018-01-09 Thread Peng Fan
Add clock driver to support i.MX8M. There are two kind PLLs, FRAC pll and SSCG pll. ROM already configured SYS PLL1/2, we only need to configure the output. ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/ enet clock are configured in the code. Signed-off-by: Peng Fan

[U-Boot] [PATCH V4 04/32] imx: mx8m: add pin header file

2018-01-09 Thread Peng Fan
Add pin header file for i.MX8M Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-mx8m/mx8mq_pins.h | 623 1 file changed, 623 insertions(+) create mode

[U-Boot] [PATCH V4 07/32] imx: add sip function

2018-01-09 Thread Peng Fan
Add SiP (Silicon Provider) services function to issue SMC call to Arm Trusted Firmware. More SiP information could be found in https://github.com/ARM-software/arm-trusted-firmware/blob/master/ docs/arm-sip-service.rst Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH 1/6] mach-omap2: add AM335x Display PLL register definition

2018-01-09 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 07:58:42 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > Adds the register definition of the Display DPLL > > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin ___ U-Boot mailing list

Re: [U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-09 Thread Jorge Ramirez
On 01/09/2018 04:37 AM, Peter Robinson wrote: +#if CONFIG_IS_ENABLED(OF_SEPARATE) +/* + * For CONFIG_OF_SEPARATE, the board may optionally implement this to + * provide and/or fixup the fdt. + */ +__weak void *board_fdt_blob_setup(void) +{ + void *fdt_blob = NULL; +#ifdef CONFIG_SPL_BUILD

Re: [U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-09 Thread Peter Robinson
On Tue, Jan 9, 2018 at 7:59 AM, Jorge Ramirez wrote: > On 01/09/2018 04:37 AM, Peter Robinson wrote: > > +#if CONFIG_IS_ENABLED(OF_SEPARATE) > +/* > + * For CONFIG_OF_SEPARATE, the board may optionally implement this to > + * provide and/or fixup the fdt. > + */ >

Re: [U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-09 Thread Jorge Ramirez
On 01/09/2018 09:09 AM, Peter Robinson wrote: On Tue, Jan 9, 2018 at 7:59 AM, Jorge Ramirez wrote: On 01/09/2018 04:37 AM, Peter Robinson wrote: +#if CONFIG_IS_ENABLED(OF_SEPARATE) +/* + * For CONFIG_OF_SEPARATE, the board may optionally implement this to + *

Re: [U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-09 Thread Jorge Ramirez
On 01/09/2018 10:09 AM, Jorge Ramirez wrote: On 01/09/2018 09:16 AM, Jorge Ramirez wrote: On 01/09/2018 09:09 AM, Peter Robinson wrote: On Tue, Jan 9, 2018 at 7:59 AM, Jorge Ramirez wrote: On 01/09/2018 04:37 AM, Peter Robinson wrote: +#if

[U-Boot] [PATCH 1/7] libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.c

2018-01-09 Thread Masahiro Yamada
The only difference between scripts/dtc/libfdt/fdt_rw.c and lib/libfdt/fdt_rw.c is fdt_remove_unused_strings(). It is only used by fdtgrep, so we do not need to compile it for U-Boot image. Move it to tools/libfdt/fdw_rw.c so that lib/libfdt/fdt_rw.c can be a wrapper of

[U-Boot] [PATCH 7/7] libfdt: migrate include/libfdt_env.h to a wrapper

2018-01-09 Thread Masahiro Yamada
libfdt_env.h is supposed to provide system-dependent defines. scripts/dtc/libfdt/libfdt_env.h from upstream DTC is suitable for user-space, so we should use this for USE_HOSTCC case. For compiling U-Boot, we need to override such system-dependent defines, so use imported from Linux. I can rip

Re: [U-Boot] sdhci - review?

2018-01-09 Thread Jorge Ramirez
On 11/20/2017 01:52 PM, Jorge Ramirez wrote: On 11/10/2017 01:29 PM, Jorge Ramirez wrote: On 11/07/2017 11:48 PM, Tom Rini wrote: On Tue, Nov 07, 2017 at 08:13:02AM +0100, Jorge Ramirez wrote: On 11/07/2017 12:28 AM, Tom Rini wrote: Hey all, It's release day and v2017.11-rc4 is out.  It's a

Re: [U-Boot] [PATCH 3/3] spi: cadence_qspi_apb: Make flash writes 32 bit aligned

2018-01-09 Thread Vignesh R
On Tuesday 09 January 2018 11:31 AM, Goldschmidt Simon wrote: > On Mon, 08/01/2018 12:18, Vignesh R wrote: >> Make flash writes 32 bit aligned by using bounce buffers to deal with non 32 >> bit >> aligned buffers. Allocate a 512 byte bounce buffer (max known page size >> currently) for this

[U-Boot] [PATCH 6/7] libfdt: migrate libfdt.h to a wrapper

2018-01-09 Thread Masahiro Yamada
Remove the tons of code duplication between include/libfdt.h and sciprts/dtc/libfdt/libfdt.h. I am keeping U-Boot local code in include/libfdt.h. Signed-off-by: Masahiro Yamada --- include/libfdt.h | 1856 +- 1

Re: [U-Boot] [PATCH 3/6] am335x-fb: cosmetic: fix coding style

2018-01-09 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 07:58:44 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-09 Thread Jorge Ramirez
On 01/09/2018 09:16 AM, Jorge Ramirez wrote: On 01/09/2018 09:09 AM, Peter Robinson wrote: On Tue, Jan 9, 2018 at 7:59 AM, Jorge Ramirez wrote: On 01/09/2018 04:37 AM, Peter Robinson wrote: +#if CONFIG_IS_ENABLED(OF_SEPARATE) +/* + * For CONFIG_OF_SEPARATE,

[U-Boot] [PATCH 3/7] tools: include necessary headers explicitly

2018-01-09 Thread Masahiro Yamada
Several host-tools use "bool" type without including . This relies on the crappy header inclusion chain. tools/Makefile has the following line: HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ All host-tools are forced to include libfdt_env.h even if they are totally unrelated

Re: [U-Boot] [PATCH 5/6] board/BuR: provide real clock-frequency instead a divider

2018-01-09 Thread Anatolij Gustschin
Hi Hannes, On Tue, 9 Jan 2018 07:58:46 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: ... > - dtbprop = FDTPROP(PATHTIM, "clock-frequency"); > - if (dtbprop != ~0UL) > - pnltmp.pxl_clk_div = 19200 / dtbprop; > - else > - pnltmp.pxl_clk_div = ~0UL; > +

Re: [U-Boot] [PATCH 6/6] board/BuR: drop LCDC clock manipulation from board code

2018-01-09 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 07:58:47 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > The clock selection is done now from the am335x-fb code, so there is no > more need doing this in the board code. > > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin

Re: [U-Boot] [PATCH 04/07] fdtdec: allow board to provide fdt for CONFIG_OF_SEPARATE

2018-01-09 Thread Peter Robinson
>>> On Tue, Jan 9, 2018 at 7:59 AM, Jorge Ramirez >>> wrote: On 01/09/2018 04:37 AM, Peter Robinson wrote: +#if CONFIG_IS_ENABLED(OF_SEPARATE) +/* + * For CONFIG_OF_SEPARATE, the board may optionally implement this to + * provide

Re: [U-Boot] [PATCH 2/6] am335x-fb: cosmetic: update-copyright

2018-01-09 Thread Anatolij Gustschin
On Tue, 9 Jan 2018 07:58:43 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: > Signed-off-by: Hannes Schmelzer Reviewed-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 05/05] db820c: stop autoboot when vol- pressed

2018-01-09 Thread Jorge Ramirez
On 01/09/2018 03:52 AM, Peter Robinson wrote: +++ b/board/qualcomm/dragonboard820c/dragonboard820c.c @@ -1,7 +1,7 @@ /* * Board init file for Dragonboard 820C * - * (C) Copyright 2017 Jorge Ramirez-Ortiz + * (C) Copyright 2017 Jorge

Re: [U-Boot] [PATCH 5/6] board/BuR: provide real clock-frequency instead a divider

2018-01-09 Thread Hannes Schmelzer
Am 09.01.2018 um 09:28 schrieb Anatolij Gustschin: Hi Hannes, Hi Anatoli, On Tue, 9 Jan 2018 07:58:46 +0100 Hannes Schmelzer oe5...@oevsv.at wrote: ... - dtbprop = FDTPROP(PATHTIM, "clock-frequency"); - if (dtbprop != ~0UL) - pnltmp.pxl_clk_div = 19200 /

[U-Boot] [PATCH 5/7] libfdt: move working_fdt and FDT_RAMDISK_OVERHEAD to include/libfdt.h

2018-01-09 Thread Masahiro Yamada
libfdt_env.h exists to contain system-dependent defines: - typedef of fdt*_t - fdt*_to_cpu(), cpu_to_fdt* working_fdt and FDT_RAMDISK_OVERHEAD are unrelated to the environment, so they must get out of this header. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH 2/7] libfdt: fix

2018-01-09 Thread Masahiro Yamada
I do not remember why, but this is apparently a file-copy mistake. The file name is libfdt.h, but its content is that of libfdt_env.h Re-import it from upstream Linux. Signed-off-by: Masahiro Yamada --- include/linux/libfdt.h | 22 +++--- 1 file

Re: [U-Boot] sdhci - review?

2018-01-09 Thread Jorge Ramirez
On 01/09/2018 10:48 AM, Jorge Ramirez wrote: On 11/20/2017 01:52 PM, Jorge Ramirez wrote: On 11/10/2017 01:29 PM, Jorge Ramirez wrote: On 11/07/2017 11:48 PM, Tom Rini wrote: On Tue, Nov 07, 2017 at 08:13:02AM +0100, Jorge Ramirez wrote: On 11/07/2017 12:28 AM, Tom Rini wrote: Hey all,

Re: [U-Boot] [PATCH v2 01/12] riscv: cpu: Add nx25 to support RISC-V

2018-01-09 Thread Tom Rini
On Tue, Jan 09, 2018 at 01:47:23PM +0800, 陳建志 wrote: > Hi Tom > > How about the Andes NX25 cpu for RISC-V arch patchsets [PATCH v2 x/12] > reviewing status ? > Is everything ok ? Yes, I think everything is OK. Can you please also include an update to .travis.yml that gets the architecture to be

[U-Boot] [PATCH V3 04/31] time: add wait_mask_set/clr_timeout helper functions

2018-01-09 Thread Peng Fan
Add heler functions for wait mask set/clr. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam Cc: Masahiro Yamada Cc: Simon Glass --- include/linux/delay.h | 4

[U-Boot] [PATCH V3 05/31] imx: mx8m: add clock driver

2018-01-09 Thread Peng Fan
Add clock driver to support i.MX8M. There are two kind PLLs, FRAC pll and SSCG pll. ROM already configured SYS PLL1/2, we only need to configure the output. ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/ enet clock are configured in the code. Signed-off-by: Peng Fan

[U-Boot] [PATCH V3 07/31] imx: boot_mode: add USB_BOOT entry

2018-01-09 Thread Peng Fan
Add USB_BOOT entry. Signed-off-by: Peng Fan Reviewed-by: Stefano Babic Reviewed-by: Fabio Estevam --- arch/arm/include/asm/mach-imx/boot_mode.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH V3 10/31] imx: add i.MX8MQ SoC Revision and is_mx8m helper

2018-01-09 Thread Peng Fan
Add i.MX8MQ SoC Revision Add is_mx8m helper The 7ULP is a dummy number, so use 0xEx. Signed-off-by: Peng Fan Reviewed-by: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-imx/cpu.h | 6 --

[U-Boot] [PATCH V3 18/31] imx: cpu: support get_boot_device for i.MX8M

2018-01-09 Thread Peng Fan
Enable get_boot_device for i.MX8M, it supports boot type USB. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- arch/arm/mach-imx/cpu.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

  1   2   3   >