Skip to contentSkip to conversation

OMAP: RX51: Add log partition

PATCH New Adrian Hunter 2 participants 2 messages May 7, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP: RX51: Add log partition

Quoted 1 line

From 22d5b418dd2535f326d7f3ee5661db8159b9845d Mon Sep 17 00:00:00 2001

From: Adrian Hunter <[email protected]>
Date: Thu, 7 May 2009 09:45:32 +0300
Subject: [PATCH] OMAP: RX51: Add log partition

---

arch/arm/configs/rx51_defconfig              |    2 +-
arch/arm/mach-omap2/board-rx51-peripherals.c |    5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
arch/arm/configs/rx51_defconfig +0 -0
index 2672a70..7ee4b6a 100644
@@ -288,7 +288,7 @@ CONFIG_ALIGNMENT_TRAP=y

#
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
-CONFIG_CMDLINE="init=/sbin/preinit ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rw console=ttyMTD5" +CONFIG_CMDLINE="init=/sbin/preinit ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0" # CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set

arch/arm/mach-omap2/board-rx51-peripherals.c +0 -0
index 55e8568..4d10f5c 100644
@@ -494,6 +494,11 @@ static struct mtd_partition onenand_partitions[] = {
		.size           = 0x60000,
	},
	{
+		.name           = "log",
+		.offset         = MTDPART_OFS_APPEND,
+		.size           = 0x40000,
+	},
+	{
		.name           = "kernel",
		.offset         = MTDPART_OFS_APPEND,
		.size           = 0x200000,
Signature · 1 line
1.5.6.3