Commit Graph

167 Commits

Author SHA1 Message Date
55296eb7c8 Fix EN typo flippy
git-svn-id: svn://kolibrios.org@10052 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-25 21:40:51 +00:00
4165acdf83 Remove $Revision$ from kernel file headers
- To better support git, remove SVN dependant `$Revision$` from file headers. This does *not* remove: the use of `__REV__` macro in `boostr.inc` and `kernel.asm`
- Header Copyright notices updated to 2024.
- Minimal white space cleanup (trailing spaces automatically removed).
- Note: `asmxygen.py` has a *large* amount of whitespace cleanup, due to incorrect line endings.

git-svn-id: svn://kolibrios.org@10051 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-22 15:15:14 +00:00
51ac7f789b Tweak EN language for boot screen
Minimal changes for improved fluency:
- Tweak language.
- Fix URL link.
- Remove SVN $Revision$.

git-svn-id: svn://kolibrios.org@10050 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-22 10:50:32 +00:00
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
2c2132e24d Fixed typo in "blue screen"
git-svn-id: svn://kolibrios.org@9943 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 20:38:13 +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
Kirill Lipatov (Leency)
cc4e120366 Starting Blue screen:
- The next message was improved: "New settings have been applied. Do you want to record them for the future boots? Answer 'yes' only if your booting device is writable." to avoid users saving changes on CD. This is a bug 'cos normally such behaviour must be handeled in the code http://board.kolibrios.org/viewtopic.php?p=80012#p80012
- Hide option "Create blank image" which is outdated now

git-svn-id: svn://kolibrios.org@9938 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-13 23:43:36 +00:00
0b73fe657f [KERNEL] Add test framework
git-svn-id: svn://kolibrios.org@9249 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-04 23:52:56 +00:00
1d8ab97178 Fix hardcoded $Revision: XXXX$ values.
git-svn-id: svn://kolibrios.org@8224 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-20 03:45:41 +00:00
5b65357242 extended_primary_loader: Fix handling of 'resolution' option.
git-svn-id: svn://kolibrios.org@8175 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-11 22:27:30 +00:00
a9121a0da9 kernel: Split acpi.inc and hpet.inc from init.inc.
Also, replace some hardcoded constants with macros.

git-svn-id: svn://kolibrios.org@8111 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-21 14:23:51 +00:00
ab9b1ebb4a uefi4kos: Read config and kernel files from the disk.
* Now there is a config file with boot options, example included.
* Config, kernel and ramdisk are loaded from the disk, not compiled in.
* DEVICES.DAT file is also optionally loaded from the disk.
* Also, move the loader to /kernel/trunk/bootloader/uefi4kos.

git-svn-id: svn://kolibrios.org@8092 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-06 03:32:57 +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
d48c9cc35c Fix random boot issue: 'Failed to start first app'
Access to BOOT.dev variable was sometimes done with obsolete
offset from non-flat-kernel ages. If you are unlucky, the ramdisk
is not loaded and launcher app is not started.

git-svn-id: svn://kolibrios.org@8086 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 12:26:08 +00:00
de8ecf4c59 kernel: Implement reboot via fixed Reset register in FADT table if available.
The code expects the register is in system_io space.
Other options are not implemented but it works on my computer (c).

git-svn-id: svn://kolibrios.org@7734 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-02 21:48:09 +00:00
a245ac6e35 uefi4kos: Increase the number of searched PCI buses.
git-svn-id: svn://kolibrios.org@7731 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-02 04:25:00 +00:00
kaitz
885116b9fb et translation
git-svn-id: svn://kolibrios.org@7692 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-09-10 18:59:20 +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
0e02132b9f Replace 'equ' macros with '=' ones.
They appear in symbols file.
They don't require parentheses.
They are shorter.

git-svn-id: svn://kolibrios.org@7136 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 01:07:10 +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
c14a80d34f Add UEFI stuff.
git-svn-id: svn://kolibrios.org@7130 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 21:10:49 +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
09684c0db9 Synchronize memmap.inc and const.inc, replace hardcoded numbers with macros.
git-svn-id: svn://kolibrios.org@7122 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 22:03:58 +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
afdc8496fb Add empty $Revision$ macro.
svn keywords are neither substituted by git-svn nor catched by
existing "$Revision a" macro, ignore them to not fail the build.

git-svn-id: svn://kolibrios.org@7114 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-20 09:58:28 +00:00
Sergey Semyonov (Serge)
50e97c60fa kernel: restart, reboot and power off
git-svn-id: svn://kolibrios.org@6244 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-18 02:03:38 +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
hidnplayr
86a9d29ceb Prefer 32bpp over 24bpp over 16bpp as default video mode.
git-svn-id: svn://kolibrios.org@5169 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-04 17:29:00 +00:00
hidnplayr
ce25720d9f Prefer 16bpp mode over VGA as default video mode.
git-svn-id: svn://kolibrios.org@5167 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-04 16:01:32 +00:00
hidnplayr
274d2c309b Support for 16bpp video modes (usefull for embedded devices such as 86duino with vortex86 VGA)
git-svn-id: svn://kolibrios.org@5154 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-01 17:26:42 +00:00
Sergey Semyonov (Serge)
76d618357e kernel: kolibri-process merged into trunk. This is my little gift to myself for my birthday.
git-svn-id: svn://kolibrios.org@5130 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-18 07:58:56 +00:00
CleverMouse
cd8fe59acc don't rely on BIOS for returning to real mode
git-svn-id: svn://kolibrios.org@5032 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-15 11:18:27 +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)
354e32e7f3 Fix for IDE devices:
1) Restore broken HD load for ramdisk image
2) Check of support UDMA mode for disk devices before initialization channel of IDE controller

git-svn-id: svn://kolibrios.org@4772 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-05 21:36:10 +00:00
Yogev Ezra
4291e3d3e1 Make the Grammar-Nazis happy
git-svn-id: svn://kolibrios.org@4694 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-23 23:43:11 +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
CleverMouse
b2d5324420 beautify
git-svn-id: svn://kolibrios.org@4135 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-29 20:50:06 +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
kaitz
fb86c01bbb Translation for estonian language and fixes.
Build folder for estonian language.

git-svn-id: svn://kolibrios.org@3927 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-21 20:26:44 +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
Marat Zakiyanov (Mario79)
470c36df8b Full cleaning of lines after output messages. Fix for r.3777
git-svn-id: svn://kolibrios.org@3795 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-10 00:21:52 +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