Commit Graph

91 Commits

Author SHA1 Message Date
034dd79f43 Switch to the unified (BIOS and UEFI) kernel image
The initial patch by bzt with my minor edits.

git-svn-id: svn://kolibrios.org@9958 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 01:39:36 +00:00
turbocat
e4362a1edc Fixed a "blue screen" hang when trying to write a configuration to a read-only device
git-svn-id: svn://kolibrios.org@9942 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 19:17:33 +00:00
f5e0f96e84 Add extended_primary_loader to autobuild.
* Build fat1x, fat32, cdfs, after_win loaders.
* Set use_lba=1 by default in fat32 loader.
* Build kolibri.raw: flash / hdd image.
* Add example config.ini file.
* Add an option (config file and screen) to not load ramdisk image.
* Add an option (config file only) to set /sys path.

Now you can boot without a ramdisk from a storage that is supported
by the kernel itself, i.e. without loadable drivers. Thus you can not
load the system without a ramdisk from SATA/AHCI and USB drives.

git-svn-id: svn://kolibrios.org@8091 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-04 16:53:59 +00:00
bf38c73d0a kernel: don't use ramdisk if asked.
The blue screen is not aware of this option.

git-svn-id: svn://kolibrios.org@8089 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 13:05:10 +00:00
74af3ea158 Do not hardcode preboot timeout, use PREBOOT_TIMEOUT macro.
git-svn-id: svn://kolibrios.org@7586 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-02-22 22:40:13 +00:00
368d42ffae Update BOOT_DATA structure and use it instead of all the BOOT_* vars.
git-svn-id: svn://kolibrios.org@7132 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:12:53 +00:00
f208e0e454 Split bootbios.asm and kernel.asm.
* Move bios-related part of kernel.asm before B32 label to
  bootbios.asm file;
* Move bx_from_load, boot_dev and kernel_restart_bootblock variables
  to BOOT_* 0x9000 block;
* Update Tupfile.lua, Makefile, build.bat, build.sh accordingly;
* Now bios and uefi loaders can jump to very first byte of the kernel.

git-svn-id: svn://kolibrios.org@7129 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 20:21:10 +00:00
16d9a4a4bc Remove VRR code, mostly commented out anyway.
git-svn-id: svn://kolibrios.org@7121 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 00:15:25 +00:00
Sergey Semyonov (Serge)
86fb4bfe83 Kernel: fix stack selector
git-svn-id: svn://kolibrios.org@5790 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-04 06:40:05 +00:00
Sergey Semyonov (Serge)
66c8eb59f3 Kernel: set proper stack pointer value for kernel bootloader.
git-svn-id: svn://kolibrios.org@5786 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-03 14:37:07 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
CleverMouse
db841104b9 fix r5012
git-svn-id: svn://kolibrios.org@5028 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-11 20:34:02 +00:00
CleverMouse
90df12563a speed up booting in some configurations
git-svn-id: svn://kolibrios.org@5012 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-29 10:41:27 +00:00
Marat Zakiyanov (Mario79)
28e8a442bf IDE DMA
1) No more 16-bit code, all the code in 32-bit mode
2) Expansion of the data output about modes of IDE devices

git-svn-id: svn://kolibrios.org@4624 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-10 00:09:59 +00:00
Marat Zakiyanov (Mario79)
12ea7f0fda IDE DMA fix (SATA Native mode).
git-svn-id: svn://kolibrios.org@4291 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-25 20:00:10 +00:00
Marat Zakiyanov (Mario79)
62c608a74d Fix for r.3989
git-svn-id: svn://kolibrios.org@3999 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-09 23:27:46 +00:00
Yogev Ezra
c5f6557ef5 Allow pressing ESC in boot screen to cancel selection without making a choice. Add more information on which options to choose and link to http://board.kolibrios.org to report bugs.
git-svn-id: svn://kolibrios.org@3989 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-08 22:35:49 +00:00
Marat Zakiyanov (Mario79)
62a3ab8c62 This is a temporary fix for kernel. Just to avoid the situation of freezing the system after boot.
git-svn-id: svn://kolibrios.org@3964 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-03 05:19:35 +00:00
Marat Zakiyanov (Mario79)
f14defbdce Full cleaning the text area before showing vmodes table. Fix for r.3777
git-svn-id: svn://kolibrios.org@3797 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-10 01:24:57 +00:00
Yogev Ezra
8ed01ff721 Correct English, Spanish and German messages string length in blue screen to fit into one line. Add some comments to bootcode.inc
git-svn-id: svn://kolibrios.org@3796 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-10 01:05:54 +00:00
Yogev Ezra
63c570c54d Added 2 more options to blue screen: c) BOOT_DEBUG_PRINT and d) BOOT_LAUNCHER_START. Existing option "Boot device" is now e).
BOOT_DEBUG_PRINT = If set to "yes"/"on", will duplicate debug output to the screen. Default is "no"/"off".
BOOT_LAUNCHER_START = If set to "no"/"off", LAUNCHER application won't be run after kernel has loaded. Default is "yes"/"on".

