| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
Add support for the CENTIPAD board (http://www.harerod.de/centipad/index.html)
(which is a very cool, very small ARM board)
Add support for KB9202B (it has different memory)
Make BOOT_FLAVOR settable
Minor cleanup nits
Approved by: re@
|
|
|
|
|
|
|
| |
and it is seriously broken.
Discussed on: freebsd-arch@
Approved by: re (mux)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of obtaining them over and over again and pretending we could do
anything useful without them (for chosen this includes adding a
declaration and initializing it in OF_init()).
- In OF_init() if obtaining the memory or mmu handle fails just call
OF_exit() instead of panic() as the loader hasn't initialized the
console at these early stages yet and trying to print out something
causes a hang. With OF_exit() one at least has a change to get back
to the OFW boot monitor and debug the problem.
- Fix OF_call_method() on 64-bit machines (this is a merge of
sys/dev/ofw/openfirm.c rev 1.6).
- Replace OF_alloc_phys(), OF_claim_virt(), OF_map_phys() and
OF_release_phys() in the MI part of the loader with wrappers around
OF_call_method() in the sparc64. Beside the fact that they duplicate
OF_call_method() the formers should never have been in the MI part
of the loader as contrary to the OFW spec they use two-cell physical
addresses.
- Remove unused functions which are also MD dupes of OF_call_method().
- In sys/boot/sparc64/loader/main.c add __func__ to panic strings as
different functions use otherwise identical panic strings and make
some of the panic strings a tad more user-friendly instead of just
mentioning the name of the function that returned an unexpected
result.
|
|
|
|
|
|
|
|
| |
- Add missing prototypes.
- Define global variables not used outside of this module as static.
- Replace some outdated hard-coded functions names in panic strings
with __func__.
- Fix some style(9) bugs.
|
|
|
|
|
| |
sys/dev/ofw/openfirm.c with themselves, with each-other
and with style(9).
|
|
|
|
|
|
|
|
|
|
| |
It is disabled by default. You need to put
LOADER_FIREWIRE_SUPPORT=yes in /etc/make.conf
and rebuild loader to enable it.
(cd /sys/boot/i386 && make clean && make && make install)
You can find a short introduction of dcons at
http://wiki.freebsd.org/DebugWithDcons
|
|
|
|
|
|
|
| |
speculative loads. This at least makes control speculative loads
work. In the future we should analyze which faults/exceptions
we want to handle rather than defer to avoid having to call the
recovery code when it's not strictly necessary.
|
| |
|
|
|
|
| |
we declared as inline can not be inlined.
|
|
|
|
| |
Approved by: njl (mentor, blanket)
|
|
|
|
|
|
|
|
|
| |
and only supports just over 7GB of swap...
Sound a bit more professional..
Inspired by: Marc G. Fournier
MFC After: 3 days
|
|
|
|
| |
Reminded by: bmah
|
|
|
|
| |
document it. When there is no such file, it's invisible for the user.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added magic numbers to pretend the NEC original program version
2.70.
- Added string display routine with Shift-JIS code support.
- Added three nop instructions at start1 in start.s since the
installaer of the IPLware put 'call $0x09ab' instruction.
- Put the near return instruction at 0x9ab in selector.s.
Since the Shit-JIS display routine must be located at 0x1243, the
linker script file (ldscript) is applied.
|
|
|
|
|
|
| |
bootinfo variable declaration visible. It conflicts with static
declaration in this file. Declare variable as globally visible in
order to resolve the conflict.
|
|
|
|
| |
fast enough, or there's other issues that cause the first try to fail.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GetSeconds(). Instead, use CRTR register shifted right 15. This
gives us a range of 32 seconds we can do for timeout.
Shift to using == rather than < or > for calculating the timeout,
since if we can't read the ST_CTRT register twice in a second we have
even bigger problems to worry about, and == deals with the 'wrap'
issue.
This lets me type at the boot2 prompt again! Woo Hoo!
Bogusness noticed by: tisco
Pointy Hat to: That silly imp guy
|
|
|
|
|
| |
CRTR register to be 1/32768th of a second in init, we don't need to do
it here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CSD is usually 512 (well, 9), but for 2GB (and the rogue 4GB SD cards)
it is 1024 (or 2048 for 4GB). This value doesn't work for the block
read commands (which really want 512). Hardcode 512 for those. This
may break really old MMC cards that don't have a 512 block size (I've
never seen one: make my day and send me one :-), but since the MMC
side of the house is currently broken, it should only have the effect
that 2GB (and non-conforming 4GB) SD cards will work.
My 'non-conforming' 4GB SD card also works now too. The
non-conforming 4GB SD cards were sold for a while before the SD
association was worried they would be (a) incompatible (different FAT
flavor on them) and (b) confusing for the new SDHC standard and
cracked down on suppliers' bogus use of the SD trademark...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The changes to getstr() is so that the character that is
passed in to it, is also processed just as the rest. I also
removed one of the getc() calls otherwise you loose every
second character.
I also changed the strcpy of kname, so that it only happens if
kname is '\0'. This is so that one can pass a kernel in
through /boot.config.
The last change to boot2.c is in parse(). If you tried to type
a kernel name to boot, the first character was lost, the arg--
fix that.
Submitted by: jhay
|
|
|
|
|
|
| |
character after the character that was the same.
Submitted by: jhay
|
|
|
|
| |
Submitted by: jhay
|
|
|
|
|
|
|
|
|
|
| |
bioscom is called to set up serial port parameters because COMSPEED
was treated as an address instead of an immediate value, causing
serial port parameters to never be set.
PR: i386/110828
Reviewed by: jhb
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
The relevant changes for FreeBSD (excerpt from the release note):
* Newly implemented CORE EXT words: CASE, OF, ENDOF, and ENDCASE. Also
added FALLTHROUGH, which works like ENDOF but jumps to the instruction
just after the next OF.
* Bugfix: John-Hopkins locals syntax now accepts | and -- in the comment
(between the first -- and the }.)
* Bugfix: Changed vmGetWord0() to make Purify happier. The resulting
code is no slower, no larger, and slightly more robust.
|
| |
|
|
|
|
| |
- Fixed typos in comment.
|
|
|
|
|
|
|
| |
It isn't relevant to FreeBSD as a whole, breaks the build, and isn't
even needed for my company's boards anymore...
MFC After: 2 weeks
|
|
|
|
| |
Fix the cdboot twiddle display.
|
|
|
|
|
|
|
|
|
| |
I created and tested this with a custom FreeSBIE cd-image.
PR: i386/96452
Submitted by: Yuichiro Goto <y7goto at gmail dot com>
MFC after: 3 days
Approved by: imp (mentor)
|
|
|
|
|
|
| |
# I didn't check the markup too closely, so doc people, please check
Submitted by: Oliver Fromme
|
| |
|
|
|
|
|
|
| |
PR: misc/107906
Submitted by: Alex Keda
MFC after: 3 days
|
|
|
|
|
| |
PR: misc/107904
MFC after: 3 days
|
|
|
|
|
|
|
| |
which is #if'ed out since nearly eight years, along with its outdated
database.
Agreed by: ru (some months ago)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add an automatic reset for remote operational luvin' goodness.
|
| |
|
|
|
|
|
| |
loader so that it can memory can be allocated aligned at the beginning of
the desired large page
|
| |
|
|
|
|
|
|
|
|
| |
rather than treating them as a fatal exception and halting. At least one
storage BIOS (some newer mpt(4) parts) have a breakpoint instruction in
their disk read routine.
MFC after: 3 days
|
|
|
|
|
|
| |
refer to the respective manpage for details.
MFC after: 3 days
|
| |
|
|
|
|
| |
a WIP and not used yet.
|