Skip to content

Some issues with WM8650 #1

@fpp3

Description

@fpp3

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 menuconfig and manually renaming config.new to config (new config here) I had to change some things from the WM8505 version to WM8650 and I included some extra drivers for USB WiFi adapters (RTL8188 is 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 of wm8505-ref.dtb to wm8650-mid.dtb (no specific reason, just because it made sense to me)
  • Modify the cmd file 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 scriptcmd and uzImage.bin to the root of the partition and also rename scriptcmd to wmt_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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions