USB SPL boot should be able to override local SD card on panda

Bug #927956 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
u-boot-linaro (Ubuntu)
Fix Released
Undecided
John Rigby

Bug Description

I'd like to use USB booting to override the local SD card on my Pandaboard. This way, I will be able to do automated install testing and provisioning, even when the bootloader installation on the SD card is broken.

Currently, with u-boot-linaro-omap4-panda-splusb, USB boot works but uses the SD card's boot.scr. There does not appear to be a way to specify a different boot script than the embedded default, so if the SD card points to a kernel that is broken, USB booting always fails.

Is there any use case for USB booting to honour the SD's boot.scr?

I tried changing the embedded default boot script to skip out the mmc parts of CONFIG_BOOTCOMMAND if CONFIG_SPL_USB is set, and this seems to work.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: u-boot-linaro-omap4-panda-splusb 2012.01.1-ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-1405.7-omap4 3.2.1
Uname: Linux 3.2.0-1405-omap4 armv7l
ApportVersion: 1.91-0ubuntu1
Architecture: armhf
Date: Mon Feb 6 23:15:49 2012
Dependencies:

ProcEnviron:
 LANGUAGE=en_US:
 LC_COLLATE=C
 LANG=en_GB
 SHELL=/bin/bash
SourcePackage: u-boot-linaro
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Robie Basak (racb) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "u-boot-linaro.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Jani Monoses (jani)
Changed in u-boot-linaro (Ubuntu):
assignee: nobody → John Rigby (jcrigby)
Revision history for this message
Robie Basak (racb) wrote :

This was fixed in u-boot-linaro (2012.02.2-ubuntu1) precise; urgency=low

  * Update to upstream 2012.02.2 u-boot-linaro

  [ John Rigby ]
  * SAUCE: Snowball: init serial later
  * MMC: arm_pl180_mmci: allow multiple devices
  * OMAP3 Beagle and OMAP4: add preEnv.txt support (LP: 932436)

  [ Rob Herring ]
  * net: allow setting env enetaddr from net device setting
  * net: add Calxeda xgmac driver
  * ARM: highbank: enable networking and pxe
  * ARM: highbank: Add boot counter support
  * ARM: highbank: add reset support
  * ARM: highbank: setup env from boot source register
  * ARM: highbank: change TEXT_BASE to 0x8000
  * ARM: highbank: add autoboot script files
  * ARM: highbank: fix us_to_tick calculation
  * ARM: highbank: update autoboot bootdelay value

  [ Jason Hobbs ]
  * configs/highbank.h: point at env in nvram
  * configs/highbank.h: correct the fdt_addr env variable

  [ Robie Basak ]
  * OMAP4: Force PXE booting when booting via spl-usb (LP: 927956)

 -- John Rigby <email address hidden> Thu, 16 Feb 2012 10:06:35 -0700

Changed in u-boot-linaro (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.