| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
corresponding functions are provided. If override function does not exist,
boot remains unmodified. This patch should not result in any changes.
|
|
|
|
| |
Bug pointed out by: Jan Beich <jbeich@tormail.org>
|
|
|
|
| |
plotting, and alignment coinciding with enhancements in SVN r242667.
|
|
|
|
| |
safe to build upon ``boot_serial?'' functionality to make safer UI choices.
|
|
|
|
|
|
|
| |
Some partitioning tools can create GPT with number of entries less
than 128.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for A20 timer.
Correct interrupt offset depending from chip.
Add basic code for CPU configuration module.
For now, add kernel config and dts file
(only FDT blob related problem needs to be solved later in
order to have one kernel for both cubieboard1 and 2).
Approved by: ray@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
being defined in <sys/diskmbr.h>. Instead give the symbols here a
"PC98_" prefix. This way, both <sys/diskmbr.h> and <sys/diskpc98.h>
can be included in the same C source file.
The renaming is trivial. The only gotcha is that DOSBBSECTOR is
also redefined from 0 to 1. This because DOSBBSECTOR was always
used in conjunction with an addition of 1. The PC98_BBSECTOR symbol
is defined as 1 and the expression is simplified.
Note: it is not believed that ports are seriously impacted; or at
all for that matter.
Approved by: nyan@
|
|
|
|
| |
the omap4, instead of relying on the (wrong) value provided in the dts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interpreter that can be run on the system and as such cannot be
compiled against libbstand. On the one hand this means we need to
include the usual headers for system interfaces that we use and
on the the other hand we can only use standard system interfaces.
While here, define local variables only when needed to make this
WARNS=2 clean on amd64.
PR: 172542
Obtained from: peterj@
Pointed out by: Jan Beich <jbeich@tormail.org>
|
| |
|
|
|
|
| |
so that non-i386 users can easily experiment with this.
|
|
|
|
|
| |
Note: loader.rc is installed as loader.rc.sample
so that by default, none of this is actually used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
isdir? ( fd -- bool )
freaddir ( fd -- ptr len TRUE | FALSE )
The 'isdir?' word returns `true' if the file descriptor is for a
directory and `false' otherwise.
The 'freaddir' word reads the next directory entry and if successful,
returns its name and 'true'. Otherwise 'false' is returned.
These words give the loader the ability to scan directories and read
files contained in them for 'rc.d'-like flexibility in handling which
modules to load and/or which tunables to set.
Obtained from: Juniper Networks, Inc.
|
|
|
|
|
|
| |
kernel does not need it for importing a root pool.
MFC after: 4 weeks
|
|
|
|
| |
for reset pin
|
|
|
|
| |
AM553x-based device
|
| |
|
|
|
|
|
|
|
|
| |
"neither" entry out of the table in BOOTING.
Submitted by: joeld
Reviewed by: joeld
MFC after: 1 week
|
|
|
|
|
|
|
| |
in gpart(8) and boot(8), adding references to gptboot(8) in both.
Reviewed by: jhb, ae, pjd, Paul Schenkeveld <bsdcan@psconsult.nl>, david_a_bright@dell.com (portions), gjb
MFC after: 1 week
|
|
|
|
|
|
| |
on all R-Pi models because VideoCore binary patches it during boot.
Reviewed by: gonzo
|
|
|
|
| |
Submitted by: Ruslan Bukin <br@bsdpad.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when booting from ZFS turned out to also cause the boot path not being
adjusted if booting from CD-ROM with firmware versions that do not employ
the "cdrom" alias in that case. So shuffle the code around instead in order
to achieve the original intent. Ideally, we shouldn't fiddle with the boot
path when booting from UFS on a disk either; unfortunately, there doesn't
seem to be an universal way of telling disks and CD-ROMs apart, though. [1]
- Use NULL instead of 0 for pointers.
PR: 179289
MFC after: 1 week
|
|
|
|
| |
Reviewed by: sjg
|
|
|
|
| |
Always update the hw.uart.console hint.
|
|
|
|
| |
LCD panel description
|
| |
|
|
|
|
| |
Add pinmux setting for the Reset GPIO pin for MMC1.
|
|
|
|
|
|
|
|
| |
the beaglebone-specific .dts file.
Add a new .dts for the BeagleBone Black with more memory,
slightly different pinmux initialization, and with mmchs1
configured (though the latter doesn't quite work yet).
|
|
|
|
|
|
|
| |
fixed in a different way by the new disk code used for other
platforms.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
to driver specific files.
- window initialization is done during device attach
- CESA TDMA decoding windows values are set based on DTS,
not copied from CPU registers
- remove unnecessary virtual mapping
- update dts file
Obtained from: Semihalf
|
|
|
|
|
| |
Submitted by: Thomas Skibo <ThomasSkibo (at) sbcglobal.net>
Reviewed by: wkoszek, freebsd-arm@ (no objections raised)
|
|
|
|
| |
from board to board.
|
|
|
|
|
|
|
|
|
|
|
| |
GDT from the correct segment, otherwise a triple fault would be caused.
In some virtual environments (VMware, VirtualBox, etc) this could lead
to a unhandled error or hang in the guest emulation software.
Thanks to avg and jhb for a few hints in the right direction.
Noticed by: Jeremy Chadwick <jdc@koitsu.org> (and many others)
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
beginning.
Submitted by: Steven Hartland
MFC after: 1 week
|
|
|
|
|
|
| |
(ARM uses 'int' and 'unsigned'; i386 uses 'long' and 'unsigned long'),
so we need explicit casts to long and unsigned long here to ensure
that the result matches the printf %ld and %lx specifiers.
|
| |
|
|
|
|
|
|
|
| |
Before this change strncmp would access and _compare_ n+1 characters
in the case where the first n characters match.
MFC after: 5 days
|
|
|
|
|
| |
than modulo-8, because clang emits ldrd and strd instructions for
addresses that are only 4-byte aligned
|
|
|
|
| |
This fixes a compiler warning introduced in r248121.
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
| |
they can easily be used by later post-processing. When searching for
a compiled-in fdt blob, use the section headers to get the size and
location of the .dynsym section to do a symbol search.
This fixes a problem where the search could overshoot the symbol
table and wander into the string table. Sometimes that was harmless
and sometimes it lead to spurious panic messages about an offset
bigger than the module size.
|
|
|
|
|
|
|
|
|
|
| |
elf headers, mask out the high nibble of that address. This effectly makes
the entry point the offset from the load address, and it gets adjusted for
the actual load address before jumping to it.
Masking the high nibble makes assumptions about memory layout that are true
for all the arm platforms we support right now, but it makes me uneasy.
This needs to be revisited.
|
|
|
|
| |
Approved by: gonzo@
|
|
|
|
| |
the elf headers.
|
|
|
|
|
| |
e_entry field holds a physical or a virtual address. Add a comment block
that explains the assumptions being made by the adjustment code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After digging through more carefully, it looks like there's
no real need to have the DTB in the module directory.
So we can simplify a lot: Just copy DTB into local heap
for "fdt addr" and U-Boot integration, drop all the extra
COPYIN() calls.
I've left one final COPYIN() to update the in-kernel DTB
for consistency with how this code used to work, but I'm
no longer convinced it's appropriate here.
I've also remove the mem_load_raw() utility that I added
to boot/common/module.c with r247045 since it's no longer
necessary.
|
|
|
|
|
|
|
|
| |
initialized after FPIO controller since they might rely on GPIO
functionality
- Update interrupts property of dma node to contain all allocated
interrupts
|
|
|
|
|
|
|
|
| |
This was broken by r247045 which tried to copy the FDT into the
module directory immediately.
Instead, store the address and arrange for the FDT to get
copied into the module directory later when the usual
FDT initialization runs.
|
| |
|