【RV1103】Luckfox Pico RV1103 开发记录
可以看出来,他们内容上的区别仅就各自打开了对应板子的存储方式的支持。应该是一个Uboot编译配置文件的补丁。常按住Pico 开发板的Boot按键,然后插入USB,此时USB设备栏会弹出设备号(这里是211);把编译出来的这些文件都拷贝到Windows下去。看瞎了眼才发现,GPIO轮流做庄。查看spi-nand配置好的信息。可以看出来就是设备树不一样。原理图什么的都是部分。说明是个补丁无疑了!
·
对比
linux defconfig | linux dts | uboot defconfig | uboot fragment | ||
---|---|---|---|---|---|
luckfox-pico | sd/tf (emmc) | luckfox_rv1106_linux_defconfig | rv1103g-luckfox-pico.dts | rv1106_defconfig | rk-emmc.config |
luckfox-pico-plus | spi nand flash | luckfox_rv1106_linux_defconfig | rv1103g-luckfox-pico-plus.dts | rv1106_defconfig | rk-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-pico | 1. 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-plus | 1. 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]:
有两个配置选项:
板子 | 主控芯片 | 存储介质 | 网口 |
---|---|---|---|
Luckfox Pico | RV1103 Cortex A7 1.2GHz + RISC-V | 默认SD卡启动(EMMC) | 不支持 |
Luckfox Pico Plus | RV1103 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'
交叉编译工具:
- 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
spinand flash烧录
常按住Pico 开发板的Boot按键,然后插入USB,此时USB设备栏会弹出设备号(这里是211);
把编译出来的这些文件都拷贝到Windows下去
不过这些
差别
原理图什么的都是部分。
看瞎了眼才发现,GPIO轮流做庄。
由于没有原理图–引脚分析
- 一共88个引脚
![Logo](https://devpress.csdnimg.cn/79de2bf0b7994defa4242ef90d5513fa.jpg)
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
所有评论(0)