[U-Boot] [PATCH 4/4] net: NC-SI setup and handling

2019-06-05 Thread Samuel Mendoza-Jonas
Add the handling of NC-SI ethernet frames, and add a check at the start of net_loop() to configure NC-SI before starting other network commands. This also adds an "ncsi" command to manually start NC-SI configuration. Signed-off-by: Samuel Mendoza-Jonas --- cmd/Kconfig | 6 ++ cmd/net.c

[U-Boot] [PATCH 3/4] net/ftgmac100: Add NC-SI mode support

2019-06-05 Thread Samuel Mendoza-Jonas
Update the ftgmac100 driver to support NC-SI instead of an mdio phy where available. This is a common setup for Aspeed AST2x00 platforms. NC-SI mode is determined from the device-tree if either phy-mode sets it or the use-ncsi property exists. If set then normal mdio setup is skipped in favour of

[U-Boot] [PATCH 1/4] phy: Add support for the NC-SI protocol

2019-06-05 Thread Samuel Mendoza-Jonas
This introduces support for the NC-SI protocol, modelled as a phy driver for other ethernet drivers to consume. NC-SI (Network Controller Sideband Interface) is a protocol to manage a sideband connection to a proper network interface, for example a BMC (Baseboard Management Controller) sharing

[U-Boot] [PATCH 2/4] phy: Include NC-SI in phy setup

2019-06-05 Thread Samuel Mendoza-Jonas
Add NC-SI to the usual phy handling. This makes two notable changes: - Somewhat similar to a fixed phy, phy_connect() will create an NC-SI phy if CONFIG_PHY_NCSI is defined. - An early return is added to phy_read() and phy_write() to handle a case like the NC-SI phy which does not define a bus.

[U-Boot] [PATCH 0/4] NC-SI PHY Support

2019-06-05 Thread Samuel Mendoza-Jonas
This series introduces support for the NC-SI protocol to u-boot, functionality which so far has only been available in vendor trees. NC-SI (Network Controller Sideband Interface) is a protocol to manage a sideband connection to a proper network interface, for example a BMC (Baseboard Management

Re: [U-Boot] x86: SPI flash broken with SPI NOR

2019-06-05 Thread Vignesh Raghavendra
On 05/06/19 8:17 PM, Bin Meng wrote: > Hi Vignesh, > > On Wed, Jun 5, 2019 at 9:40 PM Bin Meng wrote: >> >> Hi Vignesh, >> >> On Sat, Apr 27, 2019 at 12:26 AM Vignesh Raghavendra wrote: >>> >>> Bin, >>> >>> On 26/04/19 7:33 PM, Bin Meng wrote: Hi Simon, On Fri, Apr 26, 2019 at

Re: [U-Boot] [PATCH] lib: Makefile: build fdtdec_common.c when OF_LIBFDT selected

2019-06-05 Thread Peng Fan
> Subject: Re: [PATCH] lib: Makefile: build fdtdec_common.c when OF_LIBFDT > selected > > On 5/31/19 5:11 AM, Peng Fan wrote: > > When build SPL_OF_PLATDATA on i.MX6, meet issue the fdtdec_get_int not > > defined, however fdtdec.c will use fdtdec_get_int, so let's compile > > fdtdec_common.c when

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-05 Thread Peng Fan
> Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX > container format file > > On Wed, Jun 05, 2019 at 03:24:40PM +0200, Marek Vasut wrote: > > On 6/5/19 5:03 AM, Peng Fan wrote: > > [...] > > > It is not duplication of FIT. Container support the similar > > >

Re: [U-Boot] i.MX8MM mapped register access causes crashes

2019-06-05 Thread Peng Fan
> Subject: Re: [U-Boot] i.MX8MM mapped register access causes crashes > > On Wed, Jun 5, 2019 at 10:52 PM Peng Fan wrote: > > > You need to pass an arg after `md 0x302d`. Default it will dump a > > lot registers, might 40 registers. It surely will crash, because there > > are only a few

Re: [U-Boot] i.MX8MM mapped register access causes crashes

2019-06-05 Thread Fabio Estevam
On Wed, Jun 5, 2019 at 10:52 PM Peng Fan wrote: > You need to pass an arg after `md 0x302d`. Default it will dump > a lot registers, might 40 registers. It surely will crash, because there > are only a few registers in GPT1 which is the address you are dumping. Other suggestion is to make

Re: [U-Boot] i.MX8MM mapped register access causes crashes

2019-06-05 Thread Peng Fan
> Subject: i.MX8MM mapped register access causes crashes > > Hi Peng, > > I'm still trying to get my i.MX8MM board running with mainline U-Boot. > I'm using your patches and added some modifications, so I'm now able to run > SPL and U-Boot proper. > > One problem I have is, that accessing some

[U-Boot] Pull request, u-boot-tegra/master

2019-06-05 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit 6d93d245c148f10f15724601650fab3a665f102c: Merge git://git.denx.de/u-boot-riscv (2019-06-05 10:07:31

Re: [U-Boot] [PATCH 2/2] mmc: Register only the first MMC device on MMC_TINY

2019-06-05 Thread Ezequiel Garcia
On Sat, 25 May 2019 at 19:26, Ezequiel Garcia wrote: > > When MMC_TINY is enabled, support for only one MMC device > is provided. Boards that register more than one device, > will just write over mmc_static keeping only the last one > registered. > > This commit prevents this, keeping only the

Re: [U-Boot] [PATCH] board/km: update maintainer e-mail

2019-06-05 Thread Tom Rini
On Tue, Jun 04, 2019 at 02:10:32PM +0200, holger.bru...@ch.abb.com wrote: > From: Holger Brunck > > Signed-off-by: Holger Brunck Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH V2] arm: omap3: Manually initialize GPIO if OF_CONTROL doesn't

