Turl changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
pirea has joined #linux-sunxi
rz2k has joined #linux-sunxi
wolfy has quit [Ping timeout: 252 seconds]
juanfont_ has quit [Ping timeout: 272 seconds]
lkcl has quit [Ping timeout: 246 seconds]
<rz2k> ssvb: about the power stuff - we can rtfm cubieboard/cubietruck schematic also. they are available.
dlan has quit [Ping timeout: 252 seconds]
dlan has joined #linux-sunxi
drachensun has joined #linux-sunxi
lkcl has joined #linux-sunxi
egbert has joined #linux-sunxi
pirea has quit [Quit: pirea]
egbert_ has quit [Ping timeout: 260 seconds]
hero100 has joined #linux-sunxi
<ssvb> rz2k: hmm, interesting, that's good to know. But weren't cubieboards supposed to be non-opensource hardware? :)
<wens> we have traces for cubieboards, but they are not useful for reproduction
<wens> they are good for looking up how things are wired up though
Gerwin_J has quit [Quit: Gerwin_J]
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 272 seconds]
pacopad has joined #linux-sunxi
pacopad_ has quit [Ping timeout: 276 seconds]
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 240 seconds]
pacopad_ is now known as pacopad
<rz2k> other stuff there in hardware/ dir too.
<ssvb> thanks!
<rz2k> they are non-opensource, you cant reprocude them, yeah. to be opensource you need to provide the CAD files themselves, like olimex does with EAGLE project files
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 246 seconds]
pacopad_ is now known as pacopad
rz2k has quit []
<wens> i've looked at the schematic quite a lot
dlan has quit [Ping timeout: 246 seconds]
hero100 has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 264 seconds]
pacopad_ has quit [Ping timeout: 276 seconds]
pacopad has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 245 seconds]
pacopad has joined #linux-sunxi
pacopad_ has quit [Ping timeout: 248 seconds]
pacopad has quit [Ping timeout: 245 seconds]
pacopad has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 260 seconds]
pacopad has joined #linux-sunxi
pacopad_ has quit [Ping timeout: 240 seconds]
pacopad has quit [Ping timeout: 240 seconds]
pacopad has joined #linux-sunxi
pacopad has quit [Ping timeout: 240 seconds]
pacopad has joined #linux-sunxi
pacopad has quit [Ping timeout: 240 seconds]
pacopad has joined #linux-sunxi
pacopad has quit [Ping timeout: 240 seconds]
pacopad has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 265 seconds]
pacopad_ is now known as pacopad
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 276 seconds]
pacopad_ is now known as pacopad
<wens> Puneet B is back again
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 265 seconds]
pacopad has joined #linux-sunxi
pacopad_ has quit [Ping timeout: 248 seconds]
<Nyuutwo> used scope on my tablet
<Nyuutwo> LCD doesn't work beacuse A20 doeen't generate data on lvds
<Nyuutwo> but it has LVDS logic levels
t3st3r has quit [Remote host closed the connection]
t3st3r has joined #linux-sunxi
HdkR has quit [Ping timeout: 240 seconds]
hero100 has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HdkR has joined #linux-sunxi
Quarx has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
Phoenix_ has joined #linux-sunxi
<Phoenix_> Hi, Maybe someone here can help me. I'm trying to boot linux on my own board (very similar to the cubieboard). I'm getting "Unable to handle kernel NULL pointer dereference at virtual address 00000004" PC is at sub_preempt_count+0x38. Full log: http://pastebin.com/G6yBiUJS . Any ideas what's going wrong?
rah has joined #linux-sunxi
jukivili has joined #linux-sunxi
hipboi has joined #linux-sunxi
<Nyuutwo> Phoenix_: are you sure that dram is configured properly? (timings)
<Phoenix_> i'm not sure
<Phoenix_> is this point the first time it uses the ram?
<Nyuutwo> Nope, whole kernel sits in ram
<Nyuutwo> also u-boot
<Phoenix_> i figured the ram was okay as it got this far
wolfy has joined #linux-sunxi
<Nyuutwo> it looks as it just changed to userspace code
<hramrach> Phoenix_: are you sure the kernel is for the right hardware? I Get very early crash when I boot kernel for a10 on a20
<gzamboni> i didnt know hdmi and vga used i2c internally as part of the comunication
<Phoenix_> The hardware is very similar to the cubieboard, which runs the kernel fine.
<hramrach> gzamboni: i2c is used for ddc
<Nyuutwo> Phoenix_: you can have skew in ddr lines different than on cubie but it normally works good
<Nyuutwo> but on big jumps in memory it breaks
<hramrach> Phoenix_: you can always try clocking the stuff lower. I guess it would crash earlier if the kernel was for different hardware. The memory clock is configured in u-boot at compile time
<hramrach> also if the memory parameters are different just using card for cubieboard with cubieboard u-boot can cause problems
<Phoenix_> how does one work out the ram timing parameters?
<hramrach> Phoenix_: see the submitting new boards page on the wiki
<Nyuutwo> Phoenix_: from running android
<Phoenix_> dont you need android running on the board first then?
<hramrach> you need whatever it shipped with
<hramrach> so you can run the meminfo on the original firmware
<Phoenix_> i made the board myself
<Phoenix_> no original firmware
<Nyuutwo> Phoenix_: multilayer?
<Phoenix_> 6 layer
bbrezillon has joined #linux-sunxi
<Nyuutwo> in datasheet SDRAM controller have 1 page description
<Phoenix_> the a10 datasheet?
<Nyuutwo> *user manual
<hramrach> Phoenix_: you can try asking Allwinner what the damn memory controller parameters mean. Because nobody here knows. But maybe AW does not know either. For them documentation is something that is fabricated after the fact
<hramrach> Phoenix_: tsvetan hipboi and lkcl have some experience with board development. Maybe somebody else I have missed?
<Nyuutwo> hramrach: who should I ask for help with LVDS LCD (logic levels are, but no signals)
<hramrach> I think tsvetan never finished his a10 board because he could not configure the memory controller to work with his chips :p
<Phoenix_> thanks. i'll try fiddle with the parameters
eyal has quit [Ping timeout: 246 seconds]
<hramrach> Nyuutwo: lvds should work. Try posting on the malinglist. there are some people who got displays working. You probably need some tuning to the fex file
<Nyuutwo> Phoenix_: remember that on pcb you have to have same electrical length lines to DRAM
<Phoenix_> i kknow
<Phoenix_> length and impedance matched everything
<hramrach> I think the display I have is rgb, though
<Nyuutwo> probably I will have to solder to LVDS clock
<Nyuutwo> and then try to enable it
<hramrach> I would expect that the clock is driven from A10
FDCX__ has quit [Ping timeout: 245 seconds]
<Phoenix_> well, some changes to ram parameters produced a different error in the same place: http://pastebin.com/chva0ZUy
<Nyuutwo> Phoenix_: you can disable D and I cache to help debugging
eyal has joined #linux-sunxi
<Nyuutwo> Phoenix_: bad syscall, it looks you have very corrupted userspace or problems with dram
<Phoenix_> from what i've seen, cubie, marsboard, hackberry all use the same ram parameters. eoma board has something different.
FDCX__ has joined #linux-sunxi
<hramrach> Phoenix_: they probably copied the memory part from cubieboard. Like same chip layout, similar trace length.
<Phoenix_> they couldnt have. cubie uses 2 x16 ram chips, marsboard has 4 x8 chips
<hramrach> Nyuutwo: goerge loakimedes sells LVDS displays as accessories for cubieboard so he would have them working
<hramrach> Phoenix_: so it just happens to work for them. There is no description of the parameters so nobody knows what they really do :/
<Phoenix_> yeah
<Nyuutwo> Phoenix_: SPL sits in sram - you can write program to fiddle with settings and checking results
jlj has joined #linux-sunxi
ynezz_ is now known as ynezz
FreezingCold has joined #linux-sunxi
<FreezingCold> How close is Allwinner's support for the mainline kernel? Like is it up to date?
<buZz> no
n01 has joined #linux-sunxi
<buZz> allwinner doesnt do any mainlining, its all community
<hramrach> FreezingCold: mainline does not work. there are patches for it but very few drivers are available
<hramrach> it's under heavy development, heh
<FreezingCold> buZz: But they do release information unlike Rockchip, right?
<hramrach> hopefully in like 2 kernel versions we can have some basic drivers merged in one tree
<hramrach> FreezingCold: they release junk source code
<FreezingCold> oh :(
<FreezingCold> so pretty close to rockchip...
<buZz> we just have a better communitykernel :P
<FreezingCold> I tried to get debian running on my mk808 and had a hell of a time
<FreezingCold> the drivers were so hacky
<FreezingCold> like I was copy pasting files...
<hramrach> the main difference from rk is that AW released bootloader source and and their kernels are runtime configureble
<hramrach> like you can run single kernel on any A10 device because it can be configured. With rk baord.c you have to compile one for every device with different pin assignment
<FreezingCold> On a random question, who designs these MKxxx things?
<hramrach> some chinese company, quite obviously
n01_ has joined #linux-sunxi
<hramrach> it sells on alibaba, right?
<FreezingCold> there's several with different chips and different designs
<FreezingCold> and different logos
<hramrach> rebranding
<hramrach> quite common for CHinese devices
<hramrach> tracing the original designer would be rather challenging
<hramrach> the interesting thing with rk kernel being unusable junk is that development focuses more on mainline
<oliv3r> ssvb: we have schematics for the cubie's, but no board layouts etc etc, just the schematics, and they aren't a 100% match afaik
<FreezingCold> hramrach: I thought rk going to mainline was like zero chance?
<hramrach> there are some mainlined drivers
<FreezingCold> wtf>
<hramrach> just as AW has some very basic support in mainline
sspiff has joined #linux-sunxi
<hramrach> of course, that's not been contributed by the chip maker :->
<FreezingCold> Is there any low cost ARM chips with mainline?
<Nyuutwo> FreezingCold: imx6?
<FreezingCold> isn't there something TI too?
<oliv3r> i thought rk mainline stuff was only very basic
<Nyuutwo> but for media you need nonmainline kernel
<oliv3r> for now
<FreezingCold> OMAP
<hramrach> also IMX - freescale?
<hramrach> plus you can try researching VIA and AMlogic
<hramrach> VIA has some Chinese-competitive ARM chips but not sure about the support.
<oliv3r> amlogic appearantly is GPL hostile
<oliv3r> according to lkcl something is up with them anyway
<oliv3r> and via is known to be really horrible with respects to the GPL
<oliv3r> so don't hold your breath on those
<gzamboni> anyone here already used/uses bus pirate ?
<gzamboni> im thinking in buying one
<oliv3r> o/
<oliv3r> i got an older bus pirate v3b i think
<oliv3r> the current ones are the v4 which are pretty cool
<gzamboni> nice and cheap, :)
<Nyuutwo> oh v4 is like pic version of arduino leonardo (mega32u4) ;p
<oliv3r> yeah
<oliv3r> Dangerous prototypes love their pics
CoSM0 has joined #linux-sunxi
<oliv3r> i much stronger prefer atmel's due to avr-gcc
<Nyuutwo> i want check dspics but i just spent too much time on avr
<Nyuutwo> got to the level of hardcore asm
<hramrach> it does not really matter what chip as long as it gets work done
<Nyuutwo> yup but developer time is costly
<hramrach> hmm, what would you need for reading and writing random flash chips?
<Nyuutwo> i have done something like saele but on mega32u4 (1Msps) but time....
<hramrach> bus pirate could presumably do the SPI ones
<Nyuutwo> hramrach: i2c probably too
<hramrach> but most nand use some other protocol
<Nyuutwo> buspirate is neat beacuse of community, you have scipts already done
<Nyuutwo> hramrach: you need like 10-16 gpio
<oliv3r> hramrach: it matters to me; i rather use a chip that's supported by an opensource toolchain
<oliv3r> rather then having to hack around some closed or non-standard crap
<oliv3r> hence, atmel >>>> microchip
<hramrach> that's part of getting the job done ;-)
<oliv3r> :p
<Nyuutwo> but atmel and debugging ....
<Nyuutwo> and paraell programming/isp fuse disable crap
<gzamboni> do we have anything like the bus pirate using atmel ??
<gzamboni> something i could use with LogicSniffer
<Nyuutwo> it is possible to integrate my LA https://github.com/korneliuszo/nyuulyzer so you get very neat device
<Nyuutwo> but I think there is no device/firmware for like programming gpios in python on PC
<Nyuutwo> I tried to do something like arduino "wire" using AVR-CDC and it was neat but it constantly breaks (VUSB is a hack)
<gzamboni> can they use the term OpenHarware if you have to use a proprietary compiler from microchip to flash the IC ?
<gzamboni> afaik MPLAB is free but their compilers are not
<Nyuutwo> afair they have free version
<Nyuutwo> without opimizations
<gzamboni> mplab is free but not open, and they recently changed, they dont use mplab anymore
<hramrach> it's probably openhardware so long as the hardware design is open
<gzamboni> Nyuutwo, maybe you're right, long time i did not touched an microchip ic
<hramrach> what software you run on it is different matter, right?
<Nyuutwo> they done mplabx but last time when I tried to run it, it was crashing on linux
<gzamboni> dunno, recently i discovered you have to publish the pcb source files in an open format like kicad
<gzamboni> you used wine ?
<hramrach> nad pcb sources do not include the sftware you run on it
<gzamboni> i didnt know they had a linux version
<hramrach> hmm, bus pirate does not have enough gpios
<Nyuutwo> they have linux binaries (no wine)
<hramrach> so will need to look at something else
<Nyuutwo> hramrach: how much time you have to write nand dumper?
Tartarus has quit [Ping timeout: 272 seconds]
penghb has quit [Quit: Leaving.]
<hramrach> is there none ready made?
penghb has joined #linux-sunxi
Tartarus has joined #linux-sunxi
<hramrach> maybe you could connect the gpio to $randombaord and use the linux drivers
penghb has quit [Client Quit]
<Nyuutwo> hramrach: hmm, good idea
FreezingCold has quit [Read error: Operation timed out]
<hramrach> there is a gpio nand driver so maybe should look into that :)
<Nyuutwo> neat
<Super-noob> btw. is it easy to set a pgio pin on an a10 for like exactly a few hundret µ seconds to high or low like on an arduino with digitalwrite and a delay ? or what can one do from userspace
<Nyuutwo> Super-noob: probably not
<Nyuutwo> on arduino you need have disabled interrupts to get exact time (or use timer)
<Nyuutwo> and you have jitter on interrupt
<Super-noob> yes, i have a 433mhz transmitter on an arduino with ethernetshield and it works quiet well recieving an udp packet with the timing for the transmissions, but my mele is just profiding the webinterface with for the devices to use the remotecontrol
<Super-noob> so i thought maybe i don´t even need the arduino
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
<Super-noob> but on the other hand it´s better to have 9v for the transmitter rather then 5 or only 3,3
<oliv3r> Turl: the dts can either have clocks or clock-names, right? not both? also, the clock-names are defined by the clock maintainer right? :p
Quarx has quit [Read error: Connection reset by peer]
Quarx has joined #linux-sunxi
<Nyuutwo> Super-noob: ethernet on arduino ...
<Super-noob> i copyed my sketch together out of samplecode and it´s running stable 24/7 for month
<Nyuutwo> Super-noob: probably not connected to internet
<Super-noob> i only hear so bad story´s even the enc network chips are used
<Super-noob> no it´s only in the homenetwork recieving the commands from the mele
<Nyuutwo> probably it is the reason why it works (no "strange" packets)
<wens> oliv3r: clock-names are defined bt the consumer
<wens> clock-output-names are defined by the provider / clock maintainer
slopez has quit [Remote host closed the connection]
slopez has joined #linux-sunxi
<wens> clock-names complements clocks, giving the clocks defined in "clocks" property new names
<wens> at least that's how stmmac uses it
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has quit [Changing host]
<oliv3r> wens: yeah i glanced at stmmac
Rexerex has joined #linux-sunxi
<oliv3r> wens: i thought clock-names was an alias for clocks with a nice name
<oliv3r> so kinda that matches, and I like it as it looks better :p
<oliv3r> so you do HAVE to define them both in the binding? i don't think i only saw the one for stmmac
<wens> perhaps clock-names only applies to the node it's defined in
<mripard> yes, that's pretty much it
<mripard> clk_get will first lookup in the local clock-names to see if a clock matches
<mripard> and if not, turns to the system-wide clock names (that are defined by clock-output-names)
<oliv3r> so the name (alias) is defined in the clocks driver for sunxi
<oliv3r> and the binding only says it wants to use it; got it
<mripard> which one?
<wens> the system wide name is in clocks driver
<oliv3r> so you ideally only use either/or, not both
<oliv3r> mripard: the sata ones specifically; fixing up the comments on the binding docs
<mripard> yeah, but which name are you talking about?
<wens> oliv3r: clock-names is used when the system wide clock names don't match the driver's expectations
<oliv3r> "ahb_sata", "pll6_sata";
<mripard> so clock-names
<oliv3r> ah yes
<mripard> it's still local to the node
<mripard> it's not system-wide
<oliv3r> but thats not ap roblem is it
<mripard> but that way, the driver can do clk_get("ahb") (for example)
<mripard> and you define what the ahb clock for that driver is by using clock-names
<mripard> that way, you have only one clock name in your driver
<mripard> but different clocks associated to that name, depending on the instance
rellla has joined #linux-sunxi
<oliv3r> so why are clock-names optional?
<oliv3r> or atleast, that's one of the comments
<wens> oliv3r: if the system clock names match, you wouldn't need clock-names
<oliv3r> ah ok
<oliv3r> well lets see if its approve off now :p
<wens> mripard: has anyone added dt bindings for sdio/usb devices before?
<mripard> USB I'm not sure
<mripard> because it's enumerable, so it doesn't really make much sense to put it in the DT
<mripard> SDIO, I think a colleague of mine worked on an Atmel board using SDIO
<mripard> 2s
<mripard> Documentation/devicetree/bindings/mmc/atmel-hsmci.txt
<mripard> I think it was that
<mripard> let me ask him
<wens> this one looks like a multi-slot mmc controller
<wens> i'm interested in the actual SDIO device, not the controller
hipboi has quit [Quit: Leaving]
<oliv3r> an mmc-controller, does that connect as an SDIO device to the system?
<oliv3r> or are they reallyl two seperated things
<mripard> wens: he's saying that it's crappy
<mripard> because SDIO is discoverable, no-one spent some time to come up with some bindings
<mripard> which is a pain if you need clocks or regulators for the SDIO device
<mripard> (which I guess is what you really have in mind)
<wens> correct :)
<mripard> he says he has to send a mail for that and see how we can move forward on this
<mripard> do you want to be in CC?
<wens> clocks and regulators i solved with rfkill-gpio, which imo is not the best solution
<wens> mripard: sure
<wens> i'm trying to add dt bindings for brcmfmac, so i can add the external interrupt
<mripard> on which SoC ?
<wens> AP6210 wifi on CubieTruck
<mripard> for the regulator, you usually have the vmmc property
<mripard> which is made to enable current on the device
<mripard> but for the clocks and interrupts, yes, it seems like there's nothing for now
<mripard> and the external interrupts should work on the A20
<wens> i found a patch in openwrt that adds dt support for wlcore, using it as reference
<mripard> it's not been extensively tested though, so there might be some glitches
<wens> i think the pio node is missing a #interrupt-cells property, and has an extra #size-cells
<Phoenix_> does anyone know what sub_preempt_count does?
<mripard> ah, yes, indeed
<wens> it does a of_find_matching_node if the device doesn't have a node attached, is that allowed?
<oliv3r> mripard: i've started documenting how the BROM does SPI but they do the whole DMA thing there even;
<mripard> oliv3r: erf
HeHoPMaJIeH has quit [Quit: Leaving]
<mripard> wens: that seems pretty hacky, but Felipe balbi reviewed it, so I guess it's the only proper way :)
FreezingCold has joined #linux-sunxi
<oliv3r> mripard: i scribble whenever i have a few minutes
<mripard> oliv3r: nice :)
<oliv3r> it may be not usefull at all to you
<oliv3r> it's mostly for my pleasure and learning of asm; but anyway ;)
<mripard> I didn't have a use for it yet, but it's always good to have these things documented
FreezingCold has quit [Ping timeout: 246 seconds]
<Phoenix_> does anyone know what sub_preempt_count does?
<oliv3r> mripard: well i wanna make u-boot be able to boot from spi
<oliv3r> so it'll only get to do 1 job (read from spi flash)
paulk-collins has joined #linux-sunxi
FR^2 has joined #linux-sunxi
<Nyuutwo> my problem with LCD is no generated signal on LVDS
<Nyuutwo> I have probe connected to PD7
<oliv3r> Nyuutwo: you actually connect the LCD via LVDS?
<Nyuutwo> on android I get 52MHz LVDS level clock
<Nyuutwo> on linux low LVDS level ()1.08V)
<Nyuutwo> on data lines i got something with higher frequency
<Nyuutwo> I've got only 60MHz probes
<oliv3r> i have a rigol 100MHz but dunno what you'd want me to probe
n01 has quit [Ping timeout: 246 seconds]
n01_ has quit [Ping timeout: 260 seconds]
deasy has joined #linux-sunxi
MadSpark has quit [Ping timeout: 272 seconds]
MadSpark has joined #linux-sunxi
<Nyuutwo> oliv3r: I have problem with running LVDS LCD
<Nyuutwo> i see that I don't get clock
<oliv3r> i don't even know how my tablet LCD's are connected
<Nyuutwo> lcd_if = 3?
<oliv3r> lcd_if = 0
<Nyuutwo> pararel
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
sulky has joined #linux-sunxi
n01_ has quit [Ping timeout: 240 seconds]
n01 has quit [Ping timeout: 265 seconds]
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
eebrah|mobile has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
eebrah|mobile has quit [Read error: Connection reset by peer]
eebrah|mobile has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
Phoenix_ has quit [Ping timeout: 272 seconds]
<libv> grmbl. i can't get the inet_86vz tablet to come up :(
<libv> and without serial...
<oliv3r> :(
<oliv3r> haven't you found serial yet? i thought you did
<libv> yes, and it is multiplexed with the SD controller
<libv> i am reading up on usb-boot now
<oliv3r> ah yeah if you use the uSD break out board (or connect directly) you have to use fel-usb
<oliv3r> however!
<oliv3r> A13 is very easily accessable
<oliv3r> UART0 pins are at pin 151 and pin 152
<oliv3r> so find a gnd, solder directly to the soc
<libv> i have gnd
<libv> but how do i safely solder anything on to this package?
<libv> _directly_
<Nyuutwo> libv: magnet wire
<libv> that looks like .5mm pitch
<oliv3r> the pins are solderable
<oliv3r> can you trace 152 151
<libv> i currently have 1mm solder, no separate flux, and a 12W iron with not the best of tips on it
<oliv3r> then you can't :p
<libv> i am not equipped for smd soldering atm
<oliv3r> some guy the other day needed uart on his a13 too
<oliv3r> turns out, uart0 tx rx where routed about for 1mm, then a via, and then a pad 1mm further
<oliv3r> but that's it
<Nyuutwo> libv: no even rosin?
<libv> i just have the tiny pads on the pins
<oliv3r> uart pins are about half way on the left side
<libv> oliv3r: i _know_
<oliv3r> but yeah with bad solder, bad soldering iron
<libv> but there is no way that i am going to solder anything to that with a reasonable chance of success
<oliv3r> fel is far easier
<oliv3r> however, the SD fel mode isn't enabled by default; you need to compile lichee-u-boot
<oliv3r> and put that on nand
<oliv3r> i think boot0/boot1 do output SD by default
<libv> all of this seems seriously under documented
<libv> i really am having shit luck with A13
<oliv3r> hardly anybody ever uses it
<oliv3r> to get my a10 tablet doing SD debugging, I used this: http://linux-sunxi.org/MicroSD_Breakout
<libv> the first one ended up being A23, and on this one the uart is wired to SD.
<oliv3r> well wired to SD basically means, not wired at all
<oliv3r> be glad it has an SD slot
<libv> oliv3r: it has pads marked GND, RX, TX
<libv> which go straight to the sd-card
<libv> how great is that?
<oliv3r> *facepalm*
<oliv3r> very awesome chinese engineering
<oliv3r> someone who doesn't know about the uSD breakout board :p
<libv> i was rather thrilled when i opened this thing up
<libv> but that didn't last
<oliv3r> still; only a little nuisance
<libv> and unless i spend another 100-150 on proper soldering equipment, i am not going to get a standard uart out of this hw
<Nyuutwo> but with pads you can use pogopin testbed
<oliv3r> Nyuutwo: yeah but how often do you think the engineers debug boards? not like that i don't think
<Nyuutwo> oliv3r: I say about testing in chinesee fab
<oliv3r> libv: when i get home tonight; i'll try to get my a13 tablet to boot via fel via uSD too
<oliv3r> Nyuutwo: yeah, but they probably won't touch uart
<Nyuutwo> probably not
<libv> oliv3r: you have uart on it, right?
<libv> proper uart
<oliv3r> libv: yes, pins 152 and 151 where traced out the bottom of the board
<Nyuutwo> they have livesuit and nand flashing
<libv> lucky you :p
<Nyuutwo> they can workaround
<libv> yeah, before i continue, i should get a copy off of the nand
<oliv3r> libv: but my a10 i haven't found uart, and that one is mine, the a13 is not my tablet :p
<libv> ouch
* Nyuutwo was thinking about a20 with uart only on SD
<oliv3r> the GF will allow me to open it and picture it (i did that) but no way i'll get to solder ;)
Quarx|2 has joined #linux-sunxi
penghb has joined #linux-sunxi
<wens> Turl, mripard: I sent out v2 of clock renaming series, hope it didn't go into spam
<libv> oliv3r: get her a random a13 tablet then
<oliv3r> lol to be fair, she hasn't really used it yet
<oliv3r> i just need to hide the exit holes and make it plugable :p
<libv> i am at this point really at a loss, because i do not want to go and buy yet another a13 device
<oliv3r> then again; i'll probably just use the uSD as it should work
<libv> 3rd time lucky, but it is getting kind of ridiculous now
<oliv3r> USB_boot should work easily!
<oliv3r> just very un-documed
<oliv3r> i think the procedure is, fel_load kernel + script + u-boot; execute u-boot
<mripard> wens: at least I received it
<oliv3r> hno: is the expert though :)
Quarx has quit [Ping timeout: 248 seconds]
penghb has quit [Client Quit]
<libv> maybe the usbboot page makes sense to him, it doesn't to me.
<libv> yes
nove has joined #linux-sunxi
<oliv3r> do you have u-boot-spl (_FEL versioN) and u-boot?
<oliv3r> can you force your tablet into FEL mode?
<libv> i know how to force the tablet into fel mode, that's a given
<oliv3r> well if you where REALLY unlucky, they 'ommitted' the FEL mode :p
<libv> but what is the fel version of uboot
<libv> is that a version especially built without sd/mmc support?
<libv> or is there other stuff going on?
<oliv3r> just copy your boards.cfg build string, and add FEL to it
<libv> (apart from enabling the SD multiplexed uart)
<oliv3r> grep _FEL boards.cfg
<Nyuutwo> oliv3r: you were faster
<oliv3r> Nyuutwo: faster with?
<Nyuutwo> grep command ;p
<oliv3r> libv: SPL_FEL btw is the correct flag
<libv> but what does it do?
<oliv3r> Nyuutwo: you where really slow, because i had to CD to u-boot; and test my grep :p
<libv> it only initializes the board, as opposed to what?
<libv> "SPL FEL is a special stripped down u-boot SPL which only initializes the board."
<Nyuutwo> oliv3r: i had too do this
<oliv3r> it adds a special 'start.o'
<libv> wtf does that mean?
<libv> does the normal u-boot run an instance of emacs?
<libv> will i be able to do anything with the _FEL version?
<libv> what?
<oliv3r> it allows you to execute it; and stuff after that
<oliv3r> it doesn't change mmc settings
<oliv3r> so in theory, you can boot _FEL and still load everything from SD card
<oliv3r> but yeah, the binary is different, it adds special stuff so that it will actually do all that
<libv> do i need separate u-boot-spl.bin and u-boot.bin to be able to do anything after starting the _fel version?
<oliv3r> memory offsets are slightly different
<libv> this page really does create more questions than it answers
<oliv3r> i'm not sure baout u-boot.bin, but you will get a special FEL spl
<libv> _get_, yes
<libv> but what then?
<oliv3r> then you upload it as on the usb page is mentioned to a memory location; execute it
<libv> and what does it do, exactly, as opposed to the standard u-boot?
<oliv3r> nothing
<oliv3r> it's exactly the same, with special padding prepended
<oliv3r> so you in your specific case, you will have to change the mmc stuff too
<oliv3r> but again; i think 2 or 3 people ever used this method so far
<libv> no surprise there :p
<oliv3r> yeah most actually have uart
<oliv3r> but my a10 tablet, has the same problem as yours :p
<oliv3r> no (marked) uart
<libv> oliv3r: so you have depended on this before?
<oliv3r> i don't recall; i do know i got my kernel to output something over the uSD adapter, something Inever had done before; so was quite excited; but this was almost a year ago
<oliv3r> i'm trying to setup my workspace to test fel mode on my cubieboard, but stupid wifi isn't working on this stupid box
<Nyuutwo> i have tried fel on cubie2, haven't microsd cadr at home
<libv> we are all spending too much time on proper development boards :)
<oliv3r> libv: sad, but true, my A10 tablet still runs something 3.0 'stock-ish'
<oliv3r> mostly due to lack of touschreen driver, still
<oliv3r> someone shout at my wifi
AreaScout has joined #linux-sunxi
<oliv3r> it connects, it just won't ping or receive data :S
<libv> also, nand is seriously underdocumented...
<Nyuutwo> oliv3r: ping from tablet constantly to anything
<Nyuutwo> will work
<Nyuutwo> have the same problem
<oliv3r> Nyuutwo: nope; it's the stupid ralink usb wifi
* libv first gets a win XP box running to be able to pull the nand image off the a13
eebrah|mobile has quit [Ping timeout: 248 seconds]
<oliv3r> you goin gto pull data via livesuit? didn't even know you could do that
<Nyuutwo> oliv3r: yup I have also stupid realtek and it more works when I ping from ralink to anything (some power mismanagement?)
<libv> i hope you can, how else am i going to pull a copy of the ram off?
<libv> err s/ram/nand/
hero100 has quit [Quit: Leaving]
<oliv3r> ohh i think my route's fucked
drachensun has quit [Read error: Operation timed out]
eebrah|mobile has joined #linux-sunxi
cajg has quit [Ping timeout: 272 seconds]
gzamboni has quit [Remote host closed the connection]
cajg has joined #linux-sunxi
hani has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
<oliv3r> yay! the interweb is back; it was only a fucked resolve.conf
gzamboni has joined #linux-sunxi
<oliv3r> mrnuke: your patch works on a20 :)
<oliv3r> mrnuke: running tinymembench to be sure; will test it on a10 then push it
<oliv3r> meanwhile, i'll also do a fel build :)
hani has quit [Ping timeout: 252 seconds]
LoCoZeNoz_ZUE has quit [Ping timeout: 245 seconds]
<mrnuke> oliv3r: of course it works. it was written by the hand of a god
<mrnuke> :P
<mrnuke> glad to know it fares ffine on a20 as well :)
<oliv3r> well have to test what i commit ;)
n01_ has quit [Read error: Connection reset by peer]
n01 has quit [Read error: Connection reset by peer]
<oliv3r> tinymemtest checks out
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
<mrnuke> in coreboot, we commit first, ask questions later :p
<libv> great. nothing :(
<libv> nothing on serial/sdc, and ./fel version just hangs
<libv> ah, CONS_INDEX=1
<oliv3r> ah wasn't that where output is supposed to be put?
<oliv3r> i do recall that
eebrah|mobile has quit [Ping timeout: 248 seconds]
<oliv3r> 1 = uart0
<oliv3r> /* Define this to have serial channel 1 (UART0) redirected to SD port */ /* #define CONFIG_UART0_PORT_F */
<oliv3r> that's what you want
<oliv3r> CONFIG_UART_PORT_F
<oliv3r> which in turn disables mmc
eebrah|mobile has joined #linux-sunxi
<libv> aha, serial
<oliv3r> ah you don't even have to define it there, you can add it as param in boards.cfg
<libv> yes, i did define it indeed
<libv> sun5i:INET_86VZ,SPL_FEL,CONS_INDEX=1,UART0_PORT_F
<oliv3r> so you add UART0_PORT_F to get serial out on uSD; and additionally add SPL_FEL for the spl u-boot
<oliv3r> not sure why you need CONS_INDEX=1
pacopad has quit [Read error: Operation timed out]
<oliv3r> because the default IS const_index=1 when undefined
<libv> it collided with me rewiring my uart jumper cable wrongly
<libv> i have had this black plastic bit on and off so often ... :(
<oliv3r> ahh you probably can leave that out then :)
<oliv3r> :(
<oliv3r> to bad the cubietruck didn't ship with the uSD adapter
<libv> ok, so now it complains about a lacking mmc, i guess this means success
<oliv3r> since i dind't bring it with me to $work; i'm doing FEL mode now with the regular uart; but shouldn't matter for the excersize
<libv> because i haven't provided it with a kernel or script.bin or boot.scr
pacopad has joined #linux-sunxi
<oliv3r> you fel-booted that SPL i assume?
<libv> yes
<oliv3r> cool; success indeed!
<oliv3r> I'll start documenting some of this then on the various pages ;)
<libv> i still need to get a kernel running, and some way to access the nand
<oliv3r> the kernel can access the nand no problem
<libv> ah, ok
<oliv3r> the usb-boot shell script loads all the various bits into ram
<oliv3r> assuming the matching libnand is used of course, but if the kernel can access nand, it's fine
<libv> then i need to get a proper linux booted so i can actually poke the nand :)
Rexerex has left #linux-sunxi ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
pacopad_ has joined #linux-sunxi
<libv> first i am going to test some further u-boot settings, as i seriously lowered the dram clock
pacopad has quit [Ping timeout: 260 seconds]
<oliv3r> the only thing i worry about now; is the libnand version the nand was written with, vs our libnand version
<oliv3r> i'd expect it to be backwards compatible
<oliv3r> so hopefully they used an old sdk and then it will be easy
<libv> it seems i am going to have to try miniroot
<oliv3r> ah, easy and complete initramfs; sounds sensible
<libv> how else would i touch nand?
pacopad has joined #linux-sunxi
<oliv3r> i tend to use turl's prebuilt initramfs with some tools in it
<libv> are there any docs on that?
<oliv3r> i just add that to my kernel as built in, and don't mess with too many things
pacopad_ has quit [Ping timeout: 264 seconds]
Gerwin_J has joined #linux-sunxi
<libv> linux-sunxi.org says no
pacopad has quit [Read error: Operation timed out]
pacopad has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 260 seconds]
pacopad_ is now known as pacopad
<oliv3r> mnemoc: can we have pre-compiled fel tools in the nightlies?
<oliv3r> i don't have a 32bit fel bin here, so can't do any further testing :(
eebrah|mobile has quit [Read error: Connection reset by peer]
pacopad has quit [Read error: Operation timed out]
pacopad has joined #linux-sunxi
FunkyPenguin has quit [Remote host closed the connection]
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 264 seconds]
pacopad_ is now known as pacopad
pacopad has quit [Ping timeout: 265 seconds]
pacopad has joined #linux-sunxi
pacopad has quit [Ping timeout: 240 seconds]
FreezingCold has quit [Ping timeout: 264 seconds]
pacopad has joined #linux-sunxi
<libv> oliv3r: how does one use Turl's initramfs, what is in it, how was it created?
pacopad has quit [Ping timeout: 276 seconds]
pacopad has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 265 seconds]
pacopad_ is now known as pacopad
eebrah|mobile has joined #linux-sunxi
pacopad has quit [Ping timeout: 248 seconds]
pacopad_ has joined #linux-sunxi
Quarx|2 has quit []
discopig has quit [Ping timeout: 245 seconds]
pacopad has joined #linux-sunxi
wolfy has quit [Quit: Dragostea e oarba? Nu. E doar putin presbita: nu vede nici un defect pana nu se indeparteaza putin. (Drew Barrymore)]
pacopad_ has quit [Ping timeout: 265 seconds]
eebrah|mobile has quit [Read error: Connection reset by peer]
discopig has joined #linux-sunxi
pacopad has quit [Ping timeout: 248 seconds]
<gzamboni> libv: i dont have experience with initramfs, but i googled it: http://jootamam.net/howto-initramfs-image.htm
<gzamboni> i never tried, but it should work fine for small filesystems
pacopad has joined #linux-sunxi
pacopad has quit [Ping timeout: 240 seconds]
pacopad has joined #linux-sunxi
Fusing has joined #linux-sunxi
pacopad has quit [Ping timeout: 246 seconds]
pacopad has joined #linux-sunxi
pacopad has quit [Read error: Operation timed out]
pacopad_ has joined #linux-sunxi
pacopad_ has quit [Ping timeout: 260 seconds]
techn_ has joined #linux-sunxi
Akaizen_ has joined #linux-sunxi
techn__ has quit [Ping timeout: 265 seconds]
Akaizen has quit [Ping timeout: 246 seconds]
pacopad has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 246 seconds]
pacopad_ has quit [Ping timeout: 264 seconds]
wolfy has joined #linux-sunxi
nove has quit [Quit: nove]
FreezingCold has joined #linux-sunxi
wingrime has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 260 seconds]
<oliv3r> libv: er it's buildroot, busybox some other things, devmem and tinybench
<oliv3r> libv: i just link it from within make linux-config (bsp) or make menuconfig; CONFIG_INITRAMFS_SOURCE: is the option to the cpio
<oliv3r> libv: in theory, you can compile it yourself with buidlroot or miniroot; but i'm lazy and for 90% of the things i wanna do it suffices
<oliv3r> anyhow, time to reproduce your debugging on a13 and document it
eebrah|mobile has joined #linux-sunxi
Fusing has quit [Ping timeout: 264 seconds]
<oliv3r> perfect, clear slate; it doesn't work on my tablet anymore (guess i changed my bootloader back)
popolon has quit [Quit: Quitte]
<itdaniher> should it surprise me that USB hubs don't work on OTG on my A13?
<oliv3r> yes it should
<oliv3r> oh no, on hosts
<oliv3r> i think there's some bugs with otg + hubs
<itdaniher> well, looks like I've found one of them!
<itdaniher> on this tablet the wifi's occupying the host port, so I may wind up pulling it off
micko__ has joined #linux-sunxi
<Turl> sup
<Turl> oliv3r: you asked sth about clocks on dt?
<mripard> Turl: I think wens and I answered his questions already
eebrah|mobile has quit [Ping timeout: 248 seconds]
<itdaniher> it actually looks like the wifi card isn't showing up - in android, it was USB device 148f:7601, but nothing's listed in F19
<itdaniher> (that's mt7601 afaict)
<Turl> mripard: ok then :)
<Turl> mripard: anything I should review while I'm around? :)
<mripard> the patches wens posted today maybe ?
<oliv3r> Turl: all sorted it hink :) late bringer
Fusing has joined #linux-sunxi
<mripard> Turl: especially the second patch
<mripard> I wonder how that can work with clocks that have not been converted to clk@...
<oliv3r> ok this si strange, a script.bin with all memory parameters set properly, from the bigginging to the start
<mripard> Turl: nvm, he sets clk_name to node->name, and of_property_read_string will overwrite the string passed as an argument only if the property is set
<mripard> so it's ok.
eebrah|mobile has joined #linux-sunxi
<Turl> mripard: yeah, we discussed that the other day :)
<Turl> mripard: the only thing I've seen so far is arm on the title (vs ARM)
<mripard> yeah, it's not really a big deal :)
agath_at_work_pd has joined #linux-sunxi
agath_at_work has quit [Remote host closed the connection]
FreezingCold has joined #linux-sunxi
bbrezillon has quit [Quit: Ex-Chat]
eebrah|mobile has quit [Read error: Connection reset by peer]
Fusing has quit [Ping timeout: 242 seconds]
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
FreezingCold has quit [Read error: Operation timed out]
<libv> CONS_INDEX=1 is indeed not needed, it was my bad replugging of the connector
<libv> now for the heightened dram clock
ZetaNeta has joined #linux-sunxi
ZetaNeta has quit [Changing host]
ZetaNeta has joined #linux-sunxi
<libv> ah, ok that works too, so that wasn't the reason why my sd card was not turning up anything
shineworld has joined #linux-sunxi
<oliv3r> ok my TX doesn't seem to work on the tablet; or they (I) disabled the tx somehow in fex/u-boot.
<oliv3r> screen does print characters, on my a10 board it does work; so cable is fine
iamfrankenstein has joined #linux-sunxi
<oliv3r> unfortunatly my homebuild lichee-u-boot doesn't boot anything; stuck at 'starting kernel' :(
<libv> :(
<oliv3r> time to put back original u-boot and see if that outputs
<oliv3r> u-boot was 100k smaller, so possibly something else wrong
<oliv3r> i did set SD_UART, UART_PORT_F
<oliv3r> i wonder _why_ u-boot won't start the kenrel, no output other then 'starting kernel'
<oliv3r> that and I still have the option to hook up the internal uart if i really can't manage to do anything else; bummer that i can't enter fel-boot
<oliv3r> speaking of, why isn't boot0/1 outputting anything
<oliv3r> only u-boot is
adb has joined #linux-sunxi
<Nyuutwo> oliv3r: early boot have selected good uart?
<oliv3r> this is all lichee stuff; stock stuff
<oliv3r> stock kernel, stock tablet
<oliv3r> 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode
<oliv3r> FEL mode seems to work
<Nyuutwo> where can I put data from nanda (got from pushing 1 in boot0)
<Nyuutwo> and photos of tablet
aep_ is now known as aep
<libv> hrm... most of what USBBoot turns into is actuall meant for the U-Boot page...
<oliv3r> hah! usbboot does work!
<oliv3r> i used A13-OlinuXino_FEL_sdcon as u-boot target
<oliv3r> that just worked (for this particular tablet)
<oliv3r> libv: technically; yeah, since you are booting u-boot via fel; but you also inject the kernel directly into ram but still use u-boot for it
<libv> oliv3r: i am in the middle of rewriting the FEL page btw
<oliv3r> oh nice, you actually stay in fel mode while running usbboot
<oliv3r> libv: sounds good; i'll review it later
<oliv3r> gotta try to inject a kernel now!
n01_ has quit [Ping timeout: 264 seconds]
n01 has quit [Ping timeout: 264 seconds]
<libv> gah. this wiki.
<libv> pull one thread...
<oliv3r> ah no, fel mode doesn't work when you load u-boot anymore
ZetaNeta has quit [Read error: Operation timed out]
<oliv3r> time to build stage/sunxi-3.4
<oliv3r> lets hope the touchscreen driver is in 3.4
<oliv3r> ekt3632 seems to be the driver; though the chip markings where much diff
<oliv3r> feck looks like no driver then
<libv> how shitty is that.
<libv> he just cannot be arsed.
<libv> but he can whine.
<Nyuutwo> libv: thanks, WIP
<Nyuutwo> now getting images
<libv> Nyuutwo: fix it
<libv> now i get to port stuff back from the french u-boot translation...
<hno> oliv3r, regarding FEL booting, see http://linux-sunxi.org/ and also u-boot include/configs/sunxi-common.h
<oliv3r> grief 2 of sunxi; a side project if you wil; touchscreens :(
<oliv3r> hno: yeah we figured it out now :)
<Nyuutwo> the only good picture i have made is of pcb
<oliv3r> hno: works amazingly well :)
<libv> oliv3r: hans is working on mainline on that
<Nyuutwo> i can only rip off from aliexpress
<hno> what on the wiki page was confusing about what the fel version of u-boot is?
<libv> oliv3r: but yes, everyone seems to only care about development boards
<oliv3r> libv: huh? i'm talking about the varioud unsupported touchscreen panels we have
<oliv3r> libv: these i2c capacitive micro's that are different between versions etc
<libv> hno: i am halfway through rewriting it
<hno> libv, good.
FunkyPenguin has joined #linux-sunxi
<libv> we've figured it out in the meantime
<oliv3r> libv: one of the reasons i focused more on the dev boards; is lacking touch screen drivers, so i left my tablet 'as is'
<libv> oliv3r: i like tablets as they allow development while travelling
<libv> and it's something nice for on conferences... just run a usb cable to your backpack...
<oliv3r> oh i do like tablets
<oliv3r> but yeah, i have 2 tablets now, with no touchscreens
<libv> i did most of my initial lima work on a tablet on the move
<oliv3r> i think your a20 tablet and mine use the same ctp chip though
<libv> oliv3r: this is not the ilead controller?
<oliv3r> erm
<oliv3r> it is, the ekt3632 according to the fex file, but nothing with that string in the kernel
<oliv3r> i had a pic, but it was too blury
<oliv3r> that has the binding in it; so i should try working that into 3.4
vector80 has joined #linux-sunxi
<vector80> Hi, did anybody see new Android 4.4 KitKat SDK for A31 in my folder: http://dl.linux-sunxi.org/users/stulluk/A31/
rz2k has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
<oliv3r> vector80: nice one :)
<vector80> oliv3r: I have a question about sunxi team and android images
maz_ has joined #linux-sunxi
<vector80> If this is a secret, I can ask privately
<vector80> As I understand from the wiki, linux-sunxi is mostly interested in linux, not android
<vector80> Why this android 4.4 is important for you then?
<oliv3r> because the android sdk includes the kernel
<oliv3r> and the kernel contains potentially patches to their previous release
<oliv3r> the android bits aren't that interesting
<oliv3r> as for android itself; we are interested, it's just nobody has put the time up yet to make a nice cyanogenmod tree; atsampson started it, but gave up
<oliv3r> but paulk will start looking at a cm/replicant tree soon
<vector80> if somebody really need to make something like CM on sunxi, I am volunteer to give my best help to do
<vector80> With your helps, my interra-3 board is running amazingly, it is wonderfull, and it took only 2 weeks to come to this point
<oliv3r> could have been 2 days :p
<oliv3r> did you check into the debian bootscripts?
<vector80> yes, but all is because of my stupidness
<oliv3r> dand systemd vs sysinit-v
<vector80> When you ask me such questions, I really feel very stupid again :( What is debian bootscripts ?
<oliv3r> you said your board was booting slow
<vector80> yeah, the scripts were running in parallel
<vector80> and I read a lot about it
<vector80> Actually, there are some points not very clear in my mind
<vector80> Can I explain here?
Night-Shade has joined #linux-sunxi
<oliv3r> erm i'm not really an expert :p
<oliv3r> you can always ask
<vector80> I see... I will read more, study more about these on the net
<vector80> Actually, it was like this
<vector80> If you see blog post from olimex about how they create debian SD card for Olinuxino-A20
<oliv3r> but debian boots relativily slowly; due to sys-v; if you'd switch to systemd, it should be conciderably faster; but you need to know a little what your doing, the swap isn't 'super' easy i think
<vector80> In the end of their blog post
<vector80> in order to bring their eth0 up and get ip from dhcp,
<vector80> they use "dhclient eth0"
<vector80> I was thinking why they did such thing,
<oliv3r> from bootscripts its slow
<vector80> yeah, it was terribly slow because the reason was,
<vector80> in the beginning of init,
<vector80> system first go into runlevel 2
<vector80> and in that runlevel,
<vector80> scripts were not running in parallel
<vector80> So I decided to run /et/init.d/networking in some "parallel" way
<vector80> after that, I hacked 2 files, and addred one more shell script
<vector80> now it is booting and running networking parallelly, and you can setup the system as static IP or DHCP via etc7network/interfaces..
<vector80> That was a tricky way, but I must study and learn, how to change to systemd way....
<vector80> But before all these...
<vector80> I feel the kernel is not perfect
<vector80> in dmesg, I see a lot of bad warnings
<vector80> I want to avoid these (if possible), can I share them here again ?
<oliv3r> rdid you make a master SD yet?
<vector80> yes and no,
pwhalen has quit [Read error: Operation timed out]
<vector80> I have 3 class10 Sd card,
<vector80> and I can directly copy its files to my eMMC,
<oliv3r> yes but be ccarefull with that
<vector80> and only change uboot, and it works like a charm thanks to you..
<vector80> Why ?
<oliv3r> you are booting an OS from the card
<oliv3r> it makes temporay files (/var, /tmp etc)
<oliv3r> so the OS is 'active'
<oliv3r> now you copy all the files over
<vector80> oh yes, don't worry, I am using "rsync --exclude:..bla bla bla"
<vector80> I know that, it was killing my eMMC :)
<vector80> I don't know why these sandisk eMMCs are soo expensive when compared to NAND
<oliv3r> so when you reboot, you boot in a previous 'active' OS, so it'll be like it crashed
<oliv3r> it can work; just 'nasty'
<vector80> Don't worry, I compared original debian rootfs with my SD card, and then used rsync
<vector80> but I feel bad about my dmesg logs
<oliv3r> it's "nicer" overal
<vector80> Let me give you here, wait
<oliv3r> its' nicer to have a seperate dir, with the entire rootfs in it
<vector80> I am trying to boot from NFS actually, studiying how to do it
<vector80> 3 years ago, I was booting all my Armv5te Linux DVB-S2 STBs via TFTP + NFS
<vector80> I feel this one shouldn't be so hard also
<oliv3r> sunxi can do that
<oliv3r> 1235213
<vector80> what is that number ?
<vector80> Here is my DMESG: http://sprunge.us/ATNh
<oliv3r> wc :p
<vector80> What is this mean: [ 0.000000] Ignoring unrecognised tag 0x00000000
<oliv3r> dunno
maz_ has quit [Ping timeout: 260 seconds]
<vector80> How about this: [ 1.563038] [mmc_pm]: failed to fetch sdio card configuration!
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
pwhalen has joined #linux-sunxi
<oliv3r> vector80: regular 'error'
<oliv3r> btw, be careful with massive modifications to your main image
<oliv3r> while it's perfectly doable
<oliv3r> it'll make maintaining it a nightmare
<vector80> ok, it failed to fetch the configuration from where? script.bin ?
<oliv3r> dunno; not a hero with the 3.4 stuff
<vector80> Who can answer this? Who know best about sunxi kernel ?
<oliv3r> grep
<vector80> hahahahhahaa
<vector80> very nice answer :)
<oliv3r> :)
<vector80> grep -r "failed to fetch sdio card configuration!" .
<vector80> oh sorry
<oliv3r> git grep :p
<vector80> ok, since we know that both interra_mmc.bin and interra_emmc.bin are working fine, can you add them to mainstream sunxi ?
<oliv3r> allready done a few days ago :p
<oliv3r> but only pushed the emmc version
<oliv3r> as the mmc version is really more for 'internal dev useage'
<oliv3r> and can be easily crated by modifying board.cfg
<vector80> I don't think so? Yesterday I had to run: git rebase origin/sunxi
<vector80> If I clone current branch now, can I see interra-3 in boards.cfg ?
<libv> vector80: mmc/mmc-pm/mmc_pm.c
<Nyuutwo> vector80: unrecognised tag sounds like atag
<vector80> what does mmc_pm mean? mmc power management ?
<vector80> Let me learn what is atag
<Nyuutwo> but i'm not sure
<Nyuutwo> and it is replacing by dtb
<Nyuutwo> in case od aw we have fex
<oliv3r> vector80: ^
<Nyuutwo> but I don't know how it is exactly connected
<vector80> Nyuutwo: thank you, but my question is, do you see such errors on your boards which use A20 ?
shineworld has left #linux-sunxi ["Leaving"]
<vector80> oliv3r: Thank you, I already pulled all BSP, modified those files, and create a patch and send as email 2 days ago
<vector80> It was on saturday
fredy has quit [Excess Flood]
<vector80> And libv asked me : "Why you appear as oliver in your branch"
<vector80> :)
<Nyuutwo> vector80: I have it too on sunxi-3.4
<vector80> Nyuutwo: Thank you soo much
Night-Shade has quit [Ping timeout: 264 seconds]
<vector80> So, may be this issue could be fixed in future releases..
<Nyuutwo> vector80: it works, and I just see that place of code being havily modified by aw
<vector80> Nyuutwo: if you see my above errors, do you see them on your dmesg also?
fredy has joined #linux-sunxi
<oliv3r> vector80: yeah that patch wasn't good :p
<oliv3r> vector80: you where sending my patch basically with some modification
<oliv3r> anyway, make sure you do cd u-boot-sunxi
<oliv3r> git pull
<vector80> and then?
<oliv3r> git pull -rebase
<oliv3r> it should give you the latest u-boot
<vector80> Ok let me see it
<oliv3r> remember, you have several git repositories
<oliv3r> sunxi-bsp; sunxi-bsp/u-boot-sunxi; sunxi-bsp/linux-sunxi
<oliv3r> to update each repository, cd repo; git pull --rebase
<vector80> ok let me try
<Nyuutwo> yup also with mmc_pm ... sdio
<Nyuutwo> vector80: git submodule update
<vector80> Nyuutwo: You are extremely helpfull, thank you soo much
<Nyuutwo> or afair make update in sunxi-bsp
ZetaNeta has joined #linux-sunxi
<vector80> Actually I must do these tests paralelly with olinuxino A20
<Nyuutwo> but I make crappy wiki pages ;p
<vector80> You are the author of wiki pages in sunxi.org ?
<Nyuutwo> vector80: nope, I'm just creating wiki page of my tablet
<Nyuutwo> and I don't have good camera to get photos
<vector80> :)
<vector80> Nyuutwo: anyway, it was very good to see these issues on another A20 device also :)
<vector80> How about that V-F table, do you have those erros too?
<Nyuutwo> you talk about [mmc-err] smc 2 err, cmd 8, RTO?
<ZetaNeta> oliv3r,
<ZetaNeta> yeah said digikey sells good cameras
<Nyuutwo> it looks like connected to mmc
<ZetaNeta> "Can you point with a finger?"
<ZetaNeta> As i didnt find ANY suitable :3
Night-Shade has joined #linux-sunxi
<vector80> Nyuutwo: yes I mean that error
<Nyuutwo> but realy don't care about them, it's based on allwinner sources, some them looks like probing done wrong way ..., and there is mainlining effort
<vector80> I also don't know where this mmcblk0boot0 and mmcblk0boot1 is coming from ? My eMMC does not have such partitions ?
<vector80> will be back in 10 mins
<Nyuutwo> i've seen only mmcblk0p1 (but not on A20)
pwhalen has quit [Quit: Leaving]
<ZetaNeta> Crap... i realize that i been searching in the wrong section
<ZetaNeta> sry oliv3r
Fusing has joined #linux-sunxi
<oliv3r> well big problem with that is
<oliv3r> these are only the imaging sensors
<oliv3r> you'd need a micro + breakout board
<ZetaNeta> erm... under "micro + breakout board" you mean...
<oliv3r> hard work
<vector80> Nyuutwo: Are you booting your tablet from Sd card ?
<ZetaNeta> I got a soldering iron, source of money, and.... lots of tools
<Nyuutwo> yup
<oliv3r> ZetaNeta: first pick a chip; thenf ind its datasheet
<ZetaNeta> Some paranoia, and a wish to "BUILD IT"
<vector80> Nyuutwo: Can you show me your dmesg ?
<ZetaNeta> oliv3r, Ok. Then what am i going to use this information for?
<oliv3r> that hack aday link i've sent; should be a perfect 'example'
<oliv3r> to connect to the a20
<Nyuutwo> i have now only scraps from serial log
<vector80> Nyuutwo: bad power supply ? :)
<Nyuutwo> vector80: prints 2 times the same line
<Nyuutwo> i need just boot it, connect serial port and get dmesg command for normal log
<vector80> I feel you are using prolific based USB-RS232 ?
* ZetaNeta sees 2 cameras for +1000 bucks....
<oliv3r> lol; 100 mega pix
<ZetaNeta> "I wonder if they are worth the money"
n01_ has joined #linux-sunxi
n01 has joined #linux-sunxi
<ZetaNeta> ok
wolfy has quit [Ping timeout: 252 seconds]
n01 has quit [Remote host closed the connection]
n01_ has quit [Remote host closed the connection]
<oliv3r> ZetaNeta: that i don't know; it really depends how well you are with the soldering iron, writing a micro controller driver
<oliv3r> ZetaNeta: i just saw the hackaday link; with a guy with the same problem
<ZetaNeta> Well.... i am really bad with small and SMD soldering
<oliv3r> well those bga like things, you need to do in an oven
<oliv3r> the guy from hackaday used a camera 'module'
<oliv3r> e.g. with flex pcb attached
<WarheadsSE> quick q - A20 -- current "best" -- linux-sunxi 3.4 stable ?
<oliv3r> collaborate with him
iamfrankenstein has quit [Ping timeout: 255 seconds]
<libv> oliv3r: i moved the translating page
<libv> i got so frustrated by U-Boot/fr that i had to write a rant
<libv> how many of us speak turkish, russian, mandarin, ...
<libv> and who will be there in a years time to salvage useful bits from the wreckage?
wolfy has joined #linux-sunxi
<ZetaNeta> libv, ME!
<libv> ZetaNeta: liar.
<ZetaNeta> I have changed a single typo last year!
<libv> ZetaNeta: how do you know where you will be in a years time?
<ZetaNeta> I am the most serious russian translator in the project!
<libv> ZetaNeta: then stop it
<libv> and read that page.
<wingrime> mnemoc: do you agree http://linux-sunxi.org/Translations_are_bad ?
<wingrime> mnemoc: I think FAQs translable
<libv> no, they go out of date
<libv> _very_ quickly
<libv> wingrime: did you read the last part of that?
<ZetaNeta> I stuck on "Was this the best use of libv's time?"
pwhalen has joined #linux-sunxi
<wolfy> i stuck at "First off, this is a highly technical wiki and _now_ wikipedia."
<wingrime> libv: not again
<ZetaNeta> wolfy, PROGRESS I SEE!
<libv> wolfy: heh :)
<ZetaNeta> wolfy, SOME PEOPLE STUCK ON THE TITLE!
<oliv3r> wingrime: there are obviously a few 'simple' documents that can be translated; nothing is ever black/white
<wolfy> at least in eastern europe now!=not even for large values of "t"
<wingrime> libv: also , who here are NATIVE speakers?
<oliv3r> but overal; translating each howto, every 'help' bit, is a big effort and won't be kept up to date
<oliv3r> i don't think we have many native english speakers; :)
<libv> wingrime: i think lkcl
<ZetaNeta> oliv3r, A better idea: "Local" communities
<oliv3r> so it's important we all communicate in the same language
<ZetaNeta> after all.. there are mysterious people who "Uses locales" in console!
<ZetaNeta> :D
Black_Horseman has joined #linux-sunxi
<oliv3r> if there are 10 $lang users that would spend all week translating; there wouldn't be a problem
<libv> wingrime: my native tongue is belgian dutch, my english is quite fluent, my written german is horrible but i am very fluent albeit incorrect when speaking, and i have had 8ys of french in school so i can fully understand most spoken and written french
<Nyuutwo> ZetaNeta: i tried to use, but not always right encodings in man pages ...
<libv> wingrime: and _i_ complain about translations
<wingrime> oliv3r: I not saying each FAQs , only general things
<oliv3r> general things, are ok to be translated
<libv> wingrime: all translations are bad
<oliv3r> but the other week, someone started to translate the main page to farsie
<wingrime> libv: ok, it's your opinion
<oliv3r> well question one could be 'why english' :p
<ZetaNeta> libv, All libs are bad
<libv> wingrime: how many languages do you speak then?
<libv> wingrime: how international are you?
<wingrime> libv: rus, eng, some jap
<ZetaNeta> Nyuutwo, BUT SOME DO!
<oliv3r> wingrime: ohh japanese! i'm jealous
<oliv3r> wingrime: will you go to fosdem btw?
<wingrime> oliv3r: not quite well
<ZetaNeta> wingrime, Da ti shto blya? Pravdo?
<libv> wingrime: i rather doubt the japanese
<wingrime> ZetaNeta: yobta
<wolfy> "Was Popolon his contribution an improvement" is not proper english either. libv , may I suggest ""Was Popolon's contribution..." ?
<libv> wolfy: fix it
<ZetaNeta> wingrime, Товарищи, забирайте товарищя!
<libv> wolfy: these days, my belgian family laughs at my dutch
<wingrime> libv: I quite understand jap speach, but writing is Horible
<libv> wolfy: it's half german
<libv> wingrime: across the park from me is mfabian
<libv> he speaks japanese and writes it too, he has his desktop in japanese and he has a japanese keyboard
* ZetaNeta added wingrime to his list of russian irc users
<libv> he did a postdoc in physics in japan for 2 years
<wolfy> libv: I apologize but I am not going to create an user just to edit one word. And since I am more a lurker than a developer, I doubt I'll ever have contributions to post in the wiki
<libv> and he spent a lot of time learning the language while there, while his other german colleagues just clumped together and had fun
<oliv3r> i want to learn mandarin
<ZetaNeta> oliv3r, I am user it wants to learn you
<ZetaNeta> s/user/sure
<libv> this guy has an encyclopedic memory and either researches something to death, or makes no statement about it
<libv> and he states that his japanese is rather bad
<libv> that even the limited conversations he has with his japanese wife are far from correct
<wingrime> libv: for me known some language means ability read something that not present in my native language, I may be learn something other, but there is no much interesing stuff for read that not translated to eng
<ZetaNeta> libv, I cant type dvorak, yet i got a dvorak keyboard
<libv> wingrime: this is not wikipedia
<ZetaNeta> "Why?|
<ZetaNeta> s/|/"
<wingrime> oliv3r: yeax, mandarin may be interesing
<libv> wingrime: wishing to learn a language does not mean that you have to fuck up the wiki for us
<wingrime> libv: Wikipedia is horible place
<libv> wingrime: then don't turn our wiki into it
<oliv3r> wingrime: besides, your english is fine!
<wingrime> oliv3r: not quite well
<libv> wingrime: more than good enough to contribute
<libv> wingrime: and miles ahead of being able to use our wiki
<ZetaNeta> wingrime, libv, Sunxi wiki is already a horrible place. I would rewrite it as soon as i get nginx back running on my fbsd
<libv> ZetaNeta: please don't.
<oliv3r> wingrime: quite enough :)
<ZetaNeta> libv, WHY?
<Nyuutwo> I don't feel confident when I am writing in english
<libv> ZetaNeta: fix what needs fixing, in english, when you encounter something that needs fixing
<ZetaNeta> libv, I am not touching you wiki. Why cant i write my own "non-wiki"
<oliv3r> if it's really bad; but technically accurate, someone will fix it sooner or later
<libv> Nyuutwo: relax
<libv> Nyuutwo: or just spend some more time in here
<Nyuutwo> it is probably good choice
<ZetaNeta> libv, I disagree with wiki format... I disagree with the "1000 and 1 page" format... I see everything unorganized...
<libv> ZetaNeta: that's what happens.
<oliv3r> ZetaNeta: so organize
<wingrime> oliv3r: english learn curve becomes harder for each step
<oliv3r> wingrime: grammatically; but really, I can understand you, always
<ZetaNeta> oliv3r, I guess my edits will be restored...
<Nyuutwo> with reading technical things I haven't any problems, but to compose a letter, even in native language ... i hate writing something wich seems official
<oliv3r> ZetaNeta: state your intentions, discuss, then act :)
<ZetaNeta> oliv3r, making a "wiki" was a wrong idea anyway
<libv> Nyuutwo: that's something else
<libv> Nyuutwo: this is about being able to communicate here and on email, and on understanding and improving the wiki
<libv> Nyuutwo: your english is outstanding for those purposes
<ZetaNeta> oliv3r, My idea is to make a "clean" site, and if everyone likes it....
<wingrime> oliv3r: technical reading or writing need very small set of words, using english only of it make my vocabuary smaller than it could be
<libv> and this really is the point, if someones grasp of english is good enough to make a translation, then he doesn't need to make a translation to begin with
<libv> wingrime: read a good english newspaper and some books
<Nyuutwo> but I know that I make silly bugs in my writings, but sometime I cannot find word to describe something in my native language
<vector80> I love linux-sunxi.org
<oliv3r> ZetaNeta: so we should do it in German; the technical language of old
<libv> Nyuutwo: top-tip: install dict
<libv> Nyuutwo: you get a nice list of related words with that
<libv> if you cannot find the fitting word for something, dict might get you there
<libv> Nyuutwo: it'll soon become second nature
<oliv3r> wingrime: but really; your technical expressions have been fine and welcome
<Nyuutwo> I hope so
<oliv3r> wingrime: don't be affraid :)
<ZetaNeta> wingrime, Thats why i am stating to forget english, and almost forgot russian....
<libv> ZetaNeta: what else have you forgotten?
<ZetaNeta> libv, How to write on URQL... partly
<oliv3r> ZetaNeta: do you speak esperanto?
<ZetaNeta> oliv3r, No, but i speaakshfoshgiohgianfgadnhioadnhgnwrmoh
<oliv3r> ZetaNeta: lol well if we lived 80 years ago; the wiki would have probably be in german
<wingrime> oliv3r: indeed , If you able make someone understand using english, it's not always means you know it well, so I need more literature reading
<ZetaNeta> А еще я умею говорить как цветная капуста!
<ZetaNeta> oliv3r, True
<oliv3r> wingrime: more IRC time :p you practise reading and writing :)
<libv> oliv3r: i think there was a congressional vote in the .us in the 1800s on which official language to adopt
<ZetaNeta> oliv3r, Eh... the times when German, Russian and jap internet been "large"
<mnemoc> "english is the easiest language to speak badly" (tm)
<libv> oliv3r: there was some margin, but german was a big contender
<wingrime> oliv3r: IRC not impove grammar...
<oliv3r> if it weren't for wwii; technical english would have been german
<oliv3r> well and maybe ww1
<ZetaNeta> oliv3r, German is for lazy asses
<oliv3r> anyhow, as things are going, the new internatinoal language may be very well mandarin
<oliv3r> so ZetaNeta start learning; start translating
<ZetaNeta> oliv3r, "Learn BF"
<libv> oliv3r: thanks to the great chinese firewall, it isn't :p
paulk-collins has quit [Quit: Ex-Chat]
<oliv3r> ZetaNeta: btw http://www.digikey.com/product-detail/en/MT9P401I12STC/557-1263-ND/1653634 looks like a good sensor; problem is, getting a datasheet so you can talk to it
<wingrime> libv: why not use latin in wiki for great justice ?
<oliv3r> ZetaNeta: 1080p at 30fps, but ask for a sample, with datasheet :)
<libv> wingrime: because that's not the reality of today.
<oliv3r> how do you reach the largest audiance
<oliv3r> how can you communicate with the most users
<libv> oliv3r: put a picture of a pair of breasts on the front page?
<libv> but that will not help us with technical stuff :p
<ZetaNeta> oliv3r, I am forbidden to sign NDAs before i find where to buy good fake mustaches
<oliv3r> who cares when there's boobs
<oliv3r> ZetaNeta: lol
<libv> oliv3r: we should have a separate wiki then
<ZetaNeta> oliv3r, Know any shops? You should be a expert in this
<wingrime> mnemoc: are you added CAN manual to dl.linux-sunxi ?
<libv> oliv3r: where the front page has a pair of boobs, and where we can banish all translations too :p
<mnemoc> wingrime: /A20
<wingrime> mnemoc: nice
<oliv3r> ZetaNeta: mustache? i shaved mine after moovember
<Nyuutwo> I think it is something different, when I want find some easy and durable circuts, I search in russian sites, but when I look for microcontrolers I use english
<ZetaNeta> oliv3r, I got a mustache... but i need to glue 1 on another i guess in this case
<Nyuutwo> I can decypher russian text, and polish sounds simillar
<oliv3r> Nyuutwo: durable circuits from the cold war :p
<Nyuutwo> oliv3r: yup, build with mighty hammer
<ZetaNeta> oliv3r,
<Nyuutwo> like ham radio amplifiers built on russian lamps
<ZetaNeta> Do you have a open port on you desktop i can access from out side?
<oliv3r> ZetaNeta: not really :p
<ZetaNeta> oliv3r, Anywhere else?
<ZetaNeta> type "nc -l -p PORT > datasheet.pdf"
<ZetaNeta> and gime ip in private XD
<ZetaNeta> Or you want a straight link?
<oliv3r> ZetaNeta: straight works :p
<ZetaNeta> click on datasheet thingy
<oliv3r> yeah got it; cool
<ZetaNeta> is this the thing?
<oliv3r> 5MP is a bit low isn't it :p
<ZetaNeta> Doesnt tell much...
n01 has joined #linux-sunxi
<ZetaNeta> 5MP... I rarely use a camera to understand
<oliv3r> Figure 3 is important
<ZetaNeta> But i need something "very HDish and very HDish"
<wingrime> oliv3r: 5mp or 8mp all the shit when it have no optics
FreezingCold has quit [Ping timeout: 276 seconds]
penghb has joined #linux-sunxi
<oliv3r> wingrime: very true
<oliv3r> you want solid lenses
<wingrime> oliv3r: tiny window -> less light -> more gain in sensor -> more noice
<wingrime> *noise
<ZetaNeta> I was going to use it in "not even street lights" night
<oliv3r> wingrime: well this sensor is 'huge'
<Nyuutwo> so you don't want so much megapixels in your sensor, but psyhical dimensions
<oliv3r> looks like it goes into a digital mirror camera
<oliv3r> bed time
<oliv3r> nn
<Nyuutwo> ZetaNeta: probably the best option would be IR camera with some IR light
<ZetaNeta> oliv3r, No one wants you in the bed. Stay with us!
FR^2 has quit [Quit: und weg...]
<Nyuutwo> ZetaNeta: in dark room i suspect medium noises
<ZetaNeta> Nyuutwo, I am "outside"
<ZetaNeta> + i dont need to be "smooth" when shaking the cam, but i want not to lose sharpness
<wingrime> ZetaNeta: also, noice reduction require camera have strong DSP with may corrections
<Nyuutwo> I know but for me, it would be hard to get hdish which has sensible amount of noise
<Nyuutwo> And also optics
<ZetaNeta> I dont really care about moderate noice as long as it doesnt affect the sharpness
<wingrime> Nyuutwo: cheap camera with optics
deasy has joined #linux-sunxi
<Nyuutwo> ZetaNeta: maybe check some block cameras
<wingrime> Nyuutwo: Nikon Coolpix L27 -- very cheap, it may be possible to use somehow??
<Nyuutwo> wingrime: technical probably yes, but you need reverse-engineer it
<wingrime> Nyuutwo: modern cameras have andorid, and linux kernel in opensource
<Nyuutwo> oh
<Nyuutwo> it makes things easier
<ZetaNeta> brb
<Nyuutwo> raw video is so large ...
<ZetaNeta> i need to go, but tomorrow il read the log
<ZetaNeta> Nyuutwo, As long as A10 can handle it
<ZetaNeta> I can buy a 500gb ssd
<Nyuutwo> ZetaNeta: problem gerring out video from camera
<ZetaNeta> Or even bigger with HDD... but i am not sure about portability
<ZetaNeta> Nyuutwo, Exactly
<Nyuutwo> ZetaNeta: you don't want raw video
<ZetaNeta> If i am getting a "Real and readymade" camera, i need a way to decode HDMI... and thats around of много сотен нефти
<ZetaNeta> If i am getting one of those...
<Nyuutwo> neat, but compression must be on it (can ofc reencode for saving on aw)
<wingrime> Nyuutwo: also, don't forget about magic wifi sd-card's
<ZetaNeta> Nyuutwo, Well, if i can get raw, i would prefer raw :3
<Nyuutwo> speed
<ZetaNeta> wingrime, is there microsds with wifi?
<wingrime> ZetaNeta: not sure about microsd, but SD (fullsize) have
<ZetaNeta> wingrime, But again... wifi cant transfer HD in real time...
<ZetaNeta> so.. brb, discuss, il read logs tomorrow.
<ZetaNeta> Now... SLEEP!
<Nyuutwo> yuv422 720p@30Hz is whoopin 44,5MBps
<libv> Nyuutwo: hah!
<libv> Nyuutwo: this _is_ inet
<libv> Nyuutwo: has a picture of antutu
<Nyuutwo> some gige have problems with this amount of data
<libv> build number: A20_K1001_K1001L.20130417
<vector80> Nyuutwo: have you ever tried camera streaming on A20 via gstreamer or similar ?
<libv> Kernel: 3.3.+(inet-soft@inet)
<libv> hence the iK100-C- on the sticker on the board
<libv> inet-tek.com doesn't list it though
<Nyuutwo> mine built on another machine/user
<Nyuutwo> vector80: not on A20
<vector80> Any aw SoC ?
<Nyuutwo> on imx6, with compression
<vector80> I asked this, because there is no documentation / example for how to do it with CSI ?
<Nyuutwo> vector80: I haven't tried on aw but I don't know how good v4l capture is done in aw
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
<Nyuutwo> vector80: CSI as Common sensor interface or common serial interface?
<vector80> Camera interface
<vector80> I want to make a video intercom
wingrime has quit [Read error: Operation timed out]
<vector80> Stream via rtsp
<vector80> capture & encode & stream
<Nyuutwo> vector80: paraell or serial
<vector80> paralell
<vector80> hi253
<vector80> my current camera seems fine, 800x600@30fps
<Nyuutwo> vector80: encode can be hard - aw doesn't have now hw accelerated encoders
<vector80> really ?
<Nyuutwo> vector80: software is missing
<Nyuutwo> *drivers
<vector80> How they encode the video when running skype on android ?
<Nyuutwo> in linux
<vector80> You mean, android kernel have drivers for encoding, but linux port doesn't have?
<Nyuutwo> but on wiki they mentoin VLC with patches
<Nyuutwo> vector80: Cedarx userspace blob
<Nyuutwo> I haven't worked with it
<vector80> omg
<Nyuutwo> and also bindings to gstreamer
<Nyuutwo> much work to be done
<vector80> So, nobody did that before on aw ?
<vector80> They made xbmc, because they needed only decoding part?
<Nyuutwo> vector80: probably yes but, I didn't have time digging to this byte of code
<Nyuutwo> now i have nonworking LVDS on LCD side
<vector80> Nyuutwo: how Merri is running their QT based app on their linux BSP with camera ?
<vector80> Let me check this with them..
<Nyuutwo> vector80: I said encoding
<Nyuutwo> capturing I assume it is working
<vector80> Oh yes, without encoding, they can still display something
<Super-noob> do those cheap a20 tablets really hove only 512mb ram ?
<vector80> capturing and saving as h.264 doesn't incorporate encoding ?
<Nyuutwo> vector80: camera gives you raw video
<vector80> yes, how they save as mp4 file?
<Nyuutwo> Super-noob: don't forget memory reserved for mali, g2d and some script crap (afair)
<Nyuutwo> vector80: linux or android?
<vector80> linux
<vector80> Did you see hummingbird ?
<libv> Nyuutwo: i
<libv> 've fixed up many small bits
<libv> Nyuutwo: thanks
netlynx has quit [Quit: Leaving]
<libv> Nyuutwo: i am on the lookout now for the same device, although i really shouldn't, but the panel does seem rather special
<Nyuutwo> vector80: if it is not so much resolution and easy codec, why not in software
<libv> heh, it's been a week already since i was poking at display stuff
<Nyuutwo> in skype you don't need so much fidelity, and you use crappy front camera
<vector80> Nyuutwo: consider 800x600@30fps via h.264, can ffmeg do that via A20 ?
<vector80> s/ffmeg7ffmeg
<vector80> s/ffmeg/ffmeg
<vector80> s/ffmeg/ffmpeg
<vector80> I will crash this keyboard now
<Nyuutwo> vector80: x264 .p
ssvb has quit [Ping timeout: 245 seconds]
jinzo has joined #linux-sunxi
jinzo has joined #linux-sunxi
jinzo has quit [Changing host]
Akaizen_ has quit [Remote host closed the connection]
<Super-noob> do the modern chips not have x264 codecs in hardware ?
n01 has quit [Ping timeout: 264 seconds]
<vector80> http://dl.linux-sunxi.org/A10/A10 Camera Sensor equipment drive development (2012-01-30).pdf This one seems interesting
<vector80> It mentiones about V4L2
<vector80> But doesn't mention about encoding..
<Nyuutwo> vector80: like I said
<Nyuutwo> there are different things
<Nyuutwo> writing (copypasting existing driver) for sensor is not hard
<Nyuutwo> (when mode in which you want to connect camera is supported in interface driver)
<Nyuutwo> I have experience in it
<vector80> Nyuutwo: so, as a result, you mean, if I capture 320x240@20fps from my camera, and encode via ffmpeg , then this seems the only way?
<Nyuutwo> for this moment yes
<vector80> Clear
<vector80> I will push aw
<vector80> Let see what we can get..
<vector80> I think this is the worst point for aw atm
<vector80> I agree with oliv3r, this is one of the most opensource SoC in the market,
<vector80> but without HW encoding, it is missing one of the most important feature..
pirea has joined #linux-sunxi
<Nyuutwo> vector80: and High profile
<Nyuutwo> really
<vector80> BTW, my TFTP+NFS booting is completed... Does somebody need a tutorial from a beginner :)
<vector80> HP@HL
<vector80> ?
<vector80> I feel sunxi-uboot have problem for downloading script.bin and uImage via NFS
<vector80> When you try this, in the end of each file, it timeouts, timeouts... after 4 times, it completes the file..
<Nyuutwo> I want hack my scope (no changes on flash), so I will use UART,USB,ETHERNET(via usb), rootfs via nfs
<Nyuutwo> vector80: try limiting max blocksize
<Nyuutwo> in tftp server
<vector80> TFTP is working perfect
<vector80> NFS has problem
<Nyuutwo> wait
<vector80> If you download same file to same memory address via TFTP, it is a little slower, but it allways OK
<Nyuutwo> u-boot with nfs?
<vector80> yeah
<libv> vector80: i am not sure whether that is in the wiki already
<vector80> libv: let me check
<libv> vector80: if it isn't, please do add, if not, fix up what is there
<libv> vector80: check the freshly, somewhat fixed u-boot page
<Nyuutwo> I didn't even consider u-boot and nfs
<libv> vector80: we need a separate page though
<Nyuutwo> but gpxe and http ....
agath_at_work_pd has quit [Ping timeout: 252 seconds]
<Nyuutwo> meh, need sleep
<vector80> libv: yes, there is already a very nice wiki
<vector80> somebody already did it
<vector80> and it is very nice,
<vector80> but only thing that I couldn't understand is... What is a dtb file?
<libv> vector80: only needed for mainline kernel
<libv> vector80: device tree binary
<libv> i think
ganbold_ has quit [Remote host closed the connection]
<vector80> libv: Can I create pages and put some content on the wiki ?
<vector80> Do I have such rights?
<vector80> Nyuutwo: Thank you very much, have a good sleep
<vector80> libv sorry, doing
<vector80> I will kill myself one day
<Nyuutwo> vector80: for media imx6 is neat platform (mostliy everything works, but have some pair of brainfarts)
<Nyuutwo> but aw has potential
<libv> vector80: if you create an account, you can do all the normal wiki stuff
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<Nyuutwo> just aw see potential of your chips not only in tablets
<vector80> I totally agree
<vector80> pls compare prices...
mrnuke has quit [Read error: Operation timed out]
<vector80> A20 + AXP209 is just 6.25 USD
<vector80> If you buy over 10K, price goes down down...
mrnuke has joined #linux-sunxi
<vector80> A20 CoM module is just USD27...
Night-Shade has quit [Ping timeout: 264 seconds]
Super-noob has quit [Ping timeout: 272 seconds]
<vector80> Have a good night everybody, many many thanks again...
vector80 has quit [Remote host closed the connection]
micko__ has quit [Quit: Page closed]
rz2k has quit []
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
<pirea> what is new in kernel 3.10?
ssvb has joined #linux-sunxi
pupo has joined #linux-sunxi
adb has quit [Ping timeout: 252 seconds]
pupo has quit [Quit: Page closed]
pupo has joined #linux-sunxi
pupo has quit [Client Quit]