mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-01 20:02:29 +00:00
uboot-layerscape: Bump to lf-6.1.1-1.0.0 and switch to github
The default location of uboot-layerscape has been changed from codeuaurora to github. Also use the latest tag for Layerscape Linux Development POC from NXP. Tested on: * NXP FRWY-LS1012A * NXP LS1028A-RDB * NXP LS1046A-RDB V2: Remove ls1028ardb specifix fixups not needed with new uboot Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@protonmail.ch> (reset PKG_RELEASE) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
parent
2afabe6779
commit
69c430aa2c
@ -8,13 +8,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=uboot-layerscape
|
||||
PKG_VERSION:=21.08
|
||||
PKG_RELEASE:=7
|
||||
PKG_VERSION:=lf-6.1.1-1.0.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot
|
||||
PKG_SOURCE_VERSION:=LSDK-21.08
|
||||
PKG_MIRROR_HASH:=54909a98bdcc26c7f9b35b35fcae09b977ecbf044be7bffa6dad9306c47cccf6
|
||||
PKG_SOURCE_URL:=https://github.com/nxp-qoriq/u-boot
|
||||
PKG_SOURCE_VERSION:=lf-6.1.1-1.0.0
|
||||
PKG_MIRROR_HASH:=f4a3a262fd8923af72dede0348a512c05b756e3925279553eaf1c6667b186fb4
|
||||
|
||||
include $(INCLUDE_DIR)/u-boot.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
@ -1,33 +0,0 @@
|
||||
Index: uboot-layerscape-lf-6.1.1-1.0.0/arch/arm/cpu/armv8/sec_firmware.c
|
||||
===================================================================
|
||||
--- uboot-layerscape-lf-6.1.1-1.0.0.orig/arch/arm/cpu/armv8/sec_firmware.c
|
||||
+++ uboot-layerscape-lf-6.1.1-1.0.0/arch/arm/cpu/armv8/sec_firmware.c
|
||||
@@ -473,12 +473,6 @@ int fdt_fixup_kaslr(void *fdt)
|
||||
return 0;
|
||||
}
|
||||
|
||||
- ret = sec_firmware_get_random(rand, 8);
|
||||
- if (ret < 0) {
|
||||
- printf("WARNING: No random number to set kaslr-seed\n");
|
||||
- return 0;
|
||||
- }
|
||||
-
|
||||
err = fdt_check_header(fdt);
|
||||
if (err < 0) {
|
||||
printf("fdt_chosen: %s\n", fdt_strerror(err));
|
||||
@@ -490,6 +484,15 @@ int fdt_fixup_kaslr(void *fdt)
|
||||
if (nodeoffset < 0)
|
||||
return 0;
|
||||
|
||||
+ if (fdt_find_or_add_subnode(fdt, nodeoffset, "kaslr-seed"))
|
||||
+ return 0;
|
||||
+
|
||||
+ ret = sec_firmware_get_random(rand, 8);
|
||||
+ if (ret < 0) {
|
||||
+ printf("WARNING: No random number to set kaslr-seed\n");
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
err = fdt_setprop(fdt, nodeoffset, "kaslr-seed", rand,
|
||||
sizeof(rand));
|
||||
if (err < 0) {
|
@ -1,8 +0,0 @@
|
||||
--- a/configs/ls1028ardb_tfa_defconfig
|
||||
+++ b/configs/ls1028ardb_tfa_defconfig
|
||||
@@ -1,5 +1,4 @@
|
||||
CONFIG_ARM=y
|
||||
-CONFIG_GIC_V3_ITS=y
|
||||
CONFIG_TARGET_LS1028ARDB=y
|
||||
CONFIG_TFABOOT=y
|
||||
CONFIG_SYS_MALLOC_F_LEN=0x6000
|
Loading…
Reference in New Issue
Block a user