<davidlt[m]>
There are some issues with U-Boot GRUB2 IIRC (not exactly an issue)
<rwmjones>
><fs> run
<rwmjones>
><fs> list-filesystems
<rwmjones>
/dev/sda1: ext4
<rwmjones>
/dev/sda2: ext4
<rwmjones>
(so that image is partitioned)
<davidlt[m]>
boot and rootfs
<rwmjones>
looks like vmlinuz-5.14.16-101.0.riscv64.fc33.riscv64
<davidlt[m]>
I think, it's still ext4 (for rootfs), not btrfs yet
<rwmjones>
ok so I'll put that on the NVME drives in a mo
* rwmjones
checks the SD card image similarly
<rwmjones>
><fs> list-filesystems
<rwmjones>
/dev/sda2: unknown
<rwmjones>
><fs> file /dev/sda1
<rwmjones>
/dev/sda1: unknown
<rwmjones>
data
<rwmjones>
><fs> file /dev/sda2
<rwmjones>
Device Tree Blob version 17, size=734287, boot CPU=0, string block size=109, DT structure block size=733124
<davidlt[m]>
Yeah, v5.14 is not the best, but it's way more stable build compared to the Unleashed boards.
<davidlt[m]>
I will get LEDs working, DA9063 PMIC enabled (WDT, RTC, etc.), PCIe fixes, etc.
<davidlt[m]>
That's just two partitions for the firmware, U-Boot SPL and proper.
<rwmjones>
ok I'll put that on the SD cards
<rwmjones>
let's go ...
<davidlt[m]>
With newer U-Boot you could just directly that to SPI-NOR Flash, but this image didn't incl. those patches.
<rwmjones>
do I really need big fan cooling? the fans I got run at full speed and are rather annoying
<rwmjones>
there's no fan control header I think?
<davidlt[m]>
There are 3 fan headers, 3-pin (just 2 wired).
<rwmjones>
right, I mean they're not the ones that vary the speed?
<davidlt[m]>
We use PWM to drive 2 out of 3, but just to get 12VDC.
<davidlt[m]>
It's not a proper PWM 4-pin fan. It's not even a proper 3-pin fan header :)
<davidlt[m]>
The one for SoC is directly wired to power rails.
<davidlt[m]>
Yes, it's just 12VDC over 2-pins. You cannot even detect the RPM.
<davidlt[m]>
Otherwise it's just random :)
<davidlt[m]>
The rest of two requires software to enable them.
<davidlt[m]>
Okay. Let's be more precise. The PWM is not initialized to some known state, it's up to U-Boot to initialized and enable those fan headers :)
<davidlt[m]>
So if you want to be 100% sure nothing goes wrong, use the 2-pin header as that directly goes into 12VDC without software doing anything.
<rwmjones>
such a waste using a 32G SD card for this :-(
<davidlt[m]>
Actually lower capacity cards might be more expensive ;)
<davidlt[m]>
IIRC going below 32-64GB things might be expensive and drop your performance. Anything above 64GB it's just capacity, you don't gain more performance.
<davidlt[m]>
My advice is to cut a bracket for miniITX 120-140mm fan and use the SoC fan 2-pin header to blow from top-down.
<davidlt[m]>
Technically that ASMedia PCIe wants some cooling too :)
<davidlt[m]>
NVMe would be fine.
<davidlt[m]>
Now WDT shuoldn't work properly on this board IIRC. It should cause poweroff.
<davidlt[m]>
You might want to get some USB WDT (connect to some NUC) to trigger those front panel header pins.
<davidlt[m]>
We cannot waste that RAM for /tmp crap.
<rwmjones>
I can do the growpart *after* it's booted?
<davidlt[m]>
That's what I have on my history on this box.
<davidlt[m]>
Yeah
<rwmjones>
ok
<rwmjones>
I'm going to boot nufive first to check this all works before disassembling the other one
<rwmjones>
booting ..
<rwmjones>
ok boot good, growpart good, resize2fs good, mask tmp.mount good
<rwmjones>
rebooting again
<rwmjones>
doesn't reboot on its own
<rwmjones>
also I notice now that I previously disabled the big fan ...
<davidlt[m]>
reboot command?
<rwmjones>
yup
<davidlt[m]>
Yeah, that didn't work at that point.
<davidlt[m]>
It requires newer OpenSBI and newer kernel, and PMIC being enabled.
<rwmjones>
ok, let me plug the fan back in and reboot it via the front panel
<davidlt[m]>
It doesn't do a proper reset, but we kinda mimic it.
<davidlt[m]>
Basically we power down all the rails, but not PMIC itself and then bring everything up.
<rwmjones>
actually the fan _is_ plugged in, but doesn't spin
<davidlt[m]>
So you poweroff and RTC will ping and bring it back up.
<davidlt[m]>
The proper reset works, but it requires two commands. You need to setup RTC to wake up the system IIRC.
<rwmjones>
anyway it seems to have worked (except the fan) so I'm going to do the other one
<davidlt[m]>
That's the only way to do a "proper" reset.
<davidlt[m]>
As I said only the SoC fan is directly wired to 12VDC.
<davidlt[m]>
The rest require software to initialize PWM to get the fans spinning.
<davidlt[m]>
The new U-Boot (already built) does that.
<rwmjones>
I see "chassis fan" and "asm fan"
<rwmjones>
I'm plugged into chassis fan at the moment which is doing nothing
<davidlt[m]>
and SoC, that small fan.
<davidlt[m]>
Yeah, because it's all random :)
<rwmjones>
oh I see, you mean the fan on the SoC already
<rwmjones>
yes that's spinning
<davidlt[m]>
As I said the hardware doesn't have initial state :) It'
<rwmjones>
but the chassis fan isn't (using my added noctua fan)
<rwmjones>
ok so it'll be kind of random if the fan comes up?
<davidlt[m]>
It's up to U-Boot to initialise those something meaningful.
<davidlt[m]>
Until you get a new image --> yes.
<rwmjones>
did sifive spend more than 2 cents on the SoC fan or do we expect these ones to fail too :-?
<davidlt[m]>
The SoC fan is the only directly wired to 12VDC and thus does not depend of FW/SW.
<davidlt[m]>
*on
<davidlt[m]>
Just remove it :)
<davidlt[m]>
Let's not discuss those tiny fans, just remove it :)
<davidlt[m]>
Plug your big fan to the 2-pin header and that'
<davidlt[m]>
s it for now :)
<rwmjones>
oh I see what you're talking about, let me try that one ...
<davidlt[m]>
It's 2-pin, but technically all 3 fan headers have just 2-pins properly wired.
<davidlt[m]>
Any of these 3 can drive a proper PC fan.
<rwmjones>
ok that's better .. do you think I should physically remove the SoC fan to get enough cooling?
masami has joined #fedora-riscv
<davidlt[m]>
I haven't yet, but I will do that :)
<davidlt[m]>
I have 2 Noctua fans thus I am lazy to remove them yet.
<rwmjones>
I'm guessing there's no throttling on the SoC? it'll just halt and catch fire if it's not cooled properly?
<davidlt[m]>
From my experience it will hang.
<rwmjones>
ok
<davidlt[m]>
It took heavy load for ~40 minutes for the system to become unresponsive.
<rwmjones>
ok I'm going to do nujive now
<davidlt[m]>
I actually ran the system with main fan disabled in a case for 1-2 weeks with just one 120mm fan :)
<davidlt[m]>
It never reached the temperature to crash :)
<davidlt[m]>
The newer U-Boot configured shutoff temp to be 80C
<davidlt[m]>
Not sure if I had the patch applied to this particular U-Boot version, but it's in a new one.
<davidlt[m]>
The sensor default is 125C.
<davidlt[m]>
Technically sensors will be able to show the SoC temperature.
<davidlt[m]>
(not yet)
<davidlt[m]>
I am going to make those certificates for you
<rwmjones>
bring up nujive now
<davidlt[m]>
sending you the files in a minute
<davidlt[m]>
rwmjones: sent it
<davidlt[m]>
and entries created in koji server
<davidlt[m]>
so technically you should be able to connect them
<davidlt[m]>
there are two issues: I don't have firewalls rules updated and autorpmspec is still disabled, that's something to figure out later on once a new image is ready
bkeys has joined #fedora-riscv
<rwmjones>
davidlt[m]: ok, give me a few mins to set up user accounts etc
<rwmjones>
both machines are up now
<rwmjones>
btw I've disconnected the unleashed boards so hope this works!!
<davidlt[m]>
Once they are online I can send some food to test them out
<rwmjones>
davidlt[m]: can you see them?
<davidlt[m]>
yes, seems to be connected and ready according to koji
<rwmjones>
send them some jobs?
<rwmjones>
also, five & jive are gone now
<davidlt[m]>
okay, let's try to see if there is any python package
<davidlt[m]>
ok, some jobs are showing up on koji now
<davidlt[m]>
so far unclaimed by the boards
<davidlt[m]>
takes a bit of time
davidlt has joined #fedora-riscv
<davidlt[m]>
both boards are now producing SRPMs
<davidlt[m]>
djdelorie: nirik : if you want to join, you can pick hostname for the boards (does not have to a real thing, just needed for certificate CN)
<rwmjones>
I see dnf running
<davidlt[m]>
Yeah, my board was capable of doing 3 SRPMs at once!
pierosimonet has joined #fedora-riscv
pierosimonet has quit [Ping timeout: 255 seconds]
pierosimonet has joined #fedora-riscv
pierosimonet has quit [Ping timeout: 246 seconds]
pierosimonet has joined #fedora-riscv
<davidlt[m]>
rwmjones: you boards are producing RPMs :)
<davidlt[m]>
well, at least building :)
<davidlt[m]>
Oh, seems I need to do some dust removal from my unmatched
<rwmjones>
hopefully faster than the old boards
<davidlt[m]>
not very much
<davidlt[m]>
main gains will be from DRAM and faster IO (NVMe)
<rwmjones>
there's no a temperature sensor on the SoC or board?
<rwmjones>
oh the PCI adapter does
<davidlt[m]>
there is
<davidlt[m]>
the DT part and sensors config is missing in Fedora
<rwmjones>
I'm apparently getting readings from something