Jump to content

Rockpro64 pcie kernel delay


Krita

Recommended Posts

Hi all,

 

I'd love to run my sas2008 card on armbian.

 

Im currentky testing the ayufan 0.10.12 build and it is working with my sas cards flawlessly even with sas expanders and 16x hdd attached.

https://github.com/ayufan-rock64/linux-build/releases

On armbian or any other release for that matter there is insufficient boot wait time for to card, i believe these cards take around 400ms to boot with bios rom deleted. The patch provides 1 second wait time.

 

 

Working kernel patch is here thats been pulled into the above release

https://github.com/nuumio/rp64-linux-mainline-kernel/releases

 any chance of having this incorporated?

 

My skillset with kernel/image building is very short in supply so im not sure how much i can do but point me in the right direction and ill try, it appears this is a very usefull feature for those with lsi sas cards for bigger nas boxes.

 

Krita

 

Edited by Krita
Link to comment
Share on other sites

8 hours ago, Krita said:

point me in the right direction and ill try

My first suggestion is to isolate the patch that makes the changes you need. Right now, your link simply points to a list of zip files with whole kernel sources. Once you have the patch you need, applying it with the Armbian Build System is a piece of cake.

Link to comment
Share on other sites

5 hours ago, JMCC said:

My first suggestion is to isolate the patch that makes the changes you need. Right now, your link simply points to a list of zip files with whole kernel sources. Once you have the patch you need, applying it with the Armbian Build System is a piece of cake.

Hmmm mobile will catch you out every time, when i get back to my pc ill have to find the patch again and will update you.

Link to comment
Share on other sites

So does this look like the info required?

 

https://github.com/nuumio/linux-kernel/commit/5a65b17686002dc84d461bffa324a2cb68e67aee

 

From my reading this is how BSD has also got pcie working on these boards.

 

Of note is this mailing list regarding working thru the exact issue 9 months ago

http://u-boot.10912.n7.nabble.com/PATCH-rockchip-Add-delay-after-link-training-td414588.html

 

Edited by Krita
Info added
Link to comment
Share on other sites

7 hours ago, Krita said:

So does this look like the info required?

 

If you are referring to the info that's necessary for us to help you, as @Werner stated above, you've got it in the forum rules and in the warning you receive when you are going to post. You need to provide that if you want any help from our side.

 

My suggestion assumed that it was you who wanted to try the fix by yourself.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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