Tool/software:
Hi team
My goal is to implement an adaptation of ds90ub960->ds90ub953->ox03c10
1、My question is,
(1) How to see the successful association between 960 and 953
(2) ds90ub953.ko is not loaded after the device is started, does it need to be loaded manually
(3) Although the 960 driver is finished, the function in the figure is not executed. Is there a problem with this and how to solve it
static int ub960_init_rx_ports(struct ub960_data *priv) 2155 { 2156 unsigned int nport; 2157 2158 for (nport = 0; nport < priv->hw_data->num_rxports; nport++) { 2159 struct ub960_rxport *rxport = priv->rxports[nport]; 2160 2161 if (!rxport) { 2162 continue;(Hi,team,It will loop through here four times and then exit the function) 2163 } 2164 2165 if (priv->hw_data->is_ub9702) 2166 ub960_init_rx_port_ub9702(priv, rxport); 2167 else { 2168 ub960_init_rx_port_ub960(priv, rxport);(This function will not execute) 2169 } 2170 } 2171 2172 return 0; 2173 }
注. 1、This is my uEnv.txt
...... uenvcmd=if run check_psdk_setup; then echo "Already setup."; else run do_psdk_setup; mw.b ${loadaddr} 0 1; fatwrite mmc 1:1 ${loadaddr} .psdk_setup 1; reset; fi; if test "$board_name" = "j721e-evm"; then ; setenv args_all $args_all systemd.hostname=tda4vm; fi; if test ${boot_fit} -eq 1; then setenv name_overlays $name_overlays_fit; fi; # Setting the right U-Boot environment variables dorprocboot=1 name_overlays=k3-j721e-evm-fusion.dtbo \ k3-fpdlink-imx390-rcm-1-0.dtbo # Name overlays when booting from fit image name_overlays_fit=ti/k3-j721e-evm-fusion.dtbo \ ti/k3-fpdlink-imx390-rcm-1-0.dtbo
Thanks in advance!
Best wishes