Void linux on Rock pi - is it possible?

Sweet :slight_smile: then 4 of those in raid5 ?

If meant for OMV or NAS I guess the extra speed won’t matter as your 1GBe bandwidth is saturated already but the redundancy -and if zpool - self healing fs properties will be nice.

Yeah just testing that they will and how it handles multiple disks prob a stripe, 5 & 10 just for benches.
But really the dest is HDD but if it can handle these on expected benches then should pretty much expect HDD max.
Its a shame the g_ether gadget transfer is a bit stinky forgot what it was and guess will have to try that again.

1 Like

@LucidScrubJay

What do you get from your Evo spacecruiser with iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 ?

Will give it a run tonight when home from work and let you know :wink:
Btw, also ordered the 16gb emms and usb3 key. But if I can boot from m.2 after flashing I guess that will be moot?

Still haven’t worked out if you need spi nor or not if you have 1.3 version then its a solder job as its missing.

But the Manjaro guys seem to think you can do it without via uboot, but how slightly confused.
But answer is yeah you can its sort of new and needs a fix but answer is yeah.

I have the version 1.4 of the board, so the SPI should be there, but dont understand why only debian/ubuntu would be supported from this thread: SPI + NVMe booting

Got confusing I thought, so might just stick to the eMMC for kernel boot when it gets here, and then put the root on the m.2

Its not just debian or ubuntu just that Radxa only support debian or ubuntu in the packages they publish.
You might need debian or ubuntu to use the flash utility to get the mini bootloader onto spi nor but after that its done.
The Rk3399 3rd check after SD, eMMc is spi nor and if there it loads that and basically that minibootloader just passes to SSD.

Have not got either m.2 or v1.4 so haven’t tested or got involved but there is no reason why you should need emmc or sd if you have spi nor and m.2 storage or usb.

It should just be a matter of

https://wiki.radxa.com/Rockpi4/Linux_system_runs_on_M.2_NVME_SSD

You can do it like android via USB OTG or 2nd method on the system live

http://opensource.rock-chips.com/wiki_Boot_option

But to be honest the above is highly confusing :slight_smile: but yes it can.

All you are doing with the installs is making sure the system is up to date with the new uboot for root m.2 ssd.
Read up on DD as you just clone what you have then pull out SD / eMMC

The Manjaro guys got hdmi audio patched in and just grabbing some gear to work on pcie

http://linux-sunxi.org/Bootable_SPI_flash

PS if you can give iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 a go.

1 Like

thanks, yeah really should not be as confusing as it currently is :smiley: maybe it is just that there are too many ways to do it, so I get them mixed up or think I need to do more than one thing.

I will be checking the iozone later, just still at work for another 8-9 hours. (I’m GMT+9 so 11am here :wink: …and yes, I should be working and not reading on forums right now LOL

1 Like

Here are the results :slight_smile:

Cheers mate if you ever get the chance use putty and ssh so its text as much easier to share, but many thanks.

Approx 650MBs W/R aint bad is it :slight_smile:

https://www.putty.org/

yeah 650mb/s aint bad :wink:

I was actually using ssh to the box, it is just that if you include all the text output instead of a screenshot, there is a large amount of unused parameters starting from “bkwd” and further to the right, so felt is was easier to read if I just did a quick screengrab of the term that had the output formatted as I was seing it. Also avoids the forum doing text wrap etc. :slight_smile:

1 Like

[quote=“stuartiannaylor, post:22, topic:1272”]

Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Output is in kBytes/sec
	Time Resolution = 0.000001 seconds.
	Processor cache size set to 1024 kBytes.
	Processor cache line size set to 32 bytes.
	File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    70395    70811    92238    92886    46631    70865                                                          
          102400      16   141961   200984   236280   237984    147557   204966                                                          
          102400     512   500244   536614   466642   479526   467919   536983                                                          
          102400    1024   529906   542864   483609   489514   483614   542280                                                          
          102400   16384   652449   670618   628992   654369   644341   665665  

Blockquote```

start with 3 of them new line and end with new line 3 of them :slight_smile:

Not sure how much markdown is available the three

Blockquote ```

is about all I remember

https://guides.github.com/features/mastering-markdown/

1 Like

So, you have a bunch of servers in your home you want to access from outside.
What exactly is this board’s purpose? Seems like what you are doing is something you could more easily (i.e. “Free”) do using one of those existing servers, or just by running openwrt on your router if your goal here is to save power by keeping the server(s) off when not in use.

Haha sorry I know it is not clearly defined.
It’s a big blob of different things I would like for it to do.
Currently I have an unraid NAS server running, but have been unable to get it to do spindown of the disk due to it running a bunch of other services like docker, VM’s etc (despite being run from a separate m.2 in the machine separate from the array) so I have decided to move anything but file sharing services off to other servers I have.
(Note the openwrt looks interesting, thanks for sharing)

Alsways better to have a separate server running for controlling network etc as if the server running is also your access to the network goes offline for some reason you also lose the access to fix it I thought :slight_smile:
(Necessary? Maybe not, but what the heck figured it could fulfill that too in the future some day)

To begin with, it will just be for me to play around with and test different things on. It will also be my office Linux desktop and I have a permanent monitor connected and a USB kvm connected for control.

I have a separate raspberry pi 3b that can handle the outside access for now so there is no rush I getting the rock pi us and running for that purpose which is why I am still just playing around and testing on the rock :). (The rpi is running openhab for IoT control)

I guess, really I was just excited about getting a easily cooled (no cover) solid state, non-intel based, responsive but low powered with 1gbe NIC and 4k@60hz output device as an linux desktop for home to play with :slight_smile:

1 Like

@LucidScrubJay hey just a thought and presuming you did but not sure on max speed of pcie gen1 x4 did you edit /boot/hw_intfc.conf

So that #intfc:dtoverlay=pcie-gen2 = intfc:dtoverlay=pcie-gen2 = gen2?

Actually no I did not touch that. Will have a look tonight :slight_smile:

Yeah I suddenly thought that I had been presuming so because my sums where 2 lanes like my sata but actually your results could be x4 gen1.0.
I dunno but yeah should be enabled and a reboot and iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
Again should show if there is any diff might be just as capable x4 lanes gen 1.0 as still no bottleneck

okay so enabling the gen2 as recommended I get the following:

Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
	Output is in kBytes/sec
	Time Resolution = 0.000001 seconds.
	Processor cache size set to 1024 kBytes.
	Processor cache line size set to 32 bytes.
	File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
          102400       4    52099    77524   104207   105324    48114    78504                                                          
          102400      16   160544   231475   276300   278531   160180   233806                                                          
          102400     512   738881   809485   685261   707192   676594   811610                                                          
          102400    1024   795915   841642   708547   730494   693498   851120                                                          
          102400   16384  1111519  1167200  1098700  1139913  1110364  1193693                                                          

iozone test complete.

So this does actually improve things a little bit :wink:

Crikey batman lols bet your glad you tried that.

1 Like

haha yep, anything else I should try while I am at it?
tried pasting the fio stuff from the other thread in there and letting that run now…

Thats awesome! if they get that up and running, they definitely deserve a pizza and a beer :wink:

Not sure the OMV is a meaningful OS for me ? is it not geared towards NAS with multiple disks etc?
(please correct me if wrong)