aboutsummaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-socfpga_v2017.03.bb
blob: 4da4f66f8eb4ce5e58482c52a8fcc522e615be35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
require recipes-bsp/u-boot/u-boot-socfpga-common.inc                                               
require recipes-bsp/u-boot/u-boot-socfpga-env.inc                                                  
require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc 

PR = "r0"

FILESEXTRAPATHS_prepend := "${THISDIR}/files/v2017.03:"

DEPENDS += "u-boot-mkimage-native"

SRCREV = "b24cf8540a85a9bf97975aadd6a7542f166c78a3"

SRCREV_FORMAT = "hardware"

# Build:03-22-17_01.32.46 QUARTUS:Version=16.1.2.203
SRCREV_hardware = "d03450606b22a5f4f0d39da79fe169745ceffbec" 

LICENSE = "dummy"

SRC_URI_append = "\
	file://0001-arm-socfpga-Move-CONFIG_EXTRA_ENV_SETTINGS-to-common.patch \
	file://0002-arm-socfpga-Update-DE0-Nano-SoC-to-support-distro-bo.patch \
	file://0003-arm-socfpga-add-support-for-Terasic-DE10-Nano-board.patch \
	file://0004-Add-HDMI-init-to-de10-env.patch \
	file://0005-Add-DE10-Nano-HDMI-configuration-and-debug-apps.patch \
	file://0006-arm-socfpga-fix-issue-with-warm-reset-when-CSEL-is-0.patch \
	file://STARTUP.BMP \
	file://STARTUP.BMP.LICENSE \
	"

SRC_URI_append_de0-nano = "\
	git://github.com/01org/de10-nano-hardware.git;destsuffix=hardware;name=hardware;branch=RELEASE_BUILDS;protocol=https \
"

SRC_URI_append_de10-nano = "\
	git://github.com/01org/de10-nano-hardware.git;destsuffix=hardware;name=hardware;branch=RELEASE_BUILDS;protocol=https \
"

# Update project specific files in uboot 
do_configure_append_de0-nano() {
	${WORKDIR}/git/arch/arm/mach-socfpga/qts-filter.sh \
	    cyclone5 \
	    ${WORKDIR}/hardware/de0-nano/ \
	    ${WORKDIR}/hardware/de0-nano/preloader/ \
	    ${WORKDIR}/git//board/terasic/de0-nano-soc/qts/
}

do_configure_append_de10-nano() {
	${WORKDIR}/git/arch/arm/mach-socfpga/qts-filter.sh \
	    cyclone5 \
	    ${WORKDIR}/hardware/de10-nano/ \
	    ${WORKDIR}/hardware/de10-nano/preloader/ \
	    ${WORKDIR}/git/board/terasic/de10-nano/qts/
}

do_deploy_append() {
	install -m 644 ${B}/socfpga_de10_nano_defconfig/examples/standalone/de10_nano_hdmi_config.bin ${DEPLOYDIR}
	install -m 644 ${B}/socfpga_de10_nano_defconfig/examples/standalone/de10_nano_hdmi_config.srec ${DEPLOYDIR}

	install -m 644 ${B}/socfpga_de10_nano_defconfig/examples/standalone/dump_adv7513_edid.bin ${DEPLOYDIR}
	install -m 644 ${B}/socfpga_de10_nano_defconfig/examples/standalone/dump_adv7513_edid.srec ${DEPLOYDIR}

	install -m 644 ${B}/socfpga_de10_nano_defconfig/examples/standalone/dump_adv7513_regs.bin ${DEPLOYDIR}
	install -m 644 ${B}/socfpga_de10_nano_defconfig/examples/standalone/dump_adv7513_regs.srec ${DEPLOYDIR}

	install -m 644 ${WORKDIR}/STARTUP.BMP ${DEPLOYDIR}
	install -m 644 ${WORKDIR}/STARTUP.BMP.LICENSE ${DEPLOYDIR}
}

DEPENDS += "dtc-native"                                                         
DEPENDS += "u-boot-mkimage-native"