All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/11] MX6: SPL NAND support
@ 2014-04-03  6:01 Tim Harvey
  2014-04-03  6:01 ` [U-Boot] [PATCH 01/11] SPL: NAND: remove CONFIG_SYS_NAND_PAGE_SIZE Tim Harvey
                   ` (10 more replies)
  0 siblings, 11 replies; 60+ messages in thread
From: Tim Harvey @ 2014-04-03  6:01 UTC (permalink / raw)
  To: u-boot

Here is a stab at adding SPL NAND support for i.MX6. I tried to take into
account comments from previous attempts by others but there is still some
work to be done and in particular I need some help with the issue of dealing
with IMX6Q vs IMX6DL iomux in a way where the current defines can be shared
by SPL as well as imximage.

Some of these can be split out of the series if needed but I wanted to post
them originally as a series to provide full context.

The resulting SPL+u-boot.img has been tested on 4 different Ventana baseboards
with a variety of CPU and DDR3 options.

Tim Harvey (11):
  SPL: NAND: remove CONFIG_SYS_NAND_PAGE_SIZE
  SPL: NAND: add support for mxs nand
  MX6: provide linker script for SPL
  MX6: add common SPL configuration
  MX6: add boot device support SPL
  MX6: add struct for sharing data between SPL and uboot
  MX6: use macro building for MX6Q/MX6DL iomux regs
  MX6: add mmdc configuration for MX6Q/MX6DL
  IMX: add additional function for pinmux using an array
  ventana: auto-configure for IMX6Q vs IMX6DL
  ventana: switch to SPL

 arch/arm/cpu/armv7/mx6/Makefile               |   1 +
 arch/arm/cpu/armv7/mx6/ddr.c                  | 542 ++++++++++++++++++++++++++
 arch/arm/cpu/armv7/mx6/soc.c                  |  56 +++
 arch/arm/cpu/armv7/mx6/u-boot-spl.lds         |  52 +++
 arch/arm/imx-common/iomux-v3.c                |  19 +-
 arch/arm/include/asm/arch-mx6/mx6-ddr.h       | 225 ++++++++++-
 arch/arm/include/asm/arch-mx6/mx6dl-ddr.h     |  82 ++--
 arch/arm/include/asm/arch-mx6/mx6q-ddr.h      |  82 ++--
 arch/arm/include/asm/arch-mx6/spl.h           |  26 ++
 arch/arm/include/asm/arch-mx6/sys_proto.h     |   5 +
 arch/arm/include/asm/imx-common/boot_mode.h   |  17 +
 arch/arm/include/asm/imx-common/iomux-v3.h    |   5 +-
 board/gateworks/gw_ventana/Makefile           |   2 +-
 board/gateworks/gw_ventana/README             |  91 +++--
 board/gateworks/gw_ventana/gw_ventana.c       | 502 +++++++++++++++---------
 board/gateworks/gw_ventana/gw_ventana.cfg     |  15 -
 board/gateworks/gw_ventana/gw_ventana_spl.c   | 394 +++++++++++++++++++
 board/gateworks/gw_ventana/gw_ventana_spl.cfg |  29 ++
 boards.cfg                                    |   6 +-
 common/spl/spl_nand.c                         |   2 +-
 drivers/mtd/Makefile                          |  11 +
 drivers/mtd/nand/Makefile                     |   9 +
 drivers/mtd/nand/mxs_nand_spl.c               |  46 +++
 include/config/uboot.release                  |   1 +
 include/configs/gw_ventana.h                  |  13 +-
 include/configs/imx6_spl.h                    |  64 +++
 spl/Makefile                                  |   1 +
 27 files changed, 1970 insertions(+), 328 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/mx6/ddr.c
 create mode 100644 arch/arm/cpu/armv7/mx6/u-boot-spl.lds
 create mode 100644 arch/arm/include/asm/arch-mx6/spl.h
 create mode 100644 board/gateworks/gw_ventana/gw_ventana_spl.c
 create mode 100644 board/gateworks/gw_ventana/gw_ventana_spl.cfg
 create mode 100644 drivers/mtd/nand/mxs_nand_spl.c
 create mode 100644 include/config/uboot.release
 create mode 100644 include/configs/imx6_spl.h

-- 
1.8.3.2

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

