YhLu YhLu@tyan.com writes:
It seems that mkelfImage should get the com address from commandline.
For example: mkelfImage --command-line="ramdisk_size=65536 root=/dev/ram0 rw console=tty0 console=ttyS1,115200n8" --kernel=linuxkernel/bzImage_2. 6.9_k8.2 --ramdisk=rootfs/mydisk8_com2.gz --output=elf/ram0_2.5_2.6.9_k8.2_mydisk8_com2.elf
Then makeelfImage should use 0x2f8 instead of 0x3f8 in convert_params.c according to ttyS1.
Patches are welcome.
What probably makes the most sense long term is to export the console device in the LinuxBIOS table so software running under LinuxBIOS can just lookup what the console device is supposed to be.
Eric