AHCI SATA controller not detected

mushu

New Member


Messages: 1

Hi all,

It's for my Helios64 NAS.

I compiled FreeBSD 13.0-BETA2 with GENERIC kernel and the system boot fine but the AHCI SATA controller is not detected.

U-Boot rockpro64-rk3399 :​


Code:
$ git clone https://github.com/kobol-io/u-boot.git
$ cd u-boot
$ make rockpro64-rk3399_defconfig
$ make CROSS_COMPILE=aarch64-linux-gnu-
$ dd if=idbloader.img of=/dev/da0 seek=64 bs=512 conv=sync
$ dd if=u-boot.itb of=/dev/da0 seek=16384 bs=512 conv=sync

Code:
# pciconf -lv
pcib1@pci0:0:0:0:       class=0x060400 rev=0x00 hdr=0x01 vendor=0x1d87 device=0x0100 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Fuzhou Rockchip Electronics Co., Ltd'
    device     = 'RK3399 PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
ahci0@pci0:1:0:0:       class=0x010601 rev=0x00 hdr=0x00 vendor=0x197b device=0x0585 subvendor=0x197b subdevice=0x0000
    vendor     = 'JMicron Technology Corp.'
    device     = 'JMB58x AHCI SATA controller'
    class      = mass storage
    subclass   = SATA

U-Boot helios64 :​


Code:
$ git clone https://github.com/kobol-io/u-boot.git
$ cd u-boot
$ make helios64_defconfig
$ make CROSS_COMPILE=aarch64-linux-gnu-
$ dd if=idbloader.img of=/dev/da0 seek=64 bs=512 conv=sync
$ dd if=u-boot.itb of=/dev/da0 seek=16384 bs=512 conv=sync

Code:
# pciconf -lv
pcib1@pci0:0:0:0:       class=0x060400 rev=0x00 hdr=0x01 vendor=0x1d87 device=0x0100 subvendor=0x0000 subdevice=0x0000
    vendor     = 'Fuzhou Rockchip Electronics Co., Ltd'
    device     = 'RK3399 PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI


Thanks
 

diizzy

Well-Known Member

Reaction score: 111
Messages: 409

Only mainline u-boot is supported, PCIe works fine using ASM1061-based cards or Intel T350-T2 NICs at least.
 
Top