build icon indicating copy to clipboard operation
build copied to clipboard

[Task]: UFS support for all major familiy vendors

Open HeyMeco opened this issue 4 months ago • 8 comments

UFS-Storage Status tracker

  • [x] Mediatek:
    • Only needed 4096 sector size from ufs extension
  • [x] Rockchip: (RK3576 only)
    • [x] Needed 4096 sector size and spoofing the rootfs PART-ID as EFI else doesn't see it as a target
    • [x] Compile U-Boot from source and have working UFS: Manually with ubuntu:jammy host (anything newer shows GPT error)
  • [x] Qualcomm:
    • Achieved with QCS6490
  • [ ] Allwinner:
    • Not yet looked at (Moved to 26.02 Milestone)

Other To-Do's

  • [ ] Make Armbian-Install work with UFS

HeyMeco avatar Sep 16 '25 19:09 HeyMeco

Jira ticket: AR-2754

github-actions[bot] avatar Sep 16 '25 19:09 github-actions[bot]

Actually on NanoPi M5 doesn't works: https://paste.superkali.me/govoqamofuviduj.yaml.

Even using the ufs extension, i think there's something wrong on uboot or directly on image, i waiting some answer from friendlyelec because on their repository i cannot find any ufs image

SuperKali avatar Sep 18 '25 07:09 SuperKali

After lots of trial and error on Rockchip:

The u-boot compilation requires ubuntu:jammy host but building the image requires trixie. UFS is now related to #8227 too.

Too get a working u-boot spi image I ran:

./compile.sh uboot BOARD=radxa-rock-4d BRANCH=vendor DOCKER_ARMBIAN_BASE_IMAGE=ubuntu:jammy

Then extracted and flashed the spi image from output folder like this:

dpkg -x linux-u-boot-your-board.deb ./
rkdeveloptool db rk3576_spl_loader.bin
rkdeveloptool cs 9 #9 is for SPI
rkdeveloptool ef
rkdeveloptool wl 0 ./usr/lib/linux-u-boot-vendor-your-board/rkspi_loader.img

This is the only way to produce a working u-boot as of today

@RadxaMitchell you might want to know this too

HeyMeco avatar Sep 18 '25 09:09 HeyMeco

@HeyMeco Unfortunately, I haven't had any luck, always the same old GPT errors.

SuperKali avatar Sep 18 '25 12:09 SuperKali

@HeyMeco Please share with us rkdeveloptool ppt command or ./upgrade_tool PL

SuperKali avatar Sep 18 '25 12:09 SuperKali

@superkali

Please share with us rkdeveloptool ppt command or ./upgrade_tool PL

rkdeveloptool works fine for this.

HeyMeco avatar Sep 18 '25 12:09 HeyMeco

I need the partition list

SuperKali avatar Sep 18 '25 12:09 SuperKali

NanoPi M5:

Using /home/superkali/Documenti/armbian-dev/tests/upgrade_tool_v2.30_for_linux/config.ini
Partition Info(gpt):
NO  LBA        Size       Name
01  0x00008000 0x00497800 rootfs
superkali@superkali:~/Documenti/a

SuperKali avatar Sep 18 '25 15:09 SuperKali