summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/common
Commit message (Collapse)AuthorAgeFilesLines
* Do metadata relocation fixup on all loaded modules, not just the kernel.ian2013-01-301-6/+9
| | | | Approved by: cognet (mentor)
* - Implement "fdt mres" sub-command that prints reserved memory regionsgonzo2012-11-301-4/+15
| | | | | | | | | | | | | | | | | | | - Add "fdt addr" subcommand that lets you specify preloaded blob address - Do not pre-initialize blob for "fdt addr" - Do not try to load dtb every time fdt subcommand is issued, do it only once - Change the way DTB is passed to kernel. With introduction of "fdt addr" actual blob address can be not virtual but physical or reside in area higher then 64Mb. ubldr should create copy of it in kernel area and pass pointer to this newly allocated buffer which is guaranteed to work in kernel after switching on MMU. - Convert memreserv FDT info to "memreserv" property of root node FDT uses /memreserve/ data to notify OS about reserved memory areas. Technically it's not real property, it's just data blob, sequence of <start, size> pairs where both start and size are 64-bit integers. It doesn't fit nicely with OF API we use in kernel, so in order to unify thing ubldr converts this data to "memreserve" property using the same format for addresses and sizes as /memory node.
* Update according to the change of struct uboot_devdesc.ae2012-09-091-1/+1
|
* Access the device tree blob via copyin/copyout.kientzle2012-05-171-2/+2
| | | | | | | | | | | | | The code previously assumed that copyin/copyout did no address translation and that the device tree blob could be manipulated in-place (with only a few adjustments for the ELF loader offset). This isn't possible on all platforms, so the revised code uses copyout() to copy the device tree blob into a heap-allocated buffer and then updates the device tree with copyout(). This isn't ideal, since it bloats the loader memory usage, but seems the only feasible approach (short of rewriting all of the fdt manipulation routines).
* Ooops. Back out changes to main.c from r235094.kientzle2012-05-061-11/+0
| | | | | This change is specific to BeagleBone; I need to figure out how to generalize this before committing.
* Don't call strcmp with a NULL pointer.kientzle2012-05-062-4/+18
| | | | | In particular, on the AM335x, which comes up with no memory mapped to low addresses, dereferencing the NULL causes a crash.
* Improve device tree blob (DTB) handling in loader(8).raj2012-03-201-7/+6
| | | | | | | | | | Enable using the statically embedded blob from the kernel, if present. The KLD loaded DTB takes precedence, but they are both recognized and handled in the same way. Submitted by: Lukasz Wojcik Obtained from: Semihalf MFC after: 1 week
* Get rid of bootinfo for good in loader (U-Boot-based) and ARM.raj2010-07-111-119/+0
| | | | | For FDT-enabled platforms the device tree is a modern replacement for bootinfo config data.
* Fix conditional FDT support in loader(8).raj2010-06-131-0/+2
|
* Initial loader(8) support for Flattened Device Tree.raj2010-05-252-9/+60
| | | | | | | | | | 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
* Use loader devices only when they initialized properly.raj2010-05-251-8/+10
|
* Let loader(8) for U-Boot use default storage more flexibly.raj2010-02-251-7/+18
| | | | | Obtained from: Semihalf MFC after: 1 week
* Provide an effective (relocated) address when building modules metadata.raj2009-11-191-1/+3
| | | | | | | This lets modules loaded dynamically in loader(8) work for U-Boot-based platforms. MFC after: 1 week
* Improve style(9) in PowerPC U-Boot support lib.raj2008-12-171-0/+1
|
* Improve loader support for U-Boot.raj2008-09-031-40/+79
| | | | | | | | | - add new diag commands: devinfo, sysinfo for U-Boot-style details about the system configuration - better memory info summary - style corrections Obtained from: Semihalf
* Make metadata.c shared across all platforms using U-Boot.raj2008-09-032-1/+458
| | | | This will [soon] be needed for ARM.
* Move U-Boot compatibility library to WARNS=2 level.raj2008-09-031-7/+4
|
* style(9) & style.Makefile(9)obrien2008-03-131-9/+8
| | | | Reviewed by: raj
* o Include glue.hmarcel2008-02-231-12/+10
| | | | o Support multiple memory regions.
* MFp4 (e500):marcel2008-02-162-0/+229
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