-
Couldn't load subscription status.
- Fork 52
Ambarella upstream #73
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
50cf17e
3240991
0abdc5e
35e2579
36362d5
ad42769
d4eb618
6a0fc53
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,6 +67,8 @@ tested: | |
| family: bcm | ||
| bcm2712: | ||
| family: bcm | ||
| cv22: | ||
| family: ambarella | ||
| untested: | ||
| a10: | ||
| family: sunxi | ||
|
|
@@ -154,3 +156,11 @@ untested: | |
| family: sunxi | ||
| v853: | ||
| family: sunxi | ||
| cv22: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SoC models should only appear once in supported_socs.yaml, either in the "tested" section or the "untested" one. This one appears in both. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay will keep the cv22 under tested, rest untested as I don't have the HW. |
||
| family: ambarella | ||
| cv25: | ||
| family: ambarella | ||
| cv28: | ||
| family: ambarella | ||
| cv35: | ||
| family: ambarella | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -249,6 +249,10 @@ def get_recovery(soc_family: str): | |
| from snagrecover.recoveries.bcm import main as bcm_recovery | ||
|
|
||
| return bcm_recovery | ||
| elif soc_family == "ambarella": | ||
| from snagrecover.recoveries.ambarella import main as ambarella_recovery | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't see |
||
|
|
||
| return ambarella_recovery | ||
| else: | ||
| cli_error(f"unsupported board family {soc_family}") | ||
|
|
||
|
|
||
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.
commit-wide comment: the commit history of Snagboot should be bisectable as much as possible, meaning each commit should allow Snagboot to run without errors.
In this commit, you're adding references to modules which don't exist yet.
I'd prefer if you reordered the commits so that each one is valid Python. So in this specific case, the commits adding the protocol and firmware code should come before this one.
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.
Okay, will rearrange the code so it's self contained and does not require any future code.