Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
b2c7743d
Commit
b2c7743d
authored
Sep 13, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: add hwinfo partition in dataflash
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
d27bbe97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
7 deletions
+30
-7
0011-sam9m10g45ek-for-wrs-final-partitions-for-V4.1.patch
...0011-sam9m10g45ek-for-wrs-final-partitions-for-V4.1.patch
+30
-7
No files found.
patches/kernel/v2.6.39/0011-sam9m10g45ek-for-wrs-final-partitions-for-V4.patch
→
patches/kernel/v2.6.39/0011-sam9m10g45ek-for-wrs-final-partitions-for-V4.
1.
patch
View file @
b2c7743d
From
dc89605b7cb7be4e1bad004b689222fcef15678a
Mon Sep 17 00:00:00 2001
From
a15f036b4e47dcbc8e9f4b739605975658ddb61f
Mon Sep 17 00:00:00 2001
From: Alessandro Rubini <rubini@gnudd.com>
Date: Sat, 21 Jun 2014 08:48:04 +0200
Subject: [PATCH 11/1
1] sam9m10g45ek (for wrs): final partitions for V4
Subject: [PATCH 11/1
2] sam9m10g45ek (for wrs): final partitions for V4.1
This changes the partitions in an incompatible way: then NAND
now has one partition for barebox environment (1M: 5 blocks to
...
...
@@ -9,16 +9,39 @@ protect against bad blocks) and one big partition fro UBI volumes.
Real stuff is then split in UBI volumes. Please see documentation
(in a later commit) for details.
Also, this adds the read-only hwinfo in dataflash, for V4.1 stuff.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
---
arch/arm/mach-at91/board-sam9m10g45ek.c | 1
2
+-----------
1 file
s changed, 1
insertions(+), 11 deletions(-)
arch/arm/mach-at91/board-sam9m10g45ek.c | 1
9 +++++++
+-----------
1 file
changed, 8
insertions(+), 11 deletions(-)
diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c
index afc6418..
2eb70d5
100644
index afc6418..
552c209
100644
--- a/arch/arm/mach-at91/board-sam9m10g45ek.c
+++ b/arch/arm/mach-at91/board-sam9m10g45ek.c
@@ -167,18 +167,8 @@ static struct mtd_partition __initdata ek_nand_partition[] = {
@@ -26,6 +26,7 @@
#include <linux/clk.h>
#include <linux/atmel-mci.h>
#include <linux/spi/flash.h>
+#include <linux/mtd/mtd.h>
#include <mach/hardware.h>
#include <video/atmel_lcdc.h>
@@ -106,6 +107,12 @@ static struct mtd_partition wrs_df_parts[] = {
.size = 0x8400,
},
{
+ .name = "hwinfo",
+ .offset = MTDPART_OFS_APPEND,
+ .size = 0x840,
+ .mask_flags = MTD_WRITEABLE,
+ },
+ {
.name = "Available-dataflash",
.offset = MTDPART_OFS_APPEND,
.size = MTDPART_SIZ_FULL,
@@ -167,18 +174,8 @@ static struct mtd_partition __initdata ek_nand_partition[] = {
.size = SZ_1M,
},
{
...
...
@@ -39,5 +62,5 @@ index afc6418..2eb70d5 100644
},
};
--
1.7.
7.2
1.7.
10.4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment