Skip to content
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

Add support for TI AM62P Starter Kit EVM on Common Torizon #232

Draft
wants to merge 3 commits into
base: scarthgap-7.x.y
Choose a base branch
from

Conversation

lucas-akira
Copy link
Contributor

@lucas-akira lucas-akira commented Feb 11, 2025

Also for the AM62x EVM:

  • Add support for OS rollback;
  • Update kernel parameters during boot to be aligned with the other supported machines.

The AM62P EVM support has the above features as well.

Related-to: TOR-3725

Add support for OS rollback by enabling the U-Boot environment to be
saved in a persistent storage. In this case the environment will be
saved in the first boot hardware partition of the eMMC
(/dev/mmcblk0boot0).

The values of CONFIG_ENV_OFFSET and CONFIG_ENV_SIZE were taken from this
tentative patch to U-Boot:

https://lore.kernel.org/all/5cda75ec-f7d4-bfe4-b23c-87394c19175b@ti.com/T/

In uEnv.txt.in, the uenv_extra_configs function now runs after
check_rollback_needed. This is done so that any auxiliary
functions/configs can also be applied during a rollback boot. In fact,
this is needed for this board, as uenv_extra_configs executes a function
to correct the fdtfile variable and it should always be executed,
whether the board is in rollback state or not.

Signed-off-by: Lucas Akira Morishita <lucas.morishita@toradex.com>
Signed-off-by: Lucas Akira Morishita <lucas.morishita@toradex.com>
Add initial Torizon OS support for the Texas Instruments AM62P starter
kit evaluation module (SK-AM62P-LP).

The resulting .wic image file should be flashed to an SD card and the
EVM should be configured for SD card boot mode.

Related-to: TOR-3725

Signed-off-by: Lucas Akira Morishita <lucas.morishita@toradex.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant