Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta-lxatac-software: tacd{,-webinterface}: update #164

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

hnez
Copy link
Member

@hnez hnez commented Aug 6, 2024

This adds the following new features:

  • Retry polling for update bundles with exponential backoff. This solves a problem where the first update poll after bootup is likely to fail, because the network is not yet up, and the next one only takes place hours or days later.

  • Improved error handling in the iio/dut power threads.

  • Use the modern InstallBundle and InspectBundle RAUC DBus APIs instead of the deprecated Install and Info APIs.

  • Updated rust and node dependencies.

  • A diagnostics screen that displays a lot of information on a single screen and provides a screen border that can be used to align the screen. It also allows toggling the LEDs and backlight to make sure they work correctly.

  • Notifications in the web interface that redirect the user to appropriate command lines when they try to change the active RAUC slot or enable/disable update channels in the web interface.

TODO before merging:

  • Update the dependencies in the bitbake files
  • Update the commit hash with the one from tacd/main after the third release milestone has been reached there.

@hnez hnez added this to the third stable release milestone Aug 6, 2024
@hnez hnez self-assigned this Aug 6, 2024
@hnez hnez force-pushed the tacd-2024-08-06 branch from 1b75144 to 4a6fcf3 Compare August 7, 2024 05:37
@hnez
Copy link
Member Author

hnez commented Aug 7, 2024

The tacd-webinterface build failure is interesting. The reason for it failing is that:

@hnez hnez force-pushed the tacd-2024-08-06 branch from 4a6fcf3 to 53d76c4 Compare August 22, 2024 09:58
@hnez
Copy link
Member Author

hnez commented Aug 22, 2024

I've sent a patch for the npm fetcher in bitbake to the bitbake-devel mailing list, that should fix the @types/ramda vs. types/ramda problem.


The mail seems to be stuck in moderation or did not make it through some other step in the opaque process that makes appear in the web view of the mailing list. I will update this comment once it does.
Until then the message id is: 20240822100735.964739-1-l.goehrs@pengutronix.de.


I was not subscribed to the list, so the mail got silently dropped. I've subscribed to the list now, put on some eurobeat, got out my mullet wig and whistled some 56k modem sounds to set the mood and sent it again. This time it safely found its way through the hyperspace: https://lists.openembedded.org/g/bitbake-devel/message/16518 .


The fix is now in poky master and just needs to be backported to the scarthgap branch: yoctoproject/poky@ee6bf28 .

@hnez hnez force-pushed the tacd-2024-08-06 branch 3 times, most recently from 0ea9718 to 4567b36 Compare August 28, 2024 07:55
@hnez hnez force-pushed the tacd-2024-08-06 branch 2 times, most recently from e8d3162 to 4c52666 Compare September 9, 2024 13:13
@hnez
Copy link
Member Author

hnez commented Sep 9, 2024

The npm fetcher issues are worked around for now by linux-automation/tacd#78, which just downgrades the node dependencies.
This means the only thing blocking this from being mergeable is linux-automation/tacd#76.
Then we should have everything we need for a new stable release.

This adds the following new features:

  - Retry polling for update bundles with exponential backoff.
    This solves a problem where the first update poll after bootup is
    likely to fail, because the network is not yet up, and the next one
    only takes place hours or days later.

  - Improved error handling in the iio/dut power threads.

  - Use the modern InstallBundle and InspectBundle RAUC DBus APIs
    instead of the deprecated Install and Info APIs.

  - Updated rust dependencies.

  - A diagnostics screen that displays a lot of information on a single
    screen and provides a border that can be used to align the
    LCD.
    It also allows toggling the LEDs and backlight to make sure they
    work correctly.

  - Notifications in the web interface that redirect the user to
    appropriate command lines when they try to change the active RAUC slot
    or enable/disable update channels in the web interface.

  - A /etc/motd that is updated in realtime with relevant information
    about the TAC.

  - A web view of the software packages and licenses that make up the
    meta-lxatac image.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez hnez marked this pull request as ready for review September 10, 2024 14:10
@hnez
Copy link
Member Author

hnez commented Sep 11, 2024

Alright, linux-automation/tacd#76 is in and I have updated the commit hash here.
I've also had a quick look at the license information in the web interface and the other new features and I think we are good to go.

@hnez hnez requested a review from KarlK90 September 11, 2024 05:34
@hnez hnez assigned KarlK90 and unassigned hnez Sep 11, 2024
@hnez hnez merged commit 2eae561 into linux-automation:scarthgap Sep 11, 2024
4 checks passed
@hnez hnez deleted the tacd-2024-08-06 branch September 11, 2024 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants