ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

AP_HAL_Linux: Correcting soc filename size in file detection.

Open massout opened this issue 1 month ago • 2 comments

soc filename size for comparison has changed from 4 to 3. Without this change, you might be getting a "ranges" file not found error.

massout avatar Nov 29 '25 09:11 massout

What does ls /proc/device-tree/ look like on an affected device?

tpwrules avatar Nov 29 '25 19:11 tpwrules

$ ls /proc/device-tree/
'#address-cells'   aliases    cam0_reg        chosen     compatible    firmwarekms      interrupt-parent   model   pwr_button        sd-io-1v8-reg    system
'#size-cells'      arm-pmu    cam1_clk        clk-108M   cooling_fan   hvs@107c580000   leds               name    reserved-memory   sd-vcc-reg       thermal-zones
 __overrides__     axi        cam1_reg        clk-27M    cpus          i2c0if           memory@0           phy     rp1_firmware      serial-number    timer
 __symbols__       cam0_clk   cam_dummy_reg   clocks     dummy         i2c0mux          memreserve         psci    rp1_vdd_3v3       soc@107c000000   wl-on-reg

massout avatar Dec 01 '25 07:12 massout