-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update UUUDriver #1587
base: master
Are you sure you want to change the base?
Update UUUDriver #1587
Conversation
6f90abb
to
4264963
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are changing the binary name, is that something that NXP has done since a specific uuu release? If so can you link to the release? It's probably better to add a new driver based on uuu instead of reusing the older driver to not break existing users.
I never found in the documentation mentioned |
@jremmet what it your opinion on this? |
4264963
to
494c462
Compare
Agree, it's really weird where the |
Changes default binary name from `uuu-loader` to `uuu`. The driver will use the usb-path to pass it to `-m` parameter to specifiy the usb-device to monitor. Signed-off-by: Tafil Avdyli <[email protected]>
Signed-off-by: Tafil Avdyli <[email protected]>
labgrid/driver/usbloader.py
Outdated
|
||
cmd = ( | ||
[self.tool, '-v', '-m', usb_device] | ||
+ ['-b', self.script] if self.script else [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ ['-b', self.script] if self.script else [] | |
+ (['-b', self.script] if self.script else []) |
I forgot to retest after refactoring the cmd
. I'll force push the change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have successfully retested the bootstrap command on a Raspberry Pi with 3x i.MX8 boards
494c462
to
c4a78e2
Compare
Description
Changes default binary name from
uuu-loader
touuu
. The driver will use the usb-path to pass it to-m
parameter to specifiy the usb-device to monitor.With this multiple i.MX devices can be attached to one exporter device.
This has been tested on a Raspberry Pi with 3 attached i.MX8M Nano SoCs in SDP-Mode.
The uuu-tool used the specified usb-device.
Checklist