[Chromebooks] nabil2000:
FydeOS base upgrading kernel from 4.14.67 to 4.14.96

Kernel 4.14.96 upgrade progress -

I allowed

CONFIG_TCG_VTPM_PROXY=m

in .config

& this allowed me to update a chromefied FydeOS with eve/caroline 71 to eve 73 dev by using chromefy2!

this in turn allowed me to use an edimax Wifi USB dongle in MacBook Air -

the onboard WiFi still not loading, no trackpad but still progress :relaxed:

so modules do get loaded unlike my concern, it's just a matter to identify the proper entry in .config to load them when compiling the kernel...

now what are the proper entries for internal WiFi & trackpad?

Extra - Icing on the cake -

FydeOS 5.3.1 with eve dev 73 - putting the correct files in place allows to load kernel 4.14.83 & its modules to get crostini -

of course loading FydeOS kernel which is 4.14.67 stops Android 9.

This amended chromefy.sh script might help with MacBooks for trackpad & WiFi.

https://github.com/youngyou/chromefy/blob/master/chromefy.sh

*** Important note ***

To install the kernel modules in the Chrome OS box, you need to install Chromebrew to have access to the necessary commands -

$ curl -Ls http://git.io/vddgY | bash

In kernel source code folder:

$ sudo make modules_install

then copy bzImage over vmlinuz.A (after backing up the original)

I am planning to release an archive with kernels & modules including the one I built, it will be

vmlinuz.A.67(4.14.67); vmlinuz.A.83 (4.14.83); vmlinuz.A.96 (4.14.96); & corresponding /lib/modules folder

FydeOS 5.3.1 - ATB v72 - my built kernel

Notes -

Kernel 4.14.96 upgrade progress - I allowed CONFIG_TCG_VTPM_PROXY=m so this allowed me to update a chromefied FydeOS to eve 73 dev by using chromefy2! this in turn allowed me to use an edimax Wifi USB dongle in MacBook Air - the onboard WiFi still not loading, no trackpad but still progress :relaxed:

Icing on the cake - FydeOS 5.3.1 with eve dev 73 - putting the correct files in place allows to load kernel 4.14.83 & its modules to get crostini - of course loading FydeOS kernel which is 4.14.67 stops Android 9.

Cool progress - I managed to boot to the GUI of Acer CB C720P with eve dev v73 - still need to iron out something, but could get into guest mode, & to linux prompt - this is great :stuck_out_tongue_winking_eye: this is using kernel 4.14.83 on top of FydeOS 5.3.1

Finally managed to log into my google account in Acer CB C720P- next hurdle, will Android 9 work? - crostini back in the menu -

hurdle - despite changing vmlinuz.A to 4.14.83 or 4.14.96 - it still only loads FydeOS 4.14.67

so

I learnt something new, which means I need to learn more -

when you boot to a real chromebook from usb or internal, it will look for the kernel in the blob KERN-A /dev/sdx2, & will not use the vmlinuz.A in /dev/sdx12 -

so with FydeOS stuck with kernel 4.14.67 -

if I boot from other laptop, blob is not used, vmlinuz.A instead -

so I need to produce new KERN-A /dev/sdx2 blob for new kernel,

FydeOS blob is 16MB, ATB v72 blob is 64MB,

so to flash I need to play with partitions, tricky, & did not work...

still didn't figure out how to make a new blob for a new kernel...

RFC - how to produce a blob for loading a new kernel?