凌云实验室IGKBoard开发板BSP开发相关文件
guowenxue
2023-07-25 a4267604e366fab829a1a105cb2068bacbb6ec3b
Update images build.sh for config.txt

Signed-off-by: guowenxue <guowenxue@gmail.com>
1 files modified
2 files added
60 ■■■■■ changed files
images/build.sh 1 ●●●● patch | view | raw | blame | history
images/files/config-lcd.txt 30 ●●●●● patch | view | raw | blame | history
images/files/config-nolcd.txt 29 ●●●●● patch | view | raw | blame | history
images/build.sh
@@ -189,6 +189,7 @@
    cp -rf $KERNEL_BINPATH/zImage       ${MNT_POINT}/
    cp -rf $KERNEL_BINPATH/${BOARD}.dtb ${MNT_POINT}/
    cp -rf $KERNEL_BINPATH/overlays/    ${MNT_POINT}/
    cp -rf files/config*.txt            ${MNT_POINT}/
    sync && umount ${MNT_POINT}
    pr_info "update drivers in root filesystem"
images/files/config-lcd.txt
New file
@@ -0,0 +1,30 @@
# Enable LCD overlay
dtoverlay_lcd=yes
# Enable Camera overlay
dtoverlay_cam=yes
# Eanble 1-Wire overlay
#dtoverlay_w1=yes
# Enable ADC overlay
#dtoverlay_adc=yes
# Enable I2C overlay
dtoverlay_i2c=1
# Enable SPI overlay, SPI1 conflict with UART8(NB-IoT/4G module)
dtoverlay_spi=1
# Enable UART overlays
dtoverlay_uart=2 3 4 7
# Enable CAN overlays
dtoverlay_can=1 2
# Enable PWM overlays, PWM8 conflict with UART8(NB-IoT/4G module)
dtoverlay_pwm=7
# Enable extra overlays
#dtoverlay_extra=nbiot-4g
images/files/config-nolcd.txt
New file
@@ -0,0 +1,29 @@
# Enable LCD overlay
#dtoverlay_lcd=no
# Enable Camera overlay
#dtoverlay_cam=no
# Eanble 1-Wire overlay
#dtoverlay_w1=yes
# Enable ADC overlay
#dtoverlay_adc=yes
# Enable I2C overlay
dtoverlay_i2c=1
# Enable SPI overlay, SPI1 conflict with UART8(NB-IoT/4G module)
dtoverlay_spi=1
# Enable UART overlays
dtoverlay_uart=2 3 4 7
# Enable CAN overlays
dtoverlay_can=1 2
# Enable PWM overlays, PWM8 conflict with UART8(NB-IoT/4G module)
dtoverlay_pwm=7
# Enable extra overlays
#dtoverlay_extra=nbiot-4g