Npi-config/zh

From FriendlyELEC WiKi
Revision as of 09:18, 9 April 2018 by Tzs (Talk | contribs) (updated by API)

Jump to: navigation, search

English

1 简介

npi-config是一个命令行下的系统配置工具,可以对系统进行一些初始化的配置,可配置的项目包括:用户密码、系统语言、时区、Hostname、SSH开关、自动登录选项、硬件接口(Serial/I2C/SPI/PWM/I2S)使能等,在SSH终端中以root账户执行以下命令即可进入:

$ npi-config

npi-config的显示界面如下:
npi-config

2 使能Mini Shield for NanoPi NEO Core/Core2的SPI Flash

$ npi-config
	6 Advanced Options     Configure advanced setting
		A5 SPI             Enable/Disable SPI
			spi0 Enable/Disable spi0[enabled]
				spi-flash   SPI0 flash(X)

(X)表示SPI flash是被使能的。