Commit 3bfcc6a
committed
functestlib: fix remoteproc firmware path lookup
Rework get_remoteproc_path_by_firmware() to iterate firmware files
directly and read them without using cat. This avoids the bogus idx
arithmetic that caused "operand expected" errors while still allowing
callers to derive the remoteproc index from the returned path.
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>1 parent 206d41a commit 3bfcc6a
1 file changed
+28
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1900 | 1900 | | |
1901 | 1901 | | |
1902 | 1902 | | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
1903 | 1907 | | |
1904 | | - | |
1905 | | - | |
1906 | | - | |
1907 | | - | |
1908 | | - | |
1909 | | - | |
1910 | | - | |
1911 | | - | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
1912 | 1932 | | |
1913 | 1933 | | |
1914 | 1934 | | |
| |||
0 commit comments