Skip to content

update_kernel.sh does not work with current LATEST-ti file, nor does it support latest LTS versions #140

Description

@tdhammer

Part 1

The current content of the LATEST-ti file is:

ABI:1 LTS419 4.19.94-ti-r74
ABI:1 LTS54 5.4.106-ti-r42
ABI:1 LTS510 5.10.168-ti-r79
ABI:1 LTS61 6.1.83-ti-r35
ABI:1 LTS66 6.6.32-ti-arm32-r7
ABI:1 LTS612 6.12.0-rc5-ti-arm32-r1
ABI:1 LTS419X 4.19.94-ti-r74
ABI:1 LTS54X 5.4.106-ti-r42
ABI:1 LTS612X 6.12.34-ti-arm32-r12
ABI:1 LTS510X 5.10.168-ti-r84
ABI:1 LTS61X 6.1.83-ti-r42
ABI:1 LTS66X 6.6.58-ti-arm32-r15

I have not found any information about what the "...X" versions represent compared to non-X other than they are more recent.
In any case, the existence of those "...X" versions causes the script to break because the grep command to get the kernel version finds two matches the available options. E.g.

info: you are running: [4.14.108-ti-r131], latest is: [5.10.168-ti-r79
5.10.168-ti-r84] updating...
...
info: [linux-image-5.10.168-ti-r79
5.10.168-ti-r84] (latest) is currently unavailable on [rcn-ee.com/repos]

I got around this by by modifying the script on my board:

        --lts-5_10-kernel|--lts-5_10)
-               kernel="LTS510"
+               kernel="LTS510X"
                ;;

Part 2

Since I can download images that include newer kernels (including 6.18, which is not in the LATEST-ti file?), it would be nice if the script supported doing that so that I can update my server without being required to reinstall & configure all of my services.

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