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 5 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

@lucas-akira lucas-akira force-pushed the TOR-3725 branch 2 times, most recently from ba966fa to c6d06d9 Compare February 21, 2025 14:09
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/[email protected]/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 <[email protected]>
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 <[email protected]>
For AM62x and AM62P Starter Kit EVMs the splash screen wasn't
appearing during boot on the HDMI output.

Both EVMs use a SiI9022A bridge chip to generate the HDMI signal, so the
corresponding driver should be loaded at the same stage where Plymouth
is initialized, which is in initramfs in our case.

The driver is built and loaded as a kernel module named sii902x.

Signed-off-by: Lucas Akira Morishita <[email protected]>
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