[U-Boot] i.MX6Q SPL won't boot U-Boot from NAND

2018-07-24 Thread Adam Ford
I am trying to boot an i.MX6Q via SPL to U-Boot and eventually, use Falcon mode to start the kernel. I can boot via SPL over USB. I have enabled the NAND and SPL NAND, and i can confirm that mxs_nand_spl.c is being built in. The board is imx6q_logic Unfortunately, I have run into two issues. 1

[U-Boot] [PATCH V2] ti_omap3_common: Add CONFIG_SYS_NS16550_COMx entries

2018-07-24 Thread Adam Ford
Several boards do not use the default UART3, so they do a check for ifdef CONFIG_SPL_BUILD and enable the pointer for CONFIG_SYS_NS16550_COMx to point to OMAP34XX_UARTx. Let's consoldate this all into one place, and remove them from the individual boards. Signed-off-by: Adam Ford --

Re: [U-Boot] i.MX6Q SPL won't boot U-Boot from NAND

2018-07-25 Thread Adam Ford
On Wed, Jul 25, 2018 at 5:23 AM Marek Vasut wrote: > > On 07/24/2018 09:25 PM, Adam Ford wrote: > > I am trying to boot an i.MX6Q via SPL to U-Boot and eventually, use > > Falcon mode to start the kernel. I can boot via SPL over USB. I have > > enabled the NAND and SPL

Re: [U-Boot] i.MX6Q SPL won't boot U-Boot from NAND

2018-07-25 Thread Adam Ford
On Wed, Jul 25, 2018 at 1:43 AM Jagan Teki wrote: > > On Wed, Jul 25, 2018 at 12:55 AM, Adam Ford wrote: > > I am trying to boot an i.MX6Q via SPL to U-Boot and eventually, use > > Falcon mode to start the kernel. I can boot via SPL over USB. I have > > enabled the NAND

[U-Boot] [PATCH] omap3_logic: Fix CONS_INDEX

2018-07-28 Thread Adam Ford
The console index for SPL should be 1 not 3 in order to see text during SPL. Fixes 6f6b7cfa89e5 ("Convert all of CONFIG_CONS_INDEX to Kconfig") Signed-off-by: Adam Ford diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig index ed9f454a5d..0420493a0e 100644 ---

[U-Boot] [PATCH] configs: omap: Remove dead config CONFIG_SYS_NAND_ADDR

2018-07-29 Thread Adam Ford
CONFIG_SYS_NAND_ADDR is defined and never referenced. This patch removes the dead code. Signed-off-by: Adam Ford --- include/configs/am3517_crane.h | 2 -- include/configs/am3517_evm.h| 2 -- include/configs/cm_t35.h| 2 -- include/configs/cm_t3517.h | 2 -- include/configs

[U-Boot] [PATCH] configs: omap3_logic: Disable NAND ID during SPL

2018-07-29 Thread Adam Ford
For these boards, the GPMC timings are more determined by processor speed/type than the NAND/PoP memory. This code is never invoked, so disable the config option, so it doesn't take the time to compile it in. Signed-off-by: Adam Ford diff --git a/configs/omap3_logic_defconfig b/co

Re: [U-Boot] [RFC] usb: musb-new: omap2430: Enable DM_USB and OF support

2018-07-31 Thread Adam Ford
On Sun, Jul 22, 2018 at 3:31 PM Lukasz Majewski wrote: > > Hi Adam, > > > On Sun, Jul 22, 2018 at 11:45 AM Adam Ford wrote: > > > > > > With upcoming changes that require CONFIG_BLK, this broke > > > USB Mass Storage on the OMAP3 boards because if CO

Re: [U-Boot] [RFC] usb: musb-new: omap2430: Enable DM_USB and OF support

2018-07-31 Thread Adam Ford
On Tue, Jul 31, 2018 at 4:57 AM Adam Ford wrote: > > On Sun, Jul 22, 2018 at 3:31 PM Lukasz Majewski wrote: > > > > Hi Adam, > > > > > On Sun, Jul 22, 2018 at 11:45 AM Adam Ford wrote: > > > > > > > > With upcoming changes that requi

[U-Boot] [PATCH] usb: musb-new: omap2430: Enable DM_USB and OF support

2018-07-31 Thread Adam Ford
-model/usb-info.txt, the USB gadget stuff hasn't migrated to DM_USB yet, so this only supports USB Host for now. Users wanting USB Gadgets will need to disable DM_USB and leave it the old way for now. Signed-off-by: Adam Ford diff --git a/drivers/usb/musb-new/omap2430.c b/drivers/usb/musb-new/o

[U-Boot] Is there a omap_gpmc.c maintainer?

2018-08-02 Thread Adam Ford
Is there a maintainer for the omap_gpmc driver? Only the u-boot open list is returned when queried. ./scripts/get_maintainer.pl ./drivers/mtd/nand/omap_gpmc.c u-boot@lists.denx.de (open list) I was thinking about (but not promising) adding some device tree support to enable fetching GP

[U-Boot] [PATCH] Convert CONFIG_USB_ULPI_TIMEOUT to Kconfig

2018-08-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_USB_ULPI_TIMEOUT Signed-off-by: Adam Ford diff --git a/drivers/usb/ulpi/Kconfig b/drivers/usb/ulpi/Kconfig index 001564d40c..d0eff66e1c 100644 --- a/drivers/usb/ulpi/Kconfig +++ b/drivers/usb/ulpi/Kconfig @@ -30,3 +30,9 @@ config USB_ULPI

