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
<tokyovigilante> apritzel: great will do, thanks
flyback has quit []
<apritzel> vaughngx4: the UART situation is odd, those pins are working on almost every device we had our hands on
<vaughngx4> apritzel: Awesome! So I run your script with the image file as arg1?
<apritzel> yes
<apritzel> vaughngx4: for the UART there are a few exceptions, though. At least one device was missing a FET to connect RX and TX, see https://linux-sunxi.org/Eachlink_H6_Mini#Adding_a_serial_port_.28might_void_warranty.3F.29
<vaughngx4> apritzel: There are a few spots on my board that could potentially be missing a resistor for UART but the manufacturer decided to be a pain and mounted the eMMC on top of the UART traces so I can't exactly follow them. If you don't mind having a look, this is the device: https://ibb.co/album/208yPZ
<apritzel> vaughngx4: did you try just connecting GND and TX?
<vaughngx4> apritzel: Unfortunately your script did not find a DTB in any of the images I dumped be it by-name or nandX.
<vaughngx4> apritzel: I did, still nothing
<apritzel> DTB script: are those image files somehow compressed? Did binwalk find something?
<apritzel> can you try to use a multimeter in continuity mode to find if the TX pin connects to some of the (unpopulated) resistor pads?
<vaughngx4> apritzel: No compression AFAIK? I used dd to dump the partitions directly to .img files. I didn't read through all the binwalk output, will run it again. Is there something I can grep for? Not exactly sure what I'm looking for
<apritzel> and btw: this chips looks more like raw NAND flash rather than eMMC, unfortunately. Which means there will be no easy mainline Linux support for that :-(
flyback has joined #linux-sunxi
<vaughngx4> apritzel: Oh dear. So I probably just bricked a device for nothing
<apritzel> vaughngx4: there should be something like "2117484 0x204F6C device tree image (dtb)", though my copy of binwalk doesn't seem to identify a DTB, for some reason
<apritzel> vaughngx4: it's not all hope lost. How did you dump the image? From a running system, or via U-Boot or fastboot?
<vaughngx4> apritzel: no there is no continuity but now that I'm testing I think maybe I damaged the board during soldering as there is no continuity from TX to anything it seems
<vaughngx4> apritzel: I dumped it from a running system (KitKat) but I bricked the device by flashing a bad boot.img via fastboot (booted using adb reboot fastboot)
<vaughngx4> apritzel: The bad boot.img is a v22.1 Magisk patched boot.img
<apritzel> vaughngx4: ah, which device did you dump it from? /dev/mmc.... or /dev/mtd... ?
<apritzel> I think you might not need a vendor DTB, those H3 devices are pretty straight-forward, as they typically don't contain a programmable PMIC
<apritzel> not having a UART is of course a pain, but I wonder if a basic "guessed" DTB would give you HDMI output already in U-Boot
<vaughngx4> apritzel: Oddly enough there was no such device. The only things I could find were /dev/block/by-name and /dev/block/nandX
<apritzel> ah yeah, Android
<apritzel> /dev/block/by-name is a symlink to the actual device, but /dev/block/nandX sounds indeed more like raw NAND flash rather than eMMC
<vaughngx4> apritzel: Yeah that's why I dumped all. It was /dev/block/nanda /dev...nandb etc.
<vaughngx4> apritzel: I did try a few existing configs but I'll try more and see if I get any output
<apritzel> try as basic as you can get: copy a config and a .dts, and remove as much as possible (but keep the system peripherals like GIC and timer, and clocks and pinctrl)
<apritzel> and of course the HDMI and de2 nodes
<apritzel> see if you can identify the DRAM chip (the BGA chip next to the CPU): to see whether it's DDR3 or LPDDR3
<vaughngx4> apritzel: I'll give that a go a bit later. It's almost 3AM here I should probably call it a night soon lol. Failing which, someone else mentioned that the fastboot key min and max I found after running "strings" on env.img (https://pastebin.com/5DjTn5Ru) look like lradc values I might just have to do something very hacky to get into fastboot
<vaughngx4> apritzel: It's a GCAI GDB41A32ED7-D2S and I can't find anything about it online. I really appreciate the assistance thank you so much. I'll be back soon. Hopefully I'll catch you again.
apritzel has quit [Ping timeout: 480 seconds]
montjoie has joined #linux-sunxi
montjoie_ has quit [Ping timeout: 480 seconds]
vaughngx4 has quit [Quit: Client terminated!]
kikuchan has quit [Quit: Page closed]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
gsz has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
gsz has quit [Ping timeout: 480 seconds]
smaeul has quit [Ping timeout: 480 seconds]
smaeul has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
electricworry has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
warpme has quit []
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
colinsane has joined #linux-sunxi
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
Danct12 has quit [Quit: ZNC 1.9.0 - https://znc.in]
colinsane1 has quit [Ping timeout: 480 seconds]
Danct12 has joined #linux-sunxi
asriel has joined #linux-sunxi
warpme has quit []
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
anarsoul has quit [Quit: ZNC 1.8.2 - https://znc.in]
anarsoul has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
dsimic is now known as Guest8157
dsimic has joined #linux-sunxi
Guest8157 has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.0 Quasar http://www.kvirc.net/]
arti_ has joined #linux-sunxi
arti has quit [Ping timeout: 480 seconds]
<loki666> So I've pinned down the kernel panic and other random instabilities of tokyovigilante's hack branch to the inclusion of dtb dvfs opp
<loki666> I don't know if I'm missing something from TFA or uboot
<loki666> Using TFA v2.10 and tokyovigilante uboot rg35xx-upstream-extras branch
<loki666> I'm testing on a RG35XX H
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
freemangordon1 has joined #linux-sunxi
freemangordon has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
macromorgan has quit [Remote host closed the connection]
<apritzel> loki666: there shouldn't be any dependency on U-Boot or TF-A when it comes to DVFS
<apritzel> but it might be worth rebasing your branch onto v6.10-rc1, which contains the official and final cpufreq patches
macromorgan has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
heartburn has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
freemangordon1 has quit []
freemangordon has joined #linux-sunxi
<loki666> v6.11-rc1 you mean?
macromorgan has quit [Remote host closed the connection]
macromorgan has joined #linux-sunxi
heartburn has joined #linux-sunxi
electricworry has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.2, revision: 5.2.0+git-7584-200e7bcec, build type: debug, sources date: 20160102, built on: 2024-05-13 20:04:01 UTC 5.2.0+git-7584-]
apritzel_ has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
acmeplus has joined #linux-sunxi
acmeplus has quit [Ping timeout: 480 seconds]
acmeplus has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
acmeplus has quit [Ping timeout: 480 seconds]
acmeplus has joined #linux-sunxi
acmeplus has quit [Ping timeout: 480 seconds]
acmeplus has joined #linux-sunxi
vagrantc has quit [Ping timeout: 480 seconds]
acmeplus has quit [Ping timeout: 480 seconds]
<tokyovigilante> loki666: I have found specific bins of the opp table do cause instability, and have disabled those specific ones in my testing, that's why I haven't wanted to push support for the RG35XX yet. My plan is to look at that once I send the LCD/TCON/DE patches which either need to go together or closely sequentially
acmeplus has joined #linux-sunxi
acmeplus has quit [Ping timeout: 480 seconds]
acmeplus has joined #linux-sunxi