Skip to content
Snippets Groups Projects
  1. Jan 23, 2020
  2. Jan 22, 2020
    • Patrick Delaunay's avatar
      cmd: pxe: execute the cls command only when supported · e9c66986
      Patrick Delaunay authored and Tom Rini's avatar Tom Rini committed
      
      Execute the command cls (for clear screen), when the "menu background"
      keyword is present in extlinux.conf file, only if the command is supported.
      
      This patch avoid the warning "Unknown command 'cls'"
      with "menu background" in extlinux.conf when CONFIG_CMD_BMP is activated
      and CONFIG_CMD_CLS not activated (default for CONFIG_DM_VIDEO).
      
      Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
      Reviewed-by: default avatarPatrice Chotard <patrice.chotard@st.com>
      e9c66986
    • Heinrich Schuchardt's avatar
      trace: provide Sphinx style comments · e605ab84
      Heinrich Schuchardt authored and Tom Rini's avatar Tom Rini committed
      
      Correct some function comments. Convert to Sphinx style.
      
      Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      e605ab84
    • Dario Binacchi's avatar
      lib: ignore oid_registry_data.c file · 6124667c
      Dario Binacchi authored and Tom Rini's avatar Tom Rini committed
      
      The file is generated by scripts/build_OID_registry based on the
      include/linux/oid_registry.h file.
      
      Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
      6124667c
    • Klaus H. Sorensen's avatar
      spl_fit.c: enable loading compressed u-boot from fit image · 602ce1d1
      Klaus H. Sorensen authored and Tom Rini's avatar Tom Rini committed
      
      Allow reading compressed content from fit image, even if
      CONFIG_SPL_OS_BOOT is not set.
      
      This allow booting compressed 2nd stage u-boot from fit image.
      
      Additionally, do not print warning message if compression node is not
      found, since it simply implies the content is uncompressed.
      
      Signed-off-by: default avatarKlaus H. Sorensen <khso@prevas.dk>
      Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
      602ce1d1
    • Stephan Gerhold's avatar
      board: Add new Samsung "stemmy" board based on ST-Ericsson U8500 · 43d28855
      Stephan Gerhold authored and Tom Rini's avatar Tom Rini committed
      
      The ST-Ericsson U8500 SoC has been used in mass-production for
      some Android smartphones released around 2012.
      In particular, Samsung has released more than 5 different
      smartphones based on U8500, e.g.
      
        - Samsung Galaxy S III mini (GT-I8190) "golden"
        - Samsung Galaxy S Advance (GT-I9070)  "janice"
        - Samsung Galaxy Xcover 2 (GT-S7710)   "skomer"
      
      and a few others.
      
      Mainline Linux has great support for the Ux500 SoC, so these
      smartphones can also run Linux mainline quite well.
      
      Unfortunately, the original Samsung bootloader used on these devices
      has limitations that prevent booting Linux mainline directly.
      It keeps the L2 cache enabled, which causes Linux to crash very early,
      shortly after decompressing the kernel.
      
      Using U-Boot allows to circumvent these limitations. We can let the
      Samsung bootloader chain-load U-Boot and U-Boot locks the L2 cache
      before booting into Linux. U-Boot has several other advantages
      - it supports device-trees directly and we are no longer limited to
      flashing Android boot images through Samsung's proprietary download
      mode.
      
      The Samsung "stemmy" board covers all Samsung devices based on U8500.
      Add minimal support for "stemmy". For now only UART is supported but
      this will be extended later.
      
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      43d28855
    • Stephan Gerhold's avatar
      MAINTAINERS: Add ARM U8500 · 293f9ebb
      Stephan Gerhold authored and Tom Rini's avatar Tom Rini committed
      
      Add myself as maintainer for ST-Ericsson U8500 SoC to MAINTAINERS.
      Linus Walleij usually reviews all Ux500 related patches,
      so add him as a reviewer.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      293f9ebb
    • Stephan Gerhold's avatar
      arm: Add support for ST-Ericsson U8500 SoC · 689088f9
      Stephan Gerhold authored and Tom Rini's avatar Tom Rini committed
      
      The NovaThor U8500 SoC was released by ST-Ericsson in 2011.
      It was used for some development boards like the CALAO Systems
      Snowball SBC, but mass production was primarily for Android
      smartphones like the Samsung Galaxy S III mini.
      
      Previous support for U8500 was removed in
      commit 68282f55 ("arm: Remove unused ST-Ericsson u8500 arch")
      since none of the boards were converted to generic boards
      before the deadline.
      
      The new code does not have much in common with the previous code.
      I have completely rewritten everything, embracing the Driver Model
      and device trees wherever possible.
      
      The U8500 support is a bit more minimal for now - my primary
      use case is to use U-Boot as alternative bootloader for some of the
      U8500 Samsung smartphones. At the moment U-Boot is chain-loaded from
      the original Samsung bootloader. A side effect of this is that we
      can (temporarily) get away without implementing some functionality
      - e.g. all clocks are already enabled by the original bootloader.
      
      More functionality will be added in future patches.
      
      Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
      Cc: John Rigby <john.rigby@linaro.org>
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      689088f9
    • Stephan Gerhold's avatar
      arm: dts: Import device tree for ST-Ericsson Ux500 · f13dc8cb
      Stephan Gerhold authored and Tom Rini's avatar Tom Rini committed
      from https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git/
      
      
      tag "ux500-armsoc-v5.6-2"
      commit 224bf0fe7292 ("ARM: dts: ux500: samsung-golden: Add Bluetooth")
      
      (queued for merge in Linux 5.6)
      
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f13dc8cb
    • Stephan Gerhold's avatar
      timer: Add driver for Nomadik Multi Timer Unit (MTU) · 057b6139
      Stephan Gerhold authored and Tom Rini's avatar Tom Rini committed
      
      The Nomadik Multi Timer Unit (MTU) provides 4 decrementing
      free-running timers. It is used in ST-Ericsson Ux500 SoCs.
      
      The driver uses the first timer to implement UCLASS_TIMER.
      
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      057b6139
    • Rasmus Villemoes's avatar
      env: another attempt at fixing SPL build failures · c8221680
      Rasmus Villemoes authored and Tom Rini's avatar Tom Rini committed
      
      I'm also seeing the build failure that commit
      
      7d477654 env: solve compilation error in SPL
      
      tried to fix, namely that the reference to env_flags_validate from
      env_htab cannot be satisfied when flags.o is not built in. However,
      that commit got reverted by
      
      d90fc9c3 Revert "env: solve compilation error in SPL"
      
      Necessary, but not sufficient conditions to see this are
      
      CONFIG_SPL=y (obviously)
      CONFIG_SPL_ENV_SUPPORT=n (so flags.o does not get compiled)
      CONFIG_SPL_LIBCOMMON_SUPPORT=y (so env/built-in.o is part of the SPL link)
      
      Now, these are satisfied for e.g. imx6q_logic_defconfig. But that
      builds just fine, and spl/u-boot-spl.map lists .data.env_htab among
      the discarded (garbage collected) sections. Yet, on our
      mpc8309-derived board, we do see the build failure, so perhaps the
      linker works a bit differently on ppc than on ARM, or there's yet some
      other configuration option needed to observe the break.
      
      This is another attempt at solving it, which also cleans up
      env/Makefile a bit: Introduce a def_bool y symbol CONFIG_ENV_SUPPORT
      which complements CONFIG_(SPL/TPL)_SUPPORT. Then use
      CONFIG_$(SPL_TPL_)ENV_SUPPORT to decide whether to include the five
      basic env/*.o files. For attr.o, flags.o and callback.o, this
      shouldn't change anything. Also, common.o and env.o still get
      unconditionally built for U-boot proper. But for TPL/SPL, those two
      are only included if CONFIG_(SPL/TPL)_SUPPORT is set.
      
      Having that symbol should also allow simplifying conditionals such as
      
      #if !defined(CONFIG_SPL_BUILD) || CONFIG_IS_ENABLED(ENV_SUPPORT)
      
      found in drivers/reset/reset-socfpga.c to just
      CONFIG_IS_ENABLED(ENV_SUPPORT).
      
      Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
      c8221680
    • Tom Rini's avatar
      configs: Resync with savedefconfig · 052170c6
      Tom Rini authored
      
      Rsync all defconfig files using moveconfig.py
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      052170c6
  3. Jan 21, 2020
  4. Jan 20, 2020
Loading