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
dev1990 has quit [Quit: Konversation terminated!]
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
kaspter has joined #linux-sunxi
Heiko has joined #linux-sunxi
Heiko has quit [Client Quit]
kaspter has quit [Ping timeout: 252 seconds]
khuey is now known as khuey|away
<lvrp16> brainwagon: did you get the 2GB or 1GB?
bfree_ has quit [Quit: Lost terminal]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
megi has quit [Quit: megi]
<lennyraposo> wmat you got your pine?
<wmat> lennyraposo: yep
<lennyraposo> kewl
<wmat> played with it for a bit last week, booted it up and such
<lennyraposo> new pine resource site will be fully operational in the next day or so ;)
<wmat> been busy since then
<wmat> but next order of business is a serial console
<lennyraposo> with a bug reporting system that feeds back into the forums ;)
<lennyraposo> try longsleep's ubuntu and arch or my debian base images
<lennyraposo> ;)
<lennyraposo> great for building
<wmat> i've booted the ubuntu image, but i'll be using the debian image eventually for uboot and kernel work
<wmat> is there a console only image?
<lennyraposo> both mine and longsleep's should work from console
<lennyraposo> never tried personally as i have been wrapped up in real life work and doing this on the side
<lennyraposo> ;)
<wmat> yeah, same here
<lennyraposo> building somethign from teh ground up
<lennyraposo> my own cms with bug reporting and commenting system
<wmat> nice
<lennyraposo> tired of forum thread hopping
<lennyraposo> :S
<wmat> i loathe forums
<wmat> i get asked almost weekly for forums on elinux.org
<lennyraposo> hehe
p1u3sch1_ has quit [Ping timeout: 260 seconds]
p1u3sch1 has joined #linux-sunxi
reev has joined #linux-sunxi
xenoxaos has quit [Ping timeout: 250 seconds]
xenoxaos has joined #linux-sunxi
xenoxaos has quit [Ping timeout: 250 seconds]
IgorPec has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
zuikis has joined #linux-sunxi
<KotCzarny> andrewsh: Linux banana 4.5.0-rc3 #3 SMP Mon Feb 15 13:16:59 CET 2016 armv7l GNU/Linux
<KotCzarny> everything works
leio_ has quit [Ping timeout: 244 seconds]
zuikis has left #linux-sunxi [#linux-sunxi]
leio has joined #linux-sunxi
mossroy has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
jernej_ has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
bwarff has quit [Ping timeout: 250 seconds]
fredc has joined #linux-sunxi
bwarff has joined #linux-sunxi
IgorPec has joined #linux-sunxi
fl__0 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 250 seconds]
oliv3r_ is now known as oliv3r
paulk-aldrin has joined #linux-sunxi
speakman_ is now known as speakman
[Awaxx] has quit [Quit: "57 731 144 752 possibilities."]
Worf has joined #linux-sunxi
[Awaxx] has joined #linux-sunxi
tgaz has quit [Ping timeout: 276 seconds]
tgaz has joined #linux-sunxi
leio has quit [Ping timeout: 276 seconds]
leio has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<andrewsh> KotCzarny: I don't have rc3.
<KotCzarny> just saying that i have bpi and it works with mainline
<andrewsh> mine works with mainline too, but with a different version
<andrewsh> which doesn't mean I haven't hit a bug yesterday
<NiteHawk> andrewsh: could you determine the reason for your USB troubles?
<andrewsh> we've solved this yesterday, haven't we?
<andrewsh> the power regulator driver wasn't enabled in the kernel config
<NiteHawk> ah, i see
<andrewsh> …and something similar, apparently, with 4.6~rc3
<andrewsh> which I have no interest in solving now
<NiteHawk> i just didn't expect that was actually broken in a precompiled kernel version, but it was?
matthias_bgg has joined #linux-sunxi
gzamboni has quit [Ping timeout: 276 seconds]
gzamboni has joined #linux-sunxi
merbzt has quit [Remote host closed the connection]
formruga has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
willmore has quit [Ping timeout: 260 seconds]
apritzel has joined #linux-sunxi
megi has joined #linux-sunxi
SMDwrk has joined #linux-sunxi
<SMDwrk> Hi, everyone. I'm wondering if anyone could tell me if powerswitch on OPi H3 boards works?
<SMDwrk> I've tested it in raspbian - no effect, but on some android system halted and could only be rebooted.
<plaes> which board?
apritzel has quit [Ping timeout: 244 seconds]
<SMDwrk> OPi pc or OPi plus
<plaes> it might be due to power regulator
<SMDwrk> I think it's related to pmic stuff(I guess) and openrisc co-proc in H3 and it's firmware
<plaes> yea.. that too
<KotCzarny> i think power switch is not physically routed to do anything special
<KotCzarny> (at least to power off the system)
<SMDwrk> That's why I'm asking if anyone has that powerbutton working or not)
apritzel has joined #linux-sunxi
Kernel_Panic has joined #linux-sunxi
libv_ has joined #linux-sunxi
<Kernel_Panic> hey, ppl who is responsible for DTSI files for allwinner A10/A13? Seems I've found quite interesting bugs.
libv has quit [Ping timeout: 260 seconds]
<Kernel_Panic> If someone curious, it is bugzilla.kernel.org/show_bug.cgi?id=116691 - seems thermal trip point is really bizarre, 850 degrees.
<plaes> wens: ^^
<wens> oops
<wens> but given the thermal sensor isn't calibrated either....
<Kernel_Panic> On my board it outputs more or less sensible values.
apritzel has quit [Ping timeout: 244 seconds]
<Kernel_Panic> But I guess 850C means thermal throttling just never happens, ouch
<wens> If possible you can send a patch to fix it?
Net147_ has quit [Quit: Quit]
Net147 has joined #linux-sunxi
scream has joined #linux-sunxi
<SMDwrk> Or does anyone know anything about Openrisk firmware for H3?
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<SMDwrk> I mean if it's available as sources or blob or it's stored into rom
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
<plaes> SMDwrk: there's page in wiki
formruga has quit [Quit: Konversation terminated!]
formruga has joined #linux-sunxi
<KotCzarny> hmm
<KotCzarny> that 850C looks like typo from 85C
<plaes> yup
<KotCzarny> which could mean a10/a20 shouldnt be pushed over 85C
<SMDwrk> plaes: thanks, I've seen this, but it doesn't answer my question( Memory map and etc is ok, but there is nothing about stock firmware for it or anything similar
<SMDwrk> I'll try to download sdk and search there for some blobs though
<plaes> yeah.. we can't really distribute those blobs :(
apritzel has joined #linux-sunxi
<SMDwrk> The idea is to make powerbutton work(again, if anyone has it working, please let me know) with help of existing firmware
leio has quit [Ping timeout: 276 seconds]
apritzel has quit [Ping timeout: 244 seconds]
fredc has quit [Ping timeout: 244 seconds]
reev has quit [Ping timeout: 276 seconds]
hansg has joined #linux-sunxi
willmore has joined #linux-sunxi
hansg has quit [Client Quit]
leio has joined #linux-sunxi
fl__0 has quit [Ping timeout: 250 seconds]
<wens> SMDwrk: nope
<SMDwrk> wens: sorry, what that "nope" refers to?
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 240 seconds]
fl_0 has joined #linux-sunxi
avph has quit [Ping timeout: 250 seconds]
fl_0 has quit [Client Quit]
<plaes> Kernel_Panic: do you plan submitting patches?
fl_0 has joined #linux-sunxi
avph has joined #linux-sunxi
fredc has joined #linux-sunxi
reev has joined #linux-sunxi
orly_owl_ has joined #linux-sunxi
vishnup has joined #linux-sunxi
vishnup has left #linux-sunxi [#linux-sunxi]
vishnup has joined #linux-sunxi
orly_owl has quit [Ping timeout: 250 seconds]
<wens> SMDwrk: no sources for ar100 blob
<SMDwrk> wens: ok, but is there blob itself in i.e. sdk or maybe it's in rom?
montjoie has quit [Ping timeout: 260 seconds]
afaerber has quit [Quit: Ex-Chat]
leio has quit [Quit: No Ping reply in 180 seconds.]
leio has joined #linux-sunxi
apritzel has joined #linux-sunxi
<plaes> SMDwrk: found one via google
<SMDwrk> plaes: I've found some blobs and arisk driver in the sdk, need to test it this evening
afaerber has joined #linux-sunxi
<megi> ar100 blob is loaded into sram, someone created a test app for the ar100 controller, and it works: https://github.com/skristiansson/ar100-info
<SMDwrk> megi: thanks, next stop is to load original ar100 blob into sram and test powerbutton
<megi> but you don't need this to get access to the reset button, it's just connected to GPIO and configured in dts file, you just need to configure it somehow
<megi> if you're on the mainline kernel
<megi> you can access whatever ar100 has access to from the main cpus too
<megi> so creating some userland app watching the appropriate gpio and reacting to it (reset, shutdown, whatever) should work too
<SMDwrk> megi: I'm talking not about reset but about power button, as far as I understand if I press powerbutton soc has to go to sleep(?) mode and if I press it again it should boot or something like that. Correct me, plz, if I'm wrong
<megi> I'm not sure what it does. On my opi pc there's just a single button and it's connected to gpio. So it can do whatever you program it to do.
merbanan has joined #linux-sunxi
<megi> Sleep might be tricky, though. :) Because then, you'd really need to use ar100, because the main cpu will be down.
<SMDwrk> megi: exactly! that's what I'm talking about
afaerber has quit [Ping timeout: 250 seconds]
<megi> I tried to disassemble the ar100 blob for h3 some time ago, and the only disassembler i could find for openrisc missed half of the instructions. It was not readable at all.
<megi> and IDA doesn't have openrisc support either
<SMDwrk> megi: disassembling 250kb blob seems hardly impossible to me
<megi> if you find working disassembler
<megi> with the one in the toolchain you just get 30% symbolic instructions mixed with 70% raw bitcode
<megi> tough to interpret that
<SMDwrk> megi: that's weird
<megi> please let me know if you find some working disassembler, I'm also interested in this, because I'm working on making the power management work on orange pi pc
<SMDwrk> megi: Thanks, sure!
afaerber has joined #linux-sunxi
Shirasaka-Hazumi has quit [Ping timeout: 250 seconds]
Shirasaka-Hazumi has joined #linux-sunxi
montjoie has joined #linux-sunxi
fredc has quit [Read error: Connection reset by peer]
reev has quit [Read error: Connection reset by peer]
reev has joined #linux-sunxi
fredc has joined #linux-sunxi
mpmc is now known as mpmc________
mpmc________ is now known as mpmc
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
fredc has quit [Read error: Connection reset by peer]
reev has quit [Read error: Connection reset by peer]
Shirasaka-Hazumi has quit [Ping timeout: 246 seconds]
Shirasaka-Hazumi has joined #linux-sunxi
megi has quit [Quit: megi]
Nacho__ has joined #linux-sunxi
Nacho has quit [Ping timeout: 252 seconds]
cnxsoft has quit [Quit: cnxsoft]
leio has quit [Ping timeout: 276 seconds]
Worf has quit [Quit: Konversation terminated!]
vishnup has quit [Quit: Connection closed for inactivity]
bwarff has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
Kernel_Panic has quit [Ping timeout: 250 seconds]
scream has quit [Remote host closed the connection]
iamfrankenstein1 has quit [Quit: iamfrankenstein1]
reinforce has quit [Quit: Leaving.]
aballier has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-sunxi
leio has joined #linux-sunxi
jernej_ has joined #linux-sunxi
aballier has joined #linux-sunxi
gzamboni has quit [Read error: Connection reset by peer]
orly_owl_ is now known as orly_owl
orly_owl has quit [Changing host]
orly_owl has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 276 seconds]
avph has quit [Ping timeout: 250 seconds]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 276 seconds]
iamfrankenstein1 is now known as iamfrankenstein
avph has joined #linux-sunxi
Amit_t_ has joined #linux-sunxi
zuikis has joined #linux-sunxi
reinforce has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
Amit_t_ has quit [Quit: Page closed]
apritzel has joined #linux-sunxi
JohnDoe1 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 268 seconds]
dev1990 has joined #linux-sunxi
cosm has quit [Ping timeout: 250 seconds]
khuey|away is now known as khuey
khuey is now known as khuey|away
cosm has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
nove has joined #linux-sunxi
Netlynx has joined #linux-sunxi
doppo has quit [Ping timeout: 276 seconds]
doppo has joined #linux-sunxi
doppo has quit [Ping timeout: 250 seconds]
doppo has joined #linux-sunxi
khuey|away is now known as khuey
ssvb_ has quit [Ping timeout: 268 seconds]
ssvb_ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 250 seconds]
montjoie has quit [Ping timeout: 276 seconds]
Netlynx has quit [Quit: Leaving]
montjoie has joined #linux-sunxi
cptG has joined #linux-sunxi
cptG_ has quit [Ping timeout: 250 seconds]
zuikis has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
jernej has joined #linux-sunxi
jernej_ has quit [Ping timeout: 250 seconds]
mosterta has joined #linux-sunxi
SMD1 has joined #linux-sunxi
jernej has quit [Read error: Connection reset by peer]
<SMD1> wens: hey
<SMD1> wens: could you try
<SMD1> (10:06:01 PM) olofk: or1k-elf-objcopy -I binary -O elf32-or1k -B or1k --reverse-bytes=4 arisc_sun8iw7p1.bin arisc.elf
<SMD1> (10:06:15 PM) olofk: or1k-elf-objdump -D arisc.elf | less
<SMD1> (10:06:20 PM) olofk: Works for me
<SMD1> I'm building or1k-toolchain right now
jernej has joined #linux-sunxi
doppo has quit [Ping timeout: 250 seconds]
jernej has quit [Ping timeout: 260 seconds]
doppo has joined #linux-sunxi
avph has quit [Ping timeout: 250 seconds]
avph has joined #linux-sunxi
bonbons has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
doppo has quit [Ping timeout: 250 seconds]
doppo has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
<SMD1> wens: try this one http://rghost.net/6xP2LYv6b
<SMD1> There are some "unknown" parts but it may be some data maybe
paulk-aldrin has quit [Quit: Leaving]
<SMD1> it's disasm for arisc_sun8iw5p1.bin
<SMD1> I mean arisc_sun8iw7p1.bin
JohnDoe1 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
dev1990 has quit [Quit: Konversation terminated!]
<ssvb_> SMD1: what are you trying to find in this binary?
<ssvb_> SMD1: yes, of course disassembling it always worked fine, but are you looking for some specific information or something?
mossroy has quit [Quit: Quitte]
reinforce has quit [Quit: Leaving.]
apritzel has joined #linux-sunxi
nove has quit [Quit: nove]
afaerber has quit [Quit: Ex-Chat]
megi has joined #linux-sunxi
<megi> SMD1: thanks for the disassembly
<megi> SMD1: there's a lot of strings (and possibly other data) in the binary (visible clearly if you do the 4byte reverse on all DWORDs), so I think that's what's behind the unknown parts
<ssvb_> SMD1: btw, you are disassembling it slightly wrong
<ssvb_> megi: oh, you are also interested in the OpenRISC disassembly?
<megi> ssvb_: yes
<ssvb_> looking for something there?
<megi> I was looking in there, for ways to communicate over r_twi with SY8106A on the opi pc board, but figured it out without it
<ssvb_> yes, SY8106A is already supported in U-Boot
<megi> I know, I also wrote support for the linux kernel
<megi> now I'm just curious what other thing is there, and if it would be possible to support some deeper idle states
<megi> in the mainline
<ssvb_> there must be some code, which puts DRAM into the self-refresh mode and then brings it back
<ssvb_> but I believe I have seen some sources for this somewhere in the SDK
<apritzel> does the arisc code for the OrangePi block access to the R_ peripherals somehow? Specifically the RSB? Or could you still access it directly from U-Boot, for instance?
<megi> tha ar100 is held in reset by default
<megi> on mainline
<megi> so it doesn't block anything
<apritzel> I meant if there is something running on it
<megi> everything that's acessible from ar100 also works from the main cpu, afaik
<apritzel> right, my impression, too
<megi> so I'd guess that no
<apritzel> I just couldn't access the RSB from U-Boot on the Pine64
<ssvb_> apritzel: yes, I was going to take care of the A64 PMIC support eventually
<apritzel> and I was wondering if that's just me being stupid or some hardware restriction
<ssvb_> maybe some magic bit needs to be set somewhere
<apritzel> my understanding is that the R_ peripherals _can_ be made secure-only and thus blocked from the ARM cores running non-secure
<apritzel> ssvb_: A64 PMIC support> great! I was hoping that you would take a look
<apritzel> I removed the need for the arisc code from the ATF
<apritzel> so secondary core bringup is now done directly without calling into the arisc
<apritzel> so the OpenRISC is free for people to play with... \o/
<megi> :)
<apritzel> including some proper PMIC controller code
<ssvb_> did you use the disabled bits of code from the Allwinner's SDK for the secondary cores bring up?
<apritzel> yes, that's what I enabled again ;-)
<apritzel> so far PSCI CPU_ON works, all four cores are on
<ssvb_> that was very nice of them to keep it for reference :-)
<apritzel> indeed ;-)
<apritzel> RESET and POWEROFF are not implemented (yet)
<apritzel> POWEROFF requires PMIC access (I guess)
<apritzel> could RESET be done with some watchdog or the like?
<ssvb_> yes, reset is usually implemented using a watchdog
<ssvb_> on all the other Allwinner SoCs
libv has joined #linux-sunxi
<apritzel> great, I was hoping for that
<ssvb_> megi: as for the H3 arisc code disassembly log, a part of it is loaded into the DRAM because the SRAM A2 is only 32K
<ssvb_> megi: so don't be surprised about the addresses which start from 0x4308XXXX
<megi> hmm, ok :)
<ssvb_> but I still suggest you to scan the SDK sources for the self refresh code, that's what is needed for suspend to ram support
<megi> btw, sunxi website is not working atm
libv_ has quit [Ping timeout: 246 seconds]
<ssvb_> the arisc firmware also seems to be responsible for some audio support (maybe some low power music playback support when the ARM cores are powered down?), but I'm not sure if it is very interesting at this moment
xenoxaos has quit [Ping timeout: 276 seconds]
<ssvb_> the blob seems to be unreasonably large for what it is supposed to do
<megi> yes, it has some uart/debug interface too
<megi> that may be part of the bloat
libv has quit [Ping timeout: 240 seconds]
scream has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
scream has quit [Remote host closed the connection]
engideavr has quit [Ping timeout: 276 seconds]
bwarff has joined #linux-sunxi
hulu1522 has joined #linux-sunxi
bwarff has quit [Quit: Leaving]
engideavr has joined #linux-sunxi