File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,25 @@ node('docker && imgtec') {
3
3
docker_image = docker. image " imgtec/creator-builder:latest" // TODO for now using the creator one
4
4
docker_image. inside {
5
5
stage(' Prepare' ) {
6
- checkout scm
6
+ checkout([$class : ' GitSCM' ,
7
+ userRemoteConfigs : scm. userRemoteConfigs,
8
+ branches : scm. branches,
9
+ doGenerateSubmoduleConfigurations : scm. doGenerateSubmoduleConfigurations,
10
+ submoduleCfg : scm. submoduleCfg,
11
+ browser : scm. browser,
12
+ gitTool : scm. gitTool,
13
+ extensions : scm. extensions + [
14
+ [$class : ' CleanCheckout' ],
15
+ [$class : ' PruneStaleBranch' ],
16
+ ],
17
+ ])
7
18
}
8
19
stage(' Build' ) {
9
20
sh ' make CROSS_COMPILE=/opt/toolchains/mips-img-linux-gnu/2016.05-03/bin/mips-img-linux-gnu- pistachio_marduk_defconfig'
10
21
sh ' make CROSS_COMPILE=/opt/toolchains/mips-img-linux-gnu/2016.05-03/bin/mips-img-linux-gnu-'
11
22
}
12
23
stage(' Upload' ) {
13
- archiveArtifacts ' u-boot-pistachio-nor .img'
24
+ archiveArtifacts ' u-boot-pistachio* .img'
14
25
}
15
26
}
16
27
}
Original file line number Diff line number Diff line change @@ -1043,6 +1043,11 @@ u-boot-pistachio-nor.img: u-boot-dtb.img u-boot-spl-pistachio.bimg FORCE
1043
1043
@dd if=/dev/zero of=$@ bs=4K count=384 conv=notrunc
1044
1044
@dd if=u-boot-spl-pistachio.bimg of=$@ bs=4K count=128 conv=notrunc
1045
1045
@dd if=u-boot-dtb.img of=$@ bs=4K count=256 seek=128 conv=notrunc
1046
+ ifeq ($(UBOOTRELEASE ) ,$(UBOOTVERSION ) )
1047
+ -mv u-boot-pistachio-nor.img u-boot-$(subst $\",,$(CONFIG_SYS_CONFIG_NAME))-$(UBOOTVERSION).img
1048
+ else
1049
+ -mv u-boot-pistachio-nor.img u-boot-$(subst $\",,$(CONFIG_SYS_CONFIG_NAME))-$(UBOOTRELEASE).img
1050
+ endif
1046
1051
1047
1052
# x86 uses a large ROM. We fill it with 0xff, put the 16-bit stuff (including
1048
1053
# reset vector) at the top, Intel ME descriptor at the bottom, and U-Boot in
Original file line number Diff line number Diff line change @@ -11,7 +11,13 @@ For the MIPS official toolchain see
11
11
$ make CROSS_COMPILE=<toolchain-prefix> pistachio_marduk_defconfig
12
12
$ make CROSS_COMPILE=<toolchain-prefix>
13
13
14
- This will generate u-boot-pistachio-nor.img
14
+ This will generate ` u-boot-pistachio_<board_name>-<version>.img `
15
+
16
+ eg. u-boot-pistachio_marduk-2015.10-v1.0.4.img
17
+
18
+ OR ` u-boot-pistachio_<board_name>-<version>-<githash>.img ` , if there are extra commits above the tag.
19
+
20
+ e.g. u-boot-pistachio_marduk-2015.10-v1.0.4-g75cbe38.img
15
21
16
22
## Flash it onto your Ci40
17
23
See our [ docs] ( https://docs.creatordev.io/ci40/guides/openwrt-platform/#flashing-u-boot-binary ) .
You can’t perform that action at this time.
0 commit comments