Skip to content

Incorrect serial port address specified for MACHINE=dell_s6010_c2538 #1097

@shodanx2

Description

@shodanx2

Hello,

The Dell PowerSwitch S6010-ON switch has a hardware serial port in the front for service.

This port is not COM1/ttyS0/0x3F8 but instead it is COM2/ttyS1/0x2F8

This causes two issues

First the GRUB boot menu is not visible, and therefore the user cannot select the boot mode

(I needed to boot in Rescue as the manual indicated, but was never able, even after learning to compile ONIE from scratch !)

Second is that, the wrong kernel parameters are passed and console output is sent to the first serial port, where it cannot be seen by the user !

So far I have manually resolved this by editing the file

/mnt/onie-boot/onie/grub/grub.cfg

and making the following changes

Changing the line

serial --port=0x3f8 --speed=115200 --word=8 --parity=no --stop=1

for

serial --port=0x2f8 --speed=115200 --word=8 --parity=no --stop=1

This makes the GRUB menu visible during boot

and next changing this line

onie_initargs="console=ttyS0,115200"

to
onie_initargs="console=ttyS1,115200"

And this makes the kernel boot text visible and the serial console usable after boot is completed !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions