-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I hope this project is not dead...
I was able to succesfully compile kernel 5.15 and debian 11 for a laptop with the WM8650 CPU. I had to tweak some things in order to be able to boot it:
- Making a new config file for the kernel using
make menuconfigand manually renamingconfig.newtoconfig(new config here) I had to change some things from theWM8505version toWM8650and I included some extra drivers for USB WiFi adapters (RTL8188is the one in the laptop, but it dosent seem to work so I added an external Ralink adapter and its drivers) and I think thats it. - Modify the
Makefile(new Makefile). I changed every instance ofwm8505-ref.dtbtowm8650-mid.dtb(no specific reason, just because it made sense to me) - Modify the
cmdfile because some of the commands were not reconognized by my laptop (new cmd) - Change where the files of the boot partition are located. I didnt know how to change it directly on the Makefile, so I just did that on the MicroSD itself. Just had to move
scriptcmdanduzImage.binto the root of the partition and also renamescriptcmdtowmt_scriptcmd
With that, and an external keyboard I was able to set up debian 11 and conect to the internet using the external Ralink adapter (RT5372L), because none of the "internal" devices seemd to work (no WiFi, no Ethernet, no keyboard). Also, I'm not being able to get anything on the serial port after the bootloader prints ## Transferring control to Linux (at address 00008000) ... and also, from the laptop itself I'm not able to see the internal serial port, only tty0 and ttyWMT0. I'll try to go back to linux 4.14 and see if any of this gets fixed, otherwise I'll have to look for some answers on the google mailing list.
One issue that I'm having that is related to this project, is that during the first boot and sometimes when installing new packages, I get the following:
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/per 15/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term: : ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabi/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/arm-linux-gnueabi/perl5/5.32 /usr/share/perl5 /usr/lib/arm-linux-gnueabi/perl-base /usr/lib /arm-linux-gnueabi/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/per 15/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
(beaware of some writing errors, I used google lens to extract the text from a pic I took)