Seeed-Studio / seeed-linux-dtoverlays

Device Tree Overlays for Seeed boards
Other
82 stars 54 forks source link

modified the kernel version appropriately to make it compatible with ubuntu23.10 (kernel 6.5) #98

Closed mnakai3 closed 6 months ago

mnakai3 commented 6 months ago

When building with ubuntu23.10 (kernel 6.5), the previously modified contents are not applied and an error occurs, so I fixed it to the appropriate kernel version.

See. https://github.com/Seeed-Studio/seeed-linux-dtoverlays/issues/95

log

### Current Debian version is bookworm or later

### Install required tool packages
Hit:1 http://ports.ubuntu.com/ubuntu-ports mantic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports mantic-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports mantic-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version (3.0.11-1ubuntu10).
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.

### Will compile with the latest kernel...

### Sync kernel and userland

### Uninstall previous dkms module

### Install required kernel package
Reading package lists...
Building dependency tree...
Reading state information...
linux-raspi is already the newest version (6.5.0.1013.14).
linux-headers-raspi is already the newest version (6.5.0.1013.14).
linux-image-raspi is already the newest version (6.5.0.1013.14).
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
KBUILD: /lib/modules/6.5.0-1013-raspi/build
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Creating symlink /var/lib/dkms/mipi_dsi/0.1/source -> /usr/src/mipi_dsi-0.1

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.5.0-1013-raspi all KVERSION=6.5.0-1013-raspi......
Cleaning build area...

mipi_dsi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-1013-raspi/updates/dkms/
depmod....
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Creating symlink /var/lib/dkms/ltr30x/0.1/source -> /usr/src/ltr30x-0.1

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.5.0-1013-raspi all KVERSION=6.5.0-1013-raspi.....
Cleaning build area...

als_ltr30x.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-1013-raspi/updates/dkms/
depmod....
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Creating symlink /var/lib/dkms/lis3lv02d/0.1/source -> /usr/src/lis3lv02d-0.1

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.5.0-1013-raspi all KVERSION=6.5.0-1013-raspi.......
Cleaning build area...

lis331dlh-i2c.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-1013-raspi/updates/dkms/
depmod....
Sign command: /usr/bin/kmodsign
Binary update-secureboot-policy not found, modules won't be signed
Creating symlink /var/lib/dkms/bq24179_charger/0.1/source -> /usr/src/bq24179_charger-0.1

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.5.0-1013-raspi all KVERSION=6.5.0-1013-raspi.....
Cleaning build area...

bq24179_charger.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.5.0-1013-raspi/updates/dkms/
depmod....
  DTC     overlays/rpi/reTerminal-overlay.dtbo
'overlays/rpi/reTerminal-overlay.dtbo' -> '/boot/firmware/overlays/reTerminal.dtbo'
------------------------------------------------------
Please reboot your device to apply all settings
Enjoy!
------------------------------------------------------
Pillar1989 commented 6 months ago

@bigbearishappy Please review this PR.

bigbearishappy commented 6 months ago

Thank you so much for your contribution~~~ Your commit log is very detailed. I like them.