Skip to content

Commit 8a8cf68

Browse files
author
connor rigby
committed
Merge branch 'master' of github.com:nerves-project/nerves_system_rpi3
2 parents 1ac61cc + e15a18c commit 8a8cf68

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.circleci/config.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defaults: &defaults
55
environment:
66
ENV: CI
77
MIX_ENV: test
8-
ELIXIR_VERSION: 1.5.1
8+
ELIXIR_VERSION: 1.5.2
99

1010
install_elixir: &install_elixir
1111
run:
@@ -25,7 +25,7 @@ install_hex_rebar: &install_hex_rebar
2525
install_nerves_bootstrap: &install_nerves_bootstrap
2626
run:
2727
name: Install nerves_bootstrap
28-
command: mix archive.install https://github.com/nerves-project/archives/raw/master/nerves_bootstrap.ez --force
28+
command: mix archive.install hex nerves_bootstrap --force
2929

3030
version: 2.0
3131

@@ -41,12 +41,12 @@ jobs:
4141
name: Install dependencies
4242
command: mix deps.get
4343
- restore_cache:
44-
key: nerves/cache
44+
key: nerves/cache-{{ .Environment.CIRCLE_PROJECT_USERNAME}}-{{ .Environment.CIRCLE_PROJECT_REPONAME}}
4545
- run:
4646
name: Build
4747
command: mix compile
4848
- save_cache:
49-
key: nerves/cache
49+
key: nerves/cache-{{ .Environment.CIRCLE_PROJECT_USERNAME}}-{{ .Environment.CIRCLE_PROJECT_REPONAME}}
5050
paths:
5151
- "/nerves/cache"
5252
- run:
@@ -154,7 +154,7 @@ jobs:
154154
command: grep -Pazo "(?s)(?<=## ${CIRCLE_TAG})[^#]+" /nerves/deploy/system/CHANGELOG.md > /nerves/deploy/system/RELEASE_NOTES
155155
- run:
156156
name: Deploy artifacts to Github
157-
command: ./ghr -draft -t $GITHUB_TOKEN -u nerves-project -r $CIRCLE_PROJECT_REPONAME -b "$(cat /nerves/deploy/system/RELEASE_NOTES)" -replace $CIRCLE_TAG /nerves/deploy/system/artifacts
157+
command: ./ghr -draft -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -b "$(cat /nerves/deploy/system/RELEASE_NOTES)" -replace $CIRCLE_TAG /nerves/deploy/system/artifacts
158158

159159
workflows:
160160
version: 2

fwup.conf

+6
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ file-resource zImage {
111111
file-resource bcm2710-rpi-3-b.dtb {
112112
host-path = "${NERVES_SYSTEM}/images/bcm2710-rpi-3-b.dtb"
113113
}
114+
file-resource bcm2710-rpi-cm3.dtb {
115+
host-path = "${NERVES_SYSTEM}/images/bcm2710-rpi-cm3.dtb"
116+
}
114117
file-resource w1-gpio-pullup.dtbo {
115118
host-path = "${NERVES_SYSTEM}/images/rpi-firmware/overlays/w1-gpio-pullup.dtbo"
116119
}
@@ -205,6 +208,7 @@ task complete {
205208
on-resource fixup.dat { fat_write(${BOOT_A_PART_OFFSET}, "fixup.dat") }
206209
on-resource zImage { fat_write(${BOOT_A_PART_OFFSET}, "zImage") }
207210
on-resource bcm2710-rpi-3-b.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2710-rpi-3-b.dtb") }
211+
on-resource bcm2710-rpi-cm3.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2710-rpi-cm3.dtb") }
208212
on-resource w1-gpio-pullup.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/w1-gpio-pullup.dtbo") }
209213

210214
on-resource rootfs.img {
@@ -261,6 +265,7 @@ task upgrade.a {
261265
on-resource fixup.dat { fat_write(${BOOT_A_PART_OFFSET}, "fixup.dat") }
262266
on-resource zImage { fat_write(${BOOT_A_PART_OFFSET}, "zImage") }
263267
on-resource bcm2710-rpi-3-b.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2710-rpi-3-b.dtb") }
268+
on-resource bcm2710-rpi-cm3.dtb { fat_write(${BOOT_A_PART_OFFSET}, "bcm2710-rpi-cm3.dtb") }
264269
on-resource w1-gpio-pullup.dtbo { fat_write(${BOOT_A_PART_OFFSET}, "overlays/w1-gpio-pullup.dtbo") }
265270
on-resource rootfs.img { raw_write(${ROOTFS_A_PART_OFFSET}) }
266271

@@ -320,6 +325,7 @@ task upgrade.b {
320325
on-resource fixup.dat { fat_write(${BOOT_B_PART_OFFSET}, "fixup.dat") }
321326
on-resource zImage { fat_write(${BOOT_B_PART_OFFSET}, "zImage") }
322327
on-resource bcm2710-rpi-3-b.dtb { fat_write(${BOOT_B_PART_OFFSET}, "bcm2710-rpi-3-b.dtb") }
328+
on-resource bcm2710-rpi-cm3.dtb { fat_write(${BOOT_B_PART_OFFSET}, "bcm2710-rpi-cm3.dtb") }
323329
on-resource w1-gpio-pullup.dtbo { fat_write(${BOOT_B_PART_OFFSET}, "overlays/w1-gpio-pullup.dtbo") }
324330
on-resource rootfs.img { raw_write(${ROOTFS_B_PART_OFFSET}) }
325331

nerves_defconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BR2_arm=y
2-
BR2_cortex_a7=y
2+
BR2_cortex_a53=y
33
BR2_ARM_FPU_NEON_VFPV4=y
44
BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_NERVES_PATH}/patches"
55
BR2_TOOLCHAIN_EXTERNAL=y
@@ -26,7 +26,7 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="04c8e47067d4873c584395e5cb260b4f170a99ea"
2626
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
2727
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="${NERVES_DEFCONFIG_DIR}/linux-4.4.defconfig"
2828
BR2_LINUX_KERNEL_DTS_SUPPORT=y
29-
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b"
29+
BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3"
3030
BR2_LINUX_KERNEL_EXT_KERNEL_WIRELESS_REGDB=y
3131
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_NERVES_PATH}/board/nerves-common/busybox-1.22.config"
3232
BR2_PACKAGE_E2FSPROGS=y

0 commit comments

Comments
 (0)