Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-03 Thread Adam Ford
On Wed, Mar 3, 2021 at 3:36 PM Tom Rini wrote: > > On Wed, Mar 03, 2021 at 05:41:57PM +0100, Marek Behun wrote: > > On Wed, 3 Mar 2021 11:11:59 -0500 > > Tom Rini wrote: > > > > > On Wed, Mar 03, 2021 at 05:11:59AM +0100, Marek Behún wrote: > > > > > > > Hello, > > > > > > > > I have managed to a

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-04 Thread Adam Ford
On Thu, Mar 4, 2021 at 4:43 AM Marek Behun wrote: > > On Wed, 3 Mar 2021 16:36:05 -0500 > Tom Rini wrote: > > > So, as I start testing things locally with two additional changes (1. > > LTO by default 2. No ffunction/data-sections with LTO) we see: > > https://gist.github.com/trini/350ab850c42293

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-04 Thread Adam Ford
On Thu, Mar 4, 2021 at 7:50 AM Marek Behun wrote: > > On Thu, 4 Mar 2021 07:46:18 -0600 > Adam Ford wrote: > > > On Thu, Mar 4, 2021 at 4:43 AM Marek Behun wrote: > > > > > > On Wed, 3 Mar 2021 16:36:05 -0500 > > > Tom Rini wrote: > > >

Re: [PATCH V4 00/13] net: smc911x: Convert to DM

2021-03-04 Thread Adam Ford
On Tue, Apr 28, 2020 at 8:04 AM Marek Vasut wrote: > > On 4/28/20 2:45 PM, Adam Ford wrote: > > On Wed, Mar 25, 2020 at 11:47 AM Marek Vasut wrote: > >> > >> Perform DM conversion of the SMC911x driver. > >> > >> Note that the DT compatible is s

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-04 Thread Adam Ford
On Thu, Mar 4, 2021 at 8:58 AM Tom Rini wrote: > > On Thu, Mar 04, 2021 at 07:46:18AM -0600, Adam Ford wrote: > > On Thu, Mar 4, 2021 at 4:43 AM Marek Behun wrote: > > > > > > On Wed, 3 Mar 2021 16:36:05 -0500 > > > Tom Rini wrote: > > > > &

Re: [PATCH V4 00/13] net: smc911x: Convert to DM

2021-03-04 Thread Adam Ford
On Thu, Mar 4, 2021 at 9:11 AM Tom Rini wrote: > > On Thu, Mar 04, 2021 at 08:41:23AM -0600, Adam Ford wrote: > > On Tue, Apr 28, 2020 at 8:04 AM Marek Vasut wrote: > > > > > > On 4/28/20 2:45 PM, Adam Ford wrote: > > > > On Wed, Mar 25, 20

Re: [PATCH V4 00/13] net: smc911x: Convert to DM

2021-03-04 Thread Adam Ford
On Thu, Mar 4, 2021 at 9:15 AM Adam Ford wrote: > > On Thu, Mar 4, 2021 at 9:11 AM Tom Rini wrote: > > > > On Thu, Mar 04, 2021 at 08:41:23AM -0600, Adam Ford wrote: > > > On Tue, Apr 28, 2020 at 8:04 AM Marek Vasut wrote: > > > > > > > > On

[PATCH] configs: omap3_logic: Enable CONFIG_SPL_ALLOC_BD

2021-03-04 Thread Adam Ford
With bd_info dropped from the data section, the Logic PD OMAP3 boards and AM3517 fail to boot. Enabling CONFIG_SPL_ALLOC_BD restores them. Fixes: 38d6b7ebdaee ("spl: Drop bd_info in the data section") Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-04 Thread Adam Ford
On Thu, Mar 4, 2021 at 9:59 AM Marek Behun wrote: > > On Thu, 4 Mar 2021 09:07:33 -0600 > Adam Ford wrote: > > > Interesting. with LTO enabled, the DRAM reports 7.2 GB and hangs. > > Without LTO, U-Boot boots fine. > > > > LTO: > > OMAP3630/3730-GP E

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-05 Thread Adam Ford
On Thu, Mar 4, 2021 at 4:33 PM Marek Behun wrote: > > On Thu, 4 Mar 2021 16:18:03 -0600 > Adam Ford wrote: > > > diff --git a/arch/arm/mach-omap2/omap3/Makefile > > b/arch/arm/mach-omap2/omap3/Makefile > > index 91ed8ebc9f..a2cc21c6d2 100644 > > --- a/arch/arm

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-05 Thread Adam Ford
On Fri, Mar 5, 2021 at 6:31 AM Stefan Roese wrote: > > On 05.03.21 12:25, Adam Ford wrote: > > On Thu, Mar 4, 2021 at 4:33 PM Marek Behun wrote: > >> > >> On Thu, 4 Mar 2021 16:18:03 -0600 > >> Adam Ford wrote: > >> > >>> diff --gi

[PATCH] ARM: da850-evm: Fix boot issues from missing SPL_PAD_TO

2021-03-05 Thread Adam Ford
CONFIG_SPL_BUILD, it caused boot errors with devices that are not booting from NOR. Fix the boot issues by moving SPL_PAD_TO out so it's always. Fixes: 7bb33e4684aa ("ARM: da850-evm: Unify config options with Kconfig") Signed-off-by: Adam Ford diff --git a/include/configs/da850

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-05 Thread Adam Ford
On Fri, Mar 5, 2021 at 11:10 AM Adam Ford wrote: > > On Fri, Mar 5, 2021 at 6:31 AM Stefan Roese wrote: > > > > On 05.03.21 12:25, Adam Ford wrote: > > > On Thu, Mar 4, 2021 at 4:33 PM Marek Behun wrote: > > >> > > >> On Thu

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-06 Thread Adam Ford
On Fri, Mar 5, 2021 at 9:03 PM Adam Ford wrote: > > On Fri, Mar 5, 2021 at 11:10 AM Adam Ford wrote: > > > > On Fri, Mar 5, 2021 at 6:31 AM Stefan Roese wrote: > > > > > > On 05.03.21 12:25, Adam Ford wrote: > > > > On Thu, Mar 4, 2021 at 4:33 PM

Re: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

2021-03-06 Thread Adam Ford
On Sat, Mar 6, 2021 at 3:49 PM Marek Behun wrote: > > On Sat, 6 Mar 2021 22:38:52 +0100 > Pali Rohár wrote: > > > On Saturday 06 March 2021 22:19:22 Marek Behun wrote: > > > On Sat, 6 Mar 2021 22:00:45 +0100 > > > Pali Rohár wrote: > > > > > > > On Saturday 06 March 2021 21:54:00 Marek Behun wro

[PATCH] arm: omap3: Make try_unlock_memory() static

2021-03-06 Thread Adam Ford
try_unlock_memory() is only used in one file, so make it static in that file and remove it from the sys_proto header file. This may help with some further optimization in the future. Signed-off-by: Adam Ford diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch

[PATCH 1/2] arm: omap3: Make secureworld_exit() static

2021-03-06 Thread Adam Ford
secureworld_exit() is only used in one file, so make it static to that file and remove it from sys_proto.h. This may help with some further optimization in the future. Signed-off-by: Adam Ford diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3

[PATCH 2/2] arm: omap3: Make secure_unlock_mem() static

2021-03-06 Thread Adam Ford
secure_unlock_mem() is only used in one file, so make it static in that file. This may help with some further optimization in the future. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c index 879b0f..74b5a4b111 100644 --- a/arch

Re: [PATCH u-boot 33/39] ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards)

2021-03-07 Thread Adam Ford
On Sat, Mar 6, 2021 at 10:26 PM Marek Behún wrote: > > Adam Ford says that DM3730 needs board.c compiled without LTO flags. > > Also add clock.c, since it says in Makefile that it need different > flags. > I managed to get the am3517_evm tested with the latest series, and

Re: [PATCH u-boot 38/39] ARM: enable LTO for some boards

2021-03-07 Thread Adam Ford
e safe since the only real difference between them is the device tree reference. The RZ/G2 boards from Beacon don't use SPL, but wIthout LTO: U-Boot 784324 With LTO: U-Boot 757202 For a reduction of: -27122 (-3.46%) > Signed-off-by: Marek Behún > Tested-by: Adam Ford

Re: request for i.MX8MM Venice test

2021-03-08 Thread Adam Ford
On Mon, Mar 8, 2021 at 2:35 PM Tim Harvey wrote: > > On Mon, Mar 8, 2021 at 8:47 AM Tim Harvey wrote: > > > > On Sat, Mar 6, 2021 at 6:10 PM Marek Behun wrote: > > > > > > [sorry for the spam, I accidentally sent this e-mail from my personal > > > address] > > > > > > Hello Tim, > > > > > > you

Re: request for i.MX8MM Venice test

2021-03-08 Thread Adam Ford
On Mon, Mar 8, 2021 at 3:57 PM Tim Harvey wrote: > > On Mon, Mar 8, 2021 at 12:43 PM Adam Ford wrote: > > > > On Mon, Mar 8, 2021 at 2:35 PM Tim Harvey wrote: > > > > > > On Mon, Mar 8, 2021 at 8:47 AM Tim Harvey wrote: > > > > > >

[PATCH] README: davinci: Clarify when SPL is used and the target devices.

2020-06-29 Thread Adam Ford
x27;t only used for booting from SPI, because it is also used for booting from MMC and NAND for those devices supporting those boot options. Signed-off-by: Adam Ford diff --git a/doc/README.davinci b/doc/README.davinci index 6522c24eea..607531af2a 100644 --- a/doc/README.davinci +++ b/doc/README.da

[PATCH] ARM: da850-evm: Unify config options with Kconfig

2020-06-29 Thread Adam Ford
ption of CONFIG_MTD_NOR_FLASH. Since this board is the only board that uses these two config options, they can be removed from the whitelist table. Signed-off-by: Adam Ford diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index a3b0f8bf09..c91aeb8dbf 100644

[PATCH V3 1/6] ARM: renesas: Add basic R8A774A1 Support

2020-06-30 Thread Adam Ford
In order to build boards based on the R8A774A1, there needs to be a config option from which to enable other drivers and/or flags for this SoC. Signed-off-by: Adam Ford --- V3: No change V2: No change diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64 index

