leowt changed the topic of #linux-rockchip to: Rockchip development discussion | http://linux-rockchip.info | http://irclog.whitequark.org/linux-rockchip
vinifr has joined #linux-rockchip
arokux2 has quit [Quit: Leaving]
vinifr has quit [Quit: Saindo]
Galland has joined #linux-rockchip
Galland has quit [Quit: Saliendo]
eebrah|FTS has joined #linux-rockchip
<eebrah|FTS> join #imx6-dongle
<eebrah|FTS> join #imx6-dongle
atiti has joined #linux-rockchip
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
mrueg has joined #linux-rockchip
Theueip has quit [Ping timeout: 260 seconds]
AstralixNB has joined #linux-rockchip
youkie11 has joined #linux-rockchip
youkie11 has left #linux-rockchip [#linux-rockchip]
mcbrick has quit [Quit: Leaving]
Tsvetan has quit [Read error: Connection reset by peer]
eebrah|FTS has quit [Read error: Connection reset by peer]
rellla has joined #linux-rockchip
atiti has quit [Ping timeout: 245 seconds]
AstralixNB has quit [Ping timeout: 264 seconds]
AstralixNB has joined #linux-rockchip
mmind00 has joined #linux-rockchip
hipboi_ has quit [Quit: Leaving]
atiti has joined #linux-rockchip
tonikasch has joined #linux-rockchip
lunra has joined #linux-rockchip
eebrah has quit [Ping timeout: 264 seconds]
eebrah has joined #linux-rockchip
eebrah is now known as Guest26812
tonikasch has quit [Quit: Bye!]
rellla2 has joined #linux-rockchip
rellla has quit [Ping timeout: 246 seconds]
arokux1 has joined #linux-rockchip
arokux has quit [Ping timeout: 245 seconds]
Tsvetan has joined #linux-rockchip
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
tinti has joined #linux-rockchip
Theueip has joined #linux-rockchip
naobsd has joined #linux-rockchip
mattmon has joined #linux-rockchip
<mattmon> Can anyone advise as to how to configure an _interactive_ serial console (so can login via getty) on a rk3188 dongle?
<mattmon> So far, have only been able to see kernel messages at boot - attempting to use the serial port after the system is up does not seem to work.
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-rockchip
AstralixNB has quit [Quit: Leaving.]
Galland has joined #linux-rockchip
<Galland> mattmon : have you soldered three wires to your rk3188: tx, rx, gnd?
tonikasch has joined #linux-rockchip
arokux2 has joined #linux-rockchip
mcbrick has joined #linux-rockchip
hramrach has quit [Ping timeout: 240 seconds]
tonikasch has quit [Quit: Bye!]
Galland has quit [Quit: Saliendo]
mmind00 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
hramrach has joined #linux-rockchip
<mattmon> Galland: Yes, serial mod is done - any ideas for how to achieve interactive login?
<mattmon> My intention is to use the dongle as a tiny headless server.
mcbrick has quit [Ping timeout: 260 seconds]
atiti has quit [Ping timeout: 260 seconds]
<hramrach> mattmon: what are you using to connect?
<hramrach> in general you need to turn off hardware flow control which defaults to random value and you don't have wires for that
<hramrach> other than wiring the serial port correctly
<hramrach> and actually running a getty at the correct speed
<mattmon> hramrach: I'm connecting with a Bus Pirate in UART mode, 115200,8,N,1
<mattmon> I can see kernel boot messages, however configuring getty on ttyS0, ttyS1 or ttyFIQ0 does nothing
<mattmon> even echoing to serial device(s) from root shell on dongle produces no output to bus pirate
<mattmon> kernel compiled from Galland's 'rockchip-rk3188-mk908' repo
<hramrach> that's odd
<hramrach> either it does use the serial port or it does not
<hramrach> but there is one more option
<hramrach> you might have no (enabled) serial driver at all an kernel sets up early console with whatever is loft over by bootloader
<hramrach> that's how early printk works on aw hardware so why not rk as well
<mattmon> OK, thanks, you actually clarified my understanding a bit
<mattmon> I compiled the default rk3188_Tronsmart_MK908_galland_defconfig
<mattmon> any specific config options you suggest I check/enable?
tinti has quit [Read error: Connection reset by peer]
<hramrach> I have no idea about rk config. you probably want some serial suppport enabled but you need that in your board.c as well as your config
<hramrach> the rk kernel is configured by writing a board.c file which defines what is connected where :/
<hramrach> actually, since you don't get serial port on the stick normally you probably need to modify the file
<hramrach> what repo did you use? omagamoon hacked a stick with serial output so maybe his repo might have the configs for that?
<hramrach> *omegamoon
<mattmon> used Galland fork of Omegamoon
<mattmon> CONFIG_SERIAL_RK29_CONSOLE not set in my .config
<mattmon> here's the relevant .config snippet
<mattmon> CONFIG_RK_DEBUG_UART=2
<mattmon> CONFIG_SERIAL_CORE=y
<mattmon> CONFIG_SERIAL_RK29=y
<mattmon> CONFIG_UART0_RK29=y
<mattmon> # CONFIG_SERIAL_TIMBERDALE is not set
<mattmon> CONFIG_UART0_CTS_RTS_RK29=y
<mattmon> CONFIG_UART0_DMA_RK29=0
<mattmon> # CONFIG_UART1_RK29 is not set
<mattmon> # CONFIG_UART2_RK29 is not set
<mattmon> CONFIG_UART3_RK29=y
<mattmon> CONFIG_UART3_CTS_RTS_RK29=y
<mattmon> CONFIG_UART3_DMA_RK29=0
<mattmon> # CONFIG_SERIAL_RK29_CONSOLE is not set
<mattmon> so am I physically connected to UART2 because I can see kernel boot messages?