u-boot.git
9 years agoboard: ti: AM57xx: Add detection logic for AM57xx-evm
Kipisz, Steven [Wed, 24 Feb 2016 18:30:58 +0000 (12:30 -0600)]
board: ti: AM57xx: Add detection logic for AM57xx-evm

Current AM57xx evm supports both BeagleBoard-X15
(http://beagleboard.org/x15) and AM57xx EVM
(http://www.ti.com/tool/tmdxevm5728).

The AM572x EValuation Module(EVM) provides an affordable platform to
quickly start evaluation of Sitara. ARM Cortex-A15 AM57x Processors
(AM5728, AM5726, AM5718, AM5716) and accelerate development for HMI,
machine vision, networking, medical imaging and many other industrial
applications. This EVM is based on the same BeagleBoard-X15 Chassis
and adds mPCIe, mSATA, LCD, touchscreen, Camera, push button and TI's
wlink8 offering.

Since the EEPROM contents are compatible between the BeagleBoard-X15 and
the AM57xx-evm, we add support for the detection logic to enable
support for various user programmable scripting capability.

NOTE: U-boot configuration is currently a superset of AM57xx evm and
BeagleBoard-X15 and no additional configuration tweaking is needed.

This change also sets up the stage for future support of TI AM57xx EVMs
to the same base bootloader build.

Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Gbp-Pq: Topic upstream/am57xx
Gbp-Pq: Name 0001-board-ti-AM57xx-Add-detection-logic-for-AM57xx-evm.patch

9 years agoti: common: dra7: Add standard access for board description EEPROM
Lokesh Vutla [Tue, 8 Mar 2016 03:48:04 +0000 (09:18 +0530)]
ti: common: dra7: Add standard access for board description EEPROM

DRA7 EVM revH and later EVMs have EEPROM populated that can contain board
description information such as name, revision, DDR definition, etc. Adding
support for this EEPROM format.

Acked-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Gbp-Pq: Topic upstream/ti-common
Gbp-Pq: Name 0002-ti-common-dra7-Add-standard-access-for-board-descrip.patch

9 years agoARM: omap-common: Add standard access for board description EEPROM
Lokesh Vutla [Wed, 24 Feb 2016 18:30:54 +0000 (12:30 -0600)]
ARM: omap-common: Add standard access for board description EEPROM

Several TI EVMs have EEPROM that can contain board description information
such as revision, DDR definition, serial number, etc. In just about all
cases, these EEPROM are on the I2C bus and provides us the opportunity
to centralize the generic operations involved.

The on-board EEPROM on the BeagleBone Black, BeagleBone, AM335x EVM,
AM43x GP EVM, AM57xx-evm, BeagleBoard-X15 share the same format.
However, DRA-7* EVMs, OMAP4SDP use a modified format.

We hence introduce logic which is generic between these platforms
without enforcing any specific format. This allows the boards to use the
relevant format for operations that they might choose.

This module will compile for all TI SoC based boards when
CONFIG_TI_I2C_BOARD_DETECT is enabled to have optimal build times for
platforms that require this support.

It is important to note that this logic is fundamental to the board
configuration process such as DDR configuration which is needed in
SPL, hence cannot be part of the standard u-boot driver model (which
is available later in the process). Hence, to aid efficiency, the
eeprom contents are copied over to SRAM scratchpad memory area at the
first invocation to retrieve data.

To prevent churn with cases such as DRA7, where eeprom format maybe
incompatible, we introduce a generic common format in eeprom which
is made available over accessor functions for usage.

Special handling for BBG1 EEPROM had to be introduced thanks to the
weird eeprom rev contents used.

The follow on patches introduce the use of this library for AM335x,
AM437x, and AM57xx.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Gbp-Pq: Topic upstream/ti-common
Gbp-Pq: Name 0001-ARM-omap-common-Add-standard-access-for-board-descri.patch

9 years agoRevert "rockchip: rk3288: correct sdram setting"
Vagrant Cascadian [Fri, 15 Apr 2016 20:34:26 +0000 (13:34 -0700)]
Revert "rockchip: rk3288: correct sdram setting"

This reverts commit b5788dc0dd9570e98552833767f4373db965985d.

Ram size is incorrectly reported as 512MB on a firefly-rk3288 board
with 2GB of ram. Reverting this patch displays the full amount of ram.

Series-to: u-boot
Gbp-Pq: Topic firefly
Gbp-Pq: Name 0001-Revert-rockchip-rk3288-correct-sdram-setting.patch

9 years agosunxi: Fix gmac not working due to cpu_eth_init no longer being called
Hans de Goede [Thu, 17 Mar 2016 12:53:03 +0000 (13:53 +0100)]
sunxi: Fix gmac not working due to cpu_eth_init no longer being called

cpu_eth_init is no longer called for dm enabled eth drivers, this
was causing the sunxi gmac eth controller to no longer work in u-boot.

This commit fixes this by calling the clock, reset and pinmux setup
function from s_init() and enabling the phy power pin (if any) from
board_init().

The enabling of phy power cannot be done from s_init because it uses dm
and dm is not ready yet at this point.

Note that the mdelay is dropped as the phy gets enabled much earlier
now, so it is no longer needed.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Tested-by: Karsten Merker <merker@debian.org>
Tested-by: Michael Haas <haas@computerlinguist.org>
Gbp-Pq: Topic upstream/sunxi
Gbp-Pq: Name 0001-sunxi-Fix-gmac-not-working-due-to-cpu_eth_init-no-lo.patch

9 years agofix-typo-transferred
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
fix-typo-transferred

===================================================================

Gbp-Pq: Name fix-typo-transferred

9 years agofix-typo-comment
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
fix-typo-comment

===================================================================

Gbp-Pq: Name fix-typo-comment

9 years agofix-typo-supported
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
fix-typo-supported

===================================================================

Gbp-Pq: Name fix-typo-supported

9 years agoomap5_distro_bootcmd
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
omap5_distro_bootcmd

===================================================================

Gbp-Pq: Topic am57xx
Gbp-Pq: Name omap5_distro_bootcmd

9 years agoserial_console_speed
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
serial_console_speed

===================================================================

Gbp-Pq: Topic mx6cuboxi
Gbp-Pq: Name serial_console_speed.patch

9 years agomksunxiboot-spl
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
mksunxiboot-spl

Use a relative path to include the sunxi spl header, which allows
mksunxiboot to build on any arch.

Gbp-Pq: Name mksunxiboot-spl.patch

9 years agoensure-config-sandbox-for-make-env
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
ensure-config-sandbox-for-make-env

Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...

Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch

9 years agosh4-fix-linker-name-prefix
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
sh4-fix-linker-name-prefix

Gbp-Pq: Name sh4-fix-linker-name-prefix.patch

9 years agoboard-spl-rule
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
board-spl-rule

Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff

9 years agousb-mass-storage
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
usb-mass-storage

===================================================================

Gbp-Pq: Topic beagleboneblack
Gbp-Pq: Name usb-mass-storage.patch

9 years agon900-bootz-raw-initrd
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
n900-bootz-raw-initrd

Enable booting of zImage/vmlinuz and initrd without requiring the use of
mkimage to create uImage/uInitrd.

Gbp-Pq: Name n900-bootz-raw-initrd.diff

9 years agomx53loco
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
mx53loco

Enables support for ext4, the "load" command, and using bootz with raw initrds.

Gbp-Pq: Name mx53loco

9 years agoudoo-standardized-variables
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
udoo-standardized-variables

Adds standardized variables, fdtfile, fdt_addr_r, ramdisk_addr_r and
kernel_addr_r.

Gbp-Pq: Topic udoo
Gbp-Pq: Name udoo-standardized-variables

9 years agoudoo_quad-support
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
udoo_quad-support

Gbp-Pq: Topic udoo
Gbp-Pq: Name udoo_quad-support.patch

9 years agohurd
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
hurd

Gbp-Pq: Name hurd.diff

9 years agoMakefile-add-kwb-target-to-all
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
Makefile-add-kwb-target-to-all

Add u-boot.kwb to "make all" target on Kirkwood.

Gbp-Pq: Name Makefile-add-kwb-target-to-all.patch

9 years agotools-only-in-no-dot-config-targets
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
tools-only-in-no-dot-config-targets

Revert upstream commit c7ad5cbb1ef2c33883f0fa7d0455095004fd306d:

    Makefile: drop "tools-only" from no-dot-config-targets

This indirectly pulls in a build-dependency on libssl-dev used for FIT
image support, and possibly GPL/OpenSSL licensing incompatibility
issues.

Gbp-Pq: Name tools-only-in-no-dot-config-targets.diff

9 years agotools-generic-builds
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
tools-generic-builds

Gbp-Pq: Name tools-generic-builds.patch

9 years agono-force-CROSS_COMPILE-powerpc
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
no-force-CROSS_COMPILE-powerpc

===================================================================

Gbp-Pq: Name no-force-CROSS_COMPILE-powerpc.diff

9 years agomipsel-native-endianness
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
mipsel-native-endianness

[MIPS] Fix little-endian build with non-ELDK toolchains

We've been in trouble for a long time when cross compiling with non-ELDK
toolchains.  This is caused by -EB passed to CPPFLAGS incorrectly, by the
lack of an endian specifier to LDFLAGS, and by wrong OUTPUT_FORMATs.

We're going to implement two workarounds.  One is the endianness specifier
bugfix not to pass -EB / -EL to CPPFLAGS unless ELDK toolchain is used.
Note that ELDK and non-ELDK toolchains know their default endianness, so
the endianness specifier may not be necessary in principle.

The other is removal of OUTPUT_FORMAT in *.lds files.  If we have this,
it doesn't work unless an endianness specifier is added to LDFLAGS.  As
we haven't added that to LDFLAGS so far, it must have not worked properly,
except ELDK; I don't know why and how ELDK works, though.

With these two changes, all objects will be generated and linked in the
toolchain's default endianness.  Then MAKEALL mips_el will work even with
non-ELDK toolchain.

Note that Linux/MIPS kernel has CONFIG_CPU_BIG_ENDIAN and
CONFIG_CPU_LITTLE_ENDIAN alternatives to allow users to compile kernels
with a toolchain for the other endianness. But U-Boot does not have such
feature for now, and it's another story.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Gbp-Pq: Name mipsel-native-endianness.diff

9 years agoadd-debian-revision-to-u-boot-version
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
add-debian-revision-to-u-boot-version

Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.

Gbp-Pq: Name add-debian-revision-to-u-boot-version

9 years agou-boot (2016.03+dfsg1-6) unstable; urgency=medium
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
u-boot (2016.03+dfsg1-6) unstable; urgency=medium

  [ Vagrant Cascadian ]
  * u-boot-tegra: Only install p2371-2180 symlink on arm64.
    (Closes: #826905). Thanks to Martin Michlmayr for the report!
  * Add patch to fix reproducibility issues with ld and some
    locales. Thanks to HW42!

  [ Martin Michlmayr ]
  * Add NVIDIA to Tegra description
  * u-boot-tegra.README.Debian: fix name of package
  * u-boot-tegra.README.Debian: improve Jetson TK instructions.
    (Closes: #827081).

  [ Vagrant Cascadian ]
  * Apply patch from upstream to fix volatages used on several OlinuXino
    Lime board variants (Closes: #825214).  Thanks to Karsten Merker for
    tracking down the patch!

[dgit import unpatched u-boot 2016.03+dfsg1-6]

9 years agoImport u-boot_2016.03+dfsg1-6.debian.tar.xz
Vagrant Cascadian [Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)]
Import u-boot_2016.03+dfsg1-6.debian.tar.xz

[dgit import tarball u-boot 2016.03+dfsg1-6 u-boot_2016.03+dfsg1-6.debian.tar.xz]

9 years agoImport u-boot_2016.03+dfsg1.orig.tar.xz
Vagrant Cascadian [Tue, 15 Mar 2016 21:53:55 +0000 (21:53 +0000)]
Import u-boot_2016.03+dfsg1.orig.tar.xz

[dgit import orig u-boot_2016.03+dfsg1.orig.tar.xz]