|
发表于 2020-5-6 15:41:54
3373 浏览 0 回复
RK3399 更改输出log波特率为115200
修改uboot处的波特率配置:u-boot\configsrk3399_defconfig
- CONFIG_SYS_EXTRA_OPTIONS="RKCHIP_RK3399,PRODUCT_MID,NORMAL_WORLD,SECOND_LEVEL_BOOTLOADER,BAUDRATE=115200"
复制代码
修改kernel处的波特率配置:
kernel\arch\arm64\boot\dts\rockchip\rk3399-nanopi4-common.dtsi
- fiq_debugger: fiq-debugger {
- compatible = "rockchip,fiq-debugger";
- rockchip,serial-id = <2>;
- rockchip,signal-irq = <182>;
- rockchip,wake-irq = <0>;
- rockchip,irq-mode-enable = <1>; /* If enable uart uses irq instead of fiq */
- rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */
- pinctrl-names = "default";
- pinctrl-0 = <&uart2c_xfer>;
- };
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|