summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib
Commit message (Collapse)AuthorAgeFilesLines
* MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH ↵imp2010-08-231-1/+1
| | | | (which simplifies some powerpc/powerpc64 ifs)
* Initial loader(8) support for Flattened Device Tree.raj2010-05-251-0/+4
| | | | | | | | | | 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
* Mostly revert r200691. U-Boot syscall() entry point returns 1 on success.raj2010-05-251-1/+1
|
* Use loader devices only when they initialized properly.raj2010-05-251-1/+1
|
* Minor style correction.raj2010-02-251-1/+1
|
* Fix handling of GPT disk partition index.raj2010-02-251-0/+8
| | | | | Obtained from: Semihalf MFC after: 1 week
* Fix ub_env_enum(): syscall() returns 0 when properly invoked.marcel2009-12-181-4/+3
|
* - Remove trailing ";" after if statementantoine2009-11-111-6/+1
| | | | | | | - Remove #if 0 section that was never needed/used Reviewed by: raj@ MFC after: 1 month
* Make GPT style partitiong endian-safe in U-Boot support library.raj2009-06-031-13/+28
| | | | | Submitted by: Piotr Ziecik Obtained from: Semihalf
* Fix NETIF_DEBUG compilation.marcel2009-05-301-8/+2
|
* GPT style partitioning for loader(8) with U-Boot support library (tested onraj2009-05-053-27/+243
| | | | | | ARM). Submitted by: Piotr Ziecik kosmo ! semihalf dot com
* Improve style(9) in PowerPC U-Boot support lib.raj2008-12-171-8/+9
|
* Initial storage functionality for U-Boot support library.raj2008-11-196-87/+424
| | | | | | | | - Only non-sliced bsdlabel style partitioning is currently supported (but provisions are made towards GPT support, which should follow soon) - Enable storage support in loader on ARM Obtained from: Semihalf
* Initial support of loader(8) for ARM machines running U-Boot.raj2008-10-141-1/+1
| | | | | | | | | | This uses the common U-Boot support lib (sys/boot/uboot, already used on FreeBSD/powerpc), and assumes the underlying firmware has the modern API for stand-alone apps enabled in the config (CONFIG_API). Only netbooting is supported at the moment. Obtained from: Marvell, Semihalf
* Minor style(9) fixes for U-Boot API glue.raj2008-10-044-25/+23
|
* U-Boot API glue improvements:raj2008-10-044-42/+45
| | | | | | | | - extend ub_dev_read() and ub_dev_recv() so that the actual len and all error codes can be passed and processed properly; unify behaviour of these routines - introduce syscall general error code (API_ESYSC)
* Improve loader support for U-Boot.raj2008-09-032-25/+109
| | | | | | | | | - add new diag commands: devinfo, sysinfo for U-Boot-style details about the system configuration - better memory info summary - style corrections Obtained from: Semihalf
* Move U-Boot compatibility library to WARNS=2 level.raj2008-09-037-33/+45
|
* style(9) & style.Makefile(9)obrien2008-03-1312-247/+287
| | | | Reviewed by: raj
* Eliminate artificial increasing of 'netdev_opens' counter in loader's ↵raj2008-03-126-79/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | net_open(). This was introduced as a workaround long time ago for some Alpha firmware (which is now gone), and actually prevented net_close() to ever be called. Certain firmwares (U-Boot) need local shutdown operations to be performed on a network controller upon transaction end: such platform-specific hooks are supposed to be called via netif_close() (from within net_close()). This change effectively reverts the following CVS commit: sys/boot/common/dev_net.c revision 1.7 date: 2000/05/13 15:40:46; author: dfr; state: Exp; lines: +2 -1 Only probe network settings on the first open of the network device. The alpha firmware takes a seriously long time to open the network device the first time. Also suppress excessive output while netbooting via loader, unless debugging. While there, make sys/boot/uboot more style(9) compliant. Reviewed by: imp Approved by: cognet (mentor)
* o Build libuboot with -msoft-float like everything else.marcel2008-02-233-50/+88
| | | | | | | o Move the API prototypes to a separate header (glue.h) o Allow the platform to hint libuboot about where to look for the API signature. The uboot_address variable is expected to be defined by the platform.
* Add the appropriate license information. This file is doublemarcel2008-02-231-1/+55
| | | | | | licensed under GPL and BSD. Thanks to: raj@
* MFp4 (e500):marcel2008-02-1613-0/+1699
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@
OpenPOWER on IntegriCloud