凌云实验室IGKBoard开发板BSP开发相关文件
fd98cb482a921146e7b8b73b70c14143277f0e36..c1c6b78ba3b2d1f4f5513bf82293f1bd937ace05
2023-07-25 guowenxue
Update config.json for image size to 1GB
c1c6b7 diff | tree
2023-07-25 guowenxue
Update images build.sh for config.txt
a42676 diff | tree
2 files modified
2 files added
62 ■■■■■ changed files
config.json 2 ●●● patch | view | raw | blame | history
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
config.json
@@ -10,7 +10,7 @@
    {
        "distro":"yocto",
        "version":"kirkstone",
        "imgsize":"2048",
        "imgsize":"1024",
        "bootsize":"100"
    }
}
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