Skip to contentSkip to conversation

Update linux-ti33x-psp and beaglebone-tester to latest, add EEPROM patches.

PATCH In review Joel A Fernandes 2 participants 5 messages Oct 24, 2011

lore
Share & tools
lore
#0 lore raw

cover Update linux-ti33x-psp and beaglebone-tester to latest, add EEPROM patches.

Please apply these 3 patches which apart from other things also fixes the kernel build and adds EEPROM support.

All changes have been build and runtime tested.

Thanks!

Joel A Fernandes (3):
sdcard_image: Copy uEnv.txt once again as the new bonetester also
checks for GPIO grounding
linux-ti33x-psp 3.1rc8: Update to latest SRCREV, add EEPROM patches
beaglebone-tester: Update to latest and bump PR

 classes/sdcard_image.bbclass                       |    3 +-
 ...heck-return-value-of-omap_mux_init_signal.patch |   34 ++++++++++
 ...ility-to-dynamically-reconfigure-chip-inf.patch |   57 +++++++++++++++++
 ...econfigure-EEPROM-with-new-eeprom_info-in.patch |   65 ++++++++++++++++++++
 recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb  |    7 ++-
 recipes-ti/beagleboard/beaglebone-tester.bb        |    6 +-
 6 files changed, 165 insertions(+), 7 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Check-return-value-of-omap_mux_init_signal.patch
 create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0002-at24-Add-ability-to-dynamically-reconfigure-chip-inf.patch
 create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0003-am335x-evm-Reconfigure-EEPROM-with-new-eeprom_info-in.patch
#1 lore raw

PATCH 1/3 sdcard_image: Copy uEnv.txt once again as the new bonetester also checks for GPIO grounding

Reverted commit: 6743f427e7fccf9c5f5a262d982da339f69582cf

---
 classes/sdcard_image.bbclass |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
