imagebuilder icon indicating copy to clipboard operation
imagebuilder copied to clipboard

chromebook_nyan: status

Open hexdump0815 opened this issue 3 years ago • 33 comments

notes on nyan running 5.19.1:

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

working

  • wifi
  • bluetooth
  • builtin display
  • usb
  • builtin speaker and mic
  • webcam
  • energy: dpms

untested

  • hw video encode/decode (most probably not working)
  • external display (might work)

broken

  • energy: suspend/resume (s2idle suspend works partially, but not reliable)

installation

coming soon

problems

  • gpu requires self built newer version of the xorg server and most proably older mesa version due to regressions in newer mesa versions

hexdump0815 avatar Sep 05 '22 18:09 hexdump0815

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

RaylynnKnight avatar Oct 10 '22 03:10 RaylynnKnight

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

  • HDMI works
  • Audio is not working (I'd like to make it work, but I can use some pointers)
  • WiFi is intermittent (I think it worked fine before running sudo apt dist-upgrade)

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 avatar Jun 21 '24 19:06 eutampieri

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

eutampieri avatar Jun 22 '24 05:06 eutampieri

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

hexdump0815 avatar Jun 22 '24 21:06 hexdump0815

How do I install this?

legendaryfishwastaken avatar Jun 23 '24 00:06 legendaryfishwastaken

@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 avatar Jun 24 '24 19:06 eutampieri

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?

eutampieri avatar Jun 24 '24 19:06 eutampieri

@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

hexdump0815 avatar Jun 24 '24 21:06 hexdump0815