Skip to content

Commit 351f05e

Browse files
committed
labgrid-exporter: add RKUSBLoader match to template
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 <a.fatoum@pengutronix.de>
1 parent 8ac553f commit 351f05e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

meta-lxatac-software/recipes-devtools/python/python3-labgrid/configuration.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ lxatac-usb-ports-p{{idx}}:
7171
IMXUSBLoader:
7272
match:
7373
'ID_PATH': '{{sysfs}}'
74+
RKUSBLoader:
75+
match:
76+
'ID_PATH': '{{sysfs}}'
7477
LXAUSBMux:
7578
match:
7679
'@ID_PATH': '{{sysfs}}'

0 commit comments

Comments
 (0)