require u-boot.inc PR ="r64" FILESPATHPKG =. "u-boot-git:" SRC_URI = "git://www.denx.de/git/u-boot.git;protocol=git " SRCREV_davinci-sffsdr = "4b50cd12a3b3c644153c4cf393f4a4c12289e5aa" SRCREV_akita = "9bf86baaa3b35b25baa2d664e2f7f6cafad689ee" SRCREV_spitz = "9bf86baaa3b35b25baa2d664e2f7f6cafad689ee" SRCREV_c7x0 = "9bf86baaa3b35b25baa2d664e2f7f6cafad689ee" SRCREV_afeb9260 = "6b8edfde22acc574b5532e9f086e6a7287a9bc78" SRCREV_afeb9260-180 = "6b8edfde22acc574b5532e9f086e6a7287a9bc78" SRCREV_palmpre = "668a6b45915d10d75357f5b93f569bbf49ea2b06" SRCREV_cm-t35 = "3c014f1586d5bfe30dca7549396915c83f31cd30" SRCREV_mpc8544ds = "f20393c5e787b3776c179d20f82a86bda124d651" SRCREV_mpc8641-hpcn = "f20393c5e787b3776c179d20f82a86bda124d651" SRCREV_p1020rdb = "f20393c5e787b3776c179d20f82a86bda124d651" SRCREV_p2020ds = "f20393c5e787b3776c179d20f82a86bda124d651" SRCREV_bug20 = "169a4c804dbaf11facb041b1333d394c6ceb8d68" SRC_URI_append_afeb9260 = " file://AFEB9260-network-fix.patch" SRC_URI_append_afeb9260-180 = " file://AFEB9260-network-fix.patch" SRC_URI_append_cm-t35 = "file://cm-t35/cm-t35.patch" SRC_URI_append_bug20 = "file://bug-uboot.patch" SRC_URI_append_bug20 += "file://bug-video-setting.patch" SRC_URI_beagleboard = "git://www.denx.de/git/u-boot.git;protocol=git \ file://0001-OMAP3-enable-i2c-bus-switching-for-Beagle-and-Overo.patch \ file://0002-OMAP3-add-board-revision-detection-for-Overo.patch \ file://0003-OMAP3-update-Beagle-revision-detection-to-recognize-.patch \ file://0004-OMAP3-Set-VAUX2-to-1.8V-for-EHCI-PHY-on-Beagle-Rev-C.patch \ file://0005-OMAP3-add-entry-for-rev-3.1.2-check-and-display-max-.patch \ file://0006-OMAP3-add-mpurate-boot-arg-for-overo-and-beagle.patch \ file://0007-OMAP3-detect-expansion-board-type-version-using-eepr.patch \ file://0008-OMAP3-Overo-enable-config-eeprom-to-set-u-boot-env-v.patch \ file://0009-OMAP3-Overo-enable-input-on-MMC1_CLK-and-MMC3_CLK-pi.patch \ file://0010-OMAP3-Overo-set-CONFIG_SYS_I2C_SPEED-to-400Khz.patch \ file://0011-OMAP3-trim-excessively-long-delays-in-i2c-driver.patch \ file://0012-OMAP3-Overo-allow-expansion-boards-with-any-vendor-I.patch \ file://0013-OMAP3-Overo-change-address-of-expansion-eeprom-to-0x.patch \ file://0014-OMAP3-board.c-don-t-attempt-to-set-up-second-RAM-ban.patch \ file://0015-OMAP3-mem.c-enhance-the-RAM-test.patch \ file://0016-env_nand.c-fail-gracefully-if-no-nand-is-present.patch \ file://0017-OMAP3-add-definitions-to-support-sysinfo-cpu-and-cpu.patch \ file://0018-OMAP3-sys_info-update-cpu-detection-for-36XX-37XX.patch \ file://0019-OMAP3-clocks-update-clock-setup-for-36XX-37XX.patch \ file://0020-OMAP3-beagle-add-support-for-Beagle-xM.patch \ file://0021-OMAP3-Beagle-Overo-remove-omapfb.debug-y-from-defaul.patch \ file://0022-OMAP3-beagle-implement-expansionboard-detection-base.patch \ file://0023-beagleboard-display-message-about-I2C-errors-being-e.patch \ file://0024-beagleboard-fix-TCT-expansionboard-IDs.patch \ file://0025-Add-DSS-driver-for-OMAP3.patch \ file://0026-Enable-DSS-driver-for-Beagle.patch \ file://0027-beagleboardXM-don-t-set-mpurate-on-xM-in-bootargs.patch \ file://0028-OMAP3-fix-and-clean-up-L2-cache-enable-disable-funct.patch \ file://0029-OMAP3-convert-setup_auxcr-to-pure-asm.patch \ file://0030-OMAP3-apply-Cortex-A8-errata-workarounds-only-on-aff.patch \ file://0031-OMAP3-beagle-add-more-expansionboards-based-on-http-.patch \ file://0032-OMAP3-beagle-set-mpurate-to-600-for-revB-and-revC1-3.patch \ file://0033-OMAP3-beagle-prettify-expansionboard-message-a-bit.patch \ file://0034-OMAP3-beagle-add-pinmux-for-Tincantools-Trainer-expa.patch \ file://0035-OMAP3-Beagle-set-mpurate-to-1000-for-xM.patch \ file://0036-OMAP3-Beagle-decrease-bootdelay-to-3-use-VGA-for-def.patch \ file://0037-OMAP3-beagle-pass-expansionboard-name-in-bootargs.patch \ file://0038-Added-configurations-for-xM-Rev-A-board.patch \ file://0039-OMAP3-beagle-setenv-beaglerev-for-AxBx-Cx-xMA-for-be.patch \ file://0001-OMAP-mmc-add-support-for-second-and-third-mmc-chan.patch \ file://0001-OMAP3-Beagle-enable-support-for-second-and-third-m.patch \ file://0038-BeagleBoard-Added-LED-driver.patch \ file://0039-Add-led-command.patch \ file://0041-BeagleBoard-Enabled-LEDs.patch \ file://0042-BeagleBoard-New-command-for-status-of-USER-button.patch \ file://0043-BeagleBoard-Add-CONFIG_SYS_MEMTEST_SCRATCH.patch \ file://0044-Beagleboard-Adjust-boot.patch \ file://0045-BeagleBoard-Enable-pullups-on-i2c2.patch \ file://0046-BeagleBoard-Add-camera-to-default-bootargs.patch \ file://0001-BeagleBoard-move-ramdisk-parameters.patch \ file://fw_env.config \ " SRCREV_beagleboard = "ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55" PV_beagleboard = "2010.03+${PR}+gitr${SRCREV}" SRCREV_calamari = "b80d30546e88c70985094d81297d449b2bc59033" PV_calamari = "2010.06+${PR}+gitr${SRCREV}" SRC_URI_calamari = " \ git://git.denx.de/u-boot-mpc85xx.git;protocol=git \ file://fsl-esdhc.patch \ " # calamari has different u-boot versions for nor, nand, sdcard and spiflash # build them all do_compile_calamari () { unset LDFLAGS unset CFLAGS unset CPPFLAGS oe_runmake MPC8536DS_config oe_runmake all mv u-boot.bin u-boot-nor.bin oe_runmake clean oe_runmake MPC8536DS_NAND_config oe_runmake all mv u-boot.bin u-boot-nand.bin oe_runmake clean oe_runmake MPC8536DS_SDCARD_config oe_runmake all mv u-boot.bin u-boot-sdcard.bin oe_runmake clean oe_runmake MPC8536DS_SPIFLASH_config oe_runmake all mv u-boot.bin u-boot-spiflash.bin oe_runmake tools env } do_deploy_calamari () { install -d ${DEPLOY_DIR_IMAGE} install -m 0644 ${S}/u-boot-nor.bin ${DEPLOY_DIR_IMAGE}/u-boot-nor.bin install -m 0644 ${S}/u-boot-nand.bin ${DEPLOY_DIR_IMAGE}/u-boot-nand.bin install -m 0644 ${S}/u-boot-sdcard.bin ${DEPLOY_DIR_IMAGE}/u-boot-sdcard.bin install -m 0644 ${S}/u-boot-spiflash.bin ${DEPLOY_DIR_IMAGE}/u-boot-spiflash.bin install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage } do_install_calamari () { install -d ${D}/boot install ${S}/u-boot-nor.bin ${D}/boot/u-boot-nor.bin install ${S}/u-boot-nand.bin ${D}/boot/u-boot-nand.bin install ${S}/u-boot-sdcard.bin ${D}/boot/u-boot-sdcard.bin install ${S}/u-boot-spiflash.bin ${D}/boot/u-boot-spiflash.bin ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} install -d ${D}${base_sbindir} install -d ${D}${sysconfdir} install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv } SRC_URI_omap3-touchbook = "git://gitorious.org/u-boot-omap3/mainline.git;branch=omap3-dev;protocol=git \ file://fw_env.config \ file://dss2.patch \ file://600mhz.patch \ file://new-pinmux.patch \ file://spi3.patch \ file://spi4.patch \ file://headphone.patch \ file://power.patch \ file://ai-logo.patch \ file://mmcinit.patch \ file://touchbook-config.patch \ " SRCREV_omap3-touchbook = "d363f9cb0918a1b6b92e2e20d01543d0c4f53274" PV_omap3-touchbook = "2009.05+${PR}+gitr${SRCREV}" # ~ TI PSP v2009.11_OMAPPSP_03.00.01.06 (+ couple of commits) SRC_URI_omap3evm = "git://arago-project.org/git/projects/u-boot-omap3.git;protocol=git \ file://0001-omap3evm-Change-default-console-serial-port-from.patch \ " SRCREV_omap3evm = "c0a8fb217fdca7888d89f9a3dee74a4cec865620" PV_omap3evm = "2009.11+${PR}+gitr${SRCREV}" # ~ TI PSP v2009.11_OMAPPSP_03.00.01.06 (+ couple of commits) SRC_URI_dm37x-evm = "git://arago-project.org/git/projects/u-boot-omap3.git;protocol=git \ file://0001-omap3evm-Change-default-console-serial-port-from.patch \ " SRCREV_dm37x-evm = "c0a8fb217fdca7888d89f9a3dee74a4cec865620" PV_dm37x-evm = "2009.11+${PR}+gitr${SRCREV}" # ~ TI PSP v2009.11_OMAPPSP_03.00.01.06 (+ couple of commits) SRC_URI_am37x-evm = "git://arago-project.org/git/projects/u-boot-omap3.git;protocol=git \ file://0001-omap3evm-Change-default-console-serial-port-from.patch \ " SRCREV_am37x-evm = "c0a8fb217fdca7888d89f9a3dee74a4cec865620" PV_am37x-evm = "2009.11+${PR}+gitr${SRCREV}" # ~ TI PSP v2009.11_OMAPPSP_03.00.01.06 (+ couple of commits) SRC_URI_am3517-evm = "git://arago-project.org/git/projects/u-boot-omap3.git;protocol=git" SRCREV_am3517-evm = "c0a8fb217fdca7888d89f9a3dee74a4cec865620" PV_am3517-evm = "2009.11+${PR}+gitr${SRCREV}" SRC_URI_omapzoom = "git://www.sakoman.net/git/u-boot-omap3.git;branch=omap3-dev;protocol=git" SRCREV_omapzoom = "d691b424f1f5bf7eea3a4131dfc578d272e8f335" PV_omapzoom = "2009.01+${PR}+gitr${SRCREV}" SRC_URI_omapzoom2 = "git://dev.omapzoom.org/pub/scm/bootloader/u-boot.git;branch=master;protocol=git \ file://0001-OMAP3-set-L1NEON-bit-in-aux-control-register.patch \ file://inline-fix.patch" SRCREV_omapzoom2 = "78e778e0ea884306841c6499851a1e35177d81d0" PV_omapzoom2 = "1.1.4+${PR}+gitr${SRCREV}" PE_omapzoom2 = "1" do_compile_omapzoom2 () { unset LDFLAGS unset CFLAGS unset CPPFLAGS oe_runmake ${UBOOT_MACHINE} oe_runmake all oe_runmake tools } SRC_URI_omapzoom36x = "git://dev.omapzoom.org/pub/scm/bootloader/u-boot.git;branch=master;protocol=git" SRCREV_omapzoom36x = "ab45d2a787a9674bed30542139175d8e090e0749" PV_omapzoom36x = "1.1.4+${PR}+gitr${SRCREV}" PE_omapzoom36x = "1" do_compile_omapzoom36x () { unset LDFLAGS unset CFLAGS unset CPPFLAGS oe_runmake ${UBOOT_MACHINE} oe_runmake all oe_runmake tools } SRC_URI_overo = "git://gitorious.org/u-boot-omap3/mainline.git;branch=omap3-dev;protocol=git \ file://fw-env.patch \ file://dss2.patch \ " SRCREV_overo = "2dea1db2a3b7c12ed70bbf8ee50755089c5e5170" PV_overo = "2009.03+${PR}+gitr${SRCREV}" # DaVinci dm355-evm/dm365-evm/dm6446-evm/dm6467-evm/dm6467t-evm - PSP 3.1.0/3.2.0 (build 35) SRC_URI_dm355-evm = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=u-boot-davinci-2009.06" SRCREV_dm355-evm = "ea7387c9511ac92a46d3d147adffe36f868820e4" PV_dm355-evm = "2009.05+2009.06-rc0+${PR}+gitr${SRCREV}" PE_dm355-evm = "1" SRC_URI_dm365-evm = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=u-boot-davinci-2009.06" SRCREV_dm365-evm = "ea7387c9511ac92a46d3d147adffe36f868820e4" PV_dm365-evm = "2009.05+2009.06-rc0+${PR}+gitr${SRCREV}" PE_dm365-evm = "1" SRC_URI_dm6446-evm = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=u-boot-davinci-2009.06" SRCREV_dm6446-evm = "ea7387c9511ac92a46d3d147adffe36f868820e4" PV_dm6446-evm = "2009.05+2009.06-rc0+${PR}+gitr${SRCREV}" PE_dm6446-evm = "1" SRC_URI_dm6467-evm = "git://arago-project.org/git/projects/u-boot-dm646x.git;protocol=git" SRCREV_dm6467-evm = "98b31e3aae3e3fb772f8d06c18ccdd6265aa0d38" PV_dm6467-evm = "2009.08+${PR}+gitr${SRCREV}" SRC_URI_dm6467t-evm = "git://arago-project.org/git/projects/u-boot-dm646x.git;protocol=git" SRCREV_dm6467t-evm = "98b31e3aae3e3fb772f8d06c18ccdd6265aa0d38" PV_dm6467t-evm = "2009.08+${PR}+gitr${SRCREV}" # OMAPL1 da380-omapl137/da850-omapl138-evm - PSP 3.20.0.11 SRC_URI_da830-omapl137-evm = "git://arago-project.org/git/projects/u-boot-omapl1.git;protocol=git" SRCREV_da830-omapl137-evm = "5f16b8551b125f16cd8d58f278cb25b94272fd9f" PV_da830-omapl137-evm = "2009.11+${PR}+gitr${SRCREV}" SRC_URI_da850-omapl138-evm = "git://arago-project.org/git/projects/u-boot-omapl1.git;protocol=git" SRCREV_da850-omapl138-evm = "5f16b8551b125f16cd8d58f278cb25b94272fd9f" PV_da850-omapl138-evm = "2009.11+${PR}+gitr${SRCREV}" # hawkboard - master branch (hawk still .07beta) SRC_URI_hawkboard = "git://arago-project.org/git/people/sekhar/u-boot-omapl1.git;protocol=git;branch=master" SRCREV_hawkboard = "0d291f2f255e6d66a78b3dc2445362a96ae39a57" PV_hawkboard = "2009.08+gitr${SRCREV}" SRC_URI_dm355-leopard = "git://www.denx.de/git/u-boot-arm.git;protocol=git;branch=master \ " SRCREV_dm355-leopard = "d650da2dd4af99967aabc43cccbd8f160eb4cea6" PV_dm355-leopard = "2009.05+2010.03-rc1+gitr${SRCREV}" SRC_URI_neuros-osd2 = "git://github.com/neuros/u-boot.git;protocol=git;branch=neuros" SRCREV_neuros-osd2 = "8de979d346624c0e4cfe2e5c0f08ce20ca4b5d14" SRC_URI_sequoia = "git://www.denx.de/git/u-boot.git;protocol=git" SRCREV_sequoa = "cf3b41e0c1111dbb865b6e34e9f3c3d3145a6093" SRC_URI_sequoia = "git://www.denx.de/git/u-boot.git;protocol=git;tag=cf3b41e0c1111dbb865b6e34e9f3c3d3145a6093 " SRC_URI_mini2440 = "git://repo.or.cz/u-boot-openmoko/mini2440.git;protocol=git;branch=dev-mini2440-stable" SRCREV_mini2440 = "3516c35fb777ca959e5cadf2156a792ca10e1cff" SRC_URI_micro2440 = "git://repo.or.cz/u-boot-openmoko/mini2440.git;protocol=git;branch=dev-mini2440-stable" SRCREV_micro2440 = "3516c35fb777ca959e5cadf2156a792ca10e1cff" SRC_URI_neuros-osd2 += "file://Makefile-fix.patch" SRC_URI_append_akita = "file://pdaXrom-u-boot.patch \ file://uboot-eabi-fix-HACK2.patch \ file://akita-standard-partitioning.patch \ " SRC_URI_append_spitz = "file://pdaXrom-u-boot.patch \ file://uboot-eabi-fix-HACK2.patch \ file://spitz-standard-partitioning.patch \ " SRC_URI_append_c7x0 = "file://pdaXrom-u-boot.patch \ file://uboot-eabi-fix-HACK2.patch \ file://corgi-standard-partitioning.patch \ " SRC_URI_sheevaplug = "git://git.denx.de/u-boot-marvell.git;protocol=git;branch=testing" SRCREV_sheevaplug = "119b9942da2e450d4e525fc004208dd7f7d062e0" SRC_URI_xilinx-ml507 = "git://git.xilinx.com/u-boot-xlnx.git;protocol=git" SRCREV_xilinx-ml507 = "26e999650cf77c16f33c580abaadab2532f5e8b2" S = "${WORKDIR}/git" do_configure_prepend_akita() { sed -i s:ROOT_FLASH_SIZE:${ROOT_FLASH_SIZE}:g ${S}/include/configs/akita.h } do_configure_prepend_spitz() { sed -i s:ROOT_FLASH_SIZE:${ROOT_FLASH_SIZE}:g ${S}/include/configs/akita.h } do_configure_prepend_c7x0() { sed -i s:ROOT_FLASH_SIZE:${ROOT_FLASH_SIZE}:g ${S}/include/configs/corgi.h } do_compile_append_sheevaplug() { oe_runmake u-boot.kwb } UBOOT_IMAGE_sheevaplug = "u-boot-${MACHINE}-${PV}-${PR}.kwb" UBOOT_BINARY_sheevaplug = "u-boot.kwb" UBOOT_SYMLINK_sheevaplug ?= "u-boot-${MACHINE}.kwb" do_deploy_prepend_mini2440() { cp ${S}/u-boot-nand16k.bin ${S}/u-boot.bin } do_deploy_prepend_micro2440() { cp ${S}/u-boot-nand16k.bin ${S}/u-boot.bin } do_configure_prepend_xilinx-ml507() { if [ -e "${XILINX_BSP_PATH}/ppc440_0/include/xparameters.h" ]; then cp ${XILINX_BSP_PATH}/ppc440_0/include/xparameters.h \ ${S}/board/xilinx/ml507 echo "#define XPAR_PLB_CLOCK_FREQ_HZ XPAR_CPU_PPC440_MPLB_FREQ_HZ #define XPAR_CORE_CLOCK_FREQ_HZ XPAR_CPU_PPC440_CORE_CLOCK_FREQ_HZ #define XPAR_PCI_0_CLOCK_FREQ_HZ 0" >> ${S}/board/xilinx/ml507/xparameters.h fi } do_deploy_prepend_xilinx-ml507() { if [ -d "${XILINX_BSP_PATH}" ]; then install ${S}/u-boot ${XILINX_BSP_PATH} fi }