All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v4 0/6] MX31: NAND boot for PDK boards.
@ 2009-06-13 18:49 Magnus Lilja
  2009-06-13 18:50 ` [U-Boot] [PATCH v4 1/6] ARM1136: Introduce CONFIG_PRELOADER macro Magnus Lilja
  2009-06-18 20:09 ` [U-Boot] [PATCH v4 0/6] MX31: NAND boot for PDK boards Magnus Lilja
  0 siblings, 2 replies; 35+ messages in thread
From: Magnus Lilja @ 2009-06-13 18:49 UTC (permalink / raw)
  To: u-boot

Hi all,

This is the latest set of patches that introduces NAND boot support
for the i.MX31 CPU in general and the PDK board especially.

The patches apply on u-boot/next. For u-boot-arm/next I get an error 
from StGit when applying the CONFIG_PRELOADER patch but that's because
the u-boot-arm/next is not update (as of this email). Don't know
if git resolves the problem (it's the file 
onenand_ipl/board/apollon/Makefile that causes the problem), however 
after fixing that manually the u-boot-arm/next also builds fine with
these patches.

This update takes of the comments received from Wolfgang Denk.

The code boots on i.MX31 PDK board using large page NAND, it should
work for small page NAND as well but that has not been tested.

Regards, Magnus Lilja

Jean-Christophe PLAGNIOL-VILLARD (1):
  ARM: Add macros.h to be used in assembler file.

Magnus Lilja (5):
  ARM1136: Introduce CONFIG_PRELOADER macro.
  MX31: Add NAND SPL for i.MX31.
  i.MX31: Create a common device file.
  MX31: Add basic support for Freescale i.MX31 PDK board.
  MX31: Add NAND SPL boot support to i.MX31 PDK board.

 MAINTAINERS                                 |    4 +
 MAKEALL                                     |    2 +
 Makefile                                    |   13 ++-
 README                                      |    5 +
 board/freescale/mx31pdk/Makefile            |   52 ++++++
 board/freescale/mx31pdk/config.mk           |    5 +
 board/freescale/mx31pdk/lowlevel_init.S     |  114 ++++++++++++
 board/freescale/mx31pdk/mx31pdk.c           |   63 +++++++
 cpu/arm1136/mx31/Makefile                   |    1 +
 cpu/arm1136/mx31/devices.c                  |   56 ++++++
 cpu/arm1136/start.S                         |   33 ++--
 include/asm-arm/arch-mx31/mx31-regs.h       |   61 +++++++
 include/asm-arm/arch-mx31/mx31.h            |    3 +
 include/asm-arm/macro.h                     |   74 ++++++++
 include/configs/mx31pdk.h                   |  177 ++++++++++++++++++
 include/fsl_nfc.h                           |  109 +++++++++++
 nand_spl/board/freescale/mx31pdk/Makefile   |   54 ++++++
 nand_spl/board/freescale/mx31pdk/config.mk  |    5 +
 nand_spl/board/freescale/mx31pdk/u-boot.lds |   36 ++++
 nand_spl/nand_boot_fsl_nfc.c                |  259 +++++++++++++++++++++++++++
 onenand_ipl/board/apollon/Makefile          |    4 +-
 21 files changed, 1113 insertions(+), 17 deletions(-)
 create mode 100644 board/freescale/mx31pdk/Makefile
 create mode 100644 board/freescale/mx31pdk/config.mk
 create mode 100644 board/freescale/mx31pdk/lowlevel_init.S
 create mode 100644 board/freescale/mx31pdk/mx31pdk.c
 create mode 100644 cpu/arm1136/mx31/devices.c
 create mode 100644 include/asm-arm/macro.h
 create mode 100644 include/configs/mx31pdk.h
 create mode 100644 include/fsl_nfc.h
 create mode 100644 nand_spl/board/freescale/mx31pdk/Makefile
 create mode 100644 nand_spl/board/freescale/mx31pdk/config.mk
 create mode 100644 nand_spl/board/freescale/mx31pdk/u-boot.lds
 create mode 100644 nand_spl/nand_boot_fsl_nfc.c

