File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed 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