2019-06-05 Thread Tom Rini
On Wed, May 29, 2019 at 03:42:53PM -0500, Adam Ford wrote: > The commong initialization code manually initializes the GPIO > even when OF_CONTROL does it, so we can reduce the code size a > bit by not doing it manually when we have device tree support. > > Using the omap3_logic board (dm3730),

Re: [U-Boot] [PATCH V2] ARM: DTS: imx6q-logicpd: Resync with Linux 5.1

2019-06-05 Thread Tom Rini
On Fri, May 31, 2019 at 07:09:22AM -0500, Adam Ford wrote: > Resync imx6q-logicpd with Kernel 5.1.5 > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH] ARM: da850evm: Fix reading MAC from SPI

2019-06-05 Thread Tom Rini
On Wed, May 29, 2019 at 09:36:58AM -0500, Adam Ford wrote: > The MAC address is located at at the last 64K of SPI Flash, and > it's 6 bytes long. This patch corrects both the length and > starting byte of the MAC address. > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] [PATCH v3 2/2] ARM: davinci: SPL: fix BSS initialization

2019-06-05 Thread Tom Rini
On Thu, May 30, 2019 at 07:04:55PM +0530, Sekhar Nori wrote: > U-Boot README recommends initializing SDRAM in board_init_f(). DA850 > was doing it as part of board_init_r() (through call to spl_board_init() > which calls arch_cpu_init() which calls da850_ddr_setup()) > > This worked fine till

Re: [U-Boot] [PATCH v2 2/2] arm: davinci: remove leftover assembly

2019-06-05 Thread Tom Rini
On Wed, May 29, 2019 at 10:02:00AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There are no more users of lowlevel_init.S. Remove the file. > > Suggested-by: Adam Ford > Signed-off-by: Bartosz Golaszewski Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH v3 1/2] ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion

2019-06-05 Thread Tom Rini
On Thu, May 30, 2019 at 07:04:54PM +0530, Sekhar Nori wrote: > commit 21af33ed0319 ("ARM: davinci: omapl138_lcdk: Enable DM_MMC") > wanted to enable DM_MMC only for U-Boot and not for SPL. > > But CONFIG_DM_MMC is defined for SPL build too. Because of this > MMC device was not getting registered

Re: [U-Boot] [PATCH] ARM: davinci: Remove ipam390 linker script from Kconfig

2019-06-05 Thread Tom Rini
On Thu, May 30, 2019 at 06:04:44PM -0500, Adam Ford wrote: > With ipam390 support removed in we can remove the reference to the > linker script since that case will never be true. > > Signed-off-by: Adam Ford > Reviewed-by: Bartosz Golaszewski > > diff --git a/arch/arm/mach-davinci/Kconfig

Re: [U-Boot] [PATCH] board: am335x/mux: configure the pins for 8-bit data transfer on MMC1

2019-06-05 Thread Tom Rini
On Thu, May 23, 2019 at 02:07:23PM +0200, Jean-Jacques Hiblot wrote: > This is required for proper operation of the 8-bit data transfers. > This fixes transient errors seen on BeagleBone Black. > > Signed-off-by: Jean-Jacques Hiblot Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH v2 1/2] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-06-05 Thread Tom Rini
On Wed, May 29, 2019 at 10:01:59AM +0200, Bartosz Golaszewski wrote: > From: David Lechner > > This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. > On the EV3, U-Boot is loaded into RAM by another bootloader, so we > don't need the lowlevel init in U-Boot. > >

Re: [U-Boot] [PATCH] board/BuR/common: fix detection for PSC/STM resetcontroller

