<balsoft>
Is there any good easy way to do that without rebuilding all of NixOS?
orivej has joined #nixos-aarch64
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-aarch64
<balsoft>
Now kernel magically stopped crashing and I have rcu-sched self detected stall on CPU
orivej has quit [Ping timeout: 250 seconds]
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
orivej has joined #nixos-aarch64
<balsoft>
Anyone?
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos-aarch64
<samueldr>
this sounds more like power issues than anything else
<samueldr>
I'm not sure the "cpu clockrate needs to be limited to 1GHz" is the right interpretation of the "CPU clock speed limit" section of that wiki page
<samueldr>
(keywords: not sure)
<samueldr>
it sounds more like overclocking than anything else
<samueldr>
though, mainline u-boot and the mainline kernel will undoubtedly init things differently than downstream (orange pi's) u-boot and linux forks
<samueldr>
to it could be a combination of factors
<balsoft>
samueldr: yes, indeed
<samueldr>
so it*
<balsoft>
samueldr: Ubuntu works fine on this power source
<balsoft>
samueldr: although not upstream ubuntu
<samueldr>
have you tested it using a stress test utility?
<samueldr>
(though I'm not sure what to use)
<clever>
samueldr: oddly, i have had my machine go into thermal shutdown from opening chrome!!!
<clever>
but stress and prime95 didnt do a thing, even after an hour of running
<samueldr>
clever: here we're talking an SBC, :)
<samueldr>
hopefully the CPU does less magic than yours
<clever>
mine does magic things like coming out of the socket with the heatsink still attached :P
<samueldr>
here I'm thinking about increasing power consumption up until the point it would make the board crash
<samueldr>
oh, clever, that's a feature! easier swapping!
<clever>
the locking bar wont work with a heatsink attached!
<samueldr>
ugh, looks like I won't be buying orange pi boards anymore :/ their aliexpress shop is now limiting the shipper choices, and either I go for way-overpriced shippers that ship here, or not-that-much-overpriced shipper that will slap a bunch of fees to be paid on delivery
<balsoft>
samueldr: Well, sometimes it doesn't kernel panic, but then it falls doesn't respond at all
<samueldr>
balsoft: yeah, it sounds like, without any proof from me, that it's powering issues, I mean, that's the first thing I would look into: stable, "known brand", 2.1A usb wall plug
<samueldr>
and when I say "known brand", here I have walmart's house-brands sockets that I tested and they work fine
<balsoft>
I have one of those Samsung 2A chargers
<balsoft>
I think it's pretty "known brand"
<samueldr>
ideally, older less-intelligent (e.g. no usb power delivery / USB-PD)
<balsoft>
And the board doesn't work with it
<balsoft>
I'll try to look for one
<samueldr>
yeah, it annoys me to say all that without proof :/
<samueldr>
it might work, it might do nothing :(
<samueldr>
and I don't expect to get any soon, now that their shipping is horrendous
<balsoft>
Now it doesn't boot at all for some reason
<balsoft>
Again
<balsoft>
With the same power source and everything
<balsoft>
I guess these are real cheap for a reason
<samueldr>
I wouldn't discount the whole board before having verified the power supply, things will go real weird when power is just close to right, even on "known good" boards like the raspberry pi
<samueldr>
(I mean verified with a multimeter or a specialized usb power meter)
<samueldr>
it's kinda annoying how most SBCs are sold and shipped with usb leads, but require things that are technically out of spec
<samueldr>
imho they may as well ship with a standard~ish round 5V plug and ask end-users to provide a __ amps power supply
<samueldr>
here I'm specially including the raspberry pi family, starting with the raspberry pi 3 it's way worse :/
<balsoft>
This is quite literally all I get on UART when trying to boot it
<samueldr>
that's the kind of weird stuff I would put on bad power
<balsoft>
Tried reflashing
<samueldr>
has it been running for a while (thus getting hotter?)
<balsoft>
Tried multiple power supplies
<balsoft>
samueldr: Yes, I might have accidentally left it on for an hour or so
<balsoft>
When it didn't kernel panic
<balsoft>
Well, not exactly accidentaly, I wanted to see if it maybe would become responsive
<samueldr>
yeah, shouldn't be an issue really
<samueldr>
but heat changes characteristics with regards to electricity, so maybe related
<balsoft>
It's pretty cold now
<samueldr>
if it's just near the tolerances
<samueldr>
hm, then never mind
<balsoft>
And It's about 18 degrees in my house :)
<balsoft>
or even less now
<balsoft>
So I wouldn't think that it's a problem
<balsoft>
Now it doesn't even show that U-boot prompt
<balsoft>
It just sends <break> when I pull out the cabke
<balsoft>
cable i mean
<balsoft>
It's under warranty for one week anyway
<balsoft>
So I think I'll just get my money back :)
<balsoft>
A shame
<balsoft>
I've spent so much time on it, both mine and yours
<balsoft>
Wait, it kinda get farther with Ubuntu
<balsoft>
it gets to U-Boot, and then it can't open /boot/boot.env
<balsoft>
Strange
<samueldr>
AFAIUI, most downstream u-boot builds are *way* different in their initial bringup than mainline u-boot
<balsoft>
Well, that means that something is messed up with NVRAM of my board or something
<samueldr>
why would you assume "messed up with NVRAM"?
<samueldr>
AFAIK orange pi never use the onboard SPI flash in their official builds
<balsoft>
Because a) it booted both nixos(kinda) and ubuntu before
<balsoft>
b) now it doesn't boot nixos at all and boots ubuntu (i mean downstream u-boot) only partially
<samueldr>
and other than the SPI flash, the only other modifiable storage is the SD card for your board
<balsoft>
Also something interesting: U-boot in downstream ubuntu seems to start not from 8kb
<samueldr>
it doesn't have a facility like x86_64 bios to store settings
<balsoft>
Where else can it start?
<samueldr>
saveenv in u-boot will (AFAIK) store to a file in the partition
<samueldr>
hm, I wouldn't think it could start anywhere else than where our u-boot builds starts
<samueldr>
BUT
<samueldr>
we build "with-spl"
<samueldr>
it could also be built separately and flashed separately
<samueldr>
(I'm not 100% confident what it means though)
<balsoft>
Well, I've found out that some newer SOC's (H5 included) try to load whatever is at 128KB if they fail to find anything at 8KB
<balsoft>
Well, it still loads armbian U-Boot even if I flash nix-built one at 128KB and 8KB
<balsoft>
samueldr: So I think I will just return this one to seller and get a new one
<balsoft>
Does NixOS run well on Raspberry Pi3+ Model B?
<samueldr>
oh, the 128KB thing might be nice for supporting GPT formatted disks
<samueldr>
suppor for the rasbperry pi family will always be better due to the bigger community
<samueldr>
wow did I butcher up that sentence with typos
<balsoft>
Ok, so I think I'm gonna spend extra $10 and wait a week to get better support
<balsoft>
samueldr: yes indeed, it does boot from 128KB, but it still just resets
<samueldr>
do know that the raspberry pi WILL require better / known good usb power supplies, and ideally, 3A power supplies, 2A and 2.1A may not be enough
<samueldr>
it will work, but you may/will see weirdness depending on the usage
<samueldr>
that I know from personal experience and from reported experience
<samueldr>
the lead/wire used to plug it also needs to be a good one without too much internal resistance, otherwise you'll lose all the current in the wire :)
<balsoft>
Well, given that current board doesn't work at all, I think this is still better
<samueldr>
sure!
<samueldr>
just mentioning it, so maybe order *their* power supply
<samueldr>
(the raspberry pi foundation one)
<balsoft>
And then wait a couple month that it'll take to get there?
<balsoft>
No, I think I better find one here
<balsoft>
s/there/here/
<samueldr>
there probably are resellers near you with their power supplies on hand
<balsoft>
Well, there probably aren't many *near me*, as I live in the middle of nowhere
<balsoft>
But yes, I think I can get my hands on a good power supply
<balsoft>
Oh wait, it booted Ubuntu again
<samueldr>
it really sounds like *something* is just on the cusp with regards to tolerances, I suspect power, but it could be something else too
<balsoft>
samueldr: seems like maybe SD is faulty
<samueldr>
it's also another possibility, SD cards can be highly annoying :/
<balsoft>
Because it goes boot -> doesn't boot and backwards only after I re-flash
<balsoft>
If I just plug it in/out, it doesn't change
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 250 seconds]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos-aarch64
balsoft has quit [Ping timeout: 244 seconds]
balsoft has joined #nixos-aarch64
balsoft has quit [Client Quit]
balsoft has joined #nixos-aarch64
orivej has joined #nixos-aarch64
balsoft has quit [Quit: Konversation terminated!]
balsoft has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]