Skip to content

Commit

Permalink
labgrid-exporter: add RKUSBLoader match to template
Browse files Browse the repository at this point in the history
RKUSBLoader is the resource associated with Rockchip SoCs that fall
through to BootROM mode, when no other bootable media is found.

Add it to the resource list, so the Labgrid exporter running on the LXA
TAC can announce suitable resources when they exist.

Note that this on its own is not sufficient: RKUSBDriver, which will
operate on RKUSBLoader expects rkdeveloptool to be installed.
This is available in the Debian repositories, but we don't have a
bitbake recipe for that yet.

What we do have is rk-usb-loader, which is the RK35xx-loader bundled
with barebox. This supports only the SoCs supported by barebox, has
different arguments than rkdeveloptool and is not supported by Labgrid
at all. The fact that the default tool expected by RKUSBDriver is
named rk-usb-loader is a quite unfortunate accident...

Signed-off-by: Ahmad Fatoum <[email protected]>
  • Loading branch information
a3f committed Nov 12, 2024
1 parent 8ac553f commit 351f05e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ lxatac-usb-ports-p{{idx}}:
IMXUSBLoader:
match:
'ID_PATH': '{{sysfs}}'
RKUSBLoader:
match:
'ID_PATH': '{{sysfs}}'
LXAUSBMux:
match:
'@ID_PATH': '{{sysfs}}'
Expand Down

0 comments on commit 351f05e

Please sign in to comment.