From: franck.jullien@gmail.com
To: barebox@lists.infradead.org
Subject: [Nios2]: Change generic board flash partitions
Date: Sun, 15 May 2011 23:13:29 +0200 [thread overview]
Message-ID: <1305494009-3939-1-git-send-email-franck.jullien@gmail.com> (raw)
From: Franck JULLIEN <franck.jullien@gmail.com>
Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com>
---
arch/nios2/boards/generic/env/config | 2 +-
arch/nios2/boards/generic/generic.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/nios2/boards/generic/env/config b/arch/nios2/boards/generic/env/config
index df7d09e..18500ed 100644
--- a/arch/nios2/boards/generic/env/config
+++ b/arch/nios2/boards/generic/env/config
@@ -9,7 +9,7 @@ ip=none
autoboot_timeout=3
-nor_parts="256k(barebox),128k(env),4M(kernel),-(rootfs)"
+nor_parts="128k(env),768k(fpga),256k(barebox),-(kernel)"
# set a fancy prompt (if support is compiled in)
PS1="\e[1;33mbarebox@\e[1;32mgeneric:\w\e[0m "
diff --git a/arch/nios2/boards/generic/generic.c b/arch/nios2/boards/generic/generic.c
index 7e939ce..8d2cc72 100644
--- a/arch/nios2/boards/generic/generic.c
+++ b/arch/nios2/boards/generic/generic.c
@@ -55,8 +55,8 @@ static int comBoard_devices_init(void)
register_device(&mac_dev);
/*register_device(&epcs_flash_device);*/
- devfs_add_partition("nor0", 0x00000, 0x40000, PARTITION_FIXED, "self0");
- devfs_add_partition("nor0", 0x40000, 0x20000, PARTITION_FIXED, "env0");
+ devfs_add_partition("nor0", 0xe0000, 0x40000, PARTITION_FIXED, "self0");
+ devfs_add_partition("nor0", 0x00000, 0x20000, PARTITION_FIXED, "env0");
protect_file("/dev/env0", 1);
--
1.7.0.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
reply other threads:[~2011-05-15 21:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1305494009-3939-1-git-send-email-franck.jullien@gmail.com \
--to=franck.jullien@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