ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
warpme has joined #linux-sunxi
<apritzel> I talked to the author, and he said this looks like one of the cases this warning was meant to catch
<apritzel> but this would need to be checked
tvc has quit [Remote host closed the connection]
tvc has joined #linux-sunxi
<apritzel> what I meant to say above is that this warning should show up for every Allwinner device using the sun50i IOMMU driver, so it's not something introduced by your patches
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
HERIC has joined #linux-sunxi
ftg^ has quit [Ping timeout: 480 seconds]
warpme has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
warpme has quit [Ping timeout: 480 seconds]
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
<tokyovigilante> oh yup, understood. So as it stands the IOMMU driver needs work regardless of the patch, but I'd be better off submittig without IOMMU support currently? Not actually needed for this patch anyway. Ideally I'd get video decode and HDMI in at some point but that will need more work for the scaler and color space stuff we cut out of the original DE33 patch.
HERIC has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
juanesf91 has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
warpme has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
juanesf91 has quit []
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
warpme has joined #linux-sunxi
parthiban has joined #linux-sunxi
<parthiban> apritzel LPDDR with 4GB variant for A133 doesn't work / boot. I noticed that the A133 patch set for DDR is already merged in the upstream u-boot tree. Could you please help guide to understand or possible way to address the issue? Couldn't reach to Cody Eksal also. Thanks.
apritzel has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
sdfgsdfs has quit [Ping timeout: 480 seconds]
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Robot_ has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
evgeny_boger has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
szemzoa has joined #linux-sunxi
swiftgeek has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
Guest21871 has quit []
warpme has joined #linux-sunxi
Robot_ has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
<diego71> hi, does anybody know how to check if crust firmware is working on A64 cpu?
warpme has quit []
<gnarface> good question...
warpme has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
juanesf91 has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<Lightsword> apritzel, btw there weren't any workarounds discovered to get FEL booting working on h616 with secure boot right?
<juanesf91> parthiban: Hi, I have compiled armbian for radxa cubie a5e (allwinner a527) my board version is 1.1 with 2gb of ram and i have no problems to boot the image but i have had reports (some without log) of boards that do not start and it seems that they are the 4gb ram versions. in the last implementation of patches that are sending to mainline i added orange pi 4a to add patch gmac200 so i was able to compile a test image in
<juanesf91> which it reports to me that one does not start and another does.
warpme has quit []
<juanesf91> Reviewing the Orange Pi 4a v1.1 schematic on page 3, two different voltages appear for the RAM: 1.1V LPDDR4 and 0.6V for LPDDR4X. With this last configuration in u-boot's Defconfig, I received a functional report. In fact, the schematic shows a specific circuit for configuring the RAM.
<wens> use 1.16
* wens has orangepi 4a 4gb
<apritzel> parthiban: which LPDDR revision? And on which board? DRAM parameters are board specific, so they might differ from what we used on the Liontron board. Did you extract the parameters from a boot0 binary?
vagrantc has joined #linux-sunxi
<apritzel> Lightsword: I believe all newer SoCs behave similar (and different from say the A64) when it comes to secure boot FEL, but I didn't find time yet to dig into my A133 secure boot tablet yet to investigate
<apritzel> Lightsword: though I have some leads, and we should be on the right track (being in monitor mode), it just doesn't work yet :-(
<Lightsword> apritzel, ah, so it's mostly just a matter of finding a way to get out of monitor mode properly?
<apritzel> Lightsword: well, monitor mode is good, since it's the highest privilege level, it's just not fully compatible with the BROM FEL code, since some registers are banked or behave differently between the modes. My money is on the GIC
dsimic is now known as Guest21928
dsimic has joined #linux-sunxi
Guest21928 has quit [Ping timeout: 480 seconds]
<parthiban> apritzel: It's custom PCB based on A133. Yes managed to extract the DDR params https://pastebin.com/raw/wMMepMT9 and also used Cody's initial WIP branch and managed to boot it. But accessing beyond 1GB fails to work. The same case with upstream u-boot as well.
<apritzel> mmh, accessing beyond 1GB is an interesting error pattern, it might be the address mapping issue then?
sdfgsdfs has joined #linux-sunxi
<parthiban> apritzel mapping in u-boot? from TRM the range is 0x4000 0000---0x13FFF FFFF, so I thought 4GB is possible.
<apritzel> No, I meant the internal controller mapping. There is the phy_init[] array, which maps SoC pins to DDR signals IIUC. And there is also a mapping between the physical memory address and the DRAM's ranks/banks/rows/cols, see mctl_set_addrmap()
<parthiban> Ok am still trying to get familiar with the DDR terms. but from the code `TODO: Handle 1.5GB + 3GB configurations` means 4GB is not supported or added at this point?
swiftgeek has joined #linux-sunxi
<parthiban> apritzel I have the memory dumped using md.w for vendor and upstream u-boot. Currently comparing the values and the purpose with the code, more of decoding values approach. If there is any forward/better approach, please let me know. Thanks.
<apritzel> comparing register dumps is indeed a good way forward
<apritzel> and 1.5G/3GB are a special case, because they are not a power of two, so this requires some extra code for detection
<apritzel> 4GB might work, but it probably hasn't been tested
<jakllsch> is there a MMIO window cutout?
<apritzel> jakllsch: all MMIO is below 1GB, if that's what you mean. On H616 boards with 4GB of DRAM it really maps between 1GB and 5GB
<jakllsch> ah, cool, it hoists
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
<apritzel> jakllsch: actually that's more a natural behaviour, nothing special: those MMIO/PCIe gaps in PCs are more due to the PC platform mapping DRAM at address 0, and it needs some MMIO below 4GB
<jakllsch> apritzel: eh, well, yeah, but still, there've been the likes of RK3399 (which only has 32-bit physical addressing), and the Intel 945 chipset (which supported 4G but couldn't hoist DRAM out of the MMIO conflict zone)
juanesf91 has quit [Quit: Connection closed for inactivity]
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
apritzel has joined #linux-sunxi
ftg has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
ftg has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
vagrantc has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime-ww has quit [Ping timeout: 480 seconds]
DuClare has joined #linux-sunxi