05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

19 Feb, 2018

1 commit


17 Nov, 2017

1 commit


16 Aug, 2017

1 commit


05 Jun, 2017

1 commit


01 Jun, 2017

1 commit


06 Apr, 2017

1 commit


29 Nov, 2016

1 commit


07 Oct, 2016

1 commit

  • Commit f225d39d3093 ("vexpress: Check TC2 firmware support before defaulting
    to nonsec booting") added support to check if the firmware on TC2 is
    configured appropriately before booting in nonsec/hyp mode.

    However when booting in non-secure/hyp mode, CCI control must be done in
    secure firmware and can't be done in non-secure/hyp mode. In order to
    ensure that, this patch disables the cci slave port inteface so that it
    is not accessed at all.

    Cc: Jon Medhurst
    Acked-by: Marc Zyngier
    Signed-off-by: Sudeep Holla
    Acked-by: Jon Medhurst
    Tested-by: Jon Medhurst

    Sudeep Holla
     

16 Aug, 2016

1 commit


16 Jul, 2016

1 commit


16 Mar, 2016

1 commit


22 Nov, 2015

3 commits

  • This patch makes the 2nd DRAM bank available on Juno only and not on
    other vexpress64 targets, eg. the FVP models.

    The commit below added a 2nd bank of NOR flash for Juno, but also for
    all vexpress64 targets:

    commit 2d0cee1ca2b9d977fa3214896bb2e30cfec77059
    Author: Liviu Dudau
    Date: Mon Oct 19 11:08:31 2015 +0100

    vexpress64: Juno: Declare all 8GB of RAM and make them visible to the kernel.

    Juno comes with 8GB RAM, but U-Boot only passes 2GB to the kernel.
    Declare a secondary memory bank and set the sizes correctly.

    Signed-off-by: Liviu Dudau
    Reviewed-by: Linus Walleij
    Reviewed-by: Ryan Harkin
    Tested-by: Ryan Harkin

    Unfortunately, I only fully tested on Juno R0, R1 and the FVP Foundation
    model. Whilst FVP Base AEMV8 models run U-Boot OK, they fail to boot
    the kernel.

    Signed-off-by: Ryan Harkin
    Acked-by: Liviu Dudau
    Reviewed-by: Linus Walleij

    Ryan Harkin
     
  • Only compile in PCIe support if the board really uses it. Provide
    a __weak stub for the init function if e.g. FVP is being built.

    Signed-off-by: Ryan Harkin
    Acked-by: Linus Walleij

    Ryan Harkin
     
  • On a Juno r1 the PCI controller init routine outputs the rather boring
    ATR entry information.
    Do this only with DEBUG defined to avoid cluttering the user's
    terminal.

    Signed-off-by: Andre Przywara
    Acked-by: Ryan Harkin

    Andre Przywara
     

20 Oct, 2015

2 commits


12 Oct, 2015

1 commit

  • Create an additional FVP configuration to boot images pre-loaded into
    DRAM.

    Sometimes it's preferential to boot the model by loading the files
    directly into DRAM via model parameters, rather than using
    SemiHosting.

    An example of model parmaters that are used to pre-load the files
    into DRAM:
    --data cluster0.cpu0=Image@0x80080000 \
    --data cluster0.cpu0=fvp-base-gicv2-psci.dtb@0x83000000 \
    --data cluster0.cpu0=uInitrd@0x84000000

    Signed-off-by: Ryan Harkin
    Reviewed-by: Linus Walleij
    [trini: Update board/armltd/vexpress64/Kconfig logic]
    Signed-off-by: Tom Rini

    Ryan Harkin
     

11 Oct, 2015

1 commit

  • The FVP and Juno settings were identical, but duplicated, so I removed
    the duplication with this patch.

    Signed-off-by: Ryan Harkin
    Reviewed-by: Linus Walleij
    [trini: Adjust logic to keep if/endif in the file]
    Signed-off-by: Tom Rini

    Ryan Harkin
     

12 Sep, 2015

1 commit


13 Aug, 2015

1 commit


14 May, 2015

1 commit

  • CONFIG_ARMV7_VIRT depends on CONFIG_ARMV7_NONSEC, thus doesn't need to
    be taken into account additionally. CONFIG_ARMV7_PSCI is only set on
    boards that support CONFIG_ARMV7_NONSEC, and it only works on those.

    CC: Tang Yuantian
    CC: York Sun
    CC: Steve Rae
    CC: Andre Przywara
    Signed-off-by: Jan Kiszka
    Tested-by: Alison Wang
    Signed-off-by: Tom Warren

    Jan Kiszka
     

23 Apr, 2015

3 commits

  • This assignment conflicts with code that add flags with
    gd->flags |= FOO prior to the execution of this function.
    Seems like a historical artifact and creates bugs with
    early alloc().

    Cc: Masahiro Yamada
    Signed-off-by: Linus Walleij
    Acked-by: Simon Glass

    Linus Walleij
     
  • The board/SoC select menu in arch/arm/Kconfig is still cluttered.
    Add ARCH_INTEGRATOR into arch/arm/Kconfig and move the board select
    under arch/arm/mach-integrator.

    Signed-off-by: Masahiro Yamada
    Cc: Linus Walleij

    Masahiro Yamada
     
  • Commit d8bafe1310487ba0e0785997726b4792072178d3
    "ARMv8: enable DM in vexpress64 board" only enabled DM
    for the simulated vexpress64 board (FVP) with the
    hardcoded clock value for the simulated board, causing
    a console regression on the Juno board which was using
    a different clock setting.

    Fix this by enabling DM for all vexpress64 boards,
    defining the clock frequency per-board, deleting the
    static array of PL01x ports from the config file and
    relying solely on the port defined in the boardfile
    using platform data.

    Cc: David Feng
    Signed-off-by: Linus Walleij

    Linus Walleij
     

03 Apr, 2015

1 commit


29 Mar, 2015

2 commits


27 Mar, 2015

1 commit


24 Mar, 2015

1 commit

  • Various files are needlessly rebuilt every time due to the version and
    build time changing. As version.h is not actually needed, remove the
    include.

    Signed-off-by: Rob Herring
    Cc: Albert Aribaud
    Cc: Stefano Babic
    Cc: Minkyu Kang
    Cc: Marek Vasut
    Cc: Tom Warren
    Cc: Michal Simek
    Cc: Macpaul Lin
    Cc: Wolfgang Denk
    Cc: York Sun
    Cc: Stefan Roese
    Cc: Nobuhiro Iwamatsu
    Cc: Simon Glass
    Cc: Philippe Reynes
    Cc: Eric Jarrige
    Cc: "David Müller"
    Cc: Phil Edworthy
    Cc: Robert Baldyga
    Cc: Torsten Koschorrek
    Cc: Anatolij Gustschin
    Reviewed-by: Linus Walleij
    Reviewed-by: Łukasz Majewski

    Rob Herring
     

09 Mar, 2015

1 commit

  • While the Freescale ARMv8 board LS2085A will enter U-Boot both
    on a master and a secondary (slave) CPU, this is not the common
    behaviour on ARMv8 platforms. The norm is that U-Boot is entered
    from the master CPU only, while the other CPUs are kept in
    WFI (wait for interrupt) state.

    The code determining which CPU we are running on is using the
    MPIDR register, but the definition of that register varies with
    platform to some extent, and handling multi-cluster platforms
    (such as the Juno) will become cumbersome. It is better to only
    enable the multiple entry code on machines that actually need
    it and disable it by default.

    Make the single entry default and add a special
    ARMV8_MULTIENTRY KConfig option to be used by the
    platforms that need multientry and set it for the LS2085A.
    Delete all use of the CPU_RELEASE_ADDR from the Vexpress64
    boards as it is just totally unused and misleading, and
    make it conditional in the generic start.S code.

    This makes the Juno platform start U-Boot properly.

    Signed-off-by: Linus Walleij

    Linus Walleij
     

06 Mar, 2015

1 commit


30 Jan, 2015

2 commits

  • The Juno Development Platform is a physical Versatile Express
    device with some differences from the emulated semihosting
    models. The main difference is that the system is split in
    a SoC and an FPGA where the SoC hosts the serial ports at
    totally different adresses.

    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • The Versatile Express ARMv8 semihosted FVP platform is still
    using the legacy CONFIG_SYS_EXTRA_OPTIONS method to configure
    some compile-time flags. Get rid of this and create a Kconfig
    entry for the FVP model, and a selectable bool for the
    semihosting library.

    The FVP subboard is now modeled as a target choice so we can
    eventually choose between different ARMv8 versatile express
    boards (FVP, base model, Juno...) this way. All dependent
    symbols are updated to reflect this.

    The 64bit Versatile Express board symbols are renamed
    VEXPRESS64 so we have some chance to see what is actually
    going on. Tested on the FVP fast model.

    Acked-by: Steve Rae
    Signed-off-by: Linus Walleij

    Linus Walleij
     

29 Dec, 2014

1 commit


29 Oct, 2014

1 commit

  • This commit introduces a Kconfig symbol for each ARM CPU:
    CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
    CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
    Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
    for CPU_ARM1176 and CPU_V7.

    For each target, the corresponding CPU is selected and the definition of
    SYS_CPU in the corresponding Kconfig file is removed.

    Also, it removes redundant "string" type in some Kconfig files.

    Signed-off-by: Georges Savoundararadj
    Acked-by: Albert ARIBAUD
    Cc: Masahiro Yamada

    Georges Savoundararadj
     

25 Sep, 2014

2 commits

  • Since commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4
    (patman: RunPipe() should not pipe stdout/stderr unless asked),
    Patman spits lots of "Invalid MAINTAINERS address: '-'"
    error messages for patches with global changes.
    It takes too long for Patman to process them.

    Anyway, "M: -" does not carry any important information.
    Rather, it is just like a place holder in case of assigning
    a new board maintainer. Let's comment out.

    This commit can be reproduced by the following command:

    find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • The "S: Orphan" in MAINTAINERS means that the maintainer in the
    "M:" field is unreachable (i.e. the email address is not working).
    (Refer to the definition of "Orphan" adopted in U-Boot
    in the log of commit 31f1b654b2f395b69faa5d0d3c1eb0803923bd3b,
    "boards.cfg: move boards with invalid emails to Orphan")

    For patch files adding global changes, scripts/get_maintainer.pl
    adds bunch of such invalid email addresses, which results in
    tons of annoying bounce emails.

    This commit can be reproduced by the following command:

    find . -name MAINTAINERS | xargs sed -i -e '
    /^M:[[:blank:]]/ {
    N
    /S:[[:blank:]]Orphan/s/^/#/
    }
    '

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     

17 Sep, 2014

2 commits