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
rajkosto has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
sunshavi_ has joined #linux-sunxi
sunshavi has quit [Ping timeout: 480 seconds]
ftg has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
pmp-p has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
disctanger has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
hlauer has joined #linux-sunxi
jernej_ is now known as jernej
JoaoSchim has quit [Ping timeout: 480 seconds]
szemzoa has joined #linux-sunxi
szemzoa has left #linux-sunxi [#linux-sunxi]
szemzoa has joined #linux-sunxi
<szemzoa> hi, this is my first Allwinner SoC, a T113-S3. I try to write a simple bootloader to boot linux. Current state is I'm able to use xfel tool to init DDR RAM, than I upload my bootloader with xfel to 0x30000 address (with correct boot_head), which is load the kernel and DTB to SDRAM from SDHCI0 from a FAT partition, and jump to the kernel, but it is not booting, this is the log: https://pastebin.com/QwZiAvay
<szemzoa> anybody has an idea what I do not so well?
cnxsoft1 has joined #linux-sunxi
<DuClare> psci..
<DuClare> I think that wants a secure monitor thing
cnxsoft1 has quit [Read error: Connection reset by peer]
<DuClare> What was it called again..
cnxsoft has quit [Remote host closed the connection]
<DuClare> ATF
<DuClare> That is something you'd normally load with u-boot
<DuClare> I'm not sure what the convention on allwinner platforms is
bauen1_ has quit [Ping timeout: 480 seconds]
machinehum has quit [Ping timeout: 480 seconds]
hlauer has quit [Ping timeout: 480 seconds]
<szemzoa> I'll look at it in u-boot, thanks
JoaoSchim has joined #linux-sunxi
Rajko has joined #linux-sunxi
rajkosto has quit [Read error: Connection reset by peer]
Danct12 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
JoaoSchim has quit [Remote host closed the connection]
JoaoSchim has joined #linux-sunxi
Rajko has quit [Read error: Connection reset by peer]
disctanger has quit [Remote host closed the connection]
diego71_ has quit [Remote host closed the connection]
diego71 has joined #linux-sunxi
pmp-p has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel> szemzoa: for ARMv7 it's U-Boot providing PSCI services
<apritzel> if you don't care about the second core for now, just remove the PSCI references from the device tree
<szemzoa> yes, I was able to boot correctly with only one core, disabling the PSCI.
<apritzel> but that's some BSP kernel and DT, right?
<szemzoa> yes, this one is the official allwinner kernel/dt. I try to get rid of all the fancy bootloader, fex, u-boot etc, keep it as simple as possible.
<szemzoa> and maybe one day use mainline kernel...
Danct12 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has quit []
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
indy has quit [Ping timeout: 480 seconds]
indy_ has joined #linux-sunxi
ftg has joined #linux-sunxi
indy_ is now known as indy
indy has quit [Ping timeout: 480 seconds]
sunshavi_ has quit []
sunshavi has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
ftg has quit [Ping timeout: 480 seconds]
sunshavi has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<apritzel> szemzoa: do you have the "User manual" for the T113-S3?
indy has joined #linux-sunxi
hallyn has quit [Quit: leaving]
hallyn has joined #linux-sunxi
bauen1_ has quit []
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has quit []
hlauer has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
LordKalma has joined #linux-sunxi
<LordKalma> Hello! Nice to join you all! Found your website while doing some research :D
<LordKalma> Let me tell you my story. I do amateur (ham) radio. And I bought this: https://www.radioddity.com/products/xiegu-x6100
<LordKalma> Happens that the community found it it uses an Allwinner SoC
<LordKalma> ^pic of the SoC
<LordKalma> It runs Linux on top of that. And the GUI is a Qt app. The community is already quite advanced in "hacking" it. Like booting armbian from the SDCard slot and etc
<LordKalma> We do have a problem tho... In an unsurprising violation of the GPL 2.0, there is one driver missing: the LCD display
<LordKalma> and no, the company doesn't seem they'll share their kernel...
<LordKalma> It's something i'll try to look into in the future :) Perhaps making the kernel driver, or try to :)
<LordKalma> I don0t have a question in particular about the SoC right now, just wanted to share my story :) and hang around and learn
<jernej> LordKalma: depending on connection type, LCD driver might be very simple
<LordKalma> I can give you what we already know, if you want to comment on it :)
<jernej> well, I'm not really interested in device, I just wanted to say that making LCD work with mainline kernel should not be that hard
<LordKalma> And the display the radio uses is the Jinglitai model JLT4013A, with ST7701S driver IC
<LordKalma> notice the S in the end
<LordKalma> and it uses SPI, not MIPI
<LordKalma> (in this device, I mean)
<jernej> ah, SPI LCD, that's a bit weird
<jernej> well, probably cheaper
<LordKalma> someone more advanced in this than I am shared this code (unfortunately as a screenshot) from the decompiled DTB
<jernej> do you have access to dtb?
<jernej> this looks like mainline kernel
<LordKalma> someone decompiled it
<jernej> yes, but if you have device, you can also dump it
<LordKalma> the community already dumped the kernel, already built new kernels (except for that driver), etc etc
<LordKalma> yes yes, and the manufacturer gives firmware updates as .img files
<jernej> which kernel is running originaly?
<LordKalma> the version? not sure what you're asking
<jernej> yes, version
<jernej> devices based on Allwinner SoCs rarely feature mainline kernel
<LordKalma> > Linux version 5.8.9 (jet@ubuntu) (arm-buildroot-linux-gnueabihf-gcc.br_real (Buildroot 2020.02.9) 8.4.0, GNU ld (GNU Binutils) 2.32) #89 SMP PREEMPT Sun Feb 20 13:55:09 HKT 2022
<LordKalma> Jet seems to be the Xiegu employee that does the building
ftg has joined #linux-sunxi
apritzel has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]