Jump to content

[missing board name here] Difference between [uart_force_debug] and [uart_para]


Recommended Posts

Posted

Can someone tell me the difference between [uart_force_debug] and [uart_para]?

[uart_para]
uart_debug_port = 0
uart_debug_tx = port:PB22<2><1><default><default>
uart_debug_rx = port:PB23<2><1><default><default>

[uart_force_debug]
uart_debug_port = 0
uart_debug_tx = port:PF02<4><1><default><default>
uart_debug_rx = port:PF04<4><1><default><default>

Thanks.. :)

Posted

Hello wildcat_paris,

 

Code below are snippet from script.fex of cubieboard.

Now I am just wondering what is the deference between [uart_force_debug] and [uart_para]?

 

Thanks in advance.

Posted

@phintegrator

 

[uart_force_debug] and [uart_para] refers to different pins as you have already understood.

 

The point is (as you have opened the topic) which board model are you using / OS / any details you may find useful.

The pin config may differ from one board to another board.

So it is difficult to help you (me or someone knowing your board)

 

PS: please edit your title to name your Board, you may have more answers this way :)

Posted

@phintegrator

At least current legacy kernel sources for A10/A20 don't have any references to "uart_force_debug", while "uart_para" is used in file "drivers\tty\serial\8250\8250_sunxi.c"

So second section may be obsolete at least for legacy kernel version currently used by Armbian.

 

If you really want to know when and if "uart_force_debug" was used, you may download official A10/A20 SDK and toolchain and check documentation, example configs and kernel sources there.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines