mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] ARM: i.MX: pcm043: add a flash-header.imxcfg
Date: Fri, 29 Jul 2016 20:17:56 +0200	[thread overview]
Message-ID: <1469816276-27908-1-git-send-email-u.kleine-koenig@pengutronix.de> (raw)

This creates an image that can be booted via USB.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 arch/arm/Makefile                                  |  1 +
 .../phytec-phycore-imx35/flash-header.imxcfg       | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 9fc3cd3debaa..768c50379ffd 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -252,6 +252,7 @@ imxcfg-$(CONFIG_MACH_FREESCALE_MX35_3STACK) += $(boarddir)/freescale-mx35-3ds/fl
 imxcfg-$(CONFIG_MACH_TQMA53) += $(boarddir)/tqma53/flash-header.imxcfg
 imxcfg-$(CONFIG_MACH_EUKREA_CPUIMX25) += $(boarddir)/eukrea_cpuimx25/flash-header.imxcfg
 imxcfg-$(CONFIG_MACH_EUKREA_CPUIMX35) += $(boarddir)/eukrea_cpuimx35/flash-header.imxcfg
+imxcfg-$(CONFIG_MACH_PCM043) += $(boarddir)/phytec-phycore-imx35/flash-header.imxcfg
 imxcfg-$(CONFIG_MACH_KINDLE3) += $(boarddir)/kindle3/flash-header.imxcfg
 imxcfg-$(CONFIG_TX53_REV_1011) += $(boarddir)/karo-tx53/flash-header-tx53-rev1011.imxcfg
 imxcfg-$(CONFIG_TX53_REV_XX30) += $(boarddir)/karo-tx53/flash-header-tx53-revxx30.imxcfg
diff --git a/arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg b/arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg
new file mode 100644
index 000000000000..36b68cd7ee2d
--- /dev/null
+++ b/arch/arm/boards/phytec-phycore-imx35/flash-header.imxcfg
@@ -0,0 +1,37 @@
+soc imx35
+dcdofs 0x400
+loadaddr 0x80000000
+wm 32 0x53f80004 0x00821000
+wm 32 0x53f80004 0x00821000
+
+wm 32 0x43fac794 0x00000800
+wm 32 0x43fac798 0x00000800
+wm 32 0x43fac79c 0x00000800
+wm 32 0x43fac7a0 0x00000800
+wm 32 0x43fac7a4 0x00000800
+
+wm 32 0xb8001010 0x00000304
+wm 32 0xb8001004 0x0025541f
+wm 32 0xb8001000 0x92220000
+wm 32 0x80000400 0x12345678
+
+wm 32 0xb8001000 0xb8001000
+wm 8  0x84000000 0xda
+wm 8  0x86000000 0xda
+wm 8  0x82000400 0xda
+wm 8  0x80000333 0xda
+
+wm 32 0xb8001000 0x92220000
+wm 32 0x80000400 0x12345678
+
+wm 32 0xb8001000 0xa2220000
+wm 32 0x80000000 0x12344321
+wm 32 0x80000000 0x12344321
+wm 32 0xb8001000 0xb2220000
+wm 8  0x80000233 0xda
+wm 8  0x82000780 0xda
+wm 8  0x82000400 0xda
+wm 32 0xb8001000 0x82220080
+wm 32 0xb8001000 0x82228080
+wm 32 0xb8001008 0x00002000
+
-- 
2.8.1


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

             reply	other threads:[~2016-07-29 18:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 18:17 Uwe Kleine-König [this message]
2016-08-03  5:33 ` Sascha Hauer

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=1469816276-27908-1-git-send-email-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --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