I have small wm8850 netbook
Hi! Can this GitHub repository be used to install the system on a device with a WM8650 CPU? I know it's similar to the WM8505, but I just wanted to confirm if it's compatible or if any changes are required. Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "VT8500/WM8505 Linux Kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vt8500-wm8505-linux...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vt8500-wm8505-linux-kernel/cf594ef3-4537-4ece-86ed-1ade3cb9950cn%40googlegroups.com.
It's been a couple months since I last repeated the process to compile the latest kernel, but I was able to compile Linux for the WM8650 not long ago.Here's more information on what it took: https://groups.google.com/g/vt8500-wm8505-linux-kernel/c/L1Q6OHDGDcMYou'll likely find issues with the keyboard. There are other email threads in this group where Alexey has helped people find a workaround.
--On Mon, Apr 21, 2025 at 12:27 AM Michel Gomes <mic...@voltdata.info> wrote:Hi! Can this GitHub repository be used to install the system on a device with a WM8650 CPU? I know it's similar to the WM8505, but I just wanted to confirm if it's compatible or if any changes are required. Thanks in advance!--On Wednesday, February 26, 2025 at 4:53:40 PM UTC-3 Fernando Cassia wrote:I have small wm8850 netbookFC
You received this message because you are subscribed to the Google Groups "VT8500/WM8505 Linux Kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vt8500-wm8505-linux...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vt8500-wm8505-linux-kernel/cf594ef3-4537-4ece-86ed-1ade3cb9950cn%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "VT8500/WM8505 Linux Kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vt8500-wm8505-linux...@googlegroups.com.
I modified the build script in https://github.com/lrussell887/Debian-for-WM8505-Netbooks by replacing wm8505-ref.dtb with wm8650-mid.dtb to target the correct device. However, during the build process, I'm encountering a compilation error when running make modules, specifically in the Mellanox mlx4 driver, which I believe is unrelated to my use case.
Here’s the error:
In function ‘check_copy_size’,
inlined from ‘copy_to_user’ at ./include/linux/uaccess.h:168:6,
inlined from ‘mlx4_init_user_cqes’ at drivers/net/ethernet/mellanox/mlx4/cq.c:317:9,
inlined from ‘mlx4_cq_alloc’ at drivers/net/ethernet/mellanox/mlx4/cq.c:394:10:
./include/linux/thread_info.h:228:4: error: call to ‘__bad_copy_from’ declared with attribute error: copy source size is too small
make[6]: *** [scripts/Makefile.build:250: drivers/net/ethernet/mellanox/mlx4/cq.o] Error 1
make: *** [Makefile:2010: .] Error 2
I’ve also confirmed that this issue occurs even with the original, unmodified build.sh script, so it doesn’t seem to be caused by my changes.
Do you have any suggestions on how to work around this?
Any guidance would be greatly appreciated.
Thanks a lot for your detailed response, Alexey! I’ll go ahead and try the suggestions you mentioned, including modifying the seed file and adjusting the build.sh script.
I do have a quick question though, in the repository, I only see wm8650-mid.dts but not the compiled wm8650-mid.dtb. As I understand it, the .dts file is a Device Tree Source that describes the hardware layout (like addresses for peripherals, pins, etc.) so the kernel knows how to interface with the board. Is that correct?
To compile it into a .dtb, I used:
dtc -I dts -O dtb -o arch/arm/boot/dts/wm8650-mid.dtb arch/arm/boot/dts/wm8650-mid.dts
make -j"$(nproc)" zImage wm8650-mid.dtb
cat arch/arm/boot/zImage arch/arm/boot/dts/wm8650-mid.dtb > zImage_w_dtb
This is based on what I found in the script around https://github.com/lrussell887/Debian-for-WM8505-Netbooks/blob/3583567e00a54fe2e529bd9ec89f59ed5162aded/build.sh#L175-L176 . Just wanted to confirm that this is the right approach.
Thanks again for your help!
Best regards,
Michel
This allowed multistrap to proceed without key errors.
Does this seem like an acceptable workaround to you, or would you recommend a better approach?
I have a few beginner-level questions, I hope it's not too much to ask. I'm still learning, and I'd really appreciate some clarification:Hi again,
I added the line # CONFIG_MLX4_EN is not set to the seed file in order to disable the Mellanox driver.
However, when running build.sh, I encountered an error during the "Building modules" step:
[INFO] Building modulesTo work around this, I tried commenting out the section in build.sh that merges configurations — as shown in this part of the script — because that also caused errors.
Here’s how I modified the script:
log INFO "Generating seeded default config"But even after this change, it looks like CONFIG_MODULES is not being set properly, which prevents module compilation.
Do you have any suggestions on how to fix this or properly enable module support without breaking the rest of the build?
Thanks again!
and i trying to activate the built-in USB Wi-Fi adapter via the GPIO pins using wlan-gpio.service. However, after enabling the service with gpioset, I am unable to see the Wi-Fi interface when running ip link show.
Here are the steps I have tried so far:
Enabling the GPIO pin using the wlan-gpio.service with the gpioset command. The service is active, but the Wi-Fi interface does not show up.
Loading common Wi-Fi drivers, including brcmfmac, rtl8192cu, and ath9k via modprobe, but no interface is listed when checking with ip link show or nmcli device.
Checking the dmesg logs for any relevant output after activating the GPIO pin, but no messages related to the Wi-Fi device appear.
I suspect there may be a specific GPIO pin I need to activate or configure for the WM8650 version. Is there a different GPIO pin or configuration I should use to enable the internal USB Wi-Fi adapter?
Any suggestions or advice would be greatly appreciated!
--
You received this message because you are subscribed to the Google Groups "VT8500/WM8505 Linux Kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vt8500-wm8505-linux...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vt8500-wm8505-linux-kernel/f2495230-7d72-4d6f-8963-30d5cdb8d642n%40googlegroups.com.
I tried setting the GPIOs to output 0 using gpioset, but it didn’t help. This image lists the GPIOs.
Hi,
Thanks a lot for the suggestions.
Hi,
Thanks a lot for the suggestions.
In figure_1.png, you can see the output of lsusb after toggling the GPIOs — it remains exactly the same. The last device connected is a USB keyboard that I physically plugged in to help with typing.In lsmod.png, I ran both lsmod and ls /dev/ commands, searching for any mtd devices, but nothing was found. There’s no /dev/mtd* available.I also ran dtc -I fs -O dts /proc/device-tree to dump the device tree.
I am sending the resulting file as device-tree-output.txt, but also attached is pre-dtc_command.png, which shows some warnings that appeared when running the dtc command.
From what I understand, applying this patch to wm8650.dtsi would mainly involve adding the sf@d8002000 node and the clksf: sf clock definition inside the clocks section under pmc@d8130000, as shown in the green parts of the patch. right ?
From what I understand, applying this patch to wm8650.dtsi would mainly involve adding the sf@d8002000 node and the clksf: sf clock definition inside the clocks section under pmc@d8130000, as shown in the green parts of the patch. right ?
--
You received this message because you are subscribed to the Google Groups "VT8500/WM8505 Linux Kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vt8500-wm8505-linux...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vt8500-wm8505-linux-kernel/69a968bc-f26b-41eb-98c6-7a621d4cca70n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vt8500-wm8505-linux-kernel/2c27cd45-423b-43ce-9566-da6bba8eea7bn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vt8500-wm8505-linux-kernel/9c2519a4-a972-40fa-87d5-79f7f266f338n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vt8500-wm8505-linux-kernel/f4634a45-42bd-49b9-9fe1-eacb259a5c51n%40googlegroups.com.