<Amit_T>
AXP version is AXP81X but as per PIne64 wiki it uses AXP806 ?
<Amit_T>
from u-boot also, able to intialize AXP as I can see "rsb_send_initseq: rsb clk 400Khz -> 3Mhz" in u-boot logs
<Amit_T>
but not able to configure AXP as ,don't know where to get slave id and hardware address for AXP806 as it is not mentioned in AXP803(sorry it was AXP803 not 806) data sheet
<montjoie>
apritzel could you share the stack trace ?
<MoeIcenowy>
wens: your thought of enabling all the USBCs and SDCs on all Q8 models seems to be not useful
<MoeIcenowy>
as WiFi modules usually needs more pins, for example, power supply and(or) reset pin
<wens>
MoeIcenowy: those would also be included somehow
<wens>
i've not actually thought this through
<wens>
but it was slightly discussed awhile ago
<wens>
Amit_T: the ids in the code don't really match reality :)
<MoeIcenowy>
wens: Hmm... how to constantly set a PLxx pin on A23/33 in dt?
<MoeIcenowy>
(the chip_enable and reset pins of wifi on my tablet
<Amit_T>
wens: ok but pine64 has AXP803 or AXP81X ?
<wens>
Amit_T: 803
<wens>
MoeIcenowy: i think the bindings and associated bus driver changes are being discussed
<libv>
so much for an open platform and for educational purposes.
<libv>
"getting kids to play with assembler again"
<libv>
lying assholes :)
<jelle>
then again, how would stuff legally work if RPI foundation reverse engineerded the bootloader
<MY123>
jelle: RPF is blocked with NDAs
<MY123>
they have full source of the FW, and they wrote big parts of it themselves
<libv>
jelle: they did not help much either
<libv>
quite the opposite
<libv>
hey, remember that big press release about their open source graphics driver?
<MY123>
as BCM's mobile division got shut down completely
<libv>
where someone, once again, stuck his head out and got his teeth kicked out, again?
<jelle>
libv: well that's only kernel right, not userland?
<MY123>
the original 2012 driver was just RPC
<MY123>
to the blob
<jelle>
yeah
<libv>
and then there was the quake port...
<libv>
10k usd bounty
<libv>
was just a brash marketing statement
<MY123>
libv: which was done by a big nasty hack
<libv>
they did not go to the vc4 guys and offer them a set of goals with individual bounties
<MY123>
without even deallocation of unused execute buffers
<MY123>
:p
<MY123>
and a kernel driver without shader checking, when the VC4 QPUs don't have an IOMMU
<MY123>
:p
<libv>
anyway, well done vc4 guys
<libv>
but you've done it for a platform/company that doesn't deserve it
<libv>
actually deserves it less than ARM deserves a working lima driver
<MY123>
it wasn't me who did it anyway, but I'm glad that someone took the hassle of doing it
<libv>
i know
<libv>
but it's still a bit annoying
<MY123>
libv: and that Odroid BCM2835 project which was killed in the last minute by Broadcom
<MY123>
:p
<libv>
these guys will have about 5 minutes of fame, and then they will be either forgotten or trashed for not having done more. and there is little that they could gain from it, it's not as if broadcom or any other board/chip maker in that space will hire them if they have something like that in their resume, quite the opposite
<libv>
was this on phoronix already, btw?
<libv>
so we can at least make those 5 minutes of fame count?
<libv>
nope
<libv>
mailing michael.
<MY123>
libv: maybe waiting a bit more until the SDHC+FAT support is merged
<MY123>
:)
<libv>
nono
<libv>
make noise at each stage
<libv>
MY123: do you have an email address for the author, please privmsg me that
<NiteHawk>
libv: we need a "junkyard" category with auto-deletion after a period of inactivity :D
IgorPec has quit [Ping timeout: 276 seconds]
<MY123>
libv: there is a ton of different sunxi devices
<MY123>
compared to Mediatek for example
<libv>
NiteHawk: this is exactly the sort of page for which the new device howto was written
<libv>
so that we do not get shit like that anymore
<libv>
and this person went and actively made it like that.
<libv>
why?
<NiteHawk>
because thick? :D
<libv>
how can one actively and consciously make that happen?
<libv>
no, i don't think general stupidity has anything to do with this
<libv>
this smells like a rather fundamental psychologic or neurologic issue
<MY123>
or laziness
<libv>
no, this is not about being lazi
<libv>
lazy even
mosterta has joined #linux-sunxi
<libv>
properly lazy people either do absolutely nothing, or make sure that they just do the minimum amount of work
<libv>
this is neither of the above
* NiteHawk
giggles at "properly lazy"
IgorPec has joined #linux-sunxi
<libv>
i am sure that the person who wrote this page has had to battle with definitions like "thick" and "lazy" all his life
<MY123>
libv: or just didn't want to read the howto
<MY123>
thinking that he knows already how to write the page
<MY123>
:
<MY123>
:p
<libv>
people who do not read the howto at least do not write whole blobs of hotzo themselves
<libv>
we have enough people who do not read the howto
<libv>
the resulting page is usually easy to clean up
mosterta has quit [Ping timeout: 244 seconds]
IgorPec has quit [Ping timeout: 250 seconds]
<luoyi>
I've update my dtb file and put the sun4i-dai.ko in the modules directory. depmod works fine. but after reboot, system still doesn't recognize i2s audio driver
<luoyi>
even if I modprobe sun4i-dai , lsmod still doesn't show it. anyone can give some hint to this ?
yann|work has quit [Ping timeout: 252 seconds]
formruga has quit [Ping timeout: 244 seconds]
<apritzel1>
yeah, a good start into the week: git send-email ... 00??-*.patch ... 00??-*.patch
<apritzel1>
sending every email twice - of a 56 patch series!
<NiteHawk>
apritzel1: murphy's law - the probability of this happening with a 56 patch series is significantly higher than with <= 5 patches ;)
<luoyi>
codekipper: ok maybe I need pcm510x driver code get loaed
<codekipper>
doesn't look like you've got it set in your config
tsuggs has joined #linux-sunxi
<luoyi>
codekipper: you mean the pcm510x driver code ? right ?
<codekipper>
yep
<wens>
MoeIcenowy: yup
<Amit_T>
apritzel1: You initialized RSB first but you said we can skip it as its been initialized in boot0 code(or when we run ATF ,we don't talk about boot0) ?
<apritzel1>
I skip the initialization of the RSB for now (see the early return; in the code)
<apritzel1>
And I need still to work out if this is boot0 or even the BROM that initializes the RSB
<montjoie>
apritzel1: yes for external gigabit PHY
<apritzel1>
montjoie: OK, thanks, one thing less to worry about
<Amit_T>
apritzel1: what is the harm if initialized it again, this is how things go , I mean one software layer doesn't trust other software layer(like we initialized so many things in linux again which is already been setup by u-boot) ?
<apritzel1>
sure, but I've seen things messed up with re-initializing it wrongly
<apritzel1>
Amit_T: this is just preliminary code that works for me, hence the slightly hackish early return;s
<apritzel1>
and also if we find out that the BROM does the actual initialisation, we _can_ rely on this, since this is ROM
<wens>
apritzel1: most likely boot0
<wens>
apritzel1: RSB init fails if you do it again
<wens>
the slaves will just ignore it
<Amit_T>
ok but BROM code we don't have :(, right ?
<apritzel1>
Amit_T: everyone has it ;-)
<luoyi>
codekipper: I've compiled the pcm5102 kernel module and put it in the /lib/modules, , but still no i2s card
<apritzel1>
it's burned into the SoC
<wens>
you can dump it from brom with u-boot :)
<Amit_T>
ok
reev has quit [Ping timeout: 246 seconds]
<apritzel1>
wens: fails when initialised again> yes, that is what I was suspecting
<luoyi>
codekipper: I need add pinctrl-names such settings in the dts file ?
<apritzel1>
Amit_T: and also: this is a dodgy, barely documented interface: why not leave the initialisation to the people that know how to do it?
<Amit_T>
Sure, I just wanted it to try for some learning , that's all.
<apritzel1>
I might make initialisation conditional: if I see it already been up, skip that part, if not, try to initialise it
<Amit_T>
apritzel1: small doubt when we boot over usb, we just make use of BROM code not the boot0 ?
<apritzel1>
we can never avoid BROM, but we load ssvb's SPL implementation with the linked-in libdram for now, so no boot0 here
<apritzel1>
boot0 wouldn't care about FEL boot anyway
<Amit_T>
ok , actually I think, I am able to initialized RSB in u-boot (u-boot booted from FEL) , so would it atleast confirm that BROM is not initializing rsb (other u-boot rsb initialization would have failed)?
<apritzel1>
Amit_T: wens thinks so. Can you do a: "md.l 0x1f03400 20" at the U-Boot prompt just after it's booted? So before you initialise it yourself?
luoyi has quit [Ping timeout: 250 seconds]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 260 seconds]
iamfrankenstein1 is now known as iamfrankenstein
avph has quit [Ping timeout: 260 seconds]
<Amit_T>
ok , I will do it once have access to machine ,by doing so you'r writing to 5th bit of RSB control register, right ?
<NiteHawk>
Amit_T: no, you're dumping the RSB configuration - to check what specific values are present within the registers
<Amit_T>
oh sorry its md.l not mw.l
avph has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<apritzel1>
Amit_T: yeah, be careful with those mw.l's ;-)
<apritzel1>
I guess I can dump you a sequence which would fry your board ;-)
cnxsoft has quit [Quit: cnxsoft]
<Amit_T>
I just have one board(for that too I borrowed 31 $ from my friend) , so it won't be great idea :)
<apritzel1>
it's unlikely to happen by accident (since you would need the correct sequence), but better safe than sorry
<apritzel1>
especially if you play around with the PMIC
<MoeIcenowy>
I'm trying to get espressif esp8089 driver work on mainline kernel...
<Amit_T>
ok
apritzel has quit [Ping timeout: 244 seconds]
codekipper has quit [Quit: Page closed]
<apritzel1>
note to self: don't bother Amit_T with testing PMIC patches ;-)
<Amit_T>
:)
<MoeIcenowy>
oh the driver of esp8089 is sh*tty...
IgorPec11116 has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
andoma has quit [Ping timeout: 244 seconds]
andoma has joined #linux-sunxi
IgorPec11116 has quit [Ping timeout: 265 seconds]
bamvor has quit [Read error: Network is unreachable]
bamvor has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
cnxsoft has quit [Quit: cnxsoft]
IgorPec11116 has joined #linux-sunxi
IgorPec11117 has joined #linux-sunxi
IgorPec11116 has quit [Ping timeout: 265 seconds]
IgorPec11118 has joined #linux-sunxi
IgorPec11117 has quit [Ping timeout: 276 seconds]
IgorPec11119 has joined #linux-sunxi
cosm has joined #linux-sunxi
IgorPec11118 has quit [Ping timeout: 276 seconds]
nove has joined #linux-sunxi
luoyi has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
marekre has quit [Ping timeout: 250 seconds]
<wens>
MoeIcenowy: yup
apritzel has joined #linux-sunxi
zuikis has joined #linux-sunxi
IgorPec11119 has quit [Ping timeout: 250 seconds]
IgorPec11119 has joined #linux-sunxi
<apritzel1>
mmh, interesting: Jide announced an All-in-One RemixOS based machine, using the AmLogic S905 (instead of the H64 in the MiniPC)
<apritzel1>
ssvb: did you receive your SPI flash chips?
<apritzel1>
I got the one from the Netherlands on Saturday, but didn't have a chance to play with it a lot
clonak has quit [Ping timeout: 240 seconds]
<apritzel1>
ssvb: I tried to enable it in Linux, but got lost in that MTD / spidev maze in Linux
iamfrankenstein1 has joined #linux-sunxi
<ssvb>
apritzel1: I haven't received the SPI flash chip yet, but I guess it should arrive very soon
<apritzel1>
ssvb: I see you are busy with updating the Wiki meanwhile ;-)
iamfrankenstein has quit [Ping timeout: 276 seconds]
iamfrankenstein1 is now known as iamfrankenstein
<ssvb>
regarding AmLogic S905, it seems to be a very reasonable choice right now and the mainlining work is being done by ccaione
<ccaione>
ssvb: well, now baylibre is on board with that also
Amit_t_ has joined #linux-sunxi
<apritzel1>
ssvb: I know ;-)
<apritzel1>
does anybody know the price tag on the S905? Compared to the purported "5$" for the A64?
<luoyi_>
looks like there are some trouble with the wifi driver.
<luoyi_>
does amlogic also have a open-source community like sunxi ?
<ccaione>
luoyi_: let's say the focus now is on the S905 .... join #linux-amlogic
<luoyi_>
S905, you mean odroid C2
<ccaione>
S905 is the SoC, C2 is the hardkernel board with a S905 on board
<luoyi_>
I know. but maybe odroid c2 is the best supported dev board we can get. right ?
<ccaione>
luoyi_: probably we are OT here, let's switch to #linux-amlogic to not bother people here
dev1990 has joined #linux-sunxi
luoyi_ has quit []
IgorPec11119 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec11119 has quit [Ping timeout: 240 seconds]
<apritzel1>
Amit_T: thanks for that, so indeed the RSB is not initialized, the registers are all in reset state
<apritzel1>
which is proof that this is done by boot0, not BROM
<apritzel1>
so we need code to do it in ATF
adminf has quit [Ping timeout: 240 seconds]
Mr__Anderson has quit [Quit: Leaving.]
nove has quit [Ping timeout: 260 seconds]
FLorian has joined #linux-sunxi
staplr has joined #linux-sunxi
apritzel has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
ninolein_ has quit [Quit: No Ping reply in 180 seconds.]
ninolein has joined #linux-sunxi
staplr has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 244 seconds]
apritzel has joined #linux-sunxi
apritzel1 has quit [Ping timeout: 244 seconds]
Amit_t_ has joined #linux-sunxi
<juri_>
so, i smell something funny in the sunxi 4.5.2. I've got the console redirected to serial, and when i turn on iprintk() for every semaphore up operation in my protocol driver (iscsi-target), i get random deadlocks and occasionally, a page fault.
<juri_>
at first, i suspected my code (no locking when manipulating lists, in many cases).
<KotCzarny>
recompile with 'optimize for size' ?
<KotCzarny>
(shot in the dark)
Amit_t_ has quit [Quit: Page closed]
nove has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
<apritzel>
juri_: if you have issues with debug and the console, try trace_printk() instead of printk and get the output from /sys/kernel/debug/tracing/trace
apritzel has quit [Ping timeout: 244 seconds]
raknaz has joined #linux-sunxi
<KotCzarny>
hmm, all-in h3 tree ?
Netlynx has quit [Quit: Leaving]
The_Loko has joined #linux-sunxi
p1u3sch1 has joined #linux-sunxi
scream has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
raknaz has quit [Quit: raknaz]
enrico_ has quit [Quit: Bye]
FLorian has quit [Disconnected by services]
Florian- has joined #linux-sunxi
avph has quit [Ping timeout: 260 seconds]
<montjoie>
apritzel, my github have the latest version
matthias_bgg has quit [Ping timeout: 260 seconds]
avph has joined #linux-sunxi
apritzel has joined #linux-sunxi
gzamboni has quit [Ping timeout: 260 seconds]
zuikis has left #linux-sunxi [#linux-sunxi]
cosm has quit [Ping timeout: 246 seconds]
gzamboni has joined #linux-sunxi
avph has quit [Ping timeout: 260 seconds]
avph has joined #linux-sunxi
staplr has joined #linux-sunxi
<apritzel>
montjoie: thanks, will pick it from there!
JohnDoe1 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]