machine config: Correct SERIAL_CONSOLE variable for am3517-evm and am37x-evm
PATCH 1/7 machine config: Correct SERIAL_CONSOLE variable for am3517-evm and am37x-evm
From: Franklin S. Cooper Jr <[email protected]>
* When testing on am37x-evm I noticed that no prompt to login was ever shown when connected via serial port.
* I finally noticed that the SERIAL_CONSOLE variable was set incorrectly and didn't match the value in the old Arago layer.
* After using the values specific in the machine file in the Arago layer I was able to login via serial port.
* This has been verified on both the am37x-evm and am3517-evm.
--- conf/machine/am3517-evm.conf | 2 +- conf/machine/am37x-evm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/am3517-evm.conf +1 -1
@@ -19,7 +19,7 @@ require conf/machine/include/omap3.inc IMAGE_FSTYPES += "ubi tar.gz" EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" -SERIAL_CONSOLE = "115200 ttyS2" +SERIAL_CONSOLE = "115200 ttyO2" USE_VT = "2" PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
conf/machine/am37x-evm.conf +1 -1
@@ -19,7 +19,7 @@ require conf/machine/include/omap3.inc IMAGE_FSTYPES += "ubi tar.gz" EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" -SERIAL_CONSOLE = "115200 ttyS0" +SERIAL_CONSOLE = "115200 ttyO0" PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
Signature · 1 line
1.7.0.4
PATCH 2/7 linux-omapl138-psp_2.6.37: Add MACHINE_KERNEL_PR and fix white space issues.
From: Franklin S. Cooper Jr <[email protected]>
* Add MACHINE_KERNEL_PR variable to enable future tweaks to this recipe.
* Convert tabs to whitespaces
--- recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-)
recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb +11 -9
@@ -6,6 +6,8 @@ KERNEL_IMAGETYPE = "uImage" require multi-kernel.inc require tipspkernel.inc +MACHINE_KERNEL_PR_append = "a" + S = "${WORKDIR}/git" MULTI_CONFIG_BASE_SUFFIX = ""
@@ -16,14 +18,14 @@ SRCREV = "v2.6.37_DAVINCIPSP_03.21.00.04" COMPATIBLE_MACHINE = "(omapl138)" SRC_URI += "git://arago-project.org/git/projects/linux-davinci.git;protocol=git;branch=${BRANCH} \ - file://defconfig" + file://defconfig" PATCHES_OVER_PSP = " \ - file://0001-TI-WL12xx-MMC-patches-03.21.00.04.patch \ - file://0002-da850-Set-maximum-OPP-frequency-to-456MHz.patch \ - file://0003-AM18xx-WL1271-Enable-BT.patch \ - file://0004-PSP03.21.00.04.sdk-activate-wireless-extensions.patch \ - file://0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch \ - file://0006-Add-wlan-and-BT-config-switches.patch \ - file://uio_pruss.patch \ - " + file://0001-TI-WL12xx-MMC-patches-03.21.00.04.patch \ + file://0002-da850-Set-maximum-OPP-frequency-to-456MHz.patch \ + file://0003-AM18xx-WL1271-Enable-BT.patch \ + file://0004-PSP03.21.00.04.sdk-activate-wireless-extensions.patch \ + file://0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch \ + file://0006-Add-wlan-and-BT-config-switches.patch \ + file://uio_pruss.patch \ +"
Signature · 1 line
1.7.0.4
PATCH 3/7 linux-omapl138-psp: Add latest linux-omapl138 patches
In reply to [email protected]From: Franklin S. Cooper Jr <[email protected]>
* Add latest patches to linux-omapl138 that were added since this recipe was added to meta-ti.
* Update to latest am180x-evm defconfig
* Mimic the following commits from arago:
linux-davinci: update to add mmc patches
* Optimizations to reduce overhead on weak platforms
linux: disable DMA for MUSB
* For the am3517, am180x, and am335x devices the CPPI 4.1 DMA should NOT be used for the MUSB controller. Using this DMA can cause the controller to lockup.
* Updated the defconfigs to set the use of PIO mode
* Added a patch to updated the PIO mode description to make it easier to determine when it can be used.
--- conf/machine/include/davinci.inc | 2 +- ...date-PIO-mode-help-information-in-Kconfig.patch | 44 ++++ ...mmc-davinci-Eliminate-spurious-interrupts.patch | 64 ++++++ ...mmc-davinci-Poll-for-small-size-transfers.patch | 96 +++++++++ .../linux-omapl138-psp-2.6.37/am180x-evm/defconfig | 224 +++++++++++++++----- recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb | 7 +- 6 files changed, 385 insertions(+), 52 deletions(-) create mode 100644 recipes-kernel/linux/linux-omapl138-psp-2.6.37/0001-musb-update-PIO-mode-help-information-in-Kconfig.patch create mode 100644 recipes-kernel/linux/linux-omapl138-psp-2.6.37/0007-mmc-davinci-Eliminate-spurious-interrupts.patch create mode 100644 recipes-kernel/linux/linux-omapl138-psp-2.6.37/0008-mmc-davinci-Poll-for-small-size-transfers.patch
conf/machine/include/davinci.inc +1 -1
@@ -1,7 +1,7 @@ require conf/machine/include/tune-arm926ejs.inc # Increase this everytime you change something in the kernel -MACHINE_KERNEL_PR = "r51" +MACHINE_KERNEL_PR = "r52" KERNEL_IMAGETYPE = "uImage"
recipes-kernel/linux/linux-omapl138-psp-2.6.37/0001-musb-update-PIO-mode-help-information-in-Kconfig.patch new file +44 -0
44 lines not on this page · raw message
recipes-kernel/linux/linux-omapl138-psp-2.6.37/0007-mmc-davinci-Eliminate-spurious-interrupts.patch new file +64 -0
64 lines not on this page · raw message
recipes-kernel/linux/linux-omapl138-psp-2.6.37/0008-mmc-davinci-Poll-for-small-size-transfers.patch new file +96 -0
96 lines not on this page · raw message
recipes-kernel/linux/linux-omapl138-psp-2.6.37/am180x-evm/defconfig +174 -50
429 lines not on this page · raw message
recipes-kernel/linux/linux-omapl138-psp_2.6.37.bb +6 -1
@@ -28,4 +28,9 @@ PATCHES_OVER_PSP = " \ file://0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch \ file://0006-Add-wlan-and-BT-config-switches.patch \ file://uio_pruss.patch \ -" + file://0007-mmc-davinci-Eliminate-spurious-interrupts.patch \ + file://0008-mmc-davinci-Poll-for-small-size-transfers.patch \ + " + +# Updated PIO mode for MUSB help description +PATCHES_OVER_PSP += "file://0001-musb-update-PIO-mode-help-information-in-Kconfig.patch"
Signature · 1 line
1.7.0.4
PATCH 4/7 ti-pru-sw-edma-driver: Port PRU SW edma driver from Arago
In reply to [email protected]From: Franklin S. Cooper Jr <[email protected]>
* Add PRU SW edma driver recipe for the omapl138 machines
* This recipe builds and installs an edma driver module that supports the edma user space libraries built by the ti-pru-sw-edma-library recipe.
--- recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb | 32 ++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb
recipes-bsp/pru/ti-pru-sw-edma-driver_1.00.00.bb new file +32 -0
@@ -0,0 +1,32 @@ +DESCRIPTION = "Builds eDMA module used by eDMA libraries for PRU sw example applications" +HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://edmautils.c;beginline=1;endline=23;md5=312e9cb8a37a044c617c98a9e980ad1b" + +COMPATIBLE_MACHINE = "omapl138" + +INHIBIT_PACKAGE_STRIP = "1" + +MACHINE_KERNEL_PR_append = "a+svnr${SRCPV}" +PR = "${MACHINE_KERNEL_PR}" + +SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''" + +SRCREV = "33" + +S = "${WORKDIR}/trunk/peripheral_lib/edma_driver/module" + +inherit module + +EXTRA_OEMAKE += "KERNEL_DIR='${STAGING_KERNEL_DIR}'" + +do_compile_prepend () { + export CCTOOL_PREFIX="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}" +} + +do_install () { + install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru + install -m 0755 ${S}/edmautils.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/ +} + +FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/edmautils.ko"
Signature · 1 line
1.7.0.4
PATCH 5/7 u-boot_2010.12.12-psp03.21.00.04.sdk: Add latest u-boot recipe for am180x-evm
In reply to [email protected]From: Franklin S. Cooper Jr <[email protected]>
--- ...hange-default-memory-to-not-limit-at-32MB.patch | 34 ++++++++++++++++++++ .../u-boot/u-boot_2010.12-psp03.21.00.04.sdk.bb | 29 +++++++++++++++++ 2 files changed, 63 insertions(+), 0 deletions(-) create mode 100644 recipes-bsp/u-boot/u-boot-2010.12-psp03.21.00.04.sdk/am180x-evm/0001-da850evm-change-default-memory-to-not-limit-at-32MB.patch create mode 100644 recipes-bsp/u-boot/u-boot_2010.12-psp03.21.00.04.sdk.bb
recipes-bsp/u-boot/u-boot-2010.12-psp03.21.00.04.sdk/am180x-evm/0001-da850evm-change-default-memory-to-not-limit-at-32MB.patch new file +34 -0
@@ -0,0 +1,34 @@ +From df5c87c4e1be1670475eba1187301a2f7a7aca30 Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]> +Date: Wed, 22 Jun 2011 12:12:09 -0500 +Subject: [PATCH] da850evm: change default memory to not limit at 32MB + +* Change the default mem= option passed to the Linux kernel to + not limit the memory to 32MB. +* This change is used by AM devices that do not need to reserve + space for the DSP image. By removing the mem= option we get + access to all of the memory on the system. +* Limiting the memory to 32MB causes out-of-memory errors + when running large applications such as web browsers + +Signed-off-by: Chase Maupin <[email protected]> +--- + include/configs/da850evm.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h +index 4a1e0af..55badc9 100755 +--- a/include/configs/da850evm.h ++++ b/include/configs/da850evm.h +@@ -184,7 +184,7 @@ + #define CONFIG_CMDLINE_TAG + #define CONFIG_REVISION_TAG + #define CONFIG_SETUP_MEMORY_TAGS +-#define CONFIG_BOOTARGS "mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off" ++#define CONFIG_BOOTARGS "console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off" + #define CONFIG_BOOTCOMMAND "if mmc rescan 0; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else sf probe 0; sf read 0xc0700000 0x80000 0x220000; bootm 0xc0700000; fi" + #define CONFIG_BOOTDELAY 3 + +-- +1.7.0.4 +
recipes-bsp/u-boot/u-boot_2010.12-psp03.21.00.04.sdk.bb new file +29 -0
@@ -0,0 +1,29 @@ +# Use the version of u-boot.inc in oe-core not the meta-ti version +require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc + +DESCRIPTION = "u-boot bootloader for DaVinci devices" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b" + +COMPATIBLE_MACHINE = "am180x-evm" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PR = "r0" + +SRC_URI = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=${BRANCH}" + +# For the am180x we want to enable all the memory on the EVM, but for other +# devices that use the DSP we do not want this change because that memory +# is used for the DSP +SRC_URI_append_am180x-evm = " file://0001-da850evm-change-default-memory-to-not-limit-at-32MB.patch" + +BRANCH = "03.21.00.03" + +# Use literal tags in SRCREV, when available, instead of commit IDs +SRCREV = "v2010.12_DAVINCIPSP_03.21.00.04" + +S = "${WORKDIR}/git" + +UBOOT_SUFFIX = "bin"
Signature · 1 line
1.7.0.4
PATCH 6/7 ti-ocf-crypto-module: Port ti-ocf-crypto-module from Arago
In reply to [email protected]From: Franklin S. Cooper Jr <[email protected]>
* Recipe pulls in ti-ocf-crypto-module from gforge
* For am37x, this module allows access to the crypto hardware accelerators through OCF-Linux.
--- .../ti-ocf-crypto-module_1.0.bb | 36 ++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb
recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb new file +36 -0
@@ -0,0 +1,36 @@ +DESCRIPTION = "Builds Crypto module used by OCF-Linux driver in OpenSSL example applications" +HOMEPAGE = "https://gforge.ti.com/gf/project/arm_crypto/" +LICENSE = "BSD & GPLv2" +LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=16;md5=acc0590f80e72fd64ad5c16cad8f4f76 \ + file://ocf_omap3_crypto.c;beginline=436;endline=438;md5=a52cad5c37c3aa3f27c6391552967304" + +COMPATIBLE_MACHINE = "am37x-evm|am3517-evm" + +DEPENDS += "virtual/kernel" + +SRC_URI = "svn://gforge.ti.com/svn/arm_crypto/;module=trunk;protocol=https;user=anonymous;pswd=''" + +#gforge source revision +SRCREV = "17" + +INHIBIT_PACKAGE_STRIP = "1" + +S = "${WORKDIR}/trunk" + +inherit module + +MACHINE_KERNEL_PR_append = "a+svnr${SRCPV}" +PR = "${MACHINE_KERNEL_PR}" + +EXTRA_OEMAKE += "KERNEL_DIR=${STAGING_KERNEL_DIR}" + +do_compile_prepend () { + sed -i "s/arm-none-linux-gnueabi-/${TARGET_PREFIX}/g" ${S}/Makefile +} + +do_install () { + install -d ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/ + install -m 0755 ${S}/ocf_omap3_cryptok.ko ${D}/lib/modules/${KERNEL_VERSION}/crypto/ocf/ +} + +FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/crypto/ocf/ocf_omap3_cryptok.ko"
Signature · 1 line
1.7.0.4
PATCH 7/7 u-boot_2012.04.01: Add latest u-boot recipe for am37x-evm
In reply to [email protected]From: Franklin S. Cooper Jr <[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_2012.04.01.bb | 50 ++++++ 10 files changed, 673 insertions(+), 0 deletions(-) create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0001-OMAP3-Beagle-Set-BOOTDELAY-to-3.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0001-omap3_beagle-add-usbethaddr-setting-to-enable-networ.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0001-omap3_evm-Added-function-calls-to-set-volts-speed-on.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0002-am335x-am3517evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0002-omap3evm-Make-the-board-start-at-800MHz.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0003-beagleboard-Load-uImage-from-VFAT-by-default.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0003-beagleboard-Make-xM-rev-C-go-to-800MHz.patch create mode 100644 recipes-bsp/u-boot/u-boot-2012.04.01/0004-beagleboard-Load-uImage-to-the-default-kernel-linux-.patch create mode 100644 recipes-bsp/u-boot/u-boot_2012.04.01.bb
recipes-bsp/u-boot/u-boot-2012.04.01/0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch new file +172 -0
@@ -0,0 +1,172 @@ +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-2012.04.01/0001-OMAP3-Beagle-Set-BOOTDELAY-to-3.patch new file +31 -0
@@ -0,0 +1,31 @@ +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-2012.04.01/0001-omap3_beagle-add-usbethaddr-setting-to-enable-networ.patch new file +40 -0
@@ -0,0 +1,40 @@ +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-2012.04.01/0001-omap3_evm-Added-function-calls-to-set-volts-speed-on.patch new file +146 -0
146 lines not on this page · raw message
recipes-bsp/u-boot/u-boot-2012.04.01/0002-am335x-am3517evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch new file +73 -0
73 lines not on this page · raw message
recipes-bsp/u-boot/u-boot-2012.04.01/0002-omap3evm-Make-the-board-start-at-800MHz.patch new file +36 -0
@@ -0,0 +1,36 @@ +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-2012.04.01/0003-beagleboard-Load-uImage-from-VFAT-by-default.patch new file +34 -0
@@ -0,0 +1,34 @@ +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-2012.04.01/0003-beagleboard-Make-xM-rev-C-go-to-800MHz.patch new file +34 -0
@@ -0,0 +1,34 @@ +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-2012.04.01/0004-beagleboard-Load-uImage-to-the-default-kernel-linux-.patch new file +57 -0
57 lines not on this page · raw message
recipes-bsp/u-boot/u-boot_2012.04.01.bb new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Re: [PATCH 7/7] u-boot_2012.04.01: Add latest u-boot recipe for am37x-evm
Quoted 11 lines · On Mon, Feb 11, 2013 at 07:04:42PM -0600, [email protected] wrote:
From: Franklin S. Cooper Jr <[email protected]>
Signed-off-by Franklin S. Cooper Jr <[email protected]>---
recipes-bsp/u-boot/u-boot_2012.04.01.bb new file +0
-0
recipes-bsp/u-boot/u-boot_2012.04.01.bb line 4
Quoted 4 lines
recipes-bsp/u-boot/u-boot_2012.04.01.bb new file +4
-0@@ -0,0 +1,50 @@ +require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc + +DESCRIPTION = "u-boot bootloader for ARM MPU devices" +# Use the version of u-boot.inc in oe-core not the meta-ti version
This comment is out of place. I'll move it to the top of the recipe...
Quoted 48 lines
recipes-bsp/u-boot/u-boot_2012.04.01.bb new file +46
-0+ +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" + +DEFAULT_PREFERENCE = "-1" + +COMPATIBLE_MACHINE = "am37x-evm|beagleboard" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +BRANCH ?= "master" + +SRCREV = "v2012.04.01" + +S = "${WORKDIR}/git" + +SRC_URI = "git://git.denx.de/u-boot.git;protocol=git;branch=${BRANCH}" + +# Add patches for the AMSDK +# - 0001-omap3-beagle-add-usbethaddr....Not for Upstream +# - 0001-OMAP3-Beagle-Set-BOOTDELAY....Pending Upstream +# - 0002-am335x-am3517evm-beagleboard....Pending Upstream +# - 0003-beagleboard-Load-uImage-from....Not for Upstream +# - 0004-beagleboard-Load-uImage-to....Pending Upstream +# - 0001-omap3_evm-Added-function....Pending Upstream +# - 0002-omap3evm-Make-the-board....Pending Upstream +# - 0003-beagleboard-Make-xM-rev....Pending Upstream +# - 0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch....Upstreamed + +# Add a patch to set a default usbethaddr address to enable the out of box +# experience. +SRC_URI += "file://0001-omap3_beagle-add-usbethaddr-setting-to-enable-networ.patch \ + file://0001-OMAP3-Beagle-Set-BOOTDELAY-to-3.patch \ + file://0002-am335x-am3517evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch \ + file://0003-beagleboard-Load-uImage-from-VFAT-by-default.patch \ + file://0004-beagleboard-Load-uImage-to-the-default-kernel-linux-.patch \ + file://0001-omap3_evm-Added-function-calls-to-set-volts-speed-on.patch \ + file://0002-omap3evm-Make-the-board-start-at-800MHz.patch \ + file://0003-beagleboard-Make-xM-rev-C-go-to-800MHz.patch \ + file://0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch \ + " + +UBOOT_SUFFIX = "img" + +# Set the name of the SPL that will built so that it is also packaged with u-boot. +SPL_BINARY = "MLO"Signature · 1 line
1.7.0.4
The entire set looks fine to me - I'll give it a closer look tomorrow and try to push shortly after.
Signature · 1 line
Denys
Quoted 50 lines · On Mon, Feb 11, 2013 at 07:04:36PM -0600, [email protected] wrote:
From: Franklin S. Cooper Jr <[email protected]>
* When testing on am37x-evm I noticed that no prompt to login was ever shown when connected via serial port.
* I finally noticed that theSERIAL_CONSOLEvariable was set incorrectly and didn't match the value in the old Arago layer.
* After using the values specific in the machine file in the Arago layer I was able to login via serial port.
* This has been verified on both the am37x-evm and am3517-evm.Signed-off-by Franklin S. Cooper Jr <[email protected]>--- conf/machine/am3517-evm.conf | 2 +- conf/machine/am37x-evm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)conf/machine/am3517-evm.conf +1
-1@@ -19,7 +19,7 @@ require conf/machine/include/omap3.inc IMAGE_FSTYPES += "ubi tar.gz" EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" -SERIAL_CONSOLE = "115200 ttyS2" +SERIAL_CONSOLE = "115200 ttyO2" USE_VT = "2" PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"conf/machine/am37x-evm.conf +1
-1@@ -19,7 +19,7 @@ require conf/machine/include/omap3.inc IMAGE_FSTYPES += "ubi tar.gz" EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" -SERIAL_CONSOLE = "115200 ttyS0" +SERIAL_CONSOLE = "115200 ttyO0" PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"Signature · 6 lines
1.7.0.4 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti