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
<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!
<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]