OpenWrt Forum Archive

Topic: Warning: unable to open an initial console.

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I'm trying to install openWRT on a Topex Bytton HSDPA (not yet supported) compiling a adm-5120-router-le version. The log stop on:

Warning: unable to open an initial console.

Any idea how I could get rid of this one? Based on web browsing so far I tried:
- running the following command before compiling the firmware:

set -p kernel_args "init=/etc/preinit"

- adding a "files" folder in the compiling root with the following files in it:

touch ./dev/console ./dev/zero ./dev/null ./dev/tty ./dev/tty1 ./dev/tty2 ./dev/tty3 ./dev/tty4

edit: precision this is version 12.09

still no luck... anything else I could try?

(Last edited by baruch on 15 Apr 2014, 10:26)

Hi thank you for the answer! smile

Unfortunately, still no luck
- Applying directly the patch didn't work at all (after build and transfer the acces to rom seems to be impossible, that seems unlikely so I rebuild on a clean state and it was just the same)
- then I rebuild the source apply the patch but replace:

CONFIG_SERIAL_AMBA_PL010_PORTNAME="ttyS"

by:

CONFIG_SERIAL_AMBA_PL010_PORTNAME="ttyAM"

unstead of deleting it.

That time the boot happens just as usual and end up on the very same error...

bump!

Usually, a warning message is harmless. It is just like a remainder. if you post all the log output of your compiling process, it will make more clear what caused the problem.

The discussion might have continued from here.