public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/5] nand: sunxi: Add SPL support for booting from NAND.
@ 2015-04-29 15:02 Daniel Kochmański
  2015-04-29 15:02 ` [U-Boot] [PATCH 1/5] nand: sunxi: change BLOCK_SIZE in mksunxiboot to match NAND block size Daniel Kochmański
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Daniel Kochmański @ 2015-04-29 15:02 UTC (permalink / raw)
  To: u-boot

This patchset adds minimal SPL driver for reading from A20 nand
partitions utilizing DMA controller.  It supports randomization and
syndrome partitions.

Since BROM reads second syndrome partition, if first SPL checksum
doesn't match, additional U-Boot offset may be provided to load backup
U-boot from second block of second page.

To simplify loading many files (devicetree, kernel, sourcable boot
script) additional parameter is added, which allows preloading
multiboot image into memory directly from SPL.

Additionally conveniance function a20_nandread has been added, which
utilizes SPL driver on normal U-Boot.

Best regards,
Daniel Kochma?ski

Daniel Kochma?ski (5):
  nand: sunxi: change BLOCK_SIZE in mksunxiboot to match NAND block size
  nand: sunxi: Add support for booting from internal NAND memory
  nand: sunxi: Add secondary U-Boot offset on second syndrome partition
  nand: sunxi: Add multiimage preload option
  nand: sunxi: And a20_nandread command utilizing spl nand read driver

 README                           |  10 ++
 arch/arm/cpu/armv7/sunxi/board.c |  12 ++-
 board/sunxi/Kconfig              |  12 +++
 board/sunxi/Makefile             |   1 +
 board/sunxi/nand.c               | 219 +++++++++++++++++++++++++++++++++++++++
 common/Kconfig                   |   7 ++
 common/Makefile                  |   1 +
 common/cmd_a20_nandread.c        |  27 +++++
 common/spl/spl_nand.c            |  51 +++++++--
 include/configs/sunxi-common.h   |  12 +++
 tools/mksunxiboot.c              |   2 +-
 11 files changed, 344 insertions(+), 10 deletions(-)
 create mode 100644 board/sunxi/nand.c
 create mode 100644 common/cmd_a20_nandread.c

-- 
2.3.6

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

end of thread, other threads:[~2015-05-18 23:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 15:02 [U-Boot] [PATCH 0/5] nand: sunxi: Add SPL support for booting from NAND Daniel Kochmański
2015-04-29 15:02 ` [U-Boot] [PATCH 1/5] nand: sunxi: change BLOCK_SIZE in mksunxiboot to match NAND block size Daniel Kochmański
2015-05-02 14:08   ` Ian Campbell
2015-05-05  9:02     ` Daniel Kochmański
2015-05-09 13:51       ` Ian Campbell
2015-04-29 15:02 ` [U-Boot] [PATCH 2/5] nand: sunxi: Add support for booting from internal NAND memory Daniel Kochmański
2015-05-02 14:21   ` Ian Campbell
2015-05-05  9:14     ` Daniel Kochmański
2015-05-05  9:19     ` Daniel Kochmański
2015-05-09 13:53       ` Ian Campbell
2015-05-09 14:33         ` Hans de Goede
2015-05-18 23:47   ` Scott Wood
2015-04-29 15:02 ` [U-Boot] [PATCH 3/5] nand: sunxi: Add secondary U-Boot offset on second syndrome partition Daniel Kochmański
2015-05-02 14:24   ` Ian Campbell
2015-05-05 14:21   ` Tim Harvey
2015-05-05 14:34     ` Daniel Kochmański
2015-05-18 23:10   ` Scott Wood
2015-04-29 15:03 ` [U-Boot] [PATCH 4/5] nand: sunxi: Add multiimage preload option Daniel Kochmański
2015-05-02 14:24   ` Ian Campbell
2015-05-18 23:43   ` Scott Wood
2015-04-29 15:03 ` [U-Boot] [PATCH 5/5] nand: sunxi: And a20_nandread command utilizing spl nand read driver Daniel Kochmański
2015-05-02 14:26   ` Ian Campbell
2015-05-04 14:20     ` Hans de Goede
2015-05-05  9:17       ` Daniel Kochmański
2015-05-05  9:45         ` Hans de Goede
2015-05-18 23:52   ` Scott Wood

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