-
Notifications
You must be signed in to change notification settings - Fork 140
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
Things to test or do before next apio release (2024) #444
Comments
'apio upload' command with a tinyprog board.To TestRun an NotesThe scons filter was changed to preserve formatting and empty lines and this may cause the percentage report to scroll down. If this is the case, the likely fix would be to add erasure of a second line in the tinyprog filter. apio/apio/managers/scons_filter.py Line 288 in 5c47620
|
'apio upload' command with a fumu board.To TestRun an NotesThe scons filter was changed to preserve formatting and empty lines and this may cause the percentage report to scroll down. If this is the case, the likely fix would be to add erasure of a second line in the fumu filter. apio/apio/managers/scons_filter.py Line 260 in 5c47620
|
Ok @zapta ! good work! i'm try to prepare a rig with some fpgaboards to automtize the checks, i think could be very interesting |
Test all commands with a Gowin projectCurrently we have test projects, with testbenches, for ICE40 and ECP5 (see below) but not for Gowin such that some of the development we are doing is with no testing, even not manual. https://github.com/FPGAwars/apio/tree/develop/test-examples/TB/Alhambra-II/icestudio/ledon |
I'm working on gowin fpgas support i'm push very soon. |
Address the FTDI driver change on windowsWindows that upgraded to the new release may need to change the ftdi driver they installed using zadig. We should test this upgrade path, streamline it with code if possible (e.g. provide a warning if we see an old driver) and include that in the release notes. |
Hi @zapta! with the developer version (apio upstream) zadig does't launch , has you changed the apio command to enable the driver? |
@cavearr, it does launch on my windows 10. For testing, try also 'apio raw zadig --env'. Are you sure that windows doesn't ask you for permission to elevate zadig to high privileges? Look at the task bar at the bottom of the screen, it may be blinking. |
i'm updating icestudio, apio works well, thanks! |
Hi @zapta the command that fails from Icestudio is "apio install drivers" , now, what is the equivalent? Thanks! |
@cavearr, The new equivalent is apio/apio/resources/packages.json Line 82 in f0aca51
|
Test migration to the new versionSome of the changes in this version are
This entry is for the testing of the transition to the new apio version. The starting point can be, the user has a 'non-clean' working project (without If needed, we can add additional code to simplify the migration. So far we have:
|
Hi @zapta ! i'm working in icestudio migration in a couple of days (along the weekend as most) i'll can test it. I think all the tests should be formed in apio alone, and icestudio, independently. The first test i'll do with alhambra-ii board but once all works i'll test with some ecp5 boards , gowin boards (por apicula support), and custom boards to test raw commands. |
Hi @cavearr, you are right, apio should be tested independently. Your plan sounds great. On what platforms can you test? Also, I suggest to test only projects with apio.ini (that is, no --board, --fpga, --size, etc flags) since this will be the coming release. If you encounter any problem with apio or have some wish, please let me know and I will fix it. |
Hi @zapta, the plan is once the development is finished, I will test it on Linux, Linux Arm64 and Osx Arm. @Democrito will test it on Windows with the Alhambra-ii I will try the Alhambra-ii, colorlight-i5, radiona ulx3s, tinyfpga, icebreaker, fomu and for apicula on the tang nano 1k and 9k Look forward to some fun days XD |
Hi @cavearr, that's exciting! You don't need to test the deprecated commands since they will go away anyway.
|
@cavearr, also no need to test command lines flags that are marked as
|
Verify packages.json and distribution.jsonDuring development I sometimes point a package to a dev version or to my own temp repo. This item is for verifying the package sources and versions in packages.json() and distribution.json(). |
Hi @zapta ! i'm going step by step with the tests, i'm posting you here doubts ok? if you prefer that i open new issues tell me how do you want to manage it.
in the new way i'm trying: apio packages --install examples This works as spected and download the full example dir in .apio dir but i ask you if there is a way to install examples in particular like the old way. In other hand i'm asking you for a command to launch zadig in windows. In some tests , i am founding that in some windows is necesary launch zadig and install winusb from there, and now apio not launch zadig or i don't know how (i don't find a pattern, could be depending the driver for the usb port, for this is important to have an option to launch zadig). Thanks! |
Hi @cavearr, posting here is ok.
|
When I start zadig from apio I get this blinking at the bottom of the screen (play the video below). When I click on it windows asks me for permission to run zadig. This is because zadig needs administrator privileges. This is on windows 10. zadig.mp4 |
Hi @zapta ! thanks for your sooner reply! is strange ecause i know the "blinking" popup for permissions, but this doesn't work, could be a problem in my setup, i'll review it, don't worry. Thanks for your detailed reponse! |
Try to see if you have the zadig.exe in a package installed under
~/.apio/packges. If you find it, try to run it from a python script,
similar to the ay apio does in the link below.
```
import os
os.system("<path to zadig.exe>")
```
here
https://github.com/FPGAwars/apio/blob/1b28d89205ad8627b2107d3a1df198d169bd8e63/apio/managers/drivers.py#L476
…On Sat, Nov 30, 2024 at 12:08 PM Carlos Venegas Arrabé < ***@***.***> wrote:
Hi @zapta <https://github.com/zapta> ! thanks for your sooner reply! is
strange ecause i know the "blinking" popup for permissions, but this
doesn't work, could be a problem in my setup, i'll review it, don't worry.
Thanks for your detailed reponse!
—
Reply to this email directly, view it on GitHub
<#444 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQVMQLGEFXXNW6XUP2KAPL2DILKVAVCNFSM6AAAAABQHQ2PJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGE4DMNJRGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Don't worry problem in my system, i'm on it |
It's interesting, on my windows computer, I get the blinking tab only when
I run apio from git bash. When I run apio from windows cmd, zadig starts
up with no blinking. That's good because most windows users, I presume, use
windows cmd.
…On Sat, Nov 30, 2024 at 1:54 PM Carlos Venegas Arrabé < ***@***.***> wrote:
Don't worry problem in my system, i'm on it
—
Reply to this email directly, view it on GitHub
<#444 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQVMQIMPAU52RIBYL75FLD2DIXXVAVCNFSM6AAAAABQHQ2PJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGM4TMMJXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Inform the user about non obvious changes
|
@zapta ,Why do you don't recomend it? if we modify the documentation could be interesting explain why and what is the preferred format. |
@cavearr, I created here an issue for this feature request #481 Using DUMPSTR and VCD_OUTPUT is confusing and and unnecessary and with this new feature, hardcoding $dumpfile("my_tb.vcd") may lead to inconsistency because it may conflict with where apio is expects the file. For example, we moved all the artifact files from the project dir to _build subdirectory and the hard coded $dumpfile() stayed at the old place. |
Create new packages releases and update distribution.jsonThe goal is to make sure that the packages repos and their build script are not broken and that the releases included the latest stuff.
|
Test 'apio raw' on all platforms, using apio generated commandThis release changed 'apio raw' with the goal of supporting all apio generated commands. For example the To test, on each platform, run the Note that with the new |
@Obijuan, @cavearr, this issue lists functionality of apio that may have changed but was not tested, for example because lack of boards or platforms. Please make sure to revisit and test it before the next release.
I will add comments to this thread as we go.
The text was updated successfully, but these errors were encountered: