Notes - Chromebook

Install GNU/Linux

Voir :

https://www.youtube.com/watch?v=ZwPbODdB8

https://linuxfr.org/users/pulkomandy/journaux/deverrouillage-d-un-chromebook

https://www.wikihow.com/Enable-USB-Booting-on-Chromebook

https://mrchromebox.tech

https://docs.chrultrabook.com

http://vger.kernel.org/%7Edavem/chromebook_pixel_linux.txt

https://www.asus.com/fr/support/faq/1049391/

https://support.google.com/chromebook

https://ressources.labomedia.org/liberer_un_chromebook_de_google

https://filmora.wondershare.fr/video-editor/how-to-install-linux-on-chromebook.html

Code source de ChromiumOS https://chromium.googlesource.com/chromiumos

NayuOS n'est plus mis à jour https://nayuos.nexedi.com/ Ni GalliumOS

Les codes claviers des ChromeBooks https://chromium.googlesource.com/chromiumos/docs/+/master/debug_buttons.md

Chrome OS Factory Shim https://chromium.googlesource.com/chromiumos/platform/factory_installer/+/HEAD/README.md

Chrome OS RMA shim https://chromium.googlesource.com/chromiumos/platform/factory/+/HEAD/setup/RMA_SHIM.md

Easy Ways to Enable USB Booting on Chromebook https://www.wikihow.com/Enable-USB-Booting-on-Chromebook

Télécharger ChromeOS officiel signé https://cros.tech/t

Fixing audio & keyboard

https://github.com/WeirdTreeThing/chromebook-linux-audio

https://ravidwivedi.in/posts/fixing-audio-and-keymap-in-chromebook-running-debian/

https://github.com/WeirdTreeThing/cros-keyboard-map

Autres

Chrome OS Recovery - Does not detect image https://groups.google.com/a/chromium.org/g/chromium-os-discuss/c/OcB4zaIWwok

chronos # login user sudo -i crossystem dev_boot_usb=1 dev_boot_legacy=1 dev_boot_signed_only=0 crossystem dev_boot_altfw=1

Autres

mkdir -p /boot/EFI/EFI/BOOT cp /boot/EFI/EFI/mageia/grubx64.efi /boot/EFI/EFI/BOOT/BOOTX64.efi

https://forums.mageia.org/en/viewtopic.php?f=7&t=12523

sudo -i dev_install

ChromeOS Device Firmware Utility Script [2024-03-09]
(c) Mr Chromebox <mrchromebox@gmail.com>
*********************************************************
** Device: ASUS Chromebook CX34 (MARASOV-UERT)
** Platform: Intel AlderLake/RaptorLake-U/P
** Fw Type: Stock ChromeOS w/RW_LEGACY
** Fw Ver: Google_Marasov.14505.633.0 (10/27/2023)
** Fw WP: Disabled
*********************************************************
** 1) Install/Update RW_LEGACY Firmware
** [WP] 2) Install/Update UEFI (Full ROM) Firmware
** [WP] 3) Set Boot Options (GBB flags)
** [WP] 4) Set Hardware ID (HWID)
*********************************************************
Select a numeric menu option or
R to reboot P to poweroff Q to quit

[root@sysrescue ~]# /tmp/flashrom -p internal --wp-disable
flashrom 1.4.0-devel on Linux 6.6.14-1-lts (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Opened /dev/mtd0 successfully
Found Programmer flash chip "Opaque flash chip" (32768 kB, Programmer-specific) on internal.
Disabled hardware protection
SUCCESS
[root@sysrescue ~]# /tmp/flashrom -p internal -r -i GBB:/tmp/gbb.temp
flashrom 1.4.0-devel on Linux 6.6.14-1-lts (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Opened /dev/mtd0 successfully
Found Programmer flash chip "Opaque flash chip" (32768 kB, Programmer-specific) on internal.
Using region: "GBB":"/tmp/gbb.temp".
Reading flash... done.
SUCCESS
[root@sysrescue ~]# /tmp/gbb_utility --set --flags=0x4A8 /tmp/gbb.temp
successfully saved new image to: /tmp/gbb.temp
[root@sysrescue ~]# /tmp/flashrom -p internal -w -i GBB:/tmp/gbb.temp
flashrom 1.4.0-devel on Linux 6.6.14-1-lts (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Opened /dev/mtd0 successfully
Found Programmer flash chip "Opaque flash chip" (32768 kB, Programmer-specific) on internal.
Using region: "GBB":"/tmp/gbb.temp".
disable_power_management: Failed to open /run/lock/power_override/flashrom.lock for writing: No such file or directory
Reading old flash chip contents... done.
Erasing and writing flash chip... FAILED at 0x01805000! Expected=0xff, Found=0x24, failed byte count from 0x01805000-0x01805fff: 0xffe
ERASE_FAILED
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Good, writing to the flash chip apparently didn't do anything.
This means we have to add special support for your board, programmer or flash
chip. Please report this to the mailing list at flashrom@flashrom.org or on
IRC (see https://www.flashrom.org/Contact for details), thanks!
-------------------------------------------------------------------------------
You may now reboot or simply leave the machine running.
FAILED

/tmp/flashrom -p internal --ifd -i bios -r /tmp/bios.bin

Pb

Disque pas détecté

Il faut le module ufshcd_pci

Pour booter sur le disque

A tester

https://askubuntu.com/questions/1446115/install-ubuntu-22-10-on-the-computer-with-ufs-universal-flash-storage-showing-t

recompiler le Kernel avec les options

CONFIG_SCSI_UFSHCD=y CONFIG_SCSI_UFSHCD_PLATFORM=y CONFIG_SCSI_UFS_HISI=y