Jump to content

FA SOM-RK3399V2


webbbn

Recommended Posts

Is there any way/plans to support the FrindlyArm RK3399 SOM in Armbian? Does anyone know the hardware well enough to know if another firmware could be loaded on it? It seems to be a very nice module, and the dev board has just about everything one might want on it.

 

On a side note, possibly derailing my own topic, is there any plans to add any of the VPU patches for the RK3399 and associated software? It seems like support for that is getting pretty close, and it would be great if some of the patches that are floating around could get include in the official distro. I'm about to dive in an try getting at least accelerated ffmpeg working on my M4V2 and/or neo4, but have been hoping that it would get into the standard distro first. :-)

Link to comment
Share on other sites

There are no plans for that AFAIK. If you want to speed things up make yourself familiar with the build tools and start tinkering. Armbian is relying heavily on community and manufacturer contributions for new board support.

At least it is a known SoC which should not be that bad...

Link to comment
Share on other sites

I am plenty familiar with the build tools, but not so much with bringing up a new board. To quote a Donald Rumsfeld phrase, there are alot of "unknown unknowns". I suppose I could try booting a similar image and see what happens...

Link to comment
Share on other sites

Well, what do you know, it works!

 

At the very least, ethernet, wifi, and hdmi work. I don't know what else to test on it ATM. I plan to try an NVME drive, but that's still in the mail, and I'm curious if USB-C display will work.

 

One thing that interested me about this board/module was it's advertised ability to work with just a USB-C cable. It could be a really interesting board in that respect.

Link to comment
Share on other sites

7 hours ago, webbbn said:

Well, what do you know, it works!

 

At the very least, ethernet, wifi, and hdmi work. I don't know what else to test on it ATM. I plan to try an NVME drive, but that's still in the mail, and I'm curious if USB-C display will work.

 

One thing that interested me about this board/module was it's advertised ability to work with just a USB-C cable. It could be a really interesting board in that respect.

This is great news. If you can simply try further features of the board and report if they work or not with the m4v2 image. If somebody finds time initial support for this board can be added by simply copy paste.

Link to comment
Share on other sites

It appears that the USB ports are not working. Is there something in the device tree that enables them, or enables the power for them? It doesn't seem like anything happens when I insert a card, but I don't see anything in the schematic that would control power to them, other than the over current protection chip.

Link to comment
Share on other sites

3 minutes ago, webbbn said:

USB turned out to be a hardware issue. I booted a FA image, and USB didn't work there either, so I re-seated the module and USB is now working perfectly.

hardware issue -> human error :)

Link to comment
Share on other sites

This may also be "human error", but the USB-C is not working, at least not the same as with the FA image. With the FA image, I can plug a USB C "hub" with HDMI, ethernet, USB, etc, and it powers up during boot and works as expected, which is very nice. With the armbian image it does power up at all.

 

I believe the M4V2 only uses USB C for power, so I don't think think it has an equivalent of this, and I don't know where to look for how to enable it. Might there be a kernel configuration? The schematic shows a vbus detection line, power control, and some sort of interface IC (FUSB302MPX).

Link to comment
Share on other sites

On 8/7/2020 at 10:51 PM, webbbn said:

With the armbian image it does power up at all.

Is it with legacy or current/dev?

Legacy should probably work as it is based on FA kernel code directly and DTS differences between the two boards are minimal.

With current/dev it might be a whole different story though...

 

12 hours ago, Werner said:

Maybe @piter75 finds time to add this board as CSC

I can do that in the "mean time" ;-)

Link to comment
Share on other sites

I'm building the latest version of current, so it is understandable that it doesn't work.

 

Are there any RK3399 boards where USB-C works with Armbian mainline? It looks like the Firefly has a similar USB-C port, but I don't know if that works with Armbian either.

 

Link to comment
Share on other sites

On 8/9/2020 at 2:26 AM, webbbn said:

Are there any RK3399 boards where USB-C works with Armbian mainline?

AFAIK it is non functional yet...

 

Did you test your RK3399V2 SOM for stability in mainline?

M4V2 has some known stability issues that I currently attribute (maybe wrongly) to memory / design used.

RK3399V2 SOM uses the same RAM chips and I wonder if it shares the same issues.

Link to comment
Share on other sites

16 hours ago, webbbn said:

Is there s stress test that I could run?

For me it usually takes no more than few hours of memtester (apt install memtester) running to see first failures with M4V2 in mainline.

 

You can run it this way as root (for 4GB board). For 2GB the value of memory reservation for testing should be lower.

memtester 3280M 2>&1 | tee memtester.log

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines