diff --git a/config/jslinux.exs b/config/jslinux.exs new file mode 100644 index 0000000..f0d5567 --- /dev/null +++ b/config/jslinux.exs @@ -0,0 +1,8 @@ +import Config + +# Configure the network using vintage_net +# See https://github.com/nerves-networking/vintage_net for more information +config :vintage_net, + config: [ + # {"eth0", %{type: VintageNetEthernet}}, + ] diff --git a/config/target.exs b/config/target.exs index 2f7562c..b31eac8 100644 --- a/config/target.exs +++ b/config/target.exs @@ -4,7 +4,7 @@ import Config # docs for separating out critical OTP applications such as those # involved with firmware updates. -config :shoehorn, init: [:nerves_runtime, :nerves_pack] +config :shoehorn, init: [:nerves_runtime] # Erlinit can be configured without a rootfs_overlay. See # https://github.com/nerves-project/erlinit/ for more information on @@ -16,7 +16,7 @@ config :nerves, :erlinit, update_clock: true # See https://hexdocs.pm/ring_logger/readme.html for more information on # configuring ring_logger. -config :logger, backends: [RingLogger, RamoopsLogger] +config :logger, backends: [RingLogger] # Configure the device for SSH IEx prompt access and firmware updates # diff --git a/lib/circuits_quickstart/application.ex b/lib/circuits_quickstart/application.ex index f1d36c9..0aaef07 100644 --- a/lib/circuits_quickstart/application.ex +++ b/lib/circuits_quickstart/application.ex @@ -6,10 +6,6 @@ defmodule CircuitsQuickstart.Application do use Application def start(_type, _args) do - if target() != :host do - setup_wifi() - end - # See https://hexdocs.pm/elixir/Supervisor.html # for other strategies and supported options opts = [strategy: :one_for_one, name: CircuitsQuickstart.Supervisor] @@ -18,37 +14,4 @@ defmodule CircuitsQuickstart.Application do Supervisor.start_link(children, opts) end - - defp setup_wifi() do - kv = Nerves.Runtime.KV.get_all() - - if true?(kv["wifi_force"]) or wlan0_unconfigured?() do - ssid = kv["wifi_ssid"] - passphrase = kv["wifi_passphrase"] - - unless empty?(ssid) do - _ = VintageNetWiFi.quick_configure(ssid, passphrase) - :ok - end - end - end - - defp wlan0_unconfigured?() do - "wlan0" in VintageNet.configured_interfaces() and - VintageNet.get_configuration("wlan0") == %{type: VintageNetWiFi} - end - - defp true?(""), do: false - defp true?(nil), do: false - defp true?("false"), do: false - defp true?("FALSE"), do: false - defp true?(_), do: true - - defp empty?(""), do: true - defp empty?(nil), do: true - defp empty?(_), do: false - - defp target() do - Application.get_env(:circuits_quickstart, :target) - end end diff --git a/mix.exs b/mix.exs index d8ce157..6759c4f 100644 --- a/mix.exs +++ b/mix.exs @@ -4,18 +4,7 @@ defmodule CircuitsQuickstart.MixProject do @app :circuits_quickstart @version "0.5.4" @all_targets [ - :rpi, - :rpi0, - :rpi2, - :rpi3, - :rpi3a, - :rpi4, - :bbb, - :osd32mp1, - :x86_64, - :npi_imx6ull, - :grisp2, - :mangopi_mq_pro + :jslinux ] def project do @@ -43,35 +32,24 @@ defmodule CircuitsQuickstart.MixProject do # Dependencies for all targets {:nerves, "~> 1.9.0", runtime: false}, {:shoehorn, "~> 0.9.0"}, - {:ring_logger, "~> 0.8.1"}, {:toolshed, "~> 0.2.13"}, # Circuits projects - {:circuits_uart, "~> 1.3"}, {:circuits_gpio, "~> 1.0"}, {:circuits_i2c, "~> 1.0"}, - {:circuits_spi, "~> 1.2"}, - {:pinout, "~> 0.1"}, - {:power_control, github: "cjfreeze/power_control"}, - {:ramoops_logger, "~> 0.3", targets: @all_targets}, # Dependencies for all targets except :host {:nerves_runtime, "~> 0.13.0", targets: @all_targets}, - {:nerves_pack, "~> 0.7.0", targets: @all_targets}, + {:nerves_motd, "~> 0.1", path: "~/git/nerves-project/nerves_motd", targets: @all_targets}, + {:ring_logger, "~> 0.8", targets: @all_targets}, + {:vintage_net, "~> 0.10", targets: @all_targets}, + {:vintage_net_ethernet, "~> 0.10", targets: @all_targets}, # Dependencies for specific targets - {:nerves_system_rpi, "~> 1.19", runtime: false, targets: :rpi}, - {:nerves_system_rpi0, "~> 1.19", runtime: false, targets: :rpi0}, - {:nerves_system_rpi2, "~> 1.19", runtime: false, targets: :rpi2}, - {:nerves_system_rpi3, "~> 1.19", runtime: false, targets: :rpi3}, - {:nerves_system_rpi3a, "~> 1.19", runtime: false, targets: :rpi3a}, - {:nerves_system_rpi4, "~> 1.19", runtime: false, targets: :rpi4}, - {:nerves_system_bbb, "~> 2.14", runtime: false, targets: :bbb}, - {:nerves_system_osd32mp1, "~> 0.10", runtime: false, targets: :osd32mp1}, - {:nerves_system_x86_64, "~> 1.19", runtime: false, targets: :x86_64}, - {:nerves_system_npi_imx6ull, "~> 0.6", runtime: false, targets: :npi_imx6ull}, - {:nerves_system_grisp2, "~> 0.3", runtime: false, targets: :grisp2}, - {:nerves_system_mangopi_mq_pro, "~> 0.3", runtime: false, targets: :mangopi_mq_pro} + {:nerves_system_jslinux, + path: "~/git/nerves-project/nerves_systems/src/nerves_system_jslinux", + runtime: false, + targets: :jslinux} ] end diff --git a/mix.lock b/mix.lock index d78b351..8b0bf4a 100644 --- a/mix.lock +++ b/mix.lock @@ -3,52 +3,22 @@ "castore": {:hex, :castore, "0.1.20", "62a0126cbb7cb3e259257827b9190f88316eb7aa3fdac01fd6f2dfd64e7f46e9", [:mix], [], "hexpm", "a020b7650529c986c454a4035b6b13a328e288466986307bea3aadb4c95ac98a"}, "circuits_gpio": {:hex, :circuits_gpio, "1.0.1", "53e0aefebc0eedc1326f7f28cc53831bed84654767eb3c613934c6ec8ca77caa", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "d8e918fdfada785b24a071edc7e4dbd334b3b42c6a0298fc0d13e7f1fc5b3e0a"}, "circuits_i2c": {:hex, :circuits_i2c, "1.1.0", "a6ac3a9ae4f7f7f92a5242652008e1646da22adef0587d230a621501f935ba46", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "39fee480cebc6fbd90abb4b82c15cf4a95e45ea741369886bd903ce9ab6eb60c"}, - "circuits_spi": {:hex, :circuits_spi, "1.3.0", "d66d4c8818739416958cea1d846d66896ab7c28fa42695f1cae3c2c7a3e9e9ca", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "56e49b346fdd43185832a03d3de3751c2ce9928ee3ce4a31a364f6548fe2b74c"}, - "circuits_uart": {:hex, :circuits_uart, "1.5.1", "c28f0144db799a8dbe84e1a05a58808450dd13a48b4e8ed92aa0a785ccfbbb1d", [:mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "e0690f814e39c0e7cc742ccd1421d5489f6a7627477ff64c1dbaf7520c1b5600"}, "circular_buffer": {:hex, :circular_buffer, "0.4.1", "477f370fd8cfe1787b0a1bade6208bbd274b34f1610e41f1180ba756a7679839", [:mix], [], "hexpm", "633ef2e059dde0d7b89bbab13b1da9d04c6685e80e68fbdf41282d4fae746b72"}, "elixir_make": {:hex, :elixir_make, "0.7.2", "e83548b0500e654d1a595f1134af4862a2e92ec3282ec4c2a17641e9aa45ee73", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: true]}], "hexpm", "05fb44abf9582381c2eb1b73d485a55288c581071de0ee3ee1084ee69d6a8e5f"}, "gen_state_machine": {:hex, :gen_state_machine, "3.0.0", "1e57f86a494e5c6b14137ebef26a7eb342b3b0070c7135f2d6768ed3f6b6cdff", [:mix], [], "hexpm", "0a59652574bebceb7309f6b749d2a41b45fdeda8dbb4da0791e355dd19f0ed15"}, - "mdns_lite": {:hex, :mdns_lite, "0.8.6", "cafdcde5be222d151342629637ec3178619090e4668a57c8cfdc67d970d0b268", [:mix], [{:vintage_net, "~> 0.7", [hex: :vintage_net, repo: "hexpm", optional: true]}], "hexpm", "7b6fcf2d45be8823492b77380f69510327d3a98f6b17d403f355daf31e1ac961"}, "muontrap": {:hex, :muontrap, "1.1.0", "911a8991fcb3b9fe3a1a3331dc51c7e8538e4b1130c03cd5f06c763ce7eb221f", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "011625c64aeb744200412f5de9a847a94b612b2ed84c60f214b3c1497b64aeb2"}, "nerves": {:hex, :nerves, "1.9.1", "09cfd3589af81c4b1ac35179aee5f6d94bde36548a905c2d4d4efa9ff311222e", [:make, :mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "011409116923e1dbab250a6dc241ab529790163233c44e374ff352af72d09a56"}, "nerves_logging": {:hex, :nerves_logging, "0.2.0", "4099b860f41a0171ff49fbc1e86ee0ce4576c24c1cf318a0fd0bf227355e8c12", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "07cfb9fe9d21b908da51b81a1ced858288c68519204aca7aa2c1fcd531d5e059"}, - "nerves_motd": {:hex, :nerves_motd, "0.1.9", "9a89fb8da120d242740194fca7c98ae2698d1c4fe79c5501d841f38f7fc7df88", [:mix], [{:nerves_runtime, "~> 0.8", [hex: :nerves_runtime, repo: "hexpm", optional: false]}, {:nerves_time_zones, "~> 0.1", [hex: :nerves_time_zones, repo: "hexpm", optional: true]}], "hexpm", "1a9ff03ec4cc386f3d04557845d992e90660b103885ad86b4d6c4a5fe258c5c2"}, - "nerves_pack": {:hex, :nerves_pack, "0.7.0", "bc93834edbb9321b180dc104440070279eb02159359715f68f770e74ed86a582", [:mix], [{:mdns_lite, "~> 0.8", [hex: :mdns_lite, repo: "hexpm", optional: false]}, {:nerves_motd, "~> 0.1", [hex: :nerves_motd, repo: "hexpm", optional: false]}, {:nerves_runtime, "~> 0.6", [hex: :nerves_runtime, repo: "hexpm", optional: false]}, {:nerves_ssh, "~> 0.3", [hex: :nerves_ssh, repo: "hexpm", optional: false]}, {:nerves_time, "~> 0.3", [hex: :nerves_time, repo: "hexpm", optional: false]}, {:ring_logger, "~> 0.8", [hex: :ring_logger, repo: "hexpm", optional: false]}, {:vintage_net, "~> 0.10", [hex: :vintage_net, repo: "hexpm", optional: false]}, {:vintage_net_direct, "~> 0.10", [hex: :vintage_net_direct, repo: "hexpm", optional: false]}, {:vintage_net_ethernet, "~> 0.10", [hex: :vintage_net_ethernet, repo: "hexpm", optional: false]}, {:vintage_net_wifi, "~> 0.10", [hex: :vintage_net_wifi, repo: "hexpm", optional: false]}], "hexpm", "65a43ea78c10938c87c72d6d42a82c05e831e9a95a0ea26fe8f9d848c009cc57"}, - "nerves_runtime": {:hex, :nerves_runtime, "0.13.3", "378d6dda56291c0144567f24eb2d4ade314012443ce5d03542adec93091ad9b7", [:mix], [{:nerves_logging, "~> 0.2.0", [hex: :nerves_logging, repo: "hexpm", optional: false]}, {:nerves_uevent, "~> 0.1.0", [hex: :nerves_uevent, repo: "hexpm", optional: false]}, {:uboot_env, "~> 1.0 or ~> 0.3.0", [hex: :uboot_env, repo: "hexpm", optional: false]}], "hexpm", "00b51d9675cae78cc82910e18508e5c8b8a032dad7a83d417c4d061d802e3107"}, - "nerves_ssh": {:hex, :nerves_ssh, "0.4.1", "d20ee21b0b4b3624051cb24af11dac08879ae24bccb9f7ba845b6877666bfb6e", [:mix], [{:nerves_runtime, "~> 0.11", [hex: :nerves_runtime, repo: "hexpm", optional: false]}, {:ssh_subsystem_fwup, "~> 0.5", [hex: :ssh_subsystem_fwup, repo: "hexpm", optional: false]}], "hexpm", "45105baad45d576459c8caf1057d1fbc4c2fd119e989368e7a43fda52eb7e900"}, - "nerves_system_bbb": {:hex, :nerves_system_bbb, "2.16.2", "70da88fd7e19520b7f6b3696f73cc893a804e870d05542ce6adafa5992a6772b", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "dc8d27e12cb311b5d0d7c2a3030b74b73dc9148ad43ede1b3f1483ca38cc4b5e"}, - "nerves_system_br": {:hex, :nerves_system_br, "1.21.6", "6ac86c98a0f88ebd85c64baafea5df10235a11a44175f2cecbd719dfe448e8ae", [:mix], [], "hexpm", "68dde182fed253abf1b88e0229ca873002863d5803257729fbeb0f349b4f56f9"}, - "nerves_system_grisp2": {:hex, :nerves_system_grisp2, "0.5.2", "4c79b0a8fc39e825516d3c8f8507c0ca9c3da239316af64cf5a48aafd87e69bf", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "58821dd8db11fd4f65a8ac82619aaf904cd63c58360bbd3572eddc7df7a191ad"}, - "nerves_system_mangopi_mq_pro": {:hex, :nerves_system_mangopi_mq_pro, "0.3.2", "abf629eafeec81f7e07f0b492188c2ab6a2df18249fdb437b8cc83dbd9d618c3", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_riscv64_nerves_linux_musl, "~> 1.6.0", [hex: :nerves_toolchain_riscv64_nerves_linux_musl, repo: "hexpm", optional: false]}], "hexpm", "57e2823fb3e747bbaceb2c47b4b8fc47cfb9015904ecfe2792180462c8b294aa"}, - "nerves_system_npi_imx6ull": {:hex, :nerves_system_npi_imx6ull, "0.9.2", "6ae45d4e956d240bd11213efd97d4471329c32f595da6e02a7fed84aefbf06c7", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "281fe852e44fdfb3756f2b62b7d2c38e7f85b750bd9bfad4b66e646cb35b6462"}, - "nerves_system_osd32mp1": {:hex, :nerves_system_osd32mp1, "0.12.2", "ef84baf1288901cd8ab5b2b6e03b70b2081aa81458cf74caaf8b2065fa7e441c", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "47959d430530414d6d98f052adb22fa3b6e404ad7833bcfed8b9db66bbaf1df9"}, - "nerves_system_rpi": {:hex, :nerves_system_rpi, "1.21.2", "98457985038a409ba021a23ab1d1a1787562d7458ba84dca2ca948d7dc0e730b", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv6_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv6_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "79caa360a810b11fe56162fdbfc6ac0f8cd121ead571071d5fd94d658b6e25d7"}, - "nerves_system_rpi0": {:hex, :nerves_system_rpi0, "1.21.2", "3a58a54683c4181dd92e0d1c75ab85da7114f8d12d3dde3a69f33c88737355b0", [:mix], [{:nerves, "~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv6_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv6_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "0738abacb2a260729f36cff343554a925b9a675499b86a62258ddc296fa48d55"}, - "nerves_system_rpi2": {:hex, :nerves_system_rpi2, "1.21.2", "b998220e245a60060f4a9202606ef95a4b59c1e1bc28ebc1373a56c1ce612c86", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "2c174e7b1bcbd583e8f0a66226abc999cd551d568408586260d56f14a50639b4"}, - "nerves_system_rpi3": {:hex, :nerves_system_rpi3, "1.21.2", "ba03e9b1e18e95d3e80f7a56b2a150bb23548c8384b955045a1011bf6d9efdf1", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "5c9f6373c8bc52889cd62f1986cc9d43ee6dc731ba4a41f3e3a0e83b7b78f150"}, - "nerves_system_rpi3a": {:hex, :nerves_system_rpi3a, "1.21.2", "afe91b07bfd027565cd7c242fa39bc815746999ef51f1be4a8ab71c6427bfa1f", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_armv7_nerves_linux_gnueabihf, "~> 1.6.0", [hex: :nerves_toolchain_armv7_nerves_linux_gnueabihf, repo: "hexpm", optional: false]}], "hexpm", "b737325d6d799a49ff57fe9e90aa8a5ad01664dcb01ab47f35f423f3dadaa8e3"}, - "nerves_system_rpi4": {:hex, :nerves_system_rpi4, "1.21.2", "f9d8ca0ccdbb9e9e9348d4474089e3e8d59954a4fdac433bbf19c21fccdd48b4", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_aarch64_nerves_linux_gnu, "~> 1.6.0", [hex: :nerves_toolchain_aarch64_nerves_linux_gnu, repo: "hexpm", optional: false]}], "hexpm", "1de61028a8dc1f82a3c24b778b77dad21de828d9a598e93ac5a110e2058eedc0"}, - "nerves_system_x86_64": {:hex, :nerves_system_x86_64, "1.21.2", "93de2dd46a80e842eed773188b7909adb93f6bf48905a2c0810a92fefcf90552", [:mix], [{:nerves, "~> 1.5.4 or ~> 1.6.0 or ~> 1.7.15 or ~> 1.8", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_system_br, "1.21.6", [hex: :nerves_system_br, repo: "hexpm", optional: false]}, {:nerves_toolchain_x86_64_nerves_linux_musl, "~> 1.6.0", [hex: :nerves_toolchain_x86_64_nerves_linux_musl, repo: "hexpm", optional: false]}], "hexpm", "294d21267432a701bde10a10013f965acdbd9dfff72e9fc92f82a4941f70ef74"}, - "nerves_time": {:hex, :nerves_time, "0.4.5", "038d6754421b20f21eff8918f006d26a2c3e7440dc6954c4164030427e9228d8", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:muontrap, "~> 1.0 or ~> 0.5", [hex: :muontrap, repo: "hexpm", optional: false]}], "hexpm", "cbe4593bb63ba6fd66f09c321f558037ca9de6ad8b93bc0dc77c4209c4734a88"}, - "nerves_toolchain_aarch64_nerves_linux_gnu": {:hex, :nerves_toolchain_aarch64_nerves_linux_gnu, "1.6.1", "2ddc1aecb55b55e1cf18b7252b8074418c1b7dd5497e1e6a167b5a9fb40955a9", [:mix], [{:nerves, "~> 1.4", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_toolchain_ctng, "~> 1.9.0", [hex: :nerves_toolchain_ctng, repo: "hexpm", optional: false]}], "hexpm", "57ed1c2df89c7425aadfb18c8e7da6b9d1be9ffeafa1d54061cc8abe6e5e0e4c"}, - "nerves_toolchain_armv6_nerves_linux_gnueabihf": {:hex, :nerves_toolchain_armv6_nerves_linux_gnueabihf, "1.6.1", "1ee7ae5a3b1bfbddc82803edd2344045c00a57310c1db473e6e71dba7f564810", [:mix], [{:nerves, "~> 1.0", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_toolchain_ctng, "~> 1.9.0", [hex: :nerves_toolchain_ctng, repo: "hexpm", optional: false]}], "hexpm", "1293767fb33b1b0775d64d1abd6799edaa9c35fb05546e67d7181b785308b338"}, - "nerves_toolchain_armv7_nerves_linux_gnueabihf": {:hex, :nerves_toolchain_armv7_nerves_linux_gnueabihf, "1.6.1", "4014bc32142ef980e39af90e1377747095f3f3f8517e41815a23638ef1711702", [:mix], [{:nerves, "~> 1.0", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_toolchain_ctng, "~> 1.9.0", [hex: :nerves_toolchain_ctng, repo: "hexpm", optional: false]}], "hexpm", "20a529ce1ab54677f121ac97333cc6b7c32f75ebb4b83cee7e0934867d61bbb5"}, + "nerves_runtime": {:hex, :nerves_runtime, "0.13.3", "378d6dda56291c0144567f24eb2d4ade314012443ce5d03542adec93091ad9b7", [:mix], [{:nerves_logging, "~> 0.2.0", [hex: :nerves_logging, repo: "hexpm", optional: false]}, {:nerves_uevent, "~> 0.1.0", [hex: :nerves_uevent, repo: "hexpm", optional: false]}, {:uboot_env, "~> 0.3.0 or ~> 1.0", [hex: :uboot_env, repo: "hexpm", optional: false]}], "hexpm", "00b51d9675cae78cc82910e18508e5c8b8a032dad7a83d417c4d061d802e3107"}, + "nerves_system_br": {:hex, :nerves_system_br, "1.21.2", "b4d7df6525a695c85b30deb4ed69c94686e0c7ab7b9d6736f73e97cb7ed91d13", [:mix], [], "hexpm", "df94bf9941aec3bcb5aea858eb5c6f6ea70906fb495ae4fa557b02aa08c81c05"}, "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.9.3", "60e87fde05988c4264babc8d68a9221c7b8fe5dc195b7d1526f29b8e626c735c", [:mix], [{:nerves, "~> 1.0", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm", "2b6edb0687b7f78d3fa49958d759f647e351b23c1f59f637c617a6dc179994ae"}, "nerves_toolchain_riscv64_nerves_linux_musl": {:hex, :nerves_toolchain_riscv64_nerves_linux_musl, "1.6.1", "1190dd899d2c807f5ace093537170a781fd669984eb9ad46d806fbd0ddf7d391", [:mix], [{:nerves, "~> 1.4", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_toolchain_ctng, "~> 1.9.0", [hex: :nerves_toolchain_ctng, repo: "hexpm", optional: false]}], "hexpm", "b46b4c65003770f6d44a82614b7076d04c97e090eda0feb8f43b490d638b43f3"}, - "nerves_toolchain_x86_64_nerves_linux_musl": {:hex, :nerves_toolchain_x86_64_nerves_linux_musl, "1.6.1", "3e10d1c8e848afe4c7ea506d89f0a3ea12d63c4e91c6ea6bbc1e458c0ef6f940", [:mix], [{:nerves, "~> 1.0", [hex: :nerves, repo: "hexpm", optional: false]}, {:nerves_toolchain_ctng, "~> 1.9.0", [hex: :nerves_toolchain_ctng, repo: "hexpm", optional: false]}], "hexpm", "8453041055bc2271279674fe284b9e093a1e8bddf931a8502a88afce43c578b2"}, "nerves_uevent": {:hex, :nerves_uevent, "0.1.0", "651111a46be9a238560cbf7946989fc500e5f33d7035fd9ea7194d07a281bc19", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:property_table, "~> 0.2.0", [hex: :property_table, repo: "hexpm", optional: false]}], "hexpm", "cb0b1993c3ed3cefadbcdb534e910af0661f95c3445796ce8a7c8be3519a4e5f"}, - "one_dhcpd": {:hex, :one_dhcpd, "2.0.1", "d2d24dcb29f84072f3666580e4fb297ce8533c61667f78c94643ad37d586f7b8", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "1558faedeb560bb358827864bec3e862eadfcbaa589f9c2d457f49c833db704c"}, - "pinout": {:hex, :pinout, "0.1.2", "838570b2e508d01a24f78356883c93ba5a154cc5632f83fe9e8455d9120d3a28", [:mix], [], "hexpm", "7e645e1ebd5b2bf4567a18d069eeb8e3b9938ee52da03a7b77830cff82c93687"}, - "power_control": {:git, "https://github.com/cjfreeze/power_control.git", "9935fda59aa4661bfc4da38cc1d84f8bc37303bf", []}, "property_table": {:hex, :property_table, "0.2.2", "79c6879e74f510d8a5990d574e9da85fb8a8e7e14c5ad6367fdc8f757ec58ba2", [:mix], [], "hexpm", "984870a52d531413dc36c194e0b438a1d70781a222fae588bb965d460cb112ff"}, - "ramoops_logger": {:hex, :ramoops_logger, "0.3.1", "86ca4d9e4aa00b5aebe4d84791c05b96f392bfdf37f64cb39ab103e45a92738c", [:mix], [], "hexpm", "f82738e5e7d0ada385bbbf3092ffb9b1a063caaa5f7e11cc417c9986d89af3c6"}, "ring_logger": {:hex, :ring_logger, "0.8.6", "8159b877f184f6d3b9e72b2dbd08545b1f93b20f73e827234282273e76223e51", [:mix], [{:circular_buffer, "~> 0.4.0", [hex: :circular_buffer, repo: "hexpm", optional: false]}], "hexpm", "f19684a5413ad455422cea10ec164d71de390f42ce6f703c345d87bcb188f315"}, "shoehorn": {:hex, :shoehorn, "0.9.1", "8e12670024c2942e3c2fdd27cd5a034ee0337ee7c25c37b3ebc2ad482de67199", [:mix], [], "hexpm", "fccd040ac22de9b3cc111bbf78a363832c7210010a3fff4a550fbb2f10de0692"}, - "ssh_subsystem_fwup": {:hex, :ssh_subsystem_fwup, "0.6.1", "628f8e3795de5f1d0e7b3b55de4248ab0a77ab4c47e3cd282f1dda89d6354a9f", [:mix], [], "hexpm", "babdae337f2dc011ab5478662b4ec850650d7acfb165662ae47f6f0ce8892499"}, "toolshed": {:hex, :toolshed, "0.2.26", "1e50c8ff6da61d304dd59598667c403ff0873319afb73f40efda775a49e00c93", [:mix], [{:nerves_runtime, "~> 0.8", [hex: :nerves_runtime, repo: "hexpm", optional: true]}], "hexpm", "7e92e03731ed39c1261d5baf58576a771d116e2e3461db35cdd45c78a6b999b2"}, "uboot_env": {:hex, :uboot_env, "1.0.1", "b0e136cf1a561412ff7db23ed2b6df18d7c7ce2fc59941afd851006788a67f3d", [:mix], [], "hexpm", "b6d4fe7c24123be57ed946c48116d23173e37944bc945b8b76fccc437909c60b"}, - "vintage_net": {:hex, :vintage_net, "0.12.2", "2e6b858f0f4000476758a20ac72aefff899ec25adeb0233f284547b59f287dc4", [:make, :mix], [{:beam_notify, "~> 1.0 or ~> 0.2.0", [hex: :beam_notify, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:gen_state_machine, "~> 2.0.0 or ~> 2.1.0 or ~> 3.0.0", [hex: :gen_state_machine, repo: "hexpm", optional: false]}, {:muontrap, "~> 1.0 or ~> 0.5.1 or ~> 0.6.0", [hex: :muontrap, repo: "hexpm", optional: false]}, {:property_table, "~> 0.2.0", [hex: :property_table, repo: "hexpm", optional: false]}], "hexpm", "8a3a55a5797d89daae591ede297e99883b29ce3e148d605f0e61fbb58203569b"}, - "vintage_net_direct": {:hex, :vintage_net_direct, "0.10.6", "a5e9ba836a6e384a3beebb65b3ed9d977d3487e1bd8889851bfe301b3a300393", [:mix], [{:one_dhcpd, "~> 2.0 or ~> 1.0 or ~> 0.2.3", [hex: :one_dhcpd, repo: "hexpm", optional: false]}, {:vintage_net, "~> 0.9.1 or ~> 0.10.0 or ~> 0.11.0 or ~> 0.12.0", [hex: :vintage_net, repo: "hexpm", optional: false]}], "hexpm", "f3927a0c1aea864eb70beb6267c7f2fa404985305ad3919cca737038920c9d35"}, + "vintage_net": {:hex, :vintage_net, "0.12.2", "2e6b858f0f4000476758a20ac72aefff899ec25adeb0233f284547b59f287dc4", [:make, :mix], [{:beam_notify, "~> 0.2.0 or ~> 1.0", [hex: :beam_notify, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:gen_state_machine, "~> 2.0.0 or ~> 2.1.0 or ~> 3.0.0", [hex: :gen_state_machine, repo: "hexpm", optional: false]}, {:muontrap, "~> 0.5.1 or ~> 0.6.0 or ~> 1.0", [hex: :muontrap, repo: "hexpm", optional: false]}, {:property_table, "~> 0.2.0", [hex: :property_table, repo: "hexpm", optional: false]}], "hexpm", "8a3a55a5797d89daae591ede297e99883b29ce3e148d605f0e61fbb58203569b"}, "vintage_net_ethernet": {:hex, :vintage_net_ethernet, "0.11.0", "3610e7961f0b595043b196e80e0eed86acf38098b65bfcb7fad1d30911bd2313", [:mix], [{:vintage_net, "~> 0.12.0", [hex: :vintage_net, repo: "hexpm", optional: false]}], "hexpm", "7720c70dee5955610a82ef9c4f6a57ae93f0fb717f29547c6a709a1baec8ac23"}, - "vintage_net_wifi": {:hex, :vintage_net_wifi, "0.11.1", "efbcc0eff75acfd0982044028dd6c8a73fc89a06fea9db6d64f10ae7dff8441c", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:vintage_net, "~> 0.12.0", [hex: :vintage_net, repo: "hexpm", optional: false]}], "hexpm", "7a40fd6d8a23eda1b866e14a2c5442f9a02ad5c02a2ee4f5ce08d86c7ce2632b"}, } diff --git a/rel/vm.args.eex b/rel/vm.args.eex index 42154b1..26c06ce 100644 --- a/rel/vm.args.eex +++ b/rel/vm.args.eex @@ -16,7 +16,7 @@ ## Load code at system startup ## See http://erlang.org/doc/system_principles/system_principles.html#code-loading-strategy --mode embedded +#-mode embedded ## Disable scheduler busy wait to reduce idle CPU usage and avoid delaying ## other OS processes. See http://erlang.org/doc/man/erl.html#+sbwt @@ -29,7 +29,7 @@ -kernel shell_history enabled ## Enable heartbeat monitoring of the Erlang runtime system --heart -env HEART_BEAT_TIMEOUT 30 +-heart -env HEART_BEAT_TIMEOUT 120 ## Start the Elixir shell