summaryrefslogtreecommitdiffstats
path: root/sys/arch/loongson/stand/boot/start.S (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Skip gp initialization in loongson bootblocksvisa2021-02-171-2/+1
| | | | | | | The loongson bootblocks are compiled with -mno-abicalls and do not use gp-relative addressing. A similar change has been made to the mips64 kernels recently.
* Add a workaround that lets loongson bootblocks work with PMON thatvisa2018-04-201-1/+3
| | | | | | uses the O32 calling convention. Such firmware comes at least on some Loongson 3A development boards. This differs from the LS2F-based machines made by Lemote whose PMON uses the GCC O64 calling convention.
* Pass `prid' properly to pmon_init().visa2016-10-091-3/+4
|
* Work in progress standalone boot blocks for OpenBSD/loongson systems. Willmiod2010-02-141-0/+55
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.