-
Notifications
You must be signed in to change notification settings - Fork 563
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable: Jenkins: http://gfnd.rcn-ee.org:8080
Signed-off-by: Robert Nelson <[email protected]>
- Loading branch information
1 parent
cc75730
commit 33547b7
Showing
3 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
pipeline { | ||
agent any | ||
|
||
stages { | ||
stage('Build') { | ||
steps { | ||
sh '/bin/bash ./jenkins_build.sh' | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
| kernel | normal | rt | | ||
|:---------:|:--------:|:-------:| | ||
|4.4 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.4)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.4/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.4-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.4-rt/) | | ||
|4.9 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.9)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.9/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.9-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.9-rt/) | | ||
|4.14 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.14)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.14/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.14-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.14-rt/) | | ||
|4.19 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.19)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.19/) | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/4.19-rt)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/4.19-rt/) | | ||
|5.4 | [![Build Status](http://gfnd.rcn-ee.org:8080/buildStatus/icon?job=beagleboard_kernel_builder/5.4)](http://gfnd.rcn-ee.org:8080/job/beagleboard_kernel_builder/job/5.4/) | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
#!/bin/bash | ||
|
||
#gcc: | ||
|
||
# | ||
#https://releases.linaro.org/components/toolchain/binaries/7.1-2017.05/arm-linux-gnueabihf/gcc-linaro-7.1.1-2017.05-x86_64_arm-linux-gnueabihf.tar.xz | ||
#https://releases.linaro.org/components/toolchain/binaries/7.1-2017.08/arm-linux-gnueabihf/gcc-linaro-7.1.1-2017.08-x86_64_arm-linux-gnueabihf.tar.xz | ||
#https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/arm-linux-gnueabihf/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf.tar.xz | ||
#https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/arm-linux-gnueabihf/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz | ||
#https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/arm-linux-gnueabihf/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf.tar.xz | ||
#https://releases.linaro.org/components/toolchain/binaries/7.5-2019.12/arm-linux-gnueabihf/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf.tar.xz | ||
# | ||
|
||
gcc_html_path="https://releases.linaro.org/components/toolchain/binaries/7.5-2019.12/arm-linux-gnueabihf/" | ||
gcc_filename_prefix="gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf" | ||
gcc_banner="arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0" | ||
gcc_copyright="2017" | ||
datestamp="2019.12-gcc-arm-linux-gnueabihf" | ||
|
||
# | ||
|
||
if [ ! -d ${gcc_filename_prefix}/ ] ; then | ||
rm -rf ./gcc-* || true | ||
#wget -c ${site}/${version}/${filename} | ||
wget -c http://gfnd.rcn-ee.org/farm/jenkins-dl/${gcc_filename_prefix}.tar.xz | ||
tar xf ${gcc_filename_prefix}.tar.xz | ||
fi | ||
|
||
export CC=`pwd`/${gcc_filename_prefix}/bin/arm-linux-gnueabihf- | ||
|
||
make ARCH=arm clean | ||
make ARCH=arm bb.org_defconfig | ||
|
||
echo "[make ARCH=arm -j4 CROSS_COMPILE=\"${binary}\" zImage]" | ||
make ARCH=arm -j4 CROSS_COMPILE="ccache ${CC}" zImage | ||
if [ ! -f arch/arm/boot/zImage ] ; then | ||
echo "failed: [arch/arm/boot/zImage]" | ||
exit 1 | ||
fi | ||
|
||
echo "[make ARCH=arm -j4 CROSS_COMPILE=\"${binary}\" modules]" | ||
make ARCH=arm -j4 CROSS_COMPILE="ccache ${CC}" modules | ||
if [ ! -f drivers/spi/spidev.ko ] ; then | ||
echo "failed: [drivers/spi/spidev.ko]" | ||
exit 1 | ||
fi | ||
|
||
echo "[make ARCH=arm CROSS_COMPILE=\"${binary}\" dtbs]" | ||
make ARCH=arm CROSS_COMPILE="ccache ${CC}" dtbs | ||
if [ ! -f arch/arm/boot/dts/am335x-boneblack.dtb ] ; then | ||
echo "failed: [arch/arm/boot/dts/am335x-boneblack.dtb]" | ||
exit 1 | ||
else | ||
if [ -f arch/arm/boot/dts/am335x-pocketbeagle.dts ] ; then | ||
if [ ! -f arch/arm/boot/dts/am335x-pocketbeagle.dtb ] ; then | ||
echo "failed: [arch/arm/boot/dts/am335x-pocketbeagle.dtb]" | ||
exit 1 | ||
fi | ||
fi | ||
fi | ||
|
||
make ARCH=arm clean |