[U-Boot] [PATCH] 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
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 301d4b2..abce61a 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -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 */

On Sat, Nov 12, 2016 at 10:02:37PM -0600, Adam Ford wrote:
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
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 301d4b2..abce61a 100644
Reviewed-by: Tom Rini trini@konsulko.com

On Sat, Nov 12, 2016 at 10:02:37PM -0600, Adam Ford wrote:
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
Signed-off-by: Adam Ford aford173@gmail.com Reviewed-by: Tom Rini trini@konsulko.com
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 301d4b2..abce61a 100644
Applied to u-boot/master, thanks!
participants (2)
-
Adam Ford
-
Tom Rini