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
montjoie_ has joined #linux-sunxi
montjoie has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
apritzel has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
Danct12 has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-sunxi
rajkosto has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
hlauer has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari_ has quit [Remote host closed the connection]
junari_ has joined #linux-sunxi
junari_ has quit [Remote host closed the connection]
chuangzh1 has quit [Ping timeout: 480 seconds]
chuangzh1 has joined #linux-sunxi
pnill has quit [Ping timeout: 480 seconds]
Bellamy_ has joined #linux-sunxi
Bellamy has joined #linux-sunxi
Bellamy_ has quit []
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
hlauer has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
ftg has joined #linux-sunxi
ftg^ has joined #linux-sunxi
HERIC has joined #linux-sunxi
ftg has quit [Ping timeout: 480 seconds]
ftg^ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
HERIC has quit [Ping timeout: 480 seconds]
HERIC has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
<Bellamy> hello
<gnarface> hello, Bellamy
<Bellamy> i have this weird issue where u boot is trying to boot off MMC2 which is the wifi
<Bellamy> apparently its switched mmc@4021000: 2, mmc@4022000: 1
<apritzel> Bellamy: which board is this? Typically indeed MMC2 is eMMC, and MMC1 is the Wifi, that's why we re-sort the devices in U-Boot
<Bellamy> tanix-tx6
<apritzel> (reason being that MMC2 is typically the only 8-bit capable MMC interface)
<apritzel> that'w weird, it should work on these newer boards, and surely the WiFi is on MMC1 there?
<apritzel> Bellamy: just to make sure, you are talking about mainline U-Boot?
<Bellamy> yeah, 2023.04
<apritzel> Bellamy: we assign aliases just for U-Boot, when building the integrated dtb: https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/dts/sunxi-u-boot.dtsi#L14-18
<apritzel> and the MMC2 peripheral gets "mmc1"
<apritzel> so in U-Boot you should see "mmc 0" (SD card) and "mmc 1" (eMMC)
<apritzel> as this is what the boot scripts rely on
<Bellamy> i've been using linux dts this entire time
<apritzel> Bellamy: well, you don't need to, but this doesn't really matter, as U-Boot always uses its own DT for itself (the "control DT")
<apritzel> but you can double check, on the U-Boot prompt: fdt addr $fdtcontroladdr; fdt print /aliases
<Bellamy> the aliases is there, and it does boot off mmc1 when i take the SD card out
<apritzel> what happens with the SD card? Is there by any chance some boot script on the SD card? Some leftover uboot.scr, for instance?
<Bellamy> there is one in the emmc and sd card
<Bellamy> but im using extlinux
<apritzel> so what is your exact problem? Does it not find the right extlinux.conf?
<Bellamy> no, it doesnt even load ATF
<Bellamy> U-Boot SPL 2023.04-dirty (Jun 25 2023 - 20:07:26 +0800)
<Bellamy> DRAM: 2048 MiB
<Bellamy> Trying to boot from MMC2
<apritzel> ah, I see, misunderstanding then
<apritzel> in the SPL it's a different numbering, so MMC2 is the same MMC2 in the DT or in the hardware manual
<apritzel> so did you write the whole u-boot-sunxi-with-spl.bin to the eMMC then?
<Bellamy> yes
<Bellamy> written it to hardware partition
<Bellamy> im also getting this weird issue with the graphics
<Bellamy> panfrost 1800000.gpu: js fault, js=0, status=INSTR_INVALID_PC, head=0x111c8600, tail=0x111c8600
<Bellamy> causes graphic glitches everywhere
Halamix2 has quit [Quit: ZNC - https://znc.in]
Halamix2 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit []
jakllsch has quit [Quit: BRB]
jakllsch has joined #linux-sunxi
jakllsch has quit []
hentai has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
hentai has joined #linux-sunxi
jakllsch has joined #linux-sunxi
gsz has quit [Quit: leaving]
hlauer has joined #linux-sunxi
vagrantc has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
Mangy_Dog has quit [Ping timeout: 480 seconds]
HERIC has quit [Read error: Connection reset by peer]