rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
tilpner has quit [Ping timeout: 272 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nuuuciano_ has quit [Read error: Connection reset by peer]
OnkelUlla has quit [Ping timeout: 252 seconds]
jernej has joined #linux-sunxi
dev1990 has quit [Read error: Connection reset by peer]
dev1990 has joined #linux-sunxi
catphish has joined #linux-sunxi
rk3y has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
dev1990 has quit [Quit: Konversation terminated!]
ep_ has joined #linux-sunxi
OnkelUlla has joined #linux-sunxi
dev1990 has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
Nemo_bis has joined #linux-sunxi
tl_lim has quit [Ping timeout: 268 seconds]
dev1990 has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
dev1990 has quit [Client Quit]
dev1990 has joined #linux-sunxi
dev1990 has quit [Client Quit]
ep_ has quit [Quit: Leaving]
Perlovka has quit [Ping timeout: 244 seconds]
vagrantc has quit [Quit: leaving]
dev1990 has joined #linux-sunxi
chomwitt has quit [Ping timeout: 245 seconds]
dev1990 has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
kevans91 has quit [Read error: Connection reset by peer]
kevans91 has joined #linux-sunxi
kevans91 has quit [Changing host]
kevans91 has joined #linux-sunxi
Rafael1980 has quit [Quit: Konversation terminated!]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
tl_lim has joined #linux-sunxi
catphish has quit [Quit: Leaving]
tl_lim has quit [Ping timeout: 250 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 272 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 246 seconds]
anarsoul|2 has quit [Ping timeout: 246 seconds]
apritzel_ has quit [Ping timeout: 246 seconds]
tl_lim has joined #linux-sunxi
ian_l has joined #linux-sunxi
ian_l has quit [Client Quit]
anarsoul has joined #linux-sunxi
leviathanch has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 244 seconds]
anarsoul|2 has quit [Ping timeout: 250 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 272 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
tl_lim has quit [Ping timeout: 264 seconds]
tl_lim has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
gumblex_ has joined #linux-sunxi
gumblex has quit [Ping timeout: 252 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
kelvan has quit [Remote host closed the connection]
merlin1991 has quit [Read error: Connection reset by peer]
merlin1991 has joined #linux-sunxi
kelvan has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 268 seconds]
tl_lim has quit [Ping timeout: 250 seconds]
tl_lim has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 272 seconds]
IgorPec has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger has quit [Ping timeout: 250 seconds]
nuuuciano_ has quit [Ping timeout: 250 seconds]
<Net147> jero: happy new year to you too! =)
f0xx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
xerpi has joined #linux-sunxi
airwind has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
paulliu has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 268 seconds]
vpeter has joined #linux-sunxi
IgorPec has joined #linux-sunxi
m4ssi has joined #linux-sunxi
m4ssi has quit [Quit: Leaving]
tl_lim has quit [Read error: Connection reset by peer]
clemens3 has joined #linux-sunxi
Mandragor has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Mandragor has joined #linux-sunxi
m4ssi has joined #linux-sunxi
apritzel has quit [Ping timeout: 245 seconds]
msimpson has joined #linux-sunxi
maz has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 268 seconds]
f0xx has quit []
arti has quit [Quit: arti]
f0xx has joined #linux-sunxi
apritzel has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 272 seconds]
kever has quit [Ping timeout: 272 seconds]
<oliver[m]> Hey guys; I'm struggling to understand the load and entry points of a FIT image. So I do have a working system; just want to make sure it is not needlessly copying data
<oliver[m]> So, I have load and entry = 0x080008000 in my FIT image; I'm loading the FIT image via either TFTP or from SDCard to 0x8200000 (the default in my uboot) and then bootm 0x8200000 (don't count the exact zero's I may be off by one here or there)
<oliver[m]> Anyway, does this mean, that the FIT image resides at 0x82000000 (should be) and then the kernel section is copyed to 0x800080000 by uboot? Or is this the area we tell linux to self-decompress? in which case, it makes sense; though it would then overwrite the image potentially? (e.g. the FDT and initramfs
dddddd has joined #linux-sunxi
reinforce has joined #linux-sunxi
victhor has joined #linux-sunxi
jonkerj has quit [Quit: reboot]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
nuuuciano_ has joined #linux-sunxi
jonkerj has joined #linux-sunxi
chomwitt has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 250 seconds]
AneoX_ has quit [Ping timeout: 246 seconds]
apritzel has quit [Ping timeout: 250 seconds]
AneoX has joined #linux-sunxi
apritzel has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 268 seconds]
apritzel has quit [Ping timeout: 246 seconds]
arti has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
leviathanch_ has joined #linux-sunxi
m4ssi has quit [Quit: Leaving]
xerpi has quit [Remote host closed the connection]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
reinforce has quit [Ping timeout: 245 seconds]
reinforce has joined #linux-sunxi
reinforce1 has joined #linux-sunxi
reinforce has quit [Ping timeout: 244 seconds]
reinforce has joined #linux-sunxi
reinforce1 has quit [Ping timeout: 250 seconds]
Amit_T has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
leviathanch_ is now known as leviathanch
apritzel has joined #linux-sunxi
nuuuciano_ has quit [Read error: Connection reset by peer]
dddddd has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
popolon has joined #linux-sunxi
apritzel has quit [Ping timeout: 246 seconds]
nuuuciano__ has joined #linux-sunxi
arti has quit [Quit: arti]
arti has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 272 seconds]
nuuuciano_ has joined #linux-sunxi
AneoX has joined #linux-sunxi
nuuuciano__ has quit [Ping timeout: 250 seconds]
AneoX_ has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
ian_l has joined #linux-sunxi
ian_l has quit [Client Quit]
nuuuciano_ has quit [Ping timeout: 246 seconds]
nuuuciano_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 240 seconds]
nuuuciano_ has quit [Ping timeout: 240 seconds]
Rafael1980 has joined #linux-sunxi
lurchi_ is now known as lurchi__
nuuuciano_ has joined #linux-sunxi
megi has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
geomatsi has joined #linux-sunxi
tnovotny has joined #linux-sunxi
apritzel has joined #linux-sunxi
m4ssi has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
<apritzel> quark_: Hi, you mentioned a joined sun4i/sun6i SPI driver for U-Boot, is that available somewhere?
<Wizzup> it should be in mainline u-boot already
<Wizzup> at least in u-boot-spi - https://git.denx.de/?p=u-boot/u-boot-spi.git;a=summary
<ElBarto> apritzel: don't know if it's him but : https://github.com/janwillies/u-boot/releases/tag/v2019.01-rc2-cb-1
<ElBarto> Wizzup: only for SPL
<Wizzup> I don't think so.
<Wizzup> see https://git.denx.de/?p=u-boot/u-boot-spi.git;a=commit;h=7f25d8179776226a8ecfbaad3d3a88e9acd89f28
<ElBarto> yeah so no sun6i (it's different I think)
<apritzel> just asking because Jagan posted a separate SPI driver for sun6i: http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=commitdiff;h=b03f135aebd87f1824f6a6551a5399173bbaec39
<apritzel> it seems like various people have their own version of the driver
<apritzel> including me ;-)
<Wizzup> I think this was also tested on sun6i hw when SJRvanSchaik and I wrote it
<Wizzup> but I might be wrong/confused :)
<apritzel> Wizzup: sun4i and sun6i are not compatible
<Wizzup> I know they are slightly different, but ok, I might be confused
<Wizzup> It was tested on A64 for sure as well iirc
<apritzel> Wizzup: I believe there was always a separate driver for sun6i
<apritzel> Jagan had one for ages in one of his branches
<apritzel> he just posted it lately as part of another series
<Wizzup> ok, this one also workedo n the pine64: https://github.com/StephanvanSchaik/u-boot/commits/sunxi-spi
<apritzel> and other people had code as well, AFAIK, but nobody posted something AFAIK
<Wizzup> maybe stefan from olimex didn't submit that code as well
<ElBarto> apritzel: great find btw for the alternate location, that will allow me to create some gpt images for FreeBSD
<apritzel> ElBarto: yeah, reportedly that was the reason for AW introducing the alternate location in the first place
<Wizzup> apritzel: yeah so this seems to be for sun6i too
tnovotny has quit [Quit: Leaving]
<apritzel> Wizzup: I don't care so much for some drivers somewhere, we need something in mainline
<apritzel> but I don't like to have a separate driver for that
<Wizzup> apritzel: most of that driver was mainlined
<Wizzup> that's the u-boot commit I linked
<Wizzup> I am not sure why only the sun4i part was taken, as it's mostly generic IIRC
lerc_ has quit [Ping timeout: 246 seconds]
<apritzel> Wizzup: but that's really only sun4i and quite far some being able to support sun6i as well
lerc has joined #linux-sunxi
<apritzel> s/some/from/
<Wizzup> apritzel: mhm. if there is already a newer driver, fine, I'm just saying that the current sun4i mainline driver is mostly the gh driver, which also supports sun6i and others, so maybe that can be easily added on top of mainline sun4i driver
<Wizzup> but I don't have time to do it now, so I'll keep quiet :D
<apritzel> Wizzup: that's the point: I tried to add sun6i support on top of that, and wasn't really happy with it
<apritzel> quark_ mentioned that he did this as well, and he sounded much more happy with it
<Wizzup> ok :)
kaspter has quit [Ping timeout: 246 seconds]
IgorPec has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 244 seconds]
kaspter has joined #linux-sunxi
msimpson_ has joined #linux-sunxi
msimpson_ has quit [Remote host closed the connection]
msimpson has quit [Ping timeout: 240 seconds]
<quark_> apritzel: I did implement only minimal changes to sun4i driver support both sun4i/sun6i.
<apritzel> quark_: that sounds good!
<apritzel> quark_: do you have the code or the patches somewhere?
<quark_> sun4i driver would need anyway some changes. get clocks from dt
<quark_> for example
<apritzel> I know, that's one of the reason I'd prefer a unifed driver
Andy-D has joined #linux-sunxi
<apritzel> quark_: the "clocks from DT" issue is what Jagan addressed in his series
leviathanch has quit [Remote host closed the connection]
<quark_> I was about to send to u-boot mailing list in couple of days. I did not change any defines name. So maybe some rename patch is required after functional changes
<apritzel> quark_: sure, we can always bikeshed about this ;-)
<aalm> s/can/will/
<aalm> jk
<quark_> I had to disable/enable clocks while claiming/releasing bus, but is seems jagan sun6i driver is doing to too.
<quark_> instead of that maybe clearing some register value could be enough
<quark_> oh. quite many typos for today
<quark_> I don't have any sun4i device to test patch. But original code patch is not touched otherwise than that clock enable/disable
Amit_T has quit [Remote host closed the connection]
Nyuutwo has quit [Read error: No route to host]
<apritzel> quark_: Ah, I now see why your's is easier: you make this a compile time decision
<apritzel> which is probably good enough
m4ssi has quit [Quit: Leaving]
<apritzel> I had to jump through some hoops for doing this at runtime
Nyuutwo has joined #linux-sunxi
<apritzel> quark_: anyway, thanks for sharing! I will take a closer look later
<quark_> np
<apritzel> I think in the spirit of U-Boot your #ifdefs are probably the easier solution
<quark_> yep. I was thinking is there any use case to do it runtime. you can't run binary in other platform anyway
<apritzel> well, I am working on that, but it will probably never extend to those older SoCs
chewitt has quit [Quit: Zzz..]
<quark_> hmm. just to be sure I should add #ifdef to compatibles
anarsoul|2 has joined #linux-sunxi
jstein has quit [Ping timeout: 268 seconds]
geomatsi_ has joined #linux-sunxi
vagrantc has joined #linux-sunxi
wasutton3_mobile has joined #linux-sunxi
geomatsi has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 244 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 268 seconds]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 250 seconds]
clemens3 has quit [Ping timeout: 246 seconds]
catphish has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
apritzel has joined #linux-sunxi
chewitt has joined #linux-sunxi
wasutton3_mobile has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
Perlovka has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
IgorPec has quit [Ping timeout: 240 seconds]
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
return0e_ has quit [Remote host closed the connection]
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
return0e has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 258 seconds]
f0xx has quit [Ping timeout: 245 seconds]
return0e has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 250 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
<fALSO> jernej, you there? can you tell me which CONFIG environments you use to build this ( https://github.com/jernejsk/LibreELEC.tv/tree/hw_dec_ffmpeg ) for a Orange PI PC (h3) ?
<jernej> fALSO: that's libreelec build system, which is standalone
<jernej> do you mean kernel by any chance?
<fALSO> i thougth that "making" that would generate an image with kernel and userland :-P
tllim has joined #linux-sunxi
<jernej> just do "PROJECT=Allwinner ARCH=arm DEVICE=H3 UBOOT_SYSTEM=orangepi_pc make image" and after few hours, you'll get complete image :)
<fALSO> =) awesome
<fALSO> thanks jernej , and sorry for always bothering you
<jernej> np
<fALSO> a friend of mine also bougth a sunxi device
<fALSO> bought a olimex a64 laptop
<fALSO> dyi
<fALSO> but it seems that the kernel they "support" is a very old 3.x hehe
<fALSO> tried ambian, it works. but get no sound. from what we searched analog audio on a64 will only be on 4.21
<fALSO> just a case of waiting :)
AneoX has joined #linux-sunxi
<jernej> well, you can take few patches from 4.21 and apply it to 4.20 and it works
<jernej> I've done it for LibreELEC on A64
AneoX_ has quit [Ping timeout: 258 seconds]
<fALSO> awsome
<fALSO> nice... the makefile even knows im running gentoo
<fALSO> and tells me which package names to install
<fALSO> we are living in the future!
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 272 seconds]
apritzel has quit [Ping timeout: 246 seconds]
return0e has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
apritzel has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 258 seconds]
paulliu has quit [Quit: Leaving.]
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
geomatsi_ has quit [Remote host closed the connection]
xerpi has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
chomwitt has quit [Ping timeout: 268 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
fl_0 has quit [Ping timeout: 252 seconds]
fl_0 has joined #linux-sunxi