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 quit []
exkc has joined #linux-sunxi
bauen1 has joined #linux-sunxi
immibis_ is now known as immibis
mkazantsev_ has quit []
DasChaos has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
DasChaos is now known as Guest3939
vulpes2[m] has joined #linux-sunxi
mkazantsev has joined #linux-sunxi
insep has joined #linux-sunxi
<mkazantsev> smaeul: hello! I was using your patches and device trees for D1 display engine and DSI, and I've ran into some trouble: https://pastebin.com/36xYX1Yc
<mkazantsev> pipeline won't bind
<mkazantsev> isn't there a circular dependency between sun6i_dsi_probe and sun8i_tcon_top_bind?
<mkazantsev> dsi refers to tcon_top clock - https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/tree/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi?h=sunxi/for-next#n603 - which is registered in sun8i_tcon_top_bind, and that function isn't called until dsi driver is probed
apritzel has quit [Ping timeout: 480 seconds]
<mkazantsev> or is my device tree incorrect?
chuang[m] has joined #linux-sunxi
<mkazantsev> smaeul: great, thank you!
sajattack[m] has joined #linux-sunxi
hallyn has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
mkazantsev has quit [Quit: Leaving]
oliv3r[m] has joined #linux-sunxi
mripard has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
anarsoul has quit [Read error: No route to host]
kilobyte_ has quit [Ping timeout: 480 seconds]
kilobyte_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
DarrenNg[m] has joined #linux-sunxi
error2[m] has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
libv has quit [Ping timeout: 480 seconds]
libv has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
junari has joined #linux-sunxi
junari has quit [Remote host closed the connection]
junari has joined #linux-sunxi
apritzel has joined #linux-sunxi
freemangordon1 has quit []
freemangordon has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
kilobyte1 has joined #linux-sunxi
kilobyte_ has quit [Ping timeout: 480 seconds]
macromorgan has quit [Ping timeout: 480 seconds]
macromorgan has joined #linux-sunxi
apritzel has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
Guest3939 has quit []
DasChaos has joined #linux-sunxi
grming has joined #linux-sunxi
grming has quit [Ping timeout: 480 seconds]
mkazantsev has joined #linux-sunxi
shosie has joined #linux-sunxi
sh1 has quit [Ping timeout: 480 seconds]
<ungeskriptet> Is it possible for a sun5i tablet to have disabled UART? I tried soldering wires to the serial port twice now and I'm getting no output at all. I have also tried the points next to the SD card slot with no luck either
<ungeskriptet> I've also checked my soldering with a multimeter to make sure the continuity is all good which it is
JohnDoe_71Rus has quit []
<apritzel> ungeskriptet: we have seen missing FETs on some recent boards that would block serial input and/or output
<apritzel> ungeskriptet: https://linux-sunxi.org/Eachlink_H6_Mini#Adding_a_serial_port_.28might_void_warranty.3F.29
<ungeskriptet> Hm the tablet I have is from 2012 I think
<apritzel> sure, but still worth checking if you spot unpopulated SOT23 footprints
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
<ungeskriptet> I don't see any
<ungeskriptet> I've just now realized that I had the metal frame from the LCD shorting the points I think.
<ungeskriptet> But that shouldn't damage it permanently right?
<mkazantsev> it could, I've burned a uart on A20 this way
bauen1 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<apritzel> ungeskriptet: are you sure you got the right UART? IIRC, on older boards it's not necessarily only UART0 that is used for debug
junari__ has quit [Remote host closed the connection]
<ungeskriptet> I found two UART points on it, one on the back and one next to the SD card slot but neither of them worked
junari has joined #linux-sunxi
Arthur[m]12 has left #linux-sunxi [#linux-sunxi]
bauen1 has joined #linux-sunxi
<apritzel> ungeskriptet: I meant the right UART device, in software. Or are you running the vendor code on the flash?
bauen1_ has joined #linux-sunxi
<ungeskriptet> Right now there is vendor stuff on it
bauen1 has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
cnxsoft has quit []
junari has quit [Ping timeout: 480 seconds]
junari__ has joined #linux-sunxi
vagrantc has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
bauen1_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
ftg has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
vpeter has joined #linux-sunxi
mkazantsev has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
<ungeskriptet> Even trying serial_noise doesn't work on it. I'm getting I/O error. Could that mean that my UART controller is unreachable or is the kernel restricting access to it?
<ungeskriptet> Oh and the tablet does some weird noise when the screen is not attached. The noise does not come from the speaker
JohnDoe_71Rus has quit []
<ungeskriptet> Okay it seems like the pads next to the SD card slot and on the back are them same port
<ungeskriptet> And I found this
apritzel has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
apritzel has quit [Ping timeout: 480 seconds]
Daaanct12 has quit [Quit: Quitting]
Danct12 has joined #linux-sunxi
bauen1 has joined #linux-sunxi
<ungeskriptet> Hm, uart_used is set to 0 in my script.bin
sunshavi has quit [Remote host closed the connection]
<karlp> meh, been using ums 0 mmc 1 to dd a disk image to emmc...
<karlp> foudn it... it .. wasn't? it would update some stuff, but not everything. not sure how,
<karlp> but I had to do a mmc erase 0 1000000 once to get it to flash correctly :|
<karlp> with uboot 23.01.
sunshavi has joined #linux-sunxi
apritzel has joined #linux-sunxi
junari_ has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
vagrantc has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
<apritzel> ungeskriptet: ah, those are the PortF UART0 pins
<apritzel> there are pinmuxed with the SD card, so you only get either SD card or serial, but not both
<ungeskriptet> I'm aware of that
<apritzel> and while you could switch at runtime, this is not easily possible in reality
<ungeskriptet> There is no SD card inserted right now
<apritzel> that's not the point
<apritzel> the pinmux is probably set to SD card, so UART0 is not connected to those pins
<ungeskriptet> Should I edit my script.bin then?
<ungeskriptet> It's disabled in there right now
<apritzel> what is running on there? some ancient BSP based image?
<apritzel> and what is your console? ADB over serial?
<apritzel> meh, FEX ...
<ungeskriptet> apritzel: I haven't yet done anything with it, stock ROM/firmware is still on there
<apritzel> what's the SoC again? A33?
<ungeskriptet> The pins I'm soldered to right now should be PG3 and PG4
<ungeskriptet> sun5i/A13
<ungeskriptet> I want to try getting UART output first before trying to flash/port U-Boot to it
<apritzel> A13 ... sorry to hear that ;-)
<ungeskriptet> lol
<apritzel> so PG3/PG4 is UART1, I doubt you will see any output from a stock Android on that port
<ungeskriptet> Yeah but should U-Boot output something to there if i set it in the script.bin file?
<karlp> can you put in the sunxi-fel sdcard and have it show up as fel? is a13 supported?
<karlp> because then you can just fel load uboot into ram and try things out.
<apritzel> UART0 seems to be only on portF, so if the image is outputting debug info only on UART0, so you would need to use the PortF pinmux
<karlp> and that's less hassle (IMO) than figuring out whether you can get a vendor sdk to do uart in a useful format.
<apritzel> yeah, vendor SDK is typically a huge time sink
<apritzel> you spend a lot of time working around weirdness, for no reason
<apritzel> I guess q8_a13_tablet_defconfig would be a good starting point in mainline U-Boot
<apritzel> karlp: what SoC is your problem on?
<apritzel> ungeskriptet: that one uses CONFIG_CONS_INDEX=2, so it's outputting on UART1
<karlp> h3.
<jernej> apritzel: I'm debugging instability of DRAM driver on OPi3 LTS and I'm wonder, are we sure that AXP805 provides proper voltage for it? for LPDDR3 this should be 1.2 V.
<karlp> there's a chance it hasn't been "unmounted" properly after writing the image, and damn, I do _not_ have the stamina to try and debug it much right now.
<karlp> I'm doing enough image rebuilding and flashing to test out upgraddes, running into some of this is not helping much :)
<ungeskriptet> apritzel: I'll try porting mainline u-boot tomorrow, I've bricked the nanda partition now anyway. Hopefully uart will work there
<apritzel> jernej: according to the schematic, DRAM is on DCDC-E, which defaults to 1.2V, at least according to the AXP805 datasheet regulator overview
<jernej> apritzel: ah,
<jernej> I'm looking at default register value, which seems a bit high
<apritzel> yeah, I was puzzled, too. 0x16 would mean 3.3V
<apritzel> which doesn't make much sense
<apritzel> but table 4 says 1.2V, and I guess you wouldn't see much of the DRAM at 3.3V ;-)
<jernej> yeah, I guess it's good
hallyn has quit [Quit: leaving]
anarsoul|2 has quit [Ping timeout: 480 seconds]
anarsoul has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Danct12 has quit [Ping timeout: 480 seconds]
hallyn has joined #linux-sunxi
Turl has quit [Quit: . o O ( why am I quitting? )]
cyrozap has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
Turl has joined #linux-sunxi
cyrozap has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
ftg has quit [Read error: Connection reset by peer]