Signed-off-by: Jesse Taube
Cc: Stefano Babic
Cc: Giulio Benetti
Cc: Jesse Taube
This timer driver is using GPT Timer (General Purpose Timer) available
on almost all i.MX SoCs family. Add code to enable timer. Add code get a
defualt prescaler.
Add defines for register masks.
---
drivers
Signed-off-by: Jesse Taube
Cc: Stefano Babic
Cc: Giulio Benetti
Cc: Jesse Taube
---
arch/arm/dts/imxrt1050.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi
index a9281001e5..47a1d24973 100644
--- a/arch/arm/dts
This timer driver is using GPT Timer (General Purpose Timer) available
on almost all i.MX SoCs family.
Signed-off-by: Giulio Benetti
Cc: Stefano Babic
Cc: Giulio Benetti
Cc: Jesse Taube
---
drivers/timer/Kconfig | 7 ++
drivers/timer/Makefile| 1 +
drivers/timer/imx-gpt
Add basic driver support for the IMX General Purpose Timer (GPT) available
on almost all i.MX SoCs family.
Giulio Benetti (3):
timer: imx-gpt: Add timer support for i.MX SoCs family
dt-bindings: clock: imxrt1050: add PIT GPT clock
imxrt1050 dtsi gpt1 node
Jesse Taube (1):
timer: imx-gpt
Signed-off-by: Giulio Benetti
Cc: Stefano Babic
Cc: Giulio Benetti
Cc: Jesse Taube
---
include/dt-bindings/clock/imxrt1050-clock.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/dt-bindings/clock/imxrt1050-clock.h
b/include/dt-bindings/clock/imxrt1050-clock.h
Add basic driver support for the IMX General Purpose Timer (GPT) available
on almost all i.MX SoCs family.
Giulio Benetti (3):
timer: imx-gpt: Add timer support for i.MX SoCs family
dt-bindings: clock: imxrt1050: add PIT GPT clock
imxrt1050 dtsi gpt1 node
Jesse Taube (1):
timer: imx-gpt
From: Mr-Bossman
This timer driver is using GPT Timer (General Purpose Timer) available
on almost all i.MX SoCs family.
Signed-off-by: Giulio Benetti
Signed-off-by: Jesse Taube
---
drivers/timer/Kconfig | 7 ++
drivers/timer/Makefile| 1 +
drivers/timer/imx-gpt-timer.c
Signed-off-by: Jesse Taube
---
drivers/timer/Kconfig | 7 ++
drivers/timer/Makefile| 1 +
drivers/timer/imx-gpt-timer.c | 132 ++
3 files changed, 140 insertions(+)
create mode 100644 drivers/timer/imx-gpt-timer.c
diff --git a/drivers/timer
Giulio Benetti (3):
timer: imx-gpt: Add timer support for i.MX SoCs family
Jesse Taube (1):
timer: imx-gpt: Add timer support for i.MX SoCs family
drivers/timer/Kconfig | 7 ++
drivers/timer/Makefile| 1 +
drivers/timer/imx-gpt-timer.c | 132
From: Icenowy Zheng
Add support for F1C100s internal dram controller.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
arch/arm/include/asm/arch-sunxi/dram.h | 2 +
arch/arm/include/asm/arch-sunxi/dram_suniv.h | 46 ++
arch/arm/mach-sunxi/Makefile | 2
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
---
arch/arm/mach-sunxi/Kconfig | 16 +--
arch/arm/mach
From: Icenowy Zheng
Add device tree files for suniv and
Lichee Pi Nano it is a board based on F1C100s.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
arch/arm/dts/Makefile| 2 +
arch/arm/dts/suniv-f1c100s-licheepi-nano.dts | 64 ++
arch/arm/dts
From: Icenowy Zheng
Adds support for SUNIV and the F1C100s.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
include/configs/suniv.h| 14 +++
include/configs/sunxi-common.h | 67 --
2 files changed, 62 insertions(+), 19 deletions
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
---
configs/licheepi_nano_defconfig | 13
configs/licheepi_nano_spiflash_defconfig | 25
2
From: Icenowy Zheng
Some Allwinner SoCs use ARM926EJ-S core.
Add Allwinner/sunXi specific code to ARM926EJ-S CPU dircetory.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
arch/arm/cpu/arm926ejs/Makefile | 1 +
arch/arm/cpu/arm926ejs/sunxi/Makefile| 15
From: Icenowy Zheng
This patch aims to add header files for the F1C100s.
The header files included add support for gpio, dram and clocks.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
arch/arm/include/asm/arch-sunxi/clock.h | 2 +-
arch/arm/include/asm/arch-sunxi
From: Icenowy Zheng
The ARMv7 start code has support for saving some boot params at the
entry point, which is used by some SoCs to return to BROM.
Port this to ARM926EJ-S start code.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
arch/arm/cpu/arm926ejs/start.S | 19
From: Icenowy Zheng
This commit introduces suniv dt-bindings headers
needed for device tree files.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
include/dt-bindings/reset/suniv-ccu.h | 36 +++
1 file changed, 36 insertions(+)
create mode 100644 include
From: Icenowy Zheng
This commit introduces suniv dt-bindings headers needed for
device tree files.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
include/dt-bindings/clock/suniv-ccu.h | 68 +++
1 file changed, 68 insertions(+)
create mode 100644 include
From: Icenowy Zheng
Generic Timer Extension is not available on SUNIV.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
board/sunxi/board.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 2790a0f9e8
This patch set aims to add suport for the SUNIV and F1C100s.
Suport has been in linux for a while now, but not in u-boot.
This patchset contains:
- CPU specific initialization code
- SUNIV dram driver
- SUNIV clock driver adaption
- SUNIV gpio driver adaption
- SUNIV uart driver adaption
-
On 1/5/22 07:14, Andre Przywara wrote:
On Wed, 05 Jan 2022 19:36:29 +0800
Icenowy Zheng wrote:
Hi Jesse,
在 2022-01-04星期二的 19:34 -0500,Jesse Taube写道:
This patch set aims to add suport for the SUNIV and F1C100s.
Suport has been in linux for a while now, but not in u-boot.
This patchset
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 can sign up and then be able to file issues at:
https://source.denx.de/groups/u-boot/-/issues
This
> OK. The device trees at least need to be in linux-next. That will
> cover a lot of baseline review that needs to happen before we take it
> in.
>
Hi Tom!
If my understanding is correct device tree's should be accepted into
Linux-next before U-Boot, or am I wrong.
Also Stanley, I don't think
On 1/10/22 00:13, Tnze Jdao wrote:
I tested this patch and tried to run it on my LicheePi Nano. It works, but I
found there is WARNINGs when compile the code:
---
include/configs/sunxi-common.h:128:0: warning: "CONFIG_ENV_SECT_SIZE" redefined
#define CONFIG_ENV_SECT_SIZE 0x1000
Ah I
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
-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 +---
-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/
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
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
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
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
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
From: Icenowy Zheng
This patch aims to add header files for the suniv.
The header files included add support for uart, and clocks.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Change commit description and topic
* Change PLL6_CFG_DEFA
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
From: Icenowy Zheng
Some Allwinner SoCs use ARM926EJ-S core.
Add Allwinner/sunXi specific code to ARM926EJ-S CPU dircetory.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Fix Copyright notice
* Remove lowlevel_init
* Remove replaced time
Both armv7 and arm926ejs use this timer code so move it to mach-sunxi.
Signed-off-by: Jesse Taube
---
V1->V2:
* New commit
V2->V3:
* Remove timer.o from armv7 Makefile
---
arch/arm/cpu/armv7/sunxi/Makefile| 1 -
arch/arm/mach-sunxi/Makefile | 3 +++
ar
From: Icenowy Zheng
The ARMv7 start code has support for saving some boot params at the
entry point, which is used by some SoCs to return to BROM.
Port this to ARM926EJ-S start code.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Noth
From: Icenowy Zheng
Generic Timer Extension is not available on SUNIV.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Nothing done
V2->V3:
* Nothing done
---
board/sunxi/board.c | 4 ++--
1 file changed, 2 insertions(+), 2 del
: sunxi: Add support for Lichee Pi Nano
Jesse Taube (1):
mach-sunxi: Move timer code to mach folder
Kconfig | 8 +-
arch/arm/cpu/arm926ejs/Makefile | 1 +
arch/arm/cpu/arm926ejs/cpu.c | 13 +
arch/arm/cpu/arm926ejs/start.S
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
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
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)
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
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
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
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
On 1/27/22 19:41, Andre Przywara wrote:
On Thu, 27 Jan 2022 15:40:13 -0500
Jesse Taube wrote:
Hi,
On 1/27/22 05:21, Andre Przywara wrote:
On Wed, 26 Jan 2022 08:53:19 -0500
Jesse Taube wrote:
Both armv7 and arm926ejs use this timer code so move it to mach-sunxi.
Very nice, thanks
On 1/27/22 05:21, Andre Przywara wrote:
On Wed, 26 Jan 2022 08:53:19 -0500
Jesse Taube wrote:
Both armv7 and arm926ejs use this timer code so move it to mach-sunxi.
Very nice, thanks for cleaning this up.
But please remove the respective line from the Makefile in
arch/arm/cpu/armv7
On 1/31/22 08:07, Giulio Benetti wrote:
Hi Andre,
Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara
ha scritto:
On Mon, 31 Jan 2022 13:17:52 +0100
Giulio Benetti wrote:
Hi All,
I've tried several times on both F1C100s and F1C200s, maybe I'm doing
something wrong but it doesn't
-sunxi/board.c with
the suggestion that Stephen said. Should I submit after it gets into
master or is tomorrow fine.
Many thanks,
Jesse Taube
What should work though is booting via FEL and from SD card (the SPL
MMC code is in place, if I am not mistaken). Just booting it to a U-Boot
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
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
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
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
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 {
+
On 1/28/22 09:28, Andre Przywara wrote:
On Thu, 27 Jan 2022 23:51:09 -0500
Jesse Taube wrote:
Hi Jesse,
On 1/27/22 19:41, Andre Przywara wrote:
On Thu, 27 Jan 2022 15:40:13 -0500
Jesse Taube wrote:
Hi,
On 1/27/22 05:21, Andre Przywara wrote:
On Wed, 26 Jan 2022 08:53:19 -0500
On 1/28/22 21:40, Andre Przywara wrote:
On Wed, 26 Jan 2022 08:53:17 -0500
Jesse Taube wrote:
Hi Jesse,
This patch set aims to add support for the SUNIV and F1C100s.
Support has been in linux for a while now, but not in u-boot.
This patchset contains:
- CPU specific initialization code
On 1/28/22 21:37, Andre Przywara wrote:
On Fri, 28 Jan 2022 21:31:28 -0500
Jesse Taube wrote:
On 1/28/22 21:25, Andre Przywara wrote:
On Wed, 26 Jan 2022 08:53:28 -0500
Jesse Taube wrote:
From: Icenowy Zheng
Add device tree files for suniv and
Lichee Pi Nano it is a board based
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 sorry for the delay. I saw
your v2, and will review that ASAP, so that we get one step closer. Please
On 1/28/22 21:25, Andre Przywara wrote:
On Wed, 26 Jan 2022 08:53:28 -0500
Jesse Taube wrote:
From: Icenowy Zheng
Add device tree files for suniv and
Lichee Pi Nano it is a board based on F1C100s.
As mentioned in the other email, please do a 1:1 copy from the current
Linux tree. Yes
On 1/28/22 21:05, Andre Przywara wrote:
On Wed, 26 Jan 2022 08:53:20 -0500
Jesse Taube wrote:
From: Icenowy Zheng
Some Allwinner SoCs use ARM926EJ-S core.
Add Allwinner/sunXi specific code to ARM926EJ-S CPU dircetory.
It looks like we eventually won't need this, since the SPL linker
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
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
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
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
On 1/20/22 13:12, Chris Morgan wrote:
On Sat, Jan 15, 2022 at 04:02:05PM -0500, Jesse Taube wrote:
On 1/10/22 00:13, Tnze Jdao wrote:
I tested this patch and tried to run it on my LicheePi Nano. It works, but I
found there is WARNINGs when compile the code:
---
include/configs/sunxi
On 1/20/22 21:25, Andre Przywara wrote:
On Tue, 4 Jan 2022 19:34:59 -0500
Jesse Taube wrote:
Hi,
From: Icenowy Zheng
Some Allwinner SoCs use ARM926EJ-S core.
Add Allwinner/sunXi specific code to ARM926EJ-S CPU dircetory.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
On 1/20/22 20:59, Andre Przywara wrote:
On Tue, 4 Jan 2022 19:35:07 -0500
Jesse Taube wrote:
Hi,
From: Icenowy Zheng
Add device tree files for suniv and
Lichee Pi Nano it is a board based on F1C100s.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
Those files differ
From: Icenowy Zheng
This commit introduces suniv dt-bindings headers
needed for device tree files.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Sync with Linux
---
include/dt-bindings/reset/suniv-ccu.h | 37 +++
1 file changed, 37 inserti
From: Icenowy Zheng
Some Allwinner SoCs use ARM926EJ-S core.
Add Allwinner/sunXi specific code to ARM926EJ-S CPU dircetory.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Fix Copyright notice
* Remove lowlevel_init
* Remove replaced timer.c
* Remove Read CP15 Cont
From: Icenowy Zheng
This commit introduces suniv dt-bindings headers needed for
device tree files.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Sync with Linux
---
include/dt-bindings/clock/suniv-ccu.h | 69 +++
1 file changed, 69 inserti
Both armv7 and arm926ejs use this timer code so move it to mach-sunxi.
Signed-off-by: Jesse Taube
---
V1->V2:
* New commit
---
arch/arm/mach-sunxi/Makefile | 3 +++
arch/arm/{cpu/armv7/sunxi => mach-sunxi}/timer.c | 7 ---
2 files changed, 7 insertions(+), 3 del
From: Icenowy Zheng
The ARMv7 start code has support for saving some boot params at the
entry point, which is used by some SoCs to return to BROM.
Port this to ARM926EJ-S start code.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
Reviewed-by: Andre Przywara
---
V1->V2:
* Noth
for SUNIV
configs: sunxi: Add common SUNIV header
mach-sunxi: Add support for SUNIV architecture
ARM: dts: suniv: Add device tree files for F1C100s
configs: sunxi: Add support for Lichee Pi Nano
Jesse Taube (1):
mach-sunxi: Move timer code to mach folder
arch/arm/cpu/arm926ej
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 sorry for the delay. I saw
your v2, and will review that ASAP, so that we get one step closer. Please
don't send a v3 before that.
If you
From: Icenowy Zheng
Adds support for SUNIV and the F1C100s.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Combine ifdefs
* Fix indentation
* Fix negative logic
* Fix rebase artifacts
* Remove CONFIG_SYS_LOAD_ADDR
* Remove CONFIG_ENV_SECT_SIZE
---
include/conf
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_i
From: Icenowy Zheng
Add support for F1C100s internal dram controller.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Nothing done
---
arch/arm/include/asm/arch-sunxi/dram.h | 2 +
arch/arm/include/asm/arch-sunxi/dram_suniv.h | 46 ++
arch/arm/mach-su
From: Icenowy Zheng
This patch aims to add header files for the suniv.
The header files included add support for uart, and clocks.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Change commit description and topic
* Change PLL6_CFG_DEFAULT
* Combine APB1_GATE ifd
From: Icenowy Zheng
Generic Timer Extension is not available on SUNIV.
Signed-off-by: Icenowy Zheng
Reviewed-by: Andre Przywara
Signed-off-by: Jesse Taube
---
V1->V2:
* Nothing done
---
board/sunxi/board.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/su
On 1/26/22 09:13, Andre Przywara wrote:
On Tue, 4 Jan 2022 19:35:08 -0500
Jesse Taube wrote:
Hi,
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
---
configs
On 1/26/22 08:53, Jesse Taube wrote:
From: Icenowy Zheng
Adds support for SUNIV and the F1C100s.
Signed-off-by: Icenowy Zheng
Signed-off-by: Jesse Taube
---
V1->V2:
* Combine ifdefs
* Fix indentation
* Fix negative logic
* Fix rebase artifacts
* Remove CONFIG_SYS_LOAD_ADDR
* Rem
1 - 100 of 154 matches
Mail list logo