about summary refs log tree commit diff
path: root/README.md
blob: 5d8e107e5ad012826f91fce5150ee1ca9964941d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# firmware

## Usage

View all available "packaged" (prepared) firmware versions

```
; nix flake show
git+file:///Users/emile/firmware
└───packages
    └───aarch64-darwin
        ├───wyze-4_16_4_496: package 'Wyze-Cam-Outdoor-Base-Station-Firmware-wco_station_sd_4.16.4.496'
        ├───wyze-4_17_3_93: package 'Wyze-Cam-Outdoor-v1-Firmware-wco_cam_sd_4.17.3.93'
        ├───wyze-4_17_4_124: package 'Wyze-Cam-Outdoor-v1-Firmware-wco_cam_sd_4.17.4.124'
        ├───wyze-4_17_4_394: package 'Wyze-Cam-Outdoor-v1-Firmware-wco_cam_4.17.4.394'
        ├───wyze-4_17_4_418: package 'Wyze-Cam-Outdoor-v1-Firmware-wco_cam_4.17.4.418'
        ├───wyze-4_48_4_124: package 'Wyze-Cam-Outdoor-v2-Firmware-wco_cam_v2_sd_4.48.4.124'
        ├───wyze-4_48_4_394: package 'Wyze-Cam-Outdoor-v2-Firmware-wco_cam_4.48.4.394'
        └───wyze-4_48_4_418: package 'Wyze-Cam-Outdoor-v2-Firmware-wco_cam_4.48.4.418'
```

"Build" an image in order to get some information (this is just an example)

```
; nix build .#wyze-4_17_3_93
; cat result/info.txt                                                                    /Users/emile/firmware
/nix/store/89mazfka2xi0560v50ci2rirliz3l78n-Wyze-Cam-Outdoor-v1-Firmware-wco_cam_sd_4.17.3.93/sd_update/app.ver: ASCII text
/nix/store/89mazfka2xi0560v50ci2rirliz3l78n-Wyze-Cam-Outdoor-v1-Firmware-wco_cam_sd_4.17.3.93/sd_update/rootfs_camera.cpio.lzo: data
/nix/store/89mazfka2xi0560v50ci2rirliz3l78n-Wyze-Cam-Outdoor-v1-Firmware-wco_cam_sd_4.17.3.93/sd_update/system.bin: Squashfs filesystem, little endian, version 4.0, xz compressed, 1778706 bytes, 23 inodes, blocksize: 131072 bytes, created: Fri Jan 21 04:12:31 2022
```