Skip to contentSkip to conversation

ARM: OMAP3_LOGIC: Update MTD Partition Table

PATCH In review Adam Ford 2 participants 3 messages Nov 13, 2016 – Nov 22, 2016

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: OMAP3_LOGIC: Update MTD Partition Table

The previous partition table did not support a separate device tree and the kernel size was limited to 4MB. This update shows the location of the device tree (labeled as spl-os) for those who want to use Falcon Mode or use U-Boot to store the Flattened Device Tree (FDT) to NAND without appending it to the kernel.

This also grows the kernel to 6MB since 4MB was becomming tight

include/configs/omap3_logic.h +6 -3
index 301d4b2..abce61a 100644
@@ -108,9 +108,12 @@
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS		/* required for UBI partition support */
 #define MTDIDS_DEFAULT			"nand0=omap2-nand.0"
-#define MTDPARTS_DEFAULT		"mtdparts=omap2-nand.0:512k(MLO),"\
-					"1920k(u-boot),128k(u-boot-env),"\
-					"4m(kernel),-(fs)"
+#define MTDPARTS_DEFAULT	"mtdparts=omap2-nand.0:"\
+							"512k(MLO),"\
+							"1792k(u-boot),"\
+							"128k(spl-os)," \
+							"128k(u-boot-env),"\
+							"6m(kernel),-(fs)"
 #endif
 
 /* Environment information */
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ARM: OMAP3_LOGIC: Update MTD Partition Table

include/configs/omap3_logic.h

Quoted 12 lines · Adam Ford

The previous partition table did not support a separate device tree and the kernel size was limited to 4MB. This update shows the location of the device tree (labeled as spl-os) for those who want to use Falcon Mode or use U-Boot to store the Flattened Device Tree (FDT) to NAND without appending it to the kernel.

This also grows the kernel to 6MB since 4MB was becomming tight

include/configs/omap3_logic.h +0 -0
index 301d4b2..abce61a 100644
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161117/7a648864/attachment.sig>
#2 lore raw
In reply to Adam Ford

include/configs/omap3_logic.h

Quoted 13 lines · Adam Ford

The previous partition table did not support a separate device tree and the kernel size was limited to 4MB. This update shows the location of the device tree (labeled as spl-os) for those who want to use Falcon Mode or use U-Boot to store the Flattened Device Tree (FDT) to NAND without appending it to the kernel.

This also grows the kernel to 6MB since 4MB was becomming tight

include/configs/omap3_logic.h +0 -0
index 301d4b2..abce61a 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161121/7ff74c3e/attachment.sig>