Re: [U-Boot] [PATCH RFCv2 0/6] Beginning of migration of MPC8xx to DM model

2018-05-03 Thread Christophe LEROY
Hello, Le 16/03/2018 à 17:32, Christophe Leroy a écrit : This serie is the beginning of MPC8xx migration to DM model. I didn't get any feedback on this serie. I don't feel totally confortable as it is my first implementation of DM and also the first time powerpc uses DT for U-boot. I'd

Re: [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard

2018-05-03 Thread Jaehoon Chung
Dear Trevor, On 05/04/2018 12:13 AM, Trevor Woerner wrote: > Hi Jaehoon and Kever, > > On Wed, May 2, 2018 at 4:11 AM, Jaehoon Chung > wrote: > >> Hi, >> >> On 05/02/2018 04:10 PM, Kever Yang wrote: >>> Hi Trevor, >>> >>> It looks like the mmc driver does not work

Re: [U-Boot] Logo for U-Boot

2018-05-03 Thread Marek Vasut
On 05/03/2018 11:57 PM, Alexander Graf wrote: > > > On 01.05.18 04:09, Marek Vasut wrote: >> On 04/30/2018 08:22 PM, Heinrich Schuchardt wrote: >>> U-Boot has currently no logo that we can use in presentations. >>> >>> On the U-Boot IRC channel the following propositions where made: >>> >>>

Re: [U-Boot] [PATCH 2/2] net: add Kconfig for MVGBE

2018-05-03 Thread Chris Packham
On Fri, May 4, 2018 at 9:36 AM Joe Hershberger wrote: > On Thu, May 3, 2018 at 6:00 AM, Chris Packham wrote: > > Add Kconfig for MVGBE and update boards to select this. > > > > Signed-off-by: Chris Packham > > --- > > >

[U-Boot] [PATCH v2 2/2] drivers: spi: migrate cf_spi to DM

2018-05-03 Thread Angelo Dureghello
This patch adds DM support to cf_spi.c. --- Changes from v1: - split into 2 patches Signed-off-by: Angelo Dureghello --- drivers/spi/cf_spi.c| 406 +++- include/dm/platform_data/spi_coldfire.h | 22 ++ 2 files changed, 278

[U-Boot] [PATCH v2 1/2] drivers; add DM_NO_OF Kconfig option

2018-05-03 Thread Angelo Dureghello
To be able to build spi driver with DM support, a new config option has been introduced (DM_NO_OF) since m68k architecture does not support fdt. --- Changes from v1: - split into 2 patches Signed-off-by: Angelo Dureghello --- arch/Kconfig | 1 +

Re: [U-Boot] Logo for U-Boot

2018-05-03 Thread Alexander Graf
On 01.05.18 04:09, Marek Vasut wrote: > On 04/30/2018 08:22 PM, Heinrich Schuchardt wrote: >> U-Boot has currently no logo that we can use in presentations. >> >> On the U-Boot IRC channel the following propositions where made: >> >> Source:

Re: [U-Boot] [PATCH 2/2] net: add Kconfig for MVGBE

2018-05-03 Thread Joe Hershberger
On Thu, May 3, 2018 at 6:00 AM, Chris Packham wrote: > Add Kconfig for MVGBE and update boards to select this. > > Signed-off-by: Chris Packham > --- > > arch/arm/mach-kirkwood/include/mach/config.h | 1 - > configs/d2net_v2_defconfig

Re: [U-Boot] [RFC PATCH v2 20/20] fastboot: net: Split fastboot protocol out from net

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Separate the fastboot protocol handling from the fastboot UDP code in > preparation for reusing it in the USB code. > > Signed-off-by: Alex Kiernan This is the last patch, yet you are

Re: [U-Boot] [RFC PATCH v2 19/20] fastboot: Add missing newlines

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Add newlines so we format our output correctly. > > Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [RFC PATCH v2 18/20] fastboot: Check if part_name is NULL before using it

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > If we don't have a partition name passed, report it as not found. > > Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH v2 17/20] fastboot: Guard getvar:partition-type/size with MMC

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Add guard for partition-type/size against MMC as we need that in order > to lookup partitions. Why? It seems you should just be using mtdparts when NAND is enabled instead. > > Signed-off-by: Alex Kiernan

Re: [U-Boot] [RFC PATCH v2 16/20] fastboot: net: Add NAND support

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Add NAND support to fastboot UDP flash/erase commands > > Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger ___ U-Boot

Re: [U-Boot] [RFC PATCH v2 15/20] fastboot: Merge boot common across USB and UDP

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Merge USB and UDP boot code. The USB implementation stays the same, but > UDP no longer passes an fdt. We introduce a new environment variable > 'fastbootcmd' which if set overrides the hardcoded boot command, setting

Re: [U-Boot] [RFC PATCH v2 14/20] fastboot: Avoid re-parsing cmd_string for boot/reboot

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > When picking up boot/reboot after we've sent our result packet, use > the previously parsed command rather than redoing the strcmp. > > Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH v2 13/20] fastboot: Merge reboot-bootloader handling

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Extract fb_set_reboot_flag() from USB code and ensure all the overides > are included, then make the UDP fastboot code go through this same > path. > > Note this changes the behaviour of the fastboot net code such that

Re: [U-Boot] [RFC PATCH v2 12/20] fastboot: net: Convert command lookup to a table

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Change command lookup to use a lookup table so it matches the existing > USB fastboot code. > > Signed-off-by: Alex Kiernan > --- > > Changes in v2: None > > drivers/fastboot/fb_common.c | 30

Re: [U-Boot] [RFC PATCH v2 11/20] fastboot: net: Change 'continue' so it matches USB fastboot

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Change the behaviour of 'continue' so that we simply exit the fastboot > server and leave the caller to decide what to do next. This matches > the USB fastboot behaviour. Good, I was considering recommending this

Re: [U-Boot] [RFC PATCH v2 10/20] fastboot: Merge USB and UDP getvar implementation

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Merge the USB and UDP getvar implementations into one. The USB side > gains new variables previously defined in the network side and the > network side now supports fetching of arbitrary variables prefixed with >

Re: [U-Boot] [RFC PATCH v2 09/20] fastboot: Refactor write_fb_response into fastboot_okay/fail/response

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Replace write_fb_response with fastboot_okay/fail/response. Also allow > fastboot_okay to take NULL when we have no message to send. > > Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH v2 08/20] net: fastboot: Support building without MMC

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > If the fastboot flash/erase commands are disabled, remove that support > so we still build correctly. > > Signed-off-by: Alex Kiernan Acked-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH v2 07/20] net: fastboot: Merge AOSP UDP fastboot

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Merge UDP fastboot support from AOSP: > > https://android.googlesource.com/platform/external/u-boot/+/android-o-mr1-iot-preview-8 > > Signed-off-by: Alex Kiernan > Signed-off-by: Alex Deymo

