Skip to contentSkip to conversation

u-boot-am37x: remove old machine-specific version in favor of mainline

PATCH New Denys Dmytriyenko 1 participant 3 messages Jun 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 u-boot-am37x: remove old machine-specific version in favor of mainline

From: Denys Dmytriyenko <[email protected]>

---
 ...3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch | 172 ---------------------
 .../0001-OMAP3-Beagle-Set-BOOTDELAY-to-3.patch     |  31 ----
 ...e-add-usbethaddr-setting-to-enable-networ.patch |  40 -----
 ...dded-function-calls-to-set-volts-speed-on.patch | 146 -----------------
 ...17evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch |  73 ---------
 ...2-omap3evm-Make-the-board-start-at-800MHz.patch |  36 -----
 ...gleboard-Load-uImage-from-VFAT-by-default.patch |  34 ----
 ...03-beagleboard-Make-xM-rev-C-go-to-800MHz.patch |  34 ----
 ...-Load-uImage-to-the-default-kernel-linux-.patch |  57 -------
 recipes-bsp/u-boot/u-boot-am37x_2012.04.01.bb      |  41 -----
 10 files changed, 664 deletions(-)
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-OMAP3-Beagle-Set-BOOTDELAY-to-3.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-omap3_beagle-add-usbethaddr-setting-to-enable-networ.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-omap3_evm-Added-function-calls-to-set-volts-speed-on.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0002-am335x-am3517evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0002-omap3evm-Make-the-board-start-at-800MHz.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0003-beagleboard-Load-uImage-from-VFAT-by-default.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0003-beagleboard-Make-xM-rev-C-go-to-800MHz.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0004-beagleboard-Load-uImage-to-the-default-kernel-linux-.patch
 delete mode 100644 recipes-bsp/u-boot/u-boot-am37x_2012.04.01.bb
recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch deleted +0 -172
deleted file mode 100644
index d36d809..0000000
@@ -1,172 +0,0 @@
-From e0820ccc38315d88192c19e98ea9b59d3ec7d4c8 Mon Sep 17 00:00:00 2001
-From: Tom Rini <[email protected]>
-Date: Tue, 8 May 2012 07:29:31 +0000
-Subject: [PATCH] ARM: omap3: Set SPL stack size to 8KB, image to 54KB.
-
-With older toolchains it is possible to not fit entirely into the 45KB
-that we had assigned to SPL.  Adjust to allow for 8KB of stack (which
-should be more than required) and 54KB of text/data.
-
-Cc: Vaibhav Hiremath <[email protected]>
-Cc: Nagendra T S <[email protected]>
-Cc: Thomas Weber <[email protected]>
-Cc: Ilya Yanok <[email protected]>
-Cc: Steve Sakoman <[email protected]>
-Cc: Stefano Babic <[email protected]>
-Signed-off-by: Tom Rini <[email protected]>
-Acked-by: Stefano Babic <[email protected]>
-Acked-by: Vaibhav Hiremath <[email protected]>
----
- doc/SPL/README.omap3               |    4 ++--
- include/configs/am3517_crane.h     |    2 +-
- include/configs/am3517_evm.h       |    2 +-
- include/configs/devkit8000.h       |    2 +-
- include/configs/mcx.h              |    2 +-
- include/configs/omap3_beagle.h     |    2 +-
- include/configs/omap3_evm_common.h |    2 +-
- include/configs/omap3_overo.h      |    2 +-
- include/configs/tam3517-common.h   |    2 +-
- include/configs/tricorder.h        |    2 +-
- 10 files changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/doc/SPL/README.omap3 b/doc/SPL/README.omap3
-index cc5d5c0..a543e65 100644
---- a/doc/SPL/README.omap3
-+++ b/doc/SPL/README.omap3
-@@ -34,14 +34,14 @@ DDR1: 0x80000000 - 0xBFFFFFFF
- 
- Option 1 (SPL only):
- 0x40200800 - 0x4020BBFF: Area for SPL text, data and rodata
--0x4020BC00 - 0x4020FFFC: Area for the SPL stack.
-+0x4020E000 - 0x4020FFFC: Area for the SPL stack.
- 0x80000000 - 0x8007FFFF: Area for the SPL BSS.
- 0x80100000: CONFIG_SYS_TEXT_BASE of U-Boot
- 0x80208000 - 0x80307FFF: malloc() pool available to SPL.
- 
- Option 2 (SPL or X-Loader):
- 0x40200800 - 0x4020BBFF: Area for SPL text, data and rodata
--0x4020BC00 - 0x4020FFFC: Area for the SPL stack.
-+0x4020E000 - 0x4020FFFC: Area for the SPL stack.
- 0x80008000: CONFIG_SYS_TEXT_BASE of U-Boot
- 0x87000000 - 0x8707FFFF: Area for the SPL BSS.
- 0x87080000 - 0x870FFFFF: malloc() pool available to SPL.
-diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
-index 71321f3..1233985 100644
---- a/include/configs/am3517_crane.h
-+++ b/include/configs/am3517_crane.h
-@@ -325,7 +325,7 @@
- #define CONFIG_SPL
- #define CONFIG_SPL_NAND_SIMPLE
- #define CONFIG_SPL_TEXT_BASE		0x40200800
--#define CONFIG_SPL_MAX_SIZE		(45 * 1024)
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- #define CONFIG_SPL_BSS_START_ADDR	0x80000000
-diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
-index bbd19de..ff8d1b0 100644
---- a/include/configs/am3517_evm.h
-+++ b/include/configs/am3517_evm.h
-@@ -324,7 +324,7 @@
- #define CONFIG_SPL
- #define CONFIG_SPL_NAND_SIMPLE
- #define CONFIG_SPL_TEXT_BASE		0x40200800
--#define CONFIG_SPL_MAX_SIZE		(45 * 1024)
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- #define CONFIG_SPL_BSS_START_ADDR	0x80000000
-diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
-index eb7c376..248a5b2 100644
---- a/include/configs/devkit8000.h
-+++ b/include/configs/devkit8000.h
-@@ -324,7 +324,7 @@
- #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
- 
- #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
--#define CONFIG_SPL_MAX_SIZE		0xB400  /* 45 K */
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- #define CONFIG_SPL_BSS_START_ADDR       0x80000500 /* leave space for bootargs*/
-diff --git a/include/configs/mcx.h b/include/configs/mcx.h
-index e190e3e..f6a83a8 100644
---- a/include/configs/mcx.h
-+++ b/include/configs/mcx.h
-@@ -325,7 +325,7 @@
- #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
- 
- #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
--#define CONFIG_SPL_MAX_SIZE		(45 << 10)
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- /* move malloc and bss high to prevent clashing with the main image */
-diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
-index ddeb414..6bdc2c3 100644
---- a/include/configs/omap3_beagle.h
-+++ b/include/configs/omap3_beagle.h
-@@ -399,7 +399,7 @@
- #define CONFIG_SPL
- #define CONFIG_SPL_NAND_SIMPLE
- #define CONFIG_SPL_TEXT_BASE		0x40200800
--#define CONFIG_SPL_MAX_SIZE		(45 * 1024)
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- #define CONFIG_SPL_BSS_START_ADDR	0x80000000
-diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h
-index 4910dda..47ebbef 100644
---- a/include/configs/omap3_evm_common.h
-+++ b/include/configs/omap3_evm_common.h
-@@ -282,7 +282,7 @@
- /* Defines for SPL */
- #define CONFIG_SPL
- #define CONFIG_SPL_TEXT_BASE		0x40200800
--#define CONFIG_SPL_MAX_SIZE		(45 * 1024)	/* 45 KB */
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- #define CONFIG_SPL_BSS_START_ADDR	0x80000000
-diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
-index 64adc74..b0d144f 100644
---- a/include/configs/omap3_overo.h
-+++ b/include/configs/omap3_overo.h
-@@ -303,7 +303,7 @@
- #define CONFIG_SPL
- #define CONFIG_SPL_NAND_SIMPLE
- #define CONFIG_SPL_TEXT_BASE		0x40200800
--#define CONFIG_SPL_MAX_SIZE		(45 * 1024)
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- /* move malloc and bss high to prevent clashing with the main image */
-diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
-index 37eb87b..3fc2c44 100644
---- a/include/configs/tam3517-common.h
-+++ b/include/configs/tam3517-common.h
-@@ -257,7 +257,7 @@
- #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
- 
- #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
--#define CONFIG_SPL_MAX_SIZE		(45 << 10)	/* 45 K */
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- #define CONFIG_SYS_SPL_MALLOC_START	0x8f000000
-diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
-index 801a24f..ab911aa 100644
---- a/include/configs/tricorder.h
-+++ b/include/configs/tricorder.h
-@@ -293,7 +293,7 @@
- #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
- 
- #define CONFIG_SPL_TEXT_BASE		0x40200000 /*CONFIG_SYS_SRAM_START*/
--#define CONFIG_SPL_MAX_SIZE		0xB400  /* 45 K */
-+#define CONFIG_SPL_MAX_SIZE		(54 * 1024)	/* 8 KB for stack */
- #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
- 
- #define CONFIG_SPL_BSS_START_ADDR	0x80000000 /*CONFIG_SYS_SDRAM_BASE*/
--- 
-1.7.0.4
-
recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-OMAP3-Beagle-Set-BOOTDELAY-to-3.patch deleted +0 -31
deleted file mode 100644
index 4fb89e1..0000000
@@ -1,31 +0,0 @@
-From 55161fca67023d6be30bdea495cc0fdbae316a64 Mon Sep 17 00:00:00 2001
-From: Tom Rini <[email protected]>
-Date: Wed, 9 Nov 2011 11:48:21 -0700
-Subject: [PATCH 1/4] OMAP3 Beagle: Set BOOTDELAY to 3
-
-This is TI Sitara SDK specific (unified user experience, 3s delay).
-
-Upstream-Status: Pending
-    * This will be submitted upstream by Tom Rini
-
-Signed-off-by: Tom Rini <[email protected]>
----
- include/configs/omap3_beagle.h |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
-index 58a29b8..ba73aa6 100644
---- a/include/configs/omap3_beagle.h
-+++ b/include/configs/omap3_beagle.h
-@@ -213,7 +213,7 @@
- 							/* partition */
- 
- /* Environment information */
--#define CONFIG_BOOTDELAY		2
-+#define CONFIG_BOOTDELAY		3
- 
- #define CONFIG_EXTRA_ENV_SETTINGS \
- 	"loadaddr=0x80200000\0" \
--- 
-1.7.0.4
-
recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-omap3_beagle-add-usbethaddr-setting-to-enable-networ.patch deleted +0 -40
deleted file mode 100644
index 05df322..0000000
@@ -1,40 +0,0 @@
-From c56786770eb0ccb95204cb72b961c44c65ff343b Mon Sep 17 00:00:00 2001
-From: Chase Maupin <[email protected]>
-Date: Thu, 17 May 2012 09:51:50 -0500
-Subject: [PATCH] omap3_beagle: add usbethaddr setting to enable networking
-
-* In order for the SMSC USB ethernet device to work the
-  usbethaddr setting must be set when the "usb start" command
-  is executed and the network device is discovered.
-* Currently set this for de:ad:be:ef until we can start
-  generating random or semi-random MAC addresses.
-* Based on work by Steve Kipisz and Joel Fernandez
-
-Upstream-Status: Not Upstreamable
-    * We cannot upstream this hard coded MAC address setting.
-    * User's should look at the following web page for information on
-      how to generate a MAC address, but this patch enables the out
-      of box experience for the SDK.
-        http://www.denx.de/wiki/view/DULG/WhereCanIGetAValidMACAddress
-
-
-Signed-off-by: Chase Maupin <[email protected]>
----
- include/configs/omap3_beagle.h |    1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
-index ddeb414..58a29b8 100644
---- a/include/configs/omap3_beagle.h
-+++ b/include/configs/omap3_beagle.h
-@@ -219,6 +219,7 @@
- 	"loadaddr=0x80200000\0" \
- 	"rdaddr=0x81000000\0" \
- 	"usbtty=cdc_acm\0" \
-+	"usbethaddr=de:ad:be:ef\0" \
- 	"bootfile=uImage.beagle\0" \
- 	"console=ttyO2,115200n8\0" \
- 	"mpurate=auto\0" \
--- 
-1.7.0.4
-
recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0001-omap3_evm-Added-function-calls-to-set-volts-speed-on.patch deleted +0 -146

146 lines not on this page · raw message

recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0002-am335x-am3517evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch deleted +0 -73

73 lines not on this page · raw message

recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0002-omap3evm-Make-the-board-start-at-800MHz.patch deleted +0 -36
deleted file mode 100644
index 6170ddf..0000000
@@ -1,36 +0,0 @@
-From a0f4f7b85d004db36a24cc05e9c34f137186270b Mon Sep 17 00:00:00 2001
-From: Chase Maupin <[email protected]>
-Date: Wed, 23 May 2012 09:25:06 -0500
-Subject: [PATCH 2/3] omap3evm: Make the board start at 800MHz
-
-* It is safe to start the the 3630 silicon at 800MHz for all
-  revisions.  Go ahead and bump the speed to 800MHz during boot
-  instead of using the default 500MHz speed.
-* This patch was based on work by Tom Rini <[email protected]> at
-  http://arago-project.org/git/projects/?p=u-boot-am33x.git;a=commit;h=ad130035df754931f2939902e453cc3736412f5f
-
-Upstream-Status: Pending
-    * Will be submitted upstream since it is safe for all silicon
-      revisions to boot at 800MHz according to HW team.
-
-Signed-off-by: Chase Maupin <[email protected]>
----
- board/ti/evm/evm.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
-index 91eb93d..0d0b4a2 100644
---- a/board/ti/evm/evm.c
-+++ b/board/ti/evm/evm.c
-@@ -180,7 +180,7 @@ int misc_init_r(void)
- 
-         if (get_cpu_family() == CPU_OMAP36XX) {
-    		twl4030_power_mpu_init();
--	        set_mpu_clk(500);
-+	        set_mpu_clk(800);
- 	}
- 	return 0;
- }
--- 
-1.7.0.4
-
recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0003-beagleboard-Load-uImage-from-VFAT-by-default.patch deleted +0 -34
deleted file mode 100644
index c40da83..0000000
@@ -1,34 +0,0 @@
-From f2a15cd9e96648e05cb39159ba74cbfbfc8ff999 Mon Sep 17 00:00:00 2001
-From: Tom Rini <[email protected]>
-Date: Thu, 17 Nov 2011 08:41:42 -0700
-Subject: [PATCH 3/4] beagleboard: Load uImage from VFAT by default.
-
-This is TI Sitara SDK specific (unified user experience, load uImage
-from vfat).
-
-Upstream-Status: Not Appropriate
-    * This patch is to make the u-boot for beagleboard consistent
-      with other versions used in the AMSDK and doesn't make
-      sense up stream.
-
-Signed-off-by: Tom Rini <[email protected]>
----
- include/configs/omap3_beagle.h |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
-index b270598..ea62580 100644
---- a/include/configs/omap3_beagle.h
-+++ b/include/configs/omap3_beagle.h
-@@ -305,7 +305,7 @@
- 			"echo Running uenvcmd ...;" \
- 			"run uenvcmd;" \
- 		"fi;" \
--		"if run loaduimage; then " \
-+		"if run loaduimagefat; then " \
- 			"run mmcboot;" \
- 		"fi;" \
- 	"fi;" \
--- 
-1.7.0.4
-
recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0003-beagleboard-Make-xM-rev-C-go-to-800MHz.patch deleted +0 -34
deleted file mode 100644
index 20b47d0..0000000
@@ -1,34 +0,0 @@
-From 372d110126f37f9f8b7d4bbedd3f02cf80e587de Mon Sep 17 00:00:00 2001
-From: Tom Rini <[email protected]>
-Date: Wed, 30 Nov 2011 16:16:21 -0700
-Subject: [PATCH 3/3] beagleboard: Make xM rev C go to 800MHz
-
-* This is the highest frequency supported on xM without BIAS
-  drivers.
-
-Upstream-Status: Pending
-    * Will be submitted upstream since it is safe for all silicon
-      revisions to boot at 800MHz according to HW team.
-
-Signed-off-by: Tom Rini <[email protected]>
----
- board/ti/beagle/beagle.c |    3 +++
- 1 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
-index e26b387..69a7b4e 100644
---- a/board/ti/beagle/beagle.c
-+++ b/board/ti/beagle/beagle.c
-@@ -346,6 +346,9 @@ int misc_init_r(void)
- 					TWL4030_PM_RECEIVER_VAUX2_VSEL_18,
- 					TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
- 					TWL4030_PM_RECEIVER_DEV_GRP_P1);
-+		/* 800MHz support */
-+		twl4030_power_mpu_init();
-+		set_mpu_clk(800);
- 		break;
- 	default:
- 		printf("Beagle unknown 0x%02x\n", get_board_revision());
--- 
-1.7.0.4
-
recipes-bsp/u-boot/u-boot-am37x-2012.04.01/0004-beagleboard-Load-uImage-to-the-default-kernel-linux-.patch deleted +0 -57

57 lines not on this page · raw message

recipes-bsp/u-boot/u-boot-am37x_2012.04.01.bb deleted +0 -41

41 lines not on this page · raw message

Signature · 1 line
2.0.0
#1 lore raw

PATCH 2/3 linux-mainline: update to use linux-3.14.y stable branch

From: Denys Dmytriyenko <[email protected]>

---
 recipes-kernel/linux/linux-mainline_3.14.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-mainline_3.14.bb +1 -1
index 1e8473a..bdb595d 100644
@@ -30,7 +30,7 @@ COMPATIBLE_MACHINE = "ti33x|omap3"
 
 S = "${WORKDIR}/git"
 
-BRANCH = "master"
+BRANCH = "linux-3.14.y"
 
 # Corresponds to tag v3.14.8
 SRCREV = "0c5b3b80f7aeba9b8d25e12f7b321d148a1b1cb9"
Signature · 1 line
2.0.0
#2 lore raw

PATCH 3/3 linux-ti-staging: temporarily lower default priority due to sgx breakage

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-kernel/linux/linux-ti-staging_3.14.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/linux/linux-ti-staging_3.14.bb +2 -0
index 32c6f5a..5c8022b 100644
@@ -3,6 +3,8 @@ DESCRIPTION = "Linux kernel for TI devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+DEFAULT_PREFERENCE = "-1"
+
 inherit kernel
 
 require recipes-kernel/linux/linux-dtb.inc
Signature · 1 line
2.0.0