OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 4... | Line 4... | |||
4 | # This is free software, licensed under the GNU General Public License v2. |
4 | # This is free software, licensed under the GNU General Public License v2. |
|
5 | # See /LICENSE for more information. |
5 | # See /LICENSE for more information. |
|
6 | # |
6 | # |
|
Line 7... | Line 7... | |||
7 | |
7 | |
|
- | 8 | include $(TOPDIR)/rules.mk |
||
Line 8... | Line 9... | |||
8 | include $(TOPDIR)/rules.mk |
9 | include $(INCLUDE_DIR)/kernel.mk |
|
9 | |
10 | |
|
10 | PKG_NAME:=uboot-layerscape |
11 | PKG_NAME:=uboot-layerscape |
|
Line 11... | Line 12... | |||
11 | PKG_VERSION:=lsdk-1806 |
12 | PKG_SOURCE_DATE:=2017-12-07 |
|
12 | PKG_RELEASE:=1 |
13 | PKG_RELEASE:=1 |
|
13 | |
14 | |
|
14 | PKG_SOURCE_PROTO:=git |
15 | PKG_SOURCE_PROTO:=git |
|
Line 15... | Line 16... | |||
15 | PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot |
16 | PKG_SOURCE_URL:=https://github.com/qoriq-open-source/u-boot.git |
|
16 | PKG_SOURCE_VERSION:=b3f98d438eefd1b355efdec0b50af5813ff8d0e1 |
17 | PKG_SOURCE_VERSION:=9f7df1b406ff11409021cd2112beedd6b57bb600 |
|
Line 17... | Line 18... | |||
17 | PKG_MIRROR_HASH:=59e35957055658e7fdefb16b92f954356985a8191942d93f254861c75c47b32b |
18 | PKG_MIRROR_HASH:=b3756f814b731af2d03b0582ece90b2de564955b778f341fbfc34fa9bd849819 |
|
18 | |
19 | |
|
19 | include $(INCLUDE_DIR)/u-boot.mk |
20 | include $(INCLUDE_DIR)/u-boot.mk |
|
20 | include $(INCLUDE_DIR)/package.mk |
21 | include $(INCLUDE_DIR)/package.mk |
|
21 | |
22 | |
|
22 | define U-Boot/Default |
23 | define U-Boot/Default |
|
23 | BUILD_TARGET:=layerscape |
- | ||
24 | BUILD_SUBTARGET:=armv8_64b |
- | ||
25 | BUILD_DEVICES:=$(1) |
- | ||
26 | UBOOT_IMAGE:=u-boot-dtb.bin |
- | ||
27 | ENV_SIZE:=0x2000 |
- | ||
28 | endef |
- | ||
29 | |
- | ||
30 | define U-Boot/ls1012ardb |
- | ||
31 | NAME:=NXP LS1012ARDB |
- | ||
32 | UBOOT_CONFIG:=ls1012ardb_qspi |
- | ||
33 | ENV_SIZE:=0x40000 |
- | ||
34 | endef |
- | ||
35 | |
24 | BUILD_TARGET:=layerscape |
|
Line 36... | Line 25... | |||
36 | define U-Boot/ls1012afrwy |
25 | BUILD_SUBTARGET:=armv8_64b |
|
37 | NAME:=NXP LS1012AFRWY |
- | ||
38 | UBOOT_CONFIG:=ls1012afrwy_qspi |
- | ||
39 | ENV_SIZE:=0x10000 |
- | ||
40 | endef |
- | ||
41 | |
- | ||
42 | define U-Boot/ls1043ardb |
26 | BUILD_DEVICES:=$(1) |
|
43 | NAME:=NXP LS1043ARDB |
- | ||
44 | ENV_SIZE:=0x20000 |
- | ||
45 | endef |
27 | UBOOT_IMAGE:=u-boot-dtb.bin |
|
Line 46... | Line 28... | |||
46 | |
28 | HIDDEN:=y |
|
47 | define U-Boot/ls1043ardb-sdboot |
29 | endef |
|
48 | NAME:=NXP LS1043ARDB SD Card Boot |
30 | |
|
49 | UBOOT_CONFIG:=ls1043ardb_sdcard |
31 | define U-Boot/ls1043ardb |
|
Line 50... | Line 32... | |||
50 | UBOOT_IMAGE:=u-boot-with-spl-pbl.bin |
32 | NAME:=NXP ls1043ardb 64b Dev Board |
|
51 | endef |
33 | endef |
|
52 | |
34 | |
|
53 | define U-Boot/ls1046ardb |
- | ||
54 | NAME:=NXP LS1046ARDB |
35 | define U-Boot/ls1046ardb |
|
Line 55... | Line 36... | |||
55 | UBOOT_CONFIG:=ls1046ardb_qspi |
36 | NAME:=NXP ls1046ardb 64b Dev Board |
|
56 | endef |
37 | UBOOT_CONFIG:=ls1046ardb_qspi |
|
57 | |
38 | endef |
|
58 | define U-Boot/ls1046ardb-sdboot |
39 | |
|
Line 59... | Line -... | |||
59 | NAME:=NXP LS1046ARDB SD Card Boot |
- | ||
60 | UBOOT_CONFIG:=ls1046ardb_sdcard |
- | ||
61 | UBOOT_IMAGE:=u-boot-with-spl-pbl.bin |
- | ||
62 | endef |
- | ||
63 | |
- | ||
64 | define U-Boot/ls1088ardb |
- | ||
65 | NAME:=NXP LS1088ARDB |
40 | define U-Boot/ls1012ardb |
|
66 | UBOOT_CONFIG:=ls1088ardb_qspi |
41 | NAME:=NXP ls1012ardb 64b Dev Board |
|
67 | endef |
42 | UBOOT_CONFIG:=ls1012ardb_qspi |
|
68 | |
43 | endef |
|
Line 69... | Line 44... | |||
69 | define U-Boot/ls1088ardb-sdboot |
44 | |
|
70 | NAME:=NXP LS1088ARDB SD Card Boot |
- | ||
71 | UBOOT_CONFIG:=ls1088ardb_sdcard_qspi |
- | ||
72 | UBOOT_IMAGE:=u-boot-with-spl.bin |
- | ||
73 | endef |
- | ||
74 | |
- | ||
75 | define U-Boot/ls2088ardb |
- | ||
76 | NAME:=NXP LS2088ARDB |
- | ||
77 | UBOOT_CONFIG:=ls2080ardb |
45 | define U-Boot/ls1088ardb |
|
78 | endef |
- | ||
79 | |
- | ||
80 | define U-Boot/ls1021atwr |
- | ||
81 | NAME:=NXP LS1021ATWR |
- | ||
82 | BUILD_SUBTARGET:=armv7 |
- | ||
83 | UBOOT_CONFIG:=ls1021atwr_nor |
- | ||
84 | ENV_SIZE:=0x20000 |
- | ||
85 | endef |
- | ||
86 | |
- | ||
87 | define U-Boot/ls1021atwr-sdboot |
46 | NAME:=NXP ls1088ardb 64b Dev Board |
|
88 | NAME:=NXP LS1021ATWR SD Card Boot |
- | ||
89 | BUILD_SUBTARGET:=armv7 |
- | ||
90 | UBOOT_CONFIG:=ls1021atwr_sdcard_ifc |
47 | UBOOT_CONFIG:=ls1088ardb_qspi |
|
Line 91... | Line -... | |||
91 | UBOOT_IMAGE:=u-boot-with-spl-pbl.bin |
- | ||
92 | ENV_SIZE:=0x20000 |
48 | endef |
|
93 | endef |
49 | |
|
94 | |
- | ||
95 | define U-Boot/ls1021aiot-sdboot |
50 | define U-Boot/ls2088ardb |
|
96 | NAME:=NXP LS1021AIOT SD Card Boot |
- | ||
97 | BUILD_SUBTARGET:=armv7 |
51 | NAME:=NXP ls2088ardb 64b Dev Board |
|
98 | UBOOT_CONFIG:=ls1021aiot_sdcard |
- | ||
99 | UBOOT_IMAGE:=u-boot-with-spl-pbl.bin |
52 | UBOOT_CONFIG:=ls2080ardb |
|
100 | ENV_SIZE:=0x2000 |
- | ||
101 | endef |
53 | endef |
|
102 | |
54 | |
|
103 | |
- | ||
104 | UBOOT_TARGETS := \ |
- | ||
Line 105... | Line 55... | |||
105 | ls1012ardb \ |
55 | define U-Boot/ls1012afrdm |
|
106 | ls1012afrwy \ |
56 | NAME:=NXP ls1012afrdm 64b Dev Board |
|
107 | ls1043ardb \ |
57 | UBOOT_CONFIG:=ls1012afrdm_qspi |
|
108 | ls1043ardb-sdboot \ |
- | ||
109 | ls1046ardb \ |
- | ||
110 | ls1046ardb-sdboot \ |
- | ||
111 | ls1088ardb \ |
- | ||
112 | ls1088ardb-sdboot \ |
58 | endef |
|
Line 113... | Line 59... | |||
113 | ls2088ardb \ |
59 | |
|
114 | ls1021atwr \ |
60 | UBOOT_TARGETS := \ |