Skip to content

NXP S32G: first character is eaten in bootloader shell #729

@rh-jkangas

Description

@rh-jkangas

Haven't been able to test this on other hardware, but the first character is consistently eaten on the S32G when starting a bootloader shell:

trees ⚡nxp-s32g-vnp-rdb3-02 ➤ j storage bootloader-shell
[11/03/25 09:21:29] INFO     Setting up flasher bundle files in exporter                                                   client.py:78
[11/03/25 09:21:30] INFO     Power cycling target...                                                                       client.py:37
[11/03/25 09:21:30] INFO     Starting power cycle sequence                                                                 client.py:25
                    INFO     Waiting 2 seconds...                                                                          client.py:27
[11/03/25 09:21:32] INFO     Power cycle sequence complete                                                                 client.py:30
[11/03/25 09:21:32] INFO     Waiting for U-Boot prompt...                                                                  client.py:40
=> echo
Unknown command 'cho' - try 'help'

I think it's safe to rule out an issue on the hardware side since I have a script that automates a full boot sequence (custom U-Boot command -> Linux console login -> command line entry) that worked as expected when using the serial console directly, and on Jumpstarter, it breaks due to this behavior unless I add a throwaway byte to the beginning.

I've also tested it manually to verify the behavior; the character appears to be dropped regardless of if you send it as soon as the U-Boot prompt appears or 15+ seconds after the prompt shows up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions