板子默认串口波特率为1500000,我不知道为毛要搞这么高。反正我的U转串是不支持的,需要修改下。 编译时使用的是firefly-rk3328-buildroot.mk,看环境变量为如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
CMD=`realpath $BASH_SOURCE` CUR_DIR=`dirname $CMD` source $CUR_DIR/BoardConfig.mk # Uboot defconfig export RK_UBOOT_DEFCONFIG=firefly-rk3328 # Kernel defconfig export RK_KERNEL_DEFCONFIG=firefly-rk3328_defconfig # Kernel dts export RK_KERNEL_DTS=rk3328-roc-cc # packagefile for make update image export RK_PACKAGE_FILE=rk3328-package-file # sd_parameter for GPT table export RK_SD_PARAMETER=parameter-recovery.txt # packagefile for make sdupdate image export RK_SD_PACKAGE_FILE=rk3328-recovery-package-file export RK_USERDATA_FS_TYPE=ext4 |
判断uboot的configure为firefly-rk3328,直接找到u-boo……