^ permalink raw reply	[flat|nested] 35+ messages in thread
* [U-Boot] [PATCH v4 0/6] MX31: NAND boot for PDK boards.
@ 2009-06-19  8:51 Ulrich Gerster
  2009-06-19  9:19 ` Magnus Lilja
  0 siblings, 1 reply; 35+ messages in thread
From: Ulrich Gerster @ 2009-06-19  8:51 UTC (permalink / raw)
  To: u-boot

Hi everybody
and especially developers of i.MX31 NAND boot patches,

I wrote an e-mail yesterday asking about the need of the mx31_nand.c file in drivers/mtd/nand/ folder. Since nobody answerd I tried to review the development of the latest patch "[PATCH v4 0/6] MX31: NAND boot for PDK boards." historically. It's probably a stupid question but for me as a u-boot newbe it would be very helpful.

I started in August 2008 where I found the first patch called "[PATCH RFC 0/5] Add NAND Support..." and later two patches with the same title and the prefix [PATCH v2 0/6] and [PATCH v3 0/6] from Magnus Lilja.
In October Mr. Assis posted a patch regarding to this topic aswell.
In December and January Maxim Artamonov postet a patches to introduce NAND SPL support.
In April then another series of patches from Magnus Lilja were posted with the title "[RFC 0/5] MX31: NAND boot for phyCORE and PDK boards." I think based on this in April version 2 and and in June now version 3 and 4 were posted by Magnus Lilja.

As I can see the latest patch includes all the necessary code from the previous patches. So no other patch has to be applied to boot u-boot from a NAND Flash on a board with the i.MX31 ?
But I had a very hard time doing this review and I'm not 100% sure if I'm correct
Would be very nice if someone could tell me if I'm right and if not tell me what I need more to boot from a NAND flash.

Thank you very mutch,
Ulrich Gerster

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

end of thread, other threads:[~2009-07-07 22:07 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-13 18:49 [U-Boot] [PATCH v4 0/6] MX31: NAND boot for PDK boards Magnus Lilja
2009-06-13 18:50 ` [U-Boot] [PATCH v4 1/6] ARM1136: Introduce CONFIG_PRELOADER macro Magnus Lilja
2009-06-13 18:50   ` [U-Boot] [PATCH v4 2/6] MX31: Add NAND SPL for i.MX31 Magnus Lilja
2009-06-13 18:50     ` [U-Boot] [PATCH v4 3/6] ARM: Add macros.h to be used in assembler file Magnus Lilja
2009-06-13 18:50       ` [U-Boot] [PATCH v4 4/6] i.MX31: Create a common device file Magnus Lilja
2009-06-13 18:50         ` [U-Boot] [PATCH v4 5/6] MX31: Add basic support for Freescale i.MX31 PDK board Magnus Lilja
2009-06-13 18:50           ` [U-Boot] [PATCH v4 6/6] MX31: Add NAND SPL boot support to " Magnus Lilja
2009-06-29 19:11             ` Magnus Lilja
2009-06-29 20:16               ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-29 20:39                 ` Magnus Lilja
2009-06-29 21:03             ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-30  6:00               ` Magnus Lilja
2009-06-30 19:09                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-30 19:29                   ` Magnus Lilja
2009-06-30 20:23                     ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-30 21:22                   ` Scott Wood
2009-07-01  5:48                     ` Magnus Lilja
2009-07-02 20:45                       ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-02 20:58                         ` Scott Wood
2009-06-20 12:53           ` [U-Boot] [PATCH v4 5/6] MX31: Add basic support for Freescale " Jean-Christophe PLAGNIOL-VILLARD
2009-06-28  9:56             ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-29 21:07           ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-20 12:50         ` [U-Boot] [PATCH v4 4/6] i.MX31: Create a common device file Jean-Christophe PLAGNIOL-VILLARD
2009-07-07 19:45           ` Wolfgang Denk
2009-06-20 12:49       ` [U-Boot] [PATCH v4 3/6] ARM: Add macros.h to be used in assembler file Jean-Christophe PLAGNIOL-VILLARD
2009-07-07 19:33       ` Wolfgang Denk
2009-07-07 20:24         ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-07 21:28           ` Wolfgang Denk
2009-07-07 22:07             ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-20 12:47     ` [U-Boot] [PATCH v4 2/6] MX31: Add NAND SPL for i.MX31 Jean-Christophe PLAGNIOL-VILLARD
2009-06-20 12:46   ` [U-Boot] [PATCH v4 1/6] ARM1136: Introduce CONFIG_PRELOADER macro Jean-Christophe PLAGNIOL-VILLARD
2009-06-18 20:09 ` [U-Boot] [PATCH v4 0/6] MX31: NAND boot for PDK boards Magnus Lilja
2009-06-18 20:41   ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-19  8:51 Ulrich Gerster
2009-06-19  9:19 ` Magnus Lilja

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.