summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-02-26- remove double cvs id'sJasper Lievisse Adriaanse
2010-02-26- this device doesn't provide volume control, so stop whining about it. it's ↵Jasper Lievisse Adriaanse
just not there. ok jakemsr@ drahn@
2010-02-26Back out the last commit. Bizzarely, that extra l@ makes boong from CD fail!Theo de Raadt
Why this code, which must be executed, is not failing on disk is an utter mystery. More investigation needed.
2010-02-26Subdevice interrupt dispatcher for voyager(4) and ohci@voyager device, onlyMiod Vallat
allowed to match on old gdium artwork, as newer artwork have nothing connected to the usb pins, and this causes the empty bus probe to stall the boot a few seconds.
2010-02-24Update comments: the bit we flip in ISR4C on LS2F systems is not undocumented,Miod Vallat
but documentation for it only exists in Chinese. I still don't have the slightest idea why flipping it is important, but I am more confident flipping it now (-:
2010-02-24Minimal support for the ST7 chip found on Gdium Liberty, brings us batteryMiod Vallat
information and a few other things not yet wired.
2010-02-24Force write posting after changing GPIO pin status.Miod Vallat
2010-02-24Fix read/write logic to not rely upon M41T8X_TOD_START being zero.Miod Vallat
No functional change.
2010-02-24fix scaling of battery currentOtto Moerbeek
2010-02-24spacingTheo de Raadt
2010-02-23switch to simple indicators instead of playing string games; promptedOtto Moerbeek
by deraadt@
2010-02-23Restore MTRRs on resume.Mark Kettenis
ok oga@, pirofti@
2010-02-23ykbec(4), a driver to read fan, temperature and battery status usingOtto Moerbeek
the kb3310b embedded controller chip on the yeeloong. With help & ok miod@
2010-02-23Allow CPU->PCI access in a subset of the `high' bonito pci memory spaceMiod Vallat
(1GB@1GB); that's the best we can do on 2F due to the way the crossbar windows work. Necessary for upcoming Fuloong2F changes.
2010-02-23only match on Gdium; ok miod@Otto Moerbeek
2010-02-22It is bad to have HAVE_TIMECOUNTER but the clock/timer not configure aDale Rahn
timecounter.
2010-02-22Don't attempt to repost the video hardware. There are quite a few machinesMark Kettenis
where jumping to the "standard" video BIOS entry point locks up or even resets the machine. This will break resume on some other machines in the sense that the display on them will remain disabled. But hopefully those machines make it into a state where the kernel is running and we can fix that. ok deraadt@, marco@, mlarkin@
2010-02-22Use the logical or operator, not the bitwise operator inKevin Lo
the preprocessor.
2010-02-22- fix a few debug messages: disabled vs enabled mixup, missing \nJacob Meuser
- remove some '//' commented code ok ratchov, kettenis, edd
2010-02-21Read revision from the correct MSR; no functional change.Miod Vallat
2010-02-21Make sure we only request our peer to start processing descriptors if itMark Kettenis
isn't currently doing so. Fixes hangs on large data transfers.
2010-02-21Start and stop watchdog timer in the appropriate places, and print a messageMark Kettenis
if it fires.
2010-02-20minor tweak to improve consistency with other drivers; startupIgor Sobrado
messages are usually lower case (exceptions are manufacturer codenames as "Pentium" or "Horse").
2010-02-19Add built-in audio support on Lemote systems.Miod Vallat
2010-02-19Move auglx(4) from i386-only land to MI land.Miod Vallat
(auglx.c is not modified in this commit yet, only moved around)
2010-02-19even more USB; ok miod@Otto Moerbeek
2010-02-19do NOT install the loongson mbr on other architectures!Theo de Raadt
2010-02-19Add a driver for the M41T8x time-of-day clock chips, such as the M41T83Miod Vallat
found on the Gdium Liberty. These machines finally no longer complain about a missing todclock.
2010-02-18Add a master driver for the VoyagerGX SM502 chip found on the Gdium, which isMiod Vallat
not only a framebuffer. Allow smfb to attach either at pci or at voyager. Add gpio@voyager and gdiumiic@gpio, a derivative of the MI gpioiic driver. This allows us to get lmtemp@iic on the Lemote; the next step being to write a driver for the i2c todclock chip found on the same bus.
2010-02-18improve startup messages rewording them in a more usual way; as aIgor Sobrado
side effect, this change makes displayed messages shorter. miod@ has observed that `Horse' is the codename of the chip, which gets paired with a `Saddle' companion chip. there is one hose (i.e., bus) per chip; others (`Tsunami') have two hoses per chip, or even four (`Typhoon'); so, `Horse' is not really a typo. written with clever advice from krw@ and miod@ miod@ has suggested the capitalization for `Saddle'. ok krw@, miod@
2010-02-18The PMON code is compiled as 64 bit code but still using the old ABI (actually,Miod Vallat
a 64-bit version of the old ABI), which explains why these wrappers are needed. Update comments to match reality, and make cpp write all the code of this file. (``survival of the laziest'' motto) Keep the misleading file name though (lazyness again)
2010-02-17If PMON has loaded an initrd binary, and this binary looks like a validMiod 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-17descend into mbr; ok miod@Otto Moerbeek
2010-02-17proto mbr for loongsonOtto Moerbeek
2010-02-17Split boot/Makefile in case we need to build several boot.${VENDOR} compiledMiod 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 ofJasper Lievisse Adriaanse
RAM work. help and ok miod@
2010-02-16Move part of the device_register() logic into platform-specific code. AddMiod 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-16Use printf() in there, not pmon_printf().Miod Vallat
2010-02-16Display the system type on the mainbus0 line as well.Miod Vallat
2010-02-16Actually, both the Gdium and the Lemote PMON reset the USB controllersMiod 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-15Simplify MBR and install it as /usr/mdec/mbr instead of /usr/mdec/mbr.miniMark 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-15Since strip doesn't know how to strip a U-boot image, don't attempt toMark Kettenis
do so during install.
2010-02-15Descend into mbr subdirectory.Mark Kettenis
2010-02-15MBR for rb600 installation miniroot image.Mark Kettenis
2010-02-14Work in progress standalone boot blocks for OpenBSD/loongson systems. WillMiod 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-14Bump version number (to 1.0).Mark Kettenis
2010-02-14Enable loading kernels compressed by gzip(1).Mark Kettenis
2010-02-14Don't use absolute paths for includes.Michael Knudsen
ok drahn
2010-02-13port 'Makefile', builds tags.Dale Rahn
2010-02-13Install boot.elf in /usr/mdec, since we need it as a bootloader on the rb600.Mark Kettenis