Jump to content

[Armbian build PR] - patch: uboot: v2023.07.02: bananapicm4: sata boot support


Recommended Posts

Posted

This does not change the current boot order and requires additional hardware.

Hardware used in my testing:

BananaPi BPI-CM4IO Baseboard with BPI-CM4 Module

Mini PCI-E PCI Express to SATA 3.0 Dual Ports Adapter Converter Hard Drive Extension Card https://a.co/d/0G679qW

Kingston 120GB A400 SATA 3 2.5" Internal SSD https://a.co/d/fB2qf3r

External power supply for Hard Drive 2.5" 3.5" https://www.ebay.com/itm/114620135743

bananapi: ~  $ lspci
00:00.0 PCI bridge: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01)
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)

bananapi: ~  $ sudo blkid
/dev/mmcblk1p1: LABEL="EMMC" UUID="67ea5c62-c9cb-498e-91ff-3e60d71bd1ab" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="0a8751c2-01"
/dev/sda2: LABEL="ROOTFS" UUID="39d23eae-ba3a-4b28-acba-8f45ff8eed1c" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="e6053ca6-02"
/dev/sda1: LABEL="BOOT" UUID="d540a625-98a8-4c73-a5a3-7a905d5bbb98" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e6053ca6-01"
/dev/zram0: UUID="ee6d34f4-fda2-4207-8dc9-b8a4b83cd759" TYPE="swap"

bananapi: ~  $ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda            8:0    0 111.8G  0 disk 
├─sda1         8:1    0   508M  0 part /boot
└─sda2         8:2    0 111.3G  0 part /
mmcblk1      179:0    0  14.6G  0 disk 
└─mmcblk1p1  179:1    0  14.6G  0 part 
mmcblk1boot0 179:32   0     4M  1 disk 
mmcblk1boot1 179:64   0     4M  1 disk 
zram0        253:0    0     1G  0 disk [SWAP]

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [X] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines