编译命令: ./FFTools/make.sh -d roc-rk3328-pc -j8 -l roc_rk3328_pc_32-userdebug./FFTools/mkupdate/mkupdate.sh -l roc_rk3328_pc_32-userdebug 分别修改了U-boot下的defconfig以及kernel下的dts文件,修改如下,没有发现wiki上提到的kernel/arch/arm64/boot/dts/rk3328-roc-pc-port.dtsi这个文件。 烧写img后,串口没有任何输出,img更新成功了,接上HDMI一直提示蓝牙有问题。交换串口线TX和RX也没有效果。 请问下是哪里修改的有问题吗? chris@LAPTOP-TBE0OMGS:~/firefly/firefly_rk3328_android10.0$ git diff kernel/arch/arm64/boot/dts/rockchip/rk3328-android.dtsi diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3328-android.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3328-android.dtsi index 46549a60cf..2fd8b9c025 100644 --- a/kernel/arch/arm64/boot/dts/rockchip/rk3328-android.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/rk3328-android.dtsi @@ -16,7 +16,7 @@ rockchip,wake-irq = <0>; /* If enable uart uses irq instead of fiq */ rockchip,irq-mode-enable = <0>; - rockchip,baudrate = <1500000>; /* Only 115200 and 1500000 */ + rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */ interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>; status = "okay"; }; chris@LAPTOP-TBE0OMGS:~/firefly/firefly_rk3328_android10.0$ git diff kernel/arch/arm64/boot/dts/rockchip/roc-rk3328-pc.dtsi diff --git a/kernel/arch/arm64/boot/dts/rockchip/roc-rk3328-pc.dtsi b/kernel/arch/arm64/boot/dts/rockchip/roc-rk3328-pc.dtsi index af2960757f..17f2404179 100644 --- a/kernel/arch/arm64/boot/dts/rockchip/roc-rk3328-pc.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/roc-rk3328-pc.dtsi @@ -180,7 +180,7 @@ #if (UART2_FUNCTION == UART2_BLUETOOTH) &fiq_debugger { - status = "disabled"; + status = "okay"; }; &chosen { @@ -188,7 +188,7 @@ }; &uart2 { - status = "okay"; + status = "disabled"; dma-names = "!tx","!rx"; }; #else chris@LAPTOP-TBE0OMGS:~/firefly/firefly_rk3328_android10.0$ git diff u-boot/configs/rk3328_defconfig diff --git a/u-boot/configs/rk3328_defconfig b/u-boot/configs/rk3328_defconfig index 9e9b7544c1..b1c7db04b1 100644 --- a/u-boot/configs/rk3328_defconfig +++ b/u-boot/configs/rk3328_defconfig @@ -102,7 +102,7 @@ CONFIG_SPL_RAM=y CONFIG_TPL_RAM=y CONFIG_ROCKCHIP_SDRAM_COMMON=y CONFIG_DM_RESET=y -CONFIG_BAUDRATE=1500000 +CONFIG_BAUDRATE=115200 CONFIG_DEBUG_UART_BASE=0xFF130000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART_SHIFT=2 |
-
4 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1