git-svn-id: svn://kolibrios.org@3777 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-07 23:12:01 +00:00
Marat Zakiyanov (Mario79)
25dd9e6530 Some fixes code for IDE controllers.
git-svn-id: svn://kolibrios.org@3774 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-07 02:10:50 +00:00
Marat Zakiyanov (Mario79)
8a0dae3f14 1) Dynamic setting interrupts for IDE controller
2) Fixed problems with some hardware (eBox IDE Native mode and similar)


git-svn-id: svn://kolibrios.org@3762 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-05 06:43:56 +00:00
hidnplayr
691e247167 make 'A' key for boot settings work on azerty keyboards
git-svn-id: svn://kolibrios.org@3760 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-04 17:21:51 +00:00
Marat Zakiyanov (Mario79)
93e7aee516 1) DMA LBA48 read and write for HDD
2) Some optimization of code

git-svn-id: svn://kolibrios.org@3712 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-27 06:11:10 +00:00
CleverMouse
65d0cef44b style fixes, no binary changes (style checker was sick for some time)
git-svn-id: svn://kolibrios.org@3711 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-26 23:35:43 +00:00
Marat Zakiyanov (Mario79)
d9b8117616 1) SATA IDE support for HDD and ATAPI
2) PIO LBA48 read for HDD

git-svn-id: svn://kolibrios.org@3702 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-25 03:15:38 +00:00
CleverMouse
32b4fcb9ab recode all kernel sources to UTF-8; binary still uses single-byte encoding and isn't changed at all
git-svn-id: svn://kolibrios.org@3539 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 22:16:00 +00:00
esevece
541cf8982e Accept key S to save settings in spanish build
git-svn-id: svn://kolibrios.org@3430 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-27 16:58:27 +00:00
esevece
9069d7e9ca Spanish translation (boot and kernel). Fix in makefile. Change name of booteng.inc to booten.inc
git-svn-id: svn://kolibrios.org@3274 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-26 18:29:14 +00:00
Sergey Semyonov (Serge)
791845236e merge acpi
git-svn-id: svn://kolibrios.org@2466 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-15 13:05:45 +00:00
Marat Zakiyanov (Mario79)
2f699083c4 1) Correcting information about copiright
2) VESA draw the small speedup

git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
CleverMouse
037099f50d Style corrected for new rules, no semantic changes
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
Marat Zakiyanov (Mario79)
eade1f9f90 Many fixes for blue boot screen
git-svn-id: svn://kolibrios.org@2261 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-04 22:00:04 +00:00
CleverMouse
08246cd957 merge kolibri-cfg into trunk
git-svn-id: svn://kolibrios.org@1962 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-06-16 17:09:40 +00:00
CleverMouse
b4fc3602f9 fix compilation in linux
git-svn-id: svn://kolibrios.org@1735 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-17 11:10:41 +00:00
Alexey Teplov (
e08a40c760 very small change.
git-svn-id: svn://kolibrios.org@1264 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-10 19:32:15 +00:00
Evgeny Grechnikov (Diamond)
7931378fda use fn E820 of int 15h to query memory map (if available)
git-svn-id: svn://kolibrios.org@1103 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-04 19:43:17 +00:00
Evgeny Grechnikov (Diamond)
f8317039fb Kernel updated to 0.7.5.0
git-svn-id: svn://kolibrios.org@1018 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-31 06:09:36 +00:00
Alexey Teplov (
a06f8cc84c fix '65535,0,0' error
git-svn-id: svn://kolibrios.org@946 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-06 23:03:47 +00:00
Alexey Teplov (
a884725d26 small optimization, register use the faster than memory
git-svn-id: svn://kolibrios.org@925 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-18 07:29:09 +00:00
Alexey Teplov (
e3f6e939d2 set cursor for out blue screen
git-svn-id: svn://kolibrios.org@816 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-04 06:15:05 +00:00
Dmitry Kartashov (shurf)
8ca0210b13 Now correctly loads FAT12 from floppies of any volume into ramdisk, rather than only from 1.44 MB
git-svn-id: svn://kolibrios.org@795 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-28 19:12:24 +00:00
Alexey Teplov (
7e8910b7fe fixed bug in blue screen and add hardware cursor for ATI mobility 7500 card test on IBM Think Pad R51
git-svn-id: svn://kolibrios.org@749 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-19 06:04:16 +00:00
Alexey Teplov (
89d030e950 blue screen: save selected resolution instead of VESA mode number (thanks to Serge)
git-svn-id: svn://kolibrios.org@746 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-18 11:37:45 +00:00
Evgeny Grechnikov (Diamond)
d09388a32f correction of revision 726
git-svn-id: svn://kolibrios.org@737 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-13 22:16:08 +00:00
Evgeny Grechnikov (Diamond)
11c594dc6e Fixed constants replaced with correctable definitions (thanks to <Lrz>)
git-svn-id: svn://kolibrios.org@731 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-11 11:46:18 +00:00
Evgeny Grechnikov (Diamond)
9e7e995235 Show scrollbar for videomodes table; PgUp,PgDn in videomodes table
git-svn-id: svn://kolibrios.org@730 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-11 09:08:05 +00:00
Evgeny Grechnikov (Diamond)
26580c8bd1 Boot screen: correct default values; added some remarks
git-svn-id: svn://kolibrios.org@726 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-10 11:48:23 +00:00
Alexey Teplov (
fde6b79dcc add new choose of video mode
git-svn-id: svn://kolibrios.org@713 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-07 12:07:20 +00:00