Tiny Core Base > TCB Q&A Forum

TinyCorePure64 14.0 Mouse and Keyboard Not Working on Macbook Pro

<< < (7/9) > >>

pek:
No, there's no vmlinuz file


--- Code: ---ls vmlin*
--- End code ---
gave me
vmlinux
vmlinux.a
vmlinux.o

Juanito:
How about bzImage?

Note you will also need the new modules.

Rich:
Hi pek
Try looking for  bzImage  in  arch/x86/boot
Copy it to your  boot  directory and name it vmlinuz64Mac
Change the grub entry from  vmlinux  to  vmlinuz64Mac

pek:
Hi Juanito and Rich

I found the bzimage and renamed it into vmlinuz64Mac and booted

--- Code: ---menuentry "tinycore64 apple" {
  linux /boot/vmlinuz64Mac quiet
  initrd /boot/corepure64.gz
}
--- End code ---
It boots in successfully, but the keyboard and mouse still not working.


So, I searched for more "possible files" and tried adding vmlinux.bin.gz

--- Code: ---menuentry "tinycore64 apple" {
  linux /boot/vmlinuz64Mac quiet
  initrd /boot/corepure64.gz /boot/vmlinux.bin.gz
}
--- End code ---
It boots into cli


Then I tried

--- Code: ---menuentry "tinycore64 apple" {
  linux /boot/vmlinuz64Mac quiet
  initrd /boot/vmlinux.bin.gz
}
--- End code ---
It can not boot.. Kernel panic


I guess I'm not that smart to figure out things myself  ;D
Help again pleasee..??

Rich:
Hi pek
You left out this step:

--- Quote from: Juanito on May 11, 2023, 08:20:01 AM --- ... Note you will also need the new modules.
--- End quote ---

Let's create an extension. First create a destination to copy the modules to:

--- Code: ---mkdir -p package/usr/local/lib/modules/6.1.2-tinycore64/kernel/drivers/MacBook
--- End code ---

Copy the following files from your build directory to the destination:

--- Code: ---drivers/input/keyboard/applespi.ko
drivers/spi/spi-pxa2xx-pci.ko
drivers/spi/spi-pxa2xx.ko
--- End code ---

You'll need  squashfs-tools.tcz:

--- Code: ---tce-load -wil squashfs-tools.tcz
--- End code ---

Now create the extension:

--- Code: ---mksquashfs package MacBook.tcz -noappend
--- End code ---

Copy  MacBook.tcz  to your  tce/optional  directory.
Add  MacBook.tcz  to your  tce/onboot.lst  file.

Go back to this configuration:

--- Quote from: pek on May 11, 2023, 06:05:57 PM ---I found the bzimage and renamed it into vmlinuz64Mac and booted

--- Code: ---menuentry "tinycore64 apple" {
  linux /boot/vmlinuz64Mac quiet
  initrd /boot/corepure64.gz
}
--- End code ---
It boots in successfully, but the keyboard and mouse still not working. ...
--- End quote ---

Reboot and see if it works.

If it doesn't, we need the results of  lsmod  and  dmesg  again.

    [EDIT]: Incorrect version number in path. Changed 5.15.10 to 6.1.2.  Rich

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version