[Task]: UFS support for all major familiy vendors
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
Jira ticket: AR-2754
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
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 Unfortunately, I haven't had any luck, always the same old GPT errors.
@HeyMeco Please share with us rkdeveloptool ppt command or ./upgrade_tool PL
@superkali
Please share with us
rkdeveloptool pptcommand or./upgrade_tool PL
rkdeveloptool works fine for this.
I need the partition list
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