Skip to content

Commit 94560d8

Browse files
committed
all:
- add DEB packages - gatesgarth compatibility preps - direct SD preps - various tree cleanups SDK: - make is included sp_make: - can download image parts if required - more flexible ISP: - renew ref Kernel: - renew ref - bcmdhd reset is in OF - mcp251xFD patches - HDMI/FB settings updated - Mailbox is anabled by default - graphical console and usb keyboard is enabled by default - MCP4531, DS3232, oather iio devices - temporary in-tree FB patche U-Boot: - renew ref - new patches xboot-tools: - is general dependancy now arm926 firmware: - renew bnoos ref Images: - can-utils is preinstalled - new img-spmo image without xboot dependancy - new image-tps-basd Debian/Ubuntu image Packets: - new test-IPC tool - dstat - nmap - zabbix - grafana - prometheus - GUI: openbox, twm, core-X11, fbset - Browsers: epiphany, surf
1 parent bbbbb3d commit 94560d8

File tree

273 files changed

+11395
-14637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+11395
-14637
lines changed

build.tppg2/conf/local.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ BBMULTICONFIG ?= "tpp-tppg2 tpp-tppg2-arm5 qemux86-64"
113113
# - 'package_rpm' for rpm style packages
114114
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
115115
# We default to rpm:
116-
PACKAGE_CLASSES ?= "package_rpm"
116+
PACKAGE_CLASSES ?= "package_rpm package_deb"
117117

118118
#
119119
# SDK target architecture

meta-sunplus/conf/layer.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "sunplus"
99
BBFILE_PATTERN_sunplus = "^${LAYERDIR}/"
1010
BBFILE_PRIORITY_sunplus = "9"
1111
LAYERVERSION_sunplus = "1"
12-
LAYERSERIES_COMPAT_sunplus = "pyro rocko sumo thud warrior zeus dunfell"
12+
LAYERSERIES_COMPAT_sunplus = "pyro rocko sumo thud warrior zeus dunfell gatesgarth"
1313
LAYERDEPENDS_sunplus = "tibbo"
1414
#LAYERDEPENDS_tibbopriv += "openembedded-layer"
1515
#LAYERRECOMMENDS_tibbopriv = "qt5-layer"

meta-sunplus/recipes-bsp/b-chip/bnoos-src-gh.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
SRCREV = "06f0f632da8fd9a98104ff819defaaae67396289"
32
SRCREV = "1bb50c2b53fc47229e7e5c451adec1447e701143"
3+
SRCREV = "7d0effa360f58807578916786d17c56754bcf820"
44
SRC_URI = "git://github.com/tibbotech/plus1_Bnoos.git;branch=master;"
55

66
#SRC_URI += "file://Makefile.2.patch"

meta-sunplus/recipes-bsp/b-chip/bnoos-src-sp.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
SRCREV = "06f0f632da8fd9a98104ff819defaaae67396289"
32
SRCREV = "1bb50c2b53fc47229e7e5c451adec1447e701143"
3+
SRCREV = "7d0effa360f58807578916786d17c56754bcf820"
44
SRC_URI = "git://git@113.196.136.131:22/qac628/Bchip-non-os;protocol=ssh;branch=master;"
55

66
#SRC_URI += "file://Makefile.2.patch"

meta-sunplus/recipes-bsp/b-chip/bnoos.inc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,23 @@ S = "${WORKDIR}/git"
1111
inherit deploy
1212

1313
do_compile() {
14-
# cd ${S}/tools/isp;
1514
oe_runmake
1615
}
1716

1817
do_deploy() {
19-
# install -d ${DEPLOYDIR}/sp_tools/
2018
install -p -m0644 ${B}/bin/rom.bin ${DEPLOY_DIR_IMAGE}/a926.bin
2119
touch ${DEPLOY_DIR_IMAGE}/a926-empty.bin
20+
export MKIMAGE=${DEPLOY_DIR_IMAGE}/sp_tools/mkimage;
21+
${STAGING_DIR_NATIVE}/sp_tools/add_uhdr.sh nonos_B ${DEPLOY_DIR_IMAGE}/a926.bin ${DEPLOY_DIR_IMAGE}/a926.img arm 0x100040 0x100040
22+
${STAGING_DIR_NATIVE}/sp_tools/add_uhdr.sh nonos_B ${DEPLOY_DIR_IMAGE}/a926-empty.bin ${DEPLOY_DIR_IMAGE}/a926-empty.img arm 0x100040 0x100040
2223
}
2324

2425
FILES_${PN} += "*"
2526

2627
addtask do_deploy after do_compile before do_build
2728

2829
do_configure[noexec] = "1"
30+
31+
DEPENDS += "isp-native"
32+
# this has to be u-boot-SP mkimage
33+
DEPENDS += "u-boot-mkimage-native"

meta-sunplus/recipes-bsp/isp/files/gen_signature.sh.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
SRCREV = "7e3dfa126409109fa428a75ff49c29ab70d03de6"
2+
SRCREV = "48a0a8c6b880a30d27d3a4953777b34efc53a489"
33

44
SRC_URI = "git://github.com/tibbotech/plus1_isp.git;branch=master;"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
#SRCREV = "6a0ab5c22a7f6f08cdabd2ac2f78666fb137716c"
3-
SRCREV = "7e3dfa126409109fa428a75ff49c29ab70d03de6"
2+
SRCREV = "48a0a8c6b880a30d27d3a4953777b34efc53a489"
43

54
SRC_URI = "git://git@113.196.136.131:22/qac628/build;protocol=ssh;branch=master;"

meta-sunplus/recipes-bsp/isp/isp.inc

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,48 @@ SECTION = "devel"
66
LICENSE = "GPLv2+"
77
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
88

9-
SRC_URI += "file://gen_signature.sh.patch"
10-
119
S = "${WORKDIR}/git"
1210

13-
inherit deploy native
11+
inherit deploy autotools
1412

1513
do_compile() {
1614
cd ${S}/tools/isp;
1715
oe_runmake
1816
}
1917

18+
do_install() {
19+
install -d ${D}${base_prefix}/sp_tools/
20+
install -d ${D}${base_prefix}/sp_tools/secure_sign/
21+
install -d ${D}${base_prefix}/sp_tools/secure_sign/sign_keys/test-keys/
22+
install -p -m0755 ${S}/tools/add_uhdr.sh ${D}${base_prefix}/sp_tools/
23+
install -p -m0755 ${S}/tools/secure_sign/gen_signature.sh ${D}${base_prefix}/sp_tools/secure_sign/
24+
install -p -m0755 ${S}/tools/secure_sign/sign_ed25519 ${D}${base_prefix}/sp_tools/secure_sign/
25+
install -p ${S}/tools/secure_sign/sign_keys/test-keys/*.hex ${D}${base_prefix}/sp_tools/secure_sign/sign_keys/test-keys/
26+
}
27+
2028
do_deploy() {
2129
install -d ${DEPLOYDIR}/sp_tools/
22-
install -p -m0755 ${B}/tools/isp/isp ${DEPLOYDIR}/sp_tools/
23-
install -p -m0755 ${B}/isp.sh ${DEPLOYDIR}/sp_tools/
24-
install -p -m0755 ${B}/part.sh ${DEPLOYDIR}/sp_tools/
25-
install -p -m0755 ${B}/tools/add_uhdr.sh ${DEPLOYDIR}/sp_tools/
30+
install -p -m0755 ${S}/tools/isp/isp ${DEPLOYDIR}/sp_tools/
31+
install -p -m0755 ${S}/isp.sh ${DEPLOYDIR}/sp_tools/
32+
install -p -m0755 ${S}/part.sh ${DEPLOYDIR}/sp_tools/
33+
install -p -m0755 ${S}/tools/add_uhdr.sh ${DEPLOYDIR}/sp_tools/
34+
2635
install -d ${DEPLOYDIR}/sp_tools/secure_sign/sign_keys/test-keys/
27-
install -p -m0755 ${B}/tools/secure_sign/gen_signature.sh ${DEPLOYDIR}/sp_tools/secure_sign/
28-
install -p -m0755 ${B}/tools/secure_sign/sign_ed25519 ${DEPLOYDIR}/sp_tools/secure_sign/
29-
install -p ${B}/tools/secure_sign/sign_keys/readme.txt ${DEPLOYDIR}/sp_tools/secure_sign/sign_keys/
30-
install -p ${B}/tools/secure_sign/sign_keys/test-keys/*.hex ${DEPLOYDIR}/sp_tools/secure_sign/sign_keys/test-keys/
36+
install -p -m0755 ${S}/tools/secure_sign/gen_signature.sh ${DEPLOYDIR}/sp_tools/secure_sign/
37+
install -p -m0755 ${S}/tools/secure_sign/sign_ed25519 ${DEPLOYDIR}/sp_tools/secure_sign/
38+
install -p ${S}/tools/secure_sign/sign_keys/readme.txt ${DEPLOYDIR}/sp_tools/secure_sign/sign_keys/
39+
install -p ${S}/tools/secure_sign/sign_keys/test-keys/*.hex ${DEPLOYDIR}/sp_tools/secure_sign/sign_keys/test-keys/
40+
41+
# for
42+
install -p -m0755 ${S}/tools/sdcard_boot/uEnv.txt ${DEPLOYDIR}/sdcard_uEnv.txt
43+
# for riscv
44+
#install -p -m0755 ${S}/tools/sdcard_boot/uEnv_riscv.txt ${DEPLOYDIR}/sdcard_uEnv.txt
3145
}
3246

3347
addtask do_deploy after do_compile before do_build
3448

3549
do_configure[noexec] = "1"
50+
51+
BBCLASSEXTEND = "native"
52+
53+
SYSROOT_DIRS_NATIVE += "${base_prefix}/sp_tools"

meta-sunplus/recipes-bsp/u-boot-sp/files/pentagram_common.h.quiet.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
--- a/include/configs/pentagram_common.h 2020-08-18 23:35:42.744857912 +0300
2-
+++ a/include/configs/pentagram_common.h 2020-08-19 00:01:07.380945878 +0300
3-
@@ -282,6 +282,7 @@
1+
--- a/include/configs/pentagram_common.h 2021-03-02 02:05:25.679123874 +0300
2+
+++ a/include/configs/pentagram_common.h 2021-03-02 02:06:24.106288316 +0300
3+
@@ -291,6 +291,7 @@
44
#define CONFIG_EXTRA_ENV_SETTINGS \
5-
"b_c=console=ttyS0,115200 earlyprintk\0" \
5+
"b_c=console=tty1 console=ttyS0,115200 earlyprintk\0" \
66
"emmc_root=root=/dev/mmcblk0p8 rw rootwait\0" \
77
+"args_kern=quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_priority=3\0" \
88
"stdin=" STDIN_CFG "\0" \

meta-sunplus/recipes-bsp/u-boot-sp/files/pentagram_common.h.sep_dtb.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
--- a/include/configs/pentagram_common.h 2020-05-31 22:16:20.132805536 +0300
2-
+++ a/include/configs/pentagram_common.h 2020-06-01 01:45:08.283528360 +0300
3-
@@ -359,6 +359,11 @@
1+
--- a/include/configs/pentagram_common.h 2021-03-02 02:05:05.415413396 +0300
2+
+++ a/include/configs/pentagram_common.h 2021-03-02 02:05:25.679123874 +0300
3+
@@ -368,6 +368,11 @@
44
dbg_scr("echo nonosize ${sz_nonos} addr_dst_nonos ${addr_dst_nonos};")\
55
"mmc read ${addr_dst_nonos} ${addr_src_nonos} ${sz_nonos}; " \
6-
"sp_nonos_go ${addr_dst_nonos};"\
6+
"sp_nonos_go ${addr_dst_nonos}; "\
77
+ "mmc read ${addr_tmp_header} ${addr_src_dtb} 0x1; " \
88
+ "setenv tmpval 0; setexpr tmpaddr ${addr_tmp_header} + 0x4; run be2le; " \
99
+ "setexpr sz_dtb ${tmpval} + 0x28; " \
@@ -12,9 +12,9 @@
1212
"mmc read ${addr_tmp_header} ${addr_src_kernel} 0x1; " \
1313
"setenv tmpval 0; setexpr tmpaddr ${addr_tmp_header} + 0x0c; run be2le; " \
1414
"setexpr sz_kernel ${tmpval} + 0x40; " \
15-
@@ -392,7 +397,7 @@
15+
@@ -401,7 +406,7 @@
1616
"if itest ${if_use_nfs_rootfs} == 1; then " \
17-
"setenv bootargs root=/dev/nfs nfsroot=${nfs_serverip}:${nfs_rootfs_dir} ip=${nfs_clintip}:${nfs_serverip}:${nfs_gatewayip}:${nfs_netmask}::eth0:off rdinit=/linuxrc noinitrd rw console=ttyS0,115200; "\
17+
"setenv bootargs ${b_c} root=/dev/nfs nfsroot=${nfs_serverip}:${nfs_rootfs_dir} ip=${nfs_clintip}:${nfs_serverip}:${nfs_gatewayip}:${nfs_netmask}::eth0:off rdinit=/linuxrc noinitrd rw; "\
1818
"fi; " \
1919
- "bootm ${addr_dst_kernel} - ${fdtcontroladdr}; " \
2020
+ "bootm ${addr_dst_kernel} - ${addr_dst_dtb}; " \

meta-sunplus/recipes-bsp/u-boot-sp/u-boot-src-gh.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ LICENSE = "GPLv2+"
66
LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
77
PE = "1"
88

9-
SRCREV = "360ecb1db64a56946c280210f3c315023e1f12aa"
9+
SRCREV = "50705cefff8aed360e1ada57119f6ba3da17ae48"
10+
SRCREV = "288bf45819dd93199be884707a9b6de12e6cc8a8"
1011

1112
SRC_URI = "git://github.com/tibbotech/plus1_uboot.git;branch=master"
1213

meta-sunplus/recipes-bsp/u-boot-sp/u-boot-src-sp.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ LICENSE = "GPLv2+"
66
LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
77
PE = "1"
88

9-
SRCREV = "360ecb1db64a56946c280210f3c315023e1f12aa"
9+
SRCREV = "50705cefff8aed360e1ada57119f6ba3da17ae48"
10+
SRCREV = "288bf45819dd93199be884707a9b6de12e6cc8a8"
1011

1112
SRC_URI = "git://git@113.196.136.131:22/qac628/boot/uboot;protocol=ssh;branch=master;"
1213

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
do_deploy_append() {
3+
export MKIMAGE=${DEPLOY_DIR_IMAGE}/sp_tools/mkimage;
4+
5+
if [ -n "${UBOOT_CONFIG}" ]; then
6+
for config in ${UBOOT_MACHINE}; do
7+
i=$(expr $i + 1);
8+
for type in ${UBOOT_CONFIG}; do
9+
j=$(expr $j + 1);
10+
if [ $j -eq $i ]; then
11+
fn="${UBOOT_BINARY}-${type}"
12+
${STAGING_DIR_NATIVE}/sp_tools/add_uhdr.sh "uboot_pentagram_board" ${DEPLOYDIR}/${fn} ${DEPLOYDIR}/${fn}.uhd arm 0x200040 0x200040
13+
install ${DEPLOYDIR}/${fn}.uhd ${DEPLOYDIR}/${fn}.img
14+
${STAGING_DIR_NATIVE}/sp_tools/secure_sign/gen_signature.sh ${DEPLOYDIR} ${fn}.img 1
15+
fi
16+
done
17+
unset j
18+
done
19+
unset i
20+
else
21+
fn="${UBOOT_BINARY}"
22+
${STAGING_DIR_NATIVE}/sp_tools/add_uhdr.sh "uboot_pentagram_board" ${DEPLOYDIR}/${fn} ${DEPLOYDIR}/${fn}.uhd arm 0x200040 0x200040
23+
install ${DEPLOYDIR}/${fn}.uhd ${DEPLOYDIR}/${fn}.img
24+
${STAGING_DIR_NATIVE}/sp_tools/secure_sign/gen_signature.sh ${DEPLOYDIR} ${fn}.img 1
25+
fi
26+
# fn="u-boot"
27+
# ${STAGING_DIR_NATIVE}/sp_tools/add_uhdr.sh "uboot_pentagram_board" ${DEPLOY_DIR_IMAGE}/${fn}.bin ${DEPLOY_DIR_IMAGE}/${fn}.uhd arm 0x200040 0x200040
28+
# install ${DEPLOY_DIR_IMAGE}/${fn}.uhd ${DEPLOY_DIR_IMAGE}/${fn}.img
29+
# ${STAGING_DIR_NATIVE}/sp_tools/secure_sign/gen_signature.sh ${DEPLOY_DIR_IMAGE} ${fn}.img 1
30+
}
31+
32+
DEPENDS += "isp-native"

meta-sunplus/recipes-bsp/xboot/files/q628_emmc_no_otp.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--- a/configs/q628_Rev2_EMMC_defconfig 2020-10-13 00:07:43.699529410 +0300
2-
+++ a/configs/q628_Rev2_EMMC_defconfig 2020-10-13 01:25:47.622799654 +0300
1+
--- a/configs/q628_Rev2_EMMC_defconfig 2021-01-20 17:20:24.290495846 +0300
2+
+++ a/configs/q628_Rev2_EMMC_defconfig 2021-01-20 17:19:39.348121440 +0300
33
@@ -13,7 +13,7 @@
44
# CONFIG_BOOT_ON_CSIM is not set
55
CONFIG_HAVE_UART_BOOTSTRAP=y
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/configs/q628_Rev2_SPINAND_defconfig 2021-01-20 17:41:45.858649573 +0300
2+
+++ a/configs/q628_Rev2_SPINAND_defconfig 2021-01-20 17:41:55.178524304 +0300
3+
@@ -12,7 +12,7 @@
4+
# CONFIG_XIP_SPIBAREMETAL is not set
5+
# CONFIG_BOOT_ON_CSIM is not set
6+
CONFIG_HAVE_USB_DISK=y
7+
-CONFIG_HAVE_OTP=y
8+
+# CONFIG_HAVE_OTP=y
9+
CONFIG_HAVE_MMC=y
10+
CONFIG_HAVE_SDCARD=y
11+
# CONFIG_HAVE_EMMC is not set

meta-sunplus/recipes-bsp/xboot/xboot-src-gh.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ SECTION = "bootloaders"
44
LICENSE = "GPLv2+"
55
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
66

7-
SRCREV_draminit = "f4c682ad6fcce95161c3a4c112bfa6eadd4ac5b9"
8-
SRCREV_xboot = "3e3ef267faae0f4a8b3b8ec3989e49f4a2166907"
7+
SRCREV_draminit = "27765eb516727051f1f1e366cef96d05f07ea0c3"
8+
SRCREV_draminit = "0a95813aa866711383db28159c34576c13c065a3"
9+
SRCREV_xboot = "07c47e17dfedd5a48cd77d336fe5679159f8fdd6"
10+
SRCREV_xboot = "1bfe8238e3f067ac2c35d5c2ac76accbfd3b837b"
911

1012
SRC_URI = "\
1113
git://github.com/tibbotech/plus1_draminit.git;name=draminit;branch=master;destsuffix=draminit; \

meta-sunplus/recipes-bsp/xboot/xboot-src-sp.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ SECTION = "bootloaders"
44
LICENSE = "GPLv2+"
55
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
66

7-
SRCREV_draminit = "f4c682ad6fcce95161c3a4c112bfa6eadd4ac5b9"
8-
SRCREV_xboot = "3e3ef267faae0f4a8b3b8ec3989e49f4a2166907"
7+
SRCREV_draminit = "27765eb516727051f1f1e366cef96d05f07ea0c3"
8+
SRCREV_draminit = "0a95813aa866711383db28159c34576c13c065a3"
9+
SRCREV_xboot = "07c47e17dfedd5a48cd77d336fe5679159f8fdd6"
10+
SRCREV_xboot = "1bfe8238e3f067ac2c35d5c2ac76accbfd3b837b"
911

1012
SRC_URI = "\
1113
git://git@113.196.136.131:22/qac628/boot/draminit;protocol=ssh;name=draminit;branch=master;destsuffix=draminit; \

meta-sunplus/recipes-bsp/xboot/xboot.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SRC_URI += "file://Makefile.autoc.patch"
1010
#SRC_URI += "file://q628_Rev2_EMMC_defconfig.nonor.patch"
1111

1212
SRC_URI += "file://q628_emmc_no_otp.patch"
13+
SRC_URI += "file://q628_nand_no_otp.patch"
1314
SRC_URI += "file://q628_emmc_no_key.patch"
1415

1516
S = "${WORKDIR}/xboot"
@@ -34,6 +35,9 @@ do_install() {
3435
do_deploy() {
3536
echo "DV deploy:${DEPLOY_DIR_IMAGE}"
3637
install -m0644 ${S}/bin/xboot.bin ${DEPLOY_DIR_IMAGE}/${PN}.bin
38+
install -m0644 ${S}/bin/xboot.bin ${DEPLOY_DIR_IMAGE}/${PN}.sig
39+
${DEPLOY_DIR_IMAGE}/sp_tools/secure_sign/gen_signature.sh ${DEPLOY_DIR_IMAGE} ${PN}.sig 0
40+
${S}/add_xhdr.sh ${DEPLOY_DIR_IMAGE}/${PN}.sig ${DEPLOY_DIR_IMAGE}/${PN}.img 1
3741
}
3842

3943
FILES_${PN} += "*"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
#D0=${TMPDIR}/deploy/images/${MACHINE}/
3+
#D1=${TMPDIR}/deploy/images/${MACHINE}-arm5/
4+
D0=.
5+
D1=../tppg2-arm5
6+
PATH := ${D0}/sp_tools/:$(PATH)
7+
8+
OUTD=sp_out
9+
10+
###### Lines, marked with "***" are variable
11+
###### Xboot, U-Boot : NAND/EMMC
12+
###### DTS : there are several of them
13+
###### rootfs : there are several of them
14+
15+
###### *** Xboot (arm926,Chip-B): pre-uboot, bootloader #1
16+
#F_XBT=xboot-nand
17+
F_XBT=xboot-emmc
18+
19+
###### xxx No-OS (arm926,Chip-B): main binary [optional]
20+
F_NON=a926
21+
# a926 firmware ipc_* makes emmc unstable now
22+
F_NON=a926-empty
23+
24+
###### *** U-Boot (A7,Chip-A): bootloader #2
25+
#F_UBT=u-boot-a7021_emmc-sp-r0.img
26+
#F_UBT=u-boot.img-a7021_nand
27+
#F_UBT=u-boot.bin-a7021_dsxe
28+
F_UBT=u-boot.bin-a7021_ppg2
29+
30+
###### *** DTS
31+
#F_DTB=sp7021-ev.dtb
32+
#F_DTB=sp7021-dsx.dtb
33+
F_DTB=sp7021-ltpp3g2revD.dtb
34+
35+
###### xxx Kernel (A7,Chip-A): Linux kernel
36+
F_KRN=uImage
37+
# use kernel with initrd for FS repair functions
38+
F_KRN=uImage-initramfs-tppg2.bin
39+
40+
###### *** rootfs
41+
#F_ROO=img-sp-tiny-tppg2.ext4
42+
F_ROO=img-tps-base-tppg2.ext4
43+
F_ROO=img-tps-free-tppg2.ext4
44+

0 commit comments

Comments
 (0)