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*
megi has quit [Ping timeout: 245 seconds]
lurchi__ is now known as lurchi_
hanetzer is now known as test
test is now known as Guest11835
Guest11835 has quit [Quit: WeeChat 2.3]
lurchi__ has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
lurchi_ has quit [Ping timeout: 246 seconds]
hanetzer has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
wasutton3 has quit [Read error: Connection reset by peer]
kever has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
popolon has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 250 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
clemens3 has quit [Ping timeout: 272 seconds]
wasutton3 has quit [Read error: Connection reset by peer]
wasutton3 has joined #linux-sunxi
catphish has quit [Quit: Leaving]
victhor has quit [Remote host closed the connection]
NeuroScr has quit [Quit: NeuroScr]
wasutton3 has quit [Ping timeout: 272 seconds]
NeuroScr has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
kever has quit [Quit: No Ping reply in 180 seconds.]
kever has joined #linux-sunxi
paulliu has joined #linux-sunxi
paulliu has quit [Read error: Connection reset by peer]
gnarface has quit [Quit: Leaving]
vagrantc has quit [Ping timeout: 252 seconds]
gnarface has joined #linux-sunxi
paulliu has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.3]
leviathanch has joined #linux-sunxi
anarsoul has joined #linux-sunxi
TheSeven has quit [Ping timeout: 268 seconds]
[7] has joined #linux-sunxi
s_frit has joined #linux-sunxi
parazyd has quit [Ping timeout: 264 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
pmpp is now known as pmp-p
IgorPec has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
[7] has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
NeuroScr has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
jelly-home has joined #linux-sunxi
megi has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
selfbg has joined #linux-sunxi
lynxis has quit [*.net *.split]
kilobyte has quit [*.net *.split]
gumblex_ has quit [*.net *.split]
paulk-leonov has quit [*.net *.split]
quark_ has quit [*.net *.split]
jeandet has quit [*.net *.split]
ric96 has quit [*.net *.split]
Ke has quit [*.net *.split]
paulk-leonov has joined #linux-sunxi
kilobyte has joined #linux-sunxi
gumblex has joined #linux-sunxi
Ke has joined #linux-sunxi
Ke has quit [Changing host]
Ke has joined #linux-sunxi
ric96 has joined #linux-sunxi
jeandet has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
lynxis has joined #linux-sunxi
AneoX has quit [Ping timeout: 246 seconds]
f0xx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 245 seconds]
matthias_bgg has joined #linux-sunxi
foxx_ has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
f0xx has quit [Ping timeout: 272 seconds]
yann has joined #linux-sunxi
<loswillios> Wizzup: did you flash u-boot to the SPI on the sopine by chance? I'm currently having issues with that (sf probe says Invalid bus 0 (err=-19)
nuuuciano has quit [Ping timeout: 245 seconds]
yann has quit [Ping timeout: 244 seconds]
IgorPec has joined #linux-sunxi
jstefanop has joined #linux-sunxi
wigyori has quit [Changing host]
wigyori has joined #linux-sunxi
m4ssi has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
clemens3 has joined #linux-sunxi
kaspter has joined #linux-sunxi
foxx_ has quit [Ping timeout: 268 seconds]
yann has joined #linux-sunxi
popolon has joined #linux-sunxi
msimpson has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
Andy-D has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
Mandragor has quit [Ping timeout: 246 seconds]
Mandragor has joined #linux-sunxi
Putti has joined #linux-sunxi
foxx_ has joined #linux-sunxi
Mandragor has quit [Ping timeout: 245 seconds]
Putti has quit [Ping timeout: 268 seconds]
\\Mr_C\\ has joined #linux-sunxi
Mandragor has joined #linux-sunxi
victhor has joined #linux-sunxi
Mandragor has quit [Ping timeout: 246 seconds]
Mandragor has joined #linux-sunxi
parazyd has joined #linux-sunxi
m4ssi has left #linux-sunxi ["Leaving"]
parazyd has quit [Quit: leaving]
parazyd has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
parazyd has quit [Quit: leaving]
parazyd has joined #linux-sunxi
parazyd has quit [Quit: leaving]
parazyd has joined #linux-sunxi
tnovotny has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
xes has quit [Ping timeout: 268 seconds]
xes has joined #linux-sunxi
matthias_bgg_ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 244 seconds]
matthias_bgg_ has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
kilobyte_ch has joined #linux-sunxi
<kilobyte_ch> Hello, I'm trying to encode h264 with cedrus and stream it over network with udp to vlc. I'm using the modified ffmpeg from avafinger/ffmpeg-3.3.4_cedrus264
<kilobyte_ch> if I use software encoding via libx264 it works perfectly. As soon as I switch to cedrus264 the vlc window keeps black.
<plaes> kilobyte_ch: #cedrus
<kilobyte_ch> plaes: sorry, thanks, didn't know about this channel
<plaes> no worries :)
leviathanch has joined #linux-sunxi
OnkelUlla has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
OnkelUlla has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J_ is now known as Gerwin_J
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
tllim has quit [Ping timeout: 272 seconds]
dddddd has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 250 seconds]
tuxillo has quit [Remote host closed the connection]
afaerber has quit [Quit: Leaving]
tuxillo has joined #linux-sunxi
afaerber has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
foxx_ has quit [Ping timeout: 250 seconds]
DonkeyHotei has quit [Quit: This is a /quit message.]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
Putti has joined #linux-sunxi
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
lurchi_ is now known as lurchi__
JohnDoe_71Rus has joined #linux-sunxi
wasutton3 has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
gamelaster has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
lerc_ has quit [Quit: No Ping reply in 180 seconds.]
lerc has joined #linux-sunxi
quark_ has joined #linux-sunxi
<quark_> loswillios: sopine dts needs spi0 defined and you also need spi driver to use spi flash
nuuuciano has joined #linux-sunxi
tllim has joined #linux-sunxi
tllim has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
f0xx has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
tllim has quit [Quit: Leaving]
reinforce has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 244 seconds]
chewitt has joined #linux-sunxi
<Wizzup> loswillios: I have not tested the spi flash on the sopine yet; I will in a couple of weeks, but not atm.
<Wizzup> loswillios: What commands are you using and what version of u-boot
yann has quit [Ping timeout: 268 seconds]
matthias_bgg has quit [Ping timeout: 246 seconds]
<quark_> Wizzup: you need a64 compatible spi driver to get spi working in u-boot. there is one pending patch u-boot patchwork https://patchwork.ozlabs.org/project/uboot/list/?series=84585
<Wizzup> hey - tell loswillios :)
<Wizzup> loswillios: ^^
<Wizzup> thanks for the reference though
<quark_> and also you need to patch dts with spi0 alias to get it working
<Wizzup> makes sense.
leviathanch has quit [Remote host closed the connection]
<quark_> I used couple of days to get openwrt boot from SPI flash. Now I have multiple pine64-lts running openwrt from spi flash
anarsoul|2 has joined #linux-sunxi
jstefanop has joined #linux-sunxi
netlynx has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
clemens3 has quit [Remote host closed the connection]
catphish has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
matthias_bgg has joined #linux-sunxi
gamelaster has quit [Ping timeout: 250 seconds]
tnovotny has quit [Quit: Leaving]
vagrantc has joined #linux-sunxi
<plaes> you can use sunxi-fel for spiwrite
gamelaster has joined #linux-sunxi
sauercrowd has joined #linux-sunxi
f0xx has quit [Ping timeout: 272 seconds]
msimpson has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 245 seconds]
yann has joined #linux-sunxi
IgorPec has quit [Ping timeout: 250 seconds]
clemens3 has joined #linux-sunxi
maz has quit [Ping timeout: 246 seconds]
maz has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
<loswillios> quark_: ah cool, I hadn't seen that. thanks for the link, will try
<loswillios> quark_, Wizzup: I was trying to rebase the work from https://github.com/ayufan-pine64/u-boot-sunxi/ on top of current u-boot
<loswillios> but without much success
<loswillios> quark_: nice, what's your usecase for openwrt on the boards?
afaerber has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
msimpson has quit [Quit: Leaving]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
wasutton3 has quit [Ping timeout: 250 seconds]
<anarsoul|2> loswillios: what's the point? pine64/pine64-lts/pinebook are already supported in mainline u-boot
<loswillios> anarsoul|2: maybe, but the SPI for the sopine is not AFAIK
<anarsoul|2> I think it is, you may need some changes to dts and defconfig though
<loswillios> anarsoul|2: do you mean to adapt this: http://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/dts/sun50i-a64-sopine.dtsi;h=6723b8695e0bbc4f0f3e8a9c99dae81bf3835142;hb=HEAD#l72 ?
<anarsoul|2> well, apparently it's already there :)
<loswillios> hm, let me try again
Gerwin_J has joined #linux-sunxi
<loswillios> anarsoul|2: still the same Invalid bus 0 (err=-19) error on sf probe
<anarsoul|2> poke your defconfig
<anarsoul|2> I'm not sure if it enables spi by default or not
<anarsoul|2> then check if driver is actually bound, i.e. try 'dm tree' in u-boot console
<loswillios> I made sure the driver is enabled in def/menuconfig
<loswillios> and I can see this in 'dm tree': spi 0 [ ] sun4i_spi |-- spi@1c68000
<anarsoul|2> there should be a '*' if it's active
<loswillios> probably because it failed to 'sf probe'
<loswillios> this are my defconfig options https://pastebin.com/raw/PCvVuuQ7
<anarsoul|2> -19 is -ENODEV
<anarsoul|2> so check what returns -ENODEV and why
<loswillios> I'll need to understand u-boot better
<loswillios> anarsoul|2: does this 'compatible' line say anything about the device? http://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/dts/sun50i-a64-sopine.dtsi;h=6723b8695e0bbc4f0f3e8a9c99dae81bf3835142;hb=HEAD#l78
<anarsoul|2> what do you mean?
<loswillios> should it match 'allwinner,sun4i-a10-spi' from sun4i_spi.c? http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/spi/sun4i_spi.c;h=38cc743c6144d9819d8f4c0fba7e932ef9d5ddf0;hb=HEAD#l444
<anarsoul|2> jedec,spi-nor is for flash itself, not for controller
<loswillios> ok
<anarsoul|2> compatible for spi node is in sun50i-a64.dtsi
<anarsoul|2> and it's compatible = "allwinner,sun8i-h3-spi";
<anarsoul|2> so you may need to port spi-sun6i.c driver from linux to u-boot (if it's not already done by someone)
<loswillios> Isn't that what https://patchwork.ozlabs.org/cover/1021009/ is about?
<anarsoul|2> yeah, exactly
<loswillios> hrm still no luck
<loswillios> Should the warning about 'This board does not use CONFIG_DM_SPI_FLASH. Please update the board to use CONFIG_SPI_FLASH before the v2019.07 release.' concern me at the end of u-boot compilation?
<anarsoul|2> nope
<loswillios> ah, but 'dm tree' looks better now: spi 0 [ + ] sun4i_spi |-- spi@1c68000
<loswillios> I added 'spi0 = &spi0;' to the alias list in sun50i-a64-sopine-baseboard.dts, that was the only difference
<loswillios> sf probe now says 'Invalid chip select 0:0 (err=-19)'
lurchi__ is now known as lurchi_
<loswillios> Do I need to enable some of the flash drivers, e.g. CONFIG_SPI_FLASH_STMICRO and such?
<anarsoul|2> generic should work
gamelaster has quit [Ping timeout: 268 seconds]
<loswillios> => sf probe
<loswillios> Warning: SPI speed fallback to 100 kHz
<loswillios> SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
<loswillios> \o/
<loswillios> thanks anarsoul|2, the hint with generic was the missing piece
<anarsoul|2> np
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
sauercrowd has quit [Ping timeout: 240 seconds]
jstefano_ has joined #linux-sunxi
jstefano_ has quit [Read error: Connection reset by peer]
jstefanop has quit [Ping timeout: 244 seconds]
reinforce has quit [Quit: Leaving.]
Gerwin_J has quit [Quit: Gerwin_J]
marcodiego has joined #linux-sunxi
clemens3 has quit [Remote host closed the connection]
megi has quit [Ping timeout: 244 seconds]
dev1990 has joined #linux-sunxi