[U-Boot] [PATCH] Convert CONFIG_VIDEO_OMAP3 to Kconfig

2018-08-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_VIDEO_OMAP3 Signed-off-by: Adam Ford --- configs/cm_t3517_defconfig | 1 + configs/cm_t35_defconfig | 1 + configs/mcx_defconfig | 1 + configs/mt_ventoux_defconfig | 1 + configs/omap3_beagle_defconfig | 1 + drivers/video

[U-Boot] [PATCH V2] Convert CONFIG_USB_ULPI_TIMEOUT to Kconfig

2018-08-02 Thread Adam Ford
This converts the following to Kconfig: CONFIG_USB_ULPI_TIMEOUT Signed-off-by: Adam Ford --- V2: Make USB_ULPI_TIMEOUT depend on USB_ULPI diff --git a/drivers/usb/ulpi/Kconfig b/drivers/usb/ulpi/Kconfig index 001564d40c..6a67f70411 100644 --- a/drivers/usb/ulpi/Kconfig +++ b/drivers/usb/ulpi

Re: [U-Boot] [PATCH] Convert CONFIG_USB_ULPI_TIMEOUT to Kconfig

2018-08-02 Thread Adam Ford
On Thu, Aug 2, 2018 at 8:56 AM Marek Vasut wrote: > > On 08/02/2018 03:27 PM, Adam Ford wrote: > > This converts the following to Kconfig: > >CONFIG_USB_ULPI_TIMEOUT > > > > Signed-off-by: Adam Ford > > > > diff --git a/drivers/usb/ulpi/Kconfig b/dri

[U-Boot] [PATCH] arm: armv7-a: Enable mtune when CONFIG_CPU_V7A

2018-08-03 Thread Adam Ford
327056 890682 d973a u-boot textdata bss dec hex filename 50972 429 67580 118981 1d0c5 spl/u-boot-spl Signed-off-by: Adam Ford diff --git a/arch/arm/Makefile b/arch/arm/Makefile index cac58bdc4d..b9f0903f9b 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-03 Thread Adam Ford
On Tue, Jul 25, 2017 at 11:08 AM Tom Rini wrote: > > On Tue, Jul 25, 2017 at 08:14:57AM -0500, Adam Ford wrote: > > > The readme file for OMAP indicates that we compile using armv5 to "to > > allow more compilers to work" > > > > We have our arch/arm

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-03 Thread Adam Ford
On Fri, Aug 3, 2018 at 10:00 AM Tom Rini wrote: > > On Fri, Aug 03, 2018 at 05:43:46AM -0500, Adam Ford wrote: > > On Tue, Jul 25, 2017 at 11:08 AM Tom Rini wrote: > > > > > > On Tue, Jul 25, 2017 at 08:14:57AM -0500, Adam Ford wrote: > > > > > &

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-04 Thread Adam Ford
On Fri, Aug 3, 2018 at 10:20 AM Tom Rini wrote: > > On Fri, Aug 03, 2018 at 10:02:17AM -0500, Adam Ford wrote: > > On Fri, Aug 3, 2018 at 10:00 AM Tom Rini wrote: > > > > > > On Fri, Aug 03, 2018 at 05:43:46AM -0500, Adam Ford wrote: > > > > On Tue

Re: [U-Boot] armv5 and OMAP3 Question

2018-08-04 Thread Adam Ford
On Sat, Aug 4, 2018 at 6:44 AM Tom Rini wrote: > > On Sat, Aug 04, 2018 at 05:32:18AM -0500, Adam Ford wrote: > > On Fri, Aug 3, 2018 at 10:20 AM Tom Rini wrote: > > > > > > On Fri, Aug 03, 2018 at 10:02:17AM -0500, Adam Ford wrote: > > > > On Fr

[U-Boot] EHCI-OMAP driver and DM compatibility

2019-01-23 Thread Adam Ford
I know there are a bunch of boards with omap EHCI host support and with the pending DM_USB requirement, I was curious to see if anyone has started this. I've got two boards that are impacted by this, and I was going to look at migrating the driver, but I don't want to duplicate efforts if some hav

[U-Boot] [PATCH] ARM: am3517_evm: Enable DM_SPI and DM_USB

2019-01-23 Thread Adam Ford
To comply with pending requirements, this sets the flags to enable DM_SPI and DM_USB. Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index 0fe3f7ef09..38cad9cf4e 100644 --- a/configs/am3517_evm_defconfig +++ b/configs/am3517_evm_defconfig

[U-Boot] [PATCH] ARM: dts: da850-evm: Re-sync with Kernel 5.0

2019-01-23 Thread Adam Ford
Resync with Kernel 5.0-rc3 Signed-off-by: Adam Ford diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts index a3c9b34672..f04bc3e153 100644 --- a/arch/arm/dts/da850-evm.dts +++ b/arch/arm/dts/da850-evm.dts @@ -94,6 +94,28 @@ regulator-boot-on

[U-Boot] [PATCH] ARM: DTS: Resync am3517-evm.dts with Linux 5.0-rc3

2019-01-23 Thread Adam Ford
The chosen node was added in the kernel. This may come in handy in the future, so resync with 5.0-rc3 Signed-off-by: Adam Ford diff --git a/arch/arm/dts/am3517-evm.dts b/arch/arm/dts/am3517-evm.dts index 1e2bb68231..3527c0f2df 100644 --- a/arch/arm/dts/am3517-evm.dts +++ b/arch/arm/dts/am3517

