User Tools

Site Tools



en:bpi-r4:uboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:bpi-r4:uboot [2024/02/13 19:25] – created franken:bpi-r4:uboot [2024/02/26 21:06] (current) frank
Line 34: Line 34:
 BPI-R4> reset                                                                    BPI-R4> reset                                                                   
 resetting ... resetting ...
 +</code>
 +
 +===== debug =====
 +==== devicetree ====
 +
 +how to display uboot devicetree
 +<code>
 +BPI-R4> bdinfo
 +...
 +fdt_blob    = 0x00000000ff7fbc90
 +...
 +BPI-R4> fdt addr 0x00000000ff7fbc90
 +BPI-R4> fdt list
 +BPI-R4> fdt print /pcie@11290000
 +</code>
 +
 +==== pinmux ====
 +
 +<code>
 +BPI-R4> pinmux list                                                             
 +| Device                        | Driver                        | Parent        
 +| pinctrl@1001f000              | mt7988_pinctrl                | root_driver   
 +BPI-R4> pinmux dev pinctrl@1001f000                                             
 +dev: pinctrl@1001f000                                                           
 +BPI-R4> pinmux status                                                           
 +...
 +PCIE30_2L : Aux Func.1                                                          
 +PCIE30_2L : Aux Func.1                                                          
 +PCIE30_1L : Aux Func.1                                                          
 +PCIE30_1L : Aux Func.1                                                          
 +...
 +PCIE30_2L : Aux Func.1                                                          
 +PCIE30_1L : Aux Func.1                                                          
 +...
 +PCIE30_2L : Aux Func.1                                                          
 +PCIE30_1L : Aux Func.1                                                          
 +PCIE30_2L : Aux Func.1                                                          
 +PCIE30_2L : Aux Func.1                                                          
 +PCIE30_1L : Aux Func.1                                                          
 +PCIE30_1L : Aux Func.1
 +</code>
 +
 +==== clocks ====
 +
 +<code>
 +BPI-R4> clk dump                                                                
 + Rate               Usecnt      Name                                            
 +------------------------------------------                                      
 + 40000000                    |-- dummy40m                                     
 + 208000000            0        |-- dummy208m                                    
 + 12000000                    |-- dummy12m                                     
 +BPI-R4>
 </code> </code>
en/bpi-r4/uboot.txt · Last modified: 2024/02/26 21:06 by frank