hexdump0815 / imagebuilder

velvet os - simple script framework to build ubuntu 22.04 lts jammy (in older versions also 20.04 lts focal) and debian 12 bookworm (in older versions also 11 bullseye) bootable usb / sd card images for some arm and intel devices - lots of prebuilt images as well
GNU General Public License v3.0
283 stars 43 forks source link

chromebook_nyan: status #79

Open hexdump0815 opened 1 year ago

hexdump0815 commented 1 year ago

notes on nyan running 5.19.1:

here is list of working and non working features on the nyan chromebooks.

working

untested

broken

installation

coming soon

problems

RaylynnKnight commented 1 year ago

Thank you this appears to be functioning properly on an HP Chromebook 14 G3 (nyan-blaze).

eutampieri commented 3 weeks ago

Hey! Thanks for the great work. I'm writing to report that, on nyan blaze (2GB RAM),

uname -a

Linux eugenio-chromebook 6.1.51-stb-cbt+ #1 SMP Tue Sep  5 16:22:44 CEST 2023 armv7l GNU/Linux

lsb_release -a

Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm
eutampieri commented 3 weeks ago

wifi_not_working.txt wifi_working.txt Here are some dmesg logs with wifi working and not working. In ChromeOS, it always work.

hexdump0815 commented 3 weeks ago

i'm surprised a bit - i have a 2gb nyan here as well and audio is working (one needs to switch the output by hand properly iirc) and also wifi is working - maybe the updates overwrite the wifi firmware at some point - just try to put those files back in place and see if that helps: https://github.com/hexdump0815/imagebuilder/tree/main/systems/chromebook_nyan/extra-files/lib/firmware/mrvl

good luck and best wishes - hexdump

legendaryfishwastaken commented 3 weeks ago

How do I install this?

eutampieri commented 3 weeks ago

@legendaryfishwastaken what are you referring to? If you follow the guides on the repos, you'll download a rootfs image to extract to an SD card.

eutampieri commented 3 weeks ago
ls /lib/firmware/mrvl/
pcie8897_uapsta.bin        sd8787_uapsta_cros.bin     sdsd8977_combo_v2.bin
pcie8997_wlan_v4.bin       sd8797_uapsta.bin          sdsd8997_combo_v4.bin
pcieuart8997_combo_v4.bin  sd8797_uapsta_cros.bin     usb8766_uapsta.bin
pcieusb8997_combo_v4.bin   sd8801_uapsta.bin          usb8797_uapsta.bin
prestera                   sd8887_uapsta.bin          usb8801_uapsta.bin
sd8688.bin                 sd8897_uapsta.bin          usb8897_uapsta.bin
sd8688_helper.bin          sd8897_uapsta_cros.bin     usbusb8997_combo_v4.bin
sd8787_uapsta.bin          sd8xxx_uapsta_cros.readme

Is it normal that I have so many files?

hexdump0815 commented 3 weeks ago

@eutampieri - that might be right, but only the ones copied in from the extra-files area will be used on the nyan ... after copying them in it might be a good idea to "apt-mark hold firmware-libertas" to avoid the firmware files getting overwritten again (maybe the copied over firmware files were only required for the legacy kernel initially used - i do not remember anymore completely) ... but looking at this package it seems the firmware files installed have a different name, so no risk for the added files to get overwritten ... so lets forget about all that - it seems to not be the problem on your system - which kernel version is this?

i looked at your dmesg output and "mmc2: error -110 whilst initialising SDIO card mmc2: error -110 whilst initialising SDIO card" does not look good - what do you get with "dmesg | grep -i firmware"? ... maybe it is not even firmware loading related as the above error comes (accoring to the time stamps) before the firmware loading happens in your working dmesg output ... can you please put at full non working wifi dmesg up somewhere?

update: ok the extra copied firmware files were only required for the legacy kernel - https://github.com/hexdump0815/imagebuilder/commit/ce014e0f7f18fb1a90ca63f5555c7ccda72948eb - as such they should not be relevant for your problem