Firefly Open Source Community

   Login   |   Register   |
New_Topic
123
New Topic
Print Previous Topic Next Topic

RK3399 M.2 SATA

24

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
24

RK3399 M.2 SATA

Posted at 4/11/2017 03:44:30      View:15363 | Replies:25        Print      Only Author   [Copy Link] 1#
I have installed an M.2 SATA 2242 SSD on my RK3399. It doesn't appear to show up at all under Linux - is there something I'm missing?

thanks
Reply

Use props Report

127

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
127
Posted at 4/11/2017 07:03:11        Only Author  2#
I have a similar problem: I've inserted a M.2 -> SATA converter [1] and attached a sata harddrive, but the drive is not showing up in Linux. I've looked at `lsblk` and `lspci` (the latter results in an error) with no luck.

[1]: http://www.microsatacables.com/m ... apter-ngff-b-m-7pin
Reply

Use props Report

125

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
125
Posted at 4/12/2017 11:00:42        Only Author  3#
i think I saw that the kernel needs to be configured for support in another thread
Reply

Use props Report

127

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
127
Posted at 4/12/2017 13:07:41        Only Author  4#
BiatuAutMiahn Posted at 4/12/2017 11:00
i think I saw that the kernel needs to be configured for support in another thread

Do you have a link?
Reply

Use props Report

127

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
127
Posted at 4/14/2017 10:33:41        Only Author  5#
I just tried with the latest beta image: https://drive.google.com/drive/f ... gAqAN0hWd1FMN1Zjb0k

... still no dice.

Do I have to use the official adapter board? http://shop.t-firefly.com/goods.php?id=52

Or do I have to use a different kernel to get pci/m.2 support?
Reply

Use props Report

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173
Posted at 4/19/2017 12:05:13        Only Author  6#
I have done some research, the kernel looks like it has PCI enabled in the config (how/if it's implemented I do not know) and I'm now leaning toward u-boot needing some configuration to use the PCIe bus. I have reached out to support but no reply from them at this time.
Reply

Use props Report

173

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
173
Posted at 4/19/2017 13:20:09        Only Author  7#
I did just get confirmation on the #linux-rockchip irc channel that someone has actually gotten pci working but not with the firefly. He pointed me to the https://github.com/rockchip-linux/kernel project and said the 4.4 kernel is what he used. He was also kind enough to show where in the device tree pci was defined https://github.com/rockchip-linux/kernel/blob/release-4.4/arch/arm64/boot/dts/rockchip/rk3399-firefly-linux.dts#L744  Now, last time I looked through the firefly SDK source and compiled a kernel I did notice that device tree was not enabled in the .config so unless I misunderstood something, the kernel will need to be compiled with device tree support to properly use the pci bus. This should include m.2 SSD devices also.
Reply

Use props Report

24

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
24
Posted at 4/27/2017 00:57:23        Only Author  8#
Is there actually SATA support on the M.2 slot or is it PCI-E only? Seems strange they made the decision to put the mini PCI-E port on the bottom instead of the M.2 (would have had space for a full size 2280 drive there). Problem here is that if there is no SATA support on the M.2 - you can't really find PCI-E drives in that form factor so you have to use an awkward adapter card.
Reply

Use props Report

127

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
127
Posted at 4/30/2017 11:16:24        Only Author  9#
I just tried again with the latest `Firefly-rk3399_xubuntu1604_201704271809` image - it still doesn't work...
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 5/2/2017 19:22:58        Only Author  10#
Hi  
did you get the "/dev/block/nvme0n1p1" when insert your pci-e devices.?
Reply

Use props Report

Return to List
123
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list