Re: [U-Boot] [PATCH] spl: fat/fs: Add option to include/exclude FAT write build in SPL

2019-01-16 Thread Simon Goldschmidt
On Thu, Jan 17, 2019 at 8:10 AM wrote: > > From: Tien Fong Chee > > Most of the time SPL only needs very simple FAT reading, so having > CONFIG_SPL_FAT_WRITE to exclude or undefined would help to save 64KiB > default max clustersize from memory. > > Signed-off-by: Tien Fong Chee > --- > common/

[U-Boot] [PATCH] arm64: zynqmp: Move SoC sources to mach-zynqmp

2019-01-16 Thread Michal Simek
Similar changes was done for Zynq in past and this patch just follow this pattern to separate cpu code from SoC code. Move arch/arm/cpu/armv8/zynqmp/* -> arch/arm/mach-zynqmp/* And also fix references to these files. Based on "ARM: zynq: move SoC sources to mach-zynq" (sha1: 0107f2403669f764ab726

Re: [U-Boot] [PATCH v4 8/9] cmd: efitool: export uefi variable helper functions

2019-01-16 Thread AKASHI Takahiro
On Tue, Jan 15, 2019 at 06:28:38AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:55 AM, AKASHI Takahiro wrote: > > Those function will be used for integration with 'env' command > > so as to handle uefi variables. > > > > Signed-off-by: AKASHI Takahiro > > --- > > cmd/efitool.c | 38 +

Re: [U-Boot] [PATCH 1/2] efi_loader: implement GetNextVariableName()

2019-01-16 Thread Heinrich Schuchardt
On 1/17/19 3:14 AM, AKASHI Takahiro wrote: > Heinrich, > > Thank you for your quick review. > > On Wed, Jan 16, 2019 at 07:43:47PM +0100, Heinrich Schuchardt wrote: >> On 12/14/18 10:47 AM, AKASHI Takahiro wrote: >>> The current GetNextVariableName() is a placeholder. >>> With this patch, it work

[U-Boot] [PATCH] spl: fat/fs: Add option to include/exclude FAT write build in SPL

2019-01-16 Thread tien . fong . chee
From: Tien Fong Chee Most of the time SPL only needs very simple FAT reading, so having CONFIG_SPL_FAT_WRITE to exclude or undefined would help to save 64KiB default max clustersize from memory. Signed-off-by: Tien Fong Chee --- common/spl/Kconfig |7 +++ fs/fat/Makefile|7

[U-Boot] [PATCH v2] travis: Wire Xilinx Versal Virt platform

2019-01-16 Thread Michal Simek
Test Xilinx Versal Virt platform running on the v3.1.0 Qemu. Signed-off-by: Michal Simek --- Changes in v2: - Rebased on the top of https://lists.denx.de/pipermail/u-boot/2019-January/354857.html .travis.yml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml

Re: [U-Boot] [PATCH v4 7/9] cmd: efitool: add memmap command

2019-01-16 Thread AKASHI Takahiro
On Tue, Jan 15, 2019 at 05:26:42AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:55 AM, AKASHI Takahiro wrote: > > "memmap" command prints uefi-specific memory map information. > > => efi memmap > > Type StartEnd Attributes > > ==

[U-Boot] [PATCH] spl: fat/fs: Add control to build FS EXT4 in SPL

2019-01-16 Thread tien . fong . chee
From: Tien Fong Chee CONFIG_SPL_EXT_SUPPORT can be used to include/exclude the FS EXT4 from SPL build. Excluding the FS EXT4 from SPL build can help to save 20KiB memory. Signed-off-by: Tien Fong Chee --- fs/fs.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fs/fs

Re: [U-Boot] [PATCH v4 3/9] efi_driver: add name to driver binding protocol

2019-01-16 Thread Heinrich Schuchardt
On 1/17/19 6:33 AM, AKASHI Takahiro wrote: > You raised a couple of questions to me. > > On Tue, Jan 15, 2019 at 04:41:08AM +0100, Heinrich Schuchardt wrote: >> On 1/15/19 3:55 AM, AKASHI Takahiro wrote: >>> This new field will be shown as a driver's name in "efitool drivers" >>> command. >> >> We

[U-Boot] [PATCH] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-01-16 Thread tien . fong . chee
From: Tien Fong Chee This is minimum memory pool size required to get SPL booting to U-Boot, such as FPGA program and loading U-Boot image from FAT. Signed-off-by: Tien Fong Chee --- include/configs/socfpga_common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/incl

[U-Boot] [PATCH 2/2] fs: fat: Reduce default max clustersize 64KiB from malloc pool

2019-01-16 Thread tien . fong . chee
From: Tien Fong Chee Release cluster block immediately when no longer use would help to reduce 64KiB memory allocated to the memory pool. Signed-off-by: Tien Fong Chee --- fs/fat/fat.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.

[U-Boot] [PATCH 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-01-16 Thread tien . fong . chee
From: Stefan Agner Drop the statically allocated get_contents_vfatname_block and dynamically allocate a buffer only if required. This saves 64KiB of memory. Signed-off-by: Stefan Agner Signed-off-by: Tien Fong Chee --- fs/fat/fat.c | 19 +-- 1 files changed, 13 insertions(+)

Re: [U-Boot] [PATCH v2 2/4] arm64: zynqmp: Align u-boot-spl.bin for boot.bin creation

2019-01-16 Thread Michal Simek
On 16. 01. 19 22:34, Simon Glass wrote: > On Wed, 16 Jan 2019 at 04:24, Michal Simek wrote: >> >> Bootrom is not capable to work with non align bootloader partition >> that's why it is necessary to align it before boot.bin creation. >> The patch is creating new spl/u-boot-spl-align.bin which is us

Re: [U-Boot] [PATCH v4 6/9] cmd: efitool: add images command

2019-01-16 Thread AKASHI Takahiro
On Tue, Jan 15, 2019 at 05:58:57AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:55 AM, AKASHI Takahiro wrote: > > "images" command prints loaded images-related information. > > > > Signed-off-by: AKASHI Takahiro > > --- > > cmd/efitool.c | 13 - > > 1 file changed, 12 insertions(

Re: [U-Boot] [PATCH v4 5/9] cmd: efitool: add dh command

2019-01-16 Thread AKASHI Takahiro
On Tue, Jan 15, 2019 at 05:55:26AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:55 AM, AKASHI Takahiro wrote: > > "dh" command prints all the uefi handles used in the system. > > > > => efi dh > > 7ef3bfa0: Device Path, Device Path To Text, Device Path Utilities, > > Unic

Re: [U-Boot] [PATCH v4 3/9] efi_driver: add name to driver binding protocol

2019-01-16 Thread AKASHI Takahiro
You raised a couple of questions to me. On Tue, Jan 15, 2019 at 04:41:08AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:55 AM, AKASHI Takahiro wrote: > > This new field will be shown as a driver's name in "efitool drivers" > > command. > > We can have drivers supplied by U-Boot I assume that

Re: [U-Boot] [PATCH v4 2/9] cmd: efitool: add devices command

2019-01-16 Thread AKASHI Takahiro
On Tue, Jan 15, 2019 at 06:09:31AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:55 AM, AKASHI Takahiro wrote: > > "devices" command prints all the uefi variables on the system. > > > > => efi devices > > Scanning disk ahci_scsi.id0lun0... > > Scanning disk ahci_scsi.id1lun0... > > Found 4 disk

Re: [U-Boot] [PATCH v4 1/9] cmd: add efitool command

2019-01-16 Thread AKASHI Takahiro
On Tue, Jan 15, 2019 at 04:31:35AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:55 AM, AKASHI Takahiro wrote: > > Currently, there is no easy way to add or modify UEFI variables. > > In particular, bootmgr supports BootOrder/Boot variables, it is > > quite hard to define them as u-boot vari

[U-Boot] [PATCH 2/3] mmc: hi6220_dw_mmc: add compatible for Poplar support

2019-01-16 Thread Shawn Guo
It adds compatible "hisilicon,hi3798cv200-dw-mshc" for Poplar SoC Hi3798CV200 to probe this mmc driver. Signed-off-by: Shawn Guo --- drivers/mmc/hi6220_dw_mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c index cc58aff38cc4..effd1

[U-Boot] [PATCH 3/3] poplar: clean up board level mmc initialization code

2019-01-16 Thread Shawn Guo
We have converted mmc to driver model on Poplar. So let's clean up board level mmc initialization code. Signed-off-by: Shawn Guo --- arch/arm/include/asm/arch-hi3798cv200/dwmmc.h | 12 arch/arm/include/asm/arch-hi3798cv200/hi3798cv200.h | 1 - board/hisilicon/poplar/poplar.c

[U-Boot] [PATCH 1/3] poplar: sync up device tree with kernel 4.20

2019-01-16 Thread Shawn Guo
It adds missing pinctrl headers, updates clock header and sync up Poplar device tree with kernel 4.20 release. Signed-off-by: Shawn Guo --- arch/arm/dts/hi3798cv200-poplar.dts | 68 ++-- arch/arm/dts/hi3798cv200.dtsi | 221 +++- arch/arm/dts/poplar-pinctrl.

[U-Boot] [PATCH 0/3] Enable mmc driver model for Poplar board

2019-01-16 Thread Shawn Guo
We take Linux Kernel as Poplar DTS upstream, and patch #1 sync up u-boot DTS with it, so that devices like MMC are available to use with u-boot driver model. Patch #2 adds Poplar mmc compatible to hi6220_dw_mmc driver, so that the driver can probe Poplar mmc device. And finally patch #3 cleans up

Re: [U-Boot] [PATCH v2] efi_loader: move efi_init_obj_list() to a new efi_setup.c

2019-01-16 Thread AKASHI Takahiro
On Tue, Jan 15, 2019 at 04:16:52AM +0100, Heinrich Schuchardt wrote: > On 1/15/19 3:54 AM, AKASHI Takahiro wrote: > > # removed unnecessary "#if" statements from v1 > > > > The function, efi_init_obj_list(), can be shared in different pseudo efi > > applications, like bootefi/bootmgr as well as my

Re: [U-Boot] [PATCH 1/2] efi_loader: implement GetNextVariableName()

2019-01-16 Thread AKASHI Takahiro
Heinrich, Thank you for your quick review. On Wed, Jan 16, 2019 at 07:43:47PM +0100, Heinrich Schuchardt wrote: > On 12/14/18 10:47 AM, AKASHI Takahiro wrote: > > The current GetNextVariableName() is a placeholder. > > With this patch, it works well as expected. > > > > Signed-off-by: AKASHI Tak

Re: [U-Boot] Problems to boot i.MX8QXP EVK board

2019-01-16 Thread Peng Fan
> -Original Message- > From: Breno Matheus Lima [mailto:brenomath...@gmail.com] > Sent: 2019年1月17日 9:42 > To: Peng Fan > Cc: Breno Matheus Lima ; Fabio Estevam > ; Fabio Estevam ; > U-Boot-Denx > Subject: Re: Problems to boot i.MX8QXP EVK board > > Hi Peng, > > Em qua, 16 de jan de 20

Re: [U-Boot] Problems to boot i.MX8QXP EVK board

2019-01-16 Thread Breno Matheus Lima
Hi Peng, Em qua, 16 de jan de 2019 às 23:33, Peng Fan escreveu: > > Hi Breno, > > > -Original Message- > > From: Breno Matheus Lima [mailto:brenomath...@gmail.com] > > Sent: 2019年1月17日 9:04 > > To: Peng Fan ; Breno Matheus Lima > > > > Cc: Fabio Estevam ; Fabio Estevam > > ; U-Boot-Denx

Re: [U-Boot] Problems to boot i.MX8QXP EVK board

2019-01-16 Thread Peng Fan
Hi Breno, > -Original Message- > From: Breno Matheus Lima [mailto:brenomath...@gmail.com] > Sent: 2019年1月17日 9:04 > To: Peng Fan ; Breno Matheus Lima > > Cc: Fabio Estevam ; Fabio Estevam > ; U-Boot-Denx > Subject: Problems to boot i.MX8QXP EVK board > > Hi Peng, > > I'm not being able

Re: [U-Boot] [PATCH v2 00/11] samsung: Tidy up sound, DM_MMC drop dead code

2019-01-16 Thread Minkyu Kang
Hi, On 17/01/19 06:42, Simon Glass wrote: > Hi Minkyu, > > On Fri, 21 Dec 2018 at 10:35, Simon Glass wrote: >> >> Hi Minkyu, >> >> On Thu, 20 Dec 2018 at 17:40, Minkyu Kang wrote: >>> >>> Dear Simon Glass, >>> >>> On 17/12/18 11:36, Simon Glass wrote: This series was previously sent as a v

Re: [U-Boot] [PATCH v3 01/10] Convert CONFIG_BOARD_TYPES to Kconfig

2019-01-16 Thread Minkyu Kang
On 12/01/19 10:37, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_BOARD_TYPES > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > > Changes in v3: None > Changes in v2: > - Remove stranded comments in the header files > > common/Kconfig

Re: [U-Boot] [PATCH v3 03/10] exynos: Convert to use CONFIG_BLK

2019-01-16 Thread Minkyu Kang
On 12/01/19 10:37, Simon Glass wrote: > Move all exynos boards over to use CONFIG_BLK. > > This converts s5p_goni also, but adding dummy functions for pinmux and > peripheral ID. This will not function correctly, but gives the maintainer > more time to convert the board if desired. > > Signed-off

Re: [U-Boot] [PATCH v3 07/10] samsung: Drop board_enable_audio_codec()

2019-01-16 Thread Minkyu Kang
On 12/01/19 10:37, Simon Glass wrote: > This function is not needed now since the audio codecs have been converted > to proper drivers. The codec-enable GPIO is handled there. > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH v3 02/10] exynos: Drop duplicate 'model' line

2019-01-16 Thread Minkyu Kang
On 12/01/19 10:37, Simon Glass wrote: > At present the model is shown twice, once in the generic code and once > in the exynos code. Drop the latter. > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > > Changes in v3: None > Changes in v2: None > > board/samsung/common/boar

Re: [U-Boot] [PATCH v3 08/10] samsung: mmc: Drop old MMC init code

2019-01-16 Thread Minkyu Kang
On 12/01/19 10:37, Simon Glass wrote: > Now that these boards use driver model we can drop the old code. At > present s5p_mmc_init() is still used by goni and smdkv310 so cannot be > removed unless we remove those boards. > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > > C

[U-Boot] Problems to boot i.MX8QXP EVK board

2019-01-16 Thread Breno Matheus Lima
Hi Peng, I'm not being able to boot U-Boot v2019.01 on my i.MX8QXP B0 MEK board by following README file (board/freescale/imx8qxp_mek/README). After reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true") everything seems to be working fine. Do you happen to know if the procedure

Re: [U-Boot] [RFC 07/17] dts: imx: Add imx6q-sabreauto dts and imx6qdl-sabreauto dtsi files

2019-01-16 Thread Fabio Estevam
Hi Abel, On Wed, Jan 16, 2019 at 12:09 PM Abel Vesa wrote: > + mxcfb1: fb@0 { > + compatible = "fsl,mxc_sdc_fb"; > + disp_dev = "ldb"; > + interface_pix_fmt = "RGB666"; > + default_bpp = <16>; > + int_clk = <0>; > +

Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Simon Glass
On Wed, 16 Jan 2019 at 14:49, Tom Rini wrote: > > On Wed, Jan 16, 2019 at 10:44:16PM +0100, Simon Goldschmidt wrote: > > Am Mi., 16. Jan. 2019, 22:34 hat Simon Glass > > geschrieben: > > > > > Hi Simon, > > > > > > On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt > > > wrote: > > > > > > > > Thi

Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 10:44:16PM +0100, Simon Goldschmidt wrote: > Am Mi., 16. Jan. 2019, 22:34 hat Simon Glass geschrieben: > > > Hi Simon, > > > > On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt > > wrote: > > > > > > This adds two new functions, lmb_alloc_addr and > > > lmb_get_unreserved_s

Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Simon Goldschmidt
Am Mi., 16. Jan. 2019, 22:34 hat Simon Glass geschrieben: > Hi Simon, > > On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt > wrote: > > > > This adds two new functions, lmb_alloc_addr and > > lmb_get_unreserved_size. > > > > lmb_alloc_addr behaves like lmb_alloc, but it tries to allocate a > > pr

Re: [U-Boot] [PATCH v2 00/11] samsung: Tidy up sound, DM_MMC drop dead code

2019-01-16 Thread Simon Glass
Hi Minkyu, On Fri, 21 Dec 2018 at 10:35, Simon Glass wrote: > > Hi Minkyu, > > On Thu, 20 Dec 2018 at 17:40, Minkyu Kang wrote: > > > > Dear Simon Glass, > > > > On 17/12/18 11:36, Simon Glass wrote: > > > This series was previously sent as a v1 without a cover letter. Since then > > > I have ad

Re: [U-Boot] [PATCH 10/10] lib: Kconfig: spelling fixes

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:14, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > lib/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.

Re: [U-Boot] [PATCH 1/1] disk: efi: GUIDs should be const

2019-01-16 Thread Simon Glass
On Sat, 12 Jan 2019 at 03:30, Heinrich Schuchardt wrote: > > Make system_guid const. > > Signed-off-by: Heinrich Schuchardt > --- > disk/part_efi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing li

Re: [U-Boot] [PATCH 02/10] common: spl: Kconfig: spelling fixes

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:14, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > common/spl/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https://lis

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-16 Thread Simon Glass
Hi Simon, On Fri, 11 Jan 2019 at 03:02, Simon Goldschmidt wrote: > > On Fri, Jan 11, 2019 at 10:22 AM Andy Shevchenko > wrote: > > > > On Wed, Jan 9, 2019 at 10:36 AM Alexey Brodkin > > wrote: > > > > > > > Might be a bit naïve question but why depend on SPL_OF_PLATDATA only? > > > What about C

Re: [U-Boot] [PATCH 08/10] pinctrl: Kconfig: spelling fixes

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:14, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > drivers/pinctrl/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https:

Re: [U-Boot] [PATCH 04/10] x86: Kconfig: spelling fixes

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:14, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > arch/x86/cpu/qemu/Kconfig | 2 +- > arch/x86/cpu/quark/Kconfig | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass ___ U-Bo

Re: [U-Boot] [PATCH v2 2/3] power: regulator: Introduce regulator_set_enable_if_allowed api

2019-01-16 Thread Simon Glass
On Fri, 11 Jan 2019 at 02:46, Lokesh Vutla wrote: > > regulator_set_enable() api throws an error in the following three cases: > - when requested to disable an always-on regulator > - when set_enable() ops not provided by regulator driver > - when enabling is actually failed.(Error returned by the

Re: [U-Boot] [PATCH 01/10] Kconfig: fix spelling

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:13, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-16 Thread Simon Glass
Hi Alex, On Sat, 12 Jan 2019 at 15:00, Alexander Graf wrote: > > > > > Am 12.01.2019 um 22:32 schrieb Simon Glass : > > > > Hi Alex, > > > >> On Fri, 11 Jan 2019 at 00:57, Alexander Graf wrote: > >> > >> > >> > >>> On 11.01.19 05:29, AKASHI Takahiro wrote: > >>> Alex, Heinrich and Simon, > >>> >

Re: [U-Boot] [PATCH v10 03/10] lib: lmb: reserving overlapping regions should fail

2019-01-16 Thread Simon Glass
On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt wrote: > > lmb_add_region handles overlapping regions wrong: instead of merging > or rejecting to add a new reserved region that overlaps an existing > one, it just adds the new region. > > Since internally the same function is used for lmb_alloc, ch

Re: [U-Boot] [PATCH 1/1] efi_loader: use u16* for file name

2019-01-16 Thread Simon Glass
On Sat, 12 Jan 2019 at 04:02, Heinrich Schuchardt wrote: > > UTF-16 strings in our code should all be u16 *. Fix an inconsistency for > file names which may lead to a warning for printf("%ls", ). > > Simon Glass > Signed-off-by: Heinrich Schuchardt > --- > v2 > additionally correct efi_s

Re: [U-Boot] dm: pinctrl: Prevent (re-)configuring pins when already done before relocation

2019-01-16 Thread Simon Glass
Hi Lukasz, On Sat, 12 Jan 2019 at 14:46, Lukasz Majewski wrote: > > Hi Alex, > > > On Tue, Jan 8, 2019 at 11:24 PM Lukasz Majewski wrote: > > > > > > Hi Alex, > > > > > > > On Tue, Jan 8, 2019 at 10:52 PM Lukasz Majewski > > > > wrote: > > > > > > > > > > Hi Alex, > > > > > > > > > > > On Thu,

Re: [U-Boot] [PATCH 06/10] drivers: Kconfig: spelling fixes

2019-01-16 Thread Simon Glass
On Sun, 13 Jan 2019 at 02:14, Chris Packham wrote: > > Signed-off-by: Chris Packham > --- > > drivers/core/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https://l

Re: [U-Boot] [PATCH v2] of-platdata: improve documentation

2019-01-16 Thread Simon Glass
On Wed, 16 Jan 2019 at 12:40, Simon Goldschmidt wrote: > > Improve some things in the documentation of OF_PLATDATA that I found > while porting socfgpa_gen5 to it. > > Signed-off-by: Simon Goldschmidt > --- > > Changes in v2: > - further fixes noted by Simon Glass > - added info about missing nod

Re: [U-Boot] [PATCH v10 08/10] lmb: remove unused extern declaration

2019-01-16 Thread Simon Glass
On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt wrote: > > lmb.h includes an extern declaration of "struct lmb lmb;" which > is not used anywhere, so remove it. > > Signed-off-by: Simon Goldschmidt > --- > > Changes in v10: None > Changes in v9: None > Changes in v8: None > Changes in v7: None >

Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Simon Glass
Hi Simon, On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt wrote: > > This adds two new functions, lmb_alloc_addr and > lmb_get_unreserved_size. > > lmb_alloc_addr behaves like lmb_alloc, but it tries to allocate a > pre-specified address range. Unlike lmb_reserve, this address range > must be ins

Re: [U-Boot] [PATCH v10 02/10] lmb: fix allocation at end of address range

2019-01-16 Thread Simon Glass
On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt wrote: > > The lmb code fails if base + size of RAM overflows to zero. > > Fix this by calculating end as 'base + size - 1' instead of 'base + size' > where appropriate. > > Added tests to assert this is fixed. > > Signed-off-by: Simon Goldschmidt >

Re: [U-Boot] [PATCH v2 2/4] arm64: zynqmp: Align u-boot-spl.bin for boot.bin creation

2019-01-16 Thread Simon Glass
On Wed, 16 Jan 2019 at 04:24, Michal Simek wrote: > > Bootrom is not capable to work with non align bootloader partition > that's why it is necessary to align it before boot.bin creation. > The patch is creating new spl/u-boot-spl-align.bin which is used only > for boot.bin. > > Signed-off-by: Mic

Re: [U-Boot] [PATCH 2/2] nyan-big: add padding to its file

2019-01-16 Thread Simon Glass
On Wed, 16 Jan 2019 at 11:50, Tristan Bastian wrote: > > Without this padding nyan-big ends at a blank screen on boot. > Details on how to get to this padding can be found in the README.chromium > under Notes. > > Signed-off-by: Tristan Bastian > --- > doc/chromium/nyan-big.its | 2 +- > 1 file

Re: [U-Boot] [PATCH 1/2] nyan-big: change spi delay

2019-01-16 Thread Simon Glass
On Wed, 16 Jan 2019 at 11:50, Tristan Bastian wrote: > > Internal keyboard of nyan-big is only working when cold booting by pressing > [reload/refresh]+[power] button. > With this patch keyboard is working by only pressing [power] button. > > Signed-off-by: Tristan Bastian > --- > arch/arm/dts/

Re: [U-Boot] [U-Boot, v2, 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point

2019-01-16 Thread Tom Rini
On Wed, Dec 05, 2018 at 11:51:33AM -0600, Andrew F. Davis wrote: > Like AM33xx and AM43xx, DRA7xx and AM57xx devices may need to > have an non-standard boot address in memory. This may be due > to the device being a high security variant, which place the > Initial SoftWare (ISW) after certificates

[U-Boot] [PATCH v2] of-platdata: improve documentation

2019-01-16 Thread Simon Goldschmidt
Improve some things in the documentation of OF_PLATDATA that I found while porting socfgpa_gen5 to it. Signed-off-by: Simon Goldschmidt --- Changes in v2: - further fixes noted by Simon Glass - added info about missing node relations - moved the passage about phandles into section 'caveats' do

[U-Boot] [PATCH 0/2] Make nyan-big working..

2019-01-16 Thread Tristan Bastian
Another problem is, that the internal keyboard is not working on the current master. A change of the SPI deactive delay solves that. A workaround for the current master was to press [reload/refresh]+[power] button. With the second patch this is no longer needed. _

[U-Boot] [PATCH 2/2] nyan-big: add padding to its file

2019-01-16 Thread Tristan Bastian
Without this padding nyan-big ends at a blank screen on boot. Details on how to get to this padding can be found in the README.chromium under Notes. Signed-off-by: Tristan Bastian --- doc/chromium/nyan-big.its | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/chromium/nyan

[U-Boot] [PATCH 1/2] nyan-big: change spi delay

2019-01-16 Thread Tristan Bastian
Internal keyboard of nyan-big is only working when cold booting by pressing [reload/refresh]+[power] button. With this patch keyboard is working by only pressing [power] button. Signed-off-by: Tristan Bastian --- arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+),

Re: [U-Boot] no DTB with nand SPL on sama5d3

2019-01-16 Thread Daniel Evans
Hello, Yes, I am trying to load the U-boot SPL What I posted previously was a custom board. I switched over to the sama5d3_xplained and all I get with sama5d3_xplained_nandflash_defconfig is ROMBOOT. AT91bootstrap works fine. I know there was the issue with the nand_header showing up for t

Re: [U-Boot] [PATCH 1/2] efi_loader: implement GetNextVariableName()

2019-01-16 Thread Heinrich Schuchardt
On 12/14/18 10:47 AM, AKASHI Takahiro wrote: > The current GetNextVariableName() is a placeholder. > With this patch, it works well as expected. > > Signed-off-by: AKASHI Takahiro > --- > lib/efi_loader/efi_variable.c | 116 +- > 1 file changed, 115 insertions(+),

Re: [U-Boot] [RFC 01/17] common: Break USB_STORAGE dependency between SPL and u-boot proper

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 02:03:20PM +, Abel Vesa wrote: > Some boards might need USB_STORAGE enabled in u-boot proper but not in > SPL. Make a separate config for SPL and keep the same depends on > conditions but for SPL. Also, all the boards that have DISTRO_DEFAULTS > use by default SPL_USB_S

[U-Boot] [PULL] u-boot-mips

2019-01-16 Thread Daniel Schwierzeck
Hi Tom, please pull updates for MIPS https://travis-ci.org/danielschwierzeck/u-boot/builds/480371326 The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: Prepare v2019.01 (2019-01-14 17:02:36 -0500) are available in the Git repository at: git://git.denx.de/u-boot-

[U-Boot] [PATCH u-boot 2/2] cmd: mdio: Add new parameter to access MMD PHY registers

2019-01-16 Thread Carlo Caione
Two new parameters (rmmd and wmmd) are added to allow the `mdio` command to access the content of the MMD PHY registers. Signed-off-by: Carlo Caione --- cmd/mdio.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/cmd/mdio.c b/cmd/mdio.c index

[U-Boot] [PATCH u-boot 1/2] net: phy: Add support for accessing MMD PHY registers

2019-01-16 Thread Carlo Caione
Two new helper functions (phy_read_mmd() and phy_write_mmd()) are added to allow access to the MMD PHY registers. The MMD PHY registers can be accessed by two means: 1. Using two new MMD access function hooks in the PHY driver. These functions can be implemented when the PHY driver does not suppo

[U-Boot] [PATCH u-boot 0/2] Add MMD PHY helpers

2019-01-16 Thread Carlo Caione
Introduce phy_(read|write)_mmd() generic 802.3 clause 45 register accessors for Clause 22 PHYs, using the indirect method. Allow this behaviour to be overriden by PHY drivers where necessary. Carlo Caione (2): net: phy: Add support for accessing MMD PHY registers cmd: mdio: Add new pa

Re: [U-Boot] [PATCH 2/2] efi_selftest: fix variables test for GetNextVariableName()

2019-01-16 Thread Heinrich Schuchardt
On 12/14/18 10:47 AM, AKASHI Takahiro wrote: > There is a bug in efi variables test. > Fix it with some cosmetic improvements. > > Please note that efi variables test still fails at QueryVariableInfo() > and GetVariable(), but this is not due to a change in this patch. > ==8<== > Testing EFI A

Re: [U-Boot] [PATCH v2 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2019-01-16 Thread Andrew F. Davis
On 12/6/18 3:41 PM, Tom Rini wrote: > On Wed, Dec 05, 2018 at 11:51:36AM -0600, Andrew F. Davis wrote: > >> Booting from UART and USB on HS devices is now supported for this >> platform. Update documentation for the same. >> >> Signed-off-by: Andrew F. Davis > > Reviewed-by: Tom Rini > Ping?

Re: [U-Boot] [PATCH v2 2/2] travis: Switch QEMU to 3.1.0 version

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 03:18:44PM +0100, Michal Simek wrote: > Vexpress ca15_tc2 is failing with 3.1.0 because of QEMU issue. > When this patch is applied > https://patchwork.kernel.org/patch/10754401/ > Vexpress can be also turn to newer QEMU version. > > Signed-off-by: Michal Simek Reviewed-

Re: [U-Boot] Please pull from u-boot-i2c

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 02:01:30PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: > > Prepare v2019.01 (2019-01-14 17:02:36 -0500) > > are available in the Git repository at

Re: [U-Boot] [PATCH] configs: Remove unused am335x_evm defconfigs

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 02:38:04PM +0530, Vignesh R wrote: > These defconfigs don't seem be actively used any more, and have not been > moved to adapt DM or DT. Therefore delete them. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___

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

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 03:16:39PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > 1. Improve cache implementation. > 2. Fix and improve standalone applications > > https://travis-ci.org/rickchen36/u-boot-riscv/builds/479684449 > > Thanks > > Rick > > > The

Re: [U-Boot] [PATCH] configs: Remove am43xx_evm_ethboot_defconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 02:54:36PM +0530, Vignesh R wrote: > am43xx_evm_ethboot_defconfig is not being actively used and has not been > moved to DM or DT. Also, ethboot cannot be tested on AM43xx EVM as such > due EVM limitations. Therefore delete it. > > Signed-off-by: Vignesh R Reviewed-by: T

Re: [U-Boot] [PATCH v2 1/2] travis: Setup QEMU_VERSION as variable

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 03:18:43PM +0100, Michal Simek wrote: > This change enables setting up specific Qemu version or sha1 for new > targets which are added after (current) v3.0.0 version. > This changes is preparation step for adding new Xilinx Versal Virt > platform which was merge after v3.0.

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

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 08:57:23AM -0700, Simon Glass wrote: > Hi Tom, > > https://travis-ci.org/sglass68/u-boot/builds > > The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff: > > Prepare v2019.01 (2019-01-14 17:02:36 -0500) > > are available in the Git repository at

Re: [U-Boot] common: Kconfig: miscellaneous spelling fixes

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 03:30:50PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 2/2] kbuild: add .SECONDARY special target to scripts/Kbuild.include

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 07:42:27PM +0900, Masahiro Yamada wrote: > Based on the following Linux commits: > > - 54a702f70589 ("kbuild: mark $(targets) as .SECONDARY and remove >.PRECIOUS markers") > > - 8e9b61b293d9 ("kbuild: move .SECONDARY special target to >Kbuild.include") > > GNU

Re: [U-Boot] Makefile: run CONFIG_BOARD_SIZE_LIMIT against .img

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 08:56:02PM +0100, Simon Goldschmidt wrote: > With the current Makefile, CONFIG_BOARD_SIZE_LIMIT is used to check > the U-Boot binary without devicetree only. This produces wrong results > when OF_SEPARATE is used. > > To fix this, run the CONFIG_BOARD_SIZE_LIMIT check on a

Re: [U-Boot] [U-Boot, 1/2] kbuild: add .DELETE_ON_ERROR special target

2019-01-16 Thread Tom Rini
On Fri, Jan 11, 2019 at 07:42:26PM +0900, Masahiro Yamada wrote: > Linux commit 9c2af1c7377a8a6ef86e5cabf80978f3dbbb25c0 > > If Make gets a fatal signal while a shell is executing, it may delete > the target file that the recipe was supposed to update. This is needed > to make sure that it is re

Re: [U-Boot] serial: ns16550: fix debug uart putc called before init

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 05:52:24PM +0100, Simon Goldschmidt wrote: > On Wed, Jan 16, 2019 at 3:44 AM Tom Rini wrote: > > > > On Wed, Jan 09, 2019 at 08:35:31PM +0100, Simon Goldschmidt wrote: > > > > > If _debug_uart_putc() is called before _debug_uart_init(), the > > > ns16550 debug uart driver h

Re: [U-Boot] serial: ns16550: fix debug uart putc called before init

2019-01-16 Thread Simon Goldschmidt
On Wed, Jan 16, 2019 at 3:44 AM Tom Rini wrote: > > On Wed, Jan 09, 2019 at 08:35:31PM +0100, Simon Goldschmidt wrote: > > > If _debug_uart_putc() is called before _debug_uart_init(), the > > ns16550 debug uart driver hangs in a tight loop waiting for the > > tx FIFO to get empty. > > > > As this

Re: [U-Boot] [PATCH v2] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 07:38:04PM +0300, Alexey Brodkin wrote: > Join the party of some ARM boards and drop more > items from include/configs/xxx.h. > > Signed-off-by: Alexey Brodkin > Cc: Michal Simek > Cc: Simon Glass > Cc: Tom Rini Reviewed-by: Tom Rini -- Tom signature.asc Descript

[U-Boot] [PATCH v2] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- Changes in v2: * Default ENV_OFFSET defined specially for ARC but not all configs/emsdp_defconfig | 1 + configs/iot_devki

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:25 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig > > On Wed, Jan 16

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 04:22:22PM +, Alexey Brodkin wrote: > Hi Tom, > > > -Original Message- > > From: Tom Rini > > Sent: Wednesday, January 16, 2019 7:19 PM > > To: Alexey Brodkin > > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > > ; Simon > > Glass > > S

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:19 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig > > On Wed, Jan 16

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 07:11:15PM +0300, Alexey Brodkin wrote: > Join the party of some ARM boards and drop more > items from include/configs/xxx.h. > > Signed-off-by: Alexey Brodkin > Cc: Michal Simek > Cc: Simon Glass > Cc: Tom Rini > --- > configs/emsdp_defconfig | 1 + > configs/io

[U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- configs/emsdp_defconfig | 1 + configs/iot_devkit_defconfig | 1 + configs/tb100_defconfig | 1 + env/Kconfig

[U-Boot] [PATCH 2/2] armv8: ls2088ardb: Update MAINTAINERS

2019-01-16 Thread Rajesh Bhagat
From: York Sun Signed-off-by: York Sun CC: Rajesh Bhagat --- board/freescale/ls2080ardb/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/ls2080ardb/MAINTAINERS b/board/freescale/ls2080ardb/MAINTAINERS index 1f6014deed..113b7ab3fd 100644 --- a/board/freescale/ls2

[U-Boot] [PATCH 1/2] armv8: ls1088ardb: Update MAINTAINERS

2019-01-16 Thread Rajesh Bhagat
From: York Sun Signed-off-by: York Sun CC: Rajesh Bhagat --- board/freescale/ls1088a/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/freescale/ls1088a/MAINTAINERS b/board/freescale/ls1088a/MAINTAINERS index bca9969637..98ecb88e3b 100644 --- a/board/freescale/ls1088a/MAIN

Re: [U-Boot] [PATCH v2 3/4] MIPS: mscc: ocelot: add switch reset support

2019-01-16 Thread Daniel Schwierzeck
Am 16.01.19 um 15:37 schrieb Gregory CLEMENT: > Hi Daniel, > > On mer., janv. 16 2019, Daniel Schwierzeck > wrote: > >> Am 16.01.19 um 14:07 schrieb Gregory CLEMENT: >>> On some ocelots platform a workaround is needed in order to be able to >>> reset the switch without resetting the DDR. >>

Re: [U-Boot] [PATCH 2/2] MSCC: Remove reset.c

2019-01-16 Thread Horatiu Vultur
Hi Daniel, The 01/16/2019 15:35, Daniel Schwierzeck wrote: > > > Am 15.01.19 um 17:33 schrieb Horatiu Vultur: > > Remove reset.c because it is not used anymore. It is superseed by > > sysreset driver. > > > > Signed-off-by: Horatiu Vultur > > --- > > arch/mips/mach-mscc/Makefile |

Re: [U-Boot] [RFC 08/17] dts: imx: Add imx6q-sabresd dts and imx6qdl-sabresd dtsi files

2019-01-16 Thread Fabio Estevam
On Wed, Jan 16, 2019 at 12:18 PM Abel Vesa wrote: > Oups, my bad. Actually the files should've been named imx6sabreauto.dtb (same > for sabresd). > Without the 'q'. I tested on 6d and booted fine, so what I'm saying here is: > this is meant for all the 6sabreauto. Do you mean mx6d (dual) or mx

Re: [U-Boot] [RFC 08/17] dts: imx: Add imx6q-sabresd dts and imx6qdl-sabresd dtsi files

2019-01-16 Thread Fabio Estevam
Hi Abel, On Wed, Jan 16, 2019 at 12:11 PM Abel Vesa wrote: > > Add necessary dts and dtsi files in order to enable DM in both > SPL and u-boot proper for mx6sabresd. > > Signed-off-by: Abel Vesa > --- > arch/arm/dts/Makefile |3 +- > arch/arm/dts/imx6q-sabresd.dts| 92

Re: [U-Boot] [RFC 08/17] dts: imx: Add imx6q-sabresd dts and imx6qdl-sabresd dtsi files

2019-01-16 Thread Abel Vesa
On 19-01-16 12:14:34, Fabio Estevam wrote: > Hi Abel, > > On Wed, Jan 16, 2019 at 12:11 PM Abel Vesa wrote: > > > > Add necessary dts and dtsi files in order to enable DM in both > > SPL and u-boot proper for mx6sabresd. > > > > Signed-off-by: Abel Vesa > > --- > > arch/arm/dts/Makefile

  1   2   >