Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] Changing u-boot serial

31

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
31

【General】 Changing u-boot serial

Posted at 12/28/2022 22:26:47      View:1504 | Replies:2        Print      Only Author   [Copy Link] 1#
Hello,
I'm trying to change u-boot console from default UART2 to UART1, changed name in device tree and parameters in configuration, still cant see any output. Can it be changed easily?
Also, can someone share full console output of booting process, starting from bootloader to loading kernel, this might help me.
Reply

Use props Report

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 12/29/2022 10:28:38        Only Author  2#
If you just need to debug the device, refer to the following:
https://wiki.t-firefly.com/en/ROC-RK3308-CC/serial_debug.html
https://wiki.t-firefly.com/en/ROC-RK3308B-CC-PLUS/debug.html

Change the  debug serial is not a good idear.
已有 1评分Contribution +3 Pack up reason
vitech + 3

View all ratings

Reply

Use props Report

31

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
31
Posted at 12/30/2022 14:36:31        Only Author  3#
I managed to set U-boot output to UART1, the reason was that I tried to program u-boot image to default rk3308 cfg address 0x4000 in RKDEVTool. After I changed it to 0x2000, all worked well.
Next step for me to connect to U-boot with JTAG (SWJ), seems like some peripheral re-init those pins, cause connection to cpu not working in u-boot unlike MaskRom, to which I can connect with OpenOCD. Anyway, work continues
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list