Re: [U-Boot] [PATCH 8/8] riscv: dts: Support four cores SMP

2019-10-30 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > From: Rick Chen > > > > Add CPU2 and CPU3 informations in cpus node > > nits: information OK > > > to support four cores SMP booting. > > > > Signed-off-by: Rick Chen > > Cc: KC Lin > > Cc: Alan Kao > > --- > >

[U-Boot] [PATCH v2] armv8: fsl-layerscape: fix warning if no hwconfig is defined

2019-10-30 Thread Pankaj Bansal
if no hwconfig variable is defined for a platform and we try to get the subarg of hwconfig, we receive a warning: WARNING: Calling __hwconfig without a buffer and before environment is ready Therefore, if hwconfig is not found return without further processing. Signed-off-by: Pankaj Bansal ---

[U-Boot] [PATCH] armv8: fsl-layerscape: fix warning if no hwconfig is defined

2019-10-30 Thread Pankaj Bansal
if no hwconfig variable is defined for a platform and we try to get the subarg of hwconfig, we receive a warning: WARNING: Calling __hwconfig without a buffer and before environment is ready Therefore, if hwconfig is not found return without further processing. Signed-off-by: Pankaj Bansal ---

[U-Boot] dm: rtc: random Gitlab results for dm_test_rtc_dual()

2019-10-30 Thread Heinrich Schuchardt
Hello Simon, the gitlab 'sandbox test.py' job seems to be kind of a lottery: https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/jobs/25678 Job succeeded https://gitlab.denx.de/u-boot/custodians/u-boot-efi/-/jobs/25499 /u-boot-efi/test/dm/rtc.c:167, dm_test_rtc_dual(): -EINVAL ==

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-10-30 Thread Bin Meng
Hi Alan, On Thu, Oct 31, 2019 at 9:00 AM Alan Kao wrote: > > Hi Bin, > > Thanks for the critics. Comments below. > On Wed, Oct 30, 2019 at 06:38:00PM +0800, Bin Meng wrote: > > Hi Rick, > > > > On Wed, Oct 30, 2019 at 10:50 AM Rick Chen wrote: > > > > > > Hi Bin > > > > > > > > > > > Hi Rick,

Re: [U-Boot] [PATCH 6/8] spl: cache: Allow cache drivers in SPL

2019-10-30 Thread Rick Chen
Hi Bin Bin Meng 於 2019年10月31日 週四 上午11:02寫道: > > Hi Rick, > > On Thu, Oct 31, 2019 at 10:53 AM Rick Chen wrote: > > > > Hi Bin > > > > > > > > Hi Rick, > > > > > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > > > > > From: Rick Chen > > > > > > > > When ax25-ae350 try to enable v5l2

Re: [U-Boot] [PATCH v2 03/15] buildman: Convert to Python 3

2019-10-30 Thread Tom Rini
On Wed, Oct 30, 2019 at 09:07:05PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 30 Oct 2019 at 10:15, Simon Glass wrote: > > > > Hi Tom, > > > > On Wed, 30 Oct 2019 at 09:58, Tom Rini wrote: > > > > > > On Wed, Oct 30, 2019 at 09:12:39AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > >

Re: [U-Boot] [PATCH 7/8] riscv: Fix clear bss loop in the start-up code

2019-10-30 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > From: Rick Chen > > > > For RV64, it will use sd instruction to clear t0 > > register, and the increament will be 8 bytes. So > > if the difference between__bss_strat and __bss_end > > was not 8 bytes aligned, the

Re: [U-Boot] [PATCH v2 1/5] ARM: MediaTek: Add support for MediaTek MT8518 SoC

2019-10-30 Thread Tom Rini
On Mon, Oct 21, 2019 at 02:59:04PM +0800, mingming lee wrote: > Add support for MediaTek MT8518 SoC. This include the file > that will initialize the SoC after boot and its device tree. > > Signed-off-by: mingming lee > --- > Changes for v2: >-drop unused 'device' in dtsi to keep it simple

Re: [U-Boot] [PATCH v2 03/15] buildman: Convert to Python 3

2019-10-30 Thread Simon Glass
Hi Tom, On Wed, 30 Oct 2019 at 10:15, Simon Glass wrote: > > Hi Tom, > > On Wed, 30 Oct 2019 at 09:58, Tom Rini wrote: > > > > On Wed, Oct 30, 2019 at 09:12:39AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 30 Oct 2019 at 07:15, Tom Rini wrote: > > > > > > > > On Tue, Oct 29,

Re: [U-Boot] [PATCH 6/8] spl: cache: Allow cache drivers in SPL

2019-10-30 Thread Bin Meng
Hi Rick, On Thu, Oct 31, 2019 at 10:53 AM Rick Chen wrote: > > Hi Bin > > > > > Hi Rick, > > > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > > > From: Rick Chen > > > > > > When ax25-ae350 try to enable v5l2 cache > > > driver in SPL configuration, it need this > > > option for cache

Re: [U-Boot] [PATCH 5/8] riscv: ax25: cache: Add SPL_RISCV_MMODE for SPL

2019-10-30 Thread Bin Meng
Hi Rick, On Thu, Oct 31, 2019 at 10:31 AM Rick Chen wrote: > > Hi Bin > > > > > Hi Rick, > > > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > > > From: Rick Chen > > > > > > The mcache_ctl csr only can be manipulated in M mode. > > > Add SPL_RISCV_MMODE for U-Boot SPL to control cache

Re: [U-Boot] [PATCH 6/8] spl: cache: Allow cache drivers in SPL

2019-10-30 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > From: Rick Chen > > > > When ax25-ae350 try to enable v5l2 cache > > driver in SPL configuration, it need this > > option for cache support in SPL. > > > > Signed-off-by: Rick Chen > > Cc: KC Lin > > Cc: Alan Kao >

Re: [U-Boot] [PATCH 5/8] riscv: ax25: cache: Add SPL_RISCV_MMODE for SPL

2019-10-30 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > From: Rick Chen > > > > The mcache_ctl csr only can be manipulated in M mode. > > Add SPL_RISCV_MMODE for U-Boot SPL to control cache > > operation. > > > > Signed-off-by: Rick Chen > > Cc: KC Lin > > Cc: Alan Kao >

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-10-30 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Wed, Oct 30, 2019 at 10:50 AM Rick Chen wrote: > > > > Hi Bin > > > > > > > > Hi Rick, > > > > > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > > > > > From: Rick Chen > > > > > > > > It will work fine due to hart 0 always will be main > > > > hart

Re: [U-Boot] [PATCH 1/8] riscv: ax25: add SPL support

2019-10-30 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Wed, Oct 30, 2019 at 8:42 AM Rick Chen wrote: > > > > Hi Bin > > > > > > > > Hi Rick, > > > > > > On Fri, Oct 25, 2019 at 2:17 PM Andes wrote: > > > > > > > > From: Rick Chen > > > > > > > > The U-Boot SPL will boot in M mode and load the > > > > FIT image which

Re: [U-Boot] [EXT] Re: [RFC PATCH 00/29] arm: Introduce Marvell/Cavium OcteonTX

2019-10-30 Thread Aaron Williams
Hi Tim, I think I can answer some of your questions. On Wednesday, October 30, 2019 10:06:41 AM PDT Tim Harvey wrote: > External Email > > -- > > On Tue, Oct 29, 2019 at 2:08 PM Suneel Garapati wrote: > > This series will

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-10-30 Thread Aaron Williams
On Wednesday, October 30, 2019 3:05:25 PM PDT Tom Rini wrote: > External Email > > -- > > On Wed, Oct 23, 2019 at 03:50:00AM +, Aaron Williams wrote: > > Hi all, > > > > I have been tasked with porting our Octeon U-Boot to

Re: [U-Boot] Cavium/Marvell Octeon Support

2019-10-30 Thread Tom Rini
On Wed, Oct 23, 2019 at 03:50:00AM +, Aaron Williams wrote: > Hi all, > > I have been tasked with porting our Octeon U-Boot to the latest U-Boot > and merging it upstream. [snip] I want to jump back up back to the top of this thread. And first I want to say that I am glad that there is

Re: [U-Boot] [GIT] Pull request: u-boot-clk (23.10.2019)

2019-10-30 Thread Tom Rini
On Wed, Oct 23, 2019 at 12:38:47AM +0200, Lukasz Majewski wrote: > Dear Tom, > > Please find a PR for u-boot-clk branch: > > The following changes since commit 44510daea4d07fee736dd90411c4b503340b449e: > > dm: pinctrl: fix for introduce PINCONF_RECURSIVE option (2019-10-21 > 09:40:54 -0400)

[U-Boot] [RFC PATCH 5/5] Add support for the NXP IMXRT1050-EVK board

2019-10-30 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- arch/arm/dts/Makefile | 2 + arch/arm/dts/imxrt1050-evk.dts| 124 arch/arm/dts/imxrt1050.dtsi | 73 + arch/arm/mach-imx/imxrt/Kconfig | 11 +

[U-Boot] [RFC PATCH 3/5] serial_lpuart: add support for i.MXRT

2019-10-30 Thread Giulio Benetti
Add i.MXRT compatible string and cpu type support to lpuart driver, to use little endian 32 bits configurations. Also according to RM, the Receive RX FIFO Enable (RXFE) field in LPUART FIFO register is bit 3, so this definition should change to 0x08 as done for i.MX8. It needs also to set

[U-Boot] [RFC PATCH 4/5] ram: add SDRAM driver for i.MXRT SoCs

2019-10-30 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- drivers/ram/Kconfig | 8 + drivers/ram/Makefile | 2 + drivers/ram/imxrt_sdram.c| 406 +++ include/dt-bindings/memory/imxrt-sdram.h | 168 ++ 4 files changed, 584

[U-Boot] [RFC PATCH 2/5] pinctrl: add i.MXRT driver

2019-10-30 Thread Giulio Benetti
Add i.MXRT pinctrl driver. Signed-off-by: Giulio Benetti --- drivers/pinctrl/nxp/Kconfig | 14 + drivers/pinctrl/nxp/Makefile | 1 + drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 + include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++

[U-Boot] [RFC PATCH 0/5] WIP Add support for i.MXRT family

2019-10-30 Thread Giulio Benetti
This patchset is a WIP for adding i.MXRT family. It provides: - soc family entry - pinctrl driver - serial driver tweaking - partial sdram controller driver - imxrt1050-evk board partial support To get it working as at least SPL and Falcon mode it still needs sdram controller driver to be

[U-Boot] [RFC PATCH 1/5] Add support for the NXP IMXRT10xx SoC family

2019-10-30 Thread Giulio Benetti
TODO... Signed-off-by: Giulio Benetti --- arch/arm/Kconfig | 10 arch/arm/Makefile | 4 +-- arch/arm/include/asm/arch-imxrt/clock.h| 10 arch/arm/include/asm/arch-imxrt/gpio.h | 10

[U-Boot] [PATCHv2 4/4] arm: socfpga: stratix10: add environment variables for RSU support

2019-10-30 Thread richard . gong
From: Richard Gong Add two RSU environment variables: 1. rsu_log_level the variable is unsigned integer and its default value is RSU_DEBUG (7), which only show log with RSU_INFO,RSU_WARNING and RSU_ERR. To enable all logs (RSU_ERR, RSU_WARNING, RSU_INFO and

[U-Boot] [PATCHv2 2/4] drivers: firmware: add RSU support for Stratix10 SoC

2019-10-30 Thread richard . gong
From: Richard Gong The Intel Remote System Update (RSU) provides a way for users to update the QSPI configuration bitstream of an Intel Stratix 10 SoC device with significantly reduced risk of corrupting the bitstream storage and bricking the system. This patch adds RSU support which allows

[U-Boot] [PATCHv2 3/4] dirvers: firmware: add console commands for RSU support

2019-10-30 Thread richard . gong
From: Richard Gong The Intel Remote System Update (RSU) provides a way for users to update the QSPI configuration bitstream of a Intel Stratix 10 SoC device with significantly reduced risk of corrupting the bitstream storage and bricking the system. This patch provides console commands to

[U-Boot] [PATCHv2 1/4] arm: socfpga: stratix10: add RSU mailbox support

2019-10-30 Thread richard . gong
From: Richard Gong Add Remote System Update (RSU) related mailbox support. This includes RSU_STATUS which reports status of bitstream loaded by Configuration Management Firmware (CMF), RSU_UPDATE which will invokes CMF to load new bitstream, GET_SUBPARTITION_TABLE which will query CMF on the

[U-Boot] [PATCHv2 0/4] support remote system update on Intel Stratix10 SoC

2019-10-30 Thread richard . gong
From: Richard Gong This is 2nd submission of Intel Remote System Update patches. The Intel Remote System Update (RSU) provides a way for users to update the QSPI configuration bitstream of a Intel Stratix10 SoC device with significantly reduced risk of corrupting the bitstream storage and

Re: [U-Boot] [PATCH 2/2] ARM: dts: imx6qdl: Add U-Boot specific device tree files for Cubox-i

2019-10-30 Thread Walter Lozano
Hi Fabio, On 30/10/19 15:43, Fabio Estevam wrote: Hi Walter, On Wed, Oct 30, 2019 at 11:22 AM Walter Lozano wrote: Thanks for your comments. My intention was to initially send the device tree patches and in a different patchset update the configuration, as it requires to run different

[U-Boot] [PATCH 1/1] efi_loader: fix efi_dp_from_name()

2019-10-30 Thread Heinrich Schuchardt
Correctly check the return value of efi_dp_from_file(). If we can determine device path for the file, should not depend on the device path for the device being requested. Provide a function description for efi_dp_from_name(). Reported-by: Coverity CID 273159, CID 273158 Fixes: 08c51fff30cc

Re: [U-Boot] [U-Boot-Board-Maintainers] [ANN] U-Boot v2020.01-rc1 released

2019-10-30 Thread Tom Rini
On Wed, Oct 30, 2019 at 02:11:28PM -0500, Adam Ford wrote: > On Wed, Oct 30, 2019 at 12:13 PM Tom Rini wrote: > > > > Hey all, > > > > It's a few days past release day, and here finally is v2020.01-rc1. The > > delay was over hoping to be able to pull in one more big clean up series > > that we

Re: [U-Boot] [U-Boot-Board-Maintainers] [ANN] U-Boot v2020.01-rc1 released

2019-10-30 Thread Adam Ford
On Wed, Oct 30, 2019 at 12:13 PM Tom Rini wrote: > > Hey all, > > It's a few days past release day, and here finally is v2020.01-rc1. The > delay was over hoping to be able to pull in one more big clean up series > that we need, and I want to take, but needs a little more work. Doing > that has

Re: [U-Boot] Drop "" Subject tag and footer?

2019-10-30 Thread Tom Rini
On Wed, Oct 30, 2019 at 06:31:03PM +0100, Wolfgang Denk wrote: > Dear Tom, > > a number of mailing lists have recently been re-organized, > especially those run by the the FSF. The background is increased > adoption of the DMARC email standard (see details below). > > The changes implement

Re: [U-Boot] [PATCH 2/2] ARM: dts: imx6qdl: Add U-Boot specific device tree files for Cubox-i

2019-10-30 Thread Fabio Estevam
Hi Walter, On Wed, Oct 30, 2019 at 11:22 AM Walter Lozano wrote: > Thanks for your comments. My intention was to initially send the device tree > patches and in a different patchset update the configuration, as it requires > to run different tests (i.e. boot from SATA). Also I felt that this

[U-Boot] Drop "" Subject tag and footer?

2019-10-30 Thread Wolfgang Denk
Dear Tom, a number of mailing lists have recently been re-organized, especially those run by the the FSF. The background is increased adoption of the DMARC email standard (see details below). The changes implement what they call the "unmodified message fix." IN short this means they are

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-10-30 Thread Wolfgang Denk
Dear Daniel & Aaron, In message <7fdf93f6-412e-5fcf-da5e-17665daad...@gmail.com> you wrote: > > > Some other things we have included are a native API that allows Simple > > Executive applications to make calls into U-Boot for such things as > > environment variable access as well as access to

Re: [U-Boot] [RFC PATCH 00/29] arm: Introduce Marvell/Cavium OcteonTX

2019-10-30 Thread Tim Harvey
On Tue, Oct 29, 2019 at 2:08 PM Suneel Garapati wrote: > > This series will add support for OcteonTX and OcteonTX2 processsor based > platforms. The Marvell/Cavium Octeon-TX 64-bit ARM based SoCs include > the CN80XX, CN81XX and CN83XX while Octeon-TX2 64-bit ARM based SoCs include > support for

[U-Boot] [ANN] U-Boot v2020.01-rc1 released

2019-10-30 Thread Tom Rini
Hey all, It's a few days past release day, and here finally is v2020.01-rc1. The delay was over hoping to be able to pull in one more big clean up series that we need, and I want to take, but needs a little more work. Doing that has also put me behind on grabbing a number of outstanding patches

Re: [U-Boot] [PATCH v2 2/5] tools: buildman: Remove useless mkdir() in Make() in test.py

2019-10-30 Thread Tom Rini
On Mon, Oct 28, 2019 at 07:25:00AM -0700, Bin Meng wrote: > In the 'Make' function, the codes tries to create a directory > if current stage is 'build'. But the directory isn't used at > all anywhere. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH v2 3/5] arm: mvebu: Avoid generating kwbimage.cfg in the source tree

2019-10-30 Thread Tom Rini
On Mon, Oct 28, 2019 at 07:25:01AM -0700, Bin Meng wrote: > At present some boards generate kwbimage.cfg in the source tree > during the build. This breaks buildman testing on some systems > where the source tree is read-only. Update makefile rules to > generate it in the build tree instead. > >

Re: [U-Boot] [PATCH v2 5/5] Bring all testings in gitlab and travis CI to Azure Pipelines

2019-10-30 Thread Tom Rini
On Mon, Oct 28, 2019 at 07:25:03AM -0700, Bin Meng wrote: > This expands current Azure Pipelines Windows host tools build > testing to cover all the CI testing in gitlab and travis CI. > > Note for some unknown reason, the 'container' cannot be used for > any jobs that have buildman, for

Re: [U-Boot] [PATCH v3 5/9] tools: ifwitool: Define __packed when it is not defined

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:44AM -0700, Bin Meng wrote: > Some compilers may provide __packed define for us. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH v3 3/9] tools: zynqmpbif: Use compiler builtin instead of linux-specific __swab32

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:42AM -0700, Bin Meng wrote: > __swab32() is a Linux specific macro defined in linux/swab.h. Let's > use the compiler equivalent builtin function __builtin_bswap32() for > better portability. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH] splash: fix build breakage with newer llvm-7

2019-10-30 Thread Tom Rini
On Wed, Oct 30, 2019 at 03:04:10PM +0100, Anatolij Gustschin wrote: > Some configurations (i.e. sandbox) result in unused > splash_display_banner() and we get build errors like: > > common/splash.c:148:20: error: unused function 'splash_display_banner' > [-Werror,-Wunused-function] > static

Re: [U-Boot] [PATCH v2 1/5] tools: buildman: Honor output directory when generating boards.cfg

2019-10-30 Thread Tom Rini
On Mon, Oct 28, 2019 at 07:24:59AM -0700, Bin Meng wrote: > buildman always generates boards.cfg in the U-Boot source tree. > When '-o' is given, we should generate boards.cfg to the given > output directory. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v3 2/9] tools: mtk_image.h: Use portable uintXX_t instead of linux-specific __leXX

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:41AM -0700, Bin Meng wrote: > __leXX has Linux kernel specific __attribute__((bitwise)) which is > not portable. Use corresponding uintXX_t instead. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 6/9] doc: Add documentation for how to build U-Boot host tools

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:45AM -0700, Bin Meng wrote: > This adds a reST document for how to build U-Boot host tools, > including information for both Linux and Windows. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 1/9] tools: image.h: Use portable uint32_t instead of linux-specific __be32

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:40AM -0700, Bin Meng wrote: > __be32 has Linux kernel specific __attribute__((bitwise)) which is > not portable. Use uint32_t instead. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 4/9] linux/types.h: Surround 'struct ustat' with __linux__

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:43AM -0700, Bin Meng wrote: > 'struct ustat' uses linux-specific typedefs to declare its memebers: > __kernel_daddr_t and __kernel_ino_t. It is currently not used by any > U-Boot codes, but when we build U-Boot tools for other platform like > Windows, this becomes a

Re: [U-Boot] [PULL] u-boot-mmc mmc-10-29-2019

2019-10-30 Thread Tom Rini
On Tue, Oct 29, 2019 at 09:57:26AM +, Peng Fan wrote: > Hi Tom, > > Please pull u-boot-mmc mmc-10-29-2019 > > CI: https://travis-ci.org/MrVan/u-boot/jobs/604226362 > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 4/5] .travis.yml: Remove the unneeded '&' for ls20xx buildman

2019-10-30 Thread Tom Rini
On Mon, Oct 28, 2019 at 07:25:02AM -0700, Bin Meng wrote: > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini 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 v3 8/9] tools: Avoid creating symbolic links for tools/version.h

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:47AM -0700, Bin Meng wrote: > When building U-Boot host tools for Windows from Microsoft Azure > Pipelines, the following errors were seen: > > HOSTCC tools/mkenvimage.o > In file included from tools/mkenvimage.c:25: > ./tools/version.h:1:1: error: expected

Re: [U-Boot] [PATCH v3 7/9] Add .gitattributes for line endings

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:46AM -0700, Bin Meng wrote: > When building U-Boot host tools for Windows from Microsoft Azure > Pipelines, we see tons of weird warnings and errors emitted from > every Kconfig files: > > Kconfig:6:warning: ignoring unsupported character '' > Kconfig:6:warning:

Re: [U-Boot] [PATCH v3 9/9] Add Microsoft Azure Pipelines configuration

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 05:19:48AM -0700, Bin Meng wrote: > Microsoft Azure Pipelines [1] provides unlimited CI/CD minutes and > 10 parallel jobs to every open source project for free. > > This adds a configuration file for Azure Pipelines to utilize the > free Windows VM hosted by Microsoft to

Re: [U-Boot] [PATCH 2/4] fdt: Add Kconfig options to control code size

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 09:47:40AM -0600, Simon Glass wrote: > For better or worse libfdt recent grew a lot of code that checks the > validity of the device tree in great detail. When using unsigned or > unverified data this makes things safer, but it does add to code size. > > Add some controls

Re: [U-Boot] [PATCH 1/2] Dockerfile: Update to latest bionic tag

2019-10-30 Thread Tom Rini
On Thu, Oct 24, 2019 at 12:01:56PM -0400, Tom Rini wrote: > Move up to the latest tag to get the usual related security fixes that > brings in. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 2/2] Dockerfile: Add python3-pip

2019-10-30 Thread Tom Rini
On Thu, Oct 24, 2019 at 12:01:57PM -0400, Tom Rini wrote: > In order to be able to use pip within a virtualenv of python3 we need to > have python3-pip installed as well. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 1/4] fdt: Add INT32_MAX to kernel.h for libfdt

2019-10-30 Thread Tom Rini
On Sun, Oct 27, 2019 at 09:47:39AM -0600, Simon Glass wrote: > Unfortunately libfdt needs this value now, which is present in the > stdint.h header. That file is just a placeholder in U-Boot and these sorts > of constants appear in the linux/kernel.h header instead. > > To keep libfdt happy, add

Re: [U-Boot] [PATCH] dlmalloc: calloc: fix zeroing early allocations

2019-10-30 Thread Tom Rini
On Fri, Oct 25, 2019 at 09:23:35PM +0200, Simon Goldschmidt wrote: > When full malloc is enabled and SYS_MALLOC_F is also enabled, the simple > pre-reloc heap is used before relocation. In this case, calloc() uses > the MALLOC_ZERO macro to zero out the allocated memory. However, since > this

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

2019-10-30 Thread Tom Rini
On Sat, Oct 26, 2019 at 11:18:47PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - H6 dts(i) sync (Clément) > - H6 PIO (Icenowy) > - Fix pll1 clock calculation (Stefan) > - H6 dram, half DQ (Jernej) > - A64 OLinuXino eMMC (Sunil) > > Travis-CI: >

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

2019-10-30 Thread Lukasz Majewski
Hi Marek, The following changes since commit 7f0d5fa97074690dcbfcbc902f99c8dab0bff24d: dwc3-generic: Don't fail probe if clk/reset entries are absent (2019-10-28 23:47:45 +0100) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-dfu.git BRANCH: master

Re: [U-Boot] [EXT] Re: Cavium/Marvell Octeon Support

2019-10-30 Thread Daniel Schwierzeck
Hi Aaron, Am 27.10.19 um 03:34 schrieb Aaron Williams: > Hi Daniel, > > On Friday, October 25, 2019 8:13:57 AM PDT Daniel Schwierzeck wrote: >> External Email >> >> -- >> Hi Aaron, >> >> Am 23.10.19 um 05:50 schrieb Aaron

Re: [U-Boot] [PATCH v2 03/15] buildman: Convert to Python 3

