Turl 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
bonbons has quit [Quit: Leaving]
endlezzz has quit [Read error: Connection reset by peer]
endlezzz has joined #linux-sunxi
khuey is now known as khuey|away
FreezingCold has quit [Quit: Out]
FreezingCold has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.1.1]
dev1990 has joined #linux-sunxi
linux_salonica has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 256 seconds]
Renard has quit [Remote host closed the connection]
ccube has quit [Remote host closed the connection]
ganbold_ has joined #linux-sunxi
book` has quit [Ping timeout: 245 seconds]
ssvb has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
book` has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 255 seconds]
ganbold_ has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
FreezingCold has quit [Quit: Out]
p1u3sch1 has joined #linux-sunxi
p1u3sch1_ has quit [Ping timeout: 252 seconds]
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 255 seconds]
endlezzz has quit [Read error: Connection reset by peer]
ganbold_ has joined #linux-sunxi
endlezzz has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
gianMOD has joined #linux-sunxi
endlezzz has quit [Read error: Connection reset by peer]
gianMOD has quit [Remote host closed the connection]
endlezzz has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
gianMOD has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
nicksydney has quit [Ping timeout: 244 seconds]
ganbold_ has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
<arete74> )
premoboss has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
gnufan2 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
reinforce has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 255 seconds]
MY123 has joined #linux-sunxi
kaspter has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
gianMOD has joined #linux-sunxi
codekipper has joined #linux-sunxi
<codekipper> Hi All,
<wens> hi
<codekipper> I'm playing with porting the A31 SDK into sunxi-3.4. Currently I'm able to fel boot the device with mainline u-boot and mainline kernel.
<codekipper> Now I've switched to the legacy kernel with some patches ripped from the SDK. U-boot has been rebuilt to support legacy kernels
<MY123> codekipper, try without SDKs
<MY123> codekipper, bare AOSP with Mali-400 libs
<codekipper> I'm able to start the kernel but it's complaining about 'Error: unrecognized/unsupported machine ID (r1 = 0x00000000). '
<codekipper> MY123, it's a very stripped down setup I have
<MY123> codekipper, Use a kernel with DT
<codekipper> the log above is when I try to load the sdk built kernel but the same happens with my sunxi-3.4 port
<codekipper> I'm thinking u-boot does something
<MY123> codekipper, There is no machine ID setted up, and the ARM boot convention needs that
<codekipper> the same setup works with my A20 board and sunxi-3.4
<MY123> codekipper, you may edit arch/arm/boot/* with adding "mov r0, #00000f34"
<codekipper> ahhh....I remember there was a patch something like that
<codekipper> for booting legacy kernel with mainline u-boot
<ssvb> codekipper: just add the machine ID define to http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/sun6i.h;h=f5e11ddb691f113c32943033592133e01653a72a;hb=HEAD
<ssvb> #define CONFIG_MACH_TYPE <whatever_you_need_it_to_be>
gianMOD has quit [Remote host closed the connection]
<ssvb> but it might be more interesting to port the missing parts of the A31 SDK into the mainline kernel
gianMOD has joined #linux-sunxi
<wens> should've left my a31 board on :|
<codekipper> ssvb, wens thanks I was hoping you'll be online
gianMOD has quit [Ping timeout: 246 seconds]
domidumont has joined #linux-sunxi
<codekipper> I'm only playing around at the moment...less patch ninjas on the 3.4 track!
<wens> isn't 3.4 deprecated?
<codekipper> It's still used by those wanting an desktop experience
kaspter has quit [Ping timeout: 246 seconds]
<codekipper> I won't be spending too much time on it so don't worry
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
enrico_ has joined #linux-sunxi
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
gnufan2 has left #linux-sunxi [#linux-sunxi]
FreezingAlt has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 256 seconds]
Akagi201 has quit [Remote host closed the connection]
bonbons has joined #linux-sunxi
endlezzz has quit [Read error: Connection reset by peer]
endlezzz has joined #linux-sunxi
<wens> mripard_: how do we want to do dts files for core/base boards?
* wens is working on sinlinx a31s # http://linux-sunxi.org/Sinlinx_SinA31s
froolap has joined #linux-sunxi
Froolag has quit [Ping timeout: 240 seconds]
<mripard_> ideally, DT overlays
<mripard_> otherwise, just make a DTS for the base board
<mripard_> and DTSes that DTS for daughterboards
<wens> so 1 for the a31s cpu board, and one for the dev board
libcg has joined #linux-sunxi
<mripard_> +include
libcg has quit [Read error: Connection reset by peer]
<wens> * in this case
<mripard_> the daughter boards DTS should include the base board one
<mripard_> look at how we did for the cfa-10036 and the cfa-100* daughter boards for example
<mripard_> not allwinner, but still
<mripard_> but you should really look into DT overlays for this.
FreezingAlt is now known as FreezingCold
<wens> not sure overlays are required, as the base board is soldered to the daughter board
<wens> unlike the cfa-*, which is a DIMM (?)
<mripard_> yeah, it's a SODIMM
<mripard_> if it's soldered, it's fine then
<mripard_> I thought you could remove it
<mripard_> but in the CFA, we were detecting the base board connected in the bootloader,
<mripard_> and were loading the appropriate DTs
<mripard_> anyway
<mripard_> I have to go
<mripard_> but yeah, a similar setup would be the way to go
ricardocrudo has joined #linux-sunxi
codekipper has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
Akagi201 has joined #linux-sunxi
endlezzz has quit [Ping timeout: 264 seconds]
endlezzz has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
FreezingCold has quit [Read error: Connection reset by peer]
FreezingCold has joined #linux-sunxi
libcg has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
kill_-9_1 has joined #linux-sunxi
MY123 has quit [Ping timeout: 272 seconds]
ricardocrudo has quit [Ping timeout: 245 seconds]
sehraf has joined #linux-sunxi
kz1 has joined #linux-sunxi
kill_-9_1 is now known as MY123
orly_owl has quit [Quit: leaving]
orly_owl has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
Net147 has joined #linux-sunxi
lucaswang has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 256 seconds]
MY123 has quit [Ping timeout: 252 seconds]
WarheadsSE has quit [Ping timeout: 244 seconds]
bsdfox has joined #linux-sunxi
cubeast has joined #linux-sunxi
bsdfox has quit [Ping timeout: 256 seconds]
lucaswang has quit [Ping timeout: 240 seconds]
lucaswang has joined #linux-sunxi
lucaswang has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
whirm has joined #linux-sunxi
<whirm> hi all
<whirm> will the internal flash work on a cubieboard2 with upstream v3.19?
MY123 has joined #linux-sunxi
Net147 has quit [Quit: HydraIRC -> http://www.hydrairc.com <-]
pmattern has joined #linux-sunxi
WarheadsSE has joined #linux-sunxi
<wens> nope
meow` has quit [Ping timeout: 252 seconds]
meow` has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
arete74 has quit [Quit: leaving]
arete74 has joined #linux-sunxi
bengal has joined #linux-sunxi
tomcheng76 has quit [Quit: leaving]
cnxsoft has quit [Quit: cnxsoft]
paulk-collins has quit [Remote host closed the connection]
ssvb has quit [Ping timeout: 264 seconds]
dev1990 has joined #linux-sunxi
reinforce has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
reinforce has quit [Quit: Leaving.]
cajg has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
gianMOD has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
y0g1 has joined #linux-sunxi
afaerber has quit [Ping timeout: 252 seconds]
gianMOD has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
gianMOD has joined #linux-sunxi
<whirm> ok, thanks, and what about the 3.9 branch in linux-sunxi? I need a newer than 3.7 kernel to be able to run systemd properly.
bengal has quit [Ping timeout: 256 seconds]
paulk-aldrin has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
ssvb has joined #linux-sunxi
khuey|away has quit [Ping timeout: 244 seconds]
Akagi201 has quit [Remote host closed the connection]
Akagi201 has joined #linux-sunxi
kill_-9_1 has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
MY123 has quit [Ping timeout: 244 seconds]
kill_-9_1 is now known as MY123
y0g1 has quit [Quit: brb]
ricardocrudo_ has joined #linux-sunxi
Akagi201_ has joined #linux-sunxi
khuey|away has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 245 seconds]
Akagi201 has quit [Ping timeout: 264 seconds]
libv has quit [Ping timeout: 264 seconds]
libv has joined #linux-sunxi
gianMOD has quit [Read error: Connection reset by peer]
gianMOD has joined #linux-sunxi
ricardocrudo__ has joined #linux-sunxi
ricardocrudo_ has quit [Ping timeout: 245 seconds]
pmattern has quit [Quit: Genug für heute.]
ricardocrudo__ has quit [Ping timeout: 246 seconds]
Swabbles has quit [Ping timeout: 244 seconds]
Swabbles has joined #linux-sunxi
mcan has quit [Ping timeout: 244 seconds]
mcan has joined #linux-sunxi
kill_-9_1 has joined #linux-sunxi
<lukas2511> hey, does anyone know if there is a RTOS out there with great support for the allwinner (a20) chips?
MY123 has quit [Ping timeout: 244 seconds]
ricardocrudo has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 255 seconds]
<RSpliet> lukas2511: what is your definition of "RTOS", what do you want to do with it?
kill_-9_1 has quit [Quit: Leaving]
<Tartarus> Anyone around that's done the binary GPU stuff on the olimex A20 Lime2?
<lukas2511> RSpliet: something like freertos or similar, a bit more on the bare metal than running a full linux kernel
<RSpliet> lukas2511: in that case I have no idea, sorry
ricardocrudo_ has quit [Ping timeout: 255 seconds]
<jero> is the fb*_pixel_sequence fex parameter supposed to work at all? for some reason i can't get red and blue at the right place in 32-bit mode
ricardocrudo_ has joined #linux-sunxi
<jero> how can you guys keep your sanity :)
<Tartarus> Who says we do? :)
<jero> haha
* Tartarus does an experiment, jumps back to v3.4.90-r1, builds a kernel
<jero> anyone ever had to deal with pixel ordering on an A10 with an lcd? i've had some success in swapping them, but my results are not very reproducible
<Tartarus> ssvb, Yeah, I've read it
<Tartarus> I've hit..
<Tartarus> Seeing if going back to 3.4.90-r1 from tip of the 3.4 branch fixes things
<Tartarus> And if so, seeing if I can spot the kernel change that broke things and move from there on what the right thing is
<ssvb> the success rate somewhat depends on the userspace stuff, and different linux distributions keep changing
<mnemoc> whirm: there was a short attempt to make a hybrid 3.10 supporting fex-based-drivers and mainline-drivers but it didn't get any tracktion because of the amazingly fast progress on mainlining
<mnemoc> whirm: so the legacy tree is condemned to die at 3.4
konradoo77 has joined #linux-sunxi
<ssvb> Tartarus: for testing just the mali kernel module without the proprietary userland blob, you can try https://github.com/ssvb/lima-memtester/
<Tartarus> ssvb, my end goal needs the binary crap
<Tartarus> I'm trying to build everything from source otherwise, to keep it matching
<ssvb> Tartarus: it's best to take care of one thing at a time
<Tartarus> Yeah
<ssvb> if the kernel module works, then you can move on to the userland
<Tartarus> True
ricardocrudo_ has quit [Ping timeout: 265 seconds]
<ssvb> Tartarus: the comments from that bugreport seem to refer to a thirdparty igorpecovnik's kernel
<Tartarus> ssvb, Yeah and I'm not sure if he used a linux-sunxi tag or not
<Tartarus> ok, brb, testing
<ssvb> unfortunately the userland mali blob and the mali kernel module need to have exactly the same version, ARM is not handling backward/forward compatibility properly
<ssvb> but at least they have a check for the exact version match
gianMOD has quit [Remote host closed the connection]
<Tartarus> successful failure
<Tartarus> Mali<2>: Session started
<Tartarus> Mali<2>: No handler for ioctl 0xC0048205 0xB6F95BC4
<Tartarus> Mali<2>: Deprecated ioctls called
<Tartarus> Mali<2>: Session has ended
<Tartarus> from trying to run your tester as well
gianMOD_ has joined #linux-sunxi
<Tartarus> So, jumping back kernel will either have the same mismatch or not
lerc has quit [Read error: Connection reset by peer]
gianMOD_ has quit [Remote host closed the connection]
ricardocrudo_ has joined #linux-sunxi
<whirm> mnemoc: I see, so I guess Ill do what I can until the nand driver gets finished in upstream
<ssvb> Tartarus: looks like they are using r4p0 mali kernel module - https://github.com/dan-and/linux-sunxi/commits/dan-3.4.106
<Tartarus> ssvb, yeah, sigh
<Tartarus> So yay, jumping back has the older mali kernel module and expected ioctls
<Tartarus> config worked, running that demo in a sec
<Tartarus> nice spinny cube
<Tartarus> thanks ssvb
<Tartarus> ssvb, it's not just the dan-and tree, it's the main linux-sunxi 3.4 branch too btw
<ssvb> Tartarus: now you can try to install the proprietary OpenGL ES userland blobs and they should work too (assuming no clash with Mesa or other potential distro-specific issues)
<ssvb> yes
<ssvb> however OpenGL ES is not very useful in general, many games and application want a full fledged desktop Open GL
ricardocrudo_ has quit [Ping timeout: 252 seconds]
<ssvb> the most prominent usage for OpenGL ES is probably just Qt5, everything else either does not work at all, or is supported poorly
<Tartarus> Ah, k
<Tartarus> This is all just a weekend experiment
<Tartarus> I suspect the final answer will be "doesn't work well enough"
<Tartarus> But I wanna reach the non-surprise conclusion myself sorta :)
<Tartarus> Put these boards to a real use, not just my u-boot lab
<ssvb> poor OpenGL ES support in free software is probably one of the reasons why the freedreno driver implements normal OpenGL :)
<ssvb> but Qt5 alone might justify the use of the binary drivers (for the people who are interested in Qt5)
<Tartarus> Yeah
<Tartarus> There's a lot of heavy sighing about this
konradoo77 has quit [Ping timeout: 272 seconds]
ricardocrudo_ has joined #linux-sunxi
enrico_ has quit [Quit: Bye]
kaspter has quit [Ping timeout: 246 seconds]
konradoo77 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
ricardocrudo_ has quit [Ping timeout: 256 seconds]
ricardocrudo_ has joined #linux-sunxi
gzamboni has quit [Ping timeout: 246 seconds]
ricardocrudo_ has quit [Ping timeout: 252 seconds]
bsdfox has joined #linux-sunxi
bsdfox has joined #linux-sunxi
gzamboni has joined #linux-sunxi
ricardocrudo_ has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
ricardocrudo_ has quit [Ping timeout: 264 seconds]
whirm has quit [Quit: WeeChat 1.1.1]
Nyuutwo has quit [Ping timeout: 272 seconds]
konradoo77 has quit [Ping timeout: 272 seconds]
konradoo77 has joined #linux-sunxi
libcg has joined #linux-sunxi
<paulk-aldrin> can anyone boot linux 3.4 with upstream u-boot on sun7i/a20?
ricardocrudo has joined #linux-sunxi
<paulk-aldrin> (I mean linux-sunxi branch sunxi-3.4)
ricardocrudo has quit [Ping timeout: 255 seconds]
afaerber_ has quit [Quit: Verlassend]
<atsampson> paulk-aldrin: I suspect the answer may be "no", unless some patches have been merged since I last looked
<atsampson> I'm currently using the five patches in http://stuff.offog.org/pcDuino3Nano/linux34-patches/ on top of 9a1cd034181af628d4145202289e1993c1687db6
afaerber has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 255 seconds]
ricardocrudo has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
Netlynx has quit [Quit: Leaving]
ricardocrudo has quit [Ping timeout: 252 seconds]
cajg has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 246 seconds]
libcg has quit [Quit: libcg]
libcg has joined #linux-sunxi
<paulk-aldrin> atsampson, thanks, I'll look into that
ricardocrudo has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 245 seconds]
paulk-aldrin has quit [Quit: Quitte]
konradoo77 has joined #linux-sunxi
libcg has quit [Quit: libcg]
bonbons has quit [Quit: Leaving]
libcg has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 265 seconds]
ricardocrudo has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
Andy-D has quit [Ping timeout: 256 seconds]
FDCX has quit [Remote host closed the connection]
konradoo77 has quit [Ping timeout: 264 seconds]
cubeast has quit [Quit: Leaving]
konradoo77 has joined #linux-sunxi
Akagi201_ has quit [Ping timeout: 252 seconds]
Akagi201 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 264 seconds]
arossdotme has quit [Ping timeout: 256 seconds]
konradoo77 has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
arossdotme has joined #linux-sunxi