From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target/jffs2
Date: Sat, 14 Jul 2007 00:26:45 -0700 (PDT) [thread overview]
Message-ID: <20070714072645.676D8A5E15@busybox.net> (raw)
Author: ulf
Date: 2007-07-14 00:26:41 -0700 (Sat, 14 Jul 2007)
New Revision: 19085
Log:
Correct JFFS2 Erase Size for AT45 dataflash
Modified:
trunk/buildroot/target/jffs2/Config.in
Changeset:
Modified: trunk/buildroot/target/jffs2/Config.in
===================================================================
--- trunk/buildroot/target/jffs2/Config.in 2007-07-14 00:48:29 UTC (rev 19084)
+++ trunk/buildroot/target/jffs2/Config.in 2007-07-14 07:26:41 UTC (rev 19085)
@@ -6,33 +6,56 @@
help
Build a jffs2 root filesystem
-config BR2_TARGET_ROOTFS_JFFS2_DEFAULT_PAGESIZE
- bool "Use default 4 kB pagesize"
+
+choice
+ prompt "Memory Type"
+ default BR2_TARGET_ROOTFS_JFFS2_FLASH
depends on BR2_TARGET_ROOTFS_JFFS2
- default y
+config BR2_TARGET_ROOTFS_JFFS2_FLASH
+ bool "Parallel flash with 4 kB pagesize"
+ depends on BR2_TARGET_ROOTFS_JFFS2
+
+config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH
+ bool "AT45 dataflash with 1056 byte pagesize"
+ depends on BR2_TARGET_ROOTFS_JFFS2
+ select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
+
+endchoice
+
+
config BR2_TARGET_ROOTFS_JFFS2_PAGESIZE
- hex "Page Size (0x0 = Use default 4 kB)"
- depends on BR2_TARGET_ROOTFS_JFFS2
- depends on !BR2_TARGET_ROOTFS_JFFS2_DEFAULT_PAGESIZE
+ hex "Page Size"
+ depends on BR2_TARGET_ROOTFS_JFFS2_FLASH
+ default 0x1000
+ help
+ Set to pagesize of memory (Dataflash is 0x210 or 0x420)
+
+config BR2_TARGET_ROOTFS_JFFS2_PAGESIZE
+ hex "Page Size"
+ depends on BR2_TARGET_ROOTFS_JFFS2_DATAFLASH
default 0x420
help
Set to pagesize of memory (Dataflash is 0x210 or 0x420)
+config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
+ hex "Erase block size"
+ depends on BR2_TARGET_ROOTFS_JFFS2_FLASH
+ default 0x20000
+
+config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
+ hex "Erase block size"
+ depends on BR2_TARGET_ROOTFS_JFFS2_DATAFLASH
+ default 0x2100
+
config BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
bool "Do not use Cleanmarker"
depends on BR2_TARGET_ROOTFS_JFFS2
- depends on !BR2_TARGET_ROOTFS_JFFS2_DEFAULT_PAGESIZE
- default y
+ default n
help
Do not use cleanmarkers if using NAND flash or Dataflash where
the pagesize is not a power of 2
-config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
- hex "Erase block size"
- 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
next reply other threads:[~2007-07-14 7:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-14 7:26 ulf 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-03-26 10:31 aldot 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=20070714072645.676D8A5E15@busybox.net \
--to=ulf@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