2019-10-30 Thread Simon Glass
Hi Tom, On Wed, 30 Oct 2019 at 09:58, Tom Rini wrote: > > On Wed, Oct 30, 2019 at 09:12:39AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 30 Oct 2019 at 07:15, Tom Rini wrote: > > > > > > On Tue, Oct 29, 2019 at 07:47:55PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

Re: [U-Boot] [PATCH v2 03/15] buildman: Convert to Python 3

2019-10-30 Thread Tom Rini
On Wed, Oct 30, 2019 at 09:12:39AM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 30 Oct 2019 at 07:15, Tom Rini wrote: > > > > On Tue, Oct 29, 2019 at 07:47:55PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 24 Oct 2019 at 19:04, Simon Glass wrote: > > > > > > > > Convert

[U-Boot] [PATCH 1/2] cmd: nand: Remove not used declaration

2019-10-30 Thread Alexander Dahl
This declaration is not used anywhere in the whole tree. There is a function 'mtd_id_parse()' which was renamed from 'id_parse()' in commit 68d7d65100e8 ("Separate mtdparts command from jffs2"), but that function is not used (anymore?) in cmd nand and build is fine without that declaration, so

[U-Boot] [PATCH 0/2] cmd: Minor fixes for commands 'mtdparts' and 'nand'

2019-10-30 Thread Alexander Dahl
Hei hei, I reviewed some code today to explore possibilities and came across two minor issues. See the two patches. Greets Alex Alexander Dahl (2): cmd: nand: Remove not used declaration cmd: mtdparts: Fix build with option ..._SHOW_NET_SIZES cmd/Kconfig| 8 cmd/mtdparts.c |

[U-Boot] [PATCH 2/2] cmd: mtdparts: Fix build with option ..._SHOW_NET_SIZES

2019-10-30 Thread Alexander Dahl
That option is currently not used by any defconfig and could not be set anymore since it became mandatory to used Kconfig when introducing new options with U-Boot v2016.11 or commit eed921d92348 ("Kconfig: Add a whitelist of ad-hoc CONFIG options") and commit 371244cb19f9 ("Makefile: Give a build

Re: [U-Boot] [PATCH] MIPS: remove Micronas VCT boards

2019-10-30 Thread Tom Rini
On Fri, Oct 18, 2019 at 03:13:26PM +0200, Daniel Schwierzeck wrote: > The deadline for migration to CONFIG_DM is v2020.01. The VCT > baords would need an almost complete rewrite of all drivers to > support driver model. > > Unless someone has access to the hardware and volunteers to do the

Re: [U-Boot] [PATCH v2 03/15] buildman: Convert to Python 3

2019-10-30 Thread Simon Glass
Hi Tom, On Wed, 30 Oct 2019 at 07:15, Tom Rini wrote: > > On Tue, Oct 29, 2019 at 07:47:55PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 24 Oct 2019 at 19:04, Simon Glass wrote: > > > > > > Convert buildman to Python 3 and make it use that, to meet the 2020 > > > deadline. > > > > > >

Re: [U-Boot] [PATCH v2 40/41] power: regulator: add driver for Dialog DA9063 PMIC

2019-10-30 Thread Robert Beckett
On Wed, 2019-10-30 at 14:15 +, Schrempf Frieder wrote: > Hi Robert, > > On 23.10.19 20:22, Robert Beckett wrote: > > From: Martin Fuzzey > > > > Add a driver for the regulators in the the DA9063 PMIC. > > > > Robert Beckett: move regulator modes to header so board code can > > set > >

Re: [U-Boot] ?==?utf-8?q? ?==?utf-8?q? [PATCH 2/2]?==?utf-8?q? ARM:?==?utf-8?q? dts: imx6qdl: Add U-Boot specific device tree files for Cubox-i

2019-10-30 Thread Walter Lozano
Hi Fabio, On Monday, October 28, 2019 11:11 -03, Fabio Estevam wrote: > Hi Walter, > > On Mon, Oct 28, 2019 at 11:01 AM Walter Lozano > wrote: > > > > To make it easier to sync dts files with Linux add specific tweaks > > for U-Boot in separate files, specifically allowing SPL to make use

Re: [U-Boot] [PATCH v2 40/41] power: regulator: add driver for Dialog DA9063 PMIC

2019-10-30 Thread Schrempf Frieder
Hi Robert, On 23.10.19 20:22, Robert Beckett wrote: > From: Martin Fuzzey > > Add a driver for the regulators in the the DA9063 PMIC. > > Robert Beckett: move regulator modes to header so board code can set > modes. Correct mode mask used in ldo_set_mode. > > Signed-off-by: Martin Fuzzey >

Re: [U-Boot] [PATCH v2 39/41] power: pmic: add driver for Dialog DA9063 PMIC

2019-10-30 Thread Schrempf Frieder
Hi Robert, On 23.10.19 20:22, Robert Beckett wrote: > From: Martin Fuzzey > > This adds the basic register access operations and child regulator > binding (if a regulator driver exists). > > Robert Beckett: simplify accesses by using bottom bit of address as > offset overflow. This avoids the

[U-Boot] [PATCH] splash: fix build breakage with newer llvm-7

2019-10-30 Thread Anatolij Gustschin
Some configurations (i.e. sandbox) result in unused splash_display_banner() and we get build errors like: common/splash.c:148:20: error: unused function 'splash_display_banner' [-Werror,-Wunused-function] static inline void splash_display_banner(void) { } Drop empty inline function and add

Re: [U-Boot] [PATCH v2 38/41] pmic: allow dump command for non contiguous register maps

2019-10-30 Thread Schrempf Frieder
On 23.10.19 20:21, Robert Beckett wrote: > From: Martin Fuzzey > > Some PMICs (such as the DA9063) have non-contiguous register maps. > Attempting to read the non implemented registers returns an error > rather than a dummy value which causes 'pmic dump' to terminate > prematurely. > > Fix this

Re: [U-Boot] [PATCH v5 00/26]MTD defconfigs/Kconfigs/Makefiles heavy cleanup

2019-10-30 Thread Tom Rini
On Thu, Oct 03, 2019 at 07:50:02PM +0200, Miquel Raynal wrote: > Hello, > > A year ago, while working on SPI-NAND support in U-Boot, I discovered > when modifying Makefiles a confusing organization where: > * Sub-directories/files are compiled from the root Makefile > * Commands are at the root

[U-Boot] [PATCH v2 4/6] mx7ulp: scg: Remove unnused scg_a7_apll_init()

2019-10-30 Thread Fabio Estevam
scg_a7_apll_init() is not called anywhere, so remove such dead code Signed-off-by: Fabio Estevam --- Changes since v1: - None arch/arm/include/asm/arch-mx7ulp/scg.h | 1 - arch/arm/mach-imx/mx7ulp/scg.c | 61 -- 2 files changed, 62 deletions(-) diff --git

[U-Boot] [PATCH v2 1/6] mx7ulp: Print the LDO mode status

2019-10-30 Thread Fabio Estevam
As per the i.MX7ULP datasheet, it can boot in LDO enabled mode or LDO bypass mode. Print the LDO mode status in the U-Boot log for convenience. Signed-off-by: Fabio Estevam --- Changes since v1: - None arch/arm/mach-imx/mx7ulp/soc.c | 20 1 file changed, 20 insertions(+)

[U-Boot] [PATCH v2 2/6] mx7ulp: Introduce the CONFIG_LDO_ENABLED_MODE option

2019-10-30 Thread Fabio Estevam
Introduce the CONFIG_LDO_ENABLED_MODE option so that i.MX7ULP boards designed to operate with LDO enabled mode can work with 0.95V at LDO output in RUN mode as per the datasheet. Signed-off-by: Fabio Estevam --- Changes since v1: - None arch/arm/mach-imx/mx7ulp/Kconfig | 5 +++

[U-Boot] [PATCH v2 6/6] mx7ulp: Add support for Embedded Artists COM board

2019-10-30 Thread Fabio Estevam
The Embedded Artists COM board is based on NXP i.MX7ULP. It has a BD70528 PMIC from Rohm with discrete DCDC powering option and improved current observability (compared to the existing NXP i.MX7ULP EVK). Add the initial support for the board. Signed-off-by: Fabio Estevam --- Changes since v1:

[U-Boot] [PATCH v2 3/6] mx7ulp: Remove the _RUN notation from the PMC1 LDOVL definitions

2019-10-30 Thread Fabio Estevam
The LDOVL definitions is common to all the modes, not only RUN mode, so in order to avoid confusion, remove the _RUN notation from the PMC1 LDOVL definitions. Signed-off-by: Fabio Estevam --- Changes since v1: - None arch/arm/mach-imx/mx7ulp/soc.c | 20 ++-- 1 file changed, 10

[U-Boot] [PATCH v2 5/6] stm32mp1: remove copro_state environment variable

2019-10-30 Thread Fabien Dessenne
Since the coprocessor state is tracked in a backup register, there is no more need for tracking it in an environment variable : remove it. Signed-off-by: Fabien Dessenne --- board/st/stm32mp1/stm32mp1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v2 6/6] remoteproc: stm32: load resource table from firmware

2019-10-30 Thread Fabien Dessenne
Load the optional resource table from the firmware, and write its address in the dedicated backup register. Signed-off-by: Fabien Dessenne --- drivers/remoteproc/stm32_copro.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/remoteproc/stm32_copro.c

[U-Boot] [PATCH v2 4/6] remoteproc: stm32: track the coprocessor state in a backup register

2019-10-30 Thread Fabien Dessenne
Update the dedicated backup register to track the coprocessor state and rely on that register to compute the .is_running() value (which expects a return value of 0 -not 1- if the processor is running). Signed-off-by: Fabien Dessenne --- drivers/remoteproc/stm32_copro.c | 17 + 1

[U-Boot] [PATCH v2 3/6] stm32mp1: reset coprocessor status at cold boot

2019-10-30 Thread Fabien Dessenne
Reset ResourceTableAddress and CoprocessorState at cold boot, preserve these values at standby wakeup. Signed-off-by: Fabien Dessenne --- arch/arm/mach-stm32mp/cpu.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-stm32mp/cpu.c b/arch/arm/mach-stm32mp/cpu.c index

[U-Boot] [PATCH v2 2/6] stm32mp1: declare backup registers for coprocessor

2019-10-30 Thread Fabien Dessenne
Use the backup register #17 as coprocessor resource table address and backup register #18 as coprocessor state. Signed-off-by: Fabien Dessenne --- arch/arm/mach-stm32mp/include/mach/stm32.h | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-stm32mp/include/mach/stm32.h

[U-Boot] [PATCH v2 1/6] remoteproc: elf_loader: Add elf resource table load support

2019-10-30 Thread Fabien Dessenne
Add rproc_elf_load_rsc_table(), which searches for a resource table in an elf64/elf32 image, and if found, copies it to device memory. Add also the elf32 and elf64 variants of this API. Add a test for this. Signed-off-by: Fabien Dessenne --- drivers/remoteproc/rproc-elf-loader.c | 269

[U-Boot] [PATCH v2 0/6] remoteproc: add elf resource table loader

2019-10-30 Thread Fabien Dessenne
Add some helpers that can be called by the drivers to load the firmware resource table from an elf32 / elf64 image. The stm32 remoteproc driver makes use of it, to load the resource table before the elf image itself. Changes since v1: -Do not fixup the DeviceTree to track the stm32 coprocessor

Re: [U-Boot] "splash: fix splash banner output" and newer llvm-7

2019-10-30 Thread Anatolij Gustschin
Hi Tom, On Wed, 30 Oct 2019 09:01:37 -0400 Tom Rini tr...@konsulko.com wrote: ... > +common/splash.c:148:20: error: unused function 'splash_display_banner' > [-Werror,-Wunused-function] > +static inline void splash_display_banner(void) { } > + ^ > +1 error generated. >

[U-Boot] [PATCH] common/console.c: Fix unused warning with console_doenv()

2019-10-30 Thread Tom Rini
Newer versions of LLVM-7 will provide an unused function warning over console_doenv() in the case of SYS_CONSOLE_IS_IN_ENV not being enabled as can be the case in SPL. Add guards around this function. Signed-off-by: Tom Rini --- common/console.c | 4 1 file changed, 4 insertions(+) diff

Re: [U-Boot] [PATCH v2 03/15] buildman: Convert to Python 3

2019-10-30 Thread Tom Rini
On Tue, Oct 29, 2019 at 07:47:55PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 24 Oct 2019 at 19:04, Simon Glass wrote: > > > > Convert buildman to Python 3 and make it use that, to meet the 2020 > > deadline. > > > > Signed-off-by: Simon Glass > > --- > > > > Changes in v2: None > > > >

[U-Boot] "splash: fix splash banner output" and newer llvm-7

2019-10-30 Thread Tom Rini
Hey, With a patch to fix Travis-CI so that it actually uses LLVM-7 to build, I see I've let in a problem (the LLVM-7 I use locally is older and didn't catch it) with: commit d2a8271c88514f30c2fe00d2584401348f39c3d4 Author: Anatolij Gustschin Date: Fri Sep 20 17:23:41 2019 +0200 splash:

Re: [U-Boot] [PATCH v2 4/9] mpc85xx, socrates: add DM support

2019-10-30 Thread Heiko Schocher
Hello Priyanka Jain, Am 28.10.2019 um 06:49 schrieb Heiko Schocher: Am 28.10.2019 um 06:02 schrieb Heiko Schocher: Hello Priyanka Jain, Am 23.10.2019 um 13:18 schrieb Priyanka Jain: -Original Message- From: U-Boot On Behalf Of Heiko Schocher Sent: Wednesday, October 16, 2019

Re: [U-Boot] required host packages on Travis CI

2019-10-30 Thread Tom Rini
On Wed, Oct 30, 2019 at 03:30:58PM +0900, AKASHI Takahiro wrote: > Hi Tom, > > In test/py/README.md, all the required host packages and their > versions to be used on 14.04(Trusty) are listed. On the other hand, > ".travis.yml" names a similar but different list of packages. > The latter also

Re: [U-Boot] [PATCH 4/8] riscv: andes_plic: Fix some wrong configurations

2019-10-30 Thread Bin Meng
Hi Rick, On Wed, Oct 30, 2019 at 10:50 AM Rick Chen wrote: > > Hi Bin > > > > > Hi Rick, > > > > On Fri, Oct 25, 2019 at 2:18 PM Andes wrote: > > > > > > From: Rick Chen > > > > > > It will work fine due to hart 0 always will be main > > > hart coincidentally. When develop SPL flow, I try to >

[U-Boot] [PATCH] gpio: search for gpio label if gpio is not found through bank name

2019-10-30 Thread Heiko Schocher
dm_gpio_lookup_name() searches for a gpio through the bank name. But we have also gpio labels, and it makes sense to search for a gpio also in the labels we have defined, if no gpio is found through the bank name definition. This is useful for example if you have a wp pin on different gpios on

[U-Boot] [PATCH] arm: caches: Disable mmu only if mmu is available

2019-10-30 Thread Lokesh Vutla
As part of disabling caches MMU as well gets disabled. But MMU is not available on all armv7 cores like R5F. So disable MMU only if it is available. Signed-off-by: Lokesh Vutla --- arch/arm/lib/cache-cp15.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/lib/cache-cp15.c

  1   2   >