Am Donnerstag, den 20.09.2018, 16:08 +0200 schrieb H. Nikolaus Schaller:
Okay, thanks!
Looks like those hex values can be created with the EMIF-Tool by TI. I think I played around with that already. It was an excel sheet where you entered the values according to the datasheet and the tool spits out the hex values.
I think it can also do it the other way round, so we know what has been set up with the Pyra.
I'll search for that.
Or maybe Tony can share some light, as he knows what he's doing :D
BTW: https://patchwork.ozlabs.org/patch/479808/
The X15 has very different hex values compared to us, so yes, there might be some lions sleeping there!
Also: They enabled hardware leveling in 2015 - do we have hardware leveling enabled or is ours still based on older values?
I'll try to find out :)
Am 20.09.2018 um 15:57 schrieb Michael Mrozek EvilDragon@openpandora.org:
Am Donnerstag, den 20.09.2018, 15:45 +0200 schrieb H. Nikolaus Schaller:
Hi,
Or: Can we change some EMIF values to raise stability (maybe at the cost of tiny bit performance?
As far as I remember, Tony did send some EMIF setup patch that is in notaz and letux uboot now, but noted that it might be reasonable to change some more parameters. Unfortunately I do not really understand more about them than you... So I have never played with them.
I thought EMIF is in the MLO, not in U-boot...? Or is the MLO combined with U-Boot on the Pyra?
Yes. There is just a single u-boot source and two compile phases make
MLO (called "SPL") u-boot.img
out of it. Up to ca. 5 years ago there was a separate x-loader source tree for MLO.
I'm confused :)
Well, I'm perfectly fine doing trial and error with the values.
They are in a big array of magic hex numbers...
http://git.goldelico.com/?p=letux-uboot.git;a=blob;f=board/goldelico/letux-c...
The datasheet usually has minimum and maximum listed, so I should be able to safely change them.
I'd change one value at a time between max and min to see if it improves things (or worsens them).
Also, simply comparing the values to the datasheet might help as well.
-- Greetings,
Michael Mrozek
OpenPandora GmbH CEO: Michael Mrozek
Schäffbräustr. 11 85049 Ingolstadt Germany Tel.: +49 841 990 5548 http://www.openpandora.de/ HRB 4879, Amtsgericht Ingolstadt
eMail: mrozek@openpandora.org