Skip to content
Snippets Groups Projects
  1. Jan 18, 2023
  2. Jan 17, 2023
    • Tom Rini's avatar
      Merge branch '2022-01-16-bootstd-updates' · 5b958dea
      Tom Rini authored
      To quote the author:
      So far standard boot lacks a boot menu, although it is possible to create
      a rudimentary one using the existing 'bootmenu' command.
      
      Even then, this text-based menu offer only basic functionality and does
      not take full advantage of the displays which are common on many devices.
      
      This series provides a 'bootflow menu' command which allows the user to
      select from the available bootflows. An attempt is made to show the name
      of the available operating systems, by reading more information into the
      bootflow. A logo can be read also, where supported, so that this can be
      presented to the user when an option is highlighted.
      
      Full use is made of TrueType fonts, if enabled. For cases where only a
      serial console is available, it falls back to a simple text-based menu.
      
      All of this is implementing using a new 'expo' construct, a collection of
      scenes (like menu screens) which can be navigated by the user to view
      information and select options. This is fairly general and should be able
      to cope with a wider array of use cases, with less hacking of the menu
      code, such as is currently needed for CMD_BOOTEFI_BOOTMGR.
      
      Of course it would be possible to enhance the existing menu rather than
      creating a new setup. Instead it seems better to make the existing menu
      use expo, if code space permits. It avoids the event-loop problem and
      should be more extensible, given its loosely coupled components and use of
      IDs instead of pointers. Further motivation is provided in the
      documentation.
      
      For now the CLI keypress-decoding code is split out to be used by the new
      menu. The key codes defined by menu.h are reused also.
      
      This is of course just a starting point. Some ideas for future work are
      included in the documentation.
      5b958dea
    • Tom Rini's avatar
      Merge https://source.denx.de/u-boot/custodians/u-boot-marvell · 6d03688e
      Tom Rini authored
      - kirkwood: Convert to DM Serial for various Kirkwood boards (Tony)
      - orion-timer: Fix problem in early_init_done() (Stefan)
      6d03688e
    • Tony Dinh's avatar
      arm: kirkwood: Convert to DM Serial for various Kirkwood boards · bee23537
      Tony Dinh authored and Stefan Roese's avatar Stefan Roese committed
      For Kirkwood boards, it is necessary to have early malloc in DRAM area
      when Driver Model for Serial is enabled. Please see Michael's patch here:
      https://lore.kernel.org/u-boot/20220817193809.1059688-20-michael@walle.cc/
      
      
      
      This patch enables the early malloc in DRAM for all Kirkwood boards.
      Note that this will work for boards that have either non-DM serial
      and DM_SERIAL. Also, add the CONFIG_KIRKWOOD_COMMON option to enable
      DM_SERIAL as a common option for boards that have been tested.
      
      Signed-off-by: default avatarTony Dinh <mibodhi@gmail.com>
      bee23537
    • Stefan Roese's avatar
      timer: orion-timer: Fix problem in early_init_done() · 9a13a76e
      Stefan Roese authored
      
      It was noticed that Clearfog is currently broken with this newly
      introduced early_init_done() function. Apparently the timer is enabled
      here when U-Boot is run but not configured - at least not correctly.
      Resulting in a hangup in the timer reading functions.
      
      To fix this, also read the value of the reload register and check it's
      value with the one written to by U-Boot. Only if this matches, the
      init has already been done.
      
      Fixes: 5387b093 ("timer: orion-timer: Fix problem with early static variable")
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Acked-by: default avatarPali Rohár <pali@kernel.org>
      Cc: Martin Rowe <martin.p.rowe@gmail.com>
      Cc: Tony Dinh <mibodhi@gmail.com>
      Cc: Pali Rohár <pali@kernel.org>
      Cc: Michael Walle <michael@walle.cc>
      9a13a76e
    • Tom Rini's avatar
      Merge tag 'u-boot-rockchip-20230117' of https://source.denx.de/u-boot/custodians/u-boot-rockchip · 4a986156
      Tom Rini authored
      - Add support for rv1126 soc and rv1126 neu2 io board;
      - Add support for rk3399 pine64 pinephone pro board;
      - dts sync from linux for rk3399 and px30;
      - Add support for PX30 Ringneck SoM board;
      4a986156
  3. Jan 16, 2023
Loading