So according the P1022 reference manual it has Chip select interleaving support. But I am not sure, if chip select signal can select different ranks in one physical module.
I also not found any suitable U-Boot command to check this ( like dramcfg on X1000 ). And if I compare Ragemem speed, it is the same like eliyahu has in his great article. And his memory is 1Rx16.
Do you have any idea how to test it? Or do somebody know well memory topology - is memory interleaving possible with this motherboard configuration? ( only one module )
Thank for ideas.
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
By saving activation and precharge commands, you'll reduce overall latency and therefore gain about 10% speed.
If supported by the P1022 the it still needs to be activated in uboot. The X5000 has a environmental variable for that which is set to rank interleaving (and controller interleaving) by default.
xx 00100 External memory banks 0 through 3 are all interleaved together
0000000 No external memory banks are interleaved
1000000 External memory banks 0 and 1 are interleaved
0100000 External memory banks 2 and 3 are interleaved
1100000 External memory banks 0 and 1 are interleaved together and banks 2 and 3 are interleaved together
If I assume, that used ranks are bank 0 and bank 1, I would test to add bank_intlv=cs0_cs1 to hwconfig, but it still depends if A1222+ U-Boot has this parameter in this exact form.
Do somebody have U-Boot manual or more deeper information?
@geennaam - I read your great explanation, and that is why I am checking this on P1022. Thx!
AmigaOS3: Amiga 1200 AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000 MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
It's a uboot env. Not specific to the X5000. The question is if the variable is just ignored or actually implemented for the P1022.
If you want to be on the safe side then you can clone your sdcard first with eg. win32diskimager. And then try adding the following to hwconfig env: fsl_ddr:bank_intlv=cs0_cs1 and see what happens.
Do somebody have U-Boot manual or more deeper information?
Fortunately U-Boot is GPL so if all else fails one can check the source to know exactly what is it doing and what is supported or not. That's probably better than any documentation.
@balaton please, do you have any idea what u-boot repo is closest to our A1222+? There are hundreds of them on git.
No idea, probably none of them. Quote:
@all please, are there any way how ask A1222+ U-boot developers?
The GPL says that whoever distributes binaries of GPL code should also accompany it with the source or at least an address where you can get the source. So contact whover sent you the board that contains the U-Boot binary and they should sort it out otherwise they would illegally distribute binaries they are not allowed to so they should stop doing that and play by the rules.
I have some experience with DRAM on the A1222. I can offer a few details, and a path to get more.
I've been absent, and I only came here today because a friend suggested I check this topic out. I'm not "gone forever", but a new job, a move to a new state, and WAY too many personal obligations have effectively eliminated Amiga time for me, for a while anyway.
Fair Warning: There are some "adjustments" that have been made to get P1022 RAM to accommodate AmigaOS. Just because "UBOOT" , or just because "Linux" DOES NOT MEAN that AmigaOS on the same board will offer the same features. That's as deep as I'll go on that.
I HAVE looked at a LOT of RAM SPD data on the A1222, and I recall at least one stick that looked like two sticks according to SPD. I tested a LOT of ram, some worked, some did not. Too long of a story to tell.
I have written two rather crude tools for SPD. One gathers the SPD data and outputs a data file, the second reads that data and does SOME (not all) decoding and translation. These tools are offered freely to anyone who wants them. Since they were written for A1222, they only look at the first stick of RAM, but anyone with a bit of play time could expand them to see additional sticks on a X5000 easily enough.
I don't have a website. I'll find the tools and forward it to anyone who asks me, be patient as it might take a day or two. Anyone whom gets these tools is free to re-distribute however they see fit.
No warranty is expressed or implied, use at your own risk.. all the usual.
lylehaze at gmail dot com.
All I missed is "What is SPD"?? RAM sticks carry a small ROM that describes their size, speeds, and capabilities. The computer reads that and then adjust the hardware to make best use of the RAM abilities. There are various versions, revisions and formats. You can read SPD directly from a UBOOT command line, but it's not graceful.
Those asking for these tools will probably just get a forwarded email, as I don't currently have an A1222 to boot up.
I will send you an mail and ask for the tools. But IMHO tools like this doesn't deserve to be buried in a forum post even if the output probably is only readable for people with insight, they should be available online on os4depot or similar :)