All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Angstrom-devel] [PATCH meta-ti 1/2] u-boot 2011.10rc: Fix kernel hang due to machine ID patches
       [not found] <1319159079-4220-1-git-send-email-joelagnel@ti.com>
@ 2011-10-21  7:13 ` Koen Kooi
       [not found] ` <1319159079-4220-2-git-send-email-joelagnel@ti.com>
  1 sibling, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-10-21  7:13 UTC (permalink / raw)
  To: meta-ti; +Cc: Joel A Fernandes, jdk


Op 21 okt. 2011, om 03:04 heeft Joel A Fernandes het volgende geschreven:

> As we're not going to be allocating a new machine ID for BeagleBone

That's not what I heard yesterday.

And please follow the instructions at http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/meta-texasinstruments/tree/README


> , and as these patches
> have been verified to cause the kernel to hang and thus make newer images unbootable,
> lets drop it from the recipe but lets optionally leave the patches itself undeleted for now.
> 
> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
> ---
> Build and run time tested
> 
> recipes-bsp/u-boot/u-boot_2011.10rc.bb |    2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-bsp/u-boot/u-boot_2011.10rc.bb b/recipes-bsp/u-boot/u-boot_2011.10rc.bb
> index 3f6e570..35c84da 100644
> --- a/recipes-bsp/u-boot/u-boot_2011.10rc.bb
> +++ b/recipes-bsp/u-boot/u-boot_2011.10rc.bb
> @@ -15,8 +15,6 @@ SRC_URI = "git://arago-project.org/git/projects/u-boot-am33x.git;protocol=git;br
>            file://2011.09git/0001-am335x_evm-boot-kernel-from-ext2-3-filesystem.patch \
>            file://2011.09git/0002-am335x_evm-set-bootdelay-to-0.patch \
>            file://2011.09git/0003-am335x-evm-make-rootfs-RO-on-boot.patch \
> -           file://2011.09git/0001-mach-types-Add-new-beaglebone-machine-type.patch \
> -           file://2011.09git/0002-evm-If-beaglebone-is-detected-pass-the-MACH_TYPE_BEA.patch \
>            file://2011.09git/0003-am335x_evm-single-byte-address-EEPROM-for-board-iden.patch \
>            file://2011.09git/0004-am335x-evm-fall-back-to-bone-if-header.config-is-emp.patch \
>           "
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Angstrom-distro-devel mailing list
> Angstrom-distro-devel@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Angstrom-devel] [PATCH meta-ti 2/2] u-boot 2011.10rc: Read EEPROM header correctly for BeagleBone board detection
       [not found] ` <1319159079-4220-2-git-send-email-joelagnel@ti.com>
@ 2011-10-21  7:15   ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-10-21  7:15 UTC (permalink / raw)
  To: meta-ti; +Cc: Joel A Fernandes, jdk


Op 21 okt. 2011, om 03:04 heeft Joel A Fernandes het volgende geschreven:

> This patch fixes the case where the EEPROM is programmed but we still use the
> fall back case to detect the bone board. Now that EEPROMs are programmed, we should
> correctly detect the bone board instead of relying on fall back to bone mode.
> 
> PR bumped

Can you please rebase this on top of Denys' earlier patch that he sent to the meta-ti mailiinglist?


> 
> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
> ---
> * Build and run time tested
> * This also verifies Jason's 8 bit EEPROM read patch
> 
> ...Read-name-field-in-EEPROM-header-for-Beag.patch |   28 ++++++++++++++++++++
> recipes-bsp/u-boot/u-boot_2011.10rc.bb             |    3 +-
> 2 files changed, 30 insertions(+), 1 deletions(-)
> create mode 100644 recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-evm-Read-name-field-in-EEPROM-header-for-Beag.patch
> 
> diff --git a/recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-evm-Read-name-field-in-EEPROM-header-for-Beag.patch b/recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-evm-Read-name-field-in-EEPROM-header-for-Beag.patch
> new file mode 100644
> index 0000000..ef901a9
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot/2011.09git/0005-am335x-evm-Read-name-field-in-EEPROM-header-for-Beag.patch
> @@ -0,0 +1,28 @@
> +From 186250ee6abca3f080b5321504a1c5881ffbf7c6 Mon Sep 17 00:00:00 2001
> +From: Joel A Fernandes <joelagnel@ti.com>
> +Date: Thu, 20 Oct 2011 19:46:53 -0500
> +Subject: [PATCH] am335x-evm: Read name field in EEPROM header for BeagleBoard bone detection
> +
> +Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
> +---
> + board/ti/am335x/evm.c |    4 ++++
> + 1 files changed, 4 insertions(+), 0 deletions(-)
> +
> +diff --git a/board/ti/am335x/evm.c b/board/ti/am335x/evm.c
> +index 37e348f..b63dcbe 100755
> +--- a/board/ti/am335x/evm.c
> ++++ b/board/ti/am335x/evm.c
> +@@ -501,6 +501,10 @@ int board_init(void)
> + 		detect_daughter_board_profile();
> + 	} else if (!strncmp("SKU#03", header.config, 6)) {
> + 		board_id = IPP_BOARD;
> ++	} else if (!strncmp("A335BONE", header.name, 8)) {
> ++		board_id = BONE_BOARD;
> ++		profile = 1;	/* profile 0 is internally considered as 1 */
> ++		daughter_board_connected = 0;
> + 	} else {
> + 		printf("Did not find a recognized configuration, "
> + 			"assuming BeagleBone\n");
> +-- 
> +1.7.1
> +
> diff --git a/recipes-bsp/u-boot/u-boot_2011.10rc.bb b/recipes-bsp/u-boot/u-boot_2011.10rc.bb
> index 35c84da..7054c11 100644
> --- a/recipes-bsp/u-boot/u-boot_2011.10rc.bb
> +++ b/recipes-bsp/u-boot/u-boot_2011.10rc.bb
> @@ -4,7 +4,7 @@ require u-boot.inc
> COMPATIBLE_MACHINE = "(ti33x)"
> DEFAULT_PREFERENCE_ti33x = "99"
> PV = "2011.09+git"
> -PR = "r12"
> +PR = "r13"
> 
> # SPL build
> UBOOT_BINARY = "u-boot.img"
> @@ -17,6 +17,7 @@ SRC_URI = "git://arago-project.org/git/projects/u-boot-am33x.git;protocol=git;br
>            file://2011.09git/0003-am335x-evm-make-rootfs-RO-on-boot.patch \
>            file://2011.09git/0003-am335x_evm-single-byte-address-EEPROM-for-board-iden.patch \
>            file://2011.09git/0004-am335x-evm-fall-back-to-bone-if-header.config-is-emp.patch \
> +           file://2011.09git/0005-am335x-evm-Read-name-field-in-EEPROM-header-for-Beag.patch \
>           "
> 
> SRCREV = "066e4c106677e9243bd7ae26e638f8d98e1f0606"
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Angstrom-distro-devel mailing list
> Angstrom-distro-devel@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-21  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1319159079-4220-1-git-send-email-joelagnel@ti.com>
2011-10-21  7:13 ` [Angstrom-devel] [PATCH meta-ti 1/2] u-boot 2011.10rc: Fix kernel hang due to machine ID patches Koen Kooi
     [not found] ` <1319159079-4220-2-git-send-email-joelagnel@ti.com>
2011-10-21  7:15   ` [Angstrom-devel] [PATCH meta-ti 2/2] u-boot 2011.10rc: Read EEPROM header correctly for BeagleBone board detection Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.