mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* i.MX53 NAND xload support
@ 2016-07-04  9:27 Sascha Hauer
  2016-07-04  9:27 ` [PATCH 01/12] ARM: i.MX53: do not pass base address to imx*_boot_save_loc Sascha Hauer
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Sascha Hauer @ 2016-07-04  9:27 UTC (permalink / raw)
  To: Barebox List

This series adds NAND xload support for i.MX53 and more specifically
to the Garz+Fricke Vincell board. With this images bigger than the
SoC internal SRAM can be supported and the Vincell can now be enabled
in the imx_v7_defconfig. The existing vincell_defconfig unfortunately
is not obsolete though, since we still need a small image for loading
it with imx-usb-loader.
Also included some misc patches I came up with during working with the
Vincell board.

Sascha

----------------------------------------------------------------
Sascha Hauer (12):
      ARM: i.MX53: do not pass base address to imx*_boot_save_loc
      ARM: i.MX: Provide bootsource functions for early boot code
      ARM: i.MX53: Detect booting from USB
      mtd: imx-nand: Move v3 register definitions to include file
      ARM: i.MX53: Implement NAND xload
      ARM: i.MX53: Add uart5 clock support
      ARM: i.MX53 Vincell: Reset phy consistently from device tree
      ARM: i.MX53 Vincell: Adjust bbu handler partition size to real partition size
      ARM: i.MX53 Vincell: Add PBL console support
      ARM: i.MX53 Vincell: Add NAND xload support
      ARM: imx_v7_defconfig: Enable Vincell support
      ARM: vincell_defconfig: make smaller

 arch/arm/boards/guf-vincell/board.c       |  13 +-
 arch/arm/boards/guf-vincell/lowlevel.c    |  36 +++-
 arch/arm/configs/imx_v7_defconfig         |   4 +-
 arch/arm/configs/vincell_defconfig        |   4 +-
 arch/arm/dts/imx53-guf-vincell-lt.dts     |   1 +
 arch/arm/mach-imx/Kconfig                 |   9 +
 arch/arm/mach-imx/Makefile                |   2 +-
 arch/arm/mach-imx/boot.c                  | 106 +++++++---
 arch/arm/mach-imx/clk-imx5.c              |   1 +
 arch/arm/mach-imx/imx25.c                 |   2 +-
 arch/arm/mach-imx/imx27.c                 |   2 +-
 arch/arm/mach-imx/imx35.c                 |   2 +-
 arch/arm/mach-imx/imx51.c                 |   2 +-
 arch/arm/mach-imx/imx53.c                 |   2 +-
 arch/arm/mach-imx/imx6.c                  |   2 +-
 arch/arm/mach-imx/include/mach/generic.h  |  17 +-
 arch/arm/mach-imx/include/mach/imx-nand.h |  49 +++++
 arch/arm/mach-imx/include/mach/xload.h    |   1 +
 arch/arm/mach-imx/xload-imx-nand.c        | 308 ++++++++++++++++++++++++++++++
 drivers/mtd/nand/nand_imx.c               |  49 -----
 images/Makefile.imx                       |  14 +-
 21 files changed, 511 insertions(+), 115 deletions(-)
 create mode 100644 arch/arm/mach-imx/xload-imx-nand.c

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 01/12] ARM: i.MX53: Add uart5 clock support
@ 2016-09-14  9:12 Sascha Hauer
  2016-09-14  9:12 ` [PATCH 10/12] ARM: i.MX53 Vincell: Add NAND xload support Sascha Hauer
  0 siblings, 1 reply; 16+ messages in thread
From: Sascha Hauer @ 2016-09-14  9:12 UTC (permalink / raw)
  To: Barebox List

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/mach-imx/clk-imx5.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-imx/clk-imx5.c b/arch/arm/mach-imx/clk-imx5.c
index d3cde7e..c4c47a6 100644
--- a/arch/arm/mach-imx/clk-imx5.c
+++ b/arch/arm/mach-imx/clk-imx5.c
@@ -467,6 +467,7 @@ int __init mx53_clocks_init(struct device_d *dev, void __iomem *regs)
 	clkdev_add_physbase(clks[IMX5_CLK_UART_ROOT], MX53_UART2_BASE_ADDR, NULL);
 	clkdev_add_physbase(clks[IMX5_CLK_UART_ROOT], MX53_UART3_BASE_ADDR, NULL);
 	clkdev_add_physbase(clks[IMX5_CLK_UART_ROOT], MX53_UART4_BASE_ADDR, NULL);
+	clkdev_add_physbase(clks[IMX5_CLK_UART_ROOT], MX53_UART5_BASE_ADDR, NULL);
 	clkdev_add_physbase(clks[IMX5_CLK_PER_ROOT], MX53_I2C1_BASE_ADDR, NULL);
 	clkdev_add_physbase(clks[IMX5_CLK_PER_ROOT], MX53_I2C2_BASE_ADDR, NULL);
 	clkdev_add_physbase(clks[IMX5_CLK_PER_ROOT], MX53_I2C3_BASE_ADDR, NULL);
-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-09-14  9:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-04  9:27 i.MX53 NAND xload support Sascha Hauer
2016-07-04  9:27 ` [PATCH 01/12] ARM: i.MX53: do not pass base address to imx*_boot_save_loc Sascha Hauer
2016-07-04  9:27 ` [PATCH 02/12] ARM: i.MX: Provide bootsource functions for early boot code Sascha Hauer
2016-07-04  9:27 ` [PATCH 03/12] ARM: i.MX53: Detect booting from USB Sascha Hauer
2016-07-04  9:27 ` [PATCH 04/12] mtd: imx-nand: Move v3 register definitions to include file Sascha Hauer
2016-07-04  9:27 ` [PATCH 05/12] ARM: i.MX53: Implement NAND xload Sascha Hauer
2016-07-04  9:27 ` [PATCH 06/12] ARM: i.MX53: Add uart5 clock support Sascha Hauer
2016-07-04  9:27 ` [PATCH 07/12] ARM: i.MX53 Vincell: Reset phy consistently from device tree Sascha Hauer
2016-07-04  9:27 ` [PATCH 08/12] ARM: i.MX53 Vincell: Adjust bbu handler partition size to real partition size Sascha Hauer
2016-07-04  9:27 ` [PATCH 09/12] ARM: i.MX53 Vincell: Add PBL console support Sascha Hauer
2016-07-04  9:27 ` [PATCH 10/12] ARM: i.MX53 Vincell: Add NAND xload support Sascha Hauer
2016-07-04 12:58   ` Michael Grzeschik
2016-07-05  7:00     ` Sascha Hauer
2016-07-04  9:27 ` [PATCH 11/12] ARM: imx_v7_defconfig: Enable Vincell support Sascha Hauer
2016-07-04  9:27 ` [PATCH 12/12] ARM: vincell_defconfig: make smaller Sascha Hauer
2016-09-14  9:12 [PATCH 01/12] ARM: i.MX53: Add uart5 clock support Sascha Hauer
2016-09-14  9:12 ` [PATCH 10/12] ARM: i.MX53 Vincell: Add NAND xload support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox