08 May, 2017

3 commits

  • USB bus scan attempt:
    ----------------------------------cut----------------------------------
    => usb start
    starting USB...
    USB0: Register 2000140 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... data abort
    pc : [] lr : []
    reloc pc : [] lr : []
    sp : fdf42930 ip : fdf42960 fp : 00000000
    r10: 00000001 r9 : fdf42ef0 r8 : 48890020
    r7 : 00000002 r6 : fffa5840 r5 : fff8b140 r4 : fdf429c0
    r3 : 00000000 r2 : 00000004 r1 : 00000000 r0 : 00000000
    Flags: nZcv IRQs off FIQs off Mode SVC_32
    Resetting CPU ...

    resetting ...
    ----------------------------------cut----------------------------------

    Fix by enabling USB configuration in the SPL.

    Signed-off-by: Uri Mashiach
    Reviewed-by: Tom Rini
    Reviewed-by: Igor Grinberg

    Uri Mashiach
     
  • Modify the determination of the base address of xHCI registers of DRA7XX
    targets.
    Before the commit: by the target.
    After the commit: by the USB port index.

    Cc: Lokesh Vutla
    Cc: Marek Vasut
    Cc: Roger Quadros
    Signed-off-by: Uri Mashiach
    Reviewed-by: Marek Vasut
    Reviewed-by: Tom Rini
    Reviewed-by: Roger Quadros
    Acked-by: Marek Vasut
    Acked-by: Marek Vasut

    Uri Mashiach
     
  • The symbol CONFIG_DRA7XX is needed for Kconfig conditions.

    Cc: Lokesh Vutla
    Signed-off-by: Uri Mashiach
    Reviewed-by: Tom Rini

    Uri Mashiach
     

06 May, 2017

1 commit


02 May, 2017

1 commit

  • 0x10000000 is the start of a 2 MiB area used by the
    ARM Trusted Firmware (BL31).

    See
    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=refs/tags/v4.10.10

    So we should not load the ramdisk here.

    The legacy Ubuntu image for the Odroid C2 comes with the
    following line in boot.ini:
    setenv initrd_loadaddr "0x13000000"

    See
    http://odroid.in/ubuntu_16.04lts/ubuntu64-16.04-minimal-odroid-c2-20160815.img.xz
    http://deb.odroid.in/c2/pool/main/u/u-boot/u-boot_20170226-752a100-8_arm64.deb

    So let's use the same address.

    With the patch booting Linux with booti succeeds on an Odroid C2,
    without the patch Linux hangs.

    Cc: Andreas Färber
    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Simon Glass
    Tested-by: Vagrant Cascadian

    xypron.glpk@gmx.de
     

01 May, 2017

14 commits


30 Apr, 2017

12 commits


28 Apr, 2017

2 commits

  • In Linux, CONFIG_ARCH_OMAP2PLUS is used for OMAP2 or later SoCs.
    Rename CONFIG_ARCH_OMAP2 to CONFIG_ARCH_OMAP2PLUS to follow this
    naming.

    Move the OMAP2+ board/SoC choice down to mach-omap2/Kconfig to slim
    down the arch/arm/Kconfig level.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini

    Masahiro Yamada
     
  • These were reminders that somehow slipped through the cracks
    or were erroneously introduced after previous clean-ups.

    Getting rid of then once again. Hopefully for good now :)

    Where missing and appropriate replace with CONFIG_CMDLINE_EDITING
    which really enables shell history as of now.

    Signed-off-by: Alexey Brodkin
    Cc: Masahiro Yamada
    Cc: Peter Griffin
    Cc: Stephen Warren
    Cc: Steve Rae
    Cc: Jon Mason
    Cc: Simon Glass
    Cc: Stefan Roese
    Reviewed-by: Simon Glass

    Alexey Brodkin
     

26 Apr, 2017

1 commit


25 Apr, 2017

3 commits


24 Apr, 2017

1 commit

  • Currently $fdtfile is constructed from CONFIG_DEFAULT_TREE, containing
    the filename. However on arm64 that file is located in an allwinner
    subdirectory.

    To avoid the need for users/distros symlinking the .dtb files, prepend
    the vendor directory for ARM64.

    This aligns Pine64 with other boards such as Raspberry Pi 3.

    Signed-off-by: Andreas Färber
    Reviewed-by: Alexander Graf
    Reviewed-by: Jagan Teki

    Andreas Färber
     

21 Apr, 2017

2 commits

  • Before this patch, CONFIG_SYS_BOOTPARAMS_LEN was the same size as
    CONFIG_SYS_MALLOC_LEN. So, if malloc() had previously been called, and
    initr_malloc_bootparams() was called, it would fail with an out-of-
    memory error. This patch fixes this issue by expanding the malloc pool
    to 256KB.

    Signed-off-by: Kyle Edwards
    Cc: Daniel Schwierzeck

    Kyle Edwards
     
  • This fixes an issue with the saveenv command causing U-Boot to no
    longer work on the QEMU Mips pseudoboard. Because the offset of the
    environment was being determined by CONFIG_SYS_MONITOR_LEN, and this
    value was less than the actual size of U-Boot, saveenv was overwriting
    parts of the U-Boot code. Because CONFIG_SYS_MONITOR_LEN is no longer
    used on MIPS, this patch removes it and places the environment at the
    end of the pseudoboard's 4MB flash.

    Signed-off-by: Kyle Edwards
    Cc: Daniel Schwierzeck

    Kyle Edwards