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
vagrantc has quit [Quit: leaving]
Arthur[m]123 has joined #linux-sunxi
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
<swiftgeek> this is probably more archlinuxarm issue, but on recent kernel USB kicks in extremely late in boot, even getty starts sooner
<swiftgeek> and this is despite all usb modules being built in
<swiftgeek> getty starts in 17th second, USB host kicks in nearly a second later
<swiftgeek> (with message: ehci-platform 1c14000.usb: EHCI Host Controller )
moteen has joined #linux-sunxi
HERIC has quit [Ping timeout: 480 seconds]
<swiftgeek> actually blacklisted every single module and USB doesn't work anymore
smaeul_ has quit []
smaeul has joined #linux-sunxi
<smaeul> is phy-sun4i-usb a module?
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<swiftgeek> adding axp20x_adc to initrd helped
<swiftgeek> now the second hickup is having it detect partitions
<swiftgeek> and that's something I observed on RK3288 as well, partitions on USB devices would not be detected early on
<swiftgeek> but at exactly the same time, it's detected just fine on mmcblk0
<swiftgeek> maybe i should just load every single module used into initcpio and see what happens
<swiftgeek> that helped with having /dev/sda1 but it doesn't end up being detected as particular label lol
<swiftgeek> or (part)uuid
<swiftgeek> and an attempt to mount it fails too xD
<swiftgeek> works after hotplug though lol
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
rajkosto has joined #linux-sunxi
rajkosto has quit [Remote host closed the connection]
<swiftgeek> looks like hotplug works after > [ 33.772875] vcc3v0: disabling
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
<swiftgeek> yeah the entire usb path is extremely strange on both rk3288 and at least A20 xD
<swiftgeek> i guess i will find last kernel that works, take that config and just rebuild for newest kernel
<swiftgeek> but the strangest part for me is that it works just fine after it boots from say, mmcblk0 xD
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
<swiftgeek> right, and now any USB storage device plugged in while booting will cause some kind of glitchy behaviour xD
vagrantc has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
<swiftgeek> k luckily 5.16.x works fine, so that shouldn't be a massive gap to 5.19
moteen has joined #linux-sunxi
<swiftgeek> nope just lucked out on few boots, damn xD
vagrantc has quit [Quit: leaving]
rajkosto has joined #linux-sunxi
Rajko has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
bitrot has joined #linux-sunxi
rajkosto has quit [Ping timeout: 480 seconds]
Rajko has quit [Ping timeout: 480 seconds]
bitrot has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
bauen1_ has joined #linux-sunxi
moteen has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
szemzoa_ has joined #linux-sunxi
szemzoa has quit [Read error: Connection reset by peer]
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
bauen1_ has left #linux-sunxi [#linux-sunxi]
bauen1 has joined #linux-sunxi
<bauen1> hm, so I can't easily change my nick from bauen1_ to bauen1 when on this channel, since unregistered users are muted I think ? Is there a better way around this than to part, nick, join again ?
<bauen1> or do people just register their alternative names to nickserv too ?
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
evgeny_boger has quit [Quit: evgeny_boger]
<hramrach> bauen1: there is some way to register alts too
<hramrach> link the registration to one nick, even
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
aggi has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
aggi has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
HERIC has joined #linux-sunxi
moteen_ has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen_ has quit [Ping timeout: 480 seconds]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
HERIC has quit [Ping timeout: 480 seconds]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
vagrantc has joined #linux-sunxi
cnxsoft has quit []
HERIC has joined #linux-sunxi
<swiftgeek> I guess I will make some AXP209 and others sanity check in uboot script, so I know for sure whether AXP has a faulty state, or something is wrong with linux
<swiftgeek> sucks that AXP's I2C isn't on any header for easier troubleshooting
evgeny_boger has joined #linux-sunxi
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
JohnDoe_71Rus has quit []
moteen has quit [Remote host closed the connection]
rajkosto has joined #linux-sunxi
<bauen1> so I'm still trying to get the external tpm2 to work, this time on my pine64-lts and with linux, as u-boot still refuses to talk to it, but debian doesn't actually build the sun6i spi drivers ...
<swiftgeek> I guess I can use this https://stackoverflow.com/questions/45533708/need-to-detect-i2c-value-in-uboot-as-a-script to detect AXP209 in uboot script using 03h register
<swiftgeek> Is it possible to set a blinky led in uboot?
<swiftgeek> for "attention required"
<bauen1> swiftgeek: if it's connected to a gpio pin, you can always use the `gpio` command to do that
<swiftgeek> welp
<swiftgeek> i guess solid will do too for now
moteen has joined #linux-sunxi
<swiftgeek> or maybe I can have infinity loop in script waiting for input, printing something with carriage return to not mess up the logs too much
moteen has quit [Ping timeout: 480 seconds]
hlauer has quit [Ping timeout: 480 seconds]
<swiftgeek> huh compared two uboot versions by accident and on latest PMIC is listed but attempt to read that address fails
<swiftgeek> ah it works with 03.1
<swiftgeek> then not sure what .0 .1 .2 are
<swiftgeek> https://stackoverflow.com/questions/48075876/i2c-md-command-syntax i guess i will need to look up more i2c device datasheet examples
<swiftgeek> oh
<swiftgeek> I guess uboot's echo doesn't support escape characters
<swiftgeek> is it because puts takes single character at once?
<swiftgeek> or i don't get how echo works there
<swiftgeek> echo -n \n\n\n somehow strips all \, but puts with \n in it clearly works
<swiftgeek> maybe it will work from script and not hush shell
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
<bauen1> *sight*, obviously it's benefitial if the underlying SPI driver in u-boot works
<bauen1> now I'm back at the point where the receing values are shifted by one bit
rajkosto has quit [Read error: Connection reset by peer]
<bauen1> this isn't even limited to SPI1, but seems to affect the entire sunxi-spi driver (and then probably for both the a64 and the h6), e.g. `sspi 0:0 128 9F` (SPI NOR FLASH request ID command) will return `00EF4018000000000000000000000000` for both the SBC winbond flash and the external winbond flash, but it's supposed to return 00EF4016 (6 instead of 8)
moteen has joined #linux-sunxi
<bauen1> or it is supposed to read 4018
moteen has quit [Ping timeout: 480 seconds]
<bauen1> yeah, pretty sure it's supposed to be that, so that is working as expected
<bauen1> so why isn't my precious little tpm thingy doing the right thing ...
ats has joined #linux-sunxi
<swiftgeek> huh setexpr seems to imply i can just load memory into a variable though not sure if that's useful for binary
<swiftgeek> setexpr.w test *${kernel_addr_r}
<swiftgeek> nice :D
<swiftgeek> it's actually a hex form so i can do whatever easily
<mnemoc> wiki back online, apologies for the inconveniences