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
swiftgeek has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
macromorgan is now known as Guest313
macromorgan has joined #linux-sunxi
Guest313 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
Daanct12 has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-sunxi
Daaanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
rajkosto has joined #linux-sunxi
dliviu has quit []
dliviu has joined #linux-sunxi
moteen has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
<moteen> how are we returning the address to device tree blob for sunxi boards in uboot
moteen_ has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
moteen_ is now known as moteen
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
moteen has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Daaanct12 has quit [Read error: Connection reset by peer]
Daanct12 has quit [Max SendQ exceeded]
Daanct12 has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
macromorgan has quit [Read error: Connection reset by peer]
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
<DasChaos> <smaeul> "DasChaos: I meant to check the..." <- Sadly modifying CONFIG_SYS_TCLK didnt help. I'm using U-Boot v2020.07 does this matter?
Daanct12 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
Daaanct12 has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-sunxi
Asara has joined #linux-sunxi
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen_ has joined #linux-sunxi
moteen has quit [Read error: Connection reset by peer]
moteen_ is now known as moteen
<moteen> how are we returning the address to device tree blob for sunxi boards in uboot
<moteen> /**
<moteen> * Board-specific FDT initialization. Returns the address to a device tree blob.
<moteen> *
<moteen> * Called when CONFIG_OF_BOARD is defined.
<moteen> *
<moteen> * The existing devicetree is available at gd->fdt_blob
<moteen> *
<moteen> * @err internal error code if we fail to setup a DTB
<moteen> * @returns new devicetree blob pointer
<moteen> */
<moteen> void *board_fdt_blob_setup(int *err);
<moteen> specifically this function for sunxi boards
junari has joined #linux-sunxi
Daaanct12 is now known as Daanct12
hlauer has joined #linux-sunxi
apritzel has joined #linux-sunxi
<apritzel> DasChaos: please don't use old U-Boot versions. We fix bugs all the time and improved device handling massively in the last two years
<apritzel> moteen: are you using smaeul's version as a base for your work? This should have an answer to that
<DasChaos> <apritzel> "DasChaos: please don't use old U..." <- I'm relying on the spi nand patch and I didn't get it working on newer version then v2020.07 for now. :(
evgeny_boger has joined #linux-sunxi
<apritzel> well, for solving the I2C problem you should stick to current mainline, otherwise we cannot really help you
<apritzel> DasChaos: what do you need I2C in U-Boot for anyway?
<DasChaos> apritzel: Reading eeprom to load correct devicetree overlays
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
<apritzel> DasChaos: so that massive patch you referred to the other day was adding F1C100s support, including SPI-NAND. Can you try to rebase this on top of mainline or otherwise isolate the actual SPI-NAND code?
<DasChaos> <apritzel> "DasChaos: so that massive..." <- Yeah, I will try this the next days
<moteen> <apritzel> I have incorporated the changes from smaeul's version that are necessary for the D1 in the upstream u-boot/u-boot
<apritzel> so what's the problem with the DT then?
<apritzel> I don't know what's the exact boot flow is for the D1, as smaeul used DM also for the SPL, which changes the DT story quite a bit
<apritzel> but in general the problem is not the code base, isn't it? IIRC smaeul's patches were based on a pretty recent version already?
<apritzel> the challenge is to find *proper* solutions for every patch he put "HACK" in the commit message
Daanct12 has quit [Remote host closed the connection]
<moteen> well I was trying to build an image for bananapi_m2_plus_h5prmting this error
<moteen> ld.bfd: lib/fdtdec.o: in function `fdtdec_setup':
<moteen> /media/psf/Home/Desktop/Workspace/OSPP/dev-uboot/u-boot-dev/lib/fdtdec.c:1648: undefined reference to `board_fdt_blob_setup'
rajkosto has quit [Read error: Connection reset by peer]
<moteen> I tried making most of the drivers generic except for mmc(using the upstream u-boot one), still having this DT issue
<apritzel> moteen: but this image is for an ARM based board, right? So are you saying that the D1 tree breaks for Arm (which is expected, hence the HACK tags)?
<moteen> yes, I am trying to make D1 tree work without breaking arm, so the issue is with the hack up commits only right?
<apritzel> yes, should be, though some other patches might depend on some hacks earlier in the branch
cnxsoft1 has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
moteen_ has joined #linux-sunxi
moteen is now known as Guest352
moteen_ is now known as moteen
rajkosto has joined #linux-sunxi
Guest352 has quit [Ping timeout: 480 seconds]
Mangy_Dog has quit [Remote host closed the connection]
macromorgan has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
JohnDoe_71Rus has quit []
rajkosto has quit [Read error: Connection reset by peer]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
<smaeul> moteen: because of the hacks already there, you should not expect the D1 branch to compile for ARM boards, nor mainline to compile for the D1.
<smaeul> So to test your changes on both, you need to isolate them in a separate branch on top of mainline (where you can test ARM boards), and then merge that branch or cherry-pick those commits on top of the D1 branch to test D1
<smaeul> or go the other direction, develop on the D1 branch and cherry-pick your new changes on top of mainline to test ARM boards
<smaeul> For example, supposing the D1 branch contains commits [A, B, C, D] and you want to replace C with a non-hacky version, you can revert C, and make new commits [C1, C2, C3] and test that D1 still works. (So the D1 branch contains [A, B, C, D, ~C, C1, C2, C3].)
<smaeul> then make a new branch off upstream master and cherry-pick [C1, C2, C3] and do a buildman run
<moteen> alright
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
<apritzel> moteen: guess why nobody nobody "just did this" before ;-)
cnxsoft1 has quit []
junari has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
ftg has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
macromorgan has quit [Read error: Connection reset by peer]
macromorgan_ has joined #linux-sunxi
macromorgan has joined #linux-sunxi
macromorgan_ has quit [Ping timeout: 480 seconds]
hlauer has quit [Remote host closed the connection]
freemangordon has joined #linux-sunxi
freemangordon has quit []
apritzel has quit [Ping timeout: 480 seconds]
macromorgan is now known as Guest369
Guest369 has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-sunxi
macromorgan has quit []
evgeny_boger has joined #linux-sunxi
warpme___ has quit []
_whitelogger has joined #linux-sunxi
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
macromorgan has joined #linux-sunxi
freemangordon has joined #linux-sunxi
warpme___ has joined #linux-sunxi
DasChaos has quit [Remote host closed the connection]
Newbyte has quit [Write error: connection closed]
DavidHeidelberg[m] has quit [Write error: connection closed]
Arthur[m]12 has quit [Write error: connection closed]
aperezdc has quit [Write error: connection closed]
aerospace[m] has quit [Write error: connection closed]
chuang[m] has quit [Write error: connection closed]
t4h4[m] has quit [Write error: connection closed]
oliv3r[m] has quit [Write error: connection closed]
insep has quit [Write error: connection closed]
Tooniis[m] has quit [Write error: connection closed]
JuniorJPDJ has quit [Write error: connection closed]
z3ntu has quit [Write error: connection closed]
pgwipeout[m] has quit [Write error: connection closed]
sajattack[m] has quit [Write error: connection closed]
dittid[m] has quit [Remote host closed the connection]
cperon has quit [Remote host closed the connection]
Skallwar[m] has quit [Write error: connection closed]
AntoniAloyTorrens[m] has joined #linux-sunxi
AntoniAloyTorrens[m] has quit [Remote host closed the connection]
AntoniAloyTorrens[m] has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
gamiee has quit [Remote host closed the connection]
gamiee has joined #linux-sunxi
apritzel has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
warpme___ has quit []
hentai has quit [Quit: I am either getting a vacation, lost connection, or my host gone down.]
aedancullen has joined #linux-sunxi
aerospace[m] has joined #linux-sunxi
aperezdc has joined #linux-sunxi
Arthur[m]12 has joined #linux-sunxi
chuang[m] has joined #linux-sunxi
cmeerw[m] has joined #linux-sunxi
cperon has joined #linux-sunxi
DasChaos has joined #linux-sunxi
dickenhobelix[m] has joined #linux-sunxi
dittid[m] has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
z3ntu has joined #linux-sunxi
mripard has joined #linux-sunxi
Newbyte has joined #linux-sunxi
insep has joined #linux-sunxi
DavidHeidelberg[m] has joined #linux-sunxi
oliv3r[m] has joined #linux-sunxi
pgwipeout[m] has joined #linux-sunxi
psydroid[m] has joined #linux-sunxi
sajattack[m] has joined #linux-sunxi
Skallwar[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
Tooniis[m] has joined #linux-sunxi
MatrixTravelerbot[m]1 has joined #linux-sunxi
DasChaos is now known as Guest431
apritzel has quit [Ping timeout: 480 seconds]