Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
archive/target/linux/socfpga/base-files/etc/init.d/sockit_vtcon
Luka Perkov 309626effc target: socfpga: Add Altera SoCFPGA support
This patch adds support for the Altera SoCFPGA target.
Both generic target and Terasic SoCkit boards are supported.

Signed-off-by: Marek Vasut <marex@denx.de>

SVN-Revision: 49367
2016-05-10 22:52:00 +00:00

16 lines
275 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
start() {
. /lib/socfpga.sh
local board=$(socfpga_board_name)
# Print something nice on the VTcon (the SPI LCD)
if [ "${board}" = "socfpga-sockit" ] ; then
echo "OpenWRT" > /dev/tty0
uci show network.lan.ipaddr > /dev/tty0
fi
}