[PATCH V3 5/6] mmc: renesas-sdhi: Enable support for R8A774A1

2020-06-30 Thread Adam Ford
The r8a774a1 is compatible with the generic rcar-gen3-sdhi controller. This patch adds the compatibilty flag, to support the SDHI controller. Signed-off-by: Adam Ford --- V3: Use generic rcar-gen3-sdhi reference instead of SoC reference V2: No Change diff --git a/drivers/mmc/renesas-sdhi.c b

[PATCH V3 0/6] Add Basic support for R8A774A1 (RZ/G2M)

2020-06-30 Thread Adam Ford
support to the shdi driver. Finally, it will add support for the Beacon EmbeddedWorks RZ/G2M dev kit Adam Ford (6): ARM: renesas: Add basic R8A774A1 Support ARM: dts: r8a774a1: Import DTS from Linux 5.8-rc1 clk: renesas: Add R8A774A1 clock tables pinctrl: renesas: Enable R8A774A1 PFC tables

[PATCH V3 4/6] pinctrl: renesas: Enable R8A774A1 PFC tables

2020-06-30 Thread Adam Ford
The PFC tables for the R8A774A1 are already available, but they not enabled. This patch adds the Kconfig option and builds the corresponding file when PINCTRL_PFC_R8A774A1 is enabled. Signed-off-by: Adam Ford --- V3: Reorder references to R8A774A1 to more closely match Linux's order V2:

[PATCH V3 2/6] ARM: dts: r8a774a1: Import DTS from Linux 5.8-rc1

2020-06-30 Thread Adam Ford
This patch imports the device tree and required bindings to permit the device tree to build for the R8Z774A1 (RZ/G2M). Signed-off-by: Adam Ford --- V3: No change V2: No change diff --git a/arch/arm/dts/r8a774a1.dtsi b/arch/arm/dts/r8a774a1.dtsi new file mode 100644 index 00

[PATCH V3 3/6] clk: renesas: Add R8A774A1 clock tables

2020-06-30 Thread Adam Ford
This sync's the clock tables with the official release from Linux 5.8-RC2 and update r8a774a1_mstp_table from Ref Manual v1.00. Signed-off-by: Adam Ford --- V3: Use clock tables from Linux instead of Renesas' U-Boot repo Fix the r8a774a1_mstp_table to match ref manual v1.00 V2:

[PATCH V3 6/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2M Dev Kit

2020-06-30 Thread Adam Ford
The Beacon EmbeddedWorks kit is based on the R8A774A1 SoC also known as the RZ/G2M. The kit consists of a SOM + Baseboard and supports microSD, eMMC, Ethernet, a couple celular radios, two CAN interfaces, Bluetooth and WiFi. Signed-off-by: Adam Ford --- V3: Remove unnecessary/unwanted code

Re: [PATCH 2/4] omap3_beagle: Disable USB support

2020-06-30 Thread Adam Ford
On Tue, Jun 30, 2020 at 11:56 AM Tom Rini wrote: > > Disable USB support for now. There is non-trivial work required to > fully move the OMAP3 platforms to DM. While this work is in-progress, > disable USB support for now as we've gone well past the migration > deadlin

Re: [PATCH 2/4] omap3_beagle: Disable USB support

2020-06-30 Thread Adam Ford
On Tue, Jun 30, 2020 at 12:14 PM Tom Rini wrote: > > On Tue, Jun 30, 2020 at 12:07:51PM -0500, Adam Ford wrote: > > On Tue, Jun 30, 2020 at 11:56 AM Tom Rini wrote: > > > > > > Disable USB support for now. There is non-trivial work required to > > > fully

Re: [PATCH] omap3_beagle: Finish current outstanding DM migrations

2020-06-30 Thread Adam Ford
On Tue, Jun 30, 2020 at 2:02 PM Tom Rini wrote: > > At this point in time we can now remove our legacy code and switch to > enabling DM for USB and Ethernet. > > Cc: Derald D. Woods > Cc: Adam Ford > Signed-off-by: Tom Rini > --- > board/ti

[PATCH 1/2] Convert CONFIG_SPL_NAND_DRIVERS et al to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_DRIVERS CONFIG_SPL_NAND_ECC CONFIG_SPL_NAND_SIMPLE Signed-off-by: Adam Ford --- The following appear as 'suspicious' but I think it's because they don't have SPL enabled: at91sam9x5ek_nandflash_defconfig

[PATCH 2/2] Convert CONFIG_SPL_NAND_BASE et al to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_BASE CONFIG_SPL_NAND_IDENT Signed-off-by: Adam Ford diff --git a/README b/README index b6d368041c..60d8e77256 100644 --- a/README +++ b/README @@ -2307,8 +2307,6 @@ The following options need to be configured

[PATCH] Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_DRIVER_TI_EMAC_USE_RMII Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index 58fb91c1c5..a78a596d4d 100644 --- a/configs/am3517_evm_defconfig +++ b/configs/am3517_evm_defconfig @@ -62,6 +62,7

[PATCH] Convert CONFIG_BOOTP_DNS2 to Kconfig

2020-07-03 Thread Adam Ford
The Kconfig already has BOOTP_DNS2, but not all boards have been converted. This finishes converting the following to Kconfig: CONFIG_BOOTP_DNS2 Signed-off-by: Adam Ford diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index 326882908b..4e6a3ca446 100644 --- a

[PATCH] Convert CONFIG_BOOTP_SEND_HOSTNAME to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_BOOTP_SEND_HOSTNAME Signed-off-by: Adam Ford diff --git a/README b/README index 60d8e77256..6bac583666 100644 --- a/README +++ b/README @@ -1427,7 +1427,6 @@ The following options need to be configured: CONFIG_BOOTP_NISDOMAIN

[PATCH] configs: Remove dead CONFIG options

2020-07-03 Thread Adam Ford
BOOTP_DEFAULT is defined in several boards, but this config option is never checked or used. This patch removes this config option from config files and the whitelist.txt Signed-off-by: Adam Ford diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h index c88067c012

[PATCH] Convert CONFIG_SYS_MMCSD_FS_BOOT_PARTITION to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_MMCSD_FS_BOOT_PARTITION Signed-off-by: Adam Ford diff --git a/README b/README index 6bac583666..b45c7b27d7 100644 --- a/README +++ b/README @@ -2275,10 +2275,6 @@ The following options need to be configured: parameters from

Question Porting U-Boot to iMX8MN with LPDDR4

2020-07-10 Thread Adam Ford
I have a board already supported in U-Boot based on the i.MX8MM with LPDDR4, and with a simple part change, we have built a Nano version as well with the same LPDDR4. I have mostly copied the imx8mn EVK files to the board support, and migrated the device tree files for my board. I also created a

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

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

[U-Boot] [PATCH] ARM: imx6q_logic: Cleanup boot sequence check

2019-11-03 Thread Adam Ford
oader if any of those devices are not available. Fixes: 9fb50c68daa6 ("ARM: imx6q_logic: Fix MMC2 booting") Signed-off-by: Adam Ford diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c index 3c1a3a9fa2..fc4ce34ce4 100644 --- a/board/logicpd/imx6/imx6logic.c +++

[U-Boot] [PATCH] ARM: omap3_logic: Power on MMC when setting up PMIC

2019-11-03 Thread Adam Ford
The PMIC enables power to the MMC card by default, but depending on the state it was left when restarted, it's possible the MMC may be powered down. This patch patch explicitly tells the twl4030 to power the MMC. Signed-off-by: Adam Ford diff --git a/board/logicpd/omap3som/omap3logic

[U-Boot] [PATCH 1/2] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Remove unused GPIO

2019-11-03 Thread Adam Ford
The only GPIO bank needed in SPL is GPIO4 and the SPL space is tight. This patch removes the all but GPIO4 from the spl device tree to reduce the SPL footprint. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-torpedo-37xx

[U-Boot] [PATCH 2/2] Revert "ARM: omap3_logic/omap35_logic: Enable GPIO in SPL"

2019-11-03 Thread Adam Ford
The SPL is too tight, and it cannot start any longer. To help reduce the size of SPL, we need to remove some non-critical features. This reverts commit 66063a7c1388fb724e8671b03c529fb5cda992dd. Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs

[U-Boot] [PATCH 1/2] ARM: dts: logicpd-som-lv-37xx-devkit-u-boot: Remove unused GPIO

2019-11-03 Thread Adam Ford
The only GPIO bank needed in SPL is GPIO4 and the SPL space is tight. This patch removes the all but GPIO4 from the spl device tree to reduce the SPL footprint. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-som-lv-37xx-devkit

[U-Boot] [PATCH 2/2] configs: omap3_logic_somlv: Remove GPIO from SPL

2019-11-03 Thread Adam Ford
The SPL is too tight, and it cannot start any longer. To help reduce the size of SPL, we need to remove some non-critical features. This patch removes SPL_GPIO_SUPPORT to free up some operating space. Signed-off-by: Adam Ford diff --git a/configs/omap3_logic_somlv_defconfig b/configs

[U-Boot] [PATCH] imx: Make NAND BCB dependent on ARCH_MX6

2019-11-03 Thread Adam Ford
The options to enable CMD_NANDBCB appear when the i.MX6 is not the target architecture, but it only applies to the i.MX6. This patch makes the option depend on ARCH_MX6 so it's hidden from irrelevant platforms. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mac

[U-Boot] [PATCH] Kconfig: ti: Make board detect EEPROM addresses depend BOARD_DETECT

2019-11-04 Thread Adam Ford
There is an option to enable the board detection for TI platforms. If this is option is not set, there is no reason to set the EEPROM bus address or chip address. This patch makes both EEPROM_BUS_ADDRESS and EEPROM_CHIP_ADDRESS depend on TI_I2C_BOARD_DETECT. Signed-off-by: Adam Ford diff --git

[U-Boot] [PATCH] Kconfig: Make ZYNQMP_FIRMWARE depend on ARCH_ZYNQMP

2019-11-04 Thread Adam Ford
There is a menu option to enable ZYNQMP_FIRMWARE even when ARCH_ZYNQMP is not enabled. This makes ZYNQMP_FIRMWARE depend on ARCH_ZYNQMP to help quiet unrelated options in menuconfig. Signed-off-by: Adam Ford diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index b70a206355

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-08 Thread Adam Ford
On Fri, Nov 8, 2019 at 9:50 AM Bartosz Golaszewski wrote: > > pt., 25 paź 2019 o 18:10 Bartosz Golaszewski napisał(a): > > > > czw., 26 wrz 2019 o 01:21 Faiz Abbas napisał(a): > > > > > > Hi, > > > > > > On 29/07/19 12:28 PM, Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > >

Re: [U-Boot] [PATCH v4 2/5] omap: mmc: Avoid using libfdt with of-platdata

2019-11-10 Thread Adam Ford
On Sun, Nov 10, 2019 at 1:22 AM Peter Howard wrote: > > On Thu, 2019-11-07 at 15:05 -0500, Tom Rini wrote: > > On Thu, Nov 07, 2019 at 08:53:09AM -0700, Simon Glass wrote: > > > > > At present this driver is enabled in SPL on omapl138_lcdk, which > > > uses > > > of-platdata. The driver needs to b

[U-Boot] [PATCH] ARM: omapl138_lcdk: Shrink code size by building with Thumb

2019-11-10 Thread Adam Ford
-boot-spl Thumb: textdata bss dec hex filename 2023240041376 25612640c spl/u-boot-spl Signed-off-by: Adam Ford diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 9821df9884..16287a4ac2 100644 --- a/configs/omapl138_lcdk_defc

[U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE

2019-11-10 Thread Adam Ford
In order to further prepare for full device tree support in SPL, this patch enables both SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE. Both of these are already enabled in U-Boot, so SPL will have the same functionality Signed-off-by: Adam Ford diff --git a/configs/omapl138_lcdk_defconfig b/configs

[U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation

2019-11-10 Thread Adam Ford
Driver model requires a malloc pool to allocate memory before relocations to operate serial and some other devices. This patch increases the pool size to 2K. Signed-off-by: Adam Ford diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index cceb0c408e..376bb9f953

[U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL

2019-11-10 Thread Adam Ford
In preparation to use full device tree support, SPL can separate BSS from text region. This patch enables SPL_SEPARATE_BSS. Signed-off-by: Adam Ford diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 16287a4ac2..cceb0c408e 100644 --- a/configs

Re: [U-Boot] [PATCH v4 2/5] omap: mmc: Avoid using libfdt with of-platdata

2019-11-10 Thread Adam Ford
On Sun, Nov 10, 2019 at 5:08 AM Adam Ford wrote: > > On Sun, Nov 10, 2019 at 1:22 AM Peter Howard > wrote: > > > > On Thu, 2019-11-07 at 15:05 -0500, Tom Rini wrote: > > > On Thu, Nov 07, 2019 at 08:53:09AM -0700, Simon Glass wrote: > > > > > &g

[U-Boot] [PATCH] ARM: omapl138_lcdk: Allow early init to start instruction cache

2019-11-10 Thread Adam Ford
startup time. This patch switches SKIP_LOWLEVEL_INIT to SKIP_LOWLEVEL_INIT_ONLY thus, enabling the cache. Signed-off-by: Adam Ford diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index 1c41e7e97a..3b5c085a24 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include

Re: [U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-11-11 Thread Adam Ford
On Fri, Nov 8, 2019 at 11:59 AM Bartosz Golaszewski wrote: > > pt., 8 lis 2019 o 18:33 Bartosz Golaszewski > napisał(a): > > > > pt., 8 lis 2019 o 17:14 Adam Ford napisał(a): > > > > > > On Fri, Nov 8, 2019 at 9:50 AM Bartosz Golaszewski > > >

[U-Boot] [PATCH] ARM: da850-evm: Disable SYS_MMCSD_RAW_MODE_USE_SECTOR

2019-11-13 Thread Adam Ford
The da850-evm doesn't have the boot pins configured in a way to make MMC/SD booting an option, and MMC/SD support is not enabled in SPL. Therefore, there is no need to support raw mode mmc/sd support in SPL. This patch disables CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR Signed-off-by:

[U-Boot] [PATCH] ARM: dts: da850-lcdk: Update DTS files for SPL device tree support

2019-11-13 Thread Adam Ford
eed or use OF_PLATDATA for device tree support. It does not disable OF_PLATDATA. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-lcdk-u-boot.dtsi b/arch/arm/dts/da850-lcdk-u-boot.dtsi index 541f4ca200..b372d06ca9 100644 --- a/arch/arm/dts/da850-lcdk-u-boot.dtsi +++ b/arch/arm/dts/da

Re: [PATCH] ARM: omap3_logic boards: Convert to DM_ETH

2020-04-09 Thread Adam Ford
On Thu, Apr 9, 2020 at 1:48 AM Lokesh Vutla wrote: > > > > On 26/03/20 8:56 PM, Adam Ford wrote: > > With the converstion of SMC911x to DM, this can facilitate the omap3 > > boards from LogicPD (now called Beacon EmbeddedWorks) to be converted. > > There isn'

Re: U-Boot is broken on real N900 HW

2020-04-25 Thread Adam Ford
On Sat, Apr 25, 2020 at 5:42 AM Pali Rohár wrote: > > On Thursday 02 April 2020 20:42:31 Pali Rohár wrote: > > On Wednesday 01 April 2020 12:32:29 Merlijn Wajer wrote: > > > Hi, > > > > > > On 01/04/2020 00:42, Pali Rohár wrote: > > > > On Wednesday 01 April 2020 00:35:07 Pali Rohár wrote: > > > >

U-Boot Statistics updates?

2020-04-25 Thread Adam Ford
Tom, I noticed the stats for January 2020.01 haven't been released. https://www.denx.de/wiki/U-Boot/ReleaseCycle Is that no longer going to be supported? I only ask, because I don't see any reference to 2020.04 at all. thanks, adam

Re: U-Boot is broken on real N900 HW

2020-04-25 Thread Adam Ford
On Sat, Apr 25, 2020 at 6:50 AM Pali Rohár wrote: > > On Saturday 25 April 2020 06:36:58 Adam Ford wrote: > > On Sat, Apr 25, 2020 at 5:42 AM Pali Rohár wrote: > > > > > > On Thursday 02 April 2020 20:42:31 Pali Rohár wrote: > > > > On Wednesday

[PATCH] omap3logic: Return omap3logic boards to OF_PLATDATA in SPL

2020-04-25 Thread Adam Ford
SPL is just simply too tight and we don't really have any room to shave off any more functionality, so we need OF_PLATDATA in SPL. This patch adds the manual enumeration of serial and MMC while removing the device tree support in SPL and enabling SPL_OF_PLATDATA. Signed-off-by: Adam Ford

[PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-26 Thread Adam Ford
Beacon EmbeddedWorks, formerly known as Logic PD, is releasing a devkit based on the i.MX8M Mini SoC consisting of baseboard + SOM. It supports eMMC on the SOM, microSD on the baseboard, various GPIO, the PINCTRL, and UART. Signed-off-by: Adam Ford --- The device tree files are pulled from

Re: [PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-26 Thread Adam Ford
On Sun, Apr 26, 2020 at 2:12 PM Marek Vasut wrote: > > On 4/26/20 6:45 PM, Adam Ford wrote: > > Beacon EmbeddedWorks, formerly known as Logic PD, is releasing > > a devkit based on the i.MX8M Mini SoC consisting of baseboard + > > SOM. > > > > It supports eMMC

[PATCH] arm: dts: imx8mm: sync dts from Linux Kernel 5.6.7

2020-04-27 Thread Adam Ford
This patch synchronizes the device tree with that from 5.6.7. This also adds nodes for crypto and ddrc, which makes keeping the device tree files from individual boards in sync with the Linux kernel. This is helpful when boads reference those nodes. Signed-off-by: Adam Ford diff --git a/arch

Re: [PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-27 Thread Adam Ford
On Mon, Apr 27, 2020 at 2:06 AM Marek Vasut wrote: > > On 4/27/20 4:26 AM, Adam Ford wrote: > > Hi, > > [...] > > >>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile > >>> index 59a2713cb2..249d446f69 100644 > >>> ---

Re: [PATCH V4 00/13] net: smc911x: Convert to DM

2020-04-28 Thread Adam Ford
On Wed, Mar 25, 2020 at 11:47 AM Marek Vasut wrote: > > Perform DM conversion of the SMC911x driver. > > Note that the DT compatible is set only for 9115 , so this might need > to be changed. > > Marek Vasut (13): > net: smc911x: Remove pkt_data_{push,pull} > net: smc911x: Replace malloc()+mem

Re: [PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-28 Thread Adam Ford
On Mon, Apr 27, 2020 at 9:39 AM Marek Vasut wrote: > > On 4/27/20 3:31 PM, Adam Ford wrote: > > [...] > > >>>>> +Get and Build the ARM Trusted firmware > >>>>> +== > >>>>> +Note: sr

Re: [U-Boot] [PATCH 0/9] phy: atheros: cleanup and device tree bindings

2019-10-25 Thread Adam Ford
xup functions to a total of nearly 30 lines of code. For the whole series... Tested-by: Adam Ford # imx6q_logic > > Michael Walle (9): > phy: atheros: introduce debug read and write functions > phy: atheros: move delay config to common function > phy: atheros: ar8035: remove e

Re: [U-Boot] [PATCH 0/9] phy: atheros: cleanup and device tree bindings

2019-10-25 Thread Adam Ford
On Fri, Oct 25, 2019 at 10:20 PM Adam Ford wrote: > > On Fri, Oct 25, 2019 at 7:27 PM Michael Walle wrote: > > > > This series cleans up the Atheros PHY AR803x PHY driver and adds a > > device tree binding for the most commonly used PHY settings like clock > > out

Re: [U-Boot] [PATCH 0/9] phy: atheros: cleanup and device tree bindings

2019-10-26 Thread Adam Ford
On Sat, Oct 26, 2019 at 3:57 AM Michael Walle wrote: > > Hi Adam, > > Am 2019-10-26 05:28, schrieb Adam Ford: > > On Fri, Oct 25, 2019 at 10:20 PM Adam Ford wrote: > >> > >> On Fri, Oct 25, 2019 at 7:27 PM Michael Walle > >> wrote: > >> >

Re: [PATCH 28/30] spi: Enable missing CONFIG_SPL_DM_SPI support

2020-06-11 Thread Adam Ford
aking use of it. Not knowing exactly which patches to apply to see the Makefile changes in question, I'm just doing a code review instead of the test. > > Cc: Adam Ford [snip] Acked-by: Adam Ford #da850evm > Signed-off-by: Tom Rini > --- > configs/da850evm_defconfig

[PATCH] ARM: da850-evm: Remove SPI from SPL when booting from NAND

2020-06-11 Thread Adam Ford
roper. This should save some code space in SPL. Signed-off-by: Adam Ford diff --git a/configs/da850evm_nand_defconfig b/configs/da850evm_nand_defconfig index bc2c0a2c25..179a1782c6 100644 --- a/configs/da850evm_nand_defconfig +++ b/configs/da850evm_nand_defconfig @@ -9,12

How to fix: partition (SPL) size alignment incorrect

2020-06-11 Thread Adam Ford
I am doing some spot checks on the da850evm which boots from SPI. It seems OK, however, when I run the mtdparts, I expect to see the partition map of the SPI flash. Unfortunately, I get the following error: nor0: partition (SPL) size alignment incorrect Currently, it's setup as follows: CON

Re: [PATCH 28/30] spi: Enable missing CONFIG_SPL_DM_SPI support

2020-06-11 Thread Adam Ford
On Thu, Jun 11, 2020 at 9:09 PM Adam Ford wrote: > > On Thu, Jun 11, 2020 at 7:17 AM Tom Rini wrote: > > > > On Thu, Jun 11, 2020 at 05:38:15AM -0500, Adam Ford wrote: > > > On Wed, Jun 10, 2020 at 3:17 PM Tom Rini wrote: > > > > > > > > Due t

Re: [PATCH 28/30] spi: Enable missing CONFIG_SPL_DM_SPI support

2020-06-11 Thread Adam Ford
On Thu, Jun 11, 2020 at 7:17 AM Tom Rini wrote: > > On Thu, Jun 11, 2020 at 05:38:15AM -0500, Adam Ford wrote: > > On Wed, Jun 10, 2020 at 3:17 PM Tom Rini wrote: > > > > > > Due to how the Makefile logic is we currently get DM_SPI support in SPL > > > enab

Re: [PATCH 0/2] omap4: panda: convert to device model

2020-06-15 Thread Adam Ford
On Mon, Jun 15, 2020 at 9:53 AM Tero Kristo wrote: > > On 15/06/2020 17:48, Vignesh Raghavendra wrote: > > > > > > On 15/06/20 11:49 am, Tero Kristo wrote: > >> On 14/06/2020 16:49, Lokesh Vutla wrote: > >>> Hi Tero, > >>> > >>> On 02/06/20 4:49 pm, Tero Kristo wrote: > Hi, > > As t

GPIO request failures for Renesas rcar-gen3

2020-06-18 Thread Adam Ford
I am trying to port U-Boot to a new product based on a Renesas RZ/G2M (rcar-gen3). We're have this working with Renesas' version from 2018.09, but I am trying to integrate it with U-Boot 2020.07-rc4 What's happening is that it seems like all GPIO are failing to be requested, so things like regula

[PATCH 0/5] Add Basic support for R8A774A1 (RZ/G2M)

2020-06-18 Thread Adam Ford
repo found: https://github.com/renesas-rz/renesas-u-boot-cip/tree/v2018.09/rzg2 Adam Ford (5): ARM: renesas: Add basic R8A774A1 Support ARM: dts: r8a774a1: Import DTS from Linux 5.8-rc1 clk: renesas: Add R8A774A1 clock tables pinctrl: renesas: Add R8A774A1 PFC tables mmc: renesas-sdhi: E

[PATCH 3/5] clk: renesas: Add R8A774A1 clock tables

2020-06-18 Thread Adam Ford
This sync's the clock tables with the official release from Renesas' repo based on U-Boot 2018.09 and modified to build into the latest version of U-Boot. Signed-off-by: Adam Ford diff --git a/drivers/clk/renesas/Kconfig b/drivers/clk/renesas/Kconfig index e78817829b..284e2138b3 10

[PATCH 5/5] mmc: renesas-sdhi: Enable support for R8A774A1

2020-06-18 Thread Adam Ford
The renesas-shdi controller can drive the r8a774a1 and shares its quirks with R8A7796. This patch adds the compatibilty flag, to support the SDHI controller. Signed-off-by: Adam Ford diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index d6ea99d2ce..8b8e300caf 100644 --- a

[PATCH 1/5] ARM: renesas: Add basic R8A774A1 Support

2020-06-18 Thread Adam Ford
In order to build boards based on the R8A774A1, there needs to be a config option from which to enable other drivers and/or flags for this SoC. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64 index c8f93c68bb..bfd513a361 100644 --- a

[PATCH 2/5] ARM: dts: r8a774a1: Import DTS from Linux 5.8-rc1

2020-06-18 Thread Adam Ford
This patch imports the device tree and required bindings to permit the device tree to build for the R8Z774A1 (RZ/G2M). Signed-off-by: Adam Ford diff --git a/arch/arm/dts/r8a774a1.dtsi b/arch/arm/dts/r8a774a1.dtsi new file mode 100644 index 00..a603d94797 --- /dev/null +++ b/arch/arm/dts

Re: GPIO request failures for Renesas rcar-gen3

2020-06-18 Thread Adam Ford
On Thu, Jun 18, 2020 at 4:00 PM Marek Vasut wrote: > > On 6/18/20 10:33 PM, Adam Ford wrote: > > I am trying to port U-Boot to a new product based on a Renesas RZ/G2M > > (rcar-gen3). We're have this working with Renesas' version from > > 2018.09, but I am

Re: GPIO request failures for Renesas rcar-gen3

2020-06-18 Thread Adam Ford
On Thu, Jun 18, 2020 at 4:20 PM Adam Ford wrote: > > On Thu, Jun 18, 2020 at 4:00 PM Marek Vasut wrote: > > > > On 6/18/20 10:33 PM, Adam Ford wrote: > > > I am trying to port U-Boot to a new product based on a Renesas RZ/G2M > > > (rcar-gen3). We're hav

Re: GPIO request failures for Renesas rcar-gen3

2020-06-18 Thread Adam Ford
On Thu, Jun 18, 2020 at 4:33 PM Marek Vasut wrote: > > On 6/18/20 11:20 PM, Adam Ford wrote: > > Hi, > > [...] > > >> Can you provide 'dm tree' output ? > > > > => dm tree &

Re: [PATCH 4/5] pinctrl: renesas: Add R8A774A1 PFC tables

2020-06-18 Thread Adam Ford
On Thu, Jun 18, 2020 at 4:51 PM Marek Vasut wrote: > > On 6/18/20 11:14 PM, Adam Ford wrote: > > Add R8A774A1 PFC tables based on Renesas' repo based on 2018.09. > > It seems linux/next uses the same file for 7796 and 774a1 , can we do > the same for U-Boot ? That lo

[PATCH V2 0/5] Add Basic support for R8A774A1 (RZ/G2M)

2020-06-19 Thread Adam Ford
repo found: https://github.com/renesas-rz/renesas-u-boot-cip/tree/v2018.09/rzg2 Adam Ford (5): ARM: renesas: Add basic R8A774A1 Support ARM: dts: r8a774a1: Import DTS from Linux 5.8-rc1 clk: renesas: Add R8A774A1 clock tables pinctrl: renesas: Enable R8A774A1 PFC tables mmc: renesas

[PATCH V2 4/5] pinctrl: renesas: Enable R8A774A1 PFC tables

2020-06-19 Thread Adam Ford
The PFC tables for the R8A774A1 are already available, but they not enabled. This patch adds the Kconfig option and builds the corresponding file when PINCTRL_PFC_R8A774A1 is enabled. Signed-off-by: Adam Ford --- V2: Use tables already build into pfc-r8a7796 instead of creating a new file

[PATCH V2 1/5] ARM: renesas: Add basic R8A774A1 Support

2020-06-19 Thread Adam Ford
In order to build boards based on the R8A774A1, there needs to be a config option from which to enable other drivers and/or flags for this SoC. Signed-off-by: Adam Ford --- V2: No Change diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64 index c8f93c68bb

[PATCH V2 5/5] mmc: renesas-sdhi: Enable support for R8A774A1

2020-06-19 Thread Adam Ford
The renesas-shdi controller can drive the r8a774a1 and shares its quirks with R8A7796. This patch adds the compatibilty flag, to support the SDHI controller. Signed-off-by: Adam Ford --- V2: No Change diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index d6ea99d2ce

[PATCH V2 3/5] clk: renesas: Add R8A774A1 clock tables

2020-06-19 Thread Adam Ford
This sync's the clock tables with the official release from Renesas' repo based on U-Boot 2018.09 and modified to build into the latest version of U-Boot. Signed-off-by: Adam Ford --- V2: No Change diff --git a/drivers/clk/renesas/Kconfig b/drivers/clk/renesas/Kconfig index

[PATCH 6/6] ARM: rmobile: Add Beacon EmbeddedWorks RZG2M Dev Kit

2020-06-19 Thread Adam Ford
The Beacon EmbeddedWorks kit is based on the R8A774A1 SoC also known as the RZ/G2M. The kit consists of a SOM + Baseboard and supports microSD, eMMC, Ethernet, a couple celular radios, two CAN interfaces, Bluetooth and WiFi. Signed-off-by: Adam Ford --- V2: New to series diff --git a/arch/arm

[PATCH V2 2/5] ARM: dts: r8a774a1: Import DTS from Linux 5.8-rc1

2020-06-19 Thread Adam Ford
This patch imports the device tree and required bindings to permit the device tree to build for the R8Z774A1 (RZ/G2M). Signed-off-by: Adam Ford --- V2: No Change diff --git a/arch/arm/dts/r8a774a1.dtsi b/arch/arm/dts/r8a774a1.dtsi new file mode 100644 index 00..a603d94797 --- /dev/null

<    1   2   3   4   5   6   7   8   9   10   >