mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexey Galakhov <agalakhov@gmail.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: [Pull request] Minimal S5PV210 support
Date: Sat, 12 May 2012 22:23:02 +0600	[thread overview]
Message-ID: <4FAE8E66.4010701@gmail.com> (raw)

This is minimal working Samsung S5PV210 CPU support and very minimal
example Tiny210 board support. No working MMC or NAND drivers yet.

It is able to start from MMC using iROM, can blink LEDs and has working
command-line. It has working DRAM and clock initialization. Also there
is BL1 file cooker.

The checksummed image is named barebox.s5p and should be dd-ed from 1st
512-byte sector of an MMC card.

TODO: add S5P NAND driver, add MMC driver.
TODO: get rid of iROM booting.
TODO: support USB and DM9000 in Tiny210.

The following changes since commit c7c32736bcd428ef146fa49846defaeff0679fdb:

  i2c: Fix barebox crash when 'count' is not set for i2c_read command
(2012-05-11 20:12:19 +0200)

are available in the git repository at:

  git://github.com/agalakhov/barebox.git master

for you to fetch changes up to 1a50adbbea14a995e14301725b969680410a3f24:

  S5P boot header and image generator (2012-05-12 22:08:58 +0600)

----------------------------------------------------------------
Alexey Galakhov (9):
      Support most Samsung SoCs in S3C serial driver
      Fine split S3C arch dependencies from generic code
      Minimal S5PV210 + Tiny210 support (2nd stage only)
      S5PV210 iROM magic boot code
      S5P DRAM support
      S5P lowlevel clock init
      Revert "S5PV210 iROM magic boot code"
      S5P iROM boot support - improved
      S5P boot header and image generator

 .gitignore                                         |    2 +
 arch/arm/Kconfig                                   |    6 +
 arch/arm/Makefile                                  |    8 +
 arch/arm/boards/a9m2410/a9m2410.c                  |   10 +-
 arch/arm/boards/a9m2410/config.h                   |    2 +-
 arch/arm/boards/a9m2410/lowlevel_init.S            |    2 +-
 arch/arm/boards/a9m2440/a9m2410dev.c               |    2 +-
 arch/arm/boards/a9m2440/a9m2440.c                  |   10 +-
 arch/arm/boards/a9m2440/config.h                   |    2 +-
 arch/arm/boards/a9m2440/lowlevel_init.S            |    4 +-
 arch/arm/boards/mini2440/config.h                  |    2 +-
 arch/arm/boards/mini2440/lowlevel_init.S           |    2 +-
 arch/arm/boards/mini2440/mini2440.c                |   10 +-
 arch/arm/boards/tiny210/Makefile                   |    1 +
 arch/arm/boards/tiny210/config.h                   |   23 +
 arch/arm/boards/tiny210/lowlevel.c                 |   58 ++
 arch/arm/boards/tiny210/tiny210.c                  |  113 +++
 arch/arm/configs/a9m2410_defconfig                 |    2 +-
 arch/arm/configs/a9m2440_defconfig                 |    4 +-
 arch/arm/configs/mini2440_defconfig                |    2 +-
 arch/arm/mach-samsung/Kconfig                      |   63 +-
 arch/arm/mach-samsung/Makefile                     |    8 +-
 .../{s3c24xx-clocks.c => clocks-s3c24x0.c}         |   17 +
 arch/arm/mach-samsung/clocks-s5pcxx.c              |   98 +++
 arch/arm/mach-samsung/generic.c                    |  112 ---
 arch/arm/mach-samsung/gpio-s3c24x0.c               |    2 +-
 arch/arm/mach-samsung/gpio-s5pcxx.c                |  123 +++
 .../arm/mach-samsung/include/mach/clocks-s3c24x0.h |   24 +
 arch/arm/mach-samsung/include/mach/clocks-s5pcxx.h |   55 ++
 .../mach/{s3c24xx-gpio.h => gpio-s3c24x0.h}        |    6 +-
 arch/arm/mach-samsung/include/mach/gpio.h          |    3 +
 arch/arm/mach-samsung/include/mach/iomap-s3c24x0.h |   69 ++
 arch/arm/mach-samsung/include/mach/iomap-s5pcxx.h  |   52 ++
 arch/arm/mach-samsung/include/mach/iomux-s5pcxx.h  |  798
