Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-17 | If PMON has loaded an initrd binary, and this binary looks like a valid | Miod Vallat | |
ELF image, assume it's the kernel and try to boot it immediately. This allows a Gdium system with both the bootloader and the kernel image on an ext2fs partition, with `al' pointing to the bootblocks and `rd' pointing to the kernel in PMON environment, to boot a kernel with proper kernel symbols, for the first time. (please don't get me started on how reliable `load -k' is on the Gdium) Bump bootblocks version to 0.2. | |||
2010-02-17 | descend into mbr; ok miod@ | Otto Moerbeek | |
2010-02-17 | proto mbr for loongson | Otto Moerbeek | |
2010-02-17 | Split boot/Makefile in case we need to build several boot.${VENDOR} compiled | Miod Vallat | |
from the same sources with different CFLAGS; the need for this has not arisen yet but I fear it will hit the fan soon enough; no functional change in the meantime. | |||
2010-02-17 | - prevent "anti-memory" from showing up, this makes systems with 2GB of | Jasper Lievisse Adriaanse | |
RAM work. help and ok miod@ | |||
2010-02-16 | Move part of the device_register() logic into platform-specific code. Add | Miod Vallat | |
correct root device identification for Gdium (assuming it is booted from the G-Key), although it will not attach as sd0 if there is anything connected to the usb port next to the Ethernet port. | |||
2010-02-16 | Use printf() in there, not pmon_printf(). | Miod Vallat | |
2010-02-16 | Display the system type on the mainbus0 line as well. | Miod Vallat | |
2010-02-16 | Actually, both the Gdium and the Lemote PMON reset the USB controllers | Miod Vallat | |
before transferring control to any binary, so trying to boot anything on the Gdium without bringing half the kernel code is a no-go. So, only keep `wd' as a possible boot device, for the Lemote systems, and complain loudly if run on a Gdium. | |||
2010-02-15 | Simplify MBR and install it as /usr/mdec/mbr instead of /usr/mdec/mbr.mini | Mark Kettenis | |
since it makes a fairly decent template for fdisk -i. Change the procedure that makes the rb600 installation miniroot image to use fdisk -i instead of dd(1) to create the MBR for the image. Adjust the miniroot disk type in /etc/disktab to the slightly different layout that fdisk -i creates. | |||
2010-02-15 | Since strip doesn't know how to strip a U-boot image, don't attempt to | Mark Kettenis | |
do so during install. | |||
2010-02-15 | Descend into mbr subdirectory. | Mark Kettenis | |
2010-02-15 | MBR for rb600 installation miniroot image. | Mark Kettenis | |
2010-02-14 | Work in progress standalone boot blocks for OpenBSD/loongson systems. Will | Miod Vallat | |
load a kernel from the OpenBSD partition, with symbols. However: - does not work on gdium (usb i/o errors) - no countdown due to PMON limitations, so either `bsd' in the PMON environment contains a kernel filename to load, and it will get loaded immediately, or it doesn't (e.g. the variable does no exist) and you get a prompt and can pass options to the kernel. Note that /etc/boot.conf commands can still be used in both cases. - does not work for me when loaded automatically from PMON (put in the `al' environment variable). However, `boot $al' works fine. Need to investigate. | |||
2010-02-14 | Bump version number (to 1.0). | Mark Kettenis | |
2010-02-14 | Enable loading kernels compressed by gzip(1). | Mark Kettenis | |
2010-02-14 | Don't use absolute paths for includes. | Michael Knudsen | |
ok drahn | |||
2010-02-13 | port 'Makefile', builds tags. | Dale Rahn | |
2010-02-13 | Install boot.elf in /usr/mdec, since we need it as a bootloader on the rb600. | Mark Kettenis | |
2010-02-13 | Since the TLB handler exception code is now always a trampoline to branch | Miod Vallat | |
to the handler code in the kernel, we can use relative branches in it to make it a bit faster. Also, get rid of the tlbmiss handler and have both the tlb and xtlb refill exceptions branch to the xtlbmiss handler. | |||
2010-02-13 | Since we don't use the saved ipl in pcb anymore, remove it from the struct | Miod Vallat | |
layout. | |||
2010-02-13 | Dont mix up the order of the registers with the defines. | Dale Rahn | |
2010-02-12 | include devices found on fuloong: com0, re and rgephy; ok miod@ | Otto Moerbeek | |
2010-02-12 | use early setup hook to get serial console on the fuloong; with & ok miod@ | Otto Moerbeek | |
2010-02-12 | tftp boot paths do not start with a /; ok miod@ | Otto Moerbeek | |
2010-02-12 | Allow for two more per-platform function pointers, one for extra setup work | Miod Vallat | |
while pmon is still available, and one for reset (in addition to the already existing powerdown routine). Add reset and powerdown code to the fuloong 2f platform; this also fixes reset on yeeloong. Tested by otto@ | |||
2010-02-12 | Switch to using mkuboot for building the U-Boot image. | Michael Knudsen | |
`looks right' drahn | |||
2010-02-12 | Overhaul per-platform specific operation by moving all the differences into | Miod Vallat | |
per-platform structs or function pointers; therefore bonito(4) no longer needs to know about particular systems. While there, bring little bits of Fuloong 2F support, tested on otto@'s machine. | |||
2010-02-12 | Allow more legacy interrupts to reach the legacy PIC; found the hard way by | Miod Vallat | |
otto@ on Fuloong. | |||
2010-02-12 | ehci bits, not enabled. | Dale Rahn | |
2010-02-12 | Initial version of ehci shim for omap, not complete. | Dale Rahn | |
2010-02-12 | Rework prcm to support additional iclk/fclk registers. | Dale Rahn | |
2010-02-12 | introduce a uvm_km_valloc_try function that won't get a lower level lock | Ted Unangst | |
for use by the uvm pseg code. this is the path of least resistance until we sort out how many of these functions we really need. problem found by mikeb ok kettenis oga | |||
2010-02-11 | default to no pckbc and no legacy hardware; ok miod@ | Otto Moerbeek | |
2010-02-11 | align comments; ok miod@ | Otto Moerbeek | |
2010-02-11 | cd in nam2blk; ok miod | Otto Moerbeek | |
2010-02-11 | fuloong model define | Otto Moerbeek | |
2010-02-10 | remove lingering debug print. | Dale Rahn | |
2010-02-10 | And now mounts with reads and writes work. | Dale Rahn | |
2010-02-10 | Would seem that the sdmmc layer does not like having CRC7 as part of the | Dale Rahn | |
136 bit RESP, shift it out. Card size is recognized. | |||
2010-02-10 | Blame the right interrupt bit in `spurious interrupt' messages. | Miod Vallat | |
2010-02-10 | Close to working MMCHS (ommmc) driver. much thanks to mk@ for continual poking. | Dale Rahn | |
2010-02-10 | Unfortunately, newer versions of u-boot found on the beagle do not allow | Dale Rahn | |
the OS type of OpenBSD, so claim to be linux so u-boot is happy. Sigh. | |||
2010-02-09 | Make the bonito_pci_attach_hook per-platform, as a new callback in struct | Miod Vallat | |
bonito_config. Move the Geode initalization code previously found there to yeeloong-specific code; and on Gdium, clear all the BAR of the internal mini pci slot - it does not get initialized by PMON and the MI PCI code complains about the bogus values it finds there on cold boots. | |||
2010-02-09 | Flush caches upon startup anyway, the gdium pmon keeps it dirty, unlike | Miod Vallat | |
the lemote pmon. | |||
2010-02-09 | Switching the strange VIA VT8251 PCIE host bridge into a PCI-PCI bridge | Mark Kettenis | |
didn't quite work since the bridge seems to end up largely unconfigured, and our PCI resource configuration code isn't quite smart enough (yet) to fix things up. So instead switch it only into PCI-PCI bridge mode long enough to snoop the bus number, and attach pci(4) using that number. This is probably safer anyway, since ACPI may not like us switching things around behind its back. Fixes PR 6253 & 6304. | |||
2010-02-09 | Process kernel options correctly when run from a `go' command instead of | Miod Vallat | |
`boot'. | |||
2010-02-09 | Less aggressive cache ops on BUS_DMASYNC_PREREAD alone (leftover from older | Miod Vallat | |
code before I got DMA address computation reliable). | |||
2010-02-09 | wsmux (for external, big-boned-fingers compatible, keyboards) and ext2fs | Miod Vallat | |
support on the ramdisk. | |||
2010-02-09 | - add the whole gang of USB devices; as prompted by deraadt@ | Jasper Lievisse Adriaanse | |
- add section headers ok otto@ miod@ |