Re: [U-Boot] [PATCH 1/2] powerpc: t1040: Correct RCW MAC2_GMII_SEL value

2018-10-24 Thread Poonam Aggrwal
Hello Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Monday, October 22, 2018 9:41 AM > To: Poonam Aggrwal > Cc: York Sun ; U-Boot Mailing List > Subject: Re: [PATCH 1/2] powerpc: t1040: Correct RCW MAC2_GMII_SEL value > > Hi Poonam, > > On Mon, Oct 22,

Re: [U-Boot] [PATCH v2 04/18] arm: MediaTek: add basic support for MT7629 boards

2018-10-24 Thread Ryder Lee
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote: > Hi Ryder, > > On 12 October 2018 at 01:00, Ryder Lee wrote: > > This adds a general board file based on MT7629 SoCs from MediaTek. > > > > Apart from the generic parts (cpu) we add some low level init codes > > and initialize the early clock

Re: [U-Boot] [PATCH v2 05/18] arm: MediaTek: add basic support for MT7623 boards

2018-10-24 Thread Ryder Lee
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote: > Hi, > > On 12 October 2018 at 01:00, Ryder Lee wrote: > > From: Weijie Gao > > > > This adds a general board file based on MT7623 SoCs from MediaTek. > > > > As this u-boot is loaded by preloader, there is no low level > > initializtion cod

Re: [U-Boot] [PATCH v2 06/18] clk: MediaTek: add clock driver for MT7629 SoC.

2018-10-24 Thread Ryder Lee
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote: > Hi Ryder, > > On 12 October 2018 at 01:00, Ryder Lee wrote: > > This patch adds clock modules for MediaTek SoCs: > > - Shared part: a common driver which contains the general operations > > for plls, muxes, dividers and gates so that we can

Re: [U-Boot] [PATCH 1/1] x86: detect unsupported relocation types

2018-10-24 Thread Heinrich Schuchardt
On 10/24/2018 11:48 PM, Heinrich Schuchardt wrote: > On 10/24/2018 08:58 PM, Hannes Schmelzer wrote: >>> Hello Hannes, >>> >>> thanks for reporting the problem. >>> >>> There are two possible reasons: >>> >>> a) The build process introduces relocations of the reported type. >>> b) The relocation re

Re: [U-Boot] [PATCH v2 11/18] pinctrl: MediaTek: add pinctrl driver for MT7623 SoC

2018-10-24 Thread Ryder Lee
On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote: > Hi Ryder, > > On 12 October 2018 at 01:01, Ryder Lee wrote: > > This patch adds pinctrl support for MT7623 SoC. And most of the > > structures are used to hold the hardware configuration for each > > pin. > > > > Signed-off-by: Ryder Lee >

Re: [U-Boot] [PATCH v2 10/18] pinctrl: MediaTek: add pinctrl driver for MT7629 SoC

2018-10-24 Thread Ryder Lee
Hi Simon, On Wed, 2018-10-24 at 21:29 -0600, Simon Glass wrote: > Hi Ryder, > > On 12 October 2018 at 01:00, Ryder Lee wrote: > > This patch adds pinctrl support for MT7629 SoC. The IO core found on > > the SoC has the registers for pinctrl, pinconf and gpio mixed up in > > the same register ran

Re: [U-Boot] [PATCH v2 16/18] mmc: mtk-sd: add SD/MMC host controller driver for MT7623 SoC

2018-10-24 Thread Simon Glass
Hi Ryder. On 12 October 2018 at 01:01, Ryder Lee wrote: > From: Weijie Gao > > This patch adds MT7623 host controller driver for accessing SD/MMC. > > Cc: Jaehoon Chung > Signed-off-by: Weijie Gao > Signed-off-by: Ryder Lee > Tested-by: Matthias Brugger > --- > drivers/mmc/Kconfig |9 +

Re: [U-Boot] [PATCH v11 07/16] mips: Implement {in, out}_{le, be}_{16, 32, 64} and {in, out}_8

2018-10-24 Thread Simon Glass
On 15 October 2018 at 01:24, Mario Six wrote: > MIPS is the only architecture currently supported by U-Boot that does > not implement any of the in/out register access functions. > > To have a interface that is useable across architectures, add the > functions to the MIPS architecture (implemented

Re: [U-Boot] [PATCH v2 17/18] spi: mtk_qspi: add qspi driver for MT7629 SoC

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:01, Ryder Lee wrote: > From: Guochun Mao > > This patch adds MT7629 qspi driver for accessing SPI NOR flash. > > Cc: Jagan Teki > Signed-off-by: Guochun Mao > --- > change since v2: > - Drop flash commands in the driver. > --- > drivers/spi/Kconfig| 7 + > driver

Re: [U-Boot] [PATCH 13/13] dm: doc: Update description of pre-relocation support

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > Add some description about pre-relocation driver binding, including > usage of DM_FLAG_PRE_RELOC flag and caveats. > > Signed-off-by: Bin Meng > > --- > > doc/driver-model/README.txt | 16 > 1 file changed, 12 insertions(+), 4 delet

Re: [U-Boot] [PATCH v3 01/19] cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT

2018-10-24 Thread Simon Glass
On 22 October 2018 at 08:12, Jean-Jacques Hiblot wrote: > > The implementation of the EEPROM commands does not support the DM I2C API. > Prevent compilation breakage by not enabling it if the non-DM API is not > available (if DM_I2C is used without DM_I2C_COMPAT) > > Signed-off-by: Jean-Jacques Hi

Re: [U-Boot] [PATCH 1/1] efi_selftest: rename setup_ok

2018-10-24 Thread Simon Glass
On 22 October 2018 at 15:15, Heinrich Schuchardt wrote: > The variable name setup_ok might suggest a boolean with true indicating > OK. Let's avoid the misleading name. > > %s/setup_ok/setup_status/g > > Suggested-by: Simon Glass > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_selftest/efi

Re: [U-Boot] [PATCH v2 08/18] timer: MediaTek: add timer driver for MediaTek SoCs

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:00, Ryder Lee wrote: > This patch adds clock source and clock event for the timer found > on the Mediatek SoCs. > > Signed-off-by: Ryder Lee > Tested-by: Matthias Brugger > --- > drivers/timer/Kconfig | 7 > drivers/timer/Makefile| 1 + > drivers/timer/mt

Re: [U-Boot] [PATCH v3 17/19] drivers: core: Add the option SPL_DM_DEVICE_REMOVE to the Kconfig

2018-10-24 Thread Simon Glass
On 22 October 2018 at 08:12, Jean-Jacques Hiblot wrote: > It is currently not possible to include the support to remove devices in > the SPL. This is however needed by platforms that re-select their dtb after > DM is initialized; they need to remove all the previously bound devices > before trigge

Re: [U-Boot] [PATCH v2 09/18] watchdog: MediaTek: add watchdog driver for MediaTek SoCs

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:00, Ryder Lee wrote: > This patch adds a common driver for the Mediatek SoC integrated > watchdog. > > Signed-off-by: Ryder Lee > Tested-by: Matthias Brugger > --- > drivers/watchdog/Kconfig | 8 +++ > drivers/watchdog/Makefile | 1 + > drivers/watchdog/mtk_wdt.c

Re: [U-Boot] [PATCH v2 11/18] pinctrl: MediaTek: add pinctrl driver for MT7623 SoC

2018-10-24 Thread Simon Glass
Hi Ryder, On 12 October 2018 at 01:01, Ryder Lee wrote: > This patch adds pinctrl support for MT7623 SoC. And most of the > structures are used to hold the hardware configuration for each > pin. > > Signed-off-by: Ryder Lee > Tested-by: Matthias Brugger > --- > drivers/pinctrl/mediatek/Kconfig

Re: [U-Boot] [PATCH v2 03/18] arm: dts: MediaTek: add device tree for MT7623

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:00, Ryder Lee wrote: > This adds device tree for MT7623 development board - Bananapi R2 > Detailed hardware information for BPI-R2 which could be found on > http://wiki.banana-pi.org/Banana_Pi_BPI-R2. > > Signed-off-by: Ryder Lee > Tested-by: Matthias Brugger > --- > ar

Re: [U-Boot] [PATCH v2 04/18] arm: MediaTek: add basic support for MT7629 boards

2018-10-24 Thread Simon Glass
Hi Ryder, On 12 October 2018 at 01:00, Ryder Lee wrote: > This adds a general board file based on MT7629 SoCs from MediaTek. > > Apart from the generic parts (cpu) we add some low level init codes > and initialize the early clocks. > > Signed-off-by: Ryder Lee > Signed-off-by: Weijie Gao > ---

Re: [U-Boot] [PATCH v2 15/18] ram: MediaTek: add DDR3 driver for MT7629 SoC

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:01, Ryder Lee wrote: > This patch adds a DDR3 driver for MT7629 SoC. > > Signed-off-by: Wu Zou > Signed-off-by: Ryder Lee > --- > drivers/ram/Makefile | 1 + > drivers/ram/mediatek/Makefile | 7 + > drivers/ram/mediatek/ddr3-mt7629.c | 766 >

Re: [U-Boot] [PATCH 11/13] video: simplefb: Remove DM_FLAG_PRE_RELOC flag

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 12/13] watchdog: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH v2 14/18] serial: 16550: allow the driver to support MediaTek serial

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:01, Ryder Lee wrote: > This patch adds an extra operation in ns16550.c to suuport MediaTek > SoCs as we have a highspeed register which influences the calcualtion > of the divisor. > > Note that we don't support the baudrate greater than 115200 currently. > > Signed-off-by

Re: [U-Boot] [PATCH v2 06/18] clk: MediaTek: add clock driver for MT7629 SoC.

2018-10-24 Thread Simon Glass
Hi Ryder, On 12 October 2018 at 01:00, Ryder Lee wrote: > This patch adds clock modules for MediaTek SoCs: > - Shared part: a common driver which contains the general operations > for plls, muxes, dividers and gates so that we can reuse it in future. > > - Specific SoC part: the group of structur

Re: [U-Boot] [PATCH v2 12/18] power domain: MediaTek: add power domain driver for MT7629 SoC

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:01, Ryder Lee wrote: > This adds a power domain driver for the Mediatek SCPSYS unit. > > The System Control Processor System (SCPSYS) has several power > management related tasks in the system. The tasks include thermal > measurement, dynamic voltage frequency scaling (DVF

Re: [U-Boot] [PATCH v2 01/18] tools: MediaTek: add MTK boot header generation to mkimage

2018-10-24 Thread Simon Glass
Hi Ryder, On 12 October 2018 at 01:00, Ryder Lee wrote: > This patch adds support for MTK boot image generation. > > Signed-off-by: Weijie Gao > Signed-off-by: Ryder Lee > --- > Makefile | 22 ++ > common/image.c | 1 + > include/image.h | 1 + > scripts/Makefile.sp

Re: [U-Boot] [PATCH v2 07/18] clk: MediaTek: add clock driver for MT7623 SoC.

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:00, Ryder Lee wrote: > This patch adds a driver for MT7623 clock blocks. > > Signed-off-by: Ryder Lee > Tested-by: Matthias Brugger > --- > drivers/clk/mediatek/Makefile | 1 + > drivers/clk/mediatek/clk-mt7623.c | 870 > ++ >

Re: [U-Boot] [PATCH 06/13] pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH v2 05/18] arm: MediaTek: add basic support for MT7623 boards

2018-10-24 Thread Simon Glass
Hi, On 12 October 2018 at 01:00, Ryder Lee wrote: > From: Weijie Gao > > This adds a general board file based on MT7623 SoCs from MediaTek. > > As this u-boot is loaded by preloader, there is no low level > initializtion codes. > > Signed-off-by: Weijie Gao > Signed-off-by: Ryder Lee > Tested-

Re: [U-Boot] [PATCH v2 13/18] power domain: MediaTek: add power domain driver for MT7623 SoC

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:01, Ryder Lee wrote: > This adds power domain (scpsys) support for MT7623 SoC. > > Signed-off-by: Ryder Lee > --- > drivers/power/domain/mtk-power-domain.c | 80 > + > 1 file changed, 80 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v2 02/18] arm: dts: MediaTek: add device tree for MT7629

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:00, Ryder Lee wrote: > This patch adds MT7629 device tree and the includes it needs. > > Signed-off-by: Ryder Lee > --- > arch/arm/dts/Makefile| 3 + > arch/arm/dts/mt7629-rfb.dts | 71 + > arch/arm/dts/mt7629.dtsi

Re: [U-Boot] [PATCH 07/13] ram: bmips: Remove DM_FLAG_PRE_RELOC flag

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH v2 18/18] MAINTAINERS: add an entry for MediaTek

2018-10-24 Thread Simon Glass
On 12 October 2018 at 01:01, Ryder Lee wrote: > This patch adds an entry for MediaTek. > > Signed-off-by: Ryder Lee > --- > MAINTAINERS | 18 ++ > 1 file changed, 18 insertions(+) Reviewed-by: Simon Glass Please also add something like README.mediatek explaining what boards ar

Re: [U-Boot] [PATCH v2 10/18] pinctrl: MediaTek: add pinctrl driver for MT7629 SoC

2018-10-24 Thread Simon Glass
Hi Ryder, On 12 October 2018 at 01:00, Ryder Lee wrote: > This patch adds pinctrl support for MT7629 SoC. The IO core found on > the SoC has the registers for pinctrl, pinconf and gpio mixed up in > the same register range. Hence the driver also implements the gpio > functionality through UCLASS

Re: [U-Boot] [PATCH 1/1] efi_selftest: do not write to linker generated array

2018-10-24 Thread Simon Glass
Hi Heinrich, On 22 October 2018 at 15:14, Heinrich Schuchardt wrote: > On 10/22/2018 07:49 PM, Simon Glass wrote: >> Hi Heinrich, >> >> On 18 October 2018 at 23:51, Heinrich Schuchardt wrote: >>> Linker generated arrays may be stored in code sections of memory that are >>> not writable. So let's

Re: [U-Boot] [PATCH 09/13] serial: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 03/13] gpio: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 05/13] mmc: omap: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 04/13] i2c: omap24xx: Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 08/13] timer: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 10/13] sysreset: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 02/13] clk: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH 01/13] arm: stm32mp: Remove DM_FLAG_PRE_RELOC flag

2018-10-24 Thread Simon Glass
On 24 October 2018 at 07:36, Bin Meng wrote: > When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be > bound before relocation. However due to a bug in the DM core, > the flag only takes effect when devices are statically declared > via U_BOOT_DEVICE(). This bug has been fixed recently by

Re: [U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-24 Thread Rick Chen
Bin Meng 於 2018年10月25日 週四 上午11:16寫道: > > Hi Rick, > > On Thu, Oct 25, 2018 at 11:11 AM Rick Chen wrote: > > > > Bin Meng 於 2018年10月25日 週四 上午10:33寫道: > > > > > > Hi Rick, > > > > > > On Thu, Oct 25, 2018 at 9:20 AM Andes wrote: > > > > > > > > From: Rick Chen > > > > > > > > ax25-ae350 use CONF

Re: [U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-24 Thread Bin Meng
Hi Rick, On Thu, Oct 25, 2018 at 11:11 AM Rick Chen wrote: > > Bin Meng 於 2018年10月25日 週四 上午10:33寫道: > > > > Hi Rick, > > > > On Thu, Oct 25, 2018 at 9:20 AM Andes wrote: > > > > > > From: Rick Chen > > > > > > ax25-ae350 use CONFIG_OF_BOARD which allow the board to > > > override the fdt addre

Re: [U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-24 Thread Rick Chen
Bin Meng 於 2018年10月25日 週四 上午10:33寫道: > > Hi Rick, > > On Thu, Oct 25, 2018 at 9:20 AM Andes wrote: > > > > From: Rick Chen > > > > ax25-ae350 use CONFIG_OF_BOARD which allow the board to > > override the fdt address. And prior_stage_fdt_address offer > > a temporary memory address to keep the dt

Re: [U-Boot] [PATCH 21/30] riscv: remove CONFIG_INIT_CRITICAL

2018-10-24 Thread Bin Meng
Hi Lukas, On Mon, Oct 22, 2018 at 5:19 PM Bin Meng wrote: > > Hi Lukas, > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer > wrote: > > > > CONFIG_INIT_CRITICAL is deprecated and not used for RISC-V. Remove it. > > > > Signed-off-by: Lukas Auer > > --- > > > > arch/riscv/cpu/start.S | 11 -

Re: [U-Boot] [PATCH 09/30] riscv: move target selection into separate file

2018-10-24 Thread Bin Meng
On Tue, Oct 23, 2018 at 10:48 AM Rick Chen wrote: > > > > Subject: Re: [PATCH 09/30] riscv: move target selection into separate file > > > > > > Hi Lukas, > > > > > > On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer > > > > > > wrote: > > > > > > > > Move the target selection into a separate file (Kco

Re: [U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-24 Thread Bin Meng
Hi Rick, On Thu, Oct 25, 2018 at 9:20 AM Andes wrote: > > From: Rick Chen > > ax25-ae350 use CONFIG_OF_BOARD which allow the board to > override the fdt address. And prior_stage_fdt_address offer > a temporary memory address to keep the dtb address which was > passed from loader(gdb) to u-boot w

Re: [U-Boot] [PATCH 06/30] riscv: add Kconfig entries for the C and A ISA extensions

2018-10-24 Thread Bin Meng
Hi Lukas, On Wed, Oct 24, 2018 at 11:41 PM Auer, Lukas wrote: > > Hi Bin, > > On Wed, 2018-10-24 at 23:32 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Wed, Oct 24, 2018 at 11:21 PM Auer, Lukas > > wrote: > > > > > > Hi Bin, > > > > > > On Mon, 2018-10-22 at 15:21 +0800, Bin Meng wrote: > > >

Re: [U-Boot] [PATCH 07/30] riscv: set -march and -mabi based on the Kconfig configuration

2018-10-24 Thread Bin Meng
Hi Lukas, On Wed, Oct 24, 2018 at 11:57 PM Auer, Lukas wrote: > > Hi Bin, > > On Mon, 2018-10-22 at 15:21 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Sat, Oct 20, 2018 at 6:09 AM Lukas Auer > > wrote: > > > > > > Use the new Kconfig entries to construct the ISA string for the > > > -march >

[U-Boot] [PATCH] riscv: ax25-ae350: Pass dtb address to u-boot with a1 register

2018-10-24 Thread Andes
From: Rick Chen ax25-ae350 use CONFIG_OF_BOARD which allow the board to override the fdt address. And prior_stage_fdt_address offer a temporary memory address to keep the dtb address which was passed from loader(gdb) to u-boot with a1. Signed-off-by: Rick Chen Cc: Greentime Hu --- board/Andes

Re: [U-Boot] [PATCH 22/30] riscv: remove unused labels in start.S

2018-10-24 Thread Rick Chen
Auer, Lukas 於 2018年10月24日 週三 下午10:14寫道: > > Hi Rick, > > On Wed, 2018-10-24 at 13:47 +0800, Rick Chen wrote: > > Rick Chen 於 2018年10月24日 週三 下午1:20寫道: > > > > > > Bin Meng 於 2018年10月24日 週三 上午11:34寫道: > > > > > > > > Hi Rich, > > > > > > > > On Wed, Oct 24, 2018 at 10:37 AM Rick Chen > > > > wrot

Re: [U-Boot] [PATCH] imx: mkimage: avoid stop CI when required files not exists

2018-10-24 Thread Peng Fan
> -Original Message- > From: Anatolij Gustschin [mailto:ag...@denx.de] > Sent: 2018年10月25日 7:44 > To: Peng Fan > Cc: sba...@denx.de; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] imx: mkimage: avoid stop CI when required files > not exists > > Hi Peng, > > On Wed, 24 Oct 2018 09

Re: [U-Boot] [PATCH] imx: mkimage: avoid stop CI when required files not exists

2018-10-24 Thread Peng Fan
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: 2018年10月24日 22:09 > To: Peng Fan > Cc: sba...@denx.de; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] imx: mkimage: avoid stop CI when required files > not exists > > Dear Peng Fan, > > In message <201810240

Re: [U-Boot] [PATCH] imx: mkimage: avoid stop CI when required files not exists

2018-10-24 Thread Anatolij Gustschin
Hi Peng, On Wed, 24 Oct 2018 09:49:04 + Peng Fan peng@nxp.com wrote: ... > --- /dev/null > +++ b/tools/imx8_cntr_image.sh > @@ -0,0 +1,32 @@ > +#!/bin/sh > +# SPDX-License-Identifier: GPL-2.0+ > +# > +# script to generate FIT image source for K3 Family boards with > +# ATF, OPTEE, SPL and

Re: [U-Boot] [PATCH v5] net: Add MT7628 ethernet driver

2018-10-24 Thread Joe Hershberger
On Wed, Oct 24, 2018 at 1:36 AM Stefan Roese wrote: > > This patch adds ethernet support for the MIPS based Mediatek MT76xx SoCs > (e.g. MT7628 and MT7688), including a minimum setup of the integrated > switch. This driver is loosly based on the driver version included in > this MediaTek github re

Re: [U-Boot] [PATCH 1/1] x86: detect unsupported relocation types

2018-10-24 Thread Heinrich Schuchardt
On 10/24/2018 08:58 PM, Hannes Schmelzer wrote: >> Hello Hannes, >> >> thanks for reporting the problem. >> >> There are two possible reasons: >> >> a) The build process introduces relocations of the reported type. >> b) The relocation records are overwritten before relocation. This >> happens if y

Re: [U-Boot] net: dm: fec: Support the phy-supply binding

2018-10-24 Thread Joe Hershberger
Hi Martin, https://patchwork.ozlabs.org/patch/979100/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: aquantia: add firmware loading support

2018-10-24 Thread Joe Hershberger
Hi Jeremy, https://patchwork.ozlabs.org/patch/971309/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: mvpp2: fix polarity of PHY reset signal

2018-10-24 Thread Joe Hershberger
Hi Baruch, https://patchwork.ozlabs.org/patch/984073/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: dm: fec: Obtain the transceiver type from the DT

2018-10-24 Thread Joe Hershberger
Hi Martin, https://patchwork.ozlabs.org/patch/979102/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: dm: fec: Fix phy-reset-duration clamping and defaults

2018-10-24 Thread Joe Hershberger
Hi Martin, https://patchwork.ozlabs.org/patch/979101/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: dm: fec: Fix time unit error in phy-reset-duration

2018-10-24 Thread Joe Hershberger
Hi Martin, https://patchwork.ozlabs.org/patch/979099/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: fec_mxc: add support for i.MX8X

2018-10-24 Thread Joe Hershberger
Hi Anatolij, https://patchwork.ozlabs.org/patch/985918/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: mvpp2: increase PHY reset pulse

2018-10-24 Thread Joe Hershberger
Hi Baruch, https://patchwork.ozlabs.org/patch/984072/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net/phy: Add phy-id for IN112525_S03

2018-10-24 Thread Joe Hershberger
Hi Priyanka, https://patchwork.ozlabs.org/patch/982237/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: aquantia: autodetect if firmware needs to be loaded

2018-10-24 Thread Joe Hershberger
Hi Jeremy, https://patchwork.ozlabs.org/patch/971312/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] configs: migrate CONFIG_PHY_AQUANTIA to Kconfig

2018-10-24 Thread Joe Hershberger
Hi Jeremy, https://patchwork.ozlabs.org/patch/971306/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] miiphy: Add function to retrieve MDIO bus list head

2018-10-24 Thread Joe Hershberger
Hi Pankaj, https://patchwork.ozlabs.org/patch/970926/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] cmd: mii: don't check address for 'device' subcommand

2018-10-24 Thread Joe Hershberger
Hi Hector, https://patchwork.ozlabs.org/patch/958780/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2018-10-24 Thread Joe Hershberger
Hi Tom, Tested as https://travis-ci.org/jhershbe/u-boot/builds/445352605 The following changes since commit 1ed3c0954bd160dafcad8847a51c3ddd5f992f51: Merge branch 'master' of git://git.denx.de/u-boot-samsung (2018-10-23 21:13:32 -0400) are available in the git repository at: git://git.de

Re: [U-Boot] socfpga cyclone5 dts

2018-10-24 Thread Simon Goldschmidt
On 23.10.2018 10:54, Marek Vasut wrote: On 10/23/2018 10:52 AM, Simon Goldschmidt wrote: [...] - socfpga_cyclone5_de1_soc.dts - socfpga_cyclone5_de10_nano.dts These should be upstream. But they aren't? Or did you mean "these should be upstreamed"? By whom? CCing Dinh :-) [...] Also, Dinh h

Re: [U-Boot] [PATCH 1/1] x86: detect unsupported relocation types

2018-10-24 Thread Hannes Schmelzer
On 10/24/2018 02:35 AM, Heinrich Schuchardt wrote: On 10/23/2018 11:13 AM, Hannes Schmelzer wrote: On 10/13/18 3:30 AM, Heinrich Schuchardt wrote: Currently we support only relocations of type ELF64_R_TYPE or ELF32_R_TYPE. We should be warned if other relocation types appear in the relocation

Re: [U-Boot] [linux-sunxi] [PATCH 5/5] sunxi: doc: Add basic fastboot example

2018-10-24 Thread Maxime Ripard
On Wed, Oct 24, 2018 at 10:06:05PM +0530, Jagan Teki wrote: > On Tue, Oct 23, 2018 at 10:51 PM Priit Laes wrote: > > > > From: Priit Laes > > > > Signed-off-by: Priit Laes > > --- > > board/sunxi/README.fastboot | 98 ++- > > 1 file changed, 98 insertions(+)

Re: [U-Boot] [PATCH v11 08/16] regmap: Add raw read/write functions

2018-10-24 Thread sjg
On 15 October 2018 at 01:24, Mario Six wrote: > The regmap functions currently assume that all register map accesses > have a data width of 32 bits, but there are maps that have different > widths. > > To rectify this, implement the regmap_raw_read and regmap_raw_write > functions from the Linux k

Re: [U-Boot] [PATCH v11 12/16] regmap: Add endianness support

2018-10-24 Thread sjg
Add support for switching the endianness of regmap accesses via the "little-endian", "big-endian", and "native-endian" boolean properties in the device tree. The default endianness is native endianness. Signed-off-by: Mario Six Reviewed-by: Simon Glass Reviewed-by: Daniel Schwierzeck --- v10

Re: [U-Boot] [PATCH v11 06/16] regmap: Add error output

2018-10-24 Thread sjg
Add some debug output in cases where the initialization of a regmap fails. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes

Re: [U-Boot] [PATCH v11 13/16] regmap: Add overview documentation

2018-10-24 Thread sjg
Add some overview documentation that explains the purpose and some of the features and limitations of the regmap interface. Reviewed-by: Bin Meng Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: * Amended for inclusion of endianness setting via DT v7 -> v8:

Re: [U-Boot] [PATCH v3 09/31] sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data

2018-10-24 Thread sjg
Currently the sandbox block driver uses priv_auto_alloc_size for the driver data, however that's only available after the device probe phase. In order to make it accessible in an earlier phase, switch to use platdata_auto_alloc_size instead. This patch is the prerequisite for the follow up patch o

Re: [U-Boot] sunxi: add custom board

2018-10-24 Thread Maxime Ripard
On Wed, Oct 24, 2018 at 03:59:56PM +0200, Giulio Benetti wrote: > Hello Jagan and Maxime, > > I've looked around a lot, but I can't find a way to use the board/sunxi: > http://git.denx.de/?p=u-boot.git;a=tree;f=board/sunxi;h=304ee6b4cc8e075759d3bd0beb250b56f6901702;hb=HEAD > > to fit what we need

Re: [U-Boot] [PATCH v3 19/31] kconfig: Introduce HAVE_ARCH_IOMAP

2018-10-24 Thread sjg
Introduce a new Kconfig option for architecture codes to control whether it provides io{read,write}{8,16,32} I/O accessor functions. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None include/linux/io.h | 4 lib/Kconfig| 6 ++ 2 files

Re: [U-Boot] [PATCH v3 05/31] virtio: Add codes for virtual queue/ring management

2018-10-24 Thread sjg
From: Tuomas Tynkkynen This adds support for managing virtual queue/ring, the channel for high performance I/O between host and guest. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/virtio/Makefile |

Re: [U-Boot] [PATCH v3 27/31] virtio: pci: Support non-legacy PCI transport device

2018-10-24 Thread sjg
By default QEMU creates legacy PCI transport devices, but we can ask QEMU to create non-legacy one if we pass additional device property/value pairs in the command line: -device virtio-blk-pci,disable-legacy=true,disable-modern=false This adds a new driver driver to support non-legacy (modern)

Re: [U-Boot] [PATCH v3 15/31] virtio: Add block driver support

2018-10-24 Thread sjg
From: Tuomas Tynkkynen This adds virtio block device driver support. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - Correct desc->vendor for PCI transport drivers/virtio/Kconfig | 7 +++ drivers/virtio/Makef

Re: [U-Boot] [PATCH v3 12/31] blk: Drop blk_prepare_device()

2018-10-24 Thread sjg
With the post_probe() changes, this API is no longer needed. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/block/blk-uclass.c | 9 - include/blk.h | 10 -- 2 files changed, 19 deletions(-) Applied to u-boot-

Re: [U-Boot] [PATCH v3 10/31] efi_driver: blk: Switch to use platdata_auto_alloc_size for the driver data

2018-10-24 Thread sjg
Currently the efi block driver uses priv_auto_alloc_size for the driver data, however that's only available after the device probe phase. In order to make it accessible in an earlier phase, switch to use platdata_auto_alloc_size instead. This patch is the prerequisite for the follow up patch of DM

Re: [U-Boot] [PATCH v11 09/16] regmap: Support reading from specific range

2018-10-24 Thread sjg
It is useful to be able to treat the different ranges of a regmap separately to be able to use distinct offset for them, but this is currently not implemented in the regmap API. To preserve backwards compatibility, add regmap_read_range and regmap_write_range functions that take an additional para

Re: [U-Boot] [PATCH v3 11/31] blk: Call part_init() in the post_probe() method

2018-10-24 Thread sjg
part_init() is currently called in every DM BLK driver, either in its bind() or probe() method. However we can use the BLK uclass driver's post_probe() method to do it automatically. Update all DM BLK drivers to adopt this change. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in

Re: [U-Boot] [PATCH v3 07/31] virtio: Add net driver support

2018-10-24 Thread sjg
From: Tuomas Tynkkynen This adds virtio net device driver support. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - Changed virtio net driver feature table to const drivers/virtio/Kconfig | 7 ++ drivers/virt

Re: [U-Boot] [PATCH v3 13/31] blk: Make blk_next_free_devnum() public

2018-10-24 Thread sjg
blk_next_free_devnum() can be helpful in some cases. Make it a public API. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/block/blk-uclass.c | 2 +- include/blk.h | 11 +++ 2 files changed, 12 insertions(+), 1 deletio

Re: [U-Boot] [PATCH v3 08/31] test: dm: blk: Correct blk_base test case

2018-10-24 Thread sjg
The blk_base test case creates a USB mass storage block device with the Sandbox host block device as its parent. This does not make any sense and causes potential issue, for example if the test case tries to read/write anything on the USB mass storage block device it will definitely fail as its par

Re: [U-Boot] [PATCH v3 02/31] test: dm: core: Add test case for uclass driver's child_post_probe()

2018-10-24 Thread sjg
On 15 October 2018 at 03:20, Bin Meng wrote: > Add test case to cover uclass driver's child_post_probe() method. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: None > Changes in v2: > - new patch to add test case for uclass driver's child_post_probe() > > include/dm/test.h | 1 + > tes

Re: [U-Boot] [PATCH v3 03/31] riscv: bootm: Add dm_remove_devices_flags() call to do_bootm_linux()

2018-10-24 Thread sjg
On 15 October 2018 at 03:20, Bin Meng wrote: > This adds a call to dm_remove_devices_flags() to do_bootm_linux() > so that drivers that have one of the removal flags set (e.g. > DM_FLAG_ACTIVE_DMA_REMOVE) in their driver struct, may do some > last-stage cleanup before the OS is started. > > arm an

Re: [U-Boot] [PATCH v11 10/16] regmap: Define regmap_{get,set}

2018-10-24 Thread sjg
It would be convenient if one could use the regmap API in conjunction with register maps defined as structs (i.e. structs that directly mirror the memory layout of the registers in question). A similar approach was planned with the regmap_write32/regmap_read32 macros, but was never used. Hence, im

Re: [U-Boot] [PATCH v11 11/16] test: regmap: Add test for regmap_{set, get}

2018-10-24 Thread sjg
Add test for regmap_{set,get} functions. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4:

Re: [U-Boot] [PATCH v11 05/16] regmap: Introduce init_range

2018-10-24 Thread sjg
Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with an error, which is not currently checked during regmap initialization. Since the indentation depth is already quite deep, extract a new 'init_range' method to do the initialization. Reviewed-by: Anatolij Gustschin Reviewed-

Re: [U-Boot] [PATCH v3 17/31] riscv: qemu: Enumerate virtio bus during early boot

2018-10-24 Thread sjg
Currently devices on the virtio bus is not automatically enumerated, which means peripherals on the virtio bus are not discovered by their drivers. This uses board_init() to do the virtio enumeration. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH v3 01/31] dm: core: Allow uclass to set up a device's child after it is probed

2018-10-24 Thread sjg
On 15 October 2018 at 03:20, Bin Meng wrote: > Some buses need to set up their child devices after they are probed. > Support a common child_post_probe() method for the uclass. > > With this change, the two APIs uclass_pre_probe_device() and > uclass_post_probe_device() become symmetric. > > Signe

Re: [U-Boot] [PATCH v3 06/31] virtio: Add virtio over mmio transport driver

2018-10-24 Thread sjg
VirtIO can use various different buses and virtio devices are commonly implemented as PCI devices. But virtual environments without PCI support (a common situation in embedded devices models) might use simple memory mapped device (“virtio-mmio”) instead of the PCI device. This adds a transport dri

  1   2   >