classes/sdcard_image.bbclass +1 -2
index 0c9f457..1570d37 100644
@@ -93,8 +93,7 @@ IMAGE_CMD_sdimg () {
 		suffix=bin
 	fi
 
-	#cp -v ${IMAGE_ROOTFS}/boot/uEnv.txt ${WORKDIR}/tmp-mnt-boot || true
-	cp -v ${IMAGE_ROOTFS}/boot/user.txt ${WORKDIR}/tmp-mnt-boot || true
+	cp -v ${IMAGE_ROOTFS}/boot/{user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot || true
 
 	if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then
 		cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} ${WORKDIR}/tmp-mnt-boot || true
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/3 linux-ti33x-psp 3.1rc8: Update to latest SRCREV, add EEPROM patches

In reply to Joel A Fernandes

* Updated to latest SRCREV and bump PR.

Added following patches being submitted to PSP currently:
* EEPROM patches required to get EEPROM working correctly on BBB without breaking support for EVM.
* omap_mux_init_signal patch to safe guard against incorrectly setting up pinmux.

---
 ...heck-return-value-of-omap_mux_init_signal.patch |   34 ++++++++++
 ...ility-to-dynamically-reconfigure-chip-inf.patch |   57 +++++++++++++++++
 ...econfigure-EEPROM-with-new-eeprom_info-in.patch |   65 ++++++++++++++++++++
 recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb  |    7 ++-
 4 files changed, 161 insertions(+), 2 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Check-return-value-of-omap_mux_init_signal.patch
 create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0002-at24-Add-ability-to-dynamically-reconfigure-chip-inf.patch
 create mode 100644 recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0003-am335x-evm-Reconfigure-EEPROM-with-new-eeprom_info-in.patch
recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0001-am335x-Check-return-value-of-omap_mux_init_signal.patch new file +34 -0
new file mode 100644
index 0000000..3ce2df8
@@ -0,0 +1,34 @@
+From b11df2bf8e19b8a4d4e4bb6eae59fde6a1498920 Mon Sep 17 00:00:00 2001
+From: Joel A Fernandes <[email protected]>
+Date: Wed, 19 Oct 2011 20:11:00 -0500
+Subject: [PATCH 1/3] am335x: Check return value of omap_mux_init_signal
+
+This helps guard against setting up pin muxmode incorrectly
+
+Signed-off-by: Joel A Fernandes <[email protected]>
+---
+ arch/arm/mach-omap2/board-am335xevm.c |    8 +++++---
+ 1 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
+index 187f758..f959d95 100644
+--- a/arch/arm/mach-omap2/board-am335xevm.c
++++ b/arch/arm/mach-omap2/board-am335xevm.c
+@@ -590,9 +590,11 @@ static void setup_pin_mux(struct pinmux_config *pin_mux)
+ {
+ 	int i;
+ 
+-	for (i = 0; pin_mux->string_name != NULL; pin_mux++)
+-		omap_mux_init_signal(pin_mux->string_name, pin_mux->val);
+-
++	for (i = 0; pin_mux->string_name != NULL; pin_mux++) {
++		if(omap_mux_init_signal(pin_mux->string_name, pin_mux->val) < 0) {
++			printk(KERN_ERR "Failed to setup pinmux for %s\n", pin_mux->string_name);
++		}
++	}
+ }
+ 
+ /*
+-- 
+1.7.4.1
+
recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0002-at24-Add-ability-to-dynamically-reconfigure-chip-inf.patch new file +57 -0

57 lines not on this page · raw message

recipes-kernel/linux/linux-ti33x-psp-3.0+3.1rc/0003-am335x-evm-Reconfigure-EEPROM-with-new-eeprom_info-in.patch new file +65 -0

65 lines not on this page · raw message

recipes-kernel/linux/linux-ti33x-psp_3.0+3.1rc.bb +5 -2
index 1c4bee0..bffebea 100644
@@ -10,8 +10,8 @@ S = "${WORKDIR}/git"
 MULTI_CONFIG_BASE_SUFFIX = ""
 
 BRANCH = "master"
-SRCREV = "c7fc664a6a36a4721b43dc287e410a2453f0b782"
-MACHINE_KERNEL_PR_append = "j+gitr${SRCREV}"
+SRCREV = "1955a86594526e18f03c8d62db81119ffc4ccf0f"
+MACHINE_KERNEL_PR_append = "k+gitr${SRCREV}"
 
 COMPATIBLE_MACHINE = "(ti33x)"
 
@@ -27,6 +27,9 @@ SRC_URI += "git://arago-project.org/git/projects/linux-am33x.git;protocol=git;br
 PATCHES_OVER_PSP = " \
 	file://0001-f_rndis-HACK-around-undefined-variables.patch \
 	file://0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch \
+	file://0001-am335x-Check-return-value-of-omap_mux_init_signal.patch \
+	file://0002-at24-Add-ability-to-dynamically-reconfigure-chip-inf.patch \
+	file://0003-am335x-evm-Reconfigure-EEPROM-with-new-eeprom_info-in.patch \
 	"
 
 SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"
Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 3/3 beaglebone-tester: Update to latest and bump PR

In reply to Joel A Fernandes

Added:
* PMIC tests
* EEPROM tests
* Memory tests
* GPIO 38 grounding check

---
 recipes-ti/beagleboard/beaglebone-tester.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
recipes-ti/beagleboard/beaglebone-tester.bb +3 -3
index 1716122..9e65d65 100644
@@ -7,11 +7,11 @@ LIC_FILES_CHKSUM="file://gpl.txt;md5=5b122a36d0f6dc55279a0ebc69f3c60b"
 # only scripts and data
 inherit allarch
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "git://github.com/joelagnel/validation-scripts.git;protocol=git \
           "
-SRCREV = "0806b54c1248b080953402728b0e420243fe844c"
+SRCREV = "fdeaf580e553a0968b777e75306aac3f6a73519e"
 
 S = "${WORKDIR}/git"
 
@@ -44,7 +44,7 @@ FILES_${PN} += "${base_libdir}/systemd \
                 /boot \
                "
 
-RDEPENDS_${PN} = "iputils"
+RDEPENDS_${PN} = "iputils memtester"
 RRECOMMENDS_${PN} = "kernel-module-g-zero \
                      kernel-module-g-file-storage \
                      kernel-module-smsc95xx"
Signature · 1 line
1.7.0.4
#4 lore raw
In reply to Joel A Fernandes

Op 24 okt. 2011, om 05:59 heeft Joel A Fernandes het volgende geschreven:

Quoted 11 lines

Please apply these 3 patches which apart from other things also fixes the kernel build and adds EEPROM support.

All changes have been build and runtime tested.

Thanks!

Joel A Fernandes (3):
sdcard_image: Copy uEnv.txt once again as the new bonetester also
checks for GPIO grounding
linux-ti33x-psp 3.1rc8: Update to latest SRCREV, add EEPROM patches
beaglebone-tester: Update to latest and bump PR

I did the uEnv change a bit different, but in the end all the above changes are in.

regards,

Koen