1. 修改文件系统 /etc/profile
vim ./package/busybox-init-base-files/files/etc/profile
2. LEDs 驱动
vim ./lichee/linux-3.10/drivers/char/leds.c
3. FEX 文件
vim target/allwinner/sitar-perf3/configs/sys_config.fex
4. Power On之后 PE11输出高电平及设置背光为高电平
vim board/sunxi/sun3iw1p1/sun3iw1p1.c
5. 按键 IO 配置
sys_config.fex文件
[gpio_para]
compatible = "gpio-keys"
gpio_used = 1
gpio_num = 1
gpio_pin_1 = port:PE06<0><0>
Linux 对应的驱动文件:
lichee/linux-3.10/drivers/input/keyboard/gpio_keys.c
6. 内核 DTS 目录
ckernel
arch/arm/boot/dts/sun3iw1p1-r6.dtsi
阅读(4743) | 评论(0) | 转发(0) |