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

rock-3a:add u-boot image for sata boot on m.2 e.key #7254

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pykpkg47
Copy link

Description

add patch which add to vendor u-boot support for sata boot from m.2 e-key(switch m.2 to sata and extra sata defconfig)
added additional u-boot target too build the additional u-boot image with these changes
the patch can be removed if this pull request for vendor u-boot for rock-3a is accepted radxa/u-boot#95

Documentation summary for feature / change

rock-3a:add u-boot image for sata boot on m.2 e.key

  • for sata boot the rkspi_loader_sata.img has to be flashed on spi flash (use dd or flashcp)

  • flash armbian image to sata device with dd (or ifd3f/caligula , etcher cli )

  • mount armbian boot partition on sata device and add rock-3a-sata too useroverlay

  • poweroff and remove sdcard( or emmc ) to boot from sata

    armbian install doesnt work because u-boot needs extra vfat boot partition which armbian install doesnt create only single
    partition

How Has This Been Tested?

compiled with github ci https://github.com/pykpkg47/armbian-image-build/actions/runs/10874313933/job/30171463631
compile log https://paste.armbian.com/fasuhomeri
artifacts : https://github.com/pykpkg47/armbian-image-build/releases/tag/24.8.3

tested on rock-3a u-boots detects sata ssd connected via adapter to m.2 e-key and boots kernel from it

Checklist:

  • [x ] My code follows the style guidelines of this project
  • [x ] I have performed a self-review of my own code
  • [ x] My changes generate no new warnings

Signed-off-by: pykpkg47 <pykpkg@protonmail.com>
@github-actions github-actions bot added size/large PR with 250 lines or more Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... labels Sep 15, 2024
@igorpecovnik
Copy link
Member

the patch can be removed if this pull request for vendor u-boot for rock-3a is accepted

OK, lets wait a bit, so we don't need to add another PR for its removal later.

@igorpecovnik igorpecovnik added Work in progress Unfinished / work in progress 11 Milestone: Fourth quarter release labels Sep 16, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch is already merged upstream:
radxa/u-boot@ef41a33
radxa/u-boot@980b652

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So its enough if patch is removed, the rest stays?

@igorpecovnik igorpecovnik added 02 Milestone: First quarter release and removed Work in progress Unfinished / work in progress 11 Milestone: Fourth quarter release labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
02 Milestone: First quarter release Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... size/large PR with 250 lines or more
Development

Successfully merging this pull request may close these issues.

3 participants