Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target/jffs2
Date: Mon, 26 Mar 2007 03:31:57 -0700 (PDT)	[thread overview]
Message-ID: <20070326103157.BA1884800C@busybox.net> (raw)

Author: aldot
Date: 2007-03-26 03:31:56 -0700 (Mon, 26 Mar 2007)
New Revision: 18238

Log:
- add option to create a jffs2 filesystem in srec format. Thanks to Xride.


Modified:
   trunk/buildroot/target/jffs2/Config.in
   trunk/buildroot/target/jffs2/jffs2root.mk


Changeset:
Modified: trunk/buildroot/target/jffs2/Config.in
===================================================================
--- trunk/buildroot/target/jffs2/Config.in	2007-03-25 23:21:05 UTC (rev 18237)
+++ trunk/buildroot/target/jffs2/Config.in	2007-03-26 10:31:56 UTC (rev 18238)
@@ -32,6 +32,11 @@
 	depends on BR2_TARGET_ROOTFS_JFFS2
 	default 0x20000
 
+config BR2_JFFS2_TARGET_SREC
+	bool "RootFS in SREC file formet"
+	depends on BR2_TARGET_ROOTFS_JFFS2
+	default n
+
 config BR2_TARGET_ROOTFS_JFFS2_PAD
 	bool "Pad output"
 	depends on BR2_TARGET_ROOTFS_JFFS2

Modified: trunk/buildroot/target/jffs2/jffs2root.mk
===================================================================
--- trunk/buildroot/target/jffs2/jffs2root.mk	2007-03-25 23:21:05 UTC (rev 18237)
+++ trunk/buildroot/target/jffs2/jffs2root.mk	2007-03-26 10:31:56 UTC (rev 18238)
@@ -71,6 +71,10 @@
 	$(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
 	- at rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
 	@ls -l $(JFFS2_TARGET)
+ifeq ($(BR2_JFFS2_TARGET_SREC),y)
+	$(TARGET_CROSS)objcopy -I binary -O srec --adjust-vma 0xa1000000 $(JFFS2_TARGET) $(JFFS2_TARGET).srec
+	@ls -l $(JFFS2_TARGET).srec
+endif
 
 JFFS2_COPYTO := $(strip $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_COPYTO)))
 #"))

             reply	other threads:[~2007-03-26 10:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26 10:31 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-12  0:43 [Buildroot] svn commit: trunk/buildroot/target/jffs2 ulf at uclibc.org
2008-09-07 14:31 jacmet at uclibc.org
2008-02-12  5:50 hamish at uclibc.org
2007-10-17 22:01 ulf at uclibc.org
2007-07-14  7:26 ulf at uclibc.org
2007-01-27 23:11 aldot at uclibc.org
2007-01-24 23:18 aldot at uclibc.org
2006-08-22  8:03 jacmet at uclibc.org

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=20070326103157.BA1884800C@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /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