2019-06-05 Thread Tom Rini
On Fri, May 10, 2019 at 11:22:00AM +0200, Hannes Schmelzer wrote: > Signed-off-by: Hannes Schmelzer Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] cmd/led: check subcommand "list" instead "l"

2019-06-05 Thread Tom Rini
On Mon, May 27, 2019 at 08:14:16AM +0200, Heiko Schocher wrote: > current implementation for checking if "led list" > command is called checks only if "l" is passed to the > led command. This prevents switching leds with name > which starts also with a "l". So check for passing > "list". > >

[U-Boot] [PATCH] doc: Remove duplicated documentation directory

2019-06-05 Thread Breno Matheus Lima
Commit ad7061ed742e ("doc: Move device tree bindings documentation to doc/device-tree-bindings") moved all device tree binding documentation to doc/device-tree-bindings directory. The current U-Boot project still have two documentation directories: - doc/ - Documentation/ Move all

[U-Boot] Pull request for UEFI sub-system for v2019.07-rc4 (2)

2019-06-05 Thread Heinrich Schuchardt
The following changes since commit 8a802a2eefd36865eaa3d927d1db7af63bb2d922: Merge tag 'rockchip-for-v2019.07-rc3' of git://git.denx.de/u-boot-rockchip (2019-05-31 07:17:09 -0400) are available in the Git repository at: git://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc4-2 for you to

Re: [U-Boot] Using fw_setenv to set negative numbers

2019-06-05 Thread Frank Wunderlich
Hi, have you tried quoting your value? fw_setenv bootdelay "-2" or fw_setenv bootdelay '-2' regards Frank > Gesendet: Mittwoch, 05. Juni 2019 um 16:57 Uhr > Von: "Ken Sloat" > An: "u-boot@lists.denx.de" > Cc: "Ken Sloat" > Betreff: [U-Boot] Using fw_setenv to set negative numbers > > Hello,

Re: [U-Boot] [PATCH 1/2] watchdog: Split WDT from SPL_WDT

2019-06-05 Thread Lukasz Majewski
Hi Marek, > On Sun, 12 May 2019 23:34:52 +0200 > Marek Vasut wrote: > > > Use CONFIG_IS_ENABLED(WDT) to permit use of WDT in SPL without DM, > > while the full U-Boot can use rich DM/DT WDT driver. > > > > Signed-off-by: Marek Vasut > > Cc: Peng Fan > > Cc: Stefano Babic > > --- > >

Re: [U-Boot] Using fw_setenv to set negative numbers

2019-06-05 Thread Anatolij Gustschin
On Wed, 5 Jun 2019 15:57:55 + Ken Sloat ksl...@aampglobal.com wrote: ... > How can I set a negative number using the standard command call to fw_setenv? > For example, if want to set bootdelay to a value of -2 (boot without delay), > I currently > cannot just say: > fw_setenv bootdelay -2

[U-Boot] Using fw_setenv to set negative numbers

2019-06-05 Thread Ken Sloat
Hello, I had a question regarding the use of fw_setenv. I am currently running U-Boot 2018.07 How can I set a negative number using the standard command call to fw_setenv? For example, if want to set bootdelay to a value of -2 (boot without delay), I currently cannot just say: fw_setenv

Re: [U-Boot] [PATCH v2 00/12] System Firmware Loader for TI K3 family SoCs

2019-06-05 Thread Andreas Dannenberg
On Wed, Jun 05, 2019 at 11:52:52AM +0530, Lokesh Vutla wrote: > > > On 05/06/19 4:25 AM, Andreas Dannenberg wrote: > > Updated version of the SYSFW loader series for K3 family AM654x devices. > > The fundamantal approach of tapping into the SPL loader framework has > > been kept for reasons

Re: [U-Boot] x86: SPI flash broken with SPI NOR

2019-06-05 Thread Simon Glass
Hi Bin, On Wed, 5 Jun 2019 at 08:47, Bin Meng wrote: > > Hi Vignesh, > > On Wed, Jun 5, 2019 at 9:40 PM Bin Meng wrote: > > > > Hi Vignesh, > > > > On Sat, Apr 27, 2019 at 12:26 AM Vignesh Raghavendra > > wrote: > > > > > > Bin, > > > > > > On 26/04/19 7:33 PM, Bin Meng wrote: > > > > Hi

Re: [U-Boot] [PATCH 1/3] board/friendlyarm: Add support for friendlyarm nanopi neo4 board

2019-06-05 Thread Tom Rini
On Tue, Jun 04, 2019 at 02:17:03PM +0530, Shyam Saini wrote: > This initial support includes: > Linux v5.2-rc1 > Custom U-Boot > Arm Trusted Firmware v2.0 > Buildroot default packages > > Signed-off-by: Shyam Saini > --- > .gitlab-ci.yml

Re: [U-Boot] x86: SPI flash broken with SPI NOR

2019-06-05 Thread Bin Meng
Hi Vignesh, On Wed, Jun 5, 2019 at 9:40 PM Bin Meng wrote: > > Hi Vignesh, > > On Sat, Apr 27, 2019 at 12:26 AM Vignesh Raghavendra wrote: > > > > Bin, > > > > On 26/04/19 7:33 PM, Bin Meng wrote: > > > Hi Simon, > > > > > > On Fri, Apr 26, 2019 at 7:26 AM Simon Glass wrote: > > >> > > >> Hi

Re: [U-Boot] [PATCH] pci: Avoid assigning PCI resources that are below 0x1000

2019-06-05 Thread Stefan Roese
Hi Bin, On 05.06.19 16:10, Bin Meng wrote: Hi Stefan, On Wed, Jun 5, 2019 at 9:53 PM Stefan Roese wrote: On 05.06.19 15:07, Bin Meng wrote: commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from zero address") only moved the bus lower address to 0x1000 if the given bus start

[U-Boot] [PATCH v2] pci: Avoid assigning PCI resources that are below 0x1000

2019-06-05 Thread Bin Meng
commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from zero address") only moved the bus lower address to 0x1000 if the given bus start address is zero. The comment said 0x1000 is a reasonable starting value, hence we'd better apply the same adjustment when the given bus start address is

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

2019-06-05 Thread Tom Rini
On Wed, Jun 05, 2019 at 06:27:38PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > - Support Microchip MPFS Icicle board. > - Enable e1000 and nvme support for qemu. > - Enable PCI host ECAM generic driver for qemu. > - Increase the environment size to 128kB

Re: [U-Boot] Please pull u-boot-marvell/master

2019-06-05 Thread Tom Rini
On Tue, Jun 04, 2019 at 08:39:58AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following Marvell related fix: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH] pci: Avoid assigning PCI resources that are below 0x1000

2019-06-05 Thread Bin Meng
Hi Stefan, On Wed, Jun 5, 2019 at 9:53 PM Stefan Roese wrote: > > On 05.06.19 15:07, Bin Meng wrote: > > commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from > > zero address") only moved the bus lower address to 0x1000 if the > > given bus start address is zero. The comment said

Re: [U-Boot] RSA in U-Boot

2019-06-05 Thread Tom Rini
On Wed, Jun 05, 2019 at 02:27:32PM +0900, AKASHI Takahiro wrote: > Tom, Wolfgang, > > On Wed, May 22, 2019 at 02:48:42PM +0900, AKASHI Takahiro wrote: > > Wolfgang, > > > > Thank you for your comments. > > > > On Fri, May 17, 2019 at 10:47:56AM +0200, Wolfgang Denk wrote: > > > Dear Akashi

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-05 Thread Marek Vasut
On 6/5/19 3:52 PM, Tom Rini wrote: > On Wed, Jun 05, 2019 at 03:24:40PM +0200, Marek Vasut wrote: >> On 6/5/19 5:03 AM, Peng Fan wrote: >> [...] >>> It is not duplication of FIT. Container support the similar function >>> of FIT image, but it is not only that. >> >> So what is it ?

Re: [U-Boot] [RFC 5/6] ARM: dts: colibri_imx7: Add lcdif node

2019-06-05 Thread Igor Opaniuk
Hi Fabio, On Wed, Jun 5, 2019 at 4:29 PM Igor Opaniuk wrote: > > Hi Fabio, > > On Wed, Jun 5, 2019 at 1:06 AM Fabio Estevam wrote: > > > > Hi Igor, > > > > On Mon, Jun 3, 2019 at 6:06 PM Igor Opaniuk wrote: > > > > > + { > > > + u-boot,dm-pre-reloc; > > > + status = "okay"; > > > +

Re: [U-Boot] [PATCH] pci: Avoid assigning PCI resources that are below 0x1000

2019-06-05 Thread Stefan Roese
On 05.06.19 15:07, Bin Meng wrote: commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from zero address") only moved the bus lower address to 0x1000 if the given bus start address is zero. The comment said 0x1000 is a reasonable starting value, hence we'd better apply the same

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-05 Thread Tom Rini
On Wed, Jun 05, 2019 at 03:24:40PM +0200, Marek Vasut wrote: > On 6/5/19 5:03 AM, Peng Fan wrote: > [...] > > It is not duplication of FIT. Container support the similar function > > of FIT image, but it is not only that. > > So what is it ? > >>> > >>> > >>

Re: [U-Boot] [PATCH] imx: Select the pinctrl drivers when DM is used

2019-06-05 Thread Lukasz Majewski
Hi Fabio, > On Fri, 24 May 2019 09:50:53 -0300 > Fabio Estevam wrote: > > > When using device model it is required to select the pinctrl > > drivers so that the pins can be properly configured via > > devicetree. > > > > mx6sabreauto board is an example of a target that uses DM and does > >

Re: [U-Boot] sf probe failed on Intel DNV-NS platform

2019-06-05 Thread Bin Meng
Hi Hilbert, On Tue, Jun 4, 2019 at 7:18 PM Hilbert Tu(杜睿哲_Pegatron) wrote: > > Hi, > > I got following error message when using U-Boot as payload of Coreboot on > Intel DNV-NS platform. I am checking if my dts file was incorrect configured > for SPI flash device. Can anyone help? Thanks. >

Re: [U-Boot] x86: SPI flash broken with SPI NOR

2019-06-05 Thread Bin Meng
Hi Vignesh, On Sat, Apr 27, 2019 at 12:26 AM Vignesh Raghavendra wrote: > > Bin, > > On 26/04/19 7:33 PM, Bin Meng wrote: > > Hi Simon, > > > > On Fri, Apr 26, 2019 at 7:26 AM Simon Glass wrote: > >> > >> Hi Bin, > >> > >> I find that 'sf test 0 1000' does not work anymore since this commit: >

Re: [U-Boot] [RFC 5/6] ARM: dts: colibri_imx7: Add lcdif node

2019-06-05 Thread Igor Opaniuk
Hi Fabio, On Wed, Jun 5, 2019 at 1:06 AM Fabio Estevam wrote: > > Hi Igor, > > On Mon, Jun 3, 2019 at 6:06 PM Igor Opaniuk wrote: > > > + { > > + u-boot,dm-pre-reloc; > > + status = "okay"; > > + > > + display-timings { > > + native-mode = <_vga>; > > + > > +

Re: [U-Boot] [EXT] Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-06-05 Thread Marek Vasut
On 6/5/19 5:03 AM, Peng Fan wrote: [...] > It is not duplication of FIT. Container support the similar function > of FIT image, but it is not only that. So what is it ? >>> >>> >> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww. >>> >>

[U-Boot] [PATCH] pci: Avoid assigning PCI resources that are below 0x1000

2019-06-05 Thread Bin Meng
commit b7598a43f2b4 ("[PATCH] Avoid assigning PCI resources from zero address") only moved the bus lower address to 0x1000 if the given bus start address is zero. The comment said 0x1000 is a reasonable starting value, hence we'd better apply the same adjustment when the given bus start address is

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-05 Thread Fabio Estevam
On Wed, Jun 5, 2019 at 4:25 AM Sjoerd Simons wrote: > Sorry closing the device would be the right jargon for i.mx. My point > really is, isn't it something to be fixed in imx_usb_loader if it can't > upload unsigned FIT images rather then in u-boot? Yes, I think imx_usb_loader needs to be fixed

Re: [U-Boot] [PATCH v2 0/9] miscellaneous ubispl and ubi improvements

2019-06-05 Thread Markus Klotzbuecher
Hello Heiko On Wed, May 15, 2019 at 03:15:51PM +0200, Markus Klotzbuecher wrote: >From: Markus Klotzbuecher > >This series contains a couple of UBI and UBI SPL improvements, notably >a ubispl extension to allow loading volumes by name. The motivation is >to use the UBI atomic volume rename

Re: [U-Boot] [RFC 0/6] efi_loader: support runtime variable access via cache

2019-06-05 Thread Heinrich Schuchardt
On 6/5/19 6:21 AM, AKASHI Takahiro wrote: > EBBR v1.0 section 2.5.3 says > Even when SetVariable() is not supported during runtime services, > firmware should cache variable names and values in EfiRuntimeServicesData > memory so that GetVariable() and GetNextVeriableName() can behave as >

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

2019-06-05 Thread uboot
Hi Tom, Please pull some riscv updates: - Support Microchip MPFS Icicle board. - Enable e1000 and nvme support for qemu. - Enable PCI host ECAM generic driver for qemu. - Increase the environment size to 128kB for qemu. https://travis-ci.org/rickchen36/u-boot-riscv/builds/541565696 Thanks Rick

Re: [U-Boot] Uboot send pull request

2019-06-05 Thread Rick Chen
Hi Tom Please drop this mail. It is wrong mail sending Sorry about it. B.R Rick > From: Open Source Project uboot > Sent: Wednesday, June 05, 2019 6:21 PM > To: tr...@konsulko.com; u-boot@lists.denx.de; Open Source Project uboot; Rick > Jian-Zhi Chen(陳建志) > Subject: Uboot send pull request > >

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-05 Thread Lukasz Majewski
Hi Sjoerd, > On Wed, 2019-06-05 at 11:40 +0200, Lukasz Majewski wrote: > > Hi Fabio, Sjoerd > > > > > On Tue, Jun 4, 2019 at 5:41 PM Sjoerd Simons > > > wrote: > > > > > > > Small steps right; Ooi what imx_usb_loader > > > > configuration/commands are you using to test this? (I find its >

[U-Boot] Uboot send pull request

2019-06-05 Thread uboot
Hi Tom, Please pull some riscv update: 1. Add DM drivers to support RISC-V CPU and timer, plus some bug fixes. 2. Support SiFive UART 3. Rename ax25-ae350 defconfig https://travis-ci.org/rickchen36/u-boot-riscv/builds/469364551 Thanks Rick The following changes since commit

Re: [U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-06-05 Thread Bin Meng
Hi Rick, On Wed, Jun 5, 2019 at 6:04 PM Rick Chen wrote: > > Hi Bin > > Bin Meng 於 2019年6月5日 週三 下午5:29寫道: > > > > Hi Rick, > > > > On Wed, Jun 5, 2019 at 1:55 PM Rick Chen wrote: > > > > > > Hi Bin > > > > > > Bin Meng 於 2019年6月4日 週二 下午2:27寫道: > > > > > > > > Hi Rick, > > > > > > > > On Tue,

Re: [U-Boot] [PATCH 3/4 v2] test: dm: Add a test for PCI Enhanced Allocation

2019-06-05 Thread Bin Meng
Hi Alex, On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: > > This test is built on top of the existing swap_case driver. It adds EA > capability structure support to swap_case and uses that to map BARs. > BAR1 works as it used to, swapping upper/lower case. BARs 2,4 map to a > couple of

Re: [U-Boot] [PATCH 4/4 v2] drivers: pci: add API to issue FLR on a PCI function if supported

2019-06-05 Thread Bin Meng
On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: > > Adds dm_pci_flr API that issues a Function Level reset on a PCI-e function, > if FLR is supported. > > Signed-off-by: Alex Marginean > --- > > Changes in v2: > - Use kernel PCI_EXP macros for register offsets > >

Re: [U-Boot] [PATCH 2/4 v2] drivers: pci: add map_bar support for Enhanced Allocation

2019-06-05 Thread Bin Meng
On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: > > Makes dm_pci_map_bar API available for integrated PCI devices that > support Enhanced Allocation instead of the original PCI BAR mechanism. > > Signed-off-by: Alex Marginean > --- > > Changes in v2: > - fixed parsing for BAR1+ >

Re: [U-Boot] [PATCH 1/4 v2] pci: fixed dm_pci_map_bar comment

2019-06-05 Thread Bin Meng
On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean wrote: > > The comment now indicates that the input argument bar is a register offset, > not a BAR index. > It also mentions which BARs are supported for type 0/1 and that the > function can return 0 on error. > > Signed-off-by: Alex Marginean > ---

Re: [U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月5日 週三 下午5:29寫道: > > Hi Rick, > > On Wed, Jun 5, 2019 at 1:55 PM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2019年6月4日 週二 下午2:27寫道: > > > > > > Hi Rick, > > > > > > On Tue, Jun 4, 2019 at 1:35 PM Rick Chen wrote: > > > > > > > > > > > > > > Hi BIn > > > > > > >

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-05 Thread Sjoerd Simons
On Wed, 2019-06-05 at 11:40 +0200, Lukasz Majewski wrote: > Hi Fabio, Sjoerd > > > On Tue, Jun 4, 2019 at 5:41 PM Sjoerd Simons > > wrote: > > > > > Small steps right; Ooi what imx_usb_loader configuration/commands > > > are you using to test this? (I find its config rather tricky to > > >

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-05 Thread Lukasz Majewski
Hi Fabio, Sjoerd > On Tue, Jun 4, 2019 at 5:41 PM Sjoerd Simons > wrote: > > > Small steps right; Ooi what imx_usb_loader configuration/commands > > are you using to test this? (I find its config rather tricky to > > grasp). > > I simply run: > > sudo ./imx_usb SPL > > and then > > sudo

Re: [U-Boot] [PATCH 6/6] riscv: ax25: use CCTL to flush d-cache

2019-06-05 Thread Bin Meng
Hi Rick, On Wed, Jun 5, 2019 at 5:38 PM Rick Chen wrote: > > Hi Bin > > > > > Hi Rick, > > > > On Tue, May 28, 2019 at 5:45 PM Andes wrote: > > > > > > From: Rick Chen > > > > > > Use CCTL command to do d-cache write back and invalidate > > > instead of fence. > > > > > > Signed-off-by: Rick

Re: [U-Boot] [PATCH 6/6] riscv: ax25: use CCTL to flush d-cache

2019-06-05 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Tue, May 28, 2019 at 5:45 PM Andes wrote: > > > > From: Rick Chen > > > > Use CCTL command to do d-cache write back and invalidate > > instead of fence. > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu > > --- > > arch/riscv/cpu/ax25/cache.c | 22

Re: [U-Boot] [PATCH 5/6] riscv: dts: move out AE350 L2 node from cpus node

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > When L2 node exists inside cpus node, uclass_get_device > > can not parse L2 node successfully. So move it outside > > from cpus node. > > > > Also add

Re: [U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-06-05 Thread Bin Meng
Hi Rick, On Wed, Jun 5, 2019 at 1:55 PM Rick Chen wrote: > > Hi Bin > > Bin Meng 於 2019年6月4日 週二 下午2:27寫道: > > > > Hi Rick, > > > > On Tue, Jun 4, 2019 at 1:35 PM Rick Chen wrote: > > > > > > > > > > > Hi BIn > > > > > > > > > Hi Rick, > > > > > > > > > > On Mon, May 27, 2019 at 4:40 PM Auer,

Re: [U-Boot] [PATCH 3/6] riscv: ae350: add imply v5l2 cache controller

2019-06-05 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Select the v5l2 UCLASS_CACHE driver for AE350. > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu > > --- > > board/AndesTech/ax25-ae350/Kconfig | 1 + > > 1 file changed, 1 insertion(+) >

Re: [U-Boot] [PATCH 4/6] riscv: cache: Flush L2 cache before jump to linux

2019-06-05 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Flush and disable cache in cleanup_before_linux() > > which will be called before jump to linux. > > > > The sequence will be preferred as below: > > L1 flush -> L1 disable -> L2 flush -> L2

[U-Boot] i.MX8MM mapped register access causes crashes

2019-06-05 Thread Schrempf Frieder
Hi Peng, I'm still trying to get my i.MX8MM board running with mainline U-Boot. I'm using your patches and added some modifications, so I'm now able to run SPL and U-Boot proper. One problem I have is, that accessing some regions in the memory map for peripheral register access, U-Boot

Re: [U-Boot] [PATCH 0/4] pinctrl: meson: add support for pinmux status

2019-06-05 Thread Neil Armstrong
On 04/06/2019 11:04, Neil Armstrong wrote: > In order to support the "pinmux status" command, fix the GX pinctrl > drivers and add the necessary functions callbacks. > > Neil Armstrong (4): > pinctrl: meson-gx: fix GPIO_TEST_N and GPIOCLK_ groups > pinctrl: meson: add common function to get

Re: [U-Boot] [PATCH 2/6] riscv: ae350: use the v5l2 driver to configure the cache

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Find the UCLASS_CACHE driver to configure the cache controller's > > settings. > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu > > --- > >

Re: [U-Boot] [PATCH 0/3] Add drive-strength-microamp in Meson pinctrl driver

2019-06-05 Thread Neil Armstrong
On 04/06/2019 13:53, Guillaume La Roque wrote: > The purpose of this patchset is to add drive-strength-microamp support in > meson pinconf > driver. This is a new feature that was added on the g12a. It is critical for > us > to support this since many functions are failing with default pad >

Re: [U-Boot] [PATCH] pinctrl: meson-gxbb: add hdmi related pins

2019-06-05 Thread Neil Armstrong
On 04/06/2019 22:26, Maxime Jourdan wrote: > The GXBB pinctrl is missing pins related to HDMI, namely hot plug > detection (hpd) and I2C (sda + scl). > > This fixes HDMI support for GXBB in u-boot. > > Reported-by: Mohammad Rasim > Signed-off-by: Maxime Jourdan > --- >

Re: [U-Boot] [PATCH 2/6] riscv: ae350: use the v5l2 driver to configure the cache

2019-06-05 Thread Rick Chen
Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Find the UCLASS_CACHE driver to configure the cache controller's > > settings. > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu > > --- > >

Re: [U-Boot] [PATCH 1/6] dm: cache: add v5l2 cache controller driver

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Add a v5l2 cache controller driver that is usually found on > > Andes RISC-V ae350 platform. It will parse the cache settings > > from the dtb. > > > > In

Re: [U-Boot] [PATCH] video: meson: hdmi-supply regulator should be optional

2019-06-05 Thread Anatolij Gustschin
On Tue, 4 Jun 2019 22:26:19 +0200 Maxime Jourdan mjour...@baylibre.com wrote: > --- > drivers/video/meson/meson_dw_hdmi.c | 14 ++ > 1 file changed, 10 insertions(+), 4 deletions(-) Applied to u-boot-video/master, thanks! -- Anatolij ___

Re: [U-Boot] [PATCH] video: meson: hdmi-supply regulator should be optional

2019-06-05 Thread Mohammad Rasim
On 19/06/04 10:26PM, Maxime Jourdan wrote: > Some boards don't have such a regulator, and don't need one to enable > HDMI display. Make it optional, fixing hdmi display for those boards. > > Also surround the regulator code with a config check on DM_REGULATOR. > > Reported-by: Mohammad Rasim >

Re: [U-Boot] [PATCH] pinctrl: meson-gxbb: add hdmi related pins

2019-06-05 Thread Mohammad Rasim
On 19/06/04 10:26PM, Maxime Jourdan wrote: > The GXBB pinctrl is missing pins related to HDMI, namely hot plug > detection (hpd) and I2C (sda + scl). > > This fixes HDMI support for GXBB in u-boot. > > Reported-by: Mohammad Rasim > Signed-off-by: Maxime Jourdan > --- >

[U-Boot] [PATCH] i2c: designware_i2c: Restore enable state after set speed

2019-06-05 Thread Jun Chen
Before calling __dw_i2c_set_bus_speed(), the I2C could already be set as ether enable or disable, we should restore the original setting instead of enable i2c anyway. This patch fix a bug happened in init function: __dw_i2c_init(){ /* Disable i2c */ ...

Re: [U-Boot] [PATCH v2] riscv: add Kconfig entries for the F and D ISA extensions support

2019-06-05 Thread Eric Lin
Hi Bin > > Hi Eric, > > On Tue, Jun 4, 2019 at 1:51 PM Eric Lin wrote: > > > > This patch adds Kconfig entries for the F (Single-Precision) > > and D (Double-Precision) floating point instruction-set extensions. > > > > Signed-off-by: Eric Lin > > --- > > Changes for v2: > > -

Re: [U-Boot] [PATCH v2 3/3] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

2019-06-05 Thread Sjoerd Simons
On Tue, 2019-06-04 at 18:56 -0300, Fabio Estevam wrote: > On Tue, Jun 4, 2019 at 5:41 PM Sjoerd Simons > wrote: > > > Small steps right; Ooi what imx_usb_loader configuration/commands > > are > > you using to test this? (I find its config rather tricky to grasp). > > I simply run: > > sudo

Re: [U-Boot] [PATCH] pinctrl: meson-gxbb: add hdmi related pins

2019-06-05 Thread Neil Armstrong
On 04/06/2019 22:26, Maxime Jourdan wrote: > The GXBB pinctrl is missing pins related to HDMI, namely hot plug > detection (hpd) and I2C (sda + scl). > > This fixes HDMI support for GXBB in u-boot. > > Reported-by: Mohammad Rasim > Signed-off-by: Maxime Jourdan > --- >

Re: [U-Boot] [PATCH] video: meson: hdmi-supply regulator should be optional

2019-06-05 Thread Neil Armstrong
On 04/06/2019 22:26, Maxime Jourdan wrote: > Some boards don't have such a regulator, and don't need one to enable > HDMI display. Make it optional, fixing hdmi display for those boards. > > Also surround the regulator code with a config check on DM_REGULATOR. > > Reported-by: Mohammad Rasim >

Re: [U-Boot] [PATCH 3/4] pinctrl: meson-gx: add support for getting pinmux status

2019-06-05 Thread Maxime Jourdan
On 04/06/2019 11:04, Neil Armstrong wrote: In order to support the "pinmux status" command, use the common functions to get the pins count and names, and add the GX specific function to get the current function from registers. Signed-off-by: Neil Armstrong ---

Re: [U-Boot] [PATCH v3 00/18] Add EEPROM-based board detect support for TI K3 SoCs

2019-06-05 Thread Lokesh Vutla
On 05/06/19 4:38 AM, Andreas Dannenberg wrote: > This is an updated EEPROM-based board detection series that can applied > if staged with other patches in the sequence proposed earlier [1]. > > For completeness here is the proposed sequence again, avoiding merge > conflicts, but this time from

Re: [U-Boot] [PATCH v2 00/12] System Firmware Loader for TI K3 family SoCs

2019-06-05 Thread Lokesh Vutla
On 05/06/19 4:25 AM, Andreas Dannenberg wrote: > Updated version of the SYSFW loader series for K3 family AM654x devices. > The fundamantal approach of tapping into the SPL loader framework has > been kept for reasons discussed already. The series also still uses > "early BSS" in SPL's