Error installing Ubuntu kernel 5.4.0 from PPA

rarestohanean
rarestohanean New Member Posts: 5

UP 4000 series APL03P4F
2023-05-30
Installing Ubuntu ubuntu-22.04.2-live-server-amd64.iso
Following https://github.com/up-board/up-community/wiki/Ubuntu_20.04
$ sudo add-apt-repository ppa:up-division/5.4-upboard - works
$ sudo apt update - works
$ sudo apt-get autoremove --purge 'linux-.*generic' - warning: "Your are running a kernel version 5.15.0-72-generic and attempting go remove the same version.
Error: dpkg: error processing package linux-image-5.15.0-72-generic (--remove)
dpkg: too many errors, stopping.

Please help me continue installing this board.
Thank you!

Answers

  • Wilbert
    Wilbert New Member Posts: 168 ✭✭✭

    Hi Sir,

    I would like to know why you want to install Kernel 5.4?
    This is a very old version of Kernel, I don't recommend you to use it.
    If you want to use what function you can ask, I will suggest you use the corresponding settings or tools, so that you will not be bound by the kernel.

    Best Regards,
    Wilbert Lee.

  • rarestohanean
    rarestohanean New Member Posts: 5

    I followed https://github.com/up-board/up-community/wiki/Ubuntu_20.04
    and here I see that this kernel is recommended.

    Is there any new page about installing this board?

    Thank you!
    Rares Tohanean

  • Wilbert
    Wilbert New Member Posts: 168 ✭✭✭

    Hi Sir,

    Based on various considerations, we did not provide a new version of Kernel for customers to use.
    The operating system is constantly updated, and many details may be modified or corrected in the middle; if customers use a new version of the OS, they do not have to install our Kernel, and the built-in things should be able to be used well.
    The special one is HAT-40PIN, because this part is directly related to the CPU hardware, so we provide the PINCTRL tool for customers to use, it will not be restricted by the kernel, and can be controlled by GPIO. (Note: Currently this tool does not support IRQ)

    Best Regards,
    Wilbert Lee.

  • Wilbert
    Wilbert New Member Posts: 168 ✭✭✭

    Hi Sir,

    According to the current information, we have determined that Ubuntu 22.04 does not support the previously built Kernel 5.4. If customers have this requirement, they need to build or develop it themselves.
    In fact, most functions can be used with Ubuntu presets, only HAT-40 needs to be processed. For this function, you can use PINCTRL to control the GPIO of HAT40.

    Best Regards,
    Wilbert Lee.

Privacy Policy