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
dominic- has joined #linux-amlogic
jn has quit [Ping timeout: 276 seconds]
jn_ has joined #linux-amlogic
jn_ has joined #linux-amlogic
jn_ has quit [Changing host]
Wkiktor has joined #linux-amlogic
Wkiktor has quit [Remote host closed the connection]
vagrantc_ has quit [Quit: leaving]
Daanct12 has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 265 seconds]
hexdump0815 has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
Wkiktor has joined #linux-amlogic
Wkiktor has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
chewitt has joined #linux-amlogic
xdarklight_ is now known as xdarklight
djrscally has joined #linux-amlogic
naoki has joined #linux-amlogic
ldevulder has joined #linux-amlogic
mripard has joined #linux-amlogic
paulk-bis has quit [Ping timeout: 252 seconds]
paulk has joined #linux-amlogic
paulk has joined #linux-amlogic
<narmstrong> lvrp16: good luck !
<lvrp16> There is an unsolvable issue because it does not care about rx_thres. Last burst always corrupts for non-first bursts.
<lvrp16> Spent days poking at the HW to try to get it to work.
<lvrp16> 17 word DMA does work no matter what I do.
<lvrp16> So the hardware hates prime numbers.
<f_> this gets an F from me
<f_> 🤣
<CyReVolt> <lvrp16> "So the hardware hates prime..." <- I mean, if you could use it to brute force generate primes, it would have practical applications in cryptography. :D
<CyReVolt> JK... will be interesting to see what's up there if you figure it out. ^^
<f_> CyReVolt: in your experience, were you able to dump things from BL2's USB mode w/ aml_boot? Or were you only focused on the bootROM USB mode
<CyReVolt> <f_> "CyReVolt: in your experience..." <- I haven't tried that much, sorry.... (full message at https://u.pixie.town/pixie.town/QNJgRoWoFtYPpBuSZTJVFEVi)
<f_> CyReVolt: yeah right thanks
<f_> now we see the consequences of doing random stuff wrt ddrfw like what amlogic is doing: some aml_ddr.fw are completely incompatible with some bl2's!
<f_> Combine that with the fact that there's no versioning whatsoever you get what I'd call pure mess
naoki has quit [Quit: naoki]
<CyReVolt> yea that is most SoCs in general to me
<CyReVolt> Qualcomm is even worse, I think 😁
<f_> :D
<f_> 4.1G Jun 10 11:24 dump.hex
<f_> gotta love when xxd -r produces a 4 GB binary
paulk has quit [Ping timeout: 252 seconds]
paulk has joined #linux-amlogic
paulk has joined #linux-amlogic
paulk has quit [Ping timeout: 245 seconds]
paulk has joined #linux-amlogic
paulk has quit [Ping timeout: 245 seconds]
paulk has joined #linux-amlogic
paulk has quit [Ping timeout: 248 seconds]
Wkiktor has joined #linux-amlogic
Wkiktor has quit [Read error: Connection reset by peer]
Wkiktor has joined #linux-amlogic
Daanct12 has quit [Quit: WeeChat 4.6.3]
paulk has joined #linux-amlogic
paulk has joined #linux-amlogic
<lvrp16> CyReVolt: I was going to say that hahahaha, prime generator spi controller
<lvrp16> f_: "some aml_ddr.fw are completely incompatible with some bl2's" story of my life
<f_> :D
<f_> yeah I didn't expect more from amlogic
<CyReVolt> I wonder how they deal with that in customer support.
<CyReVolt> Usually vendors have the "get customer support down to 0" mentality, because it is costs all the way down the line.
<lvrp16> CyReVolt: I think everyone uses even numbers for transfers so they don't care.
<lvrp16> they account for primes up to 15 and then fuck it
<f_> what is also very interesting is how they managed to mis-spell "version" as "vesion", twice
<lvrp16> word sizes that don't work 17 19 23 29 31 37 41 43 47 53 61 67 71 73 79 83 89 97 101 127 137
<f_> DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:22:01
<f_> aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 13:54:19
<f_> >_>
<lvrp16> I got rejected numerous times on "security" ground smh
<lvrp16> anytime I touch suspend and resume, it's like this spi controller
<f_> I'd guess that's what they'd do for someone named "Libre Computer" asking more details about how their blackbox works
<f_> "security" abused as grounds for not liberating their docs
<lvrp16> I just need a platform with basic functions...I'm not asking the SoC to go to space.
<f_> and we all know just how well that's maying off
<f_> *paying off
<f_> lvrp16: Space on Chip
<f_> you know, in BL2 I keep seeing read/writes to some random thing at 0xfffb1288 onwards
<f_> but there's nothing I can see that actually copies any struct or anything to it
<f_> and if I tell ghidra "well, it's a struct" it happily creates like hundreds of entries
<f_> some of it are fip stuff apparently
<lvrp16> "security"
<f_> did you know the "s" in "amlogic" meant "security"?
<f_> well, now you do :D
<lvrp16> haha
ldevulder has quit [Ping timeout: 248 seconds]
ldevulder has joined #linux-amlogic
<f_> if (magic == 0x32676464) {
<f_> fw_tffip_entry = (undefined4 *)&param_1->field_0x180;
<f_> }
<f_> much wow
<f_> to find out what in the entire world is in 0xfffb1288 onwards I...
<f_> uhhh I....
<f_> I just adapted the dumpdramregs-bl31 thing I once wrote for gxbb to work on g12b and to dump the fffb1288 stuff instead of the ddr stuff
<lvrp16> almost at the point where I'm gonna buy an FPGA and start doing verilog...
<lvrp16> second transfer of the same parameters work...
<lvrp16> just not the first transfer
Wkiktor has quit [Remote host closed the connection]
Wkiktor has joined #linux-amlogic
<f_> if (magic == 0x32676464) {
<f_> /* ddg2 */
<f_> fw_tffip_entry = (undefined4 *)&param_1->ddrfwddg2_fip_entry;
<f_> }
<f_> I knew it
<f_> duckduckgo is everywhere
ldevulder has quit [Ping timeout: 276 seconds]
mripard has quit [Quit: WeeChat 4.6.3]
Wkiktor has quit [Remote host closed the connection]
Wkiktor has joined #linux-amlogic
Wkiktor has quit [Remote host closed the connection]
Wkiktor has joined #linux-amlogic
Wkiktor has quit [Quit: Leaving]
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
cbeznea has quit [Ping timeout: 252 seconds]
Wkiktor has joined #linux-amlogic
Wkiktor has quit [Remote host closed the connection]
<lvrp16> the spicc leaks old data from the fifos :D the dma pulls old data from the back of the fifo on the last transfer
jn_ is now known as jn