Lines Matching +full:disk +full:- +full:version
1 .. _zephyr-audio-dsp-development-on-chromebooks:
8 arbitrary user-developed firmware like Zephyr applications (of which
28 Hold Esc + Refresh (the arrow-in-a-circle "reload" key above "3") and
51 device ID (for example "DELBIN-XHVI D4B-H4D-G4G-Q9A-A9P" for the Asus
62 Linux's dm-verity feature) all access to the read-only root
64 for a custom kernel) requires that the dm-verity layer be turned off:
66 First open a terminal with Ctrl-Alt-T. Then at the "crosh> " prompt
68 user. Finally (in developer mode) a simple "sudo su -" will get you a
71 .. code-block:: console
74 chronos@localhost / $ sudo su -
80 bootloader, not the OS, and this setting is a (developer-mode-only)
83 .. code-block:: console
92 .. code-block:: console
94 cros# /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification
98 "--partitions X" argument to use that modifies only the currently used
103 "dm-0" verity device, and that the rootfs is read-write.
108 "root=<guid>" and not "root=dm-0". It does seem to leave the other
110 resulting (now-invalid!) partition.
121 built-in ssh server with:
123 .. code-block:: console
130 ssh-copy-id, of course):
132 .. code-block:: console
149 chroot-based personality that preserves access to the real hardware
150 sysfs and /dev filesystem. These instructions install the "cli-extra"
151 package list, there are X11-enabled ones available too if you prefer
158 .. code-block:: console
160 cros# mkdir -p /usr/local/bin
161 cros# curl -L https://github.com/dnschneid/crouton/raw/master/installer/crouton \
164 cros# crouton -r focal -t cli-extra
168 .. code-block:: console
177 .. code-block:: console
179 crouton# apt install iptables openssh-server
182 crouton# iptables -I INPUT -p tcp --dport 222 -j ACCEPT
190 convenience. Crouton doesn't run systemd (because it can't -- it
191 doesn't own the system!) so Ubuntu services like openssh-server don't
200 hardware is all quite recent (5-6 weeks behind mainline or so). We
203 .. code-block:: console
208 dev$ git checkout chromeos-5.10
218 the deltas -- ChromeOS tracks upstream closely.
224 .. code-block:: console
234 + ``CONFIG_HUGETLBFS=y`` - The Zephyr loader tool requires this
235 + ``CONFIG_EXTRA_FIRMWARE_DIR=n`` - This refers to a build directory
237 + ``CONFIG_SECURITY_LOADPIN=n`` - Pins modules such that they will
240 + ``CONFIG_MODVERSIONS=n`` - Allow modules to be built and installed
245 .. code-block:: console
248 dev$ make bzImage modules # Probably want -j<whatever> for parallel build
256 .. code-block:: console
259 dev$ (cd mods/lib/modules; tar cf - .) | ssh root@cros '(cd /lib/modules; tar xfv -)'
269 .. code-block:: console
271 $ sudo apt install vboot-utils vboot-kernel-utils
277 .. code-block:: console
279 dev$ KPART=`ssh root@cros 'fdisk -l -o UUID,Device /dev/nvme0n1 | \
280 grep -i $(sed "s/.*kern_guid=//" /proc/cmdline \
288 .. code-block:: console
290 dev$ ssh root@cros vbutil_kernel --verify /dev/$KPART | tail -1 > cmdline.txt
295 configured it won't use it. Note the cannot-actually-be-empty dummy
299 .. code-block:: console
302 dev$ vbutil_kernel --pack kernel.img --config cmdline.txt \
303 --vmlinuz arch/x86_64/boot/bzImage \
304 --keyblock /usr/share/vboot/devkeys/kernel.keyblock \
305 --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \
306 --version 1 --bootloader dummy.efi --arch x86_64
308 You can verify this image if you like with "vbutil_kernel --verify".
312 .. code-block:: console
327 seems to be sufficient just to link the older version to the new name.
328 (It would probably be better to copy the proper version from
331 .. code-block:: console
334 cros# ln -s iwlwifi-QuZ-a0-hr-b0-62.ucode iwlwifi-QuZ-a0-hr-b0-64.ucode
349 .. code-block:: console
365 .. code-block:: console
371 .. code-block:: console
385 .. code-block:: console
387 dev$ west build -b intel_adsp/cavs25 samples/hello_world
388 dev$ west sign --tool-data=~/rimage/config -t ~/rimage/rimage -- \
389 -k $ZEPHYR_BASE/../modules/audio/sof/keys/otc_private_key_3k.pem
399 .. code-block:: console
401 dev$ west flash --remote-host crouton
411 https://www.chromium.org/chromium-os/developer-library/reference/device/disk-format
415 https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/custom-firmware