<matthewcroughan>
I'm working on bringing up support for NixOS on the Allwinner H6 chip, and encountering issues with Ethernet on the Orange Pi 3, any pointers from anyone? :D
<jernej>
matthewcroughan: opi3 ethernet support is not upstreamed yet, you need out-of-tree patches
<jernej>
it's special, because it needs two power supplies
<tuxd3v>
jernej, oneplus is exactly the same
<jernej>
let me check
<jernej>
but that doesn't change the fact that it's not supported in upstream yet :)
<tuxd3v>
indeed
<tuxd3v>
:)
<tuxd3v>
the biggest problem is the ethernet that needs 2 power supply..
lurchi_ is now known as lurchi__
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
<tuxd3v>
stmmac_sun8i, needs patches I didin't got it running yet
<tuxd3v>
I don't know if there are patched for it on 5.10
<jernej>
huh, you're right, but funny thing is that one plus has upstream ethernet support
<tuxd3v>
well it has, but if you try to reboot
<tuxd3v>
network doesn't work
<tuxd3v>
it has todo with the initialization of the power..
<jernej>
yeah, i know
<tuxd3v>
also the dts for oneplus doesn't have by default DVFS( which is easy to add ), and it also doesn't describe correctly the hardware direfence..I mean the existence of 2 power suplies
<jernej>
chaining power supplies with power ramp delay is common workaround for similar issues
<jernej>
there is also another issue, which is not addressed in those patches
<jernej>
if TF-A 2.4 is used (not sure which version introduced that behaviour), ethernet PHY won't work because it enables all referenced regulators in DT without delay
<jernej>
I'm using workaround in TF-A, but it can be argued that Linux driver should properly reset device at boot
luke-jr has joined #linux-sunxi
macc24 has quit [Ping timeout: 240 seconds]
<ullbeking>
what do you think would be faster:
<ullbeking>
1. dedicated Inted DC 400 GB SSD connected with USB 2 to OPe +2E? (Ugh.)
<ullbeking>
2. setting up VLAN on the single 1 GbE NIC and accessing a dedicated SSD via a wired switch and SMB/CIFS or NFS v3/v4 ???
cmeerw has quit [Ping timeout: 260 seconds]
andy25225 has quit [Ping timeout: 258 seconds]
andy25225 has joined #linux-sunxi
lurchi__ is now known as lurchi_
Irenes[m] has joined #linux-sunxi
Irenes[m] has quit [Changing host]
<Esmil>
ullbeking: 2. you'll get around 30MB/s over USB2. that should be easily beat by a Gb nic
<ullbeking>
Esmil: in comparison, hypothetically if it had USB3, how fast would that be?
<Esmil>
3.0 is 5Gb/s so should be faster, and then you'll also want to look at an ssd-usb-enclosure, that supports uac (usb attached scsi) so more requests can be inflight at the same time
<Esmil>
ullbeking: btw. if you're just exporting raw block storage to a single guest and don't need the filesystem to be shared, then you might want to look into nbd (network block device)
<ullbeking>
Esmil: i've not come across nbd's before
<ullbeking>
the structure is like this...
<ullbeking>
i have a cluster of five OPi +2E's
<ullbeking>
but I would like each board to have its own storage too
<ullbeking>
actually that's geting ahead of myself
camus has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
camus is now known as kaspter
<ullbeking>
let's just take one board
<ullbeking>
and assume that we want to attach a nice SSD to it
<ullbeking>
is NBD a third option? the board will (mostly) be connected to the network and the NAS
lurchi_ is now known as lurchi__
<Esmil>
the nice thing about nfs is that you can access the same filesystem from both the nas, your board and even other clients at the same time
<Esmil>
but if you don't need that, but just want fast storage for your board I'd run an nbd server on your nas that just exports a partition or file for your board to use as a block device
hlauer has quit [Ping timeout: 272 seconds]
<ullbeking>
Esmil: thank you so much!
matthias_bgg has quit [Ping timeout: 240 seconds]
<ullbeking>
I can't believe I had no idea about this until now!
lucascastro has quit [Remote host closed the connection]
luke-jr has quit [Ping timeout: 264 seconds]
luke-jr has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]