#80: serial console in grub2 works ---------------------------------+------------------------------------------ Reporter: oxygene | Owner: oxygene Type: enhancement | Status: new Priority: major | Milestone: Port GRUB2 to LinuxBIOS Component: code | Version: v3 Keywords: | Dependencies: Patchstatus: there is no patch | ---------------------------------+------------------------------------------ grub2 should be capable of using the serial console, just like lbv3 is
#80: serial console in grub2 works ----------------------------+----------------------------------------------- Reporter: oxygene | Owner: oxygene Type: enhancement | Status: assigned Priority: major | Milestone: Port GRUB2 to LinuxBIOS Component: code | Version: v3 Resolution: | Keywords: Dependencies: | Patchstatus: patch needs work ----------------------------+----------------------------------------------- Changes (by oxygene):
* status: new => assigned * patchstatus: there is no patch => patch needs work
Comment:
The patch puts the serial port's I/O port at 0x400, where grub2 looks for it. That probably makes it "legacy support".
Needs proper discussion if such legacy tables should be written by linuxbios and if so, where such code should end up.
#80: serial console in grub2 works ----------------------------+----------------------------------------------- Reporter: oxygene | Owner: oxygene Type: enhancement | Status: closed Priority: major | Milestone: Port GRUB2 to LinuxBIOS Component: code | Version: v3 Resolution: fixed | Keywords: Dependencies: | Patchstatus: patch needs review ----------------------------+----------------------------------------------- Changes (by oxygene):
* status: assigned => closed * patchstatus: patch needs work => patch needs review * resolution: => fixed
#80: serial console in grub2 works ----------------------------+----------------------------------------------- Reporter: oxygene | Owner: oxygene Type: enhancement | Status: closed Priority: major | Milestone: Port GRUB2 to LinuxBIOS Component: code | Version: v3 Resolution: fixed | Keywords: Dependencies: | Patchstatus: patch needs review ----------------------------+----------------------------------------------- Comment (by rmh@aybabtu.com):
Not necessary. We'll fix this by hardcoding 0x3f8 / 0x2f8 like LinuxBIOS is doing. Thanks for the pointer.
#80: serial console in grub2 works ----------------------------+----------------------------------------------- Reporter: oxygene | Owner: oxygene Type: enhancement | Status: closed Priority: major | Milestone: Port GRUB2 to LinuxBIOS Component: code | Version: v3 Resolution: fixed | Keywords: Dependencies: | Patchstatus: patch needs review ----------------------------+----------------------------------------------- Comment (by stuge):
Is that really good enough? Isn't the console serial port in the LinuxBIOS table? If not, it should be. I guess it can and will change, especially for v3.
This touches on the previous discussion about LB->payload interface specs.
As long as GRUB2 has abstraction for LB I'm happy with whatever for now, but assuming that LB will always behave/provide like legacy BIOS is certainly not the way I would like it to work.
Is this really closed?
#80: serial console in grub2 works ----------------------------+----------------------------------------------- Reporter: oxygene | Owner: oxygene Type: enhancement | Status: reopened Priority: major | Milestone: Port GRUB2 to LinuxBIOS Component: code | Version: v3 Resolution: | Keywords: Dependencies: | Patchstatus: patch needs review ----------------------------+----------------------------------------------- Changes (by stepan):
* status: closed => reopened * resolution: fixed =>
Comment:
Peter is right here. In fact, the serial port is by no means hard coded in LinuxBIOS. Instead it is a CONFIG_ variable. This should indeed be exported via the LinuxBIOS table. This should be easy to do in v2 and v3.
#80: serial console in grub2 works ----------------------------+----------------------------------------------- Reporter: oxygene | Owner: oxygene Type: enhancement | Status: reopened Priority: major | Milestone: Port GRUB2 to LinuxBIOS Component: code | Version: v3 Resolution: | Keywords: Dependencies: | Patchstatus: patch needs review ----------------------------+----------------------------------------------- Comment (by rmh@aybabtu.com):
I was assuming that LinuxBIOS table would export a port number rather than an IO address. That sounds more portable to me.