| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
than modulo-8, because clang emits ldrd and strd instructions for
addresses that are only 4-byte aligned
|
| |
|
|
|
|
|
|
| |
libstand.
* Stop linking the ARM U-Boot loader against libgcc now libstand has the
required symbols.
|
| |
|
|
|
|
| |
specifier from libstand.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
data and bss sections. All the rest is needed for normal binaries,
but boot loaders aren't normal.
|
|
|
|
|
| |
In particular, this simplifies scripts that build system
images.
|
|
|
|
|
|
| |
unnecessary 64-bit math on 32-bit machines.
Sponsored by: Google Summer of Code 2011
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
# 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Discussed on: arm@
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
precedence over the latter if it exists.
MFC after: 3 weeks
|
| |
|
| |
|
|
|
|
| |
all ELF.
|
| |
|
|
|
|
|
| |
PR: bin/148894
Submitted by: olgeni
|
|
|
|
|
| |
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
|
|
|
|
| |
endians...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
operation on my ixp435 Cambria board is unreliable
|
|
|
|
| |
needs Proghorn testing
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
correctly.
|
|
|
|
| |
Submitted by: Andrey Eltsov
|
|
|
|
| |
and ADI Pronghorn Metro with Redboot on them.
|
|
|
|
|
|
|
|
|
|
|
|
| |
code. Added a copyright for the work I did to this file a couple of
years ago. Add John's copyright too, since I'm sure I'll be pulling
more into this code. This also implements a new -n option to not
allow breaking into the boot sequence which was original in the patch
John posted (not in the original i386 code I based this boot2.c on,
only the name is the same). I haven't checked to see if he did that,
or if it was one of Sam's improvements.
Submitted by: jhay@
|
|
|
|
| |
increase the diffs with other arm boot2 loaders.
|
|
|
|
| |
boot2 and may make it easier to merge these files in the future...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- It is opt-out for now so as to give it maximum testing, but it may be
turned opt-in for stable branches depending on the consensus. You
can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
It is harmless to steal the knob as SSP symbols have been provided
by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
(sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
libc will be automatically downgraded to -fstack-protector because it
breaks rtld otherwise.
- This option is unavailable on ia64.
Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
|
|
|
|
|
|
|
| |
- Be more chatty on startup, since we have enough code space on
AT91RM9200
- init DS1672 charging
- init USART GPIO
|
|
|
|
| |
check for both status codes
|
|
|
|
|
|
|
|
| |
defined. This lets each boot program choose which version of cgbase() it
wants to use rather than forcing ufsread.c to have that knowledge.
MFC after: 1 week
Discussed with: imp
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
order. The kernel used to shuffle them around to get things right,
but that was recently fixed. This makes our boot loader match the
behavior of most other boot loaders for the atmel parts. This bug was
inherited from the Kwikbyte loader that we started from.
This bug was discovered by Bj.ANvrn KNvnig back in June, but fell on the
floor. He provided patches to the kernel, include backwards
compatibility options that were similar to Olivier's if_ate.c commit.
|
|
|
|
|
|
|
| |
passed into the kernel, and the kernel will soon grow that ability on
arm.
Approved by: re@ (blanket)
|
|
|
|
|
|
|
| |
but I'm unsure of its provenance, so rather than add it here, revert
the migration to it.
Approved by: re@ (blanket)
|