diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2018-07-04 12:20:41 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-22 21:20:56 +0200 |
commit | dcf57c766acc5224e05f62cf5fae2d965abace59 (patch) | |
tree | 2925da645e9836eca4af550729cc693853dec1c2 /target/linux/layerscape/image/Makefile | |
parent | e83faa3d7d5cd8fe8753e86bd25e04fd61b70490 (diff) | |
download | upstream-dcf57c766acc5224e05f62cf5fae2d965abace59.tar.gz upstream-dcf57c766acc5224e05f62cf5fae2d965abace59.tar.bz2 upstream-dcf57c766acc5224e05f62cf5fae2d965abace59.zip |
layerscape: update u-boot to LSDK-18.06
The u-boot source code had been migrated to codeaurora
for LSDK-18.06 release and the future release. This
patch is to update u-boot to LSDK-18.06 for both
uboot-layerscape and uboot-layerscape-armv8_32b packages.
Besides, this patch also introduced some other changes.
- Reworked uboot-layerscape makefile to make it more
readable.
- Define package in uboot-layerscape-armv8_32b for each board.
- Fixed u-boot package selection in target image makefile.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'target/linux/layerscape/image/Makefile')
-rw-r--r-- | target/linux/layerscape/image/Makefile | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/target/linux/layerscape/image/Makefile b/target/linux/layerscape/image/Makefile index 5bf094f14c..8e85f76848 100644 --- a/target/linux/layerscape/image/Makefile +++ b/target/linux/layerscape/image/Makefile @@ -15,7 +15,7 @@ define Build/append-ls-rcw endef define Build/append-ls-uboot - dd if=$(STAGING_DIR_IMAGE)/$(1)-$(SUBTARGET)-uboot.bin >> $@ + dd if=$(STAGING_DIR_IMAGE)/$(1)-uboot.bin >> $@ endef define Build/append-ls-ppa @@ -79,8 +79,11 @@ endef define Device/ls1043ardb DEVICE_TITLE := ls1043ardb-$(SUBTARGET) - DEVICE_PACKAGES += layerscape-rcw-ls1043ardb uboot-layerscape-$(SUBTARGET)-ls1043ardb \ - layerscape-fman-ls1043ardb layerscape-ppa-ls1043ardb + DEVICE_PACKAGES += layerscape-rcw-ls1043ardb layerscape-fman-ls1043ardb \ + layerscape-ppa-ls1043ardb + ifeq ($(SUBTARGET),armv8_32b) + DEVICE_PACKAGES += u-boot-ls1043ardb-image + endif DEVICE_DTS = ../../../arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk IMAGE/firmware.bin = append-ls-rcw $(1) | pad-to 1M | \ append-ls-uboot $(1) | pad-to 4M | \ @@ -94,8 +97,11 @@ TARGET_DEVICES += ls1043ardb define Device/ls1046ardb DEVICE_TITLE := ls1046ardb-$(SUBTARGET) - DEVICE_PACKAGES += layerscape-rcw-ls1046ardb uboot-layerscape-$(SUBTARGET)-ls1046ardb \ - layerscape-fman-ls1046ardb layerscape-ppa-ls1046ardb + DEVICE_PACKAGES += layerscape-rcw-ls1046ardb layerscape-fman-ls1046ardb \ + layerscape-ppa-ls1046ardb + ifeq ($(SUBTARGET),armv8_32b) + DEVICE_PACKAGES += u-boot-ls1046ardb-image + endif DEVICE_DTS = ../../../arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk FILESYSTEMS := ubifs UBIFS_OPTS := -m 1 -e 262016 -c 128 @@ -114,8 +120,11 @@ TARGET_DEVICES += ls1046ardb define Device/ls1012ardb DEVICE_TITLE := ls1012ardb-$(SUBTARGET) - DEVICE_PACKAGES += layerscape-rcw-ls1012ardb uboot-layerscape-$(SUBTARGET)-ls1012ardb \ - kmod-ppfe layerscape-ppfe layerscape-ppa-ls1012ardb + DEVICE_PACKAGES += layerscape-rcw-ls1012ardb layerscape-ppfe \ + layerscape-ppa-ls1012ardb kmod-ppfe + ifeq ($(SUBTARGET),armv8_32b) + DEVICE_PACKAGES += u-boot-ls1012ardb-image + endif DEVICE_DTS = ../../../arm64/boot/dts/freescale/fsl-ls1012a-rdb FILESYSTEMS := ubifs UBIFS_OPTS := -m 1 -e 262016 -c 128 @@ -134,8 +143,11 @@ TARGET_DEVICES += ls1012ardb define Device/ls1012afrdm DEVICE_TITLE := ls1012afrdm-$(SUBTARGET) - DEVICE_PACKAGES += layerscape-rcw-ls1012afrdm uboot-layerscape-$(SUBTARGET)-ls1012afrdm \ - kmod-ppfe layerscape-ppfe layerscape-ppa-ls1012afrdm + DEVICE_PACKAGES += layerscape-rcw-ls1012afrdm layerscape-ppfe \ + layerscape-ppa-ls1012afrdm kmod-ppfe + ifeq ($(SUBTARGET),armv8_32b) + DEVICE_PACKAGES += u-boot-ls1012afrdm-image + endif DEVICE_DTS = ../../../arm64/boot/dts/freescale/fsl-ls1012a-frdm FILESYSTEMS := ubifs UBIFS_OPTS := -m 1 -e 262016 -c 128 |