Ubuntu 22.04 with Kernel 5.4

yarmooh
yarmooh New Member Posts: 7

Hi,

I'm trying to upgrade existing installation of Ubuntu 18.04 to 22.04, but keep using upboard kernel 5.4 - because of compatibility issues I'm getting.

With Ubuntu 18.04 and kernel 5.4 I've got no issues with FBTFT screen and my FTDI board, but if I upgrade to 22.04 it comes with kernel 5.15, it boots fine, but FTDI does not work "Error occured: FTDI controller not initialized" and does not too, since lack of up2 gpio support in the kernel.
If I try to run kernel 5.4 from 18.04 OS does not boot at all, kernel panics on vfs: cannot open root device unknown block error -6

What may be the cause of it, or how can I port up2 kernel changes to kernel 5.15?

Answers

  • Wilbert
    Wilbert New Member Posts: 100 ✭✭✭

    HI Sir,

    You can use ububntu original Kernel, it can be used normally.
    To use the functions of HAT40, just install Pinctrl.

    In order to allow customers to use it better, we have stopped updating the dedicated Kernel, and are currently moving towards the installation package to allow customers to use all the functions on the version.

    Best Regards,
    Wilbert Lee

  • rvandermate
    rvandermate New Member Posts: 1
    edited March 16

    In order to allow customers to use it better, we have stopped updating the dedicated Kernel, and are currently moving towards the installation package to allow customers to use all the functions on the version.

    @Wilbert, this is really intriguing!

    You can use ububntu original Kernel, it can be used normally.

    Are you suggesting that we can install plain Ubuntu 22.04 without needing to install the kernel packages suggested in the wiki?

    To use the functions of HAT40, just install Pinctrl.

    We'd like to use a newer Ubuntu (like 22.04) on our Up Squared Pro, but need to use the 40Pin Hat. There doesn't seem to be a package named Pinctrl or similar. Is this an package that needs to be installed or something different? Can you elaborate?

    Thanks!

  • Wilbert
    Wilbert New Member Posts: 100 ✭✭✭

    Hi Sir,

    The link is as follows
    https://github.com/up-division/pinctrl-upboard/releases

    Best Regards,
    Wilbert

  • Lubo
    Lubo New Member Posts: 26 ✭✭

    @Wilbert said:
    Hi Sir,

    The link is as follows
    https://github.com/up-division/pinctrl-upboard/releases

    Best Regards,
    Wilbert

    Hello Sir,
    there is list of supported board versions, but it seems to me that UPBoard https://up-board.org/up/specifications/ is not supported by this solution. Is it ?

  • garyw
    garyw New Member, Moderator, AAEON Posts: 67 admin

    @Lubo
    the new pin controller driver not support up board yet, you can use the customization kernel from launchpad.