Update configs

This commit is contained in:
Alex 2023-05-11 19:05:26 +03:00
parent 7b31e421bc
commit 721652909f
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
4 changed files with 27 additions and 12 deletions

View File

@ -183,7 +183,7 @@ QEMU_SMP_DBG = -smp 4
QEMU_SMP = -smp 4
endif
vscode_debug: build_kernel build_userspace build_drivers build_image
vscode_debug: build_lynx build_kernel build_userspace build_drivers build_image
rm -f serial.log profiler.log memtrk.dmp serial4.dmp network.dmp
$(QEMU) -S -gdb tcp::1234 -d int -no-reboot -no-shutdown $(QEMU_UEFI_BIOS) -m 1G $(QEMUFLAGS) $(QEMU_SMP_DBG)
@ -208,6 +208,7 @@ clean:
rm -f initrd/system/*.raw
rm -f initrd/system/*.so
rm -f initrd/system/*.a
rm -f initrd/system/bin/*.elf
rm -f initrd/system/lib/*.a
rm -f initrd/system/lib/*.raw
rm -f initrd/system/lib/*.so

View File

View File

View File

@ -1,19 +1,19 @@
set default=0
set timeout=5
# set lang=ro_RO
set timeout=1
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Fennix" {
clear
echo "Loading kernel"
load_video
clear
echo "Loading kernel"
multiboot2 /kernel.fsys --alloc=xallocv1 --cores=0 --ioapicirq=1 --tasking=multi --drvdir=/system/drivers --init=/system/init.elf --ioc=true --udl=true --simd=false --bootanim=false
echo "Loading initrd"
module2 /initrd.tar.gz initrd
echo "Loading bootanim"
module2 /bootanim.tar.gz bootanim
echo "Booting..."
boot
echo "Loading initrd"
module2 /initrd.tar.gz initrd
echo "Loading bootanim"
module2 /bootanim.tar.gz bootanim
echo "Booting..."
boot
}
menuentry 'Boot from next volume' {
@ -25,3 +25,17 @@ if [ ${grub_platform} == "efi" ]; then
fwsetup
}
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}