This builds a NixOS system, copies it into a tmpfs, then instructs systemd to shut down the main system and switch into the new one (without replacing the kernel).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Aug 17 10:41:07 beaker-nixos kernel: wcnss_wlan triggered by userspace | |
| Aug 17 10:41:07 beaker-nixos kernel: wcnss_pm_qos_add_request: add request | |
| Aug 17 10:41:07 beaker-nixos kernel: wcnss_pm_qos_update_request: update request 100 | |
| Aug 17 10:41:07 beaker-nixos kernel: wcnss_trigger_config: couldn't get snoc_wcnss | |
| Aug 17 10:41:07 beaker-nixos kernel: wcnss_notif_cb: wcnss notification event: 2 | |
| Aug 17 10:41:07 beaker-nixos kernel: subsys-pil-tz a21b000.qcom,pronto: wcnss: loading from 0x000000008e800000 to 0x000000008ee57000 | |
| Aug 17 10:41:07 beaker-nixos kernel: wcnss_notif_cb: wcnss notification event: 6 | |
| Aug 17 10:41:07 beaker-nixos kernel: wcnss: IRIS Reg: 04000004 | |
| Aug 17 10:41:07 beaker-nixos kernel: subsys-pil-tz a21b000.qcom,pronto: wcnss: Brought out of reset | |
| Aug 17 10:41:08 beaker-nixos kernel: subsys-pil-tz a21b000.qcom,pronto: wcnss: Power/Clock ready interrupt received |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Android Bootloader - UART_DM Initialized!!! | |
| [40] Qseecom Init Done in Appsbl version is 0x1001000 | |
| [40] secure app region addr=0x84a00000 size=0x1900000[50] TZ App region notif returned with status:0 addr:84a00000 size:26214400 | |
| [50] TZ App log region register returned with status:0 addr:8f777000 size:4096 | |
| [60] Qseecom TZ Init Done in Appsbl | |
| [70] Loading cmnlib done | |
| [90] Loading cmnlib64 done | |
| pcba_config : 4 | |
| pcba is D2A , normal boot | |
| [110] fastboot: is_unlocked = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| services.udev.extraRules = '' | |
| # SuzyQable # SuzyQable | |
| SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="5014", GROUP="wheel", MODE="0660" | |
| SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="501f", GROUP="wheel", MODE="0660" | |
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ENV{GOOGLE_CCD_NAME}="$attr{product}-$attr{busnum}-$attr{devpath}" | |
| SUBSYSTEM=="usb", ENV{GOOGLE_CCD_NAME}!="", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff5001:*", ENV{ID_MM_DEVICE_IGNORE}="1" | |
| SUBSYSTEM=="tty", ENV{GOOGLE_CCD_NAME}!="", ATTRS{bInterfaceClass}=="ff", ATTRS{bInterfaceSubClass}=="50", ATTRS{bInterfaceProtocol}=="01", OPTIONS+="string_escape=replace", SYMLINK+="suzy-$attr{interface}", GROUP="wheel", MODE="0660" | |
| ''; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {} }: | |
| pkgs.linuxManualConfig { | |
| inherit (pkgs) stdenv; | |
| src = ./linux-5.7.7.tar.xz; | |
| version = "5.7.7"; | |
| configfile = ./config; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 223.526909] ------------[ cut here ]------------ | |
| [ 223.526916] WARNING: CPU: 0 PID: 0 at ../net/core/skbuff.c:616 skb_release_head_state+0x74/0xdc() | |
| [ 223.526923] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.18.71 #2 | |
| [ 223.526926] Hardware name: Qualcomm Technologies, Inc. MSM8953 + PMI8950 QRD SKU3 (DT) | |
| [ 223.526929] Call trace: | |
| [ 223.526939] [<ffffffc00008aa70>] dump_backtrace+0x0/0x11c | |
| [ 223.526944] [<ffffffc00008aba0>] show_stack+0x14/0x1c | |
| [ 223.526948] [<ffffffc000e8aa18>] dump_stack+0x80/0xac | |
| [ 223.526953] [<ffffffc0000a56fc>] warn_slowpath_common+0x88/0xb4 | |
| [ 223.526958] [<ffffffc0000a5860>] warn_slowpath_null+0x18/0x20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| port=9053 | |
| domain=virt.example.com. | |
| dhcp-fqdn | |
| dhcp-authoritative | |
| auth-sec-servers=ns3.example.com. | |
| auth-peer=::1,127.0.0.1 | |
| log-queries |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| coreboot-4.12-236-gd1e44b033e Fri May 22 11:01:55 UTC 2020 ramstage starting (log level: 7)... | |
| ARM64: Exception handlers installed. | |
| Enumerating buses... | |
| Root Device scanning... | |
| CPU_CLUSTER: 0 enabled | |
| scan_bus: bus Root Device finished in 2 msecs | |
| done | |
| BS: BS_DEV_ENUMERATE run times (exec / console): 0 / 11 ms | |
| Allocating resources... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] | |
| [ 0.000000] Linux version 5.4.32 (nixbld@localhost) (gcc version 8.3.0 (GCC)) #1-NixOS SMP Mon Apr 13 08:48:18 UTC 2020 | |
| [ 0.000000] Machine model: FriendlyElec NanoPi M4 | |
| [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '') | |
| [ 0.000000] printk: bootconsole [uart8250] enabled | |
| [ 0.000000] efi: Getting EFI parameters from FDT: | |
| [ 0.000000] efi: UEFI not found. | |
| [ 0.000000] cma: Reserved 32 MiB at 0x00000000f6000000 | |
| [ 0.000000] NUMA: No NUMA configuration found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 00:00:00.003 [sway/main.c:153] Linux bringtnix 5.4.32 #1-NixOS SMP Mon Apr 13 08:48:18 UTC 2020 x86_64 GNU/Linux | |
| 00:00:00.003 [sway/main.c:169] Contents of /etc/os-release: | |
| 00:00:00.003 [sway/main.c:153] NAME=NixOS | |
| 00:00:00.003 [sway/main.c:153] ID=nixos | |
| 00:00:00.003 [sway/main.c:153] VERSION="20.09pre221706.b61999e4ad6 (Nightingale)" | |
| 00:00:00.003 [sway/main.c:153] VERSION_CODENAME=nightingale | |
| 00:00:00.003 [sway/main.c:153] VERSION_ID="20.09pre221706.b61999e4ad6" | |
| 00:00:00.003 [sway/main.c:153] PRETTY_NAME="NixOS 20.09 (Nightingale)" | |
| 00:00:00.003 [sway/main.c:153] LOGO="nix-snowflake" | |
| 00:00:00.003 [sway/main.c:153] HOME_URL="https://nixos.org/" |