OpenWRT and Supermicro: Difference between revisions

mNo edit summary
mNo edit summary
Line 5: Line 5:
So, to bury the lede, in /boot/grub/grub.cfg (yup, OpenWRT uses "Legacy" Grub, so all of the GRUB2 information out there has to be translated over to "Legacy" Grub);
So, to bury the lede, in /boot/grub/grub.cfg (yup, OpenWRT uses "Legacy" Grub, so all of the GRUB2 information out there has to be translated over to "Legacy" Grub);


* "Stock" / Original OpenWRT command: linux /boot/vmlinuz root=PARTUUID=d2e27698-02 rootfstype=squashfs rootwait console=ttyS0,115200n8 console=tty0 noinitrd
*"Stock" / Original OpenWRT command: linux /boot/vmlinuz root=PARTUUID=d2e27698-02 rootfstype=squashfs rootwait console=ttyS0,115200n8 console=tty0 noinitrd
* Updated command (just add ''nomodeset'' to the end of the line): linux /boot/vmlinuz root=PARTUUID=d2e27698-02 rootfstype=squashfs rootwait console=ttyS0,115200n8 console=tty0 noinitrd nomodeset
*Updated command (just add ''nomodeset'' to the end of the line): linux /boot/vmlinuz root=PARTUUID=d2e27698-02 rootfstype=squashfs rootwait console=ttyS0,115200n8 console=tty0 noinitrd nomodeset


(from: https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt )
(from: https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt )
Line 45: Line 45:


And the ASPEED's iKVM capability doesn't work across reboots, so need to close that window and open it back up
And the ASPEED's iKVM capability doesn't work across reboots, so need to close that window and open it back up
'''Enabling Kernel Modesetting (KMS):''' To enable KMS, add <code>nomodeset=0</code> or remove <code>nomodeset</code> if it's already present. KMS allows the kernel to set display modes during boot.




<nowiki>*</nowiki> This was an answer from ChatGPT when asked: How do I get my supermicro motherboard to display vga output when booting openwrt?
<nowiki>*</nowiki> This was an answer from ChatGPT when asked: How do I get my supermicro motherboard to display vga output when booting openwrt?
Stuff like: video=HDMI-1:d rmmod=i915 in the command line don't work.
Differences in boot;
video=VGA-1:1280x1024 (nope, don't work)
vga=795 does work (sets the same resolution as above)
...JPG1 Enabled;
[    1.830724] Non-volatile memory driver v1.3
[    1.835663] Linux agpgart interface v0.103
[    1.842052] [drm] Memory usable by graphics device = 2048M
[    1.847750] [drm] Replacing VGA console driver
[    1.862012] Console: switching to colour dummy device 80x25
[    1.868432] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.868438] [drm] Driver supports precise vblank timestamp query.
[    1.891463] [drm] Initialized i915 1.6.0 20170818 for 0000:00:02.0 on minor 0
[    1.899211] [drm] HDaudio controller not detected, using LPE audio instead
[    1.899211]
[    1.915025] loop: module loaded
[    1.918457] Guest personality initialized and is inactive
[    1.924095] VMCI host device registered (name=vmci, major=10, minor=63)
[    1.930796] Initialized host personality
[    1.935699] VMware PVSCSI driver - version 1.0.7.0-k
...JPG1 Disabled;
[    1.999013] Non-volatile memory driver v1.3
[    2.003980] Linux agpgart interface v0.103
[    2.012403] [drm] Memory usable by graphics device = 2048M
[    2.018099] [drm] Replacing VGA console driver
[    2.032397] Console: switching to colour dummy device 80x25
[    2.038920] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.038927] [drm] Driver supports precise vblank timestamp query.
[    2.060952] [drm] Initialized i915 1.6.0 20170818 for 0000:00:02.0 on minor 0
[    2.068660] [drm] HDaudio controller not detected, using LPE audio instead
[    2.068660]
[    2.084438] loop: module loaded
[    2.087882] Guest personality initialized and is inactive
[    2.093496] VMCI host device registered (name=vmci, major=10, minor=63)
[    2.100201] Initialized host personality
[    2.105116] VMware PVSCSI driver - version 1.0.7.0-k
...JPG1 Enabled with nomodeset paramter set in grub.cfg vmlinuz line
[    1.714978] Linux agpgart interface v0.103
[    1.726847] loop: module loaded
[    1.730427] Guest personality initialized and is inactive
[    1.736124] VMCI host device registered (name=vmci, major=10, minor=63)
[    1.742948] Initialized host personality
[    1.747960] VMware PVSCSI driver - version 1.0.7.0-k
...and according to: <nowiki>https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt</nowiki>, it does;
nomodeset Disable kernel modesetting. Most systems' firmware
sets up a display mode and provides framebuffer memory
for output. With nomodeset, DRM and fbdev drivers will
not load if they could possibly displace the pre-
initialized output. Only the system framebuffer will
be available for use. The respective drivers will not
perform display-mode changes or accelerated rendering.
Useful as error fallback, or for testing and debugging.
DRM = Direct Rendering Manager
FBDEV = Linux Frame Buffer ( <nowiki>https://en.wikipedia.org/wiki/Linux_framebuffer</nowiki> )