• 【RV1103】Luckfox Pico RV1103 开发记录


    对比

    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
    
    • 1

    rk-sfc.config

    CONFIG_ROCKCHIP_SFC_IOMUX=y
    
    • 1

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

    make rv1106_defconfig rk-sfc.config
    
    • 1

    另一个是:

    make rv1106_defconfig rk-emmc.config
    
    • 1

    说明是个补丁无疑了!

    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 directory
    
    You'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.mk
                                 boot medium(启动介质): EMMC
                              power solution(电源方案): NONE
                            hardware version(硬件版本): RV1103_Luckfox_Pico
                                  applicaton(应用场景): IPC
    ----------------------------------------------------------------
    
    ----------------------------------------------------------------
    1. BoardConfig_IPC/BoardConfig-SPI_NAND-NONE-RV1103_Luckfox_Pico_Plus-IPC.mk
                                 boot medium(启动介质): SPI_NAND
                              power solution(电源方案): NONE
                            hardware version(硬件版本): RV1103_Luckfox_Pico_Plus
                                  applicaton(应用场景): IPC
    ----------------------------------------------------------------
    
    Which would you like? [0]: 
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28

    有两个配置选项:

    板子主控芯片存储介质网口
    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=24M
        UBOOT_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/kernel
           make 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-boot
           make 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_RKMEDIA
    	RKIPC_RV1126_ROCKIT
    	RKIPC_RV1126_SNAPSHOT
    	RKIPC_RV1126_BATTERY_IPC
    	RKIPC_RK3588
    	RKIPC_RK3588_MULTI_IPC
    	RKIPC_RV1103
    	RKIPC_RV1106
    	RKIPC_RV1106_BATTERY_IPC
    	RKIPC_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'
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155

    交叉编译工具:

    • 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=24M
        UBOOT_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/kernel
           make 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-boot
           make 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_RKMEDIA
    	RKIPC_RV1126_ROCKIT
    	RKIPC_RV1126_SNAPSHOT
    	RKIPC_RV1126_BATTERY_IPC
    	RKIPC_RK3588
    	RKIPC_RK3588_MULTI_IPC
    	RKIPC_RV1103
    	RKIPC_RV1106
    	RKIPC_RV1106_BATTERY_IPC
    	RKIPC_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
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156

    spinand flash烧录

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

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

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

    差别

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

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

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

    在这里插入图片描述

    在这里插入图片描述

    • 一共88个引脚

    在这里插入图片描述

  • 相关阅读:
    String的intern()方法详解
    DJ12-2-2 算术运算指令
    linux系统采集方法
    01【SpringBoot快速入门、yml语法、自动配置、整合框架】
    软件需求说明书(GB856T-88)
    硬盘驱动器(HDD)伺服系统鲁棒控制
    CSS进阶篇——展示 (display)
    Conv2Former
    学内核之五:问题一,关于上下文切换
    【100天精通Python】Day68:Python可视化_Matplotlib 绘制热力图,示例+代码
  • 原文地址:https://blog.csdn.net/qq_28877125/article/details/132999147