mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
layerscape: update u-boot to LSDK1712
This patch is to update layerscape u-boot to NXP LSDK1712 release. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
This commit is contained in:
parent
0f7c83bb26
commit
d6fd44cebf
@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uboot-layerscape-armv8_32b
|
PKG_NAME:=uboot-layerscape-armv8_32b
|
||||||
PKG_SOURCE_DATE:=2017-10-24
|
PKG_SOURCE_DATE:=2018-01-19
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
# Layerscape ARMv8 platforms use 64-bit u-boot to support both 32-bit and 64-bit
|
# Layerscape ARMv8 platforms use 64-bit u-boot to support both 32-bit and 64-bit
|
||||||
@ -17,8 +17,8 @@ PKG_RELEASE:=1
|
|||||||
# uboot-layerscape's source code.
|
# uboot-layerscape's source code.
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git
|
PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git
|
||||||
PKG_SOURCE_VERSION:=43cb4c0fcab237f8daa39c393cc1441b76b99fcf
|
PKG_SOURCE_VERSION:=9fbc70acb44171a3a9be232c17dbed6067a22dfb
|
||||||
PKG_MIRROR_HASH:=ff7d1fcb85dda2be6a9e3785821b5791c7189d2d412b160a9621bb2dcad24dea
|
PKG_MIRROR_HASH:=4ad42eb27952fc427e5763295b530b43d29894b9fe9b2cc34b66216ba0cdad70
|
||||||
|
|
||||||
PKG_MAINTAINER:=Yangbo Lu <yangbo.lu@nxp.com>
|
PKG_MAINTAINER:=Yangbo Lu <yangbo.lu@nxp.com>
|
||||||
|
|
||||||
|
@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=uboot-layerscape
|
PKG_NAME:=uboot-layerscape
|
||||||
PKG_SOURCE_DATE:=2017-08-24
|
PKG_SOURCE_DATE:=2017-12-07
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/qoriq-open-source/u-boot.git
|
PKG_SOURCE_URL:=https://github.com/qoriq-open-source/u-boot.git
|
||||||
PKG_SOURCE_VERSION:=fbedf04c1bad675eadbac86febdcf759441a02af
|
PKG_SOURCE_VERSION:=9f7df1b406ff11409021cd2112beedd6b57bb600
|
||||||
PKG_MIRROR_HASH:=29922f83ce3e8dde163eafcfd07f3595e2779b7a3e8eb43640f058f58248718d
|
PKG_MIRROR_HASH:=b3756f814b731af2d03b0582ece90b2de564955b778f341fbfc34fa9bd849819
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/u-boot.mk
|
include $(INCLUDE_DIR)/u-boot.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
From 74be1b50f96b3ada0a4fc18f0283659739edbadf Mon Sep 17 00:00:00 2001
|
From d1b42455f62baefe7fb782d0d7100715b0fdb41f Mon Sep 17 00:00:00 2001
|
||||||
From: Yangbo Lu <yangbo.lu@nxp.com>
|
From: Yangbo Lu <yangbo.lu@nxp.com>
|
||||||
Date: Fri, 22 Sep 2017 11:00:12 +0800
|
Date: Fri, 19 Jan 2018 10:16:57 +0800
|
||||||
Subject: [PATCH 1/3] armv8: ls1043a: add LEDE boot support in environment
|
Subject: [PATCH] armv8: ls1043a: add LEDE boot support in environment
|
||||||
|
|
||||||
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
||||||
---
|
---
|
||||||
include/configs/ls1043a_common.h | 20 +++++++++++++++++++-
|
include/configs/ls1043a_common.h | 20 +++++++++++++++++++-
|
||||||
1 file changed, 19 insertions(+), 1 deletion(-)
|
1 files changed, 19 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
|
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
|
||||||
index 0b3fb4e..5c01111 100644
|
index c437ce5..48ecff5 100644
|
||||||
--- a/include/configs/ls1043a_common.h
|
--- a/include/configs/ls1043a_common.h
|
||||||
+++ b/include/configs/ls1043a_common.h
|
+++ b/include/configs/ls1043a_common.h
|
||||||
@@ -336,7 +336,19 @@
|
@@ -341,7 +341,19 @@
|
||||||
"sd_bootcmd=echo Trying load from SD ..;" \
|
"env exists secureboot && mmc read $kernelheader_addr_r " \
|
||||||
"mmcinfo; mmc read $load_addr " \
|
"$kernelhdr_addr_sd $kernelhdr_size_sd " \
|
||||||
"$kernel_addr_sd $kernel_size_sd ;" \
|
" && esbc_validate ${kernelheader_addr_r};" \
|
||||||
- " bootm $load_addr#$board\0"
|
- " bootm $load_addr#$board\0"
|
||||||
+ " bootm $load_addr#$board\0" \
|
+ " bootm $load_addr#$board\0" \
|
||||||
+ "lede_setenv=setenv loadaddr 82000000 && " \
|
+ "lede_setenv=setenv loadaddr 82000000 && " \
|
||||||
@ -33,7 +33,7 @@ index 0b3fb4e..5c01111 100644
|
|||||||
|
|
||||||
|
|
||||||
#undef CONFIG_BOOTCOMMAND
|
#undef CONFIG_BOOTCOMMAND
|
||||||
@@ -351,6 +363,12 @@
|
@@ -356,6 +368,12 @@
|
||||||
"env exists secureboot && esbc_halt;"
|
"env exists secureboot && esbc_halt;"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -47,5 +47,5 @@ index 0b3fb4e..5c01111 100644
|
|||||||
"earlycon=uart8250,mmio,0x21c0500 " \
|
"earlycon=uart8250,mmio,0x21c0500 " \
|
||||||
MTDPARTS_DEFAULT
|
MTDPARTS_DEFAULT
|
||||||
--
|
--
|
||||||
2.7.4
|
1.7.1
|
||||||
|
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
From dc0e8734ea1c679738377d13bdd9bf3fa644e6b3 Mon Sep 17 00:00:00 2001
|
From a5293c6d5fdacf84fdd4772d0532aa5478df4d3c Mon Sep 17 00:00:00 2001
|
||||||
From: Yangbo Lu <yangbo.lu@nxp.com>
|
From: Yangbo Lu <yangbo.lu@nxp.com>
|
||||||
Date: Fri, 22 Sep 2017 11:36:43 +0800
|
Date: Fri, 19 Jan 2018 10:18:47 +0800
|
||||||
Subject: [PATCH 2/3] armv8: ls1046ardb: add LEDE boot support in environment
|
Subject: [PATCH] armv8: ls1046ardb: add LEDE boot support in environment
|
||||||
|
|
||||||
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
|
||||||
---
|
---
|
||||||
include/configs/ls1046a_common.h | 15 ++++++++++++++-
|
include/configs/ls1046a_common.h | 15 ++++++++++++++-
|
||||||
include/configs/ls1046ardb.h | 6 ++++++
|
include/configs/ls1046ardb.h | 6 ++++++
|
||||||
2 files changed, 20 insertions(+), 1 deletion(-)
|
2 files changed, 20 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
|
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
|
||||||
index 4fc2f94..53bd41b 100644
|
index d163347..d26147b 100644
|
||||||
--- a/include/configs/ls1046a_common.h
|
--- a/include/configs/ls1046a_common.h
|
||||||
+++ b/include/configs/ls1046a_common.h
|
+++ b/include/configs/ls1046a_common.h
|
||||||
@@ -276,7 +276,20 @@
|
@@ -281,7 +281,20 @@
|
||||||
"sd_bootcmd=echo Trying load from SD ..;" \
|
"env exists secureboot && mmc read $kernelheader_addr_r " \
|
||||||
"mmcinfo; mmc read $load_addr " \
|
"$kernelhdr_addr_sd $kernelhdr_size_sd " \
|
||||||
"$kernel_addr_sd $kernel_size_sd ;" \
|
" && esbc_validate ${kernelheader_addr_r};" \
|
||||||
- " bootm $load_addr#$board\0"
|
- " bootm $load_addr#$board\0"
|
||||||
+ " bootm $load_addr#$board\0" \
|
+ " bootm $load_addr#$board\0" \
|
||||||
+ "lede_setenv=setenv loadaddr 82000000 && " \
|
+ "lede_setenv=setenv loadaddr 82000000 && " \
|
||||||
@ -36,10 +36,10 @@ index 4fc2f94..53bd41b 100644
|
|||||||
|
|
||||||
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=/dev/ram0 " \
|
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=/dev/ram0 " \
|
||||||
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
|
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
|
||||||
index f8c15a6..c3b50b1 100644
|
index 4475ac7..15e7858 100644
|
||||||
--- a/include/configs/ls1046ardb.h
|
--- a/include/configs/ls1046ardb.h
|
||||||
+++ b/include/configs/ls1046ardb.h
|
+++ b/include/configs/ls1046ardb.h
|
||||||
@@ -251,6 +251,12 @@
|
@@ -253,6 +253,12 @@
|
||||||
"env exists secureboot && esbc_halt;"
|
"env exists secureboot && esbc_halt;"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -53,5 +53,5 @@ index f8c15a6..c3b50b1 100644
|
|||||||
"15m(u-boot),48m(kernel.itb);" \
|
"15m(u-boot),48m(kernel.itb);" \
|
||||||
"7e800000.flash:16m(nand_uboot)," \
|
"7e800000.flash:16m(nand_uboot)," \
|
||||||
--
|
--
|
||||||
2.7.4
|
1.7.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user