Skip to content
Snippets Groups Projects
  1. Oct 21, 2021
  2. Oct 20, 2021
    • Tom Rini's avatar
      Merge tag 'u-boot-imx-20211020' of https://source.denx.de/u-boot/custodians/u-boot-imx · 79b8849d
      Tom Rini authored
      u-boot-imx-20211020
      -------------------
      
      First PR from u-boot-imx for 2022.01
      
      CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/9535
      
      - new board: kontron-sl-mx8mm
      - imx8m:
      	- fix secure boot
      - imx ESDHC: fixes
      - i.MX53: Support thum2, bmode and fixes for Menlo board
      	  usbarmory switch to Ethernet driver model
      - imx6 :
      	- DDR calibration for Toradex boards
      - imx7:
      	- Fixes
      - Updated gateworks boards (ventana / venice)
      
      # gpg verification failed.
      79b8849d
    • Tom Rini's avatar
      Merge https://source.denx.de/u-boot/custodians/u-boot-riscv · 11c41192
      Tom Rini authored
      - Assorted warning fixes, io read/write bugfix
      11c41192
    • Stefano Babic's avatar
      imx8mm-cl-iot-gate-optee: align config with Kconfig · f0045799
      Stefano Babic authored
      
      Due to missing configs, CI goes in deadlock until an OOM is tracked. Add
      CONFIG_SYS_LOAD_ADDR and replace CONFIG_SYS_EXTRA_OPTIONS with
      CONFIG_IMX_CONFIG.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      CC: Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
      CC: Fabio Estevam <festevam@denx.de>
      f0045799
    • Stefano Babic's avatar
      kontron-sl-mx8mm: fix missing configs and deadlock in CI · 0105bda0
      Stefano Babic authored
      Even if board can be successfuly built, CI goes in deadlock (see thread
      on https://www.mail-archive.com/u-boot@lists.denx.de/msg419663.html
      
      ).
      This is caused by SYS_CONFIG set in header file and because defconfig
      for the board is out of sync with Kconfig. As result, buildman goes on
      to read from stdin until an OOM is reached.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      CC: Frieder Schrempf <frieder.schrempf@kontron.de>
      0105bda0
    • Simon Glass's avatar
      buildman: Detect Kconfig loops · 7bf83a5d
      Simon Glass authored and Stefano Babic's avatar Stefano Babic committed
      
      Hex and int Kconfig options are supposed to have defaults. This is so we
      can configure U-Boot without having to enter particular values for the
      items that don't have specific values in the board's defconfig file.
      
      If this rule is not followed, then introducing a new Kconfig can produce
      a loop like this:
      
         Break things (BREAK_ME) [] (NEW)
         Error in reading or end of file.
      
         Break things (BREAK_ME) [] (NEW)
         Error in reading or end of file.
      
      The continues forever since buildman passes /dev/null to 'conf', and
      the build system just tries again. Eventually there is so much output that
      buildman runs out of memory.
      
      We can detect this situation by looking for a symbol (like 'BREAK_ME')
      which has no default (the '[]' above) and is marked as new. If this
      appears multiple times in the output, we know something is wrong.
      
      Add a filter function for the output which detects this situation. Allow
      it to return True to terminate the process. Implement this termination in
      cros_subprocess.
      
      With this we get a nice message:
      
         buildman --board sandbox -T0
         Building current source for 1 boards (0 threads, 32 jobs per thread)
            sandbox:  w+   sandbox
         +.config:66:warning: symbol value '' invalid for BREAK_ME
         +
         +Error in reading or end of file.
         +make[3]: *** [scripts/kconfig/Makefile:75: syncconfig] Terminated
         +make[2]: *** [Makefile:569: syncconfig] Terminated
         +make: *** [Makefile:177: sub-make] Terminated
         +(** did you define an int/hex Kconfig with no default? **)
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      7bf83a5d
    • Simon Glass's avatar
      buildman: Write output even on fatal error · bafdeb45
      Simon Glass authored and Stefano Babic's avatar Stefano Babic committed
      
      At present buildman does not write any output (to the 'out' and 'err)
      files if the build terminates with a fatal error. This is to avoid adding
      lots of spam to the logs.
      
      However there are times when this is actually useful, such as when the
      build fails for an obscure reason such as a Kconfig loop.
      
      Update the logic to always write the output, so that the user gets a clue
      as to what is happening.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      bafdeb45
    • Nick Hu's avatar
      riscv: Avoid io read/write cause wrong result · ddf49728
      Nick Hu authored
      
      io read/write may cause wrong result because they may read/write data
      from/to register instead of memory. Add 'volatile' to avoid it.
      
      Signed-off-by: default avatarNick Hu <nick.hu@sifive.com>
      Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
      Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      ddf49728
Loading