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
<mirko> Hm, still see my h6 based SBCs crashing after a couple of hours running normally. OPi3 and Pine H64. Tried different power supplies. 5.17 with LE patches applied. Nothing on UART when dying. Something known?
<smaeul> how hot do they get?
<apritzel> smaeul: this MMC DMA descriptor cast bug sounds familiar, wasn't that discussed before? Or did we just miss to apply the patch for that?
<smaeul> I don't remember it being discussed
<apritzel> and yes, plus the driver DMA mask stays at its default 32-bit, unless explicitly set, IIRC
<apritzel> that's why it's not really a problem atm
<smaeul> yeah, it's not something anyone will hit yet (same with the dmaengine patch), but it's good to get them out of my patch queue :)
<smaeul> and at some point we can expand the DMA mask to 34 bits
<smaeul> would maybe be interesting to hack U-Boot so it reports RAM starting at 1<<32 and see what breaks
<apritzel> smaeul: re: fixing it> sure! it just triggered something in my brain, and I wanted to check ...
<apritzel> smaeul: IIRC the EMAC stayed at 32-bit DMA descriptors?
apritzel has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
juri__ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
NekoMay has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
ftg has quit [Ping timeout: 480 seconds]
NekoMay has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
juri__ has joined #linux-sunxi
juri_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
bauen1 has quit [Remote host closed the connection]
bauen1 has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
apritzel has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
evgeny_boger has quit [Quit: evgeny_boger]
Guest2720 is now known as ynezz
bauen1 has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has quit []
sunshavi has joined #linux-sunxi
silvera has joined #linux-sunxi
cnxsoft has quit []
adjtm has quit [Quit: Leaving]
JohnDoe_71Rus has joined #linux-sunxi
<mirko> smaeul: can i monitor via software? apart from that, i'd expect that after a power cycle direct after the previous it would crash sooner, as it's already hot. that's not the case, though. always quite a couple of hours..
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
gsz has quit [Quit: leaving]
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
indy has quit [Ping timeout: 480 seconds]
indy has joined #linux-sunxi
<machinehum> apritzel: How important do you think SRAMC_BASE and SUNXI_R_CPUCFG_BASE are wrt uboot?
<machinehum> arch/arm/cpu/armv8/fel_utils.S looks to be important
<machinehum> They seem to differ between the H6 and V5, I'll import the other memory map see what happens
veremitz has quit [Ping timeout: 480 seconds]
adjtm has joined #linux-sunxi
<apritzel> machinehum: do you get output on the serial?
<machinehum> Not yet :/
<apritzel> machinehum: and since you asked about sunxi-fel the other day, do you actually use FEL for booting? Or do you write the image file to an SD card?
<machinehum> Starting to look into clock_sun50i_h6.h
<machinehum> What's fel?
<jakllsch> booting over USB
<machinehum> Oh, no.
<machinehum> writing output/images/sdcard.img to an SD card and booting
<apritzel> yeah, the most important and useful feature to bring up a new SoC or board ;-)
<apritzel> machinehum: basically you connect a standard USB cable between the microUSB on the board and your PC/laptop
<apritzel> then power on the board while holding down the FEL button
<apritzel> then you upload your just compiled U-Boot image in a few seconds and boot it
<machinehum> Were you being sarcastic when said it's important and useful?
<apritzel> no, honestly, I couldn't really live without it, for testing
<apritzel> it actually allows simple and quick experimentation
<machinehum> Cool
<machinehum> Yeah I might give that a go once I get some serial output
<apritzel> well, actually that might help you to get serial output
<apritzel> do you have two buttons between the Ethernet jack and the battery connector?
<apritzel> I have seen pictures of the board with two buttons there, one is labelled FEL
<machinehum> Yeah
<apritzel> if you download and build https://github.com/linux-sunxi/sunxi-tools/, you will get sunxi-fel
<apritzel> (or you try sunxi-tools through your distro, but the version will be old and outdated, and you will need to patch it anyway)
<machinehum> Section 3.3.5.2 of the manual list a PLL_DDR0 and PLL_DDR1 at 0x0010 and 0x0018, while sun50i-h6.dtsi only lists a ddr at 0x0010
<apritzel> yeah, one of the differences I also noticed
<apritzel> but that particular one is not important, since it's just an alternative clock to supply the DRAM (for switching frequencies), we don't use that anyway
<apritzel> it would need to go into the Linux clock driver eventually, though
<machinehum> eventually
<apritzel> also the other differing PLLs are for audio and video, so not relevant for booting
<machinehum> Fair enough
<apritzel> machinehum: do you have a H6 or other Allwinner board, to verify that your whole building and booting process is actually working?
<apritzel> since "nothing shown" could have many reasons ...
<apritzel> machinehum: btw: some explanation and instructions for FEL: https://linux-sunxi.org/FEL
<machinehum> Not right now, but I could buy one
<machinehum> I have verified booting works with the vendor supplied image
<machinehum> I could snag an H6
<apritzel> well, "vendor supplied" is mostly smoke and mirrors to distract you from the real way: mainline is somewhat different (actually easier)
<apritzel> so you would need to just do: $ sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1k seek=8
<apritzel> machinehum: if you don't have one, don't bother, I was just curious to simply double check the procedure