ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
field^Mop has quit [Ping timeout: 260 seconds]
repk has quit [Ping timeout: 264 seconds]
repk has joined #linux-rockchip
kevery1 has joined #linux-rockchip
repk has quit [Ping timeout: 240 seconds]
kevery has quit [Ping timeout: 245 seconds]
kevery1 is now known as kevery
apritzel has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
repk has joined #linux-rockchip
repk has quit [Ping timeout: 240 seconds]
repk has joined #linux-rockchip
anarsoul has joined #linux-rockchip
warpme_ has quit [Quit: Connection closed for inactivity]
anarsoul has quit [Quit: ZNC 1.7.5 - https://znc.in]
repk has quit [*.net *.split]
nergzd723 has quit [*.net *.split]
anarsoul has joined #linux-rockchip
repk has joined #linux-rockchip
nergzd723 has joined #linux-rockchip
vagrantc has quit [Ping timeout: 264 seconds]
repk has quit [Ping timeout: 258 seconds]
repk has joined #linux-rockchip
manawyrm has quit [Ping timeout: 272 seconds]
kevery1 has joined #linux-rockchip
repk has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 240 seconds]
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
lkcl has joined #linux-rockchip
repk has joined #linux-rockchip
repk has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-rockchip
lkcl has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
repk has joined #linux-rockchip
repk has quit [Ping timeout: 240 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
archetech has quit [Quit: Konversation terminated!]
repk has joined #linux-rockchip
repk has quit [Ping timeout: 240 seconds]
repk has joined #linux-rockchip
repk has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-rockchip
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-rockchip
repk has joined #linux-rockchip
repk has quit [Ping timeout: 258 seconds]
apritzel has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 265 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
WoC has quit [Remote host closed the connection]
WoC has joined #linux-rockchip
repk has joined #linux-rockchip
repk has quit [Ping timeout: 272 seconds]
repk has joined #linux-rockchip
apritzel has quit [Ping timeout: 260 seconds]
kaspter has quit [Ping timeout: 245 seconds]
kaspter has joined #linux-rockchip
repk has quit [Ping timeout: 258 seconds]
repk has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 264 seconds]
camus is now known as kaspter
matthias_bgg has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery has joined #linux-rockchip
repk has quit [Ping timeout: 272 seconds]
paulk-leonov has quit [Ping timeout: 246 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
repk has joined #linux-rockchip
repk has quit [Ping timeout: 258 seconds]
paulk-leonov has joined #linux-rockchip
ldevulder_ is now known as ldevulder
repk has joined #linux-rockchip
gendevbot has quit [Ping timeout: 260 seconds]
gendevbot has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery has joined #linux-rockchip
repk has quit [Ping timeout: 256 seconds]
<uis> Is any soc with rkvdec(vdpu), but without rkvenc(vepu) exists?
<macc24> uis: check px30
<uis> rk3326?
<macc24> yeah
<macc24> it might have, not sure
inode has joined #linux-rockchip
<uis> It seems it doesn't have even rkvdec. Only hantro
repk has joined #linux-rockchip
<macc24> oh
<uis> hantro(vpu) and rkvdec(vdpu) are different
<macc24> ?????????????
axarob has joined #linux-rockchip
chewitt_ has joined #linux-rockchip
chewitt has quit [Ping timeout: 240 seconds]
<uis> rkvdec made by rockchip and used only in their SoCs. While hantro vpu made by... Hantro. And used also in imx8m.
<macc24> in A64 too iirc
<wens> nope
<wens> Allwinner uses cedar
repk has quit [Ping timeout: 240 seconds]
apritzel has joined #linux-rockchip
repk has joined #linux-rockchip
<uis> +
<macc24> wens: okay, thanks
kevery has quit [Ping timeout: 246 seconds]
axarob has quit [Ping timeout: 264 seconds]
kevery has joined #linux-rockchip
repk has quit [Ping timeout: 258 seconds]
<uis> Why not to add rkvenc as part of rkvdec kernel module?
<wens> because no one has worked on it yet?
<macc24> uis: what are differences between rkvdec and hantro?
<macc24> i know almost nothing about media on linux
stikonas has joined #linux-rockchip
<uis> They are different. rkvdec used only in rockchip SoCs. Hantro - in rockchip and NXP SoCs.
<macc24> uis: do you know how to get hardware decoding working on linux with hantro chips?
<macc24> the linux
<uis> Enable hantro in staging
<macc24> does ffmpeg need to be patches?
<uis> AFAIK no. Ffmpeg already can use v4l2 decoding.
<macc24> oh
repk has joined #linux-rockchip
<macc24> i'll play around it Soon™
macc24 has quit [Ping timeout: 272 seconds]
macc24 has joined #linux-rockchip
repk has quit [Read error: Connection reset by peer]
repk has joined #linux-rockchip
WoC has quit [Remote host closed the connection]
field^Mop has joined #linux-rockchip
<macc24> could anyone dualboot chromeos and linux on arm chromebook?
<mps> macc24: iirc I did this few years ago. using one of kernel partitons for linux and one of root fs
<mps> but had to 'switch' them by cgpt and changing priotity for kernels
<mps> ofc, better option is to keep chromeos on internal 'disk' and using external 'disk' for linux, but I think you know this
<macc24> mps: how dod you do this?
<macc24> did*
<mps> macc24: as I wrote I forgot details but chromeos have two partitions for two kernels and two partitions for two root FSs
<mps> they are for rescue in case upgrade of OS doesn't work
<mps> these two kernel partitions have some flags/attrs for example, 'Attr: priority=10 tries=5 successful=1'
<mps> iirc priority is what defines which one will be used to be booted
<macc24> mps: were there issues with updating?
<macc24> did chromeos attempt to nuke the other partition?
<mps> probably will nuke it, but I didn't tried this
<macc24> yeah i'll try out this setup
<mps> I only played with this on samsung peach pi (exynos5800) arm32 chromebook, not on gru-kevin or elm-oak
chewitt_ is now known as chewitt
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 245 seconds]
kevery1 is now known as kevery
alpernebbi has joined #linux-rockchip
vstehle has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 240 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
WoC has joined #linux-rockchip
swiftgeek has quit [Ping timeout: 246 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 245 seconds]
kevery1 is now known as kevery
swiftgeek has joined #linux-rockchip
WoC has quit [Ping timeout: 240 seconds]
damex has quit [Quit: damex]
damex has joined #linux-rockchip
WoC has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 256 seconds]
alpernebbi has quit [Ping timeout: 245 seconds]
vagrantc has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
swiftgeek has quit [*.net *.split]
ldevulder has quit [*.net *.split]
lkcl has quit [*.net *.split]
hipboi has quit [*.net *.split]
mraynal has quit [*.net *.split]
ldevulder has joined #linux-rockchip
swiftgeek has joined #linux-rockchip
mraynal has joined #linux-rockchip
lkcl has joined #linux-rockchip
hipboi has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
MachX has joined #linux-rockchip
<macc24> mps: can i ask you to test one thing on kevin?
<macc24> it involves mkfs.f2fs /dev/mmcblk2p3
<mps> macc24: if I can, sure
<macc24> yeah can you do this?
<macc24> it seems to hang on my machine
<macc24> or like any other big partition on internal emmc
<mps> I use f2fs on both partitions, root and home
<macc24> mkfs.f2fs seems to hang on 'Discarding device'
<mps> yes, I had this on some old kernels
<mps> you have to give switch to not discard
<macc24> on 5.12-rc1 it hangs too
<macc24> mkfs.ext4 completes fine with discard
<mps> ahm, then '-t 0'
kevery has quit [Ping timeout: 245 seconds]
kevery has joined #linux-rockchip
<mps> didn't had to reinstall for long time so forgot about this, but last time I had to use '-t 0'
<macc24> :/
<mps> with chromeos kernels this is not needed, iirc
FaN has quit [Quit: Connection closed]
matthias_bgg has joined #linux-rockchip
alpernebbi has quit [Remote host closed the connection]
hexdump0815 has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 264 seconds]
<macromorgan> any reason why readl in a driver works then all of a sudden oopses? Trying to use a rockchip_sfc.c driver and while it probes and reads the chip successfully it fails when I actually try to read the chip.
<macromorgan> it checks a register at offset 0x24 successfully several times during the driver probe and chip probe, but the instant I try to transfer data off the chip reading that register causes an oops
<macromorgan> (I'm 100% lost on what I'm doing if that's not clear)
<macc24> hi macromorgan
<macromorgan> howdy
<macromorgan> still banging my head against this sfc crap
<macromorgan> calling readl or readl_poll_timeout on a specific register seems to succeed then fail, and I'm not smart enough to figure out why
* macc24 wubbles mmind00
* mmind00 doesn't know what a wubble is ;-)
<macc24> mmind00: essentially a poke
<mmind00> macromorgan: best guess some the clock may be off?
<mmind00> macromorgan: in the function doing the reading just insert a readl for that 0x24 register and look if that works or already oopses (just add some printk around it)
<macromorgan> I did that, it triggers the oops
<macromorgan> basically I have a readl_poll_timeout which was triggering an asynchronous external abort
<macromorgan> I wanted to see what the register itself said though, so I put a pr_info function in to print just the readl value of that register
<macromorgan> now the readl_poll_timeout doesn't cause the issue, because the readl does
<macromorgan> (the readl being prior to the readl_poll_timeout)
<mmind00> macromorgan: I guess one brute-force check would be http://paste.debian.net/1187721/
<mmind00> aka never disable any clocks ;-)
<macromorgan> dumb question, but how would clocks affect this?
<macromorgan> just curious
<mmind00> macromorgan: the controller blocks need clocks to actually do work :-)
<macromorgan> okay, I'll try force enabling the clock as you say
<macromorgan> no difference
<macromorgan> the "kernel-panic-no-dma" is what I'm getting, and the code is what I'm trying. It runs well enough to actually detect the spi flash chip, but fails at the readl_poll_timeout part of the rockchip_sfc_wait_idle section
<macromorgan> [ 1.677882] rockchip-sfc ff3a0000.spi: XT25F128B (16384 Kbytes)
hexdump0815 has quit [Quit: Connection closed]
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
jelly has quit [*.net *.split]
rtp has quit [*.net *.split]
hanetzer has quit [*.net *.split]
solidhal has quit [*.net *.split]
rtp has joined #linux-rockchip
jelly has joined #linux-rockchip
solidhal has joined #linux-rockchip
hanetzer has joined #linux-rockchip
jelly has quit [Max SendQ exceeded]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
jelly-home has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 240 seconds]
kevery1 is now known as kevery
matthias_bgg has quit [Ping timeout: 245 seconds]
kaspter has quit [Remote host closed the connection]