Re: [U-Boot] [PATCH 3/3] linker: Modify linker scripts to be more generic

2019-01-23 Thread Adam Ford
ck > Cc: York Sun > Cc: Bin Meng > Cc: Heiko Schocher > Cc: Adam Ford Tested-by: Adam Ford #da850evm & omap3_logic_somlv > Signed-off-by: Tom Rini > --- > arch/arm/cpu/arm1136/u-boot-spl.lds| 4 ++-- > arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds |

[U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-23 Thread Adam Ford
system doesn't boot nor does it display anything on the UART. I don't have a debugger readily available, but I have seen others with AM33x boards which are similar to OMAP3 boards. This is posted as an RFC just in case anyone has any suggestions on what might be missing. Signed-off-by:

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-24 Thread Adam Ford
On Wed, Jan 23, 2019 at 3:21 PM Tom Rini wrote: > > On Wed, Jan 23, 2019 at 03:13:52PM -0600, Adam Ford wrote: > > > By removing EXT support from SPL, it makes room for the extra > > overhead of enabling OF_CONTROL in SPL. With SPL_OF_CONTROL > > enabled, extra opti

[U-Boot] [PATCH] regulator: pbias: Handle extended drain IO when changing omap36 PBIAS

2019-01-24 Thread Adam Ford
The OMAP36 and DM37 TRM state to disable extneded drain IO before changing the PBIAS. This patch does this before pmic writes if the CONFIG_MMC_OMAP36XX_PINS flag is set and the cpu family is omap36xx Signed-off-by: Adam Ford diff --git a/drivers/power/regulator/pbias_regulator.c b/drivers

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-25 Thread Adam Ford
On Thu, Jan 24, 2019 at 7:19 AM Felix Brack wrote: > > Hello Adam, > > On 23.01.2019 22:13, Adam Ford wrote: > > By removing EXT support from SPL, it makes room for the extra > > overhead of enabling OF_CONTROL in SPL. With SPL_OF_CONTROL > > enabled, extra options

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-28 Thread Adam Ford
On Fri, Jan 25, 2019 at 3:39 PM Adam Ford wrote: > > On Thu, Jan 24, 2019 at 7:19 AM Felix Brack wrote: > > > > Hello Adam, > > > > On 23.01.2019 22:13, Adam Ford wrote: > > > By removing EXT support from SPL, it makes room for the extra > > &g

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-28 Thread Adam Ford
On Mon, Jan 28, 2019 at 9:14 AM Tom Rini wrote: > > On Mon, Jan 28, 2019 at 09:08:54AM -0600, Adam Ford wrote: > > On Fri, Jan 25, 2019 at 3:39 PM Adam Ford wrote: > > > > > > On Thu, Jan 24, 2019 at 7:19 AM Felix Brack wrote: > > > > > > >

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-29 Thread Adam Ford
On Mon, Jan 28, 2019 at 2:33 PM Tom Rini wrote: > > On Mon, Jan 28, 2019 at 02:23:00PM -0600, Adam Ford wrote: > > On Mon, Jan 28, 2019 at 9:14 AM Tom Rini wrote: > > > > > > On Mon, Jan 28, 2019 at 09:08:54AM -0600, Adam Ford wrote: > > > > On Fri

Re: [U-Boot] [PATCH v2 05/22] mmc: fsl_esdhc: Fix DM_REGULATOR ifdefs for SPL builds

2019-01-29 Thread Adam Ford
On Tue, Jan 29, 2019 at 5:34 AM Abel Vesa wrote: > > Since the fsl_esdhc will also be used by SPL, make the > preprocessor switches more generic to allow any kind of build. > I have a similar patch pending wtih both DM_GPIO and DM_REGULATOR conversions. https://patchwork.ozlabs.org/patch/1023230

[U-Boot] U-Boot OMAP3 memory map potential issues/questions

2019-01-29 Thread Adam Ford
I am trying to track down the memory map and what I believe to be some memory corruption in SPL. I have a few findings that I am not sure are issues or not, so I am hoping someone who know the OMAP3 family better might shed some light on it. Looking at README.omap3, I can see two suggested maps,

Re: [U-Boot] Nand boot on imx6q board is broken

2019-01-31 Thread Adam Ford
On Wed, Jan 30, 2019 at 11:40 PM Shyam Saini wrote: > > Hi Everyone, > > I'm trying to boot imx6q board from nand but it seems like mainline > u-boot nand boot support for imx6q board is broken. I spent some time trying to make the imx6q_logic board boot from SPL from NAND, but I needed to patch

Re: [U-Boot] Nand boot on imx6q board is broken

2019-01-31 Thread Adam Ford
On Thu, Jan 31, 2019 at 7:58 AM Shyam Saini wrote: > > Hi Adam, > > Thanks a lot for replying. > > > > > I spent some time trying to make the imx6q_logic board boot from SPL > > from NAND, but I needed to patch a few things. Some of them have yet > > to be approved, but if they work for you, may

Re: [U-Boot] Nand boot on imx6q board is broken

2019-02-02 Thread Adam Ford
On Sat, Feb 2, 2019 at 5:17 AM Jörg Krause wrote: > > Hi, > > On Thu, 2019-01-31 at 07:22 -0800, Adam Ford wrote: > > On Wed, Jan 30, 2019 at 11:40 PM Shyam Saini > > wrote: > > > Hi Everyone, > > > > > > I'm trying to boot imx6q board fro

Re: [U-Boot] IMX6 NAND boot regression

2019-02-02 Thread Adam Ford
On Sat, Feb 2, 2019 at 12:29 AM Jagan Teki wrote: > > +Adam, Shyam > > On Sat, 2 Feb, 2019, 8:49 AM Stefan Agner > > Hi Tim, > > > > On 02.02.19 03:32, Tim Harvey wrote: > > > Stefan, > > > > > > I'm trying to track down an IMX6 SPL NAND boot regression that started > > > in v2018.07 with your pa

Re: [U-Boot] [PATCH] MTD: nand: mxs_nand: Allow driver to auto setup ECC in SPL

2019-02-02 Thread Adam Ford
On Sat, Feb 2, 2019 at 11:17 AM Jörg Krause wrote: > > Hi, > > On Thu, 2019-01-17 at 07:16 -0600, Adam Ford wrote: > > The initialization of the NAND in SPL hard-coded ecc.bytes, > > ecc.size, and ecc.strength which may work for some NAND parts, > > but it not app

Re: [U-Boot] [PATCH] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC

2019-02-10 Thread Adam Ford
On Mon, Feb 4, 2019 at 12:17 PM Tim Harvey wrote: > > On Wed, Jan 2, 2019 at 6:37 PM Adam Ford wrote: > > > > The LogicPD board uses a Micron Flash with ECC. To boot this from > > SPL, the ECC needs to be correctly configured or the BCH engine > > times out. &g

Re: [U-Boot] [PATCH] MTD: nand: mxs_nand: Allow driver to auto setup ECC in SPL

2019-02-10 Thread Adam Ford
On Mon, Feb 4, 2019 at 12:20 PM Tim Harvey wrote: > > On Thu, Jan 17, 2019 at 5:17 AM Adam Ford wrote: > > > > The initialization of the NAND in SPL hard-coded ecc.bytes, > > ecc.size, and ecc.strength which may work for some NAND parts, > > but it not appropriate

Re: [U-Boot] [PATCH] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC

2019-02-10 Thread Adam Ford
On Sun, Feb 10, 2019 at 7:30 AM Adam Ford wrote: > > On Mon, Feb 4, 2019 at 12:17 PM Tim Harvey wrote: > > > > On Wed, Jan 2, 2019 at 6:37 PM Adam Ford wrote: > > > > > > The LogicPD board uses a Micron Flash with ECC. To boot this from > > > SPL

Re: [U-Boot] [PATCH v4 14/20] mtd: spi: Switch to new SPI NOR framework

2019-02-10 Thread Adam Ford
On Tue, Feb 5, 2019 at 12:00 AM Vignesh R wrote: > > Switch spi_flash_* interfaces to call into new SPI NOR framework via MTD > layer. Fix up sf_dataflash to work in legacy way. And update sandbox to > use new interfaces/definitions > > Signed-off-by: Vignesh R > Tested-by: Simon Goldschmidt > T

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-02-11 Thread Adam Ford
On Tue, Jan 29, 2019 at 7:36 AM Adam Ford wrote: > > On Mon, Jan 28, 2019 at 2:33 PM Tom Rini wrote: > > > > On Mon, Jan 28, 2019 at 02:23:00PM -0600, Adam Ford wrote: > > > On Mon, Jan 28, 2019 at 9:14 AM Tom Rini wrote: > > > > > > > > On Mon

Re: [U-Boot] [PATCH 2/2] USB: musb-new: omap2430: Add hooks for Peripheral support.

2018-12-19 Thread Adam Ford
On Wed, Dec 19, 2018 at 4:59 AM Jean-Jacques Hiblot wrote: > > > On 17/12/2018 21:34, Adam Ford wrote: > > Borrowing from the updates to ti-musb.c, this glue layer checks > > to see if the MUSB controller is gadget or host. Going under > > the assumpution there is onl

Re: [U-Boot] [PATCH v4 06/10] dm: usb: create a new UCLASS ID for USB gadget devices

2018-12-19 Thread Adam Ford
On Wed, Dec 19, 2018 at 4:34 AM Jean-Jacques Hiblot wrote: > > > On 19/12/2018 11:31, Jean-Jacques Hiblot wrote: > > > > On 18/12/2018 13:08, Jagan Teki wrote: > >> On Thu, Nov 29, 2018 at 3:30 PM Jean-Jacques Hiblot > >> wrote: > >>> UCLASS_USB_DEV_GENERIC was meant for USB devices connected to

[U-Boot] [PATCH V2 1/2] USB: musb-new: omap2430: Prep driver for Peripheral support.

2018-12-21 Thread Adam Ford
The omap2430 driver only currently supports host only. In preparation for supporting peripheral mode, this patch makes the driver support only the host by creating a ofdata_to_platdata function host/peripheral agnostic with a host helper version. Signed-off-by: Adam Ford --- V2: No Changes

[U-Boot] [PATCH V2 2/2] USB: musb-new: omap2430: Add hooks for Peripheral support.

2018-12-21 Thread Adam Ford
preferred, but it doesn't appear to be working yet. Signed-off-by: Adam Ford --- V2: Support MISC device to read device tree to determine host or peripheral mode. diff --git a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi

[U-Boot] [PATCH] imx6q_logic: Enable MMC booting from SPL

2018-12-27 Thread Adam Ford
The MMC booting wasn't previously fitting into the codespace. This patch enables MMC booting from the baseboard by reducing some DM overhead during SPL. Signed-off-by: Adam Ford diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c index ce1c8a5d6b..696f5c4183 1

Re: [U-Boot] [PATCH] imx6q_logic: Enable MMC booting from SPL

2018-12-28 Thread Adam Ford
On Thu, Dec 27, 2018 at 10:53 AM Adam Ford wrote: > > The MMC booting wasn't previously fitting into the codespace. > This patch enables MMC booting from the baseboard by reducing > some DM overhead during SPL. > I'm going to NAK my own work because I found some bugs a

[U-Boot] [PATCH V2] imx6q_logic: Enable MMC booting from SPL

2018-12-28 Thread Adam Ford
The MMC booting wasn't previously fitting into the codespace. This patch enables MMC booting from the baseboard by reducing some DM overhead during SPL. Signed-off-by: Adam Ford --- V2: Recalculate MMC index so it can boot from either internal SOM or baseboard micro SD socket. diff

[U-Boot] [PATCH 2/2] ARM: DTS: imx6q-logicpd: Update DTS/DTSI files

2018-12-28 Thread Adam Ford
The i.MX6 SOM and development kits have undergone significant updates and changes over the past few months. This re-sync's the U-Boot with Logic PD's BSP. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx6-logicpd-baseboard.dtsi b/arch/arm/dts/imx6-logicpd-baseboard.dtsi new

[U-Boot] [PATCH] ARM: imx6q_logic: Enable DM_USB and dependent regulators

2018-12-28 Thread Adam Ford
With the updated device trees in place, this patch enables DM_USB which uses several regulators also enabled with this patch. Signed-off-by: Adam Ford diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index d0362665bb..3358c08cb6 100644 --- a/configs

[U-Boot] [PATCH] ARM: imx6q_logic: Enable Falcon Mode and fatwrite

2018-12-28 Thread Adam Ford
This patch enables Falcon Mode by default and updates the README file to show instructions on how to run from the micro SD card or eMMC. This patch also enables fatwrite to help assist with writing the 'args' to the microSD card. Signed-off-by: Adam Ford diff --git a/board/logicpd/i

[U-Boot] [PATCH] MTD: nand: mxs_nand_spl: Fix empty function pointer for BBT

2018-12-30 Thread Adam Ford
The initialization function calls a nand_chip.scan_bbt(mtd) but scan_bbt is never initialized resulting in an undefined function pointer. This will direct the function pointer to nand_default_bbt defined in the same file. Signed-off-by: Adam Ford diff --git a/drivers/mtd/nand/raw

[U-Boot] [PATCH] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC

2019-01-02 Thread Adam Ford
The LogicPD board uses a Micron Flash with ECC. To boot this from SPL, the ECC needs to be correctly configured or the BCH engine times out. Signed-off-by: Adam Ford diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c index e3341812a2..2d84bfffe2 100644 --- a/drivers

Re: [U-Boot] [PATCH] imx6q_logic: Enable MMC booting from SPL

2019-01-04 Thread Adam Ford
On Thu, Jan 3, 2019 at 5:35 PM Lukasz Majewski wrote: > > Hi Adam, > > > On Thu, Dec 27, 2018 at 10:53 AM Adam Ford wrote: > > > > > > The MMC booting wasn't previously fitting into the codespace. > > > This patch enables MMC booting from the base

[U-Boot] [PATCH] mmc: fsl_esdhc: Move ifdef to CONFIG_IS_ENABLED

2019-01-10 Thread Adam Ford
For some boards, DM_REGULATOR and DM_GPIO may not be enabled in SPL but enabled in U-Boot. So switching to CONFIG_IS_ENABLED from ifdef allows the esdhc driver to function with some limited functionality in SPL. Signed-off-by: Adam Ford diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc

[U-Boot] [PATCH] MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static

2019-01-12 Thread Adam Ford
mxs_nand_init_dma is only referenced from mxs_nand.c. It's not referenced in any headers or outside code, so this patch defines it as static. Signed-off-by: Adam Ford diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c index e3341812a2..82bd03868a 100644

[U-Boot] [PATCH] ARM: imx6q_logic: Enable SPL Booting from NAND

2019-01-12 Thread Adam Ford
This patch fixes a few values that were incorrect, and this now lets SPL boot from NAND. Signed-off-by: Adam Ford diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index 457366a664..f56f532631 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs

[U-Boot] [PATCH] ARM: imx6q_logic: Correct phy fixup for broken ethernet

2019-01-12 Thread Adam Ford
The Ethernet has been broken for some time. This patch unifies this board with a few others that use a similar approach to enabling phy. This fixes ar8031 Ethernet controller so it works. Signed-off-by: Adam Ford diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c

Re: [U-Boot] [PATCH 3/4] net: dm: fec: Support the phy-supply binding

2019-01-13 Thread Adam Ford
On Thu, Oct 4, 2018 at 12:55 PM Martin Fuzzey wrote: > > Configure the phy regulator if defined by the "phy-supply" DT phandle. > > Signed-off-by: Martin Fuzzey This patch seems to break the Ethernet on my board, but I think I have a possible solution (see below) > --- > drivers/net/fec_mxc.c

Re: [U-Boot] [PATCH 3/4] net: dm: fec: Support the phy-supply binding

2019-01-15 Thread Adam Ford
On Tue, Jan 15, 2019 at 11:08 AM Martin Fuzzey wrote: > > Hi Adam, > > On 13/01/2019 15:00, Adam Ford wrote: > > On Thu, Oct 4, 2018 at 12:55 PM Martin Fuzzey > > wrote: > >> Configure the phy regulator if defined by the "phy-supply" DT phandle. >

[U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

2019-01-15 Thread Adam Ford
Fixes: ad8c43cbcafb ("net: dm: fec: Support the phy-supply binding") Signed-off-by: Adam Ford diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 32fb34b793..e924ddeb6d 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -1327,7 +1327,7 @@ static int fecmxc_probe

[U-Boot] pfuze100 regulator returning wrong values

2019-01-15 Thread Adam Ford
I have an i.MX6Q powered by the pfuze100 regulator with DM_PMIC, DM_REGULATOR, and OF_CONTROL enabled along wtih CMD_REGULATOR and CMD_PMIC. Our device tree is configured to use the minimum and max voltage ratings for the parts on the board, and not the absolute min and max ratings for the PMIC it

[U-Boot] [PATCH] MTD: nand: mxs_nand: Allow driver to auto setup ECC in SPL

2019-01-17 Thread Adam Ford
when these entries are blank. This patch has been tested in NAND flash with oob 64 and oob 128. Signed-off-by: Adam Ford diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c index 2d84bfffe2..95fa452cef 100644 --- a/drivers/mtd/nand/raw/mxs_nand.c +++ b/drivers/mtd/nand/raw/

Re: [U-Boot] [PATCH 1/2] USB: musb-new: omap2430: Prep driver for Peripheral support.

2019-01-17 Thread Adam Ford
On Mon, Dec 17, 2018 at 2:35 PM Adam Ford wrote: > > The omap2430 driver only currently supports host only. In > preparation for supporting peripheral mode, this patch makes > the driver support only the host by creating a ofdata_to_platdata > function host/peripheral agnostic wit

Re: [U-Boot] [PATCH v13 5/7] cmd: mtd: add 'mtd' command

2018-10-08 Thread Adam Ford
On Wed, Oct 3, 2018 at 8:41 AM Adam Ford wrote: > > On Wed, Oct 3, 2018 at 8:35 AM Miquel Raynal > wrote: > > > > Hi Adam, > > > > > > > > > > > > > > > > > > > > > > > I can use the nand read/write fu

Re: [U-Boot] [PATCH v13 5/7] cmd: mtd: add 'mtd' command

2018-10-08 Thread Adam Ford
On Mon, Oct 8, 2018 at 11:28 AM Boris Brezillon wrote: > > Hi Adam, > > On Mon, 8 Oct 2018 11:13:40 -0500 > Adam Ford wrote: > > > On Wed, Oct 3, 2018 at 8:41 AM Adam Ford wrote: > > > > > > On Wed, Oct 3, 2018 at 8:35 AM Miquel Ray

Re: [U-Boot] [PATCH v13 5/7] cmd: mtd: add 'mtd' command

2018-10-08 Thread Adam Ford
On Mon, Oct 8, 2018 at 11:52 AM Adam Ford wrote: > > On Mon, Oct 8, 2018 at 11:28 AM Boris Brezillon > wrote: > > > > Hi Adam, > > > > On Mon, 8 Oct 2018 11:13:40 -0500 > > Adam Ford wrote: > > > > > On Wed, Oct 3, 2018 at 8:41 AM Adam Ford

[U-Boot] [PATCH] mtd: uboot: Fix hanging during mtd list command

2018-10-08 Thread Adam Ford
Some boards using simple NAND drivers (like omap3_logic) hang when executing the new 'mtd list' command. This patch enhances the checks for conditions that would preclude mtd_probe_devices() from operating. Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command") S

Re: [U-Boot] [PATCH v13 5/7] cmd: mtd: add 'mtd' command

2018-10-08 Thread Adam Ford
On Mon, Oct 8, 2018 at 12:46 PM Boris Brezillon wrote: > > On Mon, 1 Oct 2018 15:43:29 +0200 > Miquel Raynal wrote: > > > +#if defined(CONFIG_MTD_PARTITIONS) > > +int mtd_probe_devices(void) > > +{ > > + static char *old_mtdparts; > > + static char *old_mtdids; > > + const char *mtdp

Re: [U-Boot] [PATCH] mtd: uboot: Fix hanging during mtd list command

2018-10-08 Thread Adam Ford
On Mon, Oct 8, 2018 at 1:28 PM Boris Brezillon wrote: > > On Mon, 8 Oct 2018 13:23:06 -0500 > Adam Ford wrote: > > > Some boards using simple NAND drivers (like omap3_logic) hang > > when executing the new 'mtd list' command. This patch enhances > &

[U-Boot] [PATCH V2] mtd: uboot: Fix hanging during mtd list command

2018-10-08 Thread Adam Ford
Suggested-by: Boris Brezillon Signed-off-by: Adam Ford --- V2: Move the check for NULL mtdparts or mtdids until after the partitions have been removed. diff --git a/drivers/mtd/mtd_uboot.c b/drivers/mtd/mtd_uboot.c index 6a211d52ff..7d7a11c990 100644 --- a/drivers/mtd/mtd_uboot.c +++ b/dri

[U-Boot] [PATCH V3] mtd: uboot: Fix hanging during mtd list command

2018-10-08 Thread Adam Ford
7; command") Suggested-by: Boris Brezillon Signed-off-by: Adam Ford Reviewed-by: Boris Brezillon --- V3: No code change. Just fix commit comment and typos. V2: Move the check for NULL mtdparts or mtdids until after the partitions have been removed. diff --git a/drivers/mtd/mtd_uboot.c b

Re: [U-Boot] [PATCH v13 5/7] cmd: mtd: add 'mtd' command

2018-10-08 Thread Adam Ford
On Mon, Oct 8, 2018 at 2:10 PM Thomas Petazzoni wrote: > > Hello, > > On Mon, 8 Oct 2018 19:46:27 +0200, Boris Brezillon wrote: > > > > + /* Check if mtdparts/mtdids changed since last call, otherwise: exit > > > */ > > > + if (!strcmp(mtdparts, old_mtdparts) && !strcmp(mtdids, old_mtdids)) >

Re: [U-Boot] [PATCH v1 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-09 Thread Adam Ford
On Mon, Oct 8, 2018 at 4:36 AM Jean-Jacques Hiblot wrote: > > > > On 06/10/2018 03:22, Adam Ford wrote: > > On Thu, Oct 4, 2018 at 8:48 AM Jean-Jacques Hiblot wrote: > >> This series remove the usage of the DM_I2C_COMPAT option for all the ti > >> platforms. I

[U-Boot] U-Boot SPL and LTO (armv7)

2018-10-10 Thread Adam Ford
I am wondering if anyone has done any tests using LTO in SPL? For those of us with limited resources, I noticed that we're creeping up in size, especially when using DM in SPL. I made a few attempts to enable -flto during compile, but the .S files fail to assemble. I found some references that i

[U-Boot] [PATCH] ARM: omap3_logic: Add NOR Flash Support for SOM-LV

2018-10-14 Thread Adam Ford
The DM37 and OMAP35 SOM-LV SOM-LV products both support a NOR flash part connected to CS2 in addition to the NAND part on CS0. This patch setups the GPMC timings for the MT28 NOR Flash and enables the CFI-Flash driver now that the CFI stuff is in Kconfig Signed-off-by: Adam Ford diff --git a

[U-Boot] [PATCH] ARM: omap3_logic: Add NOR Flash Support for SOM-LV

2018-10-14 Thread Adam Ford
The DM37 and OMAP35 SOM-LV SOM-LV products both support a NOR flash part connected to CS2 in addition to the NAND part on CS0. This patch setups the GPMC timings for the MT28 NOR Flash and enables the CFI-Flash driver now that the CFI stuff is in Kconfig Signed-off-by: Adam Ford --- V2: Check

[U-Boot] [PATCH] ARM: DTS: Resync am3517-evm.dts with Linux 4.19

2018-10-21 Thread Adam Ford
Some minor changes have been made to the AM3517-evm and the underlying am3517.dtsi files. This patch re-sync's the DTS and DTSI files with Linux. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/am3517-evm.dts b/arch/arm/dts/am3517-evm.dts index 98aadb0f81..1d158cfda1 100644 --- a/arc

[U-Boot] [PATCH] configs: am3517_evm: Use default OMAP3 memory settings

2018-10-21 Thread Adam Ford
The AM3517 is mostly am omap3, so this partch removes the custom memory configurations and just uses the default common entries for omap3 and armv7. Signed-off-by: Adam Ford diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index 0463e42048..4e7e5209d4 100644 --- a

[U-Boot] [PATCH] ARM: am3517_evm: Build for Thumb

2018-10-21 Thread Adam Ford
spl/u-boot-spl After: textdata bss dec hex filename 515502 25808 275708 817018 c777a u-boot textdata bss dec hex filename 42910 417 67460 110787 1b0c3 spl/u-boot-spl Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b

[U-Boot] [PATCH] ARM: omap3_logic: Make CONFIG_SYS_TEXT_BASE match README.omap3

2018-10-21 Thread Adam Ford
README.omap3 has two options. For option 1, CONFIG_SYS_TEXT_BASE is set to 0x8010. Option 2 lists 0x80008000. The existing value is neither of these, so this patch makes it equivalent to Option 1. Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs

Re: [U-Boot] [PATCH v3 00/19] DM_I2C_COMPAT removal for all ti platforms

2018-10-27 Thread Adam Ford
ld be nice it some of you could try to boot them. > > I applied the entire 19-patch series and it worked for me. Thanks! Tested-by Adam Ford #omap3_logic & am3517_evm adam > Changes in v3: > - removed commit introducing dm_i2c_probe_device(). Instead probe the > presence of

Re: [U-Boot] [PATCH 00/13] dm: DM_FLAG_PRE_RELOC flag clean up

2018-10-28 Thread Adam Ford
; dm: doc: Update description of pre-relocation support > This works just fine for me on the am3517_evm and the omap3_logic boards. Tested-by Adam Ford adam > arch/arm/mach-stm32mp/bsec.c | 1 - > arch/x86/cpu/tangier/sysreset.c | 1 - > doc/driver-

[U-Boot] [PATCH 1/2] ARM: omap3_logic: Remove SPL_OF_CONTROL and OF_PLATDATA

2018-10-28 Thread Adam Ford
After the recomendation, some testing shows like these are unnecessary. Suggested-by: Jean-Jacques Hiblot Signed-off-by: Adam Ford diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig index 54c40d8c42..452164f212 100644 --- a/configs/omap35_logic_defconfig +++ b/configs

[U-Boot] [PATCH 2/2] ARM: am3517_evm: Remove SPL_OF_CONTROL and OF_PLATDATA

2018-10-28 Thread Adam Ford
After the recomendation, some testing shows like these are unnecessary. Suggested-by: Jean-Jacques Hiblot Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index e334030e51..1c251cf914 100644 --- a/configs/am3517_evm_defconfig +++ b/configs

Re: [U-Boot] [PATCH 51/93] arm: Remove omap3_logic_somlv board

2018-11-19 Thread Adam Ford
- > -source "board/ti/common/Kconfig" > - > -endif > diff --git a/board/logicpd/omap3som/MAINTAINERS > b/board/logicpd/omap3som/MAINTAINERS > deleted file mode 100644 > index 459393cf54c..000 > --- a/board/logicpd/omap3som/MAINTAINERS > +++ /dev/null

Re: [U-Boot] [PATCH 48/93] arm: Remove imx6q_logic board

2018-11-19 Thread Adam Ford
_NAME > - default "imx6_logic" > - > -endif > diff --git a/board/logicpd/imx6/MAINTAINERS b/board/logicpd/imx6/MAINTAINERS > deleted file mode 100644 > index 5db7d2cadd9..000 > --- a/board/logicpd/imx6/MAINTAINERS > +++ /dev/null > @@ -1,6 +0,0 @@ > -MX6LOGICPD

Re: [U-Boot] [PATCH 01/93] Add a simple script to remove boards

2018-11-19 Thread Adam Ford
On Mon, Nov 19, 2018 at 9:54 AM Simon Glass wrote: > > This script attempts to create a git commit which removes a single board. > It is quite fallible and everything it does needs checking. But it can > help speed up the process. > This patch looks like it goes through the configs, finds boards

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-19 Thread Adam Ford
On Mon, Nov 19, 2018 at 12:36 PM Tom Rini wrote: > > On Mon, Nov 19, 2018 at 10:54 AM Simon Glass wrote: > > > > All boards should now be migrated to use CONFIG_BLK. This series removes > > those with build problems using this option. > > > > If maintainers want to keep these boards in they shoul

Re: [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration

2018-11-20 Thread Adam Ford
On Mon, Nov 19, 2018 at 3:54 PM Tom Rini wrote: > > On Mon, Nov 19, 2018 at 10:32:01PM +0100, Marek Vasut wrote: > > On 11/19/2018 08:45 PM, Adam Ford wrote: > > > On Mon, Nov 19, 2018 at 12:36 PM Tom Rini wrote: > > >> > > >> On Mon

Re: [U-Boot] [PATCH 1/5] fix: env: Fix the SPI flash device setup for DM mode

2018-11-20 Thread Adam Ford
On Wed, Aug 29, 2018 at 8:37 AM wrote: > > From: Konstantin Porotchkin > > For some reason the spi_flash_probe_bus_cs() is called > inside the setup_flash_device() with zero values in place > of configurated SPI flash mode and maximum flash speed. > This code causes HALT error during startup envi

[U-Boot] [PATCH] board: da8xxevm: Fix Environmental CRC error

2018-11-20 Thread Adam Ford
back 0. Fixes: 25a17652c9c2 ("fix: env: Fix the SPI flash device setup for DM mode") Signed-off-by: Adam Ford diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index ba878eb13b..14a3046f19 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @

Re: [U-Boot] [PATCH 03/34] spi: davinci: Full dm conversion

2018-11-20 Thread Adam Ford
On Tue, Nov 20, 2018 at 6:48 AM Jagan Teki wrote: > > davinci_spi now support dt along with platform data, > respective boards need to switch into dm for the same. > > Cc: Adam Ford > Cc: Vitaly Andrianov > Cc: Stefano Babic > Cc: Peter Howard > Cc: Tom Rini >

[U-Boot] [PATCH V2 1/2] mmc: omap_mmc: Remove invert references

2018-09-08 Thread Adam Ford
With DM_GPIO and DM_MMC translating GPIO_ACTIVE_LOW, any boards using the 'cd-invert' option will no longer need to do this. This patch removes the support for 'invert' from the MMC driver. Signed-off-by: Adam Ford --- V2: Don't include patch 1 with xlate. It

[U-Boot] [PATCH V2 2/2] ARM: DTS: various omap3: Remove cd-inverted from u-boot.dtsi

2018-09-08 Thread Adam Ford
With the omap_mmc driver no longer supporting cd-inverted, this patch removes all these references since they are not needed. Signed-off-by: Adam Ford --- V2: No changes diff --git a/arch/arm/dts/am3517-evm-u-boot.dtsi b/arch/arm/dts/am3517-evm-u-boot.dtsi index c02beaad77..59df819f9d 100644

Re: [U-Boot] [PATCH] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Fix MMC Card Detect

2018-09-08 Thread Adam Ford
On Wed, Sep 5, 2018 at 8:08 AM Tuomas Tynkkynen wrote: > > Hi Adam, > > On 09/03/2018 05:08 PM, Adam Ford wrote: > > When re-syncing the DTS files from the kernel, something caused > > the MMC driver to no longer detect the MMC card. Undoing the > > CD-i

[U-Boot] [PATCH V2] ARM: CPU: arm926ejs: Consolidate cache routines to common file

2018-09-08 Thread Adam Ford
Four different boards had different options for enabling cache that were virtually all the same. This consolidates these common functions into arch/arm/cpu/arm926ejs/cache.c This also has the positive side-effect of enabling cache on the Davinci (da850) boards. Signed-off-by: Adam Ford --- V2

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