【RV1103】Luckfox Pico RV1103 开发记录

2023-12-01 06:30

本文主要是介绍【RV1103】Luckfox Pico RV1103 开发记录,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

文章目录

  • 对比
  • uboot的差别
  • Linux的差别
  • 其他差别
  • 编译命令对比
  • 板级配置选择
  • spi-nand flash
  • emmc/SD 卡
  • spinand flash烧录
  • 差别
  • 由于没有原理图--引脚分析

对比

linux defconfiglinux dtsuboot defconfiguboot fragment
luckfox-picosd/tf (emmc)luckfox_rv1106_linux_defconfigrv1103g-luckfox-pico.dtsrv1106_defconfigrk-emmc.config
luckfox-pico-plusspi nand flashluckfox_rv1106_linux_defconfigrv1103g-luckfox-pico-plus.dtsrv1106_defconfigrk-sfc.config

uboot的差别

uboot的编译配置文件都是一样的,只有一个叫Fragment(片段)的配置不一样,各使用了不同的Fragment文件,他们的内容如下:

rk-emmc.config

CONFIG_ROCKCHIP_EMMC_IOMUX=y

rk-sfc.config

CONFIG_ROCKCHIP_SFC_IOMUX=y

可以看出来,他们内容上的区别仅就各自打开了对应板子的存储方式的支持。应该是一个Uboot编译配置文件的补丁。
在配置uboot的时候:

make rv1106_defconfig rk-sfc.config

另一个是:

make rv1106_defconfig rk-emmc.config

说明是个补丁无疑了!

Linux的差别

可以看出来就是设备树不一样。

其他差别

在这里插入图片描述

编译命令对比