++++++++++++++++++++
 .../mach/{s3c24xx-nand.h => nand-s3c24x0.h}        |    4 +-
 arch/arm/mach-samsung/include/mach/s3c-clocks.h    |   25 +-
 arch/arm/mach-samsung/include/mach/s3c-generic.h   |   13 +-
 arch/arm/mach-samsung/include/mach/s3c-iomap.h     |   56 +-
 arch/arm/mach-samsung/include/mach/s5pcxx-irom.h   |   32 +
 .../{lowlevel-init.S => lowlevel-s3c24x0.S}        |   12 +-
 arch/arm/mach-samsung/lowlevel-s5pcxx.c            |   61 ++
 arch/arm/mach-samsung/mem-s3c24x0.c                |  143 ++++
 arch/arm/mach-samsung/mem-s5pcxx.c                 |  260 +++++++
 arch/arm/mach-samsung/s5p-irom-boot.c              |   59 ++
 drivers/mtd/nand/nand_s3c24xx.c                    |   16 +-
 drivers/serial/Kconfig                             |    2 +-
 drivers/serial/serial_s3c.c                        |   55 +-
 scripts/Makefile                                   |    1 +
 scripts/s5p_cksum.c                                |  140 ++++
 49 files changed, 2319 insertions(+), 255 deletions(-)
 create mode 100644 arch/arm/boards/tiny210/Makefile
 create mode 100644 arch/arm/boards/tiny210/config.h
 create mode 100644 arch/arm/boards/tiny210/lowlevel.c
 create mode 100644 arch/arm/boards/tiny210/tiny210.c
 rename arch/arm/mach-samsung/{s3c24xx-clocks.c => clocks-s3c24x0.c} (91%)
 create mode 100644 arch/arm/mach-samsung/clocks-s5pcxx.c
 create mode 100644 arch/arm/mach-samsung/gpio-s5pcxx.c
 create mode 100644 arch/arm/mach-samsung/include/mach/clocks-s3c24x0.h
 create mode 100644 arch/arm/mach-samsung/include/mach/clocks-s5pcxx.h
 rename arch/arm/mach-samsung/include/mach/{s3c24xx-gpio.h =>
gpio-s3c24x0.h} (96%)
 create mode 100644 arch/arm/mach-samsung/include/mach/iomap-s3c24x0.h
 create mode 100644 arch/arm/mach-samsung/include/mach/iomap-s5pcxx.h
 create mode 100644 arch/arm/mach-samsung/include/mach/iomux-s5pcxx.h
 rename arch/arm/mach-samsung/include/mach/{s3c24xx-nand.h =>
nand-s3c24x0.h} (95%)
 create mode 100644 arch/arm/mach-samsung/include/mach/s5pcxx-irom.h
 rename arch/arm/mach-samsung/{lowlevel-init.S => lowlevel-s3c24x0.S} (96%)
 create mode 100644 arch/arm/mach-samsung/lowlevel-s5pcxx.c
 create mode 100644 arch/arm/mach-samsung/mem-s3c24x0.c
 create mode 100644 arch/arm/mach-samsung/mem-s5pcxx.c
 create mode 100644 arch/arm/mach-samsung/s5p-irom-boot.c
 create mode 100644 scripts/s5p_cksum.c

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

             reply	other threads:[~2012-05-12 16:23 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 16:23 Alexey Galakhov [this message]
2012-05-13  9:09 ` Sascha Hauer
2012-05-13 12:39   ` [PATCH 0/9] " Alexey Galakhov
2012-05-13 12:39     ` [PATCH 1/9] Support most Samsung SoCs in S3C serial driver Alexey Galakhov
2012-05-13 12:39     ` [PATCH 2/9] Fine split S3C arch dependencies from generic code Alexey Galakhov
2012-05-14  8:03       ` Juergen Beisert
2012-05-14  8:54         ` Alexey Galakhov
2012-05-14  8:57           ` Sascha Hauer
2012-05-14  8:59             ` Alexey Galakhov
2012-05-14  9:00           ` Juergen Beisert
2012-05-14  9:30             ` Alexey Galakhov
2012-05-14  8:12       ` Sascha Hauer
2012-05-13 12:40     ` [PATCH 3/9] Minimal S5PV210 + Tiny210 support (2nd stage only) Alexey Galakhov
2012-05-14  8:13       ` Juergen Beisert
2012-05-14  8:57         ` Alexey Galakhov
2012-05-14  9:04           ` Juergen Beisert
     [not found]             ` <4FB0D058.3070206@gmail.com>
2012-05-14  9:57               ` Juergen Beisert
2012-05-14 11:07                 ` Alexey Galakhov
2012-05-14 13:07                   ` Juergen Beisert
2012-05-14 13:38                     ` Alexey Galakhov
2012-05-13 12:40     ` [PATCH 4/9] S5PV210 iROM magic boot code Alexey Galakhov
2012-05-14  7:51       ` Sascha Hauer
2012-05-14  8:55         ` Alexey Galakhov
2012-05-13 12:40     ` [PATCH 5/9] S5P DRAM support Alexey Galakhov
2012-05-13 12:40     ` [PATCH 6/9] S5P lowlevel clock init Alexey Galakhov
2012-05-13 12:40     ` [PATCH 7/9] Revert "S5PV210 iROM magic boot code" Alexey Galakhov
2012-05-13 12:40     ` [PATCH 8/9] S5P iROM boot support - improved Alexey Galakhov
2012-05-13 12:40     ` [PATCH 9/9] S5P boot header and image generator Alexey Galakhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FAE8E66.4010701@gmail.com \
    --to=agalakhov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox