Ticket #80 (closed enhancement: fixed)

Opened 15 months ago

Last modified 3 months ago

serial console in grub2 works

Reported by: oxygene Owned by: oxygene
Priority: major Milestone: Port GRUB2 to coreboot
Component: grub2 Version:
Keywords: Cc:
Dependencies: Patch Status: patch needs review

Description

grub2 should be capable of using the serial console, just like lbv3 is

Attachments

patch-20070714-1-legacy-serial-table (0.8 kB) - added by oxygene 15 months ago.
hack so grub2 finds the serial port table at the expected place.

Change History

Changed 15 months ago by oxygene

hack so grub2 finds the serial port table at the expected place.

Changed 15 months ago by oxygene

  • status changed from new to assigned
  • patchstatus changed from there is no patch to patch needs work

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.

Changed 14 months ago by oxygene

  • status changed from assigned to closed
  • patchstatus changed from patch needs work to patch needs review
  • resolution set to fixed

Changed 11 months ago by rmh@…

Not necessary. We'll fix this by hardcoding 0x3f8 / 0x2f8 like LinuxBIOS is doing. Thanks for the pointer.

Changed 11 months ago 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?

Changed 11 months ago by stepan

  • status changed from closed to reopened
  • resolution fixed deleted

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.

Changed 11 months ago by rmh@…

I was assuming that LinuxBIOS table would export a port number rather than an IO address. That sounds more portable to me.

Changed 6 months ago by uwe

  • version v3 deleted
  • component changed from code to grub2

Changed 3 months ago by stepan

  • status changed from reopened to closed
  • resolution set to fixed

Add/Change #80 (serial console in grub2 works)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.