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 [Ping timeout: 480 seconds]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
junari has joined #linux-sunxi
<junari> dlan: initial dvfs and second emac here https://gitlab.manjaro.org/iuncuim/linux
<junari> I don't have radxa, only walnutpi and x96qpro+, I haven't made patches for it
<junari> I'm slowly making an HDMI and usb3 output right now, but that takes a lot of time I don't have. I think usb3 is an easier target. Anyway, any input would be helpful
<dlan> great! I can test on radxa, do they work well on these boards, is there any pending issue before sending out to mailing list?
<dlan> I'd be interested in HDMI, but do not have much experience..
<dlan> since there are usb2? working, so usb3 isn't that urgent
<junari> code cleanup is necessary. Also allwinner has greatly changed the frequency and voltage dependence on different versions of the same die
<Lightsword> junari, should that work on other h616 boards using emac1?
cnxsoft has joined #linux-sunxi
<junari> nope, controller is different
<junari> но там единственная проблема в тактировании ephy
<junari> but the only problem there is the ephy clocking.
<dlan> do you mean phy25m clock?
<junari> The T507 does not have the ephy ac300 and both ethernet work with some patches
cnxsoft has quit [Ping timeout: 480 seconds]
<junari> Yes. The built-in ephy needs to be clocked with pwm
<dlan> junari: is 'iuncuim' also you? commiter from patch, I'm trying to map id with people..
<junari> Yes
<dlan> great
<Lightsword> junari, I've been trying to get emac1 working on a h616 board but have been completely unable to bring up the i2c3 in a usable state, the ac300 phy on a h616 won't function without i2c3 working right?
<dlan> I haven't checked emac1 (ac300), but for emac0, the phy25m is optional, which really depend on hw design, for radxa board, it explicitlt use external xtal, so the internal phy25m clock isn't necessary
<Lightsword> the ac300 phy on a h616 is controlled via i2c3(twi3) right? I've been trying all sorts of different patches to try and initialize it(the i2c3 interface) but no matter what I do I always get this error "i2c i2c-1: mv64xxx: I2C bus locked, block: 1, time_left: 0"
<junari> Lightsword: That's right, but I haven't looked into it. I don't have the right device
<junari> dlan: Yes, this is optional if an external crystal oscillator is used
<Lightsword> junari, so second eth interface on T507 uses external phy and doesn't use i2c3 at all?
zamon has joined #linux-sunxi
<junari> yes, it doesn't have ac300 at all
junari has quit [Remote host closed the connection]
radxanaoki has joined #linux-sunxi
junari has joined #linux-sunxi
junari has quit [Remote host closed the connection]
junari has joined #linux-sunxi
zamon has quit [Remote host closed the connection]
Schimsalabim has quit [Ping timeout: 480 seconds]
zamon has joined #linux-sunxi
junari has quit [Remote host closed the connection]
junari has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
junari has quit [Remote host closed the connection]
hexdump0815 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
hexdump02 has quit [Ping timeout: 480 seconds]
junari has joined #linux-sunxi
zamon has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
zamon has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
gsz has joined #linux-sunxi
gsz has quit []
gsz has joined #linux-sunxi
chewitt has joined #linux-sunxi
jgfh has joined #linux-sunxi
dfas has quit [Read error: Connection reset by peer]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
hexdump01 has quit []
hexdump01 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
zamon has left #linux-sunxi [#linux-sunxi]
zamon has joined #linux-sunxi
zamon has left #linux-sunxi [#linux-sunxi]
zamon has joined #linux-sunxi
<zamon> hello, I'm tring to run u-boot on orangepi 4A based on https://lore.kernel.org/all/20250323113544.7933-1-andre.przywara@arm.com/
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
<zamon> I applied the above u-boot patches on 2025.04-rc5. But the patch doesn't have defconfig for my orangepi 4A, so I copied from avaota-a1_defconfig and did some tiny changes. After all, u-boot could run
<zamon> => load mmc 0:1 0x43000000 ${fdtfile} || load mmc 0:1 0x43000000 boot/${fdtfile}
<zamon> 184336 bytes read in 26 ms (6.8 MiB/s)
<zamon> => load mmc 0:1 0x42000000 Image || load mmc 0:1 0x42000000 boot/Image
<zamon> 24877568 bytes read in 3071 ms (7.7 MiB/s)
<zamon> => booti 0x42000000 - 0x43000000
<zamon> ERROR: Did not find a cmdline Flattened Device Tree
<zamon> Could not find a valid device tree
<zamon> As for kernel and kernel dtb, I used the revision provided by vendor which were 5.15.x. But turned out that error, my log is above here :/
<dlan> probably wrong dtb address, try "booti 0x42000000 - 0x4fa00000"
<dlan> you can actually validate the fdt data first, I vaguely remember there is command to print out whole dtb tree..
<zamon> dlan: wow, that's it. thank you! But I wonder why? I follow the https://linux-sunxi.org/U-Boot#Compile_U-Boot instruction. Btw, I indeed saw the 0x4fa00000 address from https://linux-sunxi.org/FEL/USBBoot#Booting_the_whole_system_over_USB_(U-Boot_+_kernel_+_initramfs)
<dlan> must check code, maybe both uboot and sunxi-tools
<dlan> where the actual address used
<zamon> dlan: Hey, I think I get the answer. It's likely that Image was bigger than 0x1000000 and overwrote the fdt which loaded first :( I tried other undocumented address which worked as well :)
<paulk> AFAIK there's no particular constraint on the load addresses anymore
digetx has quit [Ping timeout: 480 seconds]
digetx has joined #linux-sunxi
radxanaoki has quit [Quit: radxanaoki]
mripard has joined #linux-sunxi
mripard__ has quit [Ping timeout: 480 seconds]
hentai has joined #linux-sunxi
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
ungeskriptet has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
wingrime1 has quit []
ungeskriptet has joined #linux-sunxi
wingrime-ww has joined #linux-sunxi
ftg has joined #linux-sunxi
ungeskriptet has quit [Read error: Connection reset by peer]
ungeskriptet has joined #linux-sunxi
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
<loki666> jernej: sorry... my uart soder just broke, not sure if I'll be able to fix it to test your patches
cnxsoft has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
ungeskriptet_ has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
hentai has quit [Read error: Connection reset by peer]
hentai has joined #linux-sunxi
dsimic is now known as Guest13912
dsimic has joined #linux-sunxi
ungeskriptet_ has quit [Remote host closed the connection]
Guest13912 has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #linux-sunxi
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-sunxi
wasutton3 has quit [Read error: Connection reset by peer]
wasutton3 has joined #linux-sunxi
<jernej> loki666: no worries
zamon has quit [Ping timeout: 480 seconds]
mripard has quit [Quit: WeeChat 4.6.0]
psydroid has quit []
LordKalma has quit [Quit: Server has probably crashed]
LordKalma has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
jason123onirc has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
jason123onirc 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
<Lightsword> anyone know why h616 vendor trees have a bunch of io_disabled entries associated with mux7 for most pins while mainline does not?
MulletMonster has joined #linux-sunxi
MulletMonster has quit []
hexdump01 has quit []
hexdump01 has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
colinsane has quit []
chewitt has quit [Quit: Zzz..]
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
radxanaoki has joined #linux-sunxi
aggi has quit [Quit: connection closed.]
aggi has joined #linux-sunxi
ungeskriptet_ has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet_ has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #linux-sunxi
hentai has quit [Ping timeout: 480 seconds]
ungeskriptet has quit [Ping timeout: 480 seconds]
ity has quit [Quit: WeeChat 4.6.0]