-
Notifications
You must be signed in to change notification settings - Fork 6
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
i.MX6ul updates #20
base: v2020.01-ts
Are you sure you want to change the base?
i.MX6ul updates #20
Conversation
"chrg_pct=60\0" \ | ||
"chrg_verb=0\0" \ | ||
"silochargeon=silabs scaps disable;" \ | ||
"if test $silopresent = '1';" \ | ||
"then if test $jpnochrg = 'off';" \ | ||
"then silab scaps enable;"\ | ||
"fi;"\ | ||
"fi;\0" \ | ||
"silowaitcharge=if test $silopresent = '1';" \ | ||
"then if test $jpnochrg = 'on';" \ | ||
"then echo 'NO CHRG jumper is set, not waiting';" \ | ||
"else silabs scaps wait pct ${chrg_pct};" \ | ||
"fi;" \ | ||
"fi;\0" \ | ||
"silo_chrg_pct=60\0" \ |
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'm not sure what the current paradigm is, but, with these changes is there:
- A way to enable charging without having to set the
silo_chrg_pct
and wait for it? - Not have waiting for charge enabled out of the box so the first boot experience isn't the user waiting ~60 s for the platform to actually turn on.
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.
- No, but a user could turn this on in linux with tsmicroctl. I'm not sure what the real use case is for this.
- The TS-7100 does not have a no charge jumper. During development the user can press ctrl+c to stop charging and boot. I'll add a printf to make this more apparent that the user can do that to boot immediately.
"chrg_pct=60\0" \ | ||
"silochargeon=silabs scaps disable;" \ | ||
"if test $silopresent = '1';" \ | ||
"then if test $jpnochrg = 'off';" \ | ||
"then silabs scaps enable;"\ | ||
"fi;"\ | ||
"fi;\0" \ | ||
"silowaitcharge=if test $silopresent = '1';" \ | ||
"then if test $jpnochrg = 'on';" \ | ||
"then echo 'NO CHRG jumper is set, not waiting';" \ | ||
"else silabs scaps wait pct ${chrg_pct};" \ | ||
"fi;" \ | ||
"fi;\0" \ | ||
"silo_chrg_pct=60\0" \ |
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'm not sure what the current paradigm is, but, with these changes is there:
- A way to enable charging without having to set the
silo_chrg_pct
and wait for it? - Not have waiting for charge enabled out of the box so the first boot experience isn't the user waiting ~60 s for the platform to actually turn on.
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.
- Same as the last, but:
- We do have a no charge jumper on this board. I'll add a preboot in the next pass that sets the charge percent to 0.
This is now controlled completely by 'silo_chrg_pct' on both boards. If the variable doesn't exist, supercaps are disabled If the variable is 0, supercaps charging is enabled and we boot immediately if the variable is 1-100, we enable and wait until the caps are charged to that percent If it is > 100, it is capped to 100
51108b7
to
a8478d8
Compare
Switch to new silo driver. remove older utility, and control the feature only from silo_chrg_pct.
Enable FDT overlay support