1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-06 10:50:37 +00:00

u-boot-ti-staging: update to 2019.01

License checksum changed due to extra SPDX lines - no actual license change.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Denys Dmytriyenko
2019-02-07 06:42:42 +00:00
parent 2f28749040
commit 8c44d9161c
4 changed files with 9 additions and 46 deletions
@@ -1,35 +0,0 @@
From ec81bbe3ea7e077512f4b9d2b4aa87e7f1494bcc Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 17 Oct 2018 22:32:57 -0700
Subject: [PATCH] Always build with -fno-PIE
GNU Toolchains can be configured to generate PIE by default
while PIE could be ok, it is known that u-boot/SPL on ARM starts to
generate bigger code and starts to overflow the SRAM size, therefore
disabling PIE explcitly insulates against toolchain intrinsic defaults
Fixes errors like
| arm-yoe-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will not fit in region `.sram'
| arm-yoe-linux-gnueabi-ld.bfd: region `.sram' overflowed by 5772 bytes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 45cd751ba3..9eb8ac564e 100644
--- a/Makefile
+++ b/Makefile
@@ -592,6 +592,7 @@ KBUILD_CFLAGS += -O2
endif
KBUILD_CFLAGS += $(call cc-option,-fno-stack-protector)
+KBUILD_CFLAGS += $(call cc-option,-fno-PIE)
KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks)
KBUILD_CFLAGS += -g
--
2.19.1
@@ -1,9 +0,0 @@
require u-boot-ti.inc
PR = "r30"
BRANCH = "ti-u-boot-2018.01"
SRCREV = "313dcd69c2b32648266f91bcf223f9e539bc4201"
SRC_URI += "file://0001-Always-build-with-fno-PIE.patch"
@@ -0,0 +1,7 @@
require u-boot-ti.inc
PR = "r0"
BRANCH = "ti-u-boot-2019.01"
SRCREV = "721a0ba045e97f4532718d38ed6941eb9a167225"
+2 -2
View File
@@ -20,7 +20,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
SUMMARY = "u-boot bootloader for TI devices"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
BRANCH ?= "master"
UBOOT_GIT_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git"
@@ -30,7 +30,7 @@ SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
PV_append = "+git${SRCPV}"
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native bc-native lzop-native"
DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native"
PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/boot/bl31.bin,,arm-trusted-firmware"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}/boot/bl32.bin,,optee-os"