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]
apritzel has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
junari has joined #linux-sunxi
Danct12 has quit [Quit: ZNC 1.9.0 - https://znc.in]
Danct12 has joined #linux-sunxi
gsz has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
colinsane has quit []
colinsane has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
warpme has quit []
junari has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
gsz has joined #linux-sunxi
apritzel has joined #linux-sunxi
warpme has quit []
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
gsz has quit [Ping timeout: 480 seconds]
<tokyovigilante> kernel programming 101 question, where are the register read/write functions actually defined? eg which header should I import for writel()? And is there a good resource to find this sort of thing? Am using clangd for LSP but it seems to choke a bit on the kernel
gsz has joined #linux-sunxi
warpme has joined #linux-sunxi
<apritzel> #include <asm/io.h>
<apritzel> tokyovigilante: the writel() function itself is provided through asm-generic for arm64, which then calls __raw_writel from arch/arm64/include/asm/io.h
cch has joined #linux-sunxi
<apritzel> arm(32) handles everything in arch/arm/include/asm/io.h, as does riscv
Hypfer has quit [Ping timeout: 480 seconds]
cyrozap has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
cyrozap has joined #linux-sunxi
Hypfer has joined #linux-sunxi
warpme has quit []
Daaanct12 has quit [Quit: WeeChat 4.3.3]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
<tokyovigilante> awesome, thanks apritzel
ity has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
dsimic is now known as Guest497
dsimic has joined #linux-sunxi
Guest497 has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
lwolf has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
lwolf has quit [Remote host closed the connection]
maggio_ has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<maggio_> apritzel: How did you figure out boot0 for the Pine64 loaded u-boot from sector 38192
<maggio_> I'm trying to build firmware for the a133 using https://github.com/apritzel/pine64/blob/master/tools/boot0img.c
<apritzel> maggio_: oh, please don't go this way, this was really just because we didn't have DRAM init code early enough
<apritzel> maggio_: try to write *just* boot0 on an SD card, without having any other payload on there. I have seen some boot0 blobs going into FEL mode after DRAM init
<apritzel> which would allow you to upload U-Boot and a kernel
<apritzel> but be warned: bringing up firmware for a new SoC is not a walk in the park!
<apritzel> there is this, but no guarantees: https://github.com/apritzel/u-boot/commits/a133-WIP/
warpme has joined #linux-sunxi
<maggio_> apritzel: thanks. will definitely take a look.
<maggio_> I guess getting boot0 to lood U-Boot from an SD card would not be at all trivial
<apritzel> maggio_: not really. Also AW changed and changes a lot in boot0 and their boot process compared to the A64, they already did with the H5 a year later, so we gave up on building on that
warpme has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
gsz has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
maggio_ has quit [Remote host closed the connection]
gsz has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
lwolf has joined #linux-sunxi
lwolf has quit [Remote host closed the connection]
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
cch_ has joined #linux-sunxi
cch has quit [Ping timeout: 480 seconds]
warpme has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]
gsz has quit [Ping timeout: 480 seconds]
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]
lwolf has joined #linux-sunxi
lwolf has quit [Remote host closed the connection]
kjn260 has joined #linux-sunxi
dok_ has joined #linux-sunxi
dok has quit [Ping timeout: 480 seconds]
ftg has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
warpme has quit [Ping timeout: 480 seconds]