mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v3 00/18] i.MX serial cleanup, bootstrap code fixes, boot via IRAM
@ 2015-05-06 19:31 Andrey Smirnov
  2015-05-06 19:31 ` [PATCH v3 01/18] i.MX: Move UART definitions into a separate file Andrey Smirnov
                   ` (18 more replies)
  0 siblings, 19 replies; 23+ messages in thread
From: Andrey Smirnov @ 2015-05-06 19:31 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

This patch set combines all previously sent patches together:

- Serial cleanups
- Bootstap code fixes/cleanup
- Boot via IRAM

I marked the whole thing as a version 3 since some of the included
patches in some of their incarnations had version 2 and I wanted to
decrease the amount of confusion I was creating :)

Andrey Smirnov (18):
  i.MX: Move UART definitions into a separate file
  i.MX: serial: Add constants for UART clock divisor
  i.MX: serial: Add baud rate calculation convenience functions
  i.MX: serial: Add UART init functions for DEBUG_LL
  i.MX: serial: Convert PUTC_LL to use IOMEM
  i.MX: serial: Convert i.MX51 and i.MX6 to use 'imx*_uart_setup_ll'
  i.MX51: babbage: Implement CONFIG_DEBUG_LL
  i.MX: serial: Distil common clock ungating code
  Makefile.lib: Make 'check_file_size' more flexible
  i.MX: Add provisions to boot from IRAM
  imx-image: Correctly fill image size in prepended header
  bootstrap: Fix potential memory leak in 'read_image_head'
  bootstrap_read_devfs(): Check for errors from devfs_add_partition()
  bootstrap_read_devfs(): Close file after we are done with it
  bootstrap_read_devfs(): Fix potential memory leak
  bootstrap_read_devfs(): Check for errors from dev_add_bb_dev()
  bootstrap_read_devfs(): Remove all partitions upon function completion
  bootstrap: Warn if image size in BB header is zero

 Documentation/boards/imx.rst                       |  27 +++++
 Makefile                                           |   2 +-
 arch/arm/boards/eltec-hipercam/lowlevel.c          |  18 +--
 arch/arm/boards/embest-riotboard/lowlevel.c        |  16 +--
 arch/arm/boards/freescale-mx51-babbage/Makefile    |   3 +
 arch/arm/boards/freescale-mx51-babbage/board.c     |  60 ++++++++++
 .../flash-header-common.imxcfg                     |  58 ++++++++++
 .../flash-header-imx51-babbage-xload.imxcfg        |   3 +
 .../flash-header-imx51-babbage.imxcfg              |  60 +---------
 arch/arm/boards/freescale-mx51-babbage/lowlevel.c  |  67 +++++++++++
 .../arm/boards/freescale-mx6sx-sabresdb/lowlevel.c |  20 +---
 arch/arm/boards/guf-santaro/lowlevel.c             |  18 +--
 arch/arm/boards/karo-tx6x/lowlevel.c               |  21 +---
 arch/arm/boards/phytec-phycard-imx6/lowlevel.c     |  21 +---
 arch/arm/boards/phytec-phyflex-imx6/lowlevel.c     |  21 +---
 arch/arm/boards/tqma6x/lowlevel.c                  |  18 +--
 arch/arm/boards/variscite-mx6/lowlevel.c           |  21 +---
 arch/arm/configs/imx_v7-xload_defconfig            |  52 +++++++++
 arch/arm/mach-imx/Kconfig                          |  15 +++
 arch/arm/mach-imx/Makefile                         |   1 +
 arch/arm/mach-imx/include/mach/clock-imx51_53.h    |   5 +-
 arch/arm/mach-imx/include/mach/debug_ll.h          |  85 ++++++++++++--
 arch/arm/mach-imx/xload.c                          |  52 +++++++++
 arch/arm/pbl/Makefile                              |   2 +-
 arch/mips/pbl/Makefile                             |   2 +-
 drivers/serial/serial_imx.c                        | 112 +-----------------
 images/Makefile.imx                                |  20 +++-
 include/serial/imx-uart.h                          | 128 +++++++++++++++++++++
 lib/bootstrap/devfs.c                              |  59 ++++++++--
 scripts/Makefile.lib                               |   6 +-
 scripts/imx/Makefile                               |   2 +
 scripts/imx/imx-image.c                            |  11 +-
 32 files changed, 658 insertions(+), 348 deletions(-)
 create mode 100644 arch/arm/boards/freescale-mx51-babbage/flash-header-common.imxcfg
 create mode 100644 arch/arm/boards/freescale-mx51-babbage/flash-header-imx51-babbage-xload.imxcfg
 create mode 100644 arch/arm/configs/imx_v7-xload_defconfig
 create mode 100644 arch/arm/mach-imx/xload.c
 create mode 100644 include/serial/imx-uart.h

-- 
2.1.4


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

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

end of thread, other threads:[~2015-05-07  7:57 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06 19:31 [PATCH v3 00/18] i.MX serial cleanup, bootstrap code fixes, boot via IRAM Andrey Smirnov
2015-05-06 19:31 ` [PATCH v3 01/18] i.MX: Move UART definitions into a separate file Andrey Smirnov
2015-05-06 19:31 ` [PATCH v3 02/18] i.MX: serial: Add constants for UART clock divisor Andrey Smirnov
2015-05-06 19:31 ` [PATCH v3 03/18] i.MX: serial: Add baud rate calculation convenience functions Andrey Smirnov
2015-05-06 19:31 ` [PATCH v3 04/18] i.MX: serial: Add UART init functions for DEBUG_LL Andrey Smirnov
2015-05-07  7:52   ` Sascha Hauer
2015-05-06 19:32 ` [PATCH v3 05/18] i.MX: serial: Convert PUTC_LL to use IOMEM Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 06/18] i.MX: serial: Convert i.MX51 and i.MX6 to use 'imx*_uart_setup_ll' Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 07/18] i.MX51: babbage: Implement CONFIG_DEBUG_LL Andrey Smirnov
2015-05-07  7:57   ` Sascha Hauer
2015-05-06 19:32 ` [PATCH v3 08/18] i.MX: serial: Distil common clock ungating code Andrey Smirnov
2015-05-07  7:56   ` Sascha Hauer
2015-05-06 19:32 ` [PATCH v3 09/18] Makefile.lib: Make 'check_file_size' more flexible Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 10/18] i.MX: Add provisions to boot from IRAM Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 11/18] imx-image: Correctly fill image size in prepended header Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 12/18] bootstrap: Fix potential memory leak in 'read_image_head' Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 13/18] bootstrap_read_devfs(): Check for errors from devfs_add_partition() Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 14/18] bootstrap_read_devfs(): Close file after we are done with it Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 15/18] bootstrap_read_devfs(): Fix potential memory leak Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 16/18] bootstrap_read_devfs(): Check for errors from dev_add_bb_dev() Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 17/18] bootstrap_read_devfs(): Remove all partitions upon function completion Andrey Smirnov
2015-05-06 19:32 ` [PATCH v3 18/18] bootstrap: Warn if image size in BB header is zero Andrey Smirnov
2015-05-07  7:51 ` [PATCH v3 00/18] i.MX serial cleanup, bootstrap code fixes, boot via IRAM Sascha Hauer

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