Re: [U-Boot] [PATCH] arm: mach-omap2: cache: Explicitly enable I cache

2018-05-03 Thread Tom Rini
On Thu, May 03, 2018 at 08:34:49PM +0530, Lokesh Vutla wrote: > omap-common cache enabling sequence relies on cpu_init_cp15() > (inside start.S) for enabling I-caches. But cpu_init_cp15() > can be skipped if CONFIG_SKIP_LOWLEVEL_INIT is defined. So > enable I-caches if not enabled already. > >

Re: [U-Boot] [PATCHv2 2/2] stdio_names: Ensure MAX_NAMES is defined before use, don't use 3 directly

2018-05-03 Thread Tom Rini
On Thu, May 03, 2018 at 03:12:47PM +0100, Peter Robinson wrote: > On Thu, May 3, 2018 at 2:12 PM, Tom Rini wrote: > > With tighter build flags the fact that doesn't have a > > reference back to MAX_NAMES causes an error. Include here and > > then in common/console.c use

Re: [U-Boot] [PATCH v2 02/10] sysreset: Add get_status method

2018-05-03 Thread Simon Glass
On 27 April 2018 at 06:52, Mario Six wrote: > It's useful to have the reset status of the SoC printed out during reset > (e.g. to learn whether the reset was caused by software or a watchdog). > > As a first step to implement this, add a get_status method to the > sysreset

Re: [U-Boot] [PATCH v2 03/10] board_f: Add reset status printing

2018-05-03 Thread Simon Glass
Hi Mario, On 27 April 2018 at 06:52, Mario Six wrote: > To print the reset status during boot, add a method print_resetinfo to > board_f, which is called in init_sequence_f[], that gets the reset > information from the sysreset driver (assuming there is only one seems >

Re: [U-Boot] [PATCH v2 04/10] mpc83xx: Add sysreset driver

2018-05-03 Thread Simon Glass
On 27 April 2018 at 06:52, Mario Six wrote: > Add a sysreset driver for the MPC83xx platform. > > Signed-off-by: Mario Six > > --- > > v1 -> v2: > New in v2 > > --- > arch/powerpc/cpu/mpc83xx/cpu.c | 3 +- > drivers/sysreset/Kconfig|

Re: [U-Boot] [PATCH v2 07/10] common: board_f: Sort includes

2018-05-03 Thread Simon Glass
On 27 April 2018 at 06:52, Mario Six wrote: > Includes should be sorted. > > Signed-off-by: Mario Six > > --- > > v1 -> v2: > New in v2 > > --- > common/board_f.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH] treewide: Move CONFIG_PHY_MARVELL to Kconfig

2018-05-03 Thread Joe Hershberger
On Fri, Apr 27, 2018 at 7:52 AM, Mario Six wrote: > The CONFIG_PHY_MARVELL has already been migrated to Kconfig (some boards > already had it in their Kconfig), but had not been moved for older > boards. > > Move it to the defconfigs for all boards. > > Signed-off-by: Mario

Re: [U-Boot] [PATCH 2/2] net: add Kconfig for MVGBE

2018-05-03 Thread Stefan Roese
On 03.05.2018 13:00, Chris Packham wrote: Add Kconfig for MVGBE and update boards to select this. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2 01/10] ram: Add driver for MPC83xx

2018-05-03 Thread Simon Glass
Hi Mario, On 27 April 2018 at 06:52, Mario Six wrote: > Add a RAM driver for the MPC83xx architecture. > > Signed-off-by: Mario Six > > --- > > v1 -> v2: > No changes > > --- > arch/powerpc/cpu/mpc83xx/spd_sdram.c | 4 + > drivers/ram/Kconfig

[U-Boot] u-boot problem - Unknown commands

2018-05-03 Thread Dennis Jacobs
Dear u-boot mailing list, Recently I am working on a graduation project at Prodrive Technologies including the development of firmware for a Marvell Ethernet switch chip: 98DX3235. For parallel hardware/software development, I got access to another Marvell Ethernet switch chip 98DX3336 placed

[U-Boot] [PATCH 2/2] net: add Kconfig for MVGBE

2018-05-03 Thread Chris Packham
Add Kconfig for MVGBE and update boards to select this. Signed-off-by: Chris Packham --- arch/arm/mach-kirkwood/include/mach/config.h | 1 - configs/d2net_v2_defconfig | 2 ++ configs/dns325_defconfig | 2 ++

Re: [U-Boot] Booting Jerry chromebook from eMMC

2018-05-03 Thread Simon Glass
Hi Carlo, On 16 April 2018 at 14:26, Carlo Caione wrote: > Hi, > I'm trying to boot a Veyron Jerry chromebook using U-Boot placed in > the eMMC. Booting from SPI using 'chromebook_jerry_defconfig' works > perfectly fine, but I'm hitting a wall when moving from SPI to eMMC >

Re: [U-Boot] BUG: cannot boot with CONFIG_LOG

2018-05-03 Thread Simon Glass
Hi Heinrich, On 3 May 2018 at 12:54, Heinrich Schuchardt wrote: > Hello Simon, > > I am running vexpress_ca15_tc2_defconfig with qemu: > > QEMU_AUDIO_DRV=none qemu-system-arm \ > -M vexpress-a15 -cpu cortex-a15 \ > -kernel u-boot \ > -net user -net nic,model=lan9118 \ > -m

Re: [U-Boot] [RFC] Exporting defaul environment

2018-05-03 Thread Simon Glass
Hi Kristian, On 3 May 2018 at 06:57, Kristian Amlie wrote: > On 02/05/18 21:32, Simon Glass wrote: >> Hi Stefano, >> >> On 2 May 2018 at 02:48, Stefano Babic wrote: >>> >>> Hi, >>> >>> I am thinking about how it is possible to export in a clean way

Re: [U-Boot] [PATCH v2 2/3] mpc83xx/pci: Register IMMR region

2018-05-03 Thread Simon Glass
Hi Mario, On 27 April 2018 at 06:53, Mario Six wrote: > Register the IMMR region as a PCI region when PCI is used on MPC83xx. > > Signed-off-by: Mario Six > --- > > v1 -> v2: > No changes > > --- > drivers/pci/pci-uclass.c | 5 + > 1 file changed, 5

Re: [U-Boot] [PATCH v2 1/2] misc: uclass: Add enable/disable function

2018-05-03 Thread Simon Glass
Hi Mario, On 27 April 2018 at 06:52, Mario Six wrote: > Add generic enable/disable function to the misc uclass. > > Signed-off-by: Mario Six > --- > > v1 -> v2: > * Merged the two functions into one function > * Explained the semantics of

Re: [U-Boot] [PATCH v2 11/19] tpm: add TPM2_Clear command support

2018-05-03 Thread Simon Glass
Hi Miquel, On 27 April 2018 at 07:39, Miquel Raynal wrote: > Hi Simon, > > On Thu, 26 Apr 2018 08:40:27 -0600, Simon Glass > wrote: > >> Hi Miquel, >> >> On 24 April 2018 at 07:17, Miquel Raynal wrote: >> > Hi Simon, >> >

Re: [U-Boot] [PATCH v2] reset: Add generic GPIO reset driver

2018-05-03 Thread Simon Glass
Hi Neil, On 27 April 2018 at 07:01, Neil Armstrong wrote: > Hi, > > On 27/04/2018 14:53, Mario Six wrote: >> Some reset lines are implemented by toggling the line via a GPIO. >> >> Add a driver to properly drive such reset lines. > > You are defining a "gpio-reset"

Re: [U-Boot] [PATCH v2 1/3] drivers: Add board uclass

2018-05-03 Thread Simon Glass
Hi Philipp, [somehow the quoting is messed up here - so it's hard to distinguish my response from yours. On 1 May 2018 at 07:14, Dr. Philipp Tomsich wrote: > Simon, > > On 1 May 2018, at 01:12, Simon Glass wrote: > > Hi, > > On 27 April

[U-Boot] BUG: cannot boot with CONFIG_LOG

2018-05-03 Thread Heinrich Schuchardt
Hello Simon, I am running vexpress_ca15_tc2_defconfig with qemu: QEMU_AUDIO_DRV=none qemu-system-arm \ -M vexpress-a15 -cpu cortex-a15 \ -kernel u-boot \ -net user -net nic,model=lan9118 \ -m 1024M --nographic \ -drive if=sd,file=../img.vexpress,media=disk,format=raw If I enable CONFIG_LOG=y

Re: [U-Boot] [RFC PATCH v2 06/20] fastboot: Correct dependencies in FASTBOOT_FLASH

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Ensure that when selecting FASTBOOT_FLASH you end up with a buildable > configuration. Prior to this you could select NAND without MTDPARTS > and end up with an image which (surprisingly) excluded NAND. > >

Re: [U-Boot] [RFC PATCH v2 05/20] fastboot: Introduce fastboot_response and refactor fastboot_okay/fail

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Introduce fastboot_response which takes varargs parameters so we can > use it to generate formatted response strings. Refactor fastboot_okay/fail > to use it. > > Signed-off-by: Alex Kiernan

Re: [U-Boot] [RFC PATCH v2 04/20] fastboot: Extract fastboot_okay/fail to fb_common.c

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Add drivers/fastboot/fb_common.c, where fastboot_okay/fail are implemented > so we can call them from a non-USB implementation. > > Signed-off-by: Alex Kiernan Reviewed-by: Joe Hershberger

Re: [U-Boot] [RFC PATCH v2 03/20] fastboot: Refactor fastboot_okay/fail to take response

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Add the response string as a parameter to fastboot_okay/fail, instead > of modifying a global, to match the contract expected by the AOSP > U-Boot code. > > Signed-off-by: Alex Kiernan

Re: [U-Boot] [RFC PATCH v2 02/20] fastboot: Switch dependencies on FASTBOOT to USB_FUNCTION_FASTBOOT

2018-05-03 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan wrote: > Anyone who wants FASTBOOT before this series wants USB_FUNCTION_FASTBOOT. > Split USB_FUNCTION_FASTBOOT from FASTBOOT so they retain their existing > behaviour. > > Signed-off-by: Alex Kiernan

Re: [U-Boot] [PATCH] Fix Ymodem build when DEBUG and CONFIG_USE_TINY_PRINTF are selected

2018-05-03 Thread Joe Hershberger
On Thu, May 3, 2018 at 6:45 AM, Alex Kiernan wrote: > Attempting to build with both DEBUG and CONFIG_USE_TINY_PRINTF along > with CONFIG_SPL_YMODEM_SUPPORT fails at link time: > > common/built-in.o: In function `zm_dprintf': > common/xyzModem.c:190: undefined reference

Re: [U-Boot] FitImage add pubkey signature in DTS

2018-05-03 Thread Larry.Gass
On Thu, May 3, 2018 at 1:33 AM, Clément Péron wrote: > Subject: [U-Boot] FitImage add pubkey signature in DTS > > Hi, > > I'm looking to add the public key for the FitImage signature in my dts. > > Do you know if there is a script to add the pubkey in the .dts and not in

Re: [U-Boot] [RFC] Exporting defaul environment

2018-05-03 Thread Stefano Babic
Hi Kristian, On 03/05/2018 14:57, Kristian Amlie wrote: > On 02/05/18 21:32, Simon Glass wrote: >> Hi Stefano, >> >> On 2 May 2018 at 02:48, Stefano Babic wrote: >>> >>> Hi, >>> >>> I am thinking about how it is possible to export in a clean way the >>> default environment from

Re: [U-Boot] [PATCH 1/2] board: move ppa firmware address in board specific kconfig

2018-05-03 Thread Prabhakar Kushwaha
Dear Bhaskar, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Bhaskar > Upadhaya > Sent: Thursday, May 3, 2018 3:58 PM > To: u-boot@lists.denx.de > Cc: Bhaskar Upadhaya > Subject: [U-Boot] [PATCH 1/2] board: move ppa

[U-Boot] [PATCH 2/2] board: ls1012a: FRWY-LS1012A board support

2018-05-03 Thread Bhaskar Upadhaya
FRWY-LS1012A belongs to LS1012A family with features 2 1G SGMII PFE MAC, Micro SD, USB 3.0, DDR, QuadSPI, Audio, UART. Signed-off-by: Bhaskar Upadhaya --- arch/arm/Kconfig | 12 +++ arch/arm/cpu/armv8/Kconfig| 1 +

[U-Boot] [PATCH 1/2] board: move ppa firmware address in board specific kconfig

2018-05-03 Thread Bhaskar Upadhaya
ppa firmware address may vary depending upon different boards, configure ppa firmware address in board specific kconfig Signed-off-by: Bhaskar Upadhaya --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 5 - board/freescale/ls1012afrdm/Kconfig | 4

Re: [U-Boot] [PATCH v2 1/2] net: Add Kconfig option for BOOTP_NTPSERVER

2018-05-03 Thread Joe Hershberger
On Thu, May 3, 2018 at 3:19 AM, Chris Packham wrote: > Add a Kconfig option for BOOTP_NTPSERVER to enable the DHCP/BOOTP option > to configure the sntp server address. > > Signed-off-by: Chris Packham Acked-by: Joe Hershberger

Re: [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard

2018-05-03 Thread Trevor Woerner
Hi Jaehoon and Kever, On Wed, May 2, 2018 at 4:11 AM, Jaehoon Chung wrote: > Hi, > > On 05/02/2018 04:10 PM, Kever Yang wrote: > > Hi Trevor, > > > > It looks like the mmc driver does not work correctly, and no > > emmc/sdcard found. > > > > Maybe you can enable

Re: [U-Boot] [PATCH 1/2] net: mvgbe: remove CONFIG_DOVE

2018-05-03 Thread Joe Hershberger
On Thu, May 3, 2018 at 6:00 AM, Chris Packham wrote: > Nothing defines CONFIG_DOVE so remove the code that uses it. > > Signed-off-by: Chris Packham Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/2] net: bootp: Fix compile error processing ntpserver option

2018-05-03 Thread Joe Hershberger
On Thu, May 3, 2018 at 3:17 AM, Chris Packham wrote: > On Thu, May 3, 2018 at 12:23 PM Joe Hershberger > wrote: > >> On Fri, Apr 27, 2018 at 4:55 AM, Chris Packham > wrote: >> > When the following configuration is set >>

Re: [U-Boot] [PATCH] arm: mach-omap2: cache: Explicitly enable I cache

2018-05-03 Thread Jean-Jacques Hiblot
On 03/05/2018 17:04, Lokesh Vutla wrote: omap-common cache enabling sequence relies on cpu_init_cp15() (inside start.S) for enabling I-caches. But cpu_init_cp15() can be skipped if CONFIG_SKIP_LOWLEVEL_INIT is defined. So enable I-caches if not enabled already. Debugged-by: Jean-Jacques

[U-Boot] [PATCH] arm: mach-omap2: cache: Explicitly enable I cache

2018-05-03 Thread Lokesh Vutla
omap-common cache enabling sequence relies on cpu_init_cp15() (inside start.S) for enabling I-caches. But cpu_init_cp15() can be skipped if CONFIG_SKIP_LOWLEVEL_INIT is defined. So enable I-caches if not enabled already. Debugged-by: Jean-Jacques Hiblot Tested-by: Steve Kipisz

Re: [U-Boot] [PATCHv2 2/2] stdio_names: Ensure MAX_NAMES is defined before use, don't use 3 directly

2018-05-03 Thread Peter Robinson
On Thu, May 3, 2018 at 2:12 PM, Tom Rini wrote: > With tighter build flags the fact that doesn't have a > reference back to MAX_NAMES causes an error. Include here and > then in common/console.c use MAX_NAMES rather than 3 when working with > stdio_names. > > Reported-by:

[U-Boot] [PATCHv2 2/2] stdio_names: Ensure MAX_NAMES is defined before use, don't use 3 directly

2018-05-03 Thread Tom Rini
With tighter build flags the fact that doesn't have a reference back to MAX_NAMES causes an error. Include here and then in common/console.c use MAX_NAMES rather than 3 when working with stdio_names. Reported-by: Peter Robinson Signed-off-by: Tom Rini

[U-Boot] [PATCHv2 1/2] stdio_dev.h: Drop the video section as it is unused

2018-05-03 Thread Tom Rini
With tighter build flags the fact that this header referenced uchar/ushort without including what typedefs it causes an error. Rather than add another include here, drop the section in question as it is unused. Reported-by: Peter Robinson Tested-by: Peter Robinson

Re: [U-Boot] [RFC] Exporting defaul environment

2018-05-03 Thread Kristian Amlie
On 02/05/18 21:32, Simon Glass wrote: > Hi Stefano, > > On 2 May 2018 at 02:48, Stefano Babic wrote: >> >> Hi, >> >> I am thinking about how it is possible to export in a clean way the >> default environment from u-boot. The general use case happens when the >> environment must

Re: [U-Boot] [PATCH v3 25/25] tpm: allow Sandbox to run TPMv2.x commands

2018-05-03 Thread Miquel Raynal
Hi Simon, On Wed, 2 May 2018 20:32:55 -0600, Simon Glass wrote: > Hi Miquel, > > On 2 May 2018 at 02:59, Miquel Raynal wrote: > > Sandbx is run in userspace. What is done in baremetal applications like > > U-Boot is using an address in memory

Re: [U-Boot] [PATCH v3 22/25] doc: device-tree-bindings: add Sandbox TPMv2.0 module info

2018-05-03 Thread Miquel Raynal
Hi Simon, On Wed, 2 May 2018 20:32:46 -0600, Simon Glass wrote: > On 2 May 2018 at 02:59, Miquel Raynal wrote: > > Add Sandbox TPMv2.0 module bindings. > > > > Signed-off-by: Miquel Raynal > > --- > >

Re: [U-Boot] [PATCH v3 04/25] tpm: prepare support for TPMv2.x commands

2018-05-03 Thread Miquel Raynal
Hi Simon, Thanks for reviewing all of this. On Wed, 2 May 2018 20:31:50 -0600, Simon Glass wrote: > Hi Miquel, > > On 2 May 2018 at 02:59, Miquel Raynal wrote: > > Choice between v1 and v2 compliant functions is done with the > > configuration. >

[U-Boot] [PATCH 2/2] ARC: enable debug uart for HSDK and AXS10x boards

2018-05-03 Thread Eugeniy Paltsev
Signed-off-by: Eugeniy Paltsev --- configs/axs101_defconfig | 5 + configs/axs103_defconfig | 5 + configs/hsdk_defconfig | 5 + 3 files changed, 15 insertions(+) diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig index

[U-Boot] [PATCH 0/2] ARC: enable debug uart for HSDK and AXS10x boards

2018-05-03 Thread Eugeniy Paltsev
Eugeniy Paltsev (2): ARC: init debug uart in early common arc code ARC: enable debug uart for HSDK and AXS10x boards arch/arc/lib/start.S | 5 + configs/axs101_defconfig | 5 + configs/axs103_defconfig | 5 + configs/hsdk_defconfig | 5 + 4 files changed, 20

[U-Boot] [PATCH 1/2] ARC: init debug uart in early common arc code

2018-05-03 Thread Eugeniy Paltsev
The debug UART is intended for use very early in U-Boot to debug problems before serial drivers are up. Call debug_uart_init right before board_init_f. Signed-off-by: Eugeniy Paltsev --- arch/arc/lib/start.S | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH] Fix Ymodem build when DEBUG and CONFIG_USE_TINY_PRINTF are selected

2018-05-03 Thread Alex Kiernan
Attempting to build with both DEBUG and CONFIG_USE_TINY_PRINTF along with CONFIG_SPL_YMODEM_SUPPORT fails at link time: common/built-in.o: In function `zm_dprintf': common/xyzModem.c:190: undefined reference to `vsprintf' Disable Ymodem debug if we don't have full vsprintf support.

Re: [U-Boot] [PATCH 1/2] net: mvgbe: remove CONFIG_DOVE

2018-05-03 Thread Stefan Roese
On 03.05.2018 13:00, Chris Packham wrote: Nothing defines CONFIG_DOVE so remove the code that uses it. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/2] spi: kirkwood: Full dm conversion

2018-05-03 Thread Stefan Roese
Hi Chris, On 02.05.2018 23:56, Chris Packham wrote: Hi All, On Wed, May 2, 2018 at 10:53 PM Stefan Roese wrote: Hi Simon, On 01.05.2018 12:54, Simon Guinot wrote: On Mon, Apr 30, 2018 at 11:28:28AM +0530, Jagan Teki wrote: On Fri, Apr 27, 2018 at 2:21 PM, Simon Guinot <

[U-Boot] [PATCH 1/2] net: mvgbe: remove CONFIG_DOVE

2018-05-03 Thread Chris Packham
Nothing defines CONFIG_DOVE so remove the code that uses it. Signed-off-by: Chris Packham --- drivers/net/mvgbe.c | 2 -- drivers/net/mvgbe.h | 7 --- 2 files changed, 9 deletions(-) diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index

Re: [U-Boot] [PATCH v2 1/7] i.MX6: board: Add BTicino i.MX6DL Mamoj initial support

2018-05-03 Thread Stefano Babic
On 02/05/2018 14:41, Jagan Teki wrote: > Hi Stefano, > > On Thu, Apr 26, 2018 at 1:16 PM, Stefano Babic wrote: >> On 26/04/2018 09:33, Jagan Teki wrote: >>> On Thu, Apr 26, 2018 at 12:47 PM, Stefano Babic wrote: Hi Jagan, > > [snip] > > + >

[U-Boot] FitImage add pubkey signature in DTS

2018-05-03 Thread Clément Péron
Hi, I'm looking to add the public key for the FitImage signature in my dts. Do you know if there is a script to add the pubkey in the .dts and not in the .dtb ? Actually I "decompile" the .dtb to get those values, but maybe there is an easier way. Looking to generate something like this from

[U-Boot] [PATCH v2 2/2] net: bootp: Fix compile error processing ntpserver option

2018-05-03 Thread Chris Packham
When the following configuration is set # CONFIG_CMD_DHCP is not set CONFIG_CMD_BOOTP=y CONFIG_BOOTP_NTPSERVER=y The following compile error is observed error: used struct type value where scalar is required if (net_ntp_server) ^~ Resolve this by checking

[U-Boot] [PATCH v2 1/2] net: Add Kconfig option for BOOTP_NTPSERVER

2018-05-03 Thread Chris Packham
Add a Kconfig option for BOOTP_NTPSERVER to enable the DHCP/BOOTP option to configure the sntp server address. Signed-off-by: Chris Packham --- Changes in v2: - update devkit8000 config - remove from config_whitelist.txt cmd/Kconfig | 4

Re: [U-Boot] [PATCH 2/2] net: bootp: Fix compile error processing ntpserver option

2018-05-03 Thread Chris Packham
On Thu, May 3, 2018 at 12:23 PM Joe Hershberger wrote: > On Fri, Apr 27, 2018 at 4:55 AM, Chris Packham wrote: > > When the following configuration is set > > > > # CONFIG_CMD_DHCP is not set > > CONFIG_CMD_BOOTP=y > >

Re: [U-Boot] efi_loader: correctly apply relocations from the .reloc section

2018-05-03 Thread Alexander Graf
> Instead of difference between preferred and actual image base, the > actual base is added to the fields specified in the .reloc section. > > Use ImageBase from PE optional header to compute the delta, > exit early if the image is loaded at the preferred address. > > Signed-off-by: Ivan Gorinov

Re: [U-Boot] [PATCH] efi_loader: correctly apply relocations from the .reloc section

2018-05-03 Thread Heinrich Schuchardt
On 05/03/2018 01:36 AM, Ivan Gorinov wrote: Instead of difference between preferred and actual image base, the actual base is added to the fields specified in the .reloc section. Use ImageBase from PE optional header to compute the delta, exit early if the image is loaded at the preferred

[U-Boot] [PATCH] mmc: Changed the datatype of the variable to handle 64-bit arch

2018-05-03 Thread Michal Simek
From: Vipul Kumar This patch changed the datatype of variable "start" from uint to ulong to work properly on 64-bit machines as well. Also the return type of get_timer() function is ulong. Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH v2 1/1] arm: Add support for Trenz TE0820 on Sundance EMC2-DP-V2

2018-05-03 Thread Michal Simek
On 2.5.2018 17:51, Vladimir Svoboda wrote: > Add support for Trenz TE0820 revision 2 MPSoC module. > The TE0820 is a System-On-Module (SOM). > This has been tested with a Sundance EMC2-DP-V2 Revision 1 carrier > board. > > The tested variant of the TE0820 is TE0820-02-03EG-1EA. > >