<Jookia>
i'm looking for an alternative bootloader
<apritzel>
why?
<Jookia>
u-boot is incredibly frustrating to work with
<Jookia>
so anything else might be fun to try
<apritzel>
in my experience everything else is an unreviewed mess ;-)
<apritzel>
not that U-Boot is particularly pretty ;-)
<apritzel>
I am just waiting for reviews on the T113 U-Boot series, particularly the GPIO part
<apritzel>
I hope that something still shows up this week, then it will be merged
<apritzel>
there is an alternative for the T113s, but IMHO it's just a distraction from fixing and improving the real thing (which is U-Boot)
<apritzel>
Jookia: what is "frustrating to work with", in particular? Maybe we can improve things?
<Jookia>
apritzel: the Kconfig system has a lot of unspecified dependencies so often just enabling a feature causes compile errors :(
<apritzel>
yes, that's indeed true. Whenever you find something, please report it on the U-Boot list, so that it can be fixed
<Jookia>
a lot of code is also a little broken at least with what i'm touching
<Jookia>
but i guess i just have to fix it lol
<apritzel>
yes, that's the point
<apritzel>
it won't get better on its own ;-)
<Jookia>
can you spare me a hint on one thing
<apritzel>
and I agree, whenever I touch some new area in U-Boot, I see it's quite often in a bad shape
<apritzel>
sure, shoot
<Jookia>
i have managed to get SPI working on the T113 (Linux writing NAND doesn't work :( ) and I'm trying to connect SPI flash, but 'sf probe' says it can't find cs 0 and 'Invalid chip select 0:0 (err=-19)'
<Jookia>
I added the spi controller to dt and the flash in the spi controller
<Jookia>
oh i was missing the spi nand driver
<apritzel>
SPI-NAND? That should be covered by the "mtd" command, not "sf", as GrantM11235[m] figured out lately ...
bauen1 has quit [Ping timeout: 480 seconds]
<Jookia>
why is spi nand so hard :(
hlauer has joined #linux-sunxi
<apritzel>
because it hasn't been used yet on sunxi
<apritzel>
I think the heavy lifting is already done in generic code, and I have heard that some people got it to work
<apritzel>
one problem seems to be that some people get it to work, but never upstream their fixes, so it stays broken for the next user :-(
<Jookia>
very close to giving up on this
<Jookia>
*everything* in u-boot seems to want to just be hard to use or not work
<Jookia>
things like mtdparts aren't documented, 'mtd list' causes a data abort or is reading out of bounds memory and hangs
<Jookia>
ok, i might have spoken too soon. mtd list worked this time
<Jookia>
when i figure this out this is going in the wiki
kuba2k2 has joined #linux-sunxi
warpme has quit []
<apritzel>
Jookia: oh yes, please, add it to the Wiki
<apritzel>
SPI-NAND is somewhat uncharted territory on sunxi
warpme has joined #linux-sunxi
dsimic is now known as Guest3708
dsimic has joined #linux-sunxi
Guest3708 has quit [Ping timeout: 480 seconds]
Net147 has quit [Quit: Quit]
<daschaos>
I worked with spi nand in the past it wasn't fun
<daschaos>
if you want to boot from it, I needed to align my u-boot like its done with nand
<daschaos>
with that its basically the same like you are using EXT4, because it doing automatic wear leveling
<daschaos>
If you have some specific question, i might be able to help, but it was already a while
<Jookia>
the source code should be enough, thank you :)
<Jookia>
my pain comes not from the general concept but new board
<Jookia>
new soc*
<daschaos>
I used it on F1C100/F1C200, but back then u-boot wasn't able to boot from spi-nand on sunxi, i used a patched older version from somewhere. I don't know what the current state of mainline u-boot is. The error looked like this: U-boot SPL was loading, but it couldn't load U-Boot
Net147 has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
warpme has quit []
bauen1 has joined #linux-sunxi
warpme has joined #linux-sunxi
<daschaos>
Does anyone know if there are already patches/implementations for the video engine for T113-S3 and mainline linux?
ndufresne4 has quit []
apritzel_ has joined #linux-sunxi
kuba2k2 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
<wigyori>
Jookia: which t113 board are you working with?
linkmauve has joined #linux-sunxi
linkmauve has quit []
indy_ has joined #linux-sunxi
indy has quit [Ping timeout: 480 seconds]
linkmauve has joined #linux-sunxi
indy_ is now known as indy
kuba2k2 has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
wasutton- has joined #linux-sunxi
wasutton3 has quit [Ping timeout: 480 seconds]
wasutton3 has joined #linux-sunxi
wasutton- has quit [Ping timeout: 480 seconds]
<jernej>
daschaos: that soc isn't that popular, but Cedrus is one of the cores which is usually easy to add support. You just need to figure which codecs are supported and add nodes for it in DT.
warpme has quit []
hlauer has quit [Remote host closed the connection]
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
kuba2k2 has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
Danct12 has quit [Quit: A-lined: This user has been AVIVA-lined!]
ftg has joined #linux-sunxi
Danct12 has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
junari_ has joined #linux-sunxi
bauen1 has joined #linux-sunxi
junari_ is now known as junari
<junari>
apritzel: I sent a patch for the DRAM driver, but didn't send defconfig for the opizero3
<junari>
I thought it needed to specify the correct DT
<junari>
In my experiments I specified DT from opizero2, but I think this is not entirely correct for the patch
<junari>
I don't know what's the best thing to do
junari has quit [Ping timeout: 480 seconds]
gamiee has joined #linux-sunxi
<daschaos>
jernej: thanks for this information, I will look into it.
<jernej>
daschaos: if you need help with that, just ask
<daschaos>
I hope I will get back to allwinner and mainline soon, because currently I need to work on Nvidia Jetson and it's pain.
kuba2k2 has quit [Ping timeout: 480 seconds]
kuba2k2 has joined #linux-sunxi
JohnDoe_71Rus has quit []
apritzel_ has joined #linux-sunxi
kuba2k2 has quit []
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel>
junari: don't worry, I will sync all DTs from the kernel tree, and the OPi Zero 3 one will then be in the tree already
<apritzel>
so we just need the defconfig
colinsane has quit []
colinsane has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]