如何修改RK3288 调试串口UART2为普通串口
本帖最后由 发光的大白菜 于 2018-1-24 21:01 编辑我们使用的是RK3288 android5.1系统
uart1和uart3都可以正常使用,但是uart2却只能用于调试,目前想要把uart1,uart2,和uart3都作为普通串口使用
论坛跟百度搜了好多方法修改都不成功
不知道有没有人成功把UART2修改为普通串口呢?望指点!
参考过3399的修改
http://dev.t-firefly.com/forum.php?mod=viewthread&tid=12152&highlight=%B5%F7%CA%D4%B4%AE%BF%DA
但是在3288上面修改后,还是uart2为调试口 {:5_240:}别沉啊 make menuconfig-->
System Type--->
(2) Debug UART
可以把2改为3后,调试串口变成uart3
但是还有一个问题,就是u-boot打印的调试信息还是从uart2出来,怎么样才能关闭或者修改Uboot打印呢
ps: 修改过parameter文件,没有效果 1.修改
--- a/device/rockchip/common/ueventd.rockchip.rc
+++ b/device/rockchip/common/ueventd.rockchip.rc
@@ -49,7 +49,7 @@
# for BT
/dev/vflash 0660 bluetoothnet_bt_stack
#/dev/ttyS0 0660 bluetoothnet_bt_stack
-/dev/ttyS2 0660 bluetoothnet_bt_stack
+/dev/ttyS2 0666 bluetoothnet_bt_stac
/dev/rtk_btusb 0660 bluetoothnet_bt_stack
# for radio
2.替换rk3288box-3.10-uboot.parameter.txt 文件
jpchen 发表于 2018-2-26 09:08
1.修改
--- a/device/rockchip/common/ueventd.rockchip.rc
+++ b/device/rockchip/common/ueventd.rockc ...
替换了rk3288box-3.10-uboot.parameter.txt文件后,系统起不来,一直卡在starting kernel... 的位置DDR Version 1.00 20160530
In
Channel a: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 200MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT
U-Boot 2014.10-RK3288-10 (Jan 14 2018 - 17:16:07)
CPU: rk3288
cpu version = 0
CPU's clock information:
arm pll = 600000000HZ
periph pll = 297000000HZ
ddr pll = 200000000HZ
codec pll = 384000000HZ
Board:Rockchip platform Board
DRAM:Found dram banks: 1
Adding bank:0000000000000000(0000000080000000)
128 MiB
GIC CPU mask = 0x00000001
SdmmcInit = 0 400
SdmmcInit = 2 0
storage init OK!
Using default environment
GetParam
Load FDT from resource image.
power key: bank-0 pin-5
pmic:act8846
can't find dts node for pwm1
DCDC vdd_logic has been used, pwm regulator not init it.
Can't find dts node for fuel guage cw201x
SecureBootEn = 0, SecureBootLock = 0
#Boot ver: 2018-01-14#2.30
empty serial no.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
read logo on state from dts
no fuel gauge found
got recovery cmd from misc.
load fdt from resouce.
Secure Boot state: 0
kernel @ 0x02000000 (0x006a70c0)
ramdisk@ 0x05bf0000 (0x002ad210)
bootrk: do_bootm_linux...
Loading Device Tree to 05600000, end 0561c4a7 ... OK
Add bank:0000000000000000, 0000000080000000
Starting kernel ...
后面解决了吗?
页:
[1]