1. 28 Jun, 2021 3 commits
    • Tom Rini's avatar
      Prepare v2021.07-rc5 · 3ef45721
      Tom Rini authored
      
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      3ef45721
    • Kunihiko Hayashi's avatar
      arm64: Fix relocation of env_addr if POSITION_INDEPENDENT=y · 534f0fbd
      Kunihiko Hayashi authored and Tom Rini's avatar Tom Rini committed
      
      
      If both POSITION_INDEPENDENT and SYS_RELOC_GD_ENV_ADDR are enabled,
      wherever original env is placed anywhere, it should be relocated to
      the right address.
      
      Relocation offset gd->reloc_off is calculated with SYS_TEXT_BASE in
      setup_reloc() and env address gd->env_addr is relocated by the offset in
      initr_reloc_global_data().
      
      gd->env_addr
        = (orig env) + gd->reloc_off
        = (orig env) + (gd->relocaddr - SYS_TEXT_BASE)
      
      However, SYS_TEXT_BASE isn't always runtime base address when
      POSITION_INDEPENDENT is enabled. So the relocated env_addr might point to
      wrong address. For example, if SYS_TEXT_BASE is zero, gd->env_addr is
      out of memory location and memory exception will occur.
      
      There is a difference between linked address such as SYS_TEXT_BASE and
      runtime base address. In _main, the difference is calculated as
      "run-vs-link" offset. The env_addr should also be added to the offset
      to fix the address.
      
      gd->env_addr
        = (orig env) + ("run-vs-link" offset)   + gd->reloc_off
        = (orig env) + (SYS_TEXT_BASE - _start) + (gd->relocaddr - SYS_TEXT_BASE)
        = (orig env) + (gd->relocaddr - _start)
      
      Cc: Marek Vasut <marex@denx.de>
      Signed-off-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
      Acked-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Tested-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      534f0fbd
    • Tom Rini's avatar
      configs: Resync with savedefconfig · 2bba7807
      Tom Rini authored
      
      
      Rsync all defconfig files using moveconfig.py
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      2bba7807
  2. 25 Jun, 2021 3 commits
  3. 24 Jun, 2021 3 commits
  4. 23 Jun, 2021 21 commits
  5. 22 Jun, 2021 10 commits