How to control FAN on Rockpro64?


mabs
 Share

4 4

Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

On 11/13/2020 at 9:28 PM, soerenderfor said:

@GreyLinux - Sorry for the delay, i did use 2020.01-ayufan-2014-gff2cdd38 uboot. I'm pretty sure just flashed it on sd card (not 100% sure) and flashed spi, the i could boot Armbian from my "5" port on sata pcie card.

Maybe it is possible with


armbian-config

I'm not sure, because i haven't tryed uboot update from armbian-config.

 

 

Nice 👍 thanks @soerenderfor
this is my next objective . I will have a look into whether I can do it with armbian-config .

Link to post
Share on other sites

On 11/13/2020 at 10:28 PM, soerenderfor said:
On 11/13/2020 at 10:28 PM, soerenderfor said:

@GreyLinux - Sorry for the delay, i did use 2020.01-ayufan-2014-gff2cdd38 uboot. I'm pretty sure just flashed it on sd card (not 100% sure) and flashed spi, the i could boot Armbian from my "5" port on sata pcie card.

Maybe it is possible with




armbian-config

I'm not sure, because i haven't tryed uboot update from armbian-config.

 

Hi @soerenderfor, can you explain a bit further the process?

 

I downloaded the u-boot-flash-spi-rockpro64 from there : https://github.com/ayufan-rock64/linux-mainline-u-boot/releases/tag/2020.01-ayufan-2014-gff2cdd38

I downloaded the last release of armbian for RockPro64.

 

Then :

 -Flash u-boot

- Install armbian then use armbian-config to move the system to my Sata SSD (Boot from SPI - System on SATA)

- Still in armbian-config, I accepted/declined the option to update the bootloader in the SPI flash

 

I did those three in every order, flashing first then installing, installing then flashing, accepting the update to the bootloader in armbian-config, then declining it...

 

Leaving the bootloader on the SD card does works ("Boot from SD - System on SATA" in Armbian-config), but I can get my RockPro64 to boot directly from the SATA SSD.

 

What am I doing wrong / What did you do exactly to make it work?

Link to post
Share on other sites

@Waryle - Myself did use, uboot from.. Auyfan, i'm pretty sure, it was an img to burn on the sdcard to the spi. It was pretty easy. I will look for it tonight. Thanks.

*Im not 100% sure if the uboot, was able to boot from any port, what card do you use?
*This one on your sdcard -  u-boot-flash-spi-rockpro64.img.xz, boot up. If remember right it is that one, and when your box start blinking, it should be done. I did wait a minut, just to make sure it was done right.

NOTE

**2020.01-ayufan-2014-gff2cdd38 released

ayufan: rockchip: allow to boot scsi4, as JMS585 can have 5 drives

Link to post
Share on other sites

Sorry, the forum limits me to 1 comment every once in a while, I couldn't answer earlier.

 

@soerenderfor

I did use a Samsung SD Card ( https://www.amazon.com/Samsung-Class-Micro-Adapter-MB-MC32GA/dp/B0749KG1JK/ref=sr_1_3?dchild=1&keywords=samsung%2Bsd%2B32gb&qid=1607026358&sr=8-3&th=1 ).

I did flash the u-boot-flash-spi-rockpro64.img.xz using those instructions : https://github.com/sigmaris/u-boot/wiki/Flashing-U-Boot-to-SPI

I even waited an extra 5 minutes afterwards before rebooting just to be sure.

 

I also tried Sigmaris' 2020.10 uboot version, and asked for help there : https://forum.pine64.org/showthread.php?tid=8685&pid=84734#pid84734

 

Just to be sure : you are currently booting from SPI directly to a SATA drive, not from EMMC, right?

Link to post
Share on other sites

On 12/3/2020 at 9:28 PM, TRS-80 said:

 

That is part of some (unfortunately necessary) spam prevention measure.

 

I gave you a like, so that restriction should lift within 24 hours.

 

Cheers!  And welcome to the forums.

That was very kind of you, thank you!

On 12/3/2020 at 10:01 PM, soerenderfor said:

@Waryle I boot up from SSD drive, i use a 5 port sata card. And boot from the upper port "5"  

Im not sure if it can boot from other ports, but i did disconnet all other drives, than the "boot" drive, on first boot-up

I have finally found the problem after hours of looking up for documentation and retries. I had the idea to take a PC monitor and plug the RockPro64 on it to see what kind of error it could throw, and work from there :

  • Uboot seem to boot only on the first SATA drive of the list : I had a SATA card with 4 ports, I plugged my SDD in the port 1 and my two other drives in the 3 and 4.
  • Uboot does not like BTRFS. Once I have plugged the SSD on the port 1, I had a initramfs error, so I went again in armbian-config, used the "Boot from SPI - System on SATA" option, and this time I chosed Ext4 instead of BTRFS.

It's working now. I could have found a way to put only the /boot on an Ext4 partition and the system on BTRFS, but I have lost too much time and I'm gettting lazy, so I'll just leave it that way, Ext4 is perfectly fine anyway.

 

Thanks for you help !

Link to post
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...
 Share

4 4