[U-Boot] Pull request: u-boot-riscv/master

2020-02-09 Thread uboot
Hi Tom, Please pull some riscv updates: - Fix ax25-ae350.rst document. - Refine RISC-V linker script and start.S. - Add option to print more information on exception. https://travis-ci.org/rickchen36/u-boot-riscv/builds/646697243 Thanks Rick The following changes since commit e1dff2d69e5a21a6

Re: dm, serial: problem with using ns16550 driver before relocation on mpc83xx

2020-02-09 Thread Heiko Schocher
Hello Mario, Am 10.02.2020 um 07:16 schrieb Mario Six: Hi Heiko, On Fri, Feb 7, 2020 at 6:53 AM Heiko Schocher wrote: Hi Simon, removed Dirk from cc and added Mario Six @Mario: Dirk is maintainer of the gazerbeam board: https://gitlab.denx.de/u-boot/u-boot/blob/master/board/gdsys/mpc8308/

[Patch v2 1/2] configs: ls2080ardb: Make MC_INIT access flash memory as per spi-mem

2020-02-09 Thread Kuldeep Singh
MC_INIT command currently access spi-nor flash memory directly. As per spi-mem framework, flash memory access via absolute addresses is no more possible. Use flash APIs to access memory instead of directly using it. Signed-off-by: Kuldeep Singh --- v2: -Rebase to top -reword commit message incl

[Patch v2 2/2] configs: ls2080ardb: Make BOOT command access flash memory as per spi-mem

2020-02-09 Thread Kuldeep Singh
BOOT command currently access spi-nor flash memory directly. As per spi-mem framework, flash memory access via absolute addresses is no more possible. Use flash APIs to access memory instead of directly using it. Signed-off-by: Kuldeep Singh --- v2: -Rebase to top -Reword commit message include

Re: [PATCH 1/1] doc: fix AX25-AE350 RISC-V documentation

2020-02-09 Thread Rick Chen
Hi Heinrich > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Saturday, February 08, 2020 5:38 AM > To: Rick Jian-Zhi Chen(陳建志) > Cc: Bin Meng; Tom Rini; U-Boot Mailing List > Subject: Re: [PATCH 1/1] doc: fix AX25-AE350 RISC-V documentation > > On 2/4/20 3:50 PM, Bin Meng wrote: > >

[PATCH] board: lx2160aqds: Add board fixup for PCIe nodes.

2020-02-09 Thread Vikas Singh
Update "board_fix_fdt" with correct counter value "i". This will fix the issue while fetching the "reg_names" resource from fdt after fixup. Signed-off-by: Vikas Singh --- board/freescale/lx2160a/lx2160a.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/lx2160a/lx2160a.c b/b

Re: dm, serial: problem with using ns16550 driver before relocation on mpc83xx

2020-02-09 Thread Mario Six
Hi Heiko, On Fri, Feb 7, 2020 at 6:53 AM Heiko Schocher wrote: > > Hi Simon, > > removed Dirk from cc and added Mario Six > > @Mario: Dirk is maintainer of the gazerbeam board: > > https://gitlab.denx.de/u-boot/u-boot/blob/master/board/gdsys/mpc8308/MAINTAINERS#L2 > > but EMail get not delivered

[PATCH] arm: mach-k3: Fix nomenclature on Silicon Revisions

2020-02-09 Thread Lokesh Vutla
Data manual mentions the new silicon revisions as SR instead of PG. Use the same nomenclature inside U-Boot as well. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c

Re: [PATCH] omap: move GPIO_TO_PIN macro to asm/arch-am33xx/gpio

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:22 AM, Dario Binacchi wrote: > It's a generic macro like the others found in gpio.h which can now also > be used in other modules besides the one in which it was previously > defined. hmm.. who is the user of this macro? Any drivers should directly use gpio uclass apis. These boa

Re: [PATCH 10/11] arm: fdt: omap: update dts panel node

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Add the "u-boot,dm-pre-reloc" property to the "ti,tilcdc,panel" > compatible node. In this way the video-uclass module can allocate the > amount of memory needed to be assigned to the frame buffer. hmm..why do you need to add pre-reloc for allocatin

Re: [PATCH 09/11] video: omap: add support for DM/DTS

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Update the driver to support the device tree and the driver model. > Timings and panel parameters are now loaded from the device tree. > > The DM code replaces the am335x_lcdpanel structure with > tilcdc_panel_info taken from the linux kernel, as we

Re: [PATCH 07/11] video: omap: add loop exit conditions to the dpll setup

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > In case of null error, round rate is equal to target rate, so it is > useless to continue to search the DPLL setup parameters to get the > desidered pixel clock rate. > > Signed-off-by: Dario Binacchi Reviewed-by: Lokesh Vutla Thanks and regards

