mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 22:09:53 +07:00
grub: cleanup
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
8dcf836a69
commit
064c9fe84b
@ -49,21 +49,16 @@ function load_video {
|
|||||||
|
|
||||||
load_video
|
load_video
|
||||||
if loadfont unicode; then
|
if loadfont unicode; then
|
||||||
if keystatus --shift; then true ; else
|
insmod gfxterm
|
||||||
insmod gfxterm
|
set gfxmode=1024x768
|
||||||
set gfxmode=1024x768
|
set gfxpayload=auto
|
||||||
set gfxpayload=auto
|
terminal_output gfxterm
|
||||||
terminal_output gfxterm
|
insmod gfxmenu
|
||||||
if terminal_output gfxterm; then true ; else
|
loadfont ${prefix}/theme/dejavu_bold_14.pf2
|
||||||
terminal gfxterm
|
loadfont ${prefix}/theme/dejavu_mono_12.pf2
|
||||||
fi
|
insmod png
|
||||||
insmod gfxmenu
|
set theme=${prefix}/theme/theme.txt
|
||||||
loadfont ${prefix}/theme/dejavu_bold_14.pf2
|
export theme
|
||||||
loadfont ${prefix}/theme/dejavu_mono_12.pf2
|
|
||||||
insmod png
|
|
||||||
set theme=${prefix}/theme/theme.txt
|
|
||||||
export theme
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if serial --unit=0 --speed=115200; then
|
if serial --unit=0 --speed=115200; then
|
||||||
@ -83,7 +78,7 @@ set menu_color_normal=white/black
|
|||||||
set menu_color_highlight=white/red
|
set menu_color_highlight=white/red
|
||||||
set color_normal=white/black
|
set color_normal=white/black
|
||||||
|
|
||||||
set ARC_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait net.ifnames=0 ipv6.disable=1"
|
set ARC_CMDLINE="earlyprintk earlycon=uart8250,io,0x3f8,115200n8 console=ttyS0,115200n8 root=/dev/ram rootwait net.ifnames=0 panic=5 pcie_aspm=off intel_pstate=disable"
|
||||||
|
|
||||||
search --set=root --label "ARC3"
|
search --set=root --label "ARC3"
|
||||||
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
Check:
|
|
||||||
|
|
||||||
- numa=off
|
|
||||||
- pcie_aspm=off
|
|
||||||
- intremap=off (old -> working?)
|
|
Loading…
Reference in New Issue
Block a user