Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4567

Mender-converted RaspiOS image 2021-01-11 does not boot without uart enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 2.6.0, 2.7.0, 2.4.2, 2.6.1, 2.4.3
    • Fix Version/s: 2.7.0, 2.6.1
    • Labels:
    • Sprint:
      MEN Sprint 133
    • Story Points:
      8
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      We had a previous ticket for bumping the RaspiOS image https://tracker.mender.io/browse/MEN-4395, which we thought was fixed with the U-Boot bump to version `2020.01`. Turns out that this fix only works when the uart is enabled during boot.

      The culprit is still unknown, but the working theory is that it has to do with the RaspiOS firmware, more explicitly `start.elf` (start4.elf for RPi4), and how it interracts with U-Boot when uart is not enabled. When UART is enabled, the GPU clock (The GPU runs the start.elf binary file as the 2nd stage bootloader), is set to a fixed frequency, since this clock is divided for use with the UART during boot.

      For more information, have a look at this Mender-Hub post: https://hub.mender.io/t/raspios-versions-vs-mender-convert-versions/3398/9?u=oleorhagen

      Acceptance criteria:

      • Make mender-convert work the newer RaspiOS image
      • Make sure it works both with and without UART enabled (this is what burnt us last time)

       

         RaspiOS 2020-05 2021-01
      Uboot 2019.01
        2020.01 only with UART enabled

        Attachments

          Activity

            People

            Assignee:
            lluis Lluís Campos
            Reporter:
            oleorhagen Ole Petter Orhagen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support