Skip to content
Snippets Groups Projects
  1. Jul 27, 2018
  2. Jul 13, 2018
  3. Jul 10, 2018
    • Peng Fan's avatar
      MLK-12425-2: video: epdc: introduce epdc support · 2f6d5388
      Peng Fan authored
      
      Support EPDC.
      E-Ink feature is supported by i.MX6DL/SL and i.MX7D.
      For now this driver only supports i.MX6DL/SL, because the
      i.MX7D EPDC driver needs pxp support which is not included
      in U-Boot.
      
      Support user defined logo file, if there is no logo file, it will
      draw a black border around a white screen.
      
      If need to enable EPDC, a waveform file is required to let all
      work.
      
      Since we need LCD_MONOCHROME mode for EPDC, we introduce LCD_MONOCHROME
      support.
      
      Please refer to Linux Reference Manual for how to flash WAVEFORM file.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Signed-off-by: default avatarRobby Cai <R63905@freescale.com>
      Signed-off-by: default avatarNitin Garg <nitin.garg@freescale.com>
      Signed-off-by: default avatarYe.Li <B37916@freescale.com>
      (cherry picked from commit a7244f279cc3c3994bcd103f5e9a183b1075ae71)
      2f6d5388
  4. Jun 24, 2018
  5. Jun 19, 2018
    • Marek Vasut's avatar
      bootm: Handle kernel_noload on arm64 · 487b5fa6
      Marek Vasut authored
      
      The ARM64 has 2 MiB alignment requirement for the kernel. When using
      fitImage, this requirement may by violated, the kernel will thus be
      executed from unaligned address and fail to boot. Do what booti does
      and run booti_setup() for kernel_noload images on arm64 to obtain a
      suitable aligned address to which the image shall be relocated.
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Bin Chen <bin.chen@linaro.org>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Tom Rini <trini@konsulko.com>
      487b5fa6
  6. Jun 18, 2018
  7. Jun 13, 2018
  8. Jun 07, 2018
  9. Jun 06, 2018
    • Alexey Brodkin's avatar
      board_f: Only reserve memory for U-Boot if we're going to relocate · ff2b2ba8
      Alexey Brodkin authored
      
      In case of no relocation we'll just waste some space at the very end
      of usable memory area. If target device has very limited amount of memory
      (for example 256 kB) this loss will be pretty inconvenient.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: York Sun <york.sun@nxp.com>
      Cc: Stefan Roese <sr@denx.de>
      ff2b2ba8
    • Masahiro Yamada's avatar
      menu: fix timeout duration · 86fbad24
      Masahiro Yamada authored
      For distro-boot, the TIMEOUT directive in the boot script specifies
      how long to pause in units of 1/10 sec. [1]
      
      Commit 8594753b ("menu: only timeout when menu is displayed")
      corrected this by simply dividing the timeout value by 10 in
      menu_interactive_choice().
      
      I see two problems:
      
       - For example, "TIMEOUT 5" should wait for 0.5 sec, but the current
         implementation cannot handle the granularity of 1/10 sec.
         In fact, it never breaks because "m->timeout / 10" is zero,
         which means no timeout.
      
       - The menu API is used not only by cmd/pxe.c but also by
         common/autoboot.c .  For the latter case, the unit of the
         timeout value is _second_ because its default is associated
         with CONFIG_BOOTDELAY.
      
      To fix the first issue, use DIV_ROUND_UP() so that the timeout value
      is rounded up to the closest integer.
      
      For the second issue, move the division to the boundary between
      cmd/pxe.c and common/menu.c .  This is a more desirable place because
      the comment of struct pxe_menu says:
      
       * timeout - time in tenths of a second to wait for a user key-press before
       *           booting the default label.
      
      Then, the comment of menu_create() says:
      
       * timeout - A delay in seconds to wait for user input. If 0, timeout is
       * disabled, and the default choice will be returned unless prompt is 1.
      
      [1] https://www.syslinux.org/wiki/index.php?title=SYSLINUX#TIMEOUT_timeout
      
      
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      86fbad24
  10. Jun 03, 2018
  11. May 30, 2018
  12. May 26, 2018
  13. May 24, 2018
  14. May 23, 2018
  15. May 11, 2018
  16. May 08, 2018
    • Tom Rini's avatar
      bootm.c: Correct the flush_len used in bootm_load_os() · cc955358
      Tom Rini authored
      
      In do_bootm_states when doing BOOTM_STATE_LOADOS we use load_end
      uninitialized and Coverity notes this now.  This however leads down
      another interesting path.  We pass this pointer to bootm_load_os and
      that in turn uses this uninitialized value immediately to calculate the
      flush length, and is wrong.  We do not know what load_end will be until
      after bootm_decomp_image is called, so we must only set flush_len after
      that.  All of this also makes it clear that the only reason we pass a
      pointer for load_end to bootm_load_os is so that we can call lmb_reserve
      on success.  Rather than initialize load_end to 0 in do_bootm_states we
      can just call lmb_reserve ourself.
      
      Reported-by: Coverity (CID: 175572)
      Cc: Simon Glass <sjg@chromium.org>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      cc955358
    • Clément Péron's avatar
      image: fit: Show signatures and hashes for configurations · 71412d72
      Clément Péron authored
      
      The signature/hash information are displayed for images but nor for
      configurations.
      
      Add subnodes printing in fit_conf_print() like it's done in fit_image_print()
      
      Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
      [trini: Add guards around fit_conf_print to avoid warnings]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      71412d72
    • Marek Vasut's avatar
      image: socfpga: Add SFP image version 1 definition · 662abc4f
      Marek Vasut authored
      
      Add support for the SoCFPGA header v1, which is used on Arria 10.
      The layout of the v0 and v1 header is similar, yet there are a few
      differences which make it incompatible with previous v0 header, so
      add a new entry.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@kernel.org>
      Cc: Chin Liang See <chin.liang.see@intel.com>
      662abc4f
    • Jassi Brar's avatar
      fastboot: sparse: make write_sparse_image useable for non-fastboot · 2f83f219
      Jassi Brar authored
      
      write_sparse_image could be useful for non-fastboot users.
      For ex a platform, without usb-device/fastboot support, could
      get sparse images over tftp and write using the mmc command.
      Or non-android systems could also leverage the sparse format.
      
      Towards that, this patch removes anything fastboot specific from
      the write_sparse_image implementation. Which includes making the
      function return integer as error code and calls for fastboot logging
      via an optional callback function 'mssg'.
      
      Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
      2f83f219
Loading