hno changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
fldc has quit [Read error: Connection reset by peer]
fldix has joined #linux-sunxi
fldix is now known as fldc
<[hawk]> Hi
<[hawk]> I would like to just build the kernel... I'm not familiar with the android buildsystem...
<[hawk]> how do I avoid rebuilding everything all over again?
derethor has joined #linux-sunxi
[hawk] is now known as vincenzo
tinti_ has quit [Remote host closed the connection]
<Turl> vincenzo: you can 'make bootimg' to just build kernel and ramdisk
<vincenzo> Turl: I mean in the android (CM) buildsystem
<Turl> vincenzo: yeah
<vincenzo> Turl: btw... I'm fighting with a goodix_touch_3f
<Turl> vincenzo: I have one of those too, never got it working with any of the source modules, that's mainly why I still use 3.0 too :p
<vincenzo> I'm trying to modify the script and module... but I'm not sure I have the right sources
<Turl> if you get it working let me know
<vincenzo> Turl: look mine is http://pastebin.com/PvKJeayf
<vincenzo> the binarygoodix_touch_3f module depends on a tf5x_ts02 module
<vincenzo> Which look quite right to me
<vincenzo> there is just one problem with script parsing (it checks for ctp_name and not ctp6_name)...
<vincenzo> Turl: I'm pushing the zip... let's see!
tinti_ has joined #linux-sunxi
<vincenzo> suspence!
<theOzzieRat> i'm using sunxi-bsp, how can I change it to use a different branch on linux-sunxi (such as stage/sunxi-3.4)?
<vincenzo> cd linux-sunxi; git checkout -b mybranchName origin/theBranchIWantToFollow
drachensun has quit [Quit: Leaving]
<theOzzieRat> vincenzo, thanks. I thought I tried that. Seems to be working now though.
BJfreeman has quit [Quit: had a good time]
rz2k has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
BJfreeman has quit [Ping timeout: 252 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
BJfreeman has quit [Quit: had a good time]
tinti_ has quit [Ping timeout: 264 seconds]
soul has quit [Quit: No Ping reply in 180 seconds.]
soul has joined #linux-sunxi
rz2k has quit []
fluo75_ has quit [K-Lined]
n01|away is now known as n01
Quarx has joined #linux-sunxi
<oliv3r> mripard: what dooes greg mean?
gzamboni has quit [Ping timeout: 276 seconds]
gzamboni has joined #linux-sunxi
rellla has joined #linux-sunxi
<hno> oliv3r, which part?
eebrah|away is now known as eebrah
<oliv3r> hno: the part about userspace race, using the proper things etc
<oliv3r> i thought the proper ones are read/store, which are textual interfaces, while we wanted a binary one
<oliv3r> hno: was gonna mail you, butt since your here :) Lots of files are broken. All sunxi header files miss linux/types.h (they use u32, u8 etc)
<oliv3r> if you include common.h first (which has linux/types.h) and then do the sunxi headers, no problem
<oliv3r> header-order should not matter I was told; but in u-boot it very much does
gzamboni has quit [Ping timeout: 256 seconds]
gzamboni has joined #linux-sunxi
fluo75 has joined #linux-sunxi
<oliv3r> anybody know how mnemoc is doing?
_BJFreeman has joined #linux-sunxi
<stekern> oliv3r: IIRC, u-boot "rules" states that asm/ includes should come after non-asm/ includes, so if you follow that you should be ok
_BJFreeman is now known as BJfreeman
\\Mr_C\\ has quit []
<oliv3r> stekern: if the headers are written properly, include order shouldn't matter
<oliv3r> stekern: so if it DOES matter, then it's a bug
piyushverma has quit [Quit: Konversation terminated!]
piyushverma has joined #linux-sunxi
hansg has joined #linux-sunxi
<hno> mnemoc is recovering. But still not allowed to use the laptop.
<hno> oliv3r, I agree, but not sure it's wise to use a different header order than the rest of u-boot.
ssvb has joined #linux-sunxi
<oliv3r> hno: oh wow, that's really bad then
<oliv3r> hno: so keep the order, only fix the broken ones so it works, 'even if we do it properly'?
Quarx|2 has joined #linux-sunxi
Quarx has quit [Read error: Connection reset by peer]
Quarx|2 has quit [Client Quit]
<hno> oliv3r, u-boot order seem to be 1. common.h. 2. normal headers. 3. asm header. Alphabetic sorting within those groups makes sense I think.
BJfreeman has quit [Ping timeout: 252 seconds]
<ssvb> got notification paper mail from the customs about some package from HONG KONG, could it by chance be a cubieboard2 from Tom?
<rm> paper mail from the customs <- doesn't sound good
<oliv3r> ssvb: very likly, yesterday people started to receive it allready
<oliv3r> so i'm hopeing mine will be waiting for me tonight :)
<oliv3r> hno: ok i'll redo the patch; I fix it in that order, alphabetising every section, with common always on top
<oliv3r> hno: but common.h is on top, because it has a bunch of includes 'for the lazy' imo bad programming
<oliv3r> or lazy at the least
<oliv3r> hno: https://github.com/hno/allwinner-boot/blob/lichee-a20-dev/boot1/include/interinc/brom.h that 'header' is not visible in your ffff0000.s dumps, is that intentional? or does BROM in the chip itself not have said header?
<oliv3r> hno: i think 4. is asm/arch headers
<hno> oliv3r, BROM header is at ffff4000 IIRC.
<oliv3r> but 4 asm/arch at the bottom yeah?
<oliv3r> yes, you are right, 4000 is brom header
tzafrir has quit [Ping timeout: 248 seconds]
<hno> 1. common.h. 2. "normal" headers. 3. asm/ headers. 4. asm/arch/ headers.
notmart has joined #linux-sunxi
<oliv3r> rgr
notmart has quit [Remote host closed the connection]
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
bsdfox_ has joined #linux-sunxi
bsdfox_ has quit [Changing host]
bsdfox_ has joined #linux-sunxi
bsdfox has quit [Ping timeout: 256 seconds]
<oliv3r> hno: spam
hno has quit [Excess Flood]
hno has joined #linux-sunxi
<oliv3r> excess flood heh :)
rz2k has joined #linux-sunxi
rz2k has quit []
<soul> Good morning
<oliv3r> lo
<soul> Reading this http://linux-sunxi.org/Hyundai_A7HD (I have the A7 without the HD) I see that he did soldering. Without that it's impossible to do it? Is necessary for booting a new system?
<oliv3r> depends :)
<oliv3r> i think the soldering is for the UART connection
<oliv3r> if you have and make it work, you can use a SD -> Uart connection
<soul> I don't know what UART is but If I don't have a boot menu (or I don't know how to show it)...
<oliv3r> uart = rs232, e.g. 'serial port'
<oliv3r> /dev/ttyS0 (com1)
<oliv3r> you connect your device via serial connection to your PC
<oliv3r> (or via a rs232 -> usb /dev/ttyUSB0) connector
<oliv3r> once you have a uart connection, you can see the console, and thus interact with u-boot
hramrach_ has quit [Ping timeout: 240 seconds]
<soul> Oh, so it's impossible to do it without that
<soul> Hmm... I don't know more people with my tablet, this is going to be looooooong
<soul> xD
hramrach_ has joined #linux-sunxi
<rm> you could have just taken some image, afaik there are some for Pengpod or what was its name
<rm> and tried maybe it just works on your tablet too
<oliv3r> soul: you don't need it per say, but it will be hard without
<oliv3r> soul: have you tried creating a bootable SD card etc?
tzafrir has joined #linux-sunxi
<soul> oliv3r: No, I'm searching what I have to do after taking the a10-memdump.txt and the script.bin
<oliv3r> soul: ohhhhh
<oliv3r> can you open terminal?
<oliv3r> if so, cat a10-memdump.txt /sdcard/ (if that's where your sdcard is located)
<oliv3r> cat script.bin /sdcard/
<soul> yes yes
<oliv3r> then eject the sdcard :)
<soul> I have those files on my computer
<oliv3r> and put it in your PC :p
<oliv3r> ohh
<soul> But I'm searching what I have to do then
<soul> hehe
<oliv3r> use bin2fex to decompile your script.bin to script.fex
<oliv3r> then send it to the ML
<soul> Oh, hang on please oliv3r! :D
<soul> I have to search if bin2fex is available in gnu/linux xD
<soul> oliv3r: Do you know where can I find bin2fex?
<derethor> sunxi-tools
<derethor> both fex2bin and bin2fex
<soul> great
<soul> derethor: From here, right? https://github.com/linux-sunxi/sunxi-tools
<derethor> yep
<derethor> clone it, and run make
<lkcl> derethor: no i don't work for allwinner. baseband is *very* hard to do right: high-frequency analog on the same die as digital is very very tricky.
<derethor> i am totally unable to boot my a13 with vga support... may I ask you guys for help?
<derethor> I dont have an uart console either
<derethor> the only response I have is the green led of the a13 olinuxino micro
<derethor> i tried almost everything... I think the kernel, 3.0, it has the framebuffer enabled
<derethor> the script.bin, i guess it is correct
<derethor> and i wrote all uboot parameters I found
<derethor> nothing seems to work
<derethor> any idea?
<soul> rm: Thank you:)
<soul> When I run make I get: http://paste.debian.net/plain/11074
<soul> libusb-1.0 is a library? or libusb.h :S
vicenteH has joined #linux-sunxi
<derethor> soul: sudo apt-get install libusb-1.0-0-dev
<soul> derethor: Thanks!
<soul> Ok, now I have to do
<soul> ./bin2fex script.bin > script.fex ?
<soul> because if I do ./bin2fex script.bin I can see some information on the console, but I think I need a file
<oliv3r> lkcl: lol; yeah but it is still guessed that the ar100 will communicate with some external baseband :)
<derethor> yep
<oliv3r> lkcl: and hi :)
<derethor> you edit it
<derethor> and then recompile it back
<oliv3r> soul: bin2fex might output to stdout instead of a file, ./bin2fex --help :)
<soul> Thanks guys !
<oliv3r> but > script.fex should be okay
<oliv3r> so now you have something to mail to the ML :p
<oliv3r> to take it a notch up:
<oliv3r> compare your .fex, to the other fex'es found in: https://github.com/linux-sunxi/sunxi-boards/tree/master/sys_config
<oliv3r> if you use common sense (fex files can be very wrong by default)
<oliv3r> you should be able to find one that is extremly similar :)
<oliv3r> secondly, take your a10-meminfo data and fill in the dram_para section in your script.fex
<soul> You go very fast! haha Let me try to understand it all
<derethor> fbmem=32M@0x5a000000 is okey for the fb?
<oliv3r> derethor: no clue; ssvb ^
<oliv3r> hno: ping
<ssvb> derethor: hansg ^
<ssvb> derethor: more like sunxi_fb_mem_reserve=32 with the new kernels
<derethor> i will try the 3.4 branch then
<hansg> derethor, what ssvb said
<ssvb> derethor: about the failure to initialize framebuffer, unless you have CONFIG_FB_SUNXI_RESERVED_MEM=y in your kernel config, you do not want to allocate large framebuffers
<oliv3r> hno: a few things; in dramc it was added that we reset the GPS for sun7i? that really can't be right, can it? also why would SUN4I do it?
<ssvb> derethor: kmalloc can easily fail for large buffers and bring down the system
hansg has quit [Quit: Leaving]
<soul> Sorry for what I'm going to say and for what I said, but I'm not into this so that's why I don't know a lot of things.
<soul> [13:24:02] <oliv3r> so now you have something to mail to the ML :p ← What I have to do exactly?
<oliv3r> soul well for starters, you can mail the .fex (with dram-para filled in from meminfo) and your meminfo dump. If only to have it archived publically :)
hark has joined #linux-sunxi
<soul> oliv3r: In the script.fex there's a section called [dram_para] that has a little more information than a10-memdump.txt
<soul> n01: I have to send an email to linux-sunxi+subscribe@googlegroups.com right?
<soul> for suscribing
<oliv3r> soul: yeah, first you have to
<oliv3r> dram_para should have missing fields, or fields set to 0
<soul> It's the first time I use a mailing list
<soul> oliv3r: like 0x0?
<oliv3r> the 'size' you have to fill in yourself :)
<soul> or only 0?
<oliv3r> 0x0 is nicer
<oliv3r> meminfo is always right
calhemp_ has joined #linux-sunxi
calhemp_ has quit [Client Quit]
calhemp_ has joined #linux-sunxi
<soul> oliv3r: Look please: http://paste.debian.net/plain/11079
<soul> .fex has the same and more things
<hno> soul, just send both if unsure.
<calhemp_> soul are you catalan?
<soul> calhemp_: omg, how do you know it?
<soul> haha
<soul> hno: Ok :)
<calhemp_> hehe from your old paste.debian ;)
<soul> calhemp_: Oooh, did you read "El fitxer o..."? xD
* n01 wonder why so many europeans here and so few americans
<calhemp_> jeje i'm trying to do the same with a momo tablet with a10, and i'm reading the files for send to ml when have time
<calhemp_> i'm from a city near barcelona
<soul> Niiiice, I'm from Tarragona calhemp_ :D
<oliv3r> calhemp_: what momo tablet
<oliv3r> soul: looks good to me
<calhemp_> hi oliv3r differents a10 devices i think, I've a momo 11 bird, mele a1000, mk802s 1gb, and athis box ( i uknow the real name of this model , http://www.aliexpress.com/store/product/Network-Google-Android-2-2-Media-Player-HDMI-Google-TV-BOX-Support-Buletooth/910292_590566635.html?promotionId=200245390)
<soul> oliv3r: So I don't have to do anything in that case? I mean, It's done.
<oliv3r> it's done :)
<soul> Great, now I'm trying to subscribe
<oliv3r> calhemp_: well mele a100, mk802s should be well supported :)
<soul> me*
<hark> hi, is it possible to use the trustzone with cryptodev on the A20?
<calhemp_> Oliv3r, ohh thanks, i read months ago that putting the fex files from others a10 devices, can help, i'm not linux expert but if this can help, i'll put my two cents
<calhemp_> i like to see every week, effort of this channel to make a10 work with linux more friendly
<oliv3r> calhemp_: fex file is just a configuration file. e.g. enable/disable a driver, configure a driver. it doesn't configure your chip in any way
<oliv3r> hno: i'm trying to work away more magic values (in dram.c) but now i'm having a little blackout :)
<oliv3r> hno: I have #define CPU_CFG_CHIP_VER (0x3 << 6)
<oliv3r> #define CPU_CFG_CHIP_VER (0x3 << 6)
<oliv3r> crap stupid mouse :S
<oliv3r> anyway, that define should be fine for reading that specifc register
<oliv3r> (with a reg_val & CHIP_VER)
<oliv3r> writing to single bit registers is easy too, (0x1 << bitnr); negating it with &= ~() of course.
<oliv3r> but is there a 'pretty' way to write a register this way? reg = CHIP_VER | value; won't work obviously; so add new defines for each value of CHIP_VER?
<oliv3r> so #define CHIP_VER_REVA (0x1 << 6); #define CHIP_VER_REVB (0x2 << 6); #define CHIP_VER_REVC (0x3 << 6)
<soul> You have joined the group linux-sunxi@googlegroups.com.
<soul> Now I have to send an email attaching the two files to linux-sunxi@googlegroups.com?
<oliv3r> soul: yep
calhemp_ has quit [Quit: calhemp_]
<soul> oliv3r: ok! done! :D
<soul> I'm going to eat, I'll come back for kill your patience!
<oliv3r> hno: ohh of course, #define WDT_MODE_TIMEOUT(n) ((n) << 3) i remember seeind in the wdt
<oliv3r> stupid blackout! stupid alergies and immense heat :S
<oliv3r> i really should get eye-drops for this :S
eebrah is now known as eebrah|away
stekern has quit [Ping timeout: 276 seconds]
stekern has joined #linux-sunxi
<oliv3r> hno: how many bus widths do you think there are in the dram controller? the DCR config reguster says bus-width is 3 bits wide, which allows for a lot of densities. I assume that the number of DLLCR[x] register is related? x=3 for 8 bit with, x=5 for 16 bit width?
vicenteH has quit [Read error: Operation timed out]
<hno> The numer of DLLCR is related. width/8+1.
<hno> supported widths are 8,16,32 from what I remember.
<hno> DLLCR0 is special.
<hno> oliv3r, there is u-boot macros for dealing with clearing/setting registerbits.
piyushverma has quit [Quit: Konversation terminated!]
<soul> I can install the distro with a 1GB microSD?
<soul> Can I*
<soul> Maybe is too little
<oliv3r> hno: yes, but those get passed magic values now :)
<oliv3r> hno: i was messing about with macro's for those magic values
piyushverma has joined #linux-sunxi
rz2k has joined #linux-sunxi
rz2k has quit []
<hark> hi, does anybody know about if it is possible to use the crypto acceleration of A10 / A20 / A31 on linux, or if somebody is working on it?
\\Mr_C\\ has joined #linux-sunxi
piyushverma has quit [Read error: Connection reset by peer]
piyushverma has joined #linux-sunxi
<piyushverma> let us know ur test result
drachensun has joined #linux-sunxi
<hark> piyushverma: read that one already, will try when i get some device
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<Turl> hark: there's no driver written for it yet
<Turl> hark: I have some PoC code that I wrote to learn how it works, I hope to write a proper driver when I get a chance http://goo.gl/DVl4R
<rm> ...is there anything that the Allwinner chips *don't* have? :)
<n01> coffee machine \0/
<rm> looks like with a proper driver they could probably make sandwiches and do laundry
<Turl> rm: heh, yeah, they have all the things :)
<Turl> rm: they even have a tv analog decoder lol
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
<hark> Turl: nice
<vincenzo> Hello. I'm still looking at the goodix (BADix IMHO) 801 ts driver issue...
<vincenzo> I have a couple of ideas that I would to share before I start... any advice is welcome.
<vincenzo> Idea 1) use objdump to disasseble the probe function (for the working driver) and try to see if it does the same as the source driver
<vincenzo> Idea 2) modify the i2c-core functions in order to printk all the i2c traffic to&from the binary/working driver
<vincenzo> I admit I have little experience in reverse engineering and i2c comunication... so I dare to ask for yor advice before wasting time in unproductive ways
<vincenzo> Turl, hno: anyone has tried it before
rm has quit [Quit: ZNC - http://znc.sourceforge.net]
rm has joined #linux-sunxi
<Turl> vincenzo: I poked at the existing driver a bit but I got nothing
<Turl> admittedly, I didn't try too hard though
<Turl> vincenzo: both ideas sound sensible, objdump might be a bit more challenging if you've got no experience with asm
stekern has quit [Ping timeout: 260 seconds]
stekern has joined #linux-sunxi
wingrime has joined #linux-sunxi
tzafrir has quit [Ping timeout: 264 seconds]
n01 is now known as n01|away
soul has quit [Read error: Connection reset by peer]
\\Mr_C\\ has quit []
Soru has joined #linux-sunxi
n01 has joined #linux-sunxi
nove has joined #linux-sunxi
n01 has quit [Quit: leaving]
n01 has joined #linux-sunxi
n01 has quit [Client Quit]
n01 has joined #linux-sunxi
tzafrir has joined #linux-sunxi
mturquette has quit [Quit: leaving]
<ssvb> "Raspberry Pi Enhanced Version"
<rm> well yeah
<rm> that's the only lolable part
<rm> otherwise a solid offer
<rm> I guess the reason why that phrase is there, is so that the listing appears in search results for "Raspberry Pi"
Soru has quit [Ping timeout: 264 seconds]
<oliv3r> well its much better then the pi
<hno> Cubieboard A20 arrived today.
<techn_> mine is stuck in customs.. again :(
soul has joined #linux-sunxi
<wingrime> hno: cool
<wingrime> hno: tom not send me any emails about shipment-trace
<wingrime> hno: so only wait...
<hno> And arrived in a box for a change. The A10 board was shipped before there was boxes. And also included serial cable, sata cable and uSD breakout.
<hno> wingrime, I did not get a tracking number either.
<wingrime> huo: promicing
ganbold has quit [*.net *.split]
Dreadlish has quit [*.net *.split]
n01|away has quit [*.net *.split]
<wingrime> huo: russian mail some times very slow
n01|away has joined #linux-sunxi
<oliv3r> nothing yet
ganbold has joined #linux-sunxi
<hno> wingrime, are you using a mirror?
<oliv3r> was hoping it would arrive today; maybe tomorrow
<wingrime> huo: ??
<hno> why the u?
<oliv3r> hNo, not hUo
<wingrime> hno: sorry
<ssvb> hno: was it labeled as a gift? any indication of a price?
<oliv3r> the PCB is the 09 09 version?
<hno> gift. no customs fee.
Dreadlish has joined #linux-sunxi
<hno> yes, 2012 09 09 version.
<wingrime> hno: NXP send to my mail some adv with samples
<wingrime> hno: but thay not send to russia now
<techn_> hno: did it have any price on package?
<wingrime> hno: but it first time thay have some intersing stuff
<wingrime> hno: High speed switches to 10G
<oliv3r> wingrime: where in russia do you live?
<techn_> hno: and how about.. who was sender? company or private person?
<wingrime> hno: hno: it can be used as quadrature demodulator to SDR
<wingrime> oliver: yekaterinburg
<Turl> hno: my A10 one was in a box
<oliv3r> my a10 was in a foam box
<wingrime> it realy crap, with this ICs realy simple make Software radio using sound card
<oliv3r> wingrime: oh wow, that's very close to shenzen!
<wingrime> oliv3r: omg
<oliv3r> ?
<hno> My cubieboard A10 was in an envelope with some pieces of foam taped around it.
<wingrime> oliv3r: russian mail have strange logistics
<oliv3r> hno: same
<oliv3r> 'foam box'
<wingrime> oliv3r: bypass moscow
<oliv3r> yekaterinburg is far far east though isn't it
<hno> the Cubie A20 package was quite anonymous. Some private person as sender. Can't find the wrapping now so not sure what price was stated.
<wingrime> oliv3r: asia border here
<techn_> hno: great.. since finnish customs needs send to be private and value must be under 45e
<techn_> sender
notmart has quit [Quit: notmart terminated!]
<oliv3r> wingrime: yeah sounds cool :D
<oliv3r> 45 is lucky, officially it's 25E here
<techn_> oliv3r: for gifts?
<Turl> 25US$ here :P
<Turl> and they don't buy the gift marking ;)
<techn_> here it's 45e for gifts and non gifts 22e :(
<lkcl> oliv3r: allo :)
<lkcl> and what the heck is an ar100?
wingrime has quit [Read error: Operation timed out]
<hno> lkcl, a small OpenRISC core embedded in the A31.
<lkcl> hno: ooooOo. woooow. that's absolutely awesome.
<hno> lkcl, it's used in deep powersave mode where the ARM cores are completely shut off.
<lkcl> ack.
<hno> techn_, found the wrapping envelope. It's sent from what looks like a company PO Box, Gift box ticked, ad content description "PCB", 0.2KG, USD30.
<techn_> it's 22.3e :/
<oliv3r> hno: http://rhombus-tech.net/allwinner_a10/A10_register_guide/A10_DRAMC 0x23C POWER power control; should probably be named more like: /* 0x23c pad power save control */
<oliv3r> Turl: USD in argentina?
<oliv3r> techn_: oh that might be true
<oliv3r> same as cubie 1 then
<oliv3r> techn_: they shouldn't nit-pick
<techn_> I'll hope so :p
wingrime has joined #linux-sunxi
eebrah|away is now known as eebrah
<Turl> oliv3r: well they're intl packages, which had a value on a remote country, it's saner to value them in USD :P
<Turl> oliv3r: besides that value was probably set in the day where 1 ARS = 1 USD :P
<oliv3r> lol
<oliv3r> when ws that
paulk-desktop has joined #linux-sunxi
<oliv3r> hno: what was the deal again with io-with? 8 for single chip, 16 for dual chip boards? so what with quad chips boards?
<hno> oliv3r, other way around.
n01 has quit [Remote host closed the connection]
<oliv3r> to keep access 16 bits at all times
<oliv3r> either spread over 2 chips, or all over 1 chip
<oliv3r> dual channel; got it
<oliv3r> quad chips daisy chains stuff?
<Turl> oliv3r: in the 90s
<Turl> before the country crashed :)
<oliv3r> Turl: :(
<oliv3r> Turl: argentina
<oliv3r> do'h
<oliv3r> maxima!
<Turl> oliv3r: :P
<oliv3r> our queen!
<Turl> you're governed by an argentinian, yeah ;)
<oliv3r> well, she's our kings ... 'bride'
<Turl> also known as queen :p
<hno> oliv3r, no. The A10/A20 have 32-bit memory data bus. The I/O width is the smallest part that can be individually addressed. I..e if you have a quad chip design then the data bus is divided in 4 * 8bit. A dual chip configuration then 2 * 16 bit.
n01 has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
<oliv3r> ah ok
<oliv3r> i'll have to let it settle in; i'm really dislectic with numbers
eebrah is now known as eebrah|away
eebrah has joined #linux-sunxi
eebrah is now known as Guest13732
Guest13732 has quit [Client Quit]
<Turl> oliv3r: I see you got some more comments from andy :P
<n01> uhm any idea on how to test rtc alarm?
<techn_> n01: shutdown device and wait until alarm?
<n01> uhm I have no backup battery
<oliv3r> Turl: andy, yeah, it made me go 'seriously dude'
<oliv3r> Turl: while I know those bracers are extra, I think it helps on readability without hurting by bracers overload
<Turl> oliv3r: it's arguable :p the dev_ comment is a good catch though
<Turl> n01: suspend device and wait? :P
<Turl> I think you cannot suspend on mainline yet though
<Turl> n01: I suppose it triggers an interrupt on the alarm right? you could chech the count on /proc/interrupts before and after
<n01> good idea
<oliv3r> Turl: yes, DRV_NAME was good; allready removed it :) but the sysfs thing gregh mentioned, no clue what to do with that, but mripard been afk all day!
<oliv3r> or do a little print when the interrupt triggers :)
<Turl> oliv3r: yeah, I've seen talk about that race a couple of times, let me see if I can find any example on the mail
<derethor> turl: you are from argentina?
<Turl> derethor: yep
<derethor> i am from spain, we are living the same crash here
stekern has quit [Ping timeout: 264 seconds]
stekern has joined #linux-sunxi
<oliv3r> Turl: will read it later/tomorrow
<oliv3r> preppin' a patch for hno :)
paulk-desktop has quit [Quit: Ex-Chat]
<oliv3r> hno: now my branch is broken :S
<oliv3r> i push to github; but nothing happens and it says 'all up to day'
<oliv3r> all up to date*
\\Mr_C\\ has quit [Ping timeout: 276 seconds]
nove has quit [Quit: nove]
<oliv3r> hno: if you sometime have 20 minutes or so, i'd like to talk to you about dram.c cleanup (not entirly related to the patch I just sent you)
<oliv3r> hno: also, sorry for making it seem there's 6 patches in that mail; haven't figured out yet how to single select a commit for e-mail yet, it does everything FROM there, so i simply didn't send the rest :)
<hno> oliv3r, regarding git.. is it a new branch? Then you need to name it when pushing.
<oliv3r> i tried to --force push it into wip/a20 (on mine)
<oliv3r> it just said 'success' but didn't do anything
<oliv3r> i did try to push (current) wip/cleanup -> wip/a20 however
<hno> how?
<oliv3r> probably wrong
<hno> the syntax for pushing into another branch is quite explicit.
<oliv3r> git push --set-upstream oliver wip/a20
<oliv3r> --force
<hno> that's a force push of wip/a20.
<oliv3r> i tried to cherry pick my commit to my a20 branch, but that failed due to missing stuff (i've resend that)
<hno> doesn't matter which branch you have checked out currently.
<oliv3r> ahh
<oliv3r> ok
<oliv3r> i'll look it up and try again
<oliv3r> if you could take a glance at the v2 patch i sent last, i think that's missing in your repo
<hno> ok.
<oliv3r> (i could be wrong)
<Turl> to push to a diff name you can push remote mylocalbranch:myremotebranch
<oliv3r> Turl: testing
<hno> To push into another branch you do local_branchname:remote_branchname
<hno> or use suitable patterns for the same in .git/config
<oliv3r> where do i tell the remote repo, push remote olivergithub mylocal:myremote?
<oliv3r> kk
<hno> yes
<hno> or one word less... git push remote_name local_branch:remote_branch
<oliv3r> git push remote oliver wip/cleanup:wip/a20 --force
<oliv3r> fatal: Could not read from remote repository.
<oliv3r> fatal: 'remote' does not appear to be a git repository
<hno> but you really should fix it locally and then push.
<oliv3r> ah without 'remote'
<oliv3r> duh
<Turl> oliv3r: remote is your remote name
<Turl> :P
<oliv3r> yay
<oliv3r> my heroes
<mripard> oliv3r: I don't know what greg meant, and I won't have time to look it up this week presumably, sorry
<mripard> you should better ask him
<oliv3r> mripard: i'll read turls link tomorrow and try to understand and fix it
<oliv3r> mripard: today is u-boot day :)
<oliv3r> mripard: sorry to be a bother anyway :(
<oliv3r> hno/turl yes, i did some patches on that branch by accidents
<oliv3r> the secret is out :)
<mripard> oliv3r: that's fine, you're not a bother :)
<mripard> I'm just giving a training all day long this week and just got home right now.
<oliv3r> mripard: ouch
<oliv3r> mripard: i read part of the slides (haven't had time for it all yet, it's a lot)
<oliv3r> mripard: but it's defo a training I would love to follow
<Turl> oliv3r: which slides? :)
<mripard> oliv3r: I'm mostly doing the Android trainings actually :)
<mripard> I never gave the kernel one
<oliv3r> mripard: still, it sounds fun and interesting
<hno> oliv3r, the DLLCR bits is not right. You got it the oppisite way. bus_width field value 3 is 32 bits. If it's not 3 then the code assumes 16 bit bus width. And the dllcr number is the number of DLLs to have active.
<mripard> oliv3r: it's quite outdated though
<mripard> I think it doesn't even mention the device tree
<mripard> let alone pinctrl, CCF, etc.
<Turl> mripard: I just saw a dt mention
<Turl> slide 431
<Turl> 430 rather
<mripard> yeah, my point
<mripard> *a* dt mention :)
<oliv3r> 430 slides, ouch
<oliv3r> mripard: tell your collegue to update it
<oliv3r> :D
<mripard> it's currently being done :):
<mripard> we will also switch to a new board, new labs, and so on.
<mripard> so it takes quite some time
<Turl> sunxi boards? :P
<mripard> beaglebone black
<mripard> I tried to talk them into using an olinuxino or something, but apparently "the mainline support is not there yet"
<mripard> I don't really know what they mean ;)
<Turl> BBB's mainline support isn't there either :)
<Turl> actually I applied for GSoC on mainlining BBB support but they didn't take me :p
<mripard> yeah, but at least it has a working DT kernel
<mripard> oh ?
<mripard> too bad.
<Turl> yeah, but not so bad either
<mripard> that means you will have more time to work on sunxi \o/
<oliv3r> mripard: they must have read phoronix :p
<Turl> mripard: :)
<Turl> mripard: that reminds me that I still haven't sent my clock patches
<Turl> tomorrow morning I hope
<mripard> oliv3r: ?!
<mripard> so that thread even reached phoronix
<mripard> wow.
<soul> libv: It was you who said me to create a wiki page?
<oliv3r> mripard: well i wouldn't say 'wow'
<oliv3r> soul: did you manage to get your board working etc?
<oliv3r> mripard: but yeah, it was quite funny to see that, and also frustrating
<oliv3r> I understand what michael tries to do, run a site and make a living n stuff
<oliv3r> but journalistic skills are pretty bad
<hno> oliv3r, jour dram changes looks quite botched to me. https://github.com/oliv3r/u-boot-sunxi/commit/36d5f56a3c73e453221a09acb2f2bf9eae063446#L0L381 for one. Can't be <= 0x2 in both versions.
<hno> tnere is a >>=3 in the original.
<soul> oliv3r: No, after sending the files to the mailing list, I did nothing (I have to know what I have to do now)
<hno> plus what I said about DLLCR above.
<mripard> oliv3r: ssvb was on fire in the comments :)
<oliv3r> hno: oh yeah it needs some overlooking; but generally speaking should be 'ok'
<oliv3r> mripard: lol aye
<oliv3r> hno: the DLLCR thing i did hours before :p
<mripard> Turl: could you send your Acked-by if you find some time on the A10s-olinuxino?
<Turl> mripard: I thought a tested-by sufficed? :P but sure
wingrime has quit [Ping timeout: 264 seconds]
<mripard> Turl: well, you reviewed it and had some comments :)
<mripard> Tested means it works, not that it's clean :)
<oliv3r> hno @l383; oh shit good spot; yes you are correct, i'll double check all those statements, I forgot to go back to that one specifically, as I later started to define the values to and 'fixed' most of those possible errors
<Turl> mripard: ok, I'll send it in a minute then
<Turl> mripard: I don't usually test stuff if it looks uber ugly :P
BJfreeman has quit [Ping timeout: 252 seconds]
<hno> reg_val |= ((para->bus_width >> 3) - 1) << 6;
<Turl> mripard: hm, did you send the v2?
<hno> if you want to count backwards what the reg values means.
<mripard> Turl: yep, yesterday
<mripard> you even told me it was ok on IRC.
<Turl> mripard: yeah but I don't see it now on my inbox :p that's why the question
<Turl> ah, you broke the threading :) that's why :p
vincenzo has quit [Quit: Konversation terminated!]
<mripard> I didn't break the threading, there wasn't even a thread anymore :)
<hno> oliv3r, from what I can tell the A20 v2 patch is applied.
<libv> soul: yes, create a wiki page
<Turl> mripard: there you have it :)
<mripard> Turl: yep, got it, thanks
<soul> libv: But for what we need a wiki page If I can't install a distro on my tablet?
<oliv3r> soul: distro on sd :)
<soul> oliv3r: there is not an image for my tablet so... :/
<hno> oliv3r, it's squashed already.
<hno> yes I know squashing is bad, but you know what I am doing in this branch.
<oliv3r> hno ohh i was looking at code now and it was good
<oliv3r> hno i'll prob habe yo drop and reffech the branch
<libv> soul: sure, don't make a wiki page
<oliv3r> ill fix bits etc tomorrow, but overal it should be reasonable
<libv> soul: and then one day you will be lost all over again, and others too
<soul> No no please
<hno> fetching is by default forced. But any local branch you have based on it is likely confused as always in rebases etc..
<soul> libv: I mean that It's going to be empty because I have 0 knowledge
<soul> libv: I don't have to do right now
<soul> It's going to be empty
<libv> soul: then you will never do it.
<soul> I don't know what I have to do right now*
<soul> I want to say that,
<hno> soul, I think you will notice you know more than you think if you start writing the page. Just dump what you have in there, don't think so much.
<soul> well, nothing because my english skills are not very good
<soul> and you are missunderstanding me
<soul> ok
<hno> the quality you write here is better than most.
<soul> Good to know that then haha
<hno> english native speaking is likely a minority here.
<soul> I'm going to copy the Hyundai A7HD estructure
<oliv3r> hno,squashing is good, but yeah should have remenered that :)
<oliv3r> soul: compare it to other pages, a7hd is a good idea, inet rev2 also
\\Mr_C\\ has joined #linux-sunxi
<oliv3r> got the correct fetch now; will fix it all tomorrow;nn for now
Tartarus has quit [Excess Flood]
n01 has quit [Ping timeout: 264 seconds]
soul has quit [Read error: Connection reset by peer]
Soru has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
Tartarus has joined #linux-sunxi
<Turl> have you guys seen the cubietruck? :)
<Turl> HDMI, VGA, GbE, 2G RAM, 2x uSD, A20 :)
<hno> saw the preleminary pictures yes.
vicenteH has joined #linux-sunxi
<libv> Turl: url?
vincenzo has joined #linux-sunxi
<Turl> libv: see ML
BJfreeman has quit [Ping timeout: 252 seconds]