History log of /freebsd-10.1-release/sys/boot/uboot/common/main.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 265071 28-Apr-2014 ian

MFC r263052, r263124, r263265, r263267... Enhance loaderdev env var.

Enhance the mechanism that lets you configure the ubldr boot device by
setting the u-boot environment variable loaderdev=. It used to accept only
'disk' or 'net'. Now it allows specification of unit, slice, and partition
as well. In addition to the generic 'disk' it also accepts specific
storage device types such as 'mmc' or 'sata'.

If there isn't a loaderdev env var, the historical behavior is maintained.
It will use the first storage device it finds, or a network device if
no working storage device exists.

99% of the work on this was done by Patrick Kelsey, but I made some
changes, so if anything goes wrong, blame me.

(Indeed, the 3 followup commits fixed things I got wrong on the first.)


# 265070 28-Apr-2014 ian

MFC r262666: exit with code 0xbadab1 if the u-boot API support is missing.


# 265067 28-Apr-2014 ian

MFC r262337: Allow the boot device to be choosen by a u-boot env variable.

If a "loaderdev=<device>" env variable is set and the named device
exists, it is used. If the device doesn't exist, fall back to the
historic "probe" loop that prefers disk devices over network devices.


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 240276 09-Sep-2012 ae

Update according to the change of struct uboot_devdesc.


# 235095 06-May-2012 kientzle

Ooops. Back out changes to main.c from r235094.

This change is specific to BeagleBone; I need to figure out how to
generalize this before committing.


# 235094 06-May-2012 kientzle

Don't call strcmp with a NULL pointer.

In particular, on the AM335x, which comes up with no memory
mapped to low addresses, dereferencing the NULL causes a crash.


# 208538 25-May-2010 raj

Initial loader(8) support for Flattened Device Tree.

o This is disabled by default for now, and can be enabled using WITH_FDT at
build time.

o Tested with ARM and PowerPC.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation


# 208534 25-May-2010 raj

Use loader devices only when they initialized properly.


# 204316 25-Feb-2010 raj

Let loader(8) for U-Boot use default storage more flexibly.

Obtained from: Semihalf
MFC after: 1 week


# 186231 17-Dec-2008 raj

Improve style(9) in PowerPC U-Boot support lib.


# 182732 03-Sep-2008 raj

Improve loader support for U-Boot.

- add new diag commands: devinfo, sysinfo for U-Boot-style details about the system
configuration
- better memory info summary
- style corrections

Obtained from: Semihalf


# 182723 03-Sep-2008 raj

Move U-Boot compatibility library to WARNS=2 level.


# 177152 13-Mar-2008 obrien

style(9) & style.Makefile(9)

Reviewed by: raj


# 176482 23-Feb-2008 marcel

o Include glue.h
o Support multiple memory regions.


# 176348 16-Feb-2008 marcel

MFp4 (e500):

Add support for U-Boot. This uses the U-Boot API as developed by
Rafal and which is (will be) part of U-Boot 1.3.2 and later.

Credits to: raj@