hydys 发表于 2020-3-14 17:38:26

3308 115200波特率问题

我修改了此处波特率为115200
   fiq_debugger: fiq-debugger {
                compatible = "rockchip,fiq-debugger";
                rockchip,serial-id = <2>;
                rockchip,wake-irq = <0>;
                rockchip,irq-mode-enable = <0>;
                rockchip,baudrate = <115200>;/* Only 115200 and 1500000 */
                interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
                status = "disabled";
      };
内核启动执行到:
[    0.219551] pinctrl core: initialized pinctrl subsystem
[    0.226020] NET: Registered protocol family 16
[    0.236651] cpuidle: using governor menu
[    0.240724] Registered FIQ tty driver
[    0.244828] vdso: 2 pages (1 code @ ffffff8008626000, 1 data @ ffffff80088a4000)
[    0.252416] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.259573] DMA: preallocated 256 KiB pool for atomic allocations
[    0.268921] console enabled
[    0.272759] pstore: Registered ramoops as persistent store backend
[    0.279084] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.302470] fiq debugger fiq mode enabled
TaS}{&#623454;ڶ蕝&#337135;쳨mUQ&#886122;T£طQѪÿ«퀙±e𒪣4&#479907;&#1015555;Qֳ¬£»&#165972;u]L2Q
                                               aV¸ժa}a*]뒅3Wʑ폖o¢&#587149;¢©«_        ш¡Pʑ쩆jA¨«tQꢑđ¢a«шETa£̣a«!La'£«޸«ۖ2Yv3ÿٕˍYE£𘎹Y
再次出现乱发,请问还有哪里需要修改?

firefly_zhongw 发表于 2020-3-16 09:30:26

1. 确保UART2的GPIO口没有被复用成其他功能
2. 除了修改kernel的dts,还得修改uboot的u-boot/configs/rk3308_defconfig里的CONFIG_BAUDRATE
页: [1]
查看完整版本: 3308 115200波特率问题