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*
Mangy_Dog has quit [Ping timeout: 246 seconds]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
jstein has quit [Quit: quit]
ChriChri_ has joined #linux-sunxi
camus has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
NeuroScr has quit [Quit: NeuroScr]
lurchi__ has quit [Ping timeout: 245 seconds]
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 246 seconds]
TEKrantz has quit [Ping timeout: 276 seconds]
TEKrantz has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
cnxsoft has joined #linux-sunxi
kaspter has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
aloo_shu has quit [Quit: bedtime]
[7] has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
<wens> doesn't the linux-sunxi wiki already carry a copy of the datasheet and manual?
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
diego71 has joined #linux-sunxi
selfbg has joined #linux-sunxi
airstorm has joined #linux-sunxi
reinforce has joined #linux-sunxi
<montjoie> it should
<KotCzarny> but he asked about the reference board design, not chip
vagrantc has quit [Quit: leaving]
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
lkcl has quit [Ping timeout: 265 seconds]
pmpp has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
pmp-p has quit [Ping timeout: 240 seconds]
yann|work has quit [Ping timeout: 240 seconds]
diego_r has joined #linux-sunxi
ldevulder has joined #linux-sunxi
warpme_ has joined #linux-sunxi
tnovotny has joined #linux-sunxi
arete74 has joined #linux-sunxi
jonasbits has quit [Remote host closed the connection]
jonasbits has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
tnovotny has joined #linux-sunxi
rzerres has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
_whitelogger has joined #linux-sunxi
yann|work has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
diego71 has quit [Ping timeout: 240 seconds]
diego71 has joined #linux-sunxi
<fALSO> bom dia
<DuClare> hay
diego71 has quit [Read error: No route to host]
diego_r has quit [Quit: Konversation terminated!]
diego_r has joined #linux-sunxi
florian_kc has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
random_yanek has quit [Ping timeout: 240 seconds]
florian_kc is now known as florian
random_yanek has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
wasutton3_ has joined #linux-sunxi
camus has joined #linux-sunxi
Turl has quit [Ping timeout: 248 seconds]
kaspter has quit [Remote host closed the connection]
wasutton3 has quit [Remote host closed the connection]
camus is now known as kaspter
Turl has joined #linux-sunxi
Naka has joined #linux-sunxi
return0__ has joined #linux-sunxi
_rze has joined #linux-sunxi
TEKrantz_ has joined #linux-sunxi
return0e_ has quit [Read error: Connection reset by peer]
Nakaori has quit [Remote host closed the connection]
TEKrantz has quit [Ping timeout: 240 seconds]
rzerres has quit [Remote host closed the connection]
smaeul has quit [Ping timeout: 240 seconds]
_rze is now known as rzerres
TEKrantz_ has quit [Ping timeout: 240 seconds]
TEKrantz has joined #linux-sunxi
megi has joined #linux-sunxi
smaeul has joined #linux-sunxi
OnkelUlla has quit [Ping timeout: 246 seconds]
OnkelUlla has joined #linux-sunxi
lurchi__ is now known as lurchi_
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
florian_kc has joined #linux-sunxi
florian has quit [Remote host closed the connection]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
jo0nas has quit [Read error: Connection reset by peer]
jo0nas has joined #linux-sunxi
diego71 has joined #linux-sunxi
dlan has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
arnidg has quit [Ping timeout: 250 seconds]
fest has quit [Quit: Share and Enjoy]
florian_kc is now known as florian
florian_kc has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
TEKrantz has quit [Read error: Connection reset by peer]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
TEKrantz has joined #linux-sunxi
lurchi_ is now known as lurchi__
JohnDoe_71Rus has joined #linux-sunxi
<KotCzarny> lol
<KotCzarny> small companies releasing sbs is one thing, but in case of lenovo..
<KotCzarny> gpl battles ahoy!
reinforce has quit [Quit: Leaving.]
msev- has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
fl_0 has quit [Ping timeout: 276 seconds]
lkcl has joined #linux-sunxi
pgreco_ is now known as pgreco
fl_0 has joined #linux-sunxi
<EmilKarlson> you would think there would be sufficient supply of rk3399 boards
<EmilKarlson> maybe new laptops
<EmilKarlson> or tablets
jstefanop has joined #linux-sunxi
msev- has quit [Quit: Leaving]
aloo_shu has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
gatuno_123 has joined #linux-sunxi
<gatuno_123> Hi, I'm looking for the ARISC manual or documentation from Alliwinner H6 procesor
<gatuno_123> it is a PDF, where it says what registers you should "change" to do "things", I found it already, but lost track where it is, does anybody know where it is?
TEKrantz has joined #linux-sunxi
<KotCzarny> have you checked the wiki?
<gatuno_123> yes, two times, but I can't remember where is that document.
<KotCzarny> put 'arisc' into the search box?
<KotCzarny> unless H6 changed that core to something else
<KotCzarny> also, H6 specific registers are on H6 page
<gatuno_123> well, that page is useful, but not the document. It's a document where it says something like: "CIR_RX" is at address 0x1231231
<KotCzarny> yes, see H6 page
<gatuno_123> about the ar100 coprocessor
<KotCzarny> yes, see H6 page and documentation
<megi> there's no docs from allwinner on the arisc coprocessor, it's all reverse engineered
<KotCzarny> megi, but i think he needs generic H6 registers
<KotCzarny> i might be reading wrong tho
<megi> then use the "H6 User Manual" pdf
<gatuno_123> it's weired. I actually found a PDF about the registers of the AR100 coprocessor
<KotCzarny> was it in english/
<gatuno_123> yes
<KotCzarny> and it was only about arisc and not soc in general?
<gatuno_123> yes, it was about arisc. I was pretty sure about the arisc because it just mentioned CIR_RX but NOT CIR TX
<megi> there are not AR100 registers, AR100 is hooked to one of the SoCs buses that is wired pretty much to anything on the SoC
<gatuno_123> as arisc could just access CIR_RX
<megi> there are some architecutral regs inside AR100 that you can read about in the openrisc 1000 instruction set manual, but that's about it
tllim has joined #linux-sunxi
<megi> you can access from ar100 almost anything the ARM cores can
dddddd has joined #linux-sunxi
<gatuno_123> yes, but they have like "different" address space
<gatuno_123> just to mention something, in crust there is a #define DEV_R_CIR 0x01f02000
<KotCzarny> for older socs, but might be similar for h6
<megi> yes, you can access 0x01f02000 from arisc and arm cpu
<gatuno_123> where did crust get that address 0x01f02000?
<KotCzarny> and regs are mapped depending on the bus you use
<megi> probably from the manual or the BSP source code
<megi> not everything is docummented
<megi> some values are taken from source code released by the vendor
<gatuno_123> I know that not everything is documented, but shit, why didn't I save that document?
<gatuno_123> I was pretty sure that pdf was about arisc registers
<KotCzarny> we are trying to tell you that arm and arisc map the soc registers to the same values (mostly)
reinforce has joined #linux-sunxi
<gatuno_123> really?
<megi> right, there are no arisc registers :) R_* device prefix mean that their are in AR100 power domain
<megi> that is they can be still powered while the rest of the soc is shut down
<KotCzarny> there are gotchas depending on some bus access rights
<KotCzarny> because memory access can be set independently for arm and arisc
<KotCzarny> and some areas arent available for arisc for example
<gatuno_123> well, I'm here because I want to help to write firmware for the arisc coprocessor
<gatuno_123> and I have a couple of orange PI3 with the H6
<megi> cool :)
<KotCzarny> crust is the best place to start, and h6 user manual
<KotCzarny> and wiki of course
<gatuno_123> but I don't know if the crust firmware and support to H6
<gatuno_123> I want to be useful
<KotCzarny> start hacking then
<KotCzarny> you cant break the soc
<KotCzarny> and most of the work was done by hacking anyway
<gatuno_123> I have a simple question, does the firmware have to be loaded every time from a cold boot?
<gatuno_123> is not permanent?
<KotCzarny> yes
<megi> you can probably run crust on H6, easiest way to start is to make ARISC output something to the serial port
<KotCzarny> that's why im saying you cant break the soc
<megi> I load arisc firmware from linux
<megi> it's the easiest for experimenting
<KotCzarny> on cold boot both arm and arisc are in clean state
<megi> there's a program to do it in the crust repository
<megi> you can load it as many times as you want, making changes in between, without rebooting
<megi> fw is sored in SRAM
<megi> stored
<gatuno_123> thats why to be permanent it has be "merged" with the u-boot loader?
<KotCzarny> yes
<KotCzarny> or with linux kernel
<gatuno_123> I'm starting to understand
<megi> it's just that integrating it to communicate with linux and ATF, etc is complicated
<KotCzarny> unless you want it to run independently
<megi> but running your own custom FW on arisc is fairly straightforward
<KotCzarny> then you dont have to look what linux does
<megi> right
<KotCzarny> you can run linux on arm cores, and your own program on arisc
<gatuno_123> megi: did you say you send things to the UART, isn't supposed to be managed by linux? Or can I make linux don't "touch" the uart?
<gatuno_123> to start debugging my "try" of arisc firmware
<megi> UART has fifo
<megi> you just write to it
<KotCzarny> you can disable serial driver in linux
<megi> in the end it will combine output from linux and ar100
<gatuno_123> so, it doesn't matter if linux or arisc wirtes it,
<gatuno_123> cool
<megi> reading would be harder
<KotCzarny> you can use pc or another board
<KotCzarny> or usb-serial dongle
<megi> but just do print out debug strings this works fine
<KotCzarny> :)
<megi> for serious communication between linux and arisc, you'd need some shared memory area in sram, and some synchronization mechanism
<KotCzarny> you can also use IR as a debug output for arisc
<KotCzarny> ;)
<KotCzarny> or anything
<megi> you can read some of my experiences with this here: https://xnux.eu/tablet-hacking/
<megi> for example "Implmeneting mailbox/SCPI on Linux and crust probing"
<gatuno_123> thanks for the pointers
<gatuno_123> I get that for Linux-ARISC message there is the Message box example, from Samuel Holland
<gatuno_123> I've already found and understood these examples
<gatuno_123> Samnuel is pretty good at this
<KotCzarny> yes, he is
NeuroScr has joined #linux-sunxi
florian has quit [Quit: Leaving]
florian_kc has quit [Ping timeout: 252 seconds]
diego_r has quit [Ping timeout: 240 seconds]
AneoX has quit [Ping timeout: 265 seconds]
yann|work has quit [Ping timeout: 252 seconds]
AneoX has joined #linux-sunxi
pcbBob has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
ldevulder_ is now known as ldevulder
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
tnovotny has quit [Quit: Leaving]
NeuroScr has quit [Quit: NeuroScr]
* willmore comes to catch up on linux-sunxi. Sees KotCzarny's comment about using CIR for debugging. Turns back around to head out....
<KotCzarny> willmore, you never used morse code for debug?
<KotCzarny> you must be young
<megi> I guess I'm young too
<megi> good :)
<pmpp> damn i feel old
<pmpp> sound's pitch too on mac btw not only morse
<KotCzarny> phoenix codes are like a computer game
<KotCzarny> for kids
<KotCzarny> 'was it 3-2-1-2 or 3-2-1-3, gotta reboot and recheck'
<KotCzarny> later wave of cameras in phones eased it a bit, but still
<willmore> KotCzarny, I plead the 5th
* willmore used to dubug with an AM radio.
<montjoie> rules for young/old, you are always the young of someone, my grandfather was saying "noob you use transistor based electronics"
<willmore> Valves, LOL.
<KotCzarny> Stones, kiddo.
<KotCzarny> Stones are solid tech.
megi has quit [Ping timeout: 250 seconds]
Naka is now known as Nakaori
matthias_bgg has joined #linux-sunxi
sunshavi has joined #linux-sunxi
yann|work has joined #linux-sunxi
nashpa has quit [Ping timeout: 276 seconds]
nashpa has joined #linux-sunxi
rra has joined #linux-sunxi
hallllllo has joined #linux-sunxi
hallllllo has quit [Remote host closed the connection]
<pcbBob> Is there a list of all SoCs / CPUs Allwinner has released (even if they are just rebrands)?
matthias_bgg has quit [Quit: Leaving]
sunbeamz has joined #linux-sunxi
<sunbeamz> hi all, I've noticed a significant increase in energy use on my olimex a20 after upgrading to the 4.19.62-sunxi kernel last month. It is running armbian. Any idea what that could be?
<sunbeamz> additional question: I'm using the board only as a server to host a website, are there any kernel modules (usb hubs? video drivers?) I could disable to save energy without losing core server functions?
montjoie has quit [Quit: Lost terminal]
<KotCzarny> isnt there a thread on armbian forum or linux-sunxi wiki about that?
gaston1980 has quit [Quit: Konversation terminated!]
<sunbeamz> Are you refering to this one KotCzarny: https://linux-sunxi.org/Optimizing_system_performance?
lurchi__ is now known as lurchi_
<KotCzarny> nah
rra has left #linux-sunxi [#linux-sunxi]
<KotCzarny> but there was a thread that went into more detail
<KotCzarny> see in the 'see also' on that page
rra has joined #linux-sunxi
<KotCzarny> but again, i cant find the exact thread im referring to
<KotCzarny> https://www.google.com/search?q=allwinner+minimize+power+site:forum.armbian.com&num=50&lr&hl=en
<KotCzarny> try that
<sunbeamz> thanks KotCzarny!
<sunbeamz> Do you happen to know anything regarding the kernel upgrade?
<KotCzarny> nope, im compiling my own kernels 5.3.x etc
TEKrantz has quit [Read error: Connection reset by peer]
<KotCzarny> with few patches i need that i throw in
The_Loko has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
montjoie has joined #linux-sunxi
<sunbeamz> ok
<sunbeamz> cpu governor seems like an interesting feature for my use case
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
vagrantc has joined #linux-sunxi
sunshavi has quit [Ping timeout: 245 seconds]
florian_kc has joined #linux-sunxi
AneoX has joined #linux-sunxi
mue_ has joined #linux-sunxi
rex_victor has quit [Ping timeout: 265 seconds]
rra has left #linux-sunxi [#linux-sunxi]
sunbeamz has quit [Ping timeout: 246 seconds]
rex_victor has joined #linux-sunxi
rex_victor has quit [Client Quit]
NeuroScr has joined #linux-sunxi
rex_victor has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
popolon has joined #linux-sunxi
rzerres has quit [Ping timeout: 250 seconds]
diego71 has quit [Ping timeout: 240 seconds]
rzerres has joined #linux-sunxi
jstein has joined #linux-sunxi
megi has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
diego71 has joined #linux-sunxi
liushuyu has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 250 seconds]
The_Loko has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
pcbBob has quit [Remote host closed the connection]
TEKrantz has quit [Ping timeout: 250 seconds]
TEKrantz has joined #linux-sunxi
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 250 seconds]
gatuno_123 has left #linux-sunxi [#linux-sunxi]
sunshavi has joined #linux-sunxi
wasutton3_ has quit [Max SendQ exceeded]
wasutton3 has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
florian_kc has quit [Ping timeout: 250 seconds]
BenG83 has quit [Quit: Leaving]
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
jstefanop has quit [Ping timeout: 252 seconds]