凌云实验室IGKBoard开发板BSP开发相关文件
guowenxue
2023-07-26 c2ea48715092c8e4977ecd63f340283372d01aac
Update config.txt and pinctrl path

Signed-off-by: guowenxue <guowenxue@gmail.com>
1 files deleted
1 files modified
2 files renamed
58 ■■■■ changed files
images/build.sh 14 ●●●● patch | view | raw | blame | history
images/files/config-igkboard-6ull.txt 14 ●●●● patch | view | raw | blame | history
images/files/config-lcd.txt 30 ●●●●● patch | view | raw | blame | history
images/files/pinctrl-igkboard-6ull patch | view | raw | blame | history
images/build.sh
@@ -189,7 +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}/
    cp -rf files/config-${BOARD}.txt    ${MNT_POINT}/config.txt
    sync && umount ${MNT_POINT}
    pr_info "update drivers in root filesystem"
@@ -200,12 +200,12 @@
    pr_info "start install root filesystem"
    mount -t ext4 /dev/mapper/${LOOP_DEV}p2 ${MNT_POINT}
    cp -af $ROOTFS/*                    ${MNT_POINT}
    cp -rf files/pinctrl                ${MNT_POINT}/usr/bin/
    cp -rf files/pinloop                ${MNT_POINT}/usr/bin/
    cp -rf files/expand_rootfs          ${MNT_POINT}/usr/bin/
    chmod +x ${MNT_POINT}/usr/bin/pinctrl
    chmod +x ${MNT_POINT}/usr/bin/pinloop
    chmod +x ${MNT_POINT}/usr/bin/expand_rootfs
    cp -rf files/pinctrl-${BOARD}       ${MNT_POINT}/usr/sbin/pinctrl
    cp -rf files/pinloop                ${MNT_POINT}/usr/sbin/
    cp -rf files/expand_rootfs          ${MNT_POINT}/usr/sbin/
    chmod +x ${MNT_POINT}/usr/sbin/pinctrl
    chmod +x ${MNT_POINT}/usr/sbin/pinloop
    chmod +x ${MNT_POINT}/usr/sbin/expand_rootfs
    sync && umount ${MNT_POINT}
    pr_warn "Build $DISTRO-$DISVER system image down"
images/files/config-igkboard-6ull.txt
File was renamed from images/files/config-nolcd.txt
@@ -1,8 +1,8 @@
# Enable LCD overlay
#dtoverlay_lcd=no
#dtoverlay_lcd=yes
# Enable Camera overlay
#dtoverlay_cam=no
#dtoverlay_cam=yes
# Eanble 1-Wire overlay
#dtoverlay_w1=yes
@@ -11,19 +11,19 @@
#dtoverlay_adc=yes
# Enable I2C overlay
dtoverlay_i2c=1
#dtoverlay_i2c=1
# Enable SPI overlay, SPI1 conflict with UART8(NB-IoT/4G module)
dtoverlay_spi=1
#dtoverlay_spi=1
# Enable UART overlays
dtoverlay_uart=2 3 4 7
#dtoverlay_uart=2 3 4 7
# Enable CAN overlays
dtoverlay_can=1 2
#dtoverlay_can=1 2
# Enable PWM overlays, PWM8 conflict with UART8(NB-IoT/4G module)
dtoverlay_pwm=7
#dtoverlay_pwm=7
# Enable extra overlays
#dtoverlay_extra=nbiot-4g
images/files/config-lcd.txt
File was deleted
images/files/pinctrl-igkboard-6ull