Hi,
I'm trying to use flashing script with one of my IMX family boards. Flashing one of the boards requires a file which name starts with SPL-. I need to pre-process some of the downloaded files so I'm using deploy-to-downloads. After that I'm using deploy-to-flasher to flash the board with NXP's uuu tool. Unfortunately copying files from deploy-to-downloads to deploy-to-flasher results in losing the uppercase characters. This is due to LAVA internally using urllib.parse.urlparse.hostname. This method always returns lowercase strings. This doesn't matter in case of http(s) URLs but makes a difference in LAVA's internal download:// URLs. To fix that, 'hostname' should be changed to 'netloc'. I sent the patch to my branch here: https://git.lavasoftware.org/mwasilew/lava/-/tree/downloads-url-case Unfortunately I'm no longer able to create a merge request (sth wrong with authentication in gitlab). Could someone with enough powers pull this patch?
Best Regards, Milosz
Hello Milosz,
FYI the MR has been created and merged into the 2022.02 release (available today). See https://git.lavasoftware.org/lava/lava/-/merge_requests/1692
Why can't you create an MR?
Le lun. 21 févr. 2022 à 21:22, Milosz Wasilewski < milosz.wasilewski@foundries.io> a écrit :
Hi,
I'm trying to use flashing script with one of my IMX family boards. Flashing one of the boards requires a file which name starts with SPL-. I need to pre-process some of the downloaded files so I'm using deploy-to-downloads. After that I'm using deploy-to-flasher to flash the board with NXP's uuu tool. Unfortunately copying files from deploy-to-downloads to deploy-to-flasher results in losing the uppercase characters. This is due to LAVA internally using urllib.parse.urlparse.hostname. This method always returns lowercase strings. This doesn't matter in case of http(s) URLs but makes a difference in LAVA's internal download:// URLs. To fix that, 'hostname' should be changed to 'netloc'. I sent the patch to my branch here: https://git.lavasoftware.org/mwasilew/lava/-/tree/downloads-url-case Unfortunately I'm no longer able to create a merge request (sth wrong with authentication in gitlab). Could someone with enough powers pull this patch?
Best Regards, Milosz _______________________________________________ Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
On Tue, Mar 1, 2022 at 11:00 AM Remi Duraffort remi.duraffort@linaro.org wrote:
Hello Milosz,
FYI the MR has been created and merged into the 2022.02 release (available today). See https://git.lavasoftware.org/lava/lava/-/merge_requests/1692
Great! Thank you for your help with the release. I'll try to upgrade over the coming week.
Why can't you create an MR?
I don't know, gitlab didn't let me. Maybe I wasn't properly logged in? I'll check next time I have some patch to submit.
Best Regards, Milosz
Le lun. 21 févr. 2022 à 21:22, Milosz Wasilewski milosz.wasilewski@foundries.io a écrit :
Hi,
I'm trying to use flashing script with one of my IMX family boards. Flashing one of the boards requires a file which name starts with SPL-. I need to pre-process some of the downloaded files so I'm using deploy-to-downloads. After that I'm using deploy-to-flasher to flash the board with NXP's uuu tool. Unfortunately copying files from deploy-to-downloads to deploy-to-flasher results in losing the uppercase characters. This is due to LAVA internally using urllib.parse.urlparse.hostname. This method always returns lowercase strings. This doesn't matter in case of http(s) URLs but makes a difference in LAVA's internal download:// URLs. To fix that, 'hostname' should be changed to 'netloc'. I sent the patch to my branch here: https://git.lavasoftware.org/mwasilew/lava/-/tree/downloads-url-case Unfortunately I'm no longer able to create a merge request (sth wrong with authentication in gitlab). Could someone with enough powers pull this patch?
Best Regards, Milosz _______________________________________________ Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
-- Rémi Duraffort TuxArchitect Linaro
lava-users@lists.lavasoftware.org