Re: [PATCH v4 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-19 Thread Jesse T
On Mon, Feb 19, 2024 at 7:53 PM Fabio Estevam wrote: > > On Mon, Feb 19, 2024 at 8:01 PM Jesse Taube wrote: > > > > Add support for booting the imxrt1050-evk from spi. > > Add imximage config and the ability for SPL to boot from NOR. > > Enable binman in Kco

[PATCH v4 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-19 Thread Jesse Taube
Add support for booting the imxrt1050-evk from spi. Add imximage config and the ability for SPL to boot from NOR. Enable binman in Kconfig and device tree for imxrt* as it is used to prepend fspi_header.bin to SPL and u-boot.img. Signed-off-by: Jesse Taube --- V1 -> V2: - Add defcon

[PATCH v4 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-02-19 Thread Jesse Taube
Add documentation for SPI boot. Signed-off-by: Jesse Taube --- V1 -> V2: - Change s/Adds/Add - Change imxrt1050-evk_spi to fspi - Fix spelling and grammar - Mention the SPI NOR flash part number V2 -> V3: - No changes V3 -> V4: - No changes --- doc/board/nxp/imxrt1050-evk

Re: [PATCH v3 1/3] arm: dts: imxrt: Add binman support

2024-02-19 Thread Jesse T
On Sun, Feb 18, 2024 at 9:12 PM Fabio Estevam wrote: > > On Sun, Feb 18, 2024 at 10:39 PM Fabio Estevam wrote: > > > > Hi Jesse, > > > > On Sun, Feb 18, 2024 at 6:20 PM Jesse Taube wrote: > > > > > > Enable binman in Kconfig and in device tree

[PATCH v3 3/3] imx: imxrt1050-evk: Add documentation for SPI boot

2024-02-18 Thread Jesse Taube
Add documentation for SPI boot. Signed-off-by: Jesse Taube --- V1 -> V2: - Change s/Adds/Add - Change imxrt1050-evk_spi to fspi - Fix spelling and grammar - Mention the SPI NOR flash part number V2 -> V3: - No changes --- doc/board/nxp/imxrt1050-evk.rs

[PATCH v3 1/3] arm: dts: imxrt: Add binman support

2024-02-18 Thread Jesse Taube
Enable binman in Kconfig and in device tree. Signed-off-by: Jesse Taube --- V2 -> V3: - New commit --- arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 4 arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 4 arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 4 arch/arm/mach-imx/imxrt/Kconfig

[PATCH v3 2/3] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-18 Thread Jesse Taube
Add support for booting the imxrt1050-evk from spi. Add imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- V1 -> V2: - Add defconfig to MAINTAINERS - Change Copyright of imximage-nor.cfg to myself - Fix spelling and grammar - Use imperative mood V2 -&

Re: [PATCH v2 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-09 Thread Jesse T
On Thu, Feb 8, 2024 at 8:08 AM Fabio Estevam wrote: > > Hi Jesse, > > On Tue, Feb 6, 2024 at 1:40 PM Jesse Taube wrote: > > > > Add support for booting the imxrt1050-evk from spi. > > Add imximage config and the ability for SPL to boot from NOR. >

[PATCH v2 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-06 Thread Jesse Taube
Add support for booting the imxrt1050-evk from spi. Add imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- V1 -> V2: - Add defconfig to MAINTAINERS - Change Copyright of imximage-nor.cfg to myself - Fix spelling and grammar - Use imperative m

[PATCH v2 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-02-06 Thread Jesse Taube
Add documentation for SPI boot. Signed-off-by: Jesse Taube --- V1 -> V2: - Change s/Adds/Add - Change imxrt1050-evk_spi to fspi - Fix spelling and grammar - Mention the SPI NOR flash part number --- doc/board/nxp/imxrt1050-evk.rst | 30 ++ 1 file changed,

Re: [PATCH v1] doc: imx: imxrt1170: Document imxrt1170-evk board

2024-02-02 Thread Jesse T
On Fri, Feb 2, 2024 at 3:40 AM Heinrich Schuchardt wrote: > > On 2/1/24 16:00, Jesse Taube wrote: > > Add documentation for imxrt1170-evk. > > > > Signed-off-by: Jesse Taube > > --- > > doc/board/nxp/imxrt1170-evk.rst | 42 +

[PATCH v1] doc: imx: imxrt1170: Document imxrt1170-evk board

2024-02-01 Thread Jesse Taube
Add documentation for imxrt1170-evk. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1170-evk.rst | 42 + 1 file changed, 42 insertions(+) create mode 100644 doc/board/nxp/imxrt1170-evk.rst diff --git a/doc/board/nxp/imxrt1170-evk.rst b/doc/board/nxp

Re: [PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-30 Thread Jesse T
On Mon, Jan 29, 2024 at 8:34 AM Fabio Estevam wrote: > > On Sun, Jan 28, 2024 at 6:43 PM Jesse Taube wrote: > > > +++ b/configs/imxrt1050-evk_fspi_defconfig > > @@ -0,0 +1,100 @@ > > +CONFIG_ARM=y > > +CONFIG_SYS_DCACHE_OFF=y > > Out of curiosity: what ar

[PATCH v1 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-01-28 Thread Jesse Taube
Adds documentation for SPI boot. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1050-evk.rst | 29 + 1 file changed, 29 insertions(+) diff --git a/doc/board/nxp/imxrt1050-evk.rst b/doc/board/nxp/imxrt1050-evk.rst index c1fb48f0cd..aca5071181 100644 --- a/doc

[PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-28 Thread Jesse Taube
This add some macros to change addresses to use flexspi. This commit adds support for booting the imxrt1050-evk from spi. It adds imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1050-evk-u-boot.dtsi| 31 ++ arch/arm/mach

[PATCH v1] tools: mkimage: Add support for i.MXRT FlexSPI Header

2024-01-23 Thread Jesse Taube
Modify imx8m Flex SPI Configuration Block to work with imxrt. Add more Flex SPI configuration options to Kconfig. Signed-off-by: Jesse Taube --- include/imximage.h | 42 + tools/Kconfig | 21 + tools/imx8mimage.c | 41 tools

Re: [PATCH v3 0/4] sunxi: SPL FIT support for 32-bit sunxi SoCs

2023-11-01 Thread Jesse T
SoCs > > arch/arm/Kconfig | 1 + > arch/arm/dts/sunxi-u-boot.dtsi | 39 ++ > arch/arm/mach-sunxi/Kconfig| 17 +++ > common/spl/Kconfig | 6 ++ > 4 files changed, 41 insertions(+), 22 deletions(-) > > -- > 2.41.0 > Acked-by: Jesse Taube Looks good!

[PATCH v1] configs: imxrt1050-evk: enable distro bootcmd

2023-09-17 Thread Jesse Taube
Add support to boot from script.scr from mmc. imxrt1050-evk was not able to boot from script.scr because we did not include config_distro_bootcmd.h and set the device to mmc. Signed-off-by: Jesse Taube --- configs/imxrt1050-evk_defconfig | 2 +- include/configs/imxrt1050-evk.h | 15

Re: [PATCH v2] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-25 Thread Jesse T
On Fri, Aug 25, 2023 at 2:06 PM Simon Glass wrote: > > On Fri, 25 Aug 2023 at 08:49, Tom Rini wrote: > > > > On Thu, Aug 24, 2023 at 09:59:48PM -0400, Jesse Taube wrote: > > > > > Commit 65cc0e2a65d2 ("global: Move remaining CONFIG_SYS_* to CFG_SYS_*&

[PATCH v2] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-24 Thread Jesse Taube
iable were unaffected because they were using the default value which is CONFIG_TEXT_BASE. This commit converts CFG_SYS_UBOOT_START to Kconfig and sets the default value to CONFIG_TEXT_BASE. Suggested-by: Marek Vasut Suggested-by: Tom Rini Signed-off-by: Jesse Taube --- V1->V2: - Add

Re: [PATCH] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-24 Thread Jesse T
On Thu, Aug 24, 2023 at 4:01 PM Simon Glass wrote: > > Hi Jesse, > > On Wed, 23 Aug 2023 at 20:30, Jesse Taube wrote: > > > > Commit 65cc0e2a65d2 ("global: Move remaining CONFIG_SYS_* to CFG_SYS_*") > > renamed CONFIG_SYS_UBOOT_START to CFG_SYS_UB

[PATCH] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-23 Thread Jesse Taube
iable were unaffected because they were using the default value which is CONFIG_TEXT_BASE. This commit converts CFG_SYS_UBOOT_START to Kconfig and sets the default value to CONFIG_TEXT_BASE. Suggested-by: Marek Vasut Suggested-by: Tom Rini Signed-off-by: Jesse Taube ---

Re: [PATCH v2 3/4] sunxi: binman: Support FIT generation for 32-bit SoCs

2023-01-22 Thread Jesse Taube
/sunxi-u-boot.dtsi @@ -1,5 +1,11 @@ #include +#ifdef CONFIG_ARM64 +#define ARCH "arm64" +#else +#define ARCH "arm" +#endif + There should be a better way to do this, but if not shouldn't the else should be elseif because of the RISCV SOCs. The rest looks fine to

Re: [PATCH v3 3/8] imxrt1050: synchronise device tree with linux

2022-10-23 Thread Jesse Taube
in v3: - Incorporate feedback from Jesse. Changes in v2: - imxrt1050: Re-added DDR timings aka semc node as pointed out by Fabio. Thanks!   arch/arm/dts/imxrt1050-evk-u-boot.dtsi  | 162 ++--   arch/arm/dts/imxrt1050-evk.dts  | 257 +++-   arch/arm/dts

Re: [PATCH v2 3/8] imxrt1050: synchronise device tree with linux

2022-10-23 Thread Jesse Taube
On 10/22/22 08:57, Marcel Ziswiler wrote: Hi Jesse Sorry, I kinda missed your reply and imx maintainership was quiet for quite some time. I am now preparing a v3 taking your feedback into account. Thanks! On Sun, 2022-08-28 at 02:50 -0400, Jesse Taube wrote: On 8/26/22 14:31, Marcel

Re: [PATCH 6/6] sunxi: add CherryPi-F1C200s support

2022-10-13 Thread Jesse Taube
_f1c200s_defconfig @@ -0,0 +1,11 @@ +CONFIG_ARM=y +CONFIG_SYS_DCACHE_OFF=y +CONFIG_ARCH_SUNXI=y +CONFIG_DEFAULT_DEVICE_TREE="suniv-f1c100s-cherrypi-f1c200s" +CONFIG_SPL=y +CONFIG_MACH_SUNIV=y +CONFIG_DRAM_CLK=156 +CONFIG_DRAM_ZQ=0 You need +CONFIG_SPL_STACK=0x8000 I will test this on both 100s and 200s. Thanks, Jesse Taube +CONFIG_SUNXI_MINIMUM_DRAM_MB=64 +# CONFIG_VIDEO_SUNXI is not set +CONFIG_CONS_INDEX=2 -- 2.25.1

Re: [PATCH v3 6/8] RAM: Add changes for i.MXRT11xx series

2022-09-01 Thread Jesse Taube
On 7/27/22 13:19, sba...@denx.de wrote: The i.MXRT11 series has different offsets for IOCR_MUX, it also can address 64MiB of SDRAM so add a macro for that. Signed-off-by: Jesse Taube Applied to u-boot-imx, master, thanks ! Was this ever applied? Thanks, Jesse Best regards, Stefano Babic

Re: [PATCH v2 3/8] imxrt1050: synchronise device tree with linux

2022-08-28 Thread Jesse Taube
_usdhc0 { Add diff: compatible = "fsl,imxrt-usdhc"; I tested this https://github.com/Mr-Bossman/u-boot/commit/42a7f430d761bb4d44f646a27649deda15352f2e Some note for future, check if the compatibles are the same they arent here so the soc.dtsi will be broken. Also wait a bit for oth

Re: [PATCH v1 3/8] imxrt1050: synchronise device tree with linux

2022-08-26 Thread Jesse Taube
. If needed I can sync it as well as test. Thanks, Jesse I don't have access to this platform. Adding Jesse and Giulio.

[PATCH v3 7/8] ARM: dts: imx: add i.MXRT1170-EVK support

2022-07-25 Thread Jesse Taube
features as follows: GPIO LPUART SD/MMC SDRAM Signed-off-by: Jesse Taube --- V1 -> V2: * Remove unused constant clocks V2 -> V3: * Nothing done --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 94 + arch/arm/dts/imxrt1170-evk.dts

[PATCH v3 8/8] ARM: imxrt1170_defconfig: Add i.MXRT1170 defconfig

2022-07-25 Thread Jesse Taube
Add a base defconfig for the i.MXRT1170 Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Rebase --- configs/imxrt1170-evk_defconfig | 70 + include/configs/imxrt1170-evk.h | 29 ++ 2 files changed, 99 insertions(+) creat

[PATCH v3 6/8] RAM: Add changes for i.MXRT11xx series

2022-07-25 Thread Jesse Taube
The i.MXRT11 series has different offsets for IOCR_MUX, it also can address 64MiB of SDRAM so add a macro for that. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Nothing done --- drivers/ram/imxrt_sdram.c| 9 + include/dt-bindings/memory

[PATCH v3 5/8] clk: imx: Add initial support for i.MXRT1170 clock driver

2022-07-25 Thread Jesse Taube
Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Use C file not dts for constant clock divider V2 -> V3: * Nothing done --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c

[PATCH v3 4/8] clk: imx: Add i.MXRT11xx pllv3 variant

2022-07-25 Thread Jesse Taube
The i.MXRT11 series has two new pll types but are variants of existing. This patch adds the ability to read one of the pll types' frequency as it can't be changed unlike the generic pll it also has the division factors swapped. Signed-off-by: Jesse Taube --- V1 -> V2: * Change BM_PLL_PO

[PATCH v3 3/8] dt-bindings: imx: Add clock binding for i.MXRT1170

2022-07-25 Thread Jesse Taube
Add the clock binding doc for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Nothing done --- include/dt-bindings/clock/imxrt1170-clock.h | 48 + 1 file changed, 48 insertions(+) create mode 100644 include/dt-bindings/clock/imxrt1170-c

[PATCH v3 2/8] ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header

2022-07-25 Thread Jesse Taube
Add binding header for i.MXRT1170 pinctrl device tree. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Nothing done --- arch/arm/dts/imxrt1170-pinfunc.h | 1561 ++ 1 file changed, 1561 insertions(+) create mode 100644 arch/arm/dts/imx

[PATCH v3 1/8] imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK

2022-07-25 Thread Jesse Taube
This commit adds board support for i.MXRT1170-EVK from NXP. This board is an evaluation kit provided by NXP for i.MXRT117x processor family. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Rebase --- arch/arm/include/asm/arch-imx/cpu.h | 1 + arch/arm/ma

[PATCH v3 0/8] Add support for the i.MXRT1170

2022-07-25 Thread Jesse Taube
This patchset contains: - i.MXRT1170 clock driver adaption - i.MXRT1170-evk basic support Jesse Taube (8): imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header dt-bindings: imx: Add clock binding for i.MXRT1170 clk: imx: Add

Re: [PATCH v2 0/8] Add support for the i.MXRT1170

2022-07-25 Thread Jesse Taube
On 7/25/22 09:34, Stefano Babic wrote: Hi Jesse, I get errors as soon as I merge the series: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/471284 In fact, you add new CONFIG_ but not via Kbuild: CONFIG_SPL_STACK CONFIG_SYS_FSL_ERRATUM_ESDHC13 I'm sorry I need to rebase

Re: [PATCH v1] arm: relocate: Replace ADR instruction with non-pseudo-instruction

2022-07-11 Thread Jesse Taube
On 7/11/22 10:19, Andre Przywara wrote: > On Mon, 11 Jul 2022 15:11:13 +0100 > Andre Przywara wrote: > >> On Mon, 11 Jul 2022 13:57:40 +0100 >> Andre Przywara wrote: >> >> Hi, >> >>> On Sun, 10 Jul 2022 03:09:53 -0400 >>> Jesse Tau

Re: [PATCH v1] arm: relocate: Replace ADR instruction with non-pseudo-instruction

2022-07-11 Thread Jesse Taube
On 7/11/22 08:57, Andre Przywara wrote: > On Sun, 10 Jul 2022 03:09:53 -0400 > Jesse Taube wrote: > > Hi Jesse, > >> In Binutils 2.37 the ADR instruction has changed >> use alternate instructions. > > Can you elaborate on this? What has changed exactly, and

[PATCH v1] arm: relocate: Replace ADR instruction with non-pseudo-instruction

2022-07-10 Thread Jesse Taube
In Binutils 2.37 the ADR instruction has changed use alternate instructions. The change causes armv7-m to not boot. Signed-off-by: Jesse Taube --- arch/arm/lib/relocate.S | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib

Re: [ANN] U-Boot v2022.01-rc3 released

2022-07-06 Thread Jesse Taube
On 7/6/22 10:47, Tom Rini wrote: On Wed, Jul 06, 2022 at 10:31:41AM -0400, Jesse Taube wrote: On 11/30/21 14:36, Tom Rini wrote: On Mon, Nov 29, 2021 at 09:35:52PM -0500, Jesse Taube wrote: On 11/29/21 11:28, Tom Rini wrote: Hey all, It's been two weeks since v2022.01-rc2, so here's

Re: [ANN] U-Boot v2022.01-rc3 released

2022-07-06 Thread Jesse Taube
On 11/30/21 14:36, Tom Rini wrote: On Mon, Nov 29, 2021 at 09:35:52PM -0500, Jesse Taube wrote: On 11/29/21 11:28, Tom Rini wrote: Hey all, It's been two weeks since v2022.01-rc2, so here's -rc3. To repeat what I said with -rc2, we've enabled issue tracking on our gitlab instance. You

Re: [PATCH 2/7] spi: sunxi: refactor SPI speed/mode programming

2022-06-29 Thread Jesse Taube
t/ Tested-by: Jesse Taube I talked to Icenowy who also tested and said it worked with spi-nand. There is one issue but not related to this set, the SPI max clock is 1Mhz. Another note disabling the clock gates in `sun4i_spi_set_clock` will stop you from dumping the memory of the peripheral.

Re: [PATCH 2/7] spi: sunxi: refactor SPI speed/mode programming

2022-06-27 Thread Jesse Taube
t/ So can people please test this and report whether this now works as expected? I'm very confused I have forgotten much about this patch set. I'm going to test it, but why has it only been merged now? Thanks, Jesse Thanks, Andre So far we get away with that default frequency, because that i

[PATCH v2 7/8] ARM: dts: imx: add i.MXRT1170-EVK support

2022-06-17 Thread Jesse Taube
features as follows: GPIO LPUART SD/MMC SDRAM Signed-off-by: Jesse Taube --- V1 -> V2: * Remove unused constant clocks --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 94 + arch/arm/dts/imxrt1170-evk.dts |

[PATCH v2 8/8] ARM: imxrt1170_defconfig: Add i.MXRT1170 defconfig

2022-06-17 Thread Jesse Taube
Add a base defconfig for the i.MXRT1170 Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- configs/imxrt1170-evk_defconfig | 67 + include/configs/imxrt1170-evk.h | 37 ++ 2 files changed, 104 insertions(+) create mode 100644 conf

[PATCH v2 2/8] ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header

2022-06-17 Thread Jesse Taube
Add binding header for i.MXRT1170 pinctrl device tree. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- arch/arm/dts/imxrt1170-pinfunc.h | 1561 ++ 1 file changed, 1561 insertions(+) create mode 100644 arch/arm/dts/imxrt1170-pinfunc.h diff --git a/a

[PATCH v2 6/8] RAM: Add changes for i.MXRT11xx series

2022-06-17 Thread Jesse Taube
The i.MXRT11 series has different offsets for IOCR_MUX, it also can address 64MiB of SDRAM so add a macro for that. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- drivers/ram/imxrt_sdram.c| 9 + include/dt-bindings/memory/imxrt-sdram.h | 1 + 2 files chan

[PATCH v2 5/8] clk: imx: Add initial support for i.MXRT1170 clock driver

2022-06-17 Thread Jesse Taube
Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Use C file not dts for constant clock divider --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c | 221

[PATCH v2 4/8] clk: imx: Add i.MXRT11xx pllv3 variant

2022-06-17 Thread Jesse Taube
The i.MXRT11 series has two new pll types but are variants of existing. This patch adds the ability to read one of the pll types' frequency as it can't be changed unlike the generic pll it also has the division factors swapped. Signed-off-by: Jesse Taube --- V1 -> V2: * Change BM_PLL_PO

[PATCH v2 3/8] dt-bindings: imx: Add clock binding for i.MXRT1170

2022-06-17 Thread Jesse Taube
Add the clock binding doc for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- include/dt-bindings/clock/imxrt1170-clock.h | 48 + 1 file changed, 48 insertions(+) create mode 100644 include/dt-bindings/clock/imxrt1170-clock.h diff --git a/include

[PATCH v2 1/8] imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK

2022-06-17 Thread Jesse Taube
This commit adds board support for i.MXRT1170-EVK from NXP. This board is an evaluation kit provided by NXP for i.MXRT117x processor family. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- arch/arm/include/asm/arch-imx/cpu.h | 1 + arch/arm/mach-imx/imxrt/Kcon

[PATCH v2 0/8] Add support for the i.MXRT1170

2022-06-17 Thread Jesse Taube
This patchset contains: - i.MXRT1170 clock driver adaption - i.MXRT1170-evk basic support Jesse Taube (8): imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header dt-bindings: imx: Add clock binding for i.MXRT1170 clk: imx: Add

Re: [PATCH 5/7] sunxi: F1C100s: update DT files from Linux

2022-05-05 Thread Jesse Taube
interrupts = <16>; + clocks = <>; }; uart0: serial@1c25000 { @@ -114,8 +198,8 @@ interrupts = <1>; reg-shift = <2>; reg-io-width = <4>; - clocks = < 38>; - resets = < 24>; + clocks = < CLK_BUS_UART0>; + resets = < RST_BUS_UART0>; status = "disabled"; }; @@ -125,8 +209,8 @@ interrupts = <2>; reg-shift = <2>; reg-io-width = <4>; - clocks = < 39>; - resets = < 25>; + clocks = < CLK_BUS_UART1>; + resets = < RST_BUS_UART1>; status = "disabled"; }; @@ -136,8 +220,8 @@ interrupts = <3>; reg-shift = <2>; reg-io-width = <4>; - clocks = < 40>; - resets = < 26>; + clocks = < CLK_BUS_UART2>; + resets = < RST_BUS_UART2>; status = "disabled"; }; }; Acked-by: Jesse Taube

Re: [PATCH v1 5/8] clk: imx: Add initial support for i.MXRT1170 clock driver

2022-03-20 Thread Jesse Taube
On 3/20/22 15:17, Sean Anderson wrote: On 3/17/22 2:32 PM, Jesse Taube wrote: Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c | 215

[PATCH v2 3/4] ARM: dts: imxrt10..-evk: Linux moved pins-imxrt1020 to dts

2022-03-17 Thread Jesse Taube
The Linux kernel moved dt-bindings/pinctrl/pins-imxrt to the device tree This patch move it in U-Boot as well. Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1020-evk.dts | 2 +- .../pins-imxrt1020.h => arch/arm/dts/imxrt1020-pinfunc.h| 0 arch/arm/

[PATCH v2 2/4] configs/*imxrt10*: SYS_MALLOC_LEN is too large

2022-03-17 Thread Jesse Taube
1M of heap is more than internal ram making booting without SDRAM not possible now it is 256k Signed-off-by: Jesse Taube --- configs/imxrt1020-evk_defconfig | 2 +- configs/imxrt1050-evk_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/imxrt1020

[PATCH v2 4/4] board: freescale: imxrt10..-evk: Fix missing include of serial.h

2022-03-17 Thread Jesse Taube
If FALCON mode is enabled we have a missing include in spl_start_uboot. Signed-off-by: Jesse Taube --- board/freescale/imxrt1020-evk/imxrt1020-evk.c | 1 + board/freescale/imxrt1050-evk/imxrt1050-evk.c | 1 + 2 files changed, 2 insertions(+) diff --git a/board/freescale/imxrt1020-evk/imxrt1020

[PATCH v2 1/4] clk: imxrt: Use dts for anatop base address

2022-03-17 Thread Jesse Taube
In Linux IMX and IMXRT use the device tree to hold the anatop address. The anatop is used in clock drivers as it controls the internal PLLs This will move the macro from asm/arch-imxrt to the device tree. This presumably should also be done with the other IMX boards as well. Signed-off-by: Jesse

[PATCH v1 2/8] ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header

2022-03-17 Thread Jesse Taube
Add binding header for i.MXRT1170 pinctrl device tree. Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1170-pinfunc.h | 1561 ++ 1 file changed, 1561 insertions(+) create mode 100644 arch/arm/dts/imxrt1170-pinfunc.h diff --git a/arch/arm/dts/imxrt1170-pinfunc.h b

[PATCH v2 0/4] IMXRT: Maintnice updates

2022-03-17 Thread Jesse Taube
Updates to the imxrt family include: - Adding missing include in board - Moving pinctrl binding to dts - Reducing SYS_MALLOC_LEN - Using device tree for anatop base address Jesse Taube (4): clk: imxrt: Use dts for anatop base address configs/*imxrt10*: SYS_MALLOC_LEN is too large ARM: dts

[PATCH v1 7/8] ARM: dts: imx: add i.MXRT1170-EVK support

2022-03-17 Thread Jesse Taube
features as follows: GPIO LPUART SD/MMC SDRAM Signed-off-by: Jesse Taube --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 106 ++ arch/arm/dts/imxrt1170-evk.dts | 246 ++ arch/arm/dts/imxrt1170.dtsi| 274

[PATCH v1 8/8] ARM: imxrt1170_defconfig: Add i.MXRT1170 defconfig

2022-03-17 Thread Jesse Taube
Add a base defconfig for the i.MXRT1170 Signed-off-by: Jesse Taube --- configs/imxrt1170-evk_defconfig | 67 + include/configs/imxrt1170-evk.h | 37 ++ 2 files changed, 104 insertions(+) create mode 100644 configs/imxrt1170-evk_defconfig create

[PATCH v1 6/8] RAM: Add changes for i.MXRT11xx series

2022-03-17 Thread Jesse Taube
The i.MXRT11 series has different offsets for IOCR_MUX, it also can address 64MiB of SDRAM so add a macro for that. Signed-off-by: Jesse Taube --- drivers/ram/imxrt_sdram.c| 9 + include/dt-bindings/memory/imxrt-sdram.h | 1 + 2 files changed, 10 insertions(+) diff

[PATCH v1 4/8] clk: imx: Add i.MXRT11xx pllv3 variant

2022-03-17 Thread Jesse Taube
The i.MXRT11 series has two new pll types but are variants of existing. This patch adds the ability to read one of the pll types' frequency as it can't be changed unlike the generic pll it also has the division factors swapped. Signed-off-by: Jesse Taube --- drivers/clk/imx/clk-pllv3.c | 44

[PATCH v1 5/8] clk: imx: Add initial support for i.MXRT1170 clock driver

2022-03-17 Thread Jesse Taube
Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c | 215 3 files changed, 232 insertions(+) create mode 100644 drivers/clk

[PATCH v1 3/8] dt-bindings: imx: Add clock binding for i.MXRT1170

2022-03-17 Thread Jesse Taube
Add the clock binding doc for i.MXRT1170. Signed-off-by: Jesse Taube --- include/dt-bindings/clock/imxrt1170-clock.h | 48 + 1 file changed, 48 insertions(+) create mode 100644 include/dt-bindings/clock/imxrt1170-clock.h diff --git a/include/dt-bindings/clock/imxrt1170

[PATCH v1 1/8] imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK

2022-03-17 Thread Jesse Taube
This commit adds board support for i.MXRT1170-EVK from NXP. This board is an evaluation kit provided by NXP for i.MXRT117x processor family. Signed-off-by: Jesse Taube --- arch/arm/include/asm/arch-imx/cpu.h | 1 + arch/arm/mach-imx/imxrt/Kconfig | 9 +++ arch/arm/mach

[PATCH v1 0/8] Add support for the i.MXRT1170

2022-03-17 Thread Jesse Taube
This patchset contains: - i.MXRT1170 clock driver adaption - i.MXRT1170-evk basic support Jesse Taube (8): imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header dt-bindings: imx: Add clock binding for i.MXRT1170 clk: imx: Add

[PATCH v1 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2022-03-11 Thread Jesse Taube
Adds documentation for SPI boot. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1050-evk.rst | 41 + 1 file changed, 41 insertions(+) diff --git a/doc/board/nxp/imxrt1050-evk.rst b/doc/board/nxp/imxrt1050-evk.rst index c1fb48f0cd..0838a04871 100644 --- a/doc

[PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2022-03-11 Thread Jesse Taube
This add some macros to change addresses to use flexspi. This commit adds support for booting the imxrt1050-evk from spi. It adds imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- .../freescale/imxrt1050-evk/imximage-nor.cfg | 42

[PATCH v1] clk: imxrt: Use dts for anatop base address

2022-03-11 Thread Jesse Taube
In Linux IMX and IMXRT use the device tree to hold the anatop address. The anatop is used in clock drivers as it controls the internal PLLs This will move the macro from asm/arch-imxrt to the device tree. This presumably should also be done with the other IMX boards as well. Signed-off-by: Jesse

Re: [PATCH v2 0/3] Add SPI boot to SPL on SUNIV/F1C100s

2022-02-28 Thread Jesse Taube
Hey just checking if you know about this set. This patch adds the ability to detect the BROM's boot source, as well as the ability to boot from SPI. Jesse Taube (3): mach-sunxi: Add boot device detection for SUNIV/F1C100s mach-sunxi: Add SPL SPI boot for SUNIV mach-sunxi: Enable SPI

Re: [PATCH v2 1/3] mach-sunxi: Add boot device detection for SUNIV/F1C100s

2022-02-11 Thread Jesse Taube
On 2/11/22 19:32, Jesse Taube wrote: In contrast to other Allwinner SoCs the F1C100s BROM does not store a boot source indicator in the eGON header in SRAM. This leaves the SPL guessing where we were exactly booted from, and for instance trying the SD card first, even though we booted from

[PATCH v2 3/3] mach-sunxi: Enable SPI boot for SUNIV and licheepi nano

2022-02-11 Thread Jesse Taube
Enable SPI boot in SPL on SUNIV architecture and use it in the licheepi nano that uses the F1C100s. Signed-off-by: Jesse Taube Reviewed-by: Andre Przywara --- V1 -> V2: * Change commit description --- arch/arm/mach-sunxi/Kconfig | 2 +- configs/licheepi_nano_defconfig | 1 + 2 fi

[PATCH v2 2/3] mach-sunxi: Add SPL SPI boot for SUNIV

2022-02-11 Thread Jesse Taube
-off-by: Jesse Taube [Jesse: adaptation to Upstream U-Boot] --- V1 -> V2: * Change commit description * Remove redundant conditional statment * Use else if for pin-function --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/spl_spi_sunxi.c| 24 +---

[PATCH v2 1/3] mach-sunxi: Add boot device detection for SUNIV/F1C100s

2022-02-11 Thread Jesse Taube
-by: Jesse Taube Suggested-by: Samuel Holland --- V1 -> V2: * Bail on NAND * Change commit description * Change sunxi_get_boot_source to u32 * Fix FEL boot by next change * Move suniv_get_boot_device call into sunxi_get_boot_source * Rename suniv_get_boot_device * Remove redundant comments --- arch/

[PATCH v2 0/3] Add SPI boot to SPL on SUNIV/F1C100s

2022-02-11 Thread Jesse Taube
This patch adds the ability to detect the BROM's boot source, as well as the ability to boot from SPI. Jesse Taube (3): mach-sunxi: Add boot device detection for SUNIV/F1C100s mach-sunxi: Add SPL SPI boot for SUNIV mach-sunxi: Enable SPI boot for SUNIV and licheepi nano arch/arm/include

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 14:38, Siarhei Siamashka wrote: On Thu, Feb 10, 2022 at 6:35 AM Jesse Taube wrote: [...] + case SUNIV_BOOTED_FROM_NAND: + case SUNIV_BOOTED_FROM_SPI: + return BOOT_DEVICE_SPI; Is it really okay to lump SPI and NAND together and return BOOT_DEVICE_SPI

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 05:57, Andre Przywara wrote: On Wed, 9 Feb 2022 23:34:36 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, much appreciated! Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Can you please elaborate here what's going

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 05:57, Andre Przywara wrote: On Wed, 9 Feb 2022 23:34:36 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, much appreciated! Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Can you please elaborate here what's going

[PATCH v1 3/3] mach-sunxi: Enable spi boot for SUNIV

2022-02-09 Thread Jesse Taube
Enable spi boot in spl on suniv architecture. Signed-off-by: Jesse Taube --- arch/arm/mach-sunxi/Kconfig | 2 +- configs/licheepi_nano_defconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 205fe3c9d3

[PATCH v1 2/3] mach-sunxi: Add spi boot for SUNIV

2022-02-09 Thread Jesse Taube
Add support for the spi boot in spl on suniv architecture. Signed-off-by: Jesse Taube --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/spl_spi_sunxi.c| 26 +++--- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/asm

[PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-09 Thread Jesse Taube
Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Signed-off-by: Jesse Taube Suggested-by: Samuel Holland --- arch/arm/include/asm/arch-sunxi/spl.h | 15 arch/arm/mach-sunxi/board.c | 50 --- 2 files changed, 38

[PATCH v1 0/3] Add spi boot to SPL on SUNIV

2022-02-09 Thread Jesse Taube
This patch adds the ability to detect the BROM's boot source as well as the ability to boot from spi. Jesse Taube (3): mach-sunxi: Add boot device detection for SUNIV mach-sunxi: Add spi boot for SUNIV mach-sunxi: Enable spi boot for SUNIV arch/arm/include/asm/arch-sunxi/gpio.h | 1

Re: [PATCH v2 1/1] timer: npcm: Add driver for Nuvoton NPCM SoCs

2022-02-07 Thread Jesse Taube
longer about 2 days. You also may want to find other people more relevant to this patch. Do you have an online presence like linkedin, github etc? Thanks, Jesse Taube --- drivers/timer/Kconfig | 6 ++ drivers/timer/Makefile | 1 + drivers/timer/npcm-timer.c | 110

Re: [PATCH v1 1/1] timer: npcm: Add driver for Nuvoton NPCM SoCs

2022-02-06 Thread Jesse Taube
sure why I have been CCed in many of you recent patches is there a reason for this? Thank you, Jesse Taube + +/* + * 24-bits down-counting hw timer. + * last_count: last hw counter value. + * counter: the value to be returned for get_count ops. + */ +struct npcm_timer_priv { +

Re: Please test U-Boot Allwinner F1C100s support

2022-01-31 Thread Jesse Taube
you see UART output from the SPL, or nothing at all? Unfortunately nothing either with SPL And you are not using UART0 on the PortF pins, so multiplexed with the MMC, I guess? I use PE0 and PE1 Uart0 according to dts. Have you got such board to test it? Or we can wait for Jesse or George

Re: Please test U-Boot Allwinner F1C100s support

2022-01-30 Thread Jesse Taube
On 1/30/22 21:04, Andre Przywara wrote: Hi, thanks to the tireless work of Jesse, I think the basic Allwinner F1C100s support for mainline U-Boot is now ready to be merged. Since I don't have the hardware, can any of you who have boards please give it a try on their hardware? I would really

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
On 1/29/22 16:21, Giulio Benetti wrote: On 29/01/22 22:19, Jesse Taube wrote: On 1/29/22 16:05, Jesse Taube wrote: On 1/29/22 15:59, Samuel Holland wrote: On 1/29/22 5:51 AM, Andre Przywara wrote: On Fri, 28 Jan 2022 22:21:28 -0500 Jesse Taube wrote: On 1/26/22 09:38, Jesse Taube

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
On 1/29/22 16:05, Jesse Taube wrote: On 1/29/22 15:59, Samuel Holland wrote: On 1/29/22 5:51 AM, Andre Przywara wrote: On Fri, 28 Jan 2022 22:21:28 -0500 Jesse Taube wrote: On 1/26/22 09:38, Jesse Taube wrote: On 1/26/22 09:13, Andre Przywara wrote: On Tue, 4 Jan 2022 19:35:06 -0500

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
On 1/29/22 15:59, Samuel Holland wrote: On 1/29/22 5:51 AM, Andre Przywara wrote: On Fri, 28 Jan 2022 22:21:28 -0500 Jesse Taube wrote: On 1/26/22 09:38, Jesse Taube wrote: On 1/26/22 09:13, Andre Przywara wrote: On Tue, 4 Jan 2022 19:35:06 -0500 Jesse Taube wrote: u32

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
On 1/29/22 06:51, Andre Przywara wrote: On Fri, 28 Jan 2022 22:21:28 -0500 Jesse Taube wrote: On 1/26/22 09:38, Jesse Taube wrote: On 1/26/22 09:13, Andre Przywara wrote: On Tue, 4 Jan 2022 19:35:06 -0500 Jesse Taube wrote: Hi Jesse, I was checking some bits and pieces here, so

[PATCH v3 10/10] configs: sunxi: Add support for Lichee Pi Nano

2022-01-29 Thread Jesse Taube
From: Icenowy Zheng The Lichee Pi Nano is a board based on the F1C100s. Add defconfigs for it. Signed-off-by: Icenowy Zheng Signed-off-by: Jesse Taube --- V1->V2: * Add SKIP_LOWLEVEL_INIT_ONLY * Remove spi defconfig V2->V3: * Move SYS_MALLOC_F_LEN to kconf and format it * Move SYS_LOA

[PATCH v3 09/10] ARM: dts: suniv: Add device tree files and bindings for F1C100s

2022-01-29 Thread Jesse Taube
From: Icenowy Zheng Add device tree files for suniv and Lichee Pi Nano it is a board based on F1C100s. dt-bindings/dts are synced with 5.16.0 Signed-off-by: Icenowy Zheng Signed-off-by: Jesse Taube --- V1->V2: * Sync with Linux * Re-add MMC node V2->V3: * Add ifndef for mmc in s

[PATCH v3 08/10] mach-sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
From: Icenowy Zheng Add support for the suniv architecture, which is newer ARM9 SoCs by Allwinner. The design of it seems to be a mixture of sun3i, sun4i and sun6i. Signed-off-by: Icenowy Zheng Signed-off-by: Jesse Taube --- V1->V2: * Remove change in s_init (sunxi: remove lowlevel_init)

[PATCH v3 07/10] configs: sunxi: Add common SUNIV header

2022-01-29 Thread Jesse Taube
From: Icenowy Zheng Adds support for SUNIV and the F1C100s. Signed-off-by: Icenowy Zheng Reviewed-by: Andre Przywara Signed-off-by: Jesse Taube --- V1->V2: * Combine ifdefs * Fix indentation * Fix negative logic * Fix rebase artifacts * Remove CONFIG_SYS_LOAD_ADDR * Rem

[PATCH v3 05/10] sunxi: Add F1C100s DRAM initial support

2022-01-29 Thread Jesse Taube
From: Icenowy Zheng Add support for F1C100s internal dram controller. Signed-off-by: Icenowy Zheng Signed-off-by: Jesse Taube --- V1->V2: * Nothing done V2->V3: * Nothing done --- arch/arm/include/asm/arch-sunxi/dram.h | 2 + arch/arm/include/asm/arch-sunxi/dram_suniv.h

  1   2   >