Seeed-Studio / seeed-linux-dtoverlays

Device Tree Overlays for Seeed boards
Other
78 stars 55 forks source link

[reTerminal DM] Support --keep-kernel in driver script #101

Open franzos opened 3 months ago

franzos commented 3 months ago

Is your feature request related to a problem? Please describe.

Follow-up to issue-100. I'm unable to retain the existing kernel:

./scripts/reTerminal.sh --device reTerminal-plus --keep-kernel

### Current Debian version is bookworm or later

### Install required tool packages
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [147 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [144 kB]
Get:6 http://deb.debian.org/debian-security bookworm-security/main Translation-en [90.3 kB]
Get:7 http://archive.raspberrypi.com/debian bookworm InRelease [23.6 kB]
Get:8 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [384 kB]
Get:9 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [374 kB]
Fetched 1,267 kB in 3s (372 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dkms is already the newest version (3.0.10-8+deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 234 not upgraded.

### Don't support option --keep-kernel currently.

### Pls remove --keep-kernel in your command.

Describe the solution you'd like

Support --keep-kernel.

Additional context

6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux

EDIT: I found you're already working on this https://github.com/Seeed-Studio/seeed-linux-dtoverlays/issues/86#issuecomment-1897845173 - but it's been many weeks; any ETA?

bigbearishappy commented 3 months ago

Fix commit is here.

You can pull the latest code the test it now.

franzos commented 3 months ago

Thank you very much. I will test it asap.

bigbearishappy commented 2 months ago

@franzos Anything update now?

franzos commented 2 months ago

Excuse me, I haven't had time to look into it. We're currently focused on the smaller reTerminal; Will probably get back to the DM-version early next month. Will surely share the findings.