u-boot: update Upstream-Status fields

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
linux-gumstix 3.5: base on upstream repository

Standard practice in OE layers that do not use linux-yocto has been to base
linux packages on the official stable repository with patches specific to
the platform.

Using a gumstix forked repository and a branch for which the relevant
patches are not reflected in a PR number or any other indicator leads to
confusion and the risk of incompatible packages if that branch is updated.
It is critical for reproducibility and stable package upgrades that the
package version or revision be updated on any content change: processes that
obscure these changes should be avoided.  AUTOREV in particular is a bad
idea.

Revert to using the stable repository with a specific base version with
patches specific to gumstix.  The tag for the base version is expressed in
SRCREV using its SHA identifier.  The patches are maintained in a
non-canonical mirror repository hosted on github.  Addition of new patches
or changing the content of an existing patch without changing PV must be
accompanied by an increment of PR.  PR should be reset to r0 when PV
changes; this is the default, but it is left explicit as a reminder.

The package version now incorporates the base Linux version including third
identifier, although most patches are shared from the linux-gumstix-3.5 as
they should apply to all releases based on the linux-3.5.y branch.

Other than a change in name from linux-gumstix-3.5-r0 to
linux-gumstix-3.5.0-r0 this commit introduces no changes to the kernel or
module contents and the two should be equivalent.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
linux-gumstix: fix sprz319 erratum 2.1

The first patch in this set was taken from meta-ti
recipes-kernel/linux/linux-3.0/usb/0001-Fix-sprz319-erratum-2.1.patch where
it was accepted with:

 commit 8f1fc028be8567c57ed7d40b1800ece37128b9ac
 Author: Koen Kooi <koen@dominion.thruhere.net>
 Date:   Mon Mar 19 19:16:08 2012 +0100

    linux 3.0: Fix sprz319 erratum 2.1

    Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
    Signed-off-by: Denys Dmytriyenko <denys@ti.com>

The content is still being discussed in the linux-omap list and has not been
integrated upstream.  Gumstix users have confirmed that the same fix
retrieved from an external archive fixes their problem.

Inspection indicates a subtle bug in the original where the multiplier
factor is being set one step too high.  The second patch corrects this
error.

Original report: http://marc.info/?l=linux-omap&m=132976109928744&w=2
Gumstix discussion: http://sourceforge.net/mailarchive/message.php?msg_id=31250918

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
linux-gumstix 3.5: update to 3.5.7

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
u-boot 2013.07: add mtd and ubi commands

These allow inspecting the contents of a UBI-format NAND file system, the
default format since December 2011.  They also allow reference to partitions
by name, rather than by address.

Example sequence:
  # Show partition table (uses ${mtdparts})
  mtdparts
  # Read from partition 3 (linux)
  nand read ${loadaddr} nand0,3
  # Display the first 64 bytes which includes the Linux version ID
  md.b ${loadaddr}
  # Tell the UBI infrastructure to work with partition 4 (rootfs)
  ubi part rootfs
  # Mount it and see what's in /etc
  ubifsmount ubi0:rootfs
  ubifsls /etc

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
u-boot+linux: increase linux partition size

The Linux kernel at version 3.5 is about 3.5 MiB; test kernels for 3.10 (the
default in Yocto 1.5) exceed 4 MiB.  Prepare for future upgrades by
increasing the NAND linux partition in both u-boot and linux simultaneously.

Note that this change means that an MMC-loaded u-boot may have the wrong
default configuration for a device that has the factory configuration in
NAND.  The old partition table can be used in u-boot by setting the
environment variable mtdparts back to its original value:

 setenv mtdparts mtdparts=omap2-nand.0:512k(xloader),1792k(u-boot),256k(environ),4m(linux),-(rootfs)

For Linux it would be necessary to pass kernel parameters via u-boot
${optargs} (with the same value as used for ${mtdparts} in u-boot):

 setenv optargs "${mtdparts}"

NB: Install the mtd-utils-ubifs package to then allow these commands in
Linux:

 ubiattach /dev/ubi_ctrl -m 4
 mkdir -p -m 555 /mnt/ubifs
 mount -t ubifs /dev/ubi0_0 /mnt/ubifs

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Update u-boot patch status.

0001 and 0002 have been accepted upstream.