| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
| |
u-boot env into the loader(8) env (which also gets them into the kernel
env). You can import selected variables or the whole environment. Each
u-boot var=value becomes uboot.var=value in the loader env. You can also
use 'ubenv show' to display uboot vars without importing them.
Notes:
svn path=/head/; revision=271285
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also fixes a few minor violations of the SD protocol, such as running
the bus at high speed during the card identification sequence.
The sdcard_init() routine now probes for SDHC cards so that later read
requests can make needed adjustments between block and byte offsets based
on card type.
There is a new MCI_readblocks() function that takes block number and block
count parameters instead of byte-offset values. Using this routine, boot
loader code can load a kernel from any location on an SDHC or standard SD.
The old MCI_read() interface remains unchanged so that existing customized
boot loader code will still keep working without changes. Using this
routine, boot loaders can load a kernel from anywhere in the first 4GB of
an SDHC card (or of course any location on a standard SD card).
A new sdcard_use4wire() routine allows boot loaders to request 4-bit
transfers; it should be called after sdcard_init(). The sdcard_init()
routine no longer assumes the hardware is 4-wire capable and by default
sets things up for 1-bit transfers. (4-wire mode is unreliable on
at91rm9200, works on later SoCs.)
PR: 155894
Submitted by: me. years ago.
Notes:
svn path=/head/; revision=269113
|
| |
|
|
|
|
|
|
| |
("variable flags shadows a global..."), just rename this variable to
wish away the problem.
Notes:
svn path=/head/; revision=269112
|
| |
|
|
| |
Notes:
svn path=/head/; revision=269111
|
| |
|
|
| |
Notes:
svn path=/head/; revision=269110
|
| |
|
|
|
|
|
| |
from the latter.
Notes:
svn path=/head/; revision=265420
|
| |
|
|
|
|
|
|
|
| |
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
Notes:
svn path=/head/; revision=264400
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
shifts into the sign bit. Instead use (1U << 31) which gets the
expected result.
This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.
A similar change was made in OpenBSD.
Discussed with: -arch, rdivacky
Reviewed by: cperciva
Notes:
svn path=/head/; revision=258780
|
| |
|
|
|
|
|
| |
calls to work.
Notes:
svn path=/head/; revision=258527
|
| |
|
|
|
|
|
| |
this early on in the boot process.
Notes:
svn path=/head/; revision=257210
|
| |
|
|
|
|
|
|
|
|
|
| |
- libkern is missing __aeabi_llsl, implement this by calling __ashldi3.
- Because of how the asm entry macros are defined the boot2 code
requires the unwind symbols to exist, include them in boot2.
Approved by: re (marius)
Notes:
svn path=/head/; revision=255939
|
| |
|
|
|
|
|
|
| |
Note: loader.rc is installed as loader.rc.sample
so that by default, none of this is actually used.
Notes:
svn path=/head/; revision=253714
|
| |
|
|
|
|
|
| |
Reviewed by: sjg
Notes:
svn path=/head/; revision=251250
|
| |
|
|
|
|
|
|
| |
than modulo-8, because clang emits ldrd and strd instructions for
addresses that are only 4-byte aligned
Notes:
svn path=/head/; revision=248962
|
| |
|
|
| |
Notes:
svn path=/head/; revision=246647
|
| |
|
|
|
|
|
|
|
| |
libstand.
* Stop linking the ARM U-Boot loader against libgcc now libstand has the
required symbols.
Notes:
svn path=/head/; revision=246369
|
| |
|
|
| |
Notes:
svn path=/head/; revision=245677
|
| |
|
|
|
|
|
| |
specifier from libstand.
Notes:
svn path=/head/; revision=244278
|
| |
|
|
| |
Notes:
svn path=/head/; revision=240277
|
| |
|
|
| |
Notes:
svn path=/head/; revision=238463
|
| |
|
|
|
|
|
|
|
| |
100 bytes from the binary with silly tricks. Hope to get this small
enough to run on the models that have 4k SRAM. We are close compiled
for the at91rm9200, but still need to trim for the target.
Notes:
svn path=/head/; revision=238188
|
| |
|
|
| |
Notes:
svn path=/head/; revision=238187
|
| |
|
|
|
|
|
|
| |
data and bss sections. All the rest is needed for normal binaries,
but boot loaders aren't normal.
Notes:
svn path=/head/; revision=238186
|
| |
|
|
|
|
|
|
| |
In particular, this simplifies scripts that build system
images.
Notes:
svn path=/head/; revision=236159
|
| |
|
|
|
|
|
|
|
| |
unnecessary 64-bit math on 32-bit machines.
Sponsored by: Google Summer of Code 2011
Notes:
svn path=/head/; revision=235988
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The NAND Flash environment consists of several distinct components:
- NAND framework (drivers harness for NAND controllers and NAND chips)
- NAND simulator (NANDsim)
- NAND file system (NAND FS)
- Companion tools and utilities
- Documentation (manual pages)
This work is still experimental. Please use with caution.
Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks
Notes:
svn path=/head/; revision=235537
|
| |
|
|
|
|
|
|
|
|
|
| |
# This doesn't implement the full Linux boot ABI for arm yet.
# since there's no ATAGs list passed in for r2, and r0 has
# boot options rather than 0 as specified in the standard.
# Commited code to the tree won't touch any of this anyway, but
# future code may be able to use this.
Notes:
svn path=/head/; revision=235272
|
| |
|
|
|
|
|
|
|
| |
code came in, it moved things around which wound up breaking the
build. We have to do this bit of a hack to avoid duplication of a lot
of #defines.
Notes:
svn path=/head/; revision=235271
|
| |
|
|
|
|
|
| |
Discussed on: arm@
Notes:
svn path=/head/; revision=234908
|
| |
|
|
|
|
|
|
|
| |
If I interpret the C standard correctly, the storage specifier should be
placed before the inline keyword. While at it, replace __inline by
inline in the files affected.
Notes:
svn path=/head/; revision=228471
|
| |
|
|
|
|
|
|
|
| |
precedence over the latter if it exists.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=226506
|
| |
|
|
| |
Notes:
svn path=/head/; revision=225955
|
| |
|
|
| |
Notes:
svn path=/head/; revision=217663
|
| |
|
|
|
|
|
| |
all ELF.
Notes:
svn path=/head/; revision=217657
|
| |
|
|
| |
Notes:
svn path=/head/; revision=215344
|
| |
|
|
|
|
|
|
| |
PR: bin/148894
Submitted by: olgeni
Notes:
svn path=/head/; revision=215034
|
| |
|
|
|
|
|
|
| |
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
Notes:
svn path=/head/; revision=211725
|
| |
|
|
|
|
|
| |
endians...
Notes:
svn path=/head/; revision=211676
|
| |
|
|
| |
Notes:
svn path=/head/; revision=211675
|
| |
|
|
| |
Notes:
svn path=/head/; revision=209125
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=208538
|
| |
|
|
| |
Notes:
svn path=/head/; revision=204900
|
| |
|
|
| |
Notes:
svn path=/head/; revision=204899
|
| |
|
|
|
|
|
| |
operation on my ixp435 Cambria board is unreliable
Notes:
svn path=/projects/cambria/; revision=186307
|
| |
|
|
|
|
|
| |
needs Proghorn testing
Notes:
svn path=/projects/cambria/; revision=186013
|
| |
|
|
| |
Notes:
svn path=/head/; revision=185375
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=185099
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=183878
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bring in FIXUP_BOOT_DRV functionality as an #ifdef. This is not
enabled at this time, and the md5 remains constant with this change.
Apart from the 'accept any partitioning scheme on the device' changes,
this was the biggest delta...
# and yes, we'll merge these into one source file if we can do that in a
# way that makes sense.
Obtained from: sys/boot/arm/ixp425/boot2/boot2.c
Notes:
svn path=/head/; revision=183673
|
| |
|
|
|
|
|
| |
correctly.
Notes:
svn path=/head/; revision=183671
|