* [PATCH v3 0/2] Initial LS1021-IOT board support
@ 2023-03-13 14:43 Renaud Barbier
2023-03-14 13:51 ` Sascha Hauer
0 siblings, 1 reply; 3+ messages in thread
From: Renaud Barbier @ 2023-03-13 14:43 UTC (permalink / raw)
To: Barebox List
After the acceptance of the architected timer, the LS1021A support is sent
again as two patches.
The LS1021A-IOT is NXP ARMv7 Layerscape evaluation board.
These patches provide a basic board support with:
- DDR3
- UART
- boot from SPI
The code is ported from NXP U-boot 2021-04.
Renaud Barbier (2):
ARM: add LS1021A to Layerscape machine support
ARM: Layerscape: Add LS1021A IOT board support
arch/arm/boards/Makefile | 1 +
arch/arm/boards/ls1021aiot/Makefile | 3 +
arch/arm/boards/ls1021aiot/board.c | 47 +++
arch/arm/boards/ls1021aiot/lowlevel.c | 120 ++++++
arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg | 11 +
.../boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg | 8 +
arch/arm/boards/ls1021aiot/start.S | 11 +
arch/arm/boards/ls1046ardb/lowlevel.c | 2 +-
arch/arm/boards/tqmls1046a/board.c | 2 +-
arch/arm/boards/tqmls1046a/lowlevel.c | 2 +-
arch/arm/configs/layerscape_v7_defconfig | 94 +++++
arch/arm/dts/Makefile | 1 +
arch/arm/dts/fsl-ls1021a-iot.dts | 77 ++++
arch/arm/mach-layerscape/Kconfig | 14 +
arch/arm/mach-layerscape/Makefile | 9 +-
arch/arm/mach-layerscape/boot.c | 11 +-
arch/arm/mach-layerscape/errata.c | 76 +++-
.../mach-layerscape/include/mach/debug_ll.h | 5 +-
.../arm/mach-layerscape/include/mach/errata.h | 2 +
.../mach-layerscape/include/mach/fsl_epu.h | 67 +++
.../mach-layerscape/include/mach/layerscape.h | 7 +-
.../mach-layerscape/include/mach/lowlevel.h | 1 +
arch/arm/mach-layerscape/include/mach/xload.h | 4 +
arch/arm/mach-layerscape/lowlevel-ls102xa.c | 389 ++++++++++++++++++
arch/arm/mach-layerscape/ls102xa_stream_id.c | 55 +++
arch/arm/mach-layerscape/restart.c | 30 ++
arch/arm/mach-layerscape/xload-qspi.c | 43 +-
arch/arm/mach-layerscape/xload.c | 20 +-
images/Makefile.layerscape | 9 +
include/soc/fsl/immap_lsch2.h | 171 +++++++-
30 files changed, 1255 insertions(+), 37 deletions(-)
create mode 100644 arch/arm/boards/ls1021aiot/Makefile
create mode 100644 arch/arm/boards/ls1021aiot/board.c
create mode 100644 arch/arm/boards/ls1021aiot/lowlevel.c
create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg
create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg
create mode 100644 arch/arm/boards/ls1021aiot/start.S
create mode 100644 arch/arm/configs/layerscape_v7_defconfig
create mode 100644 arch/arm/dts/fsl-ls1021a-iot.dts
create mode 100644 arch/arm/mach-layerscape/include/mach/fsl_epu.h
create mode 100644 arch/arm/mach-layerscape/lowlevel-ls102xa.c
create mode 100644 arch/arm/mach-layerscape/ls102xa_stream_id.c
create mode 100644 arch/arm/mach-layerscape/restart.c
--
2.27.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3 0/2] Initial LS1021-IOT board support
2023-03-13 14:43 [PATCH v3 0/2] Initial LS1021-IOT board support Renaud Barbier
@ 2023-03-14 13:51 ` Sascha Hauer
2023-03-14 17:37 ` Renaud Barbier
0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2023-03-14 13:51 UTC (permalink / raw)
To: Renaud Barbier; +Cc: Barebox List
Hi Renaud,
On Mon, Mar 13, 2023 at 02:43:26PM +0000, Renaud Barbier wrote:
> After the acceptance of the architected timer, the LS1021A support is sent
> again as two patches.
>
> The LS1021A-IOT is NXP ARMv7 Layerscape evaluation board.
>
> These patches provide a basic board support with:
> - DDR3
> - UART
> - boot from SPI
>
> The code is ported from NXP U-boot 2021-04.
>
> Renaud Barbier (2):
> ARM: add LS1021A to Layerscape machine support
> ARM: Layerscape: Add LS1021A IOT board support
Applied with some changes. First I rebased on current -next which means
renaming arch/arm/mach-layerscape/include/mach/ to
include/mach/layerscape/. Then setting CONFIG_ARCH_TEXT_BASE shouldn't
be needed. Also I renamed back some layerscape_ prefixes to ls1046a_ and
ls1021a_. Please check the result in current -next.
Sascha
>
> arch/arm/boards/Makefile | 1 +
> arch/arm/boards/ls1021aiot/Makefile | 3 +
> arch/arm/boards/ls1021aiot/board.c | 47 +++
> arch/arm/boards/ls1021aiot/lowlevel.c | 120 ++++++
> arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg | 11 +
> .../boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg | 8 +
> arch/arm/boards/ls1021aiot/start.S | 11 +
> arch/arm/boards/ls1046ardb/lowlevel.c | 2 +-
> arch/arm/boards/tqmls1046a/board.c | 2 +-
> arch/arm/boards/tqmls1046a/lowlevel.c | 2 +-
> arch/arm/configs/layerscape_v7_defconfig | 94 +++++
> arch/arm/dts/Makefile | 1 +
> arch/arm/dts/fsl-ls1021a-iot.dts | 77 ++++
> arch/arm/mach-layerscape/Kconfig | 14 +
> arch/arm/mach-layerscape/Makefile | 9 +-
> arch/arm/mach-layerscape/boot.c | 11 +-
> arch/arm/mach-layerscape/errata.c | 76 +++-
> .../mach-layerscape/include/mach/debug_ll.h | 5 +-
> .../arm/mach-layerscape/include/mach/errata.h | 2 +
> .../mach-layerscape/include/mach/fsl_epu.h | 67 +++
> .../mach-layerscape/include/mach/layerscape.h | 7 +-
> .../mach-layerscape/include/mach/lowlevel.h | 1 +
> arch/arm/mach-layerscape/include/mach/xload.h | 4 +
> arch/arm/mach-layerscape/lowlevel-ls102xa.c | 389 ++++++++++++++++++
> arch/arm/mach-layerscape/ls102xa_stream_id.c | 55 +++
> arch/arm/mach-layerscape/restart.c | 30 ++
> arch/arm/mach-layerscape/xload-qspi.c | 43 +-
> arch/arm/mach-layerscape/xload.c | 20 +-
> images/Makefile.layerscape | 9 +
> include/soc/fsl/immap_lsch2.h | 171 +++++++-
> 30 files changed, 1255 insertions(+), 37 deletions(-)
> create mode 100644 arch/arm/boards/ls1021aiot/Makefile
> create mode 100644 arch/arm/boards/ls1021aiot/board.c
> create mode 100644 arch/arm/boards/ls1021aiot/lowlevel.c
> create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_pbi.cfg
> create mode 100644 arch/arm/boards/ls1021aiot/ls102xa_rcw_sd_qspi.cfg
> create mode 100644 arch/arm/boards/ls1021aiot/start.S
> create mode 100644 arch/arm/configs/layerscape_v7_defconfig
> create mode 100644 arch/arm/dts/fsl-ls1021a-iot.dts
> create mode 100644 arch/arm/mach-layerscape/include/mach/fsl_epu.h
> create mode 100644 arch/arm/mach-layerscape/lowlevel-ls102xa.c
> create mode 100644 arch/arm/mach-layerscape/ls102xa_stream_id.c
> create mode 100644 arch/arm/mach-layerscape/restart.c
>
> --
> 2.27.0
>
>
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH v3 0/2] Initial LS1021-IOT board support
2023-03-14 13:51 ` Sascha Hauer
@ 2023-03-14 17:37 ` Renaud Barbier
0 siblings, 0 replies; 3+ messages in thread
From: Renaud Barbier @ 2023-03-14 17:37 UTC (permalink / raw)
To: Sascha Hauer; +Cc: Barebox List
>
> Applied with some changes. First I rebased on current -next which means
> renaming arch/arm/mach-layerscape/include/mach/ to
> include/mach/layerscape/. Then setting CONFIG_ARCH_TEXT_BASE
> shouldn't be needed. Also I renamed back some layerscape_ prefixes to
> ls1046a_ and ls1021a_. Please check the result in current -next.
>
> Sascha
>
All good. Thanks.
barebox 2023.02.0-00261-g96ec914c95a7 #1 Tue Mar 14 17:32:18 GMT 2023
Board: LS1021A-IOT Board
m25p80 flash@00: s25fl512s (65536 Kbytes)
malloc space: 0x9defd4e0 -> 0xbbdfa9bf (size 479 MiB)
Hit m for menu or any to stop autoboot: 3
barebox@LS1021A-IOT Board:/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-14 17:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-13 14:43 [PATCH v3 0/2] Initial LS1021-IOT board support Renaud Barbier
2023-03-14 13:51 ` Sascha Hauer
2023-03-14 17:37 ` Renaud Barbier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox