1、boot 打印:参数 debugstatus
由于release后串口打印是关闭的,需要开启,请按照以下方式(Hi3751 v560操作参考Hi3751 v350):
\1. 首先进入 device/hisilicon/bigfish/sdk/configs/hi3751v350/
\2. 再执行以下命令:
sed -i "s/CFG_HI_CLOSE_BOOT_PRINT_AND_UART0=y/# CFG_HI_CLOSE_BOOT_PRINT_AND_UART0 is not set/g" `grep "CFG_HI_CLOSE_BOOT_PRINT_AND_UART0=y" -rl ./`
sed -i "s/CFG_HI_CLOSE_BOOT_PRINT_AND_UART0=y/# CFG_HI_CLOSE_BOOT_PRINT_AND_UART0 is not set/g" `grep "CFG_HI_CLOSE_BOOT_PRINT_AND_UART0=y" -rl ./configs/hi3751v350/hi3751demo_hi3751v352F_android_32bit_1024M_cfg_e1.mak`
由于主核与从核同时运行, 不共用同一个串口驱动,会导致打印混乱难以查看 debug 信息,因此增加 debugstatus 参数, 公版默认使用 deb