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

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11 Milestone: Fourth quarter release Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ... size/large PR with 250 lines or more Work in progress Unfinished / work in progress
Development

Successfully merging this pull request may close these issues.

2 participants