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"

0 commit comments

Comments
 (0)