Skip to content

Commit

Permalink
Customize for QMI
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrite committed Nov 27, 2022
1 parent 2991f65 commit 851f768
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 15 deletions.
9 changes: 0 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,21 @@ workflows:
- build-tools/get-br-dependencies:
exec:
<<: *exec
context: org-global
filters:
tags:
only: /.*/
- build-tools/build-system:
exec:
<<: *exec
resource-class: large
context: org-global
requires:
- build-tools/get-br-dependencies
filters:
tags:
only: /.*/
- build-tools/build-test:
exec:
<<: *exec
context: org-global
requires:
- build-tools/build-system
- build-tools/deploy-system:
exec:
<<: *exec
context: org-global
requires:
- build-tools/build-system
filters:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ erl_crash.dump
/build.log
/archive.log
/.nerves
Config.in
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ follows:
releases, and Linux kernel updates. They're also made to fix bugs and add
features to the build infrastructure.

## v1.21.2

* Changes
* Enabled QMI

## v1.21.1

* Changes
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.21.1
1.21.2
2 changes: 2 additions & 0 deletions busybox.fragment
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_MKNOD=y
CONFIG_WC=y
4 changes: 4 additions & 0 deletions linux-5.15.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -543,3 +543,7 @@ CONFIG_DMA_CMA=y
CONFIG_CMA_SIZE_MBYTES=5
CONFIG_PRINTK_TIME=y
CONFIG_PANIC_TIMEOUT=10
CONFIG_USB_NET_CDC_NCM=m
CONFIG_USB_NET_HUAWEI_CDC_NCM=m
CONFIG_USB_NET_QMI_WWAN=m
CONFIG_USB_SERIAL_OPTION=m
6 changes: 3 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
defmodule NervesSystemRpi4.MixProject do
defmodule BusBeaconRpi4.MixProject do
use Mix.Project

@github_organization "nerves-project"
@app :nerves_system_rpi4
@github_organization "minifast"
@app :bus_beacon_rpi4
@source_url "https://github.com/#{@github_organization}/#{@app}"
@version Path.join(__DIR__, "VERSION")
|> File.read!()
Expand Down
4 changes: 3 additions & 1 deletion nerves_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_WPA_SUPPLICANT_WPA3=y
BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_NERVES_SYSTEM_NAME="nerves_system_rpi4"
BR2_NERVES_SYSTEM_NAME="bus_beacon_rpi4"
BR2_NERVES_ADDITIONAL_IMAGE_FILES="${NERVES_DEFCONFIG_DIR}/fwup.conf ${NERVES_DEFCONFIG_DIR}/cmdline.txt ${NERVES_DEFCONFIG_DIR}/config.txt"
BR2_PACKAGE_NBTTY=y
BR2_PACKAGE_NERVES_CONFIG=y
BR2_PACKAGE_RPI_DISTRO_FIRMWARE_NONFREE=y
BR2_PACKAGE_USB_MODESWITCH=y
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="${NERVES_DEFCONFIG_DIR}/busybox.fragment"
2 changes: 1 addition & 1 deletion test/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defmodule Test.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:nerves_system_rpi4, path: "../", runtime: false},
{:bus_beacon_rpi4, path: "../", runtime: false},
{:shoehorn, "~> 0.6"},
{:nerves_test_client, github: "mobileoverlord/nerves_test_client"}
]
Expand Down

0 comments on commit 851f768

Please sign in to comment.