linux 编译命令uboot编译命令
luckfox-pico1. cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/kernel
2. make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- luckfox_rv1106_linux_defconfig
3. make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- BOOT_ITS=boot.its rv1103g-luckfox-pico.img -j9
1. cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/uboot/u-boot
2.make rv1106_defconfig rk-emmc.config
3../make.sh --spl-new CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf-
4. cp -fv ./*_idblock_v*.img idblock.img
5.cp -fv ./*_download_v*.bin download.bin
luckfox-pico-plus1. cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/kernel
2.make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- luckfox_rv1106_linux_defconfig
3. make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- BOOT_ITS=boot.its rv1103g-luckfox-pico-plus.img -j9
1. cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/uboot/u-boot
2. make rv1106_defconfig rk-sfc.config
3. ./make.sh --spl-new CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf-
4. cp -fv ./*_idblock_v*.img idblock.img
5. cp -fv ./*_download_v*.bin download.bin
  • kernel out image:
    • boot.img
  • uboot out image:
    • uboot.img
    • idblock.img
    • download.bin

板级配置选择

liefyuan@ubuntu:~/rv1103/luckfox-pico-main$ ./build.sh lunch
ls: cannot access 'BoardConfig*.mk': No such file or directoryYou're building on Linux
Lunch menu...pick a combo:BoardConfig-*.mk naming rules:
BoardConfig-"启动介质"-"电源方案"-"硬件版本"-"应用场景".mk
BoardConfig-"boot medium"-"power solution"-"hardware version"-"applicaton".mk----------------------------------------------------------------
0. BoardConfig_IPC/BoardConfig-EMMC-NONE-RV1103_Luckfox_Pico-IPC.mkboot medium(启动介质): EMMCpower solution(电源方案): NONEhardware version(硬件版本): RV1103_Luckfox_Picoapplicaton(应用场景): IPC
--------------------------------------------------------------------------------------------------------------------------------
1. BoardConfig_IPC/BoardConfig-SPI_NAND-NONE-RV1103_Luckfox_Pico_Plus-IPC.mkboot medium(启动介质): SPI_NANDpower solution(电源方案): NONEhardware version(硬件版本): RV1103_Luckfox_Pico_Plusapplicaton(应用场景): IPC
----------------------------------------------------------------Which would you like? [0]: 

有两个配置选项:

板子主控芯片存储介质网口
Luckfox PicoRV1103 Cortex A7 1.2GHz + RISC-V默认SD卡启动(EMMC)不支持
Luckfox Pico PlusRV1103 Cortex A7 1.2GHz + RISC-V默认SPI NAND FLASH启动支持

我的计划是:

在这里插入图片描述

  • Luckfox Pico RV1103板子上焊接 winbond 128MB SPI NAND Flash
  • Luckfox Pico RV1103板子上的SD卡插槽就插上LicheePi Zero上使用的 RTL8723BS TF卡插件

spi-nand flash

查看spi-nand配置好的信息

$ ./build.sh info
**************************************
Check [OK]: dtc --version
**************************************
Check [OK]: makeinfo --version
**************************************
Check [OK]: gperf --version
**************************************
Check [OK]: dpkg --list |grep g++-.*-multilib
**************************************
Check [OK]: dpkg --list |grep gcc-.*-multilib
**************************************
Check [OK]: make -v
GLOBAL_PARTITIONS: 0x40000@0x0(env),0x40000@0x40000(idblock),0x80000@0x80000(uboot),0x400000@0x100000(boot),0x2000000@0x500000(rootfs),0x3000000@0x2500000(oem),0x2000000@0x5500000(userdata)
[build.sh:info] Partition Filesystem Type Configure: rootfs@IGNORE@ubifs,oem@/oem@ubifs,userdata@/userdata@ubifs
Not found /home/liefyuan/rv1103/luckfox-pico-main/.repo/manifest.xml [ignore] !!!
Current Building Information:
Target cfg: /home/liefyuan/rv1103/luckfox-pico-main/project/cfg/BoardConfig_IPC/BoardConfig-SPI_NAND-NONE-RV1103_Luckfox_Pico_Plus-IPC.mk
Target Misc config:
RK_APP_TYPE=RKIPC_RV1103
RK_ARCH=arm
RK_BOOTARGS_CMA_SIZE=24M
RK_BOOT_MEDIUM=spi_nand
RK_BUILD_APP_TO_OEM_PARTITION=y
RK_BUILD_VERSION_TYPE=RELEASE
RK_CAMERA_SENSOR_CAC_BIN=CAC_sc4336_OT01_40IRC_F16
RK_CAMERA_SENSOR_IQFILES=sc4336_OT01_40IRC_F16.json sc3336_CMK-OT2119-PC1_30IRC-F16.json
RK_CHIP=rv1106
RK_ENABLE_ROCKCHIP_TEST=y
RK_JOBS=9
RK_KERNEL_CMDLINE_FRAGMENT= ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rk_dma_heap_cma=24M
RK_KERNEL_DEFCONFIG=luckfox_rv1106_linux_defconfig
RK_KERNEL_DTS=rv1103g-luckfox-pico-plus.dts
RK_LIBC_TPYE=uclibc
RK_MISC=wipe_all-misc.img
RK_PARTITION_ARGS=mtdparts=spi-nand0:256K(env),256K@256K(idblock),512K(uboot),4M(boot),32M(rootfs),48M(oem),32M(userdata)
RK_PARTITION_CMD_IN_ENV=256K(env),256K@256K(idblock),512K(uboot),4M(boot),32M(rootfs),48M(oem),32M(userdata)
RK_PARTITION_FS_TYPE_CFG=rootfs@IGNORE@ubifs,oem@/oem@ubifs,userdata@/userdata@ubifs
RK_PROJECT_FILE_OEM_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/S21appinit
RK_PROJECT_FILE_RECOVERY_LUNCH_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk/tiny_rootfs/etc/init.d/S99lunch_recovery
RK_PROJECT_FILE_RECOVERY_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk/tiny_rootfs/etc/init.d/S10linkdev
RK_PROJECT_FILE_ROOTFS_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/S20linkmount
RK_PROJECT_OEM_FS_TYPE=ubifs
RK_PROJECT_OUTPUT=/home/liefyuan/rv1103/luckfox-pico-main/output/out
RK_PROJECT_OUTPUT_IMAGE=/home/liefyuan/rv1103/luckfox-pico-main/output/image
RK_PROJECT_PACKAGE_OEM_DIR=/home/liefyuan/rv1103/luckfox-pico-main/output/out/oem
RK_PROJECT_PACKAGE_ROOTFS_DIR=/home/liefyuan/rv1103/luckfox-pico-main/output/out/rootfs_uclibc_rv1106
RK_PROJECT_PACKAGE_USERDATA_DIR=/home/liefyuan/rv1103/luckfox-pico-main/output/out/userdata
RK_PROJECT_PATH_APP=/home/liefyuan/rv1103/luckfox-pico-main/output/out/app_out
RK_PROJECT_PATH_BOARD_BIN=/home/liefyuan/rv1103/luckfox-pico-main/output/out/sysdrv_out/board_uclibc_rv1106
RK_PROJECT_PATH_FASTBOOT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/fastboot
RK_PROJECT_PATH_MEDIA=/home/liefyuan/rv1103/luckfox-pico-main/output/out/media_out
RK_PROJECT_PATH_PC_TOOLS=/home/liefyuan/rv1103/luckfox-pico-main/output/out/sysdrv_out/pc
RK_PROJECT_PATH_RAMDISK=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk
RK_PROJECT_PATH_RAMDISK_TINY_ROOTFS=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk/tiny_rootfs
RK_PROJECT_PATH_SYSDRV=/home/liefyuan/rv1103/luckfox-pico-main/output/out/sysdrv_out
RK_PROJECT_ROOTFS_TYPE=ubifs
RK_PROJECT_TOOLCHAIN_CROSS=arm-rockchip830-linux-uclibcgnueabihf
RK_PROJECT_TOOLS_MKFS_EROFS=mkfs_erofs.sh
RK_PROJECT_TOOLS_MKFS_EXT4=mkfs_ext4.sh
RK_PROJECT_TOOLS_MKFS_INITRAMFS=mkfs_initramfs.sh
RK_PROJECT_TOOLS_MKFS_JFFS2=mkfs_jffs2.sh
RK_PROJECT_TOOLS_MKFS_ROMFS=mkfs_romfs.sh
RK_PROJECT_TOOLS_MKFS_SQUASHFS=mkfs_squashfs.sh
RK_PROJECT_TOOLS_MKFS_UBIFS=mkfs_ubi.sh
RK_PROJECT_TOP_DIR=/home/liefyuan/rv1103/luckfox-pico-main/project
RK_TOOLCHAIN_CROSS=arm-rockchip830-linux-uclibcgnueabihf
RK_UBOOT_DEFCONFIG=rv1106_defconfig
RK_UBOOT_DEFCONFIG_FRAGMENT=rk-sfc.config
make: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/sysdrv'
-------------------------------------------------------------------------
rv1106 sysdrv info:BOOT_MEDIUM:         spi_nand KERNEL_CFG:          luckfox_rv1106_linux_defconfig         KERNEL_DTS:          rv1103g-luckfox-pico-plus.dts         KERNEL_CFG_FRAGMENT: KERNEL_CMDLINE_FRAGMENT:  ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs rk_dma_heap_cma=24MUBOOT_CFG:           rv1106_defconfig          UBOOT_CFG_FRAGMENT:  rk-sfc.config UBOOT_ENV_SIZE:      0x40000 UBOOT_ENV_OFFSET:    0 ROOTFS_PART_SIZE:    0x2000000 ROOTFS_PART_NUM:     4 SYSDRV_PARTITION:    256K(env),256K@256K(idblock),512K(uboot),4M(boot),32M(rootfs),48M(oem),32M(userdata) C LIBRARY TYPE:      uclibc <> kernel compile: cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/kernelmake ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- luckfox_rv1106_linux_defconfig make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- BOOT_ITS=boot.its rv1103g-luckfox-pico-plus.img -j9<> kernel out image: boot.img <> uboot compile: cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/uboot/u-bootmake rv1106_defconfig rk-sfc.config./make.sh --spl-new CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- cp -fv ./*_idblock_v*.img idblock.img cp -fv ./*_download_v*.bin download.bin <> uboot out image: uboot.img idblock.img download.bin 
-------------------------------------------------------------------------
make: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/sysdrv'
make: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/media'
-------------------------------------------------------------------------
rv1106 media info:
CONFIG_LIBDRM=y
CONFIG_LVGL=n
CONFIG_RK_AVS=y
CONFIG_RK_COMMON_ALGORITHM=y
CONFIG_RK_CRYPTO=n
CONFIG_RK_ISP_BUILD_DEMO=y
CONFIG_RK_ISP_HW_VERSION_V32=y
CONFIG_RK_IVA=y
CONFIG_RK_IVE=y
CONFIG_RK_MPP=y
CONFIG_RK_MPP_ALLOCATOR_DRM=n
CONFIG_RK_MPP_TESTS=y
CONFIG_RK_RGA2=y
CONFIG_RK_RGA2_USE_LIBDRM=n
CONFIG_RK_RKAIQ=y
CONFIG_RK_ROCKIT=y
RK_MEDIA_ARCH_TYPE=arm
RK_MEDIA_CHIP=rv1106
RK_MEDIA_CROSS=arm-rockchip830-linux-uclibcgnueabihf
RK_MEDIA_CROSS_CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfpu=neon -mfloat-abi=hard
RK_MEDIA_OPTS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
RK_MEDIA_OUTPUT=/home/liefyuan/rv1103/luckfox-pico-main/media/out
RK_MEDIA_TOP_DIR=/home/liefyuan/rv1103/luckfox-pico-main/media
-------------------------------------------------------------------------
make: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/media'
make: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app'
make[1]: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/ipcweb'
make[1]: Nothing to be done for 'info'.
make[1]: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/ipcweb'
make[1]: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/rkipc'
-------------------------------------------------------------------------
RK_APP_TYPE=RKIPC_RV1103
option support as follow:RKIPC_RV1126_RKMEDIARKIPC_RV1126_ROCKITRKIPC_RV1126_SNAPSHOTRKIPC_RV1126_BATTERY_IPCRKIPC_RK3588RKIPC_RK3588_MULTI_IPCRKIPC_RV1103RKIPC_RV1106RKIPC_RV1106_BATTERY_IPCRKIPC_RV1106_BATTERY_IPC_TUYA
-------------------------------------------------------------------------
make[1]: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/rkipc'
make[1]: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/wifi_app'
make[1]: Nothing to be done for 'info'.
make[1]: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/wifi_app'
make: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app'

交叉编译工具:

  • arm-rockchip830-linux-uclibcgnueabihf

Linux kernel 相关的:

  • defconfig文件:luckfox_rv1106_linux_defconfig
    -设备树文件:rv1103g-luckfox-pico-plus.dts

emmc/SD 卡

查看emmc配置的信息:

$ ./build.sh info
**************************************
Check [OK]: dtc --version
**************************************
Check [OK]: makeinfo --version
**************************************
Check [OK]: gperf --version
**************************************
Check [OK]: dpkg --list |grep g++-.*-multilib
**************************************
Check [OK]: dpkg --list |grep gcc-.*-multilib
**************************************
Check [OK]: make -v
GLOBAL_PARTITIONS: 0x8000@0x0(env),0x80000@0x8000(idblock),0x40000@0x88000(uboot),0x2000000@0xC8000(boot),0x80000000@0x20C8000(rootfs),0x40000000@0x820C8000(oem),0x80000000@0xC20C8000(userdata),-@0x1420C8000(media)
[build.sh:info] Partition Filesystem Type Configure: rootfs@IGNORE@ext4,userdata@/userdata@ext4,oem@/oem@ext4
Not found /home/liefyuan/rv1103/luckfox-pico-main/.repo/manifest.xml [ignore] !!!
Current Building Information:
Target cfg: /home/liefyuan/rv1103/luckfox-pico-main/project/cfg/BoardConfig_IPC/BoardConfig-EMMC-NONE-RV1103_Luckfox_Pico-IPC.mk
Target Misc config:
RK_APP_TYPE=RKIPC_RV1103
RK_ARCH=arm
RK_BOOTARGS_CMA_SIZE=24M
RK_BOOT_MEDIUM=emmc
RK_BUILD_APP_TO_OEM_PARTITION=y
RK_BUILD_VERSION_TYPE=RELEASE
RK_CAMERA_SENSOR_CAC_BIN=CAC_sc4336_OT01_40IRC_F16
RK_CAMERA_SENSOR_IQFILES=sc4336_OT01_40IRC_F16.json sc3336_CMK-OT2119-PC1_30IRC-F16.json
RK_CHIP=rv1106
RK_ENABLE_ROCKCHIP_TEST=y
RK_JOBS=9
RK_KERNEL_CMDLINE_FRAGMENT= root=/dev/mmcblk1p5 rootfstype=ext4 rk_dma_heap_cma=24M
RK_KERNEL_DEFCONFIG=luckfox_rv1106_linux_defconfig
RK_KERNEL_DTS=rv1103g-luckfox-pico.dts
RK_LIBC_TPYE=uclibc
RK_MISC=wipe_all-misc.img
RK_PARTITION_ARGS=blkdevparts=mmcblk1:32K(env),512K@32K(idblock),256K(uboot),32M(boot),2G(rootfs),1G(oem),2G(userdata),-(media)
RK_PARTITION_CMD_IN_ENV=32K(env),512K@32K(idblock),256K(uboot),32M(boot),2G(rootfs),1G(oem),2G(userdata),-(media)
RK_PARTITION_FS_TYPE_CFG=rootfs@IGNORE@ext4,userdata@/userdata@ext4,oem@/oem@ext4
RK_PROJECT_FILE_OEM_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/S21appinit
RK_PROJECT_FILE_RECOVERY_LUNCH_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk/tiny_rootfs/etc/init.d/S99lunch_recovery
RK_PROJECT_FILE_RECOVERY_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk/tiny_rootfs/etc/init.d/S10linkdev
RK_PROJECT_FILE_ROOTFS_SCRIPT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/S20linkmount
RK_PROJECT_OEM_FS_TYPE=ext4
RK_PROJECT_OUTPUT=/home/liefyuan/rv1103/luckfox-pico-main/output/out
RK_PROJECT_OUTPUT_IMAGE=/home/liefyuan/rv1103/luckfox-pico-main/output/image
RK_PROJECT_PACKAGE_OEM_DIR=/home/liefyuan/rv1103/luckfox-pico-main/output/out/oem
RK_PROJECT_PACKAGE_ROOTFS_DIR=/home/liefyuan/rv1103/luckfox-pico-main/output/out/rootfs_uclibc_rv1106
RK_PROJECT_PACKAGE_USERDATA_DIR=/home/liefyuan/rv1103/luckfox-pico-main/output/out/userdata
RK_PROJECT_PATH_APP=/home/liefyuan/rv1103/luckfox-pico-main/output/out/app_out
RK_PROJECT_PATH_BOARD_BIN=/home/liefyuan/rv1103/luckfox-pico-main/output/out/sysdrv_out/board_uclibc_rv1106
RK_PROJECT_PATH_FASTBOOT=/home/liefyuan/rv1103/luckfox-pico-main/output/out/fastboot
RK_PROJECT_PATH_MEDIA=/home/liefyuan/rv1103/luckfox-pico-main/output/out/media_out
RK_PROJECT_PATH_PC_TOOLS=/home/liefyuan/rv1103/luckfox-pico-main/output/out/sysdrv_out/pc
RK_PROJECT_PATH_RAMDISK=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk
RK_PROJECT_PATH_RAMDISK_TINY_ROOTFS=/home/liefyuan/rv1103/luckfox-pico-main/output/out/ramdisk/tiny_rootfs
RK_PROJECT_PATH_SYSDRV=/home/liefyuan/rv1103/luckfox-pico-main/output/out/sysdrv_out
RK_PROJECT_ROOTFS_TYPE=ext4
RK_PROJECT_TOOLCHAIN_CROSS=arm-rockchip830-linux-uclibcgnueabihf
RK_PROJECT_TOOLS_MKFS_EROFS=mkfs_erofs.sh
RK_PROJECT_TOOLS_MKFS_EXT4=mkfs_ext4.sh
RK_PROJECT_TOOLS_MKFS_INITRAMFS=mkfs_initramfs.sh
RK_PROJECT_TOOLS_MKFS_JFFS2=mkfs_jffs2.sh
RK_PROJECT_TOOLS_MKFS_ROMFS=mkfs_romfs.sh
RK_PROJECT_TOOLS_MKFS_SQUASHFS=mkfs_squashfs.sh
RK_PROJECT_TOOLS_MKFS_UBIFS=mkfs_ubi.sh
RK_PROJECT_TOP_DIR=/home/liefyuan/rv1103/luckfox-pico-main/project
RK_TOOLCHAIN_CROSS=arm-rockchip830-linux-uclibcgnueabihf
RK_UBOOT_DEFCONFIG=rv1106_defconfig
RK_UBOOT_DEFCONFIG_FRAGMENT=rk-emmc.config
make: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/sysdrv'
-------------------------------------------------------------------------
rv1106 sysdrv info:BOOT_MEDIUM:         emmc KERNEL_CFG:          luckfox_rv1106_linux_defconfig         KERNEL_DTS:          rv1103g-luckfox-pico.dts         KERNEL_CFG_FRAGMENT: KERNEL_CMDLINE_FRAGMENT:  root=/dev/mmcblk1p5 rootfstype=ext4 rk_dma_heap_cma=24MUBOOT_CFG:           rv1106_defconfig          UBOOT_CFG_FRAGMENT:  rk-emmc.config UBOOT_ENV_SIZE:      0x8000 UBOOT_ENV_OFFSET:    0 ROOTFS_PART_SIZE:    0x80000000 ROOTFS_PART_NUM:     5 SYSDRV_PARTITION:    32K(env),512K@32K(idblock),256K(uboot),32M(boot),2G(rootfs),1G(oem),2G(userdata),-(media) C LIBRARY TYPE:      uclibc <> kernel compile: cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/kernelmake ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- luckfox_rv1106_linux_defconfig make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- BOOT_ITS=boot.its rv1103g-luckfox-pico.img -j9<> kernel out image: boot.img <> uboot compile: cd /home/liefyuan/rv1103/luckfox-pico-main/sysdrv/source/uboot/u-bootmake rv1106_defconfig rk-emmc.config./make.sh --spl-new CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- cp -fv ./*_idblock_v*.img idblock.img cp -fv ./*_download_v*.bin download.bin <> uboot out image: uboot.img idblock.img download.bin 
-------------------------------------------------------------------------
make: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/sysdrv'
make: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/media'
-------------------------------------------------------------------------
rv1106 media info:
CONFIG_LIBDRM=y
CONFIG_LVGL=n
CONFIG_RK_AVS=y
CONFIG_RK_COMMON_ALGORITHM=y
CONFIG_RK_CRYPTO=n
CONFIG_RK_ISP_BUILD_DEMO=y
CONFIG_RK_ISP_HW_VERSION_V32=y
CONFIG_RK_IVA=y
CONFIG_RK_IVE=y
CONFIG_RK_MPP=y
CONFIG_RK_MPP_ALLOCATOR_DRM=n
CONFIG_RK_MPP_TESTS=y
CONFIG_RK_RGA2=y
CONFIG_RK_RGA2_USE_LIBDRM=n
CONFIG_RK_RKAIQ=y
CONFIG_RK_ROCKIT=y
RK_MEDIA_ARCH_TYPE=arm
RK_MEDIA_CHIP=rv1106
RK_MEDIA_CROSS=arm-rockchip830-linux-uclibcgnueabihf
RK_MEDIA_CROSS_CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv7-a -mfpu=neon -mfloat-abi=hard
RK_MEDIA_OPTS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
RK_MEDIA_OUTPUT=/home/liefyuan/rv1103/luckfox-pico-main/media/out
RK_MEDIA_TOP_DIR=/home/liefyuan/rv1103/luckfox-pico-main/media
-------------------------------------------------------------------------
make: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/media'
make: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app'
make[1]: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/ipcweb'
make[1]: Nothing to be done for 'info'.
make[1]: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/ipcweb'
make[1]: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/rkipc'
-------------------------------------------------------------------------
RK_APP_TYPE=RKIPC_RV1103
option support as follow:RKIPC_RV1126_RKMEDIARKIPC_RV1126_ROCKITRKIPC_RV1126_SNAPSHOTRKIPC_RV1126_BATTERY_IPCRKIPC_RK3588RKIPC_RK3588_MULTI_IPCRKIPC_RV1103RKIPC_RV1106RKIPC_RV1106_BATTERY_IPCRKIPC_RV1106_BATTERY_IPC_TUYA
-------------------------------------------------------------------------
make[1]: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/rkipc'
make[1]: Entering directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/wifi_app'
make[1]: Nothing to be done for 'info'.
make[1]: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app/wifi_app'
make: Leaving directory '/home/liefyuan/rv1103/luckfox-pico-main/project/app'
Not found /home/liefyuan/rv1103/luckfox-pico-main/output/out/sysdrv_out/board_uclibc_rv1106/rv1103g-luckfox-pico.dtb, ignore

spinand flash烧录

常按住Pico 开发板的Boot按键,然后插入USB,此时USB设备栏会弹出设备号(这里是211);

把编译出来的这些文件都拷贝到Windows下去

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述不过这些

差别

在这里插入图片描述原理图什么的都是部分。

看瞎了眼才发现,GPIO轮流做庄。
在这里插入图片描述

由于没有原理图–引脚分析

在这里插入图片描述

在这里插入图片描述

  • 一共88个引脚

在这里插入图片描述

这篇关于【RV1103】Luckfox Pico RV1103 开发记录的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/440153

相关文章

Python获取中国节假日数据记录入JSON文件

《Python获取中国节假日数据记录入JSON文件》项目系统内置的日历应用为了提升用户体验,特别设置了在调休日期显示“休”的UI图标功能,那么问题是这些调休数据从哪里来呢?我尝试一种更为智能的方法:P... 目录节假日数据获取存入jsON文件节假日数据读取封装完整代码项目系统内置的日历应用为了提升用户体验,

Spring Boot + MyBatis Plus 高效开发实战从入门到进阶优化(推荐)

《SpringBoot+MyBatisPlus高效开发实战从入门到进阶优化(推荐)》本文将详细介绍SpringBoot+MyBatisPlus的完整开发流程,并深入剖析分页查询、批量操作、动... 目录Spring Boot + MyBATis Plus 高效开发实战:从入门到进阶优化1. MyBatis

Spring Boot 配置文件之类型、加载顺序与最佳实践记录

《SpringBoot配置文件之类型、加载顺序与最佳实践记录》SpringBoot的配置文件是灵活且强大的工具,通过合理的配置管理,可以让应用开发和部署更加高效,无论是简单的属性配置,还是复杂... 目录Spring Boot 配置文件详解一、Spring Boot 配置文件类型1.1 applicatio

Python基于wxPython和FFmpeg开发一个视频标签工具

《Python基于wxPython和FFmpeg开发一个视频标签工具》在当今数字媒体时代,视频内容的管理和标记变得越来越重要,无论是研究人员需要对实验视频进行时间点标记,还是个人用户希望对家庭视频进行... 目录引言1. 应用概述2. 技术栈分析2.1 核心库和模块2.2 wxpython作为GUI选择的优

MySQL INSERT语句实现当记录不存在时插入的几种方法

《MySQLINSERT语句实现当记录不存在时插入的几种方法》MySQL的INSERT语句是用于向数据库表中插入新记录的关键命令,下面:本文主要介绍MySQLINSERT语句实现当记录不存在时... 目录使用 INSERT IGNORE使用 ON DUPLICATE KEY UPDATE使用 REPLACE

Python 中的异步与同步深度解析(实践记录)

《Python中的异步与同步深度解析(实践记录)》在Python编程世界里,异步和同步的概念是理解程序执行流程和性能优化的关键,这篇文章将带你深入了解它们的差异,以及阻塞和非阻塞的特性,同时通过实际... 目录python中的异步与同步:深度解析与实践异步与同步的定义异步同步阻塞与非阻塞的概念阻塞非阻塞同步

Python Dash框架在数据可视化仪表板中的应用与实践记录

《PythonDash框架在数据可视化仪表板中的应用与实践记录》Python的PlotlyDash库提供了一种简便且强大的方式来构建和展示互动式数据仪表板,本篇文章将深入探讨如何使用Dash设计一... 目录python Dash框架在数据可视化仪表板中的应用与实践1. 什么是Plotly Dash?1.1

利用Python开发Markdown表格结构转换为Excel工具

《利用Python开发Markdown表格结构转换为Excel工具》在数据管理和文档编写过程中,我们经常使用Markdown来记录表格数据,但它没有Excel使用方便,所以本文将使用Python编写一... 目录1.完整代码2. 项目概述3. 代码解析3.1 依赖库3.2 GUI 设计3.3 解析 Mark

利用Go语言开发文件操作工具轻松处理所有文件

《利用Go语言开发文件操作工具轻松处理所有文件》在后端开发中,文件操作是一个非常常见但又容易出错的场景,本文小编要向大家介绍一个强大的Go语言文件操作工具库,它能帮你轻松处理各种文件操作场景... 目录为什么需要这个工具?核心功能详解1. 文件/目录存javascript在性检查2. 批量创建目录3. 文件

Spring Boot中定时任务Cron表达式的终极指南最佳实践记录

《SpringBoot中定时任务Cron表达式的终极指南最佳实践记录》本文详细介绍了SpringBoot中定时任务的实现方法,特别是Cron表达式的使用技巧和高级用法,从基础语法到复杂场景,从快速启... 目录一、Cron表达式基础1.1 Cron表达式结构1.2 核心语法规则二、Spring Boot中定