Re: [PATCH 06/11] video: omap: fix debug message

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > "DISP" -> "DIV" > > Signed-off-by: Dario Binacchi Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 01/11] video: omap: use BIT() macro

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Use the standard BIT() macro for bitfield definitions. > > Signed-off-by: Dario Binacchi Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 02/11] video: omap: add missing bitfield masks

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Add, if missing, the bitfield masks in the setting macros of the LCD > controller registers. may be cleaner to use GENMASK Thanks and regards, Lokesh > > Signed-off-by: Dario Binacchi > --- > > drivers/video/am335x-fb.c | 10 +- > 1 fi

RE: [PATCH 1/2] board: solidrun lx2160a-cex7: new board

2020-02-09 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Baruch Siach >Sent: Thursday, February 6, 2020 5:16 PM >To: Priyanka Jain >Cc: u-boot@lists.denx.de; Rabeeh Khoury >Subject: Re: [PATCH 1/2] board: solidrun lx2160a-cex7: new board > >Hi Priyanka, > >On Thu, Jan 23, 2020 at 11:42:56AM +0200,

RE: net: porting qe driver to DM

2020-02-09 Thread Qiang Zhao
Hi, I will work on porting driver/qe to DM. Best Regards Qiang Zhao > -Original Message- > From: Ran Wang > Sent: 2020年2月3日 18:23 > To: h...@denx.de; u-boot@lists.denx.de; Qiang Zhao > Cc: Mario Six ; York Sun ; Xiaobo Xie > > Subject: RE: net: porting qe driver to DM > > Add Qiang >

Re: [PATCH 1/1] net: designware: speed should be in a debug message

2020-02-09 Thread Bin Meng
Hi Heinrich, On Sun, Feb 9, 2020 at 11:58 AM Heinrich Schuchardt wrote: > > On 2/9/20 3:59 AM, Bin Meng wrote: > > On Sun, Feb 9, 2020 at 8:38 AM Heinrich Schuchardt > > wrote: > >> > >> The network connection speed is a debug information. So we should use > >> debug() and not printf(). > >> >

Re: [PATCH] dm: fix design.rst document

2020-02-09 Thread Bin Meng
On Mon, Feb 10, 2020 at 2:57 AM Dario Binacchi wrote: > > The patch fixes some errors. > > Signed-off-by: Dario Binacchi > --- > > doc/driver-model/design.rst | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Reviewed-by: Bin Meng

Re: [PATCH v2 1/2] rockchip: rk3399: split roc-pc-rk3399 out of evb_rk3399

2020-02-09 Thread Kever Yang
On 2020/2/3 下午9:50, su...@amarulasolutions.com wrote: From: Suniel Mahesh roc-pc-rk3399 board has one user button & three user LED's. Currently we don't have any code support for these devices. Since button and LED's are specific to roc-pc-rk3399 board, split it into its own board file and ad

Re: [PATCH v2 2/2] board: roc-pc-rk3399: Add support for onboard LED's and push button to indicate power mode

2020-02-09 Thread Kever Yang
On 2020/2/3 下午9:50, su...@amarulasolutions.com wrote: From: Suniel Mahesh Added support for onboard LED's and push button. When powered board will be in low power mode(yellow LED), on button press, board enters full power mode (red LED) and boots u-boot. Signed-off-by: Suniel Mahesh Revie

Re: [PATCH 1/1] log: output for CONFIG_LOG=n

2020-02-09 Thread Heinrich Schuchardt
On 2/9/20 11:21 PM, Sean Anderson wrote: On 2/9/20 4:59 PM, Heinrich Schuchardt wrote: If CONFIG_LOG=n, we should still output errors, warnings, notices, infos, and for DEBUG=1 also debug messages. Signed-off-by: Heinrich Schuchardt Why not just change the default for CONFIG_LOG to y? This i

Re: [PATCH 1/1] log: output for CONFIG_LOG=n

2020-02-09 Thread Sean Anderson
On 2/9/20 4:59 PM, Heinrich Schuchardt wrote: > If CONFIG_LOG=n, we should still output errors, warnings, notices, infos, > and for DEBUG=1 also debug messages. > > Signed-off-by: Heinrich Schuchardt Why not just change the default for CONFIG_LOG to y? This is effectively the same, except it sti

[PATCH 1/1] log: output for CONFIG_LOG=n

2020-02-09 Thread Heinrich Schuchardt
If CONFIG_LOG=n, we should still output errors, warnings, notices, infos, and for DEBUG=1 also debug messages. Signed-off-by: Heinrich Schuchardt --- include/log.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/log.h b/include/log.h index 62fb8afbd0..04538

[PATCH] dm: fix design.rst document

2020-02-09 Thread Dario Binacchi
The patch fixes some errors. Signed-off-by: Dario Binacchi --- doc/driver-model/design.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/driver-model/design.rst b/doc/driver-model/design.rst index 8fd28c0f52..5247ecc276 100644 --- a/doc/driver-model/design.rst

[PATCH] omap: move GPIO_TO_PIN macro to asm/arch-am33xx/gpio

2020-02-09 Thread Dario Binacchi
It's a generic macro like the others found in gpio.h which can now also be used in other modules besides the one in which it was previously defined. Signed-off-by: Dario Binacchi --- arch/arm/include/asm/arch-am33xx/gpio.h | 3 +++ board/ti/am335x/board.c | 1 - 2 files changed,

[PATCH 11/11] fdt: video: omap: add framebuffer and panel bindings

2020-02-09 Thread Dario Binacchi
Add device-tree binding documentation for ti framebuffer and generic panel output driver. Signed-off-by: Dario Binacchi --- .../video/tilcdc/panel.txt| 66 +++ .../video/tilcdc/tilcdc.txt | 82 +++ 2 files changed, 148 insertions

[PATCH 10/11] arm: fdt: omap: update dts panel node

2020-02-09 Thread Dario Binacchi
Add the "u-boot,dm-pre-reloc" property to the "ti,tilcdc,panel" compatible node. In this way the video-uclass module can allocate the amount of memory needed to be assigned to the frame buffer. Signed-off-by: Dario Binacchi --- arch/arm/dts/am335x-brppt1-mmc.dts | 2 ++ arch/arm/dts/am335x-brp

[PATCH 05/11] video: omap: rename LCD controller registers

2020-02-09 Thread Dario Binacchi
Add more clarity by prefixing the name of the register to the bitfields. Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 107 +++--- 1 file changed, 54 insertions(+), 53 deletions(-) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.

[PATCH 09/11] video: omap: add support for DM/DTS

2020-02-09 Thread Dario Binacchi
Update the driver to support the device tree and the driver model. Timings and panel parameters are now loaded from the device tree. The DM code replaces the am335x_lcdpanel structure with tilcdc_panel_info taken from the linux kernel, as well the management of additional parameters not covered in

[PATCH 07/11] video: omap: add loop exit conditions to the dpll setup

2020-02-09 Thread Dario Binacchi
In case of null error, round rate is equal to target rate, so it is useless to continue to search the DPLL setup parameters to get the desidered pixel clock rate. Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/d

[PATCH 06/11] video: omap: fix debug message

2020-02-09 Thread Dario Binacchi
"DISP" -> "DIV" Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index 02299107af..779032396e 100644 --- a/drivers/video/am335x-fb.c +++ b/drivers/video/am335x-fb

[PATCH 08/11] video: omap: create two routines to set the pixel clock rate

2020-02-09 Thread Dario Binacchi
Created in preparation to support driver-model, they can also be called from legacy code. In this way, code duplication is avoided. Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 130 -- 1 file changed, 97 insertions(+), 33 deletions(-) diff -

[PATCH 04/11] video: omap: fix bitfields order

2020-02-09 Thread Dario Binacchi
Arrange the bitfields of each register in the ascending order. Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index 17476f5b72..

[PATCH 00/11] Add DM/DTS support for omap video driver

2020-02-09 Thread Dario Binacchi
Changes: * Fix coding style * Refactor some parts of the driver * Add support for driver model and device-tree * Update the boards device-tree * Add device-tree binding documentation Dario Binacchi (11): video: omap: use BIT() macro video: omap: add missing bitfield masks video: oma

[PATCH 01/11] video: omap: use BIT() macro

2020-02-09 Thread Dario Binacchi
Use the standard BIT() macro for bitfield definitions. Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 16 drivers/video/am335x-fb.h | 12 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335

[PATCH 02/11] video: omap: add missing bitfield masks

2020-02-09 Thread Dario Binacchi
Add, if missing, the bitfield masks in the setting macros of the LCD controller registers. Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index 18e3b

[PATCH 03/11] video: omap: fix coding style on use of spaces

2020-02-09 Thread Dario Binacchi
Use one space around (on each side of) the binary '-' operator. Signed-off-by: Dario Binacchi --- drivers/video/am335x-fb.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c index ed445546ec..17476f5b

Re: [U-Boot] [PATCH] net: eth-uclass: Remove warning about ROM MAC address

2020-02-09 Thread Joe Hershberger
On Tue, Jan 28, 2020 at 10:33 AM Fabio Estevam wrote: > > Hi Joe, > > Ping > > On Mon, Jan 6, 2020 at 8:32 PM Fabio Estevam wrote: > > > > Hi Joe, > > > > On Wed, Dec 11, 2019 at 8:54 AM Schrempf Frieder > > wrote: > > > > > > On 11.10.19 01:00, Soeren Moch wrote: > > > > Using a MAC address fro

Re: [PATCHv6 4/5] arm: dts: g12: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Anand Moon
Hi Neil, Thanks for your review comments. On Sun, 9 Feb 2020 at 18:28, Neil Armstrong wrote: > > Hi, > > Le 09/02/2020 à 12:05, Anand Moon a écrit : > > Move u-boot specific common nodes in the dts files to > > meson-g12-common-u-boot.dtsi. This allows us to keep the basic > > dts[i] files up-to

Re: [PATCHv6 3/5] arm: dts: gx: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Anand Moon
Hi Neil, Thanks for your review. On Sun, 9 Feb 2020 at 18:28, Neil Armstrong wrote: > > Hi, > > Le 09/02/2020 à 12:05, Anand Moon a écrit : > > Move u-boot specific common nodes in the dts files to > > meson-gx-u-boot.dtsi. This allows us to keep the basic > > dts[i] files up-to-date with the on

Re: [PATCHv6 5/5] arm: dts: s400: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Anand Moon
hi Neil, Thanks for your review comments. On Sun, 9 Feb 2020 at 18:29, Neil Armstrong wrote: > > Hi, > > Le 09/02/2020 à 12:05, Anand Moon a écrit : > > Move u-boot specific common nodes in the dts files to > > meson-axg-s400-u-boot.dtsi. This allows us to keep the basic > > dts[i] files up-to-d

Re: [PATCHv6 2/5] mmc: meson-gx: Use proper compatible string as per the dts

2020-02-09 Thread Anand Moon
Hi Neil Thanks for your review comments. On Sun, 9 Feb 2020 at 18:31, Neil Armstrong wrote: > > Hi, > > Le 09/02/2020 à 12:05, Anand Moon a écrit : > > Use proper compatible string as per the dts so that mmc driver > > could be tuned properly. SoC family S905, S905X have common clk > > tuning pa

Re: [PATCHv6 1/5] mmc: meson-gx: Fix clk phase tuning for MMC

2020-02-09 Thread Anand Moon
Hi Neil, Thanks for you review comments. On Sun, 9 Feb 2020 at 18:38, Neil Armstrong wrote: > > Hi, > > Le 09/02/2020 à 12:05, Anand Moon a écrit : > > As per mainline line kernel fix the clk tuning phase for mmc, > > set Core=180, Tx=0, Rx=0 clk phase for mmc initialization. > > As per S905, S9

Re: [U-Boot] logging

2020-02-09 Thread Simon Glass
Hi Heinrich, On Sun, 9 Feb 2020 at 05:08, Heinrich Schuchardt wrote: > > Hello Simon, > > I would like to convert printf and debug messages in the UEFI sub-system > to log messages. > > Currently if CONFIG_LOG=n, log_*() functions are mapped to log_nop(). So > no output is provided independent of

Re: [PATCH v2 02/10] mmc: Add init() API

2020-02-09 Thread Wolfgang Denk
Dear Faiz, In message <04e0144c-cad3-d242-0393-ba33afa3d...@ti.com> you wrote: > > > I am in the cc list of your first mail, but not from Simon's reply mail. > > So Peng got the email but the list is dropping CCs after it gets them. > How do I avoid this in the future? Should I always add maintain

Re: [PATCH v3 1/6] net: introduce DSA class for Ethernet switches

2020-02-09 Thread Vladimir Oltean
Hi Alex, On Tue, 3 Dec 2019 at 17:32, Alex Marginean wrote: > > DSA stands for Distributed Switch Architecture and it covers switches that > are connected to the CPU through an Ethernet link and generally use frame > tags to pass information about the source/destination ports to/from CPU. > Front

Re: [PATCHv6 1/5] mmc: meson-gx: Fix clk phase tuning for MMC

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > As per mainline line kernel fix the clk tuning phase for mmc, > set Core=180, Tx=0, Rx=0 clk phase for mmc initialization. > As per S905, S905X, AGX and S922X datasheet set the default > values for clk tuning. > > Signed-off-by: Anand Moon > ---

Re: [PATCHv6 2/5] mmc: meson-gx: Use proper compatible string as per the dts

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > Use proper compatible string as per the dts so that mmc driver > could be tuned properly. SoC family S905, S905X have common clk > tuning parameters setting, while AGX and G12 have common clk tuning > parameters setting for mmc driver. > > Suggest

Re: [PATCHv6 4/5] arm: dts: g12: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > Move u-boot specific common nodes in the dts files to > meson-g12-common-u-boot.dtsi. This allows us to keep the basic > dts[i] files up-to-date with the ones in kernel, > but at the same time allowing the u-boot to add its own > properties to the

Re: [PATCHv6 5/5] arm: dts: s400: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > Move u-boot specific common nodes in the dts files to > meson-axg-s400-u-boot.dtsi. This allows us to keep the basic > dts[i] files up-to-date with the ones in kernel, > but at the same time allowing the u-boot to add its own > properties to the ex

Re: [PATCHv6 3/5] arm: dts: gx: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > Move u-boot specific common nodes in the dts files to > meson-gx-u-boot.dtsi. This allows us to keep the basic > dts[i] files up-to-date with the ones in kernel, > but at the same time allowing the u-boot to add its own > properties to the existing

[U-Boot] logging

2020-02-09 Thread Heinrich Schuchardt
Hello Simon, I would like to convert printf and debug messages in the UEFI sub-system to log messages. Currently if CONFIG_LOG=n, log_*() functions are mapped to log_nop(). So no output is provided independent of the criticality of the message. What I would like to do is map log_err() to printf

Re: [yocto] Support UBI u-boot

2020-02-09 Thread JH
Anyway, hacked the Makefile and mtdpart.c, finally got it compiled to support UBI. I think some latest branch might fix the problems I haven't tested, if not, I am happy to make patches. Thank you all. Kind regards, - jh On 2/9/20, JH wrote: > Changed to https://source.codeaurora.org/external/

[PATCHv6 5/5] arm: dts: s400: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Anand Moon
Move u-boot specific common nodes in the dts files to meson-axg-s400-u-boot.dtsi. This allows us to keep the basic dts[i] files up-to-date with the ones in kernel, but at the same time allowing the u-boot to add its own properties to the existing nodes. Also add missing mmc alias to dts nodes to av

[PATCHv6 4/5] arm: dts: g12: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Anand Moon
Move u-boot specific common nodes in the dts files to meson-g12-common-u-boot.dtsi. This allows us to keep the basic dts[i] files up-to-date with the ones in kernel, but at the same time allowing the u-boot to add its own properties to the existing nodes. Also add missing mmc alias to dts nodes to

[PATCHv6 2/5] mmc: meson-gx: Use proper compatible string as per the dts

2020-02-09 Thread Anand Moon
Use proper compatible string as per the dts so that mmc driver could be tuned properly. SoC family S905, S905X have common clk tuning parameters setting, while AGX and G12 have common clk tuning parameters setting for mmc driver. Suggested-by: Neil Armstrong Signed-off-by: Anand Moon --- No chan

[PATCHv6 3/5] arm: dts: gx: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Anand Moon
Move u-boot specific common nodes in the dts files to meson-gx-u-boot.dtsi. This allows us to keep the basic dts[i] files up-to-date with the ones in kernel, but at the same time allowing the u-boot to add its own properties to the existing nodes. Also add missing mmc alias to dts nodes to avoid be

[PATCHv6 0/5] Odroid n2 using eMMC would fail to boot up

2020-02-09 Thread Anand Moon
Here are some small changes to fix booting of Odroid N2 using eMMC. Fixed the clk tunnig during mmc initialization. Added two new patches to fix warning Build and tested on top of below patches [0] https://patchwork.ozlabs.org/patch/1213648/ [1] https://patchwork.ozlabs.org/patch/1213650/ Tested

[PATCHv6 1/5] mmc: meson-gx: Fix clk phase tuning for MMC

2020-02-09 Thread Anand Moon
As per mainline line kernel fix the clk tuning phase for mmc, set Core=180, Tx=0, Rx=0 clk phase for mmc initialization. As per S905, S905X, AGX and S922X datasheet set the default values for clk tuning. Signed-off-by: Anand Moon --- Changes from previous v5 Fix the commit message, configure as

Re: [yocto] Support UBI u-boot

2020-02-09 Thread JH
Changed to https://source.codeaurora.org/external/imx/uboot-imx.git branch imx_v2018.03_4.14.98_2.0.0_ga, it can now support CONFIG_CMD_MTDPARTS ind defconfg, all MTDPARTS error gone, but then 2018.03-r0/git/cmd/ubi.c missed dependencies of del_mtd_partitions, add_mtd_partitions, mtd_get_device_siz