narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
elastic_dog has quit [Remote host closed the connection]
elastic_dog has joined #linux-amlogic
cyrozap has joined #linux-amlogic
Danct12 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
naoki has quit [Quit: naoki]
naoki has joined #linux-amlogic
Danct12 has quit [Quit: Quitting]
ebach has joined #linux-amlogic
Danct12 has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
JohnnyonF has quit [Ping timeout: 268 seconds]
Danct12 has quit [Quit: Quitting]
Danct12 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
filt3r has quit [Quit: x]
camus has quit [Remote host closed the connection]
camus has joined #linux-amlogic
<narmstrong> Flole: indeed it’s a bug in u-boot and while the bad commit was identified, we failed to far to find a fix
ldevulder has joined #linux-amlogic
camus has quit [Remote host closed the connection]
camus has joined #linux-amlogic
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 256 seconds]
camus1 is now known as camus
JohnnyonFlame has joined #linux-amlogic
naoki has quit [Quit: naoki]
cyrozap has quit [Quit: ZNC 1.7.4 - https://znc.in]
camus has quit [Remote host closed the connection]
camus has joined #linux-amlogic
cyrozap has joined #linux-amlogic
<Flole> narmstrong: You mean the commit was already identified before yesterday? I spent 3 hours yesterday bisecting to figure out it's a9bf024b2933bba0e23038892970a18b72dfaeb4, and my "fix" is to just disable EFI in the u-boot build, then it works after that commit aswell. I don't think there's much use for EFI on the amlogic CPUs anyways, so not a big loss
<narmstrong> Flole: yep it’s this one, efi is used in products on amlogic socs so it should be definitely fixed
<Flole> narmstrong: I guess the only way to figure out what's wrong with it is creating additional output in all functions that were modified to figure out which is called just before the exception occurs? And then look at what parameters are passed (if any) and hope to gain more information from that?
<narmstrong> Flole: yep
camus has quit [Remote host closed the connection]
camus has joined #linux-amlogic
vagrantc has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
<vagrantc> hey, heard that someone bisected the issue with odroid-c2 down to a9bf024b2933bba0e23038892970a18b72dfaeb4 efi_loader: disk: a helper function to create efi_disk objects from udevice ... huge thanks!
<vagrantc> does anyone know if it affects other board as well?
<vagrantc> in particular ... khadas-vim, khadas-vim2, odroid-n2, libretech-cc, nanopi-k2 ?
<vagrantc> those and the odroid-c2 are platforms currently enabled in the debian u-boot packaging ...
<vagrantc> if they're affected, might enable the same workaround
Lyude has quit [Ping timeout: 252 seconds]
Lyude has joined #linux-amlogic
naoki has joined #linux-amlogic
<Flole> vagrantc: That was me who bisected it and apparently it affects other boards aswell, I found https://oolong.secureendpoint.org/SEMIdev/build/commit/bed71ca1eea39ece7ba4d94f1962f9006badc5a0 so apparently it also affects the "jethubj100", whatever that might be
naoki has quit [Quit: naoki]
<Flole> And another report for some other JetHub board is at https://armbian.atlassian.net/browse/AR-1296, basically you can just search for the hash on google and you will find some reports. I assume it affects at least all boards with the s905
<Flole> Looks to me like there is some illegal memory access in certain cases
naoki has joined #linux-amlogic
<Flole> I am curious about one thing with the odroid c2 and the "2 GHz-Bug". I am aware that the CPU should be capable of running at 2 GHz but apparently due to the voltage not being sufficient it doesn't work. What I am wondering is this: The source code for the bl301.bin which controls the voltage is public at https://github.com/hardkernel/u-boot_firmware/tree/odroidc2-bl301/, so theoretically
<Flole> I should be able to edit it. However, it's already close to 100% PWM so it can't bump the voltage up higher, even though the CPU is rated for more than those 1130mV. The schematics are all public so I could replace a resistor for the voltage regulator so the voltage rises higher, then I could take the current voltage table and adjust the values for 1.7 GHz and above and it should be
<Flole> stable theoretically, correct? I don't really need to change anything else, right (except for always unlocking the full table and not doing it based on that 7th bit, and probably adding better cooling aswell)?
naoki has quit [Quit: naoki]
naoki has joined #linux-amlogic
<vagrantc> Flole: i'm mostly focused on getting things working at all again, even if suboptimally ... but thanks for your work!
naoki has quit [Quit: naoki]