end of thread, other threads:[~2014-04-24  8:22 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-03  6:01 [U-Boot] [PATCH 00/11] MX6: SPL NAND support Tim Harvey
2014-04-03  6:01 ` [U-Boot] [PATCH 01/11] SPL: NAND: remove CONFIG_SYS_NAND_PAGE_SIZE Tim Harvey
2014-04-04  2:33   ` Masahiro Yamada
2014-04-09 14:55   ` Nikita Kiryanov
2014-04-14 11:38   ` Stefano Babic
2014-04-17 14:18     ` Tim Harvey
2014-04-18 22:23       ` Scott Wood
2014-04-03  6:01 ` [U-Boot] [PATCH 02/11] SPL: NAND: add support for mxs nand Tim Harvey
2014-04-14 11:38   ` Stefano Babic
2014-04-03  6:01 ` [U-Boot] [PATCH 03/11] MX6: provide linker script for SPL Tim Harvey
2014-04-09 14:55   ` Nikita Kiryanov
2014-04-14 12:02   ` Stefano Babic
2014-04-17  6:27     ` Tim Harvey
2014-04-18 21:10       ` Otavio Salvador
2014-04-03  6:01 ` [U-Boot] [PATCH 04/11] MX6: add common SPL configuration Tim Harvey
2014-04-09 14:55   ` Nikita Kiryanov
2014-04-09 15:32     ` Tim Harvey
2014-04-10 14:37       ` Nikita Kiryanov
2014-04-10 21:04         ` Scott Wood
2014-04-03  6:01 ` [U-Boot] [PATCH 05/11] MX6: add boot device support SPL Tim Harvey
2014-04-14 12:27   ` Stefano Babic
2014-04-17  6:16     ` Tim Harvey
2014-04-17  8:59       ` Stefano Babic
2014-04-03  6:01 ` [U-Boot] [PATCH 06/11] MX6: add struct for sharing data between SPL and uboot Tim Harvey
2014-04-09 14:55   ` Nikita Kiryanov
2014-04-14 12:35   ` Stefano Babic
2014-04-17  6:07     ` Tim Harvey
2014-04-17  9:30       ` Stefano Babic
2014-04-17 11:22         ` Igor Grinberg
2014-04-17 11:44           ` Stefano Babic
2014-04-18  6:35             ` Tim Harvey
2014-04-20  7:52               ` Igor Grinberg
2014-04-21 18:28                 ` Tim Harvey
2014-04-22  7:44                   ` Igor Grinberg
2014-04-03  6:01 ` [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs Tim Harvey
2014-04-09 14:57   ` Nikita Kiryanov
2014-04-09 15:46     ` Tim Harvey
2014-04-10 14:08       ` Nikita Kiryanov
2014-04-10 14:51         ` Nikita Kiryanov
2014-04-11  5:23           ` Tim Harvey
2014-04-23 17:07         ` Stefano Babic
2014-04-23 19:00           ` Eric Nelson
2014-04-24  7:07             ` Igor Grinberg
2014-04-24  5:21           ` Tim Harvey
2014-04-23 15:30       ` Stefano Babic
2014-04-03  6:01 ` [U-Boot] [PATCH 08/11] MX6: add mmdc configuration for MX6Q/MX6DL Tim Harvey
2014-04-03  6:01 ` [U-Boot] [PATCH 09/11] IMX: add additional function for pinmux using an array Tim Harvey
2014-04-09 14:56   ` Nikita Kiryanov
2014-04-09 15:40     ` Tim Harvey
2014-04-10 14:41       ` Nikita Kiryanov
2014-04-23  5:03         ` Tim Harvey
2014-04-03  6:01 ` [U-Boot] [PATCH 10/11] ventana: auto-configure for IMX6Q vs IMX6DL Tim Harvey
2014-04-23 17:31   ` Stefano Babic
2014-04-24  5:04     ` Tim Harvey
2014-04-03  6:01 ` [U-Boot] [PATCH 11/11] ventana: switch to SPL Tim Harvey
2014-04-03 18:52   ` Tim Harvey
2014-04-23 18:03   ` Stefano Babic
2014-04-24  8:06     ` Tim Harvey
2014-04-24  8:18       ` Stefano Babic
2014-04-24  8:22       ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.