Skip to content
Snippets Groups Projects
  1. Apr 03, 2023
  2. Apr 02, 2023
  3. Apr 01, 2023
  4. Mar 31, 2023
  5. Mar 30, 2023
  6. Mar 28, 2023
    • Fabio Estevam's avatar
      imx6sx-udoo-neo-basic: Introduce the u-boot.dtsi · 565681e5
      Fabio Estevam authored
      
      After the conversion to DM_SERIAL in commit 01f372d8 ("udoo_neo:
      Select DM_SERIAL and drop iomux board level init") the SPL log is gone
      and the U-Boot proper log becomes incomplete:
      
      Core:  80 devices, 18 uclasses, devicetree: separate
      MMC:   FSL_SDHC: 1, FSL_SDHC: 2
      Loading Environment from MMC... OK
      In:    serial@2020000
      Out:   serial@2020000
      Err:   serial@2020000
      Net:   eth0: ethernet@2188000
      Hit any key to stop autoboot:  0
      
      Introduce the u-boot.dtsi file that passes the u-boot,dm-pre-reloc
      properties to the relevant nodes so that UART can be used early in SPL.
      
      With this change, the complete SPL and U-Boot messages are seen again.
      
      Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
      565681e5
    • Tom Rini's avatar
      Merge branch '2023-03-28-correct-several-cli_getch-bugs' · 27fbae57
      Tom Rini authored
      - Merge a regression fix (for an issue that we raised post v2023.01)
        with cli_getch(), and include a test now.
      27fbae57
    • Simon Glass's avatar
      cli: Correct handling of invalid escape sequences in cread_line() · be0169f0
      Simon Glass authored
      
      The second call to cli_ch_process() is in the wrong place, meaning that
      the one of the characters of an invalid escape sequence is swallowed
      instead of being returned.
      
      Fix the bug and add a test to cover this.
      
      This behaviour matches that of the code before cli_getch() was
      introduced. This was verified on the commit before b08e9d4b i.e.:
      
         7d850f85 ("sandbox: Enable mmc command and legacy images")
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reported-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
      be0169f0
    • Simon Glass's avatar
      cli: Correct several bugs in cli_getch() · 17b45e68
      Simon Glass authored
      
      This function does not behave as expected when unknown escape sequences
      are sent to it:
      
      - it fails to store (and thus echo) the last character of the invalid
        sequence
      - it fails to set esc_len to 0 when it finishes emitting the invalid
        sequence, meaning that the following character will appear to be part
        of a new escape sequence
      - it processes the first character of the rejected sequence as a valid
        character, just starting the sequence all over again
      
      The last two bugs conspire to produce an "impossible condition #876"
      message which is the main symptom of this behaviour.
      
      Fix these bugs and add a test to verify the behaviour.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reported-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
      17b45e68
  7. Mar 27, 2023
  8. Mar 25, 2023
  9. Mar 24, 2023
Loading