<Turl>
[7]: it's not calibrated (missing idc file)
<Turl>
[7]: add that and it'll be all good
<[7]>
probably
<[7]>
but why doesn't it find my idc file?
<Turl>
[7]: the device name may have changed
<Turl>
[7]: run getevent and check the device name (it's printed on top)
<Turl>
your filename should match that
naobsd has quit [Quit: Page closed]
<[7]>
blargh
<[7]>
it's sun4i-ts instead of sun4i_ts
<[7]>
let's see
<eagles0513875>
hey Turl long time no c
<Turl>
hi eagles0513875
<eagles0513875>
finally have come back to my project with my cubieboard 2
<eagles0513875>
i have the images ready to go :)
<eagles0513875>
question becomes how would i install said images on my devices flash memory
<Turl>
eagles0513875: what kind of images?
<eagles0513875>
buildroot
<eagles0513875>
how do i flash it on to the flash memory of my board
<[7]>
the internal flash boot process is very android-oriented
<[7]>
booting linux from that is a bit tricky, but doable
aesok has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<Turl>
eagles0513875: booting from nand is not really straightforward
<eagles0513875>
oh
<eagles0513875>
what would i need to do?
<Turl>
you need to use the allwinner bootloaders
<Turl>
and to be able to 'flash' it you'd need to make a livesuit image out of it
<eagles0513875>
oh and build root doesnt build one for you?
<Turl>
eagles0513875: not that I know of
<[7]>
you can also boot linux from an sd card and rewrite the internal flash from there, can be easier than making a livesuit image
<eagles0513875>
[7]: im n ot using a linux distro
<eagles0513875>
im using build root to get me a base root system
<eagles0513875>
and go from there
<[7]>
well you could use e.g. a debian image to make a card that you use to flash whatever you want to the internal memory
<[7]>
you can't easily install the bootloaders that way, but usually those are already present
<eagles0513875>
im trying to keep this system as minimal as possible
<eagles0513875>
in the sense that it just goes right into the software
<[7]>
sure
<[7]>
but just using something readily available as a tool can make things easier
<Turl>
eagles0513875: if I were you I'd use a sd card to keep it minimal
<eagles0513875>
then the 4gb of internal memory is a waste
<Turl>
at least during development, if it needs to go to production you can work it out later on
<eagles0513875>
ya im planning it to go to production eventually :)
<eagles0513875>
im working on a prototype for sure :)
<[7]>
if you really want to mess with livesuit, I can give you some files tomorrow
<[7]>
took me like a week to get that mess working for android
<[7]>
linux with a FAT boot partition might work as well with that setup
<[7]>
linux with the kernel on ext2/ext4 would need even more work
<[7]>
using an sd-card based flasher will almost certainly be easier though
miseria has joined #linux-sunxi
<miseria>
"el hombre nace, crece y camina en busca de la verdad; pero descubre que, es inocente condenado a pena de muerte" bienvenidos: http://castroruben.com*temo_a_un_ser_sin_rival*
miseria has quit [Client Quit]
<Turl>
again? :/
<Turl>
mnemoc: ^ can you +b?
Tsvetan has quit [Ping timeout: 245 seconds]
popolon has quit [Quit: Quitte]
Gerwin_J has quit [Quit: Gerwin_J]
Sonicadvance1 has quit [Remote host closed the connection]
jinzo has quit [Quit: Leaving]
Sonicadvance1 has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
geecko has quit [Ping timeout: 260 seconds]
prasannapete has joined #linux-sunxi
miseria has joined #linux-sunxi
<miseria>
"el hombre nace, crece y camina en busca de la verdad; pero descubre que, es inocente condenado a pena de muerte" bienvenidos: http://castroruben.com*temo_a_un_ser_sin_rival*
miseria has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
y0g1 has joined #linux-sunxi
y0g1 has quit [Client Quit]
y0g1 has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
y0g1 has quit [Remote host closed the connection]
NermaN has joined #linux-sunxi
y0g1 has joined #linux-sunxi
<NermaN>
Why load average on allwinner always higher than 1.0?
Sonicadvance1 has quit [Ping timeout: 240 seconds]
y0g1 has quit [Read error: Connection reset by peer]
deasy has quit [Ping timeout: 272 seconds]
y0g1 has joined #linux-sunxi
Sonicadvance1 has joined #linux-sunxi
t3ngu has joined #linux-sunxi
<wens>
arokux: did you get gmac (from allwinner) in u-boot to work before?
<t3ngu>
good morning
ganbold has quit [Remote host closed the connection]
<oliv3r>
juanfont: there was some patches, so I would expect it to be so, haven't heard much about it though
<t3ngu>
hello, I have a short but imho hard question regarding spdif output and the ct :)
wolfy has joined #linux-sunxi
maz_ has quit [Ping timeout: 240 seconds]
<t3ngu>
I have modprobed the modules sunxi-spdfi sndspdif and all, I can see the card, but it looks 'shutdown' as no properties are advertised. cat /proc/asound/card1/pcm0p/sub0/hw_params
<t3ngu>
closed
n01 has quit [Ping timeout: 260 seconds]
n01 has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has quit [Changing host]
notmart has joined #linux-sunxi
tomboy64 has quit [Remote host closed the connection]
Black_Horseman has quit [Remote host closed the connection]
hansg has joined #linux-sunxi
rz2k has joined #linux-sunxi
popolon has joined #linux-sunxi
<oliv3r>
hno: 7 children? Wow, busy man! While I always wanted that many children or more! I'm stuck at 0 for now and don't know if it's even possible to get that many :)
<arokux>
wens: yes, with jemk 's patches
netlynx has joined #linux-sunxi
deasy has joined #linux-sunxi
<montjoie[home]>
7 children, what a great HWRNG
<wens>
arokux: jemk's branch uses designware driver? i was hoping for the allwinner one working
<arokux>
wens: dw
gzamboni has quit [Read error: Operation timed out]
gzamboni has joined #linux-sunxi
sspiff has joined #linux-sunxi
<oliv3r>
Turl: good morning
<Turl>
hi oliv3r
<oliv3r>
:)
<Turl>
oliv3r: 'sup?
<oliv3r>
i saw you mailing before saying hi here :p
<oliv3r>
anhow, oyur up early!
<Turl>
:p
hansg has quit [Quit: Leaving]
xeros has quit [Quit: leaving]
<oliv3r>
Turl: have you tested sata yet on any of your devices? (mele?)
<Turl>
oliv3r: nope, I don't have any spare sata disks :(
<Turl>
oliv3r: it's a bit ironic that I've got a mele and use an usb disk on it :p
<oliv3r>
:p
<oliv3r>
need a few more testers on diff platforms though
<oliv3r>
and more dts files to push :(
<oliv3r>
open up your usb disk!
<oliv3r>
i pushed my current WIP to github (as seperate patches now :)
<t3ngu>
hello, I have a short but imho hard question regarding spdif output and the ct, I have modprobed the modules sunxi-spdfi sndspdif and all, I can see the card, but it looks 'shutdown' as no properties are advertised. cat /proc/asound/card1/pcm0p/sub0/hw_params closed
<oliv3r>
t3ngu: i have zero experience with sound, sorry
<Turl>
same
<Turl>
but maybe you need to turn it on with alsamixer or something?
<oliv3r>
right gonna test it now on the cb1
<gzamboni>
is the branch sunxi-3.0 broken ?
<oliv3r>
gzamboni: it hasn't been touched in a while
<oliv3r>
gzamboni: so quite possibly it could be
<Turl>
gzamboni: it shouldn't be, but it's pretty outdated
<Turl>
only supports sun4/5i
<gzamboni>
i want to check my fmin, it was working in 3.0 and now it isnt
<t3ngu>
I had to enable sndspdif sunxi_sndspdif sunxi-spdif sunxi-spdma these modules from kernel
<oliv3r>
rm: i think libv said you could, but don't quote me on that
gzamboni has joined #linux-sunxi
<oliv3r>
having a drive connected doesn't make a diff :(
<wens>
can the mmc driver support SDIO?
<oliv3r>
wens: it should;hansg has picked up that work
<oliv3r>
lets test it on CB2 then
<wens>
oliv3r: i might as well try enabling the other controller
<wens>
test what?
<oliv3r>
sata only works on cb3 right now, tested cb1 it fails, so going for cb2 now
<oliv3r>
which should work
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<wens>
did the drive spin up?
<oliv3r>
ssd; so I can only assume :p
<oliv3r>
but the kernel crashes/halts so more then just that should be up
<libv>
rm: no, using it on debian will likely not work.
<libv>
rm: as dependencies will differ]
<oliv3r>
i was wrong :)
<libv>
well, it might work, but most likely not
<libv>
but on the other hand, it's only a few packages, and only 2 are actually useful today
<libv>
the libump will work everywhere though, as it only depends on libv
<libv>
err, libc, next char
<libv>
fbturbo, that depends on the xorg version
<oliv3r>
mripard_: what does this mean: reg-fixed-voltage ahci-5v.3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
<Turl>
oliv3r: deferred probe is not a failure, it just means it wasn't there by the time it checked
<oliv3r>
ah ok, because he pinctrl is loaded a few lines later?
<Turl>
likely
<oliv3r>
i don't see any crash or nothing
<oliv3r>
hmm, and now i get 'error reading cluster' on my mmc :(
<oliv3r>
(again, i even dd /dev/zero'ed it and recreated partitions and everything
rings_IIV has quit []
<oliv3r>
cubieboard2 with cubietruck dtb and kernel load fine (sata filas, but that's not a huge supprise
<oliv3r>
gpio for power is diff
<wens>
isn't the layout for cb2 the same as cb?
<wens>
cubietech never released layout for cb2
<oliv3r>
yeah, cb2 works with correct dtb
<oliv3r>
so why is my mmc card failing :S
<oliv3r>
using diff sd card it works fine
<oliv3r>
cb1 and cb2 are 100% identical
<oliv3r>
so that's the same schematic
<oliv3r>
the yjust swapped the SoC (it was pin compatible)
<oliv3r>
so sata for a20 seems to work fine
<oliv3r>
now to figure out why sata on A10 doesn't work
<Turl>
oliv3r: did you review the interrupt thing hans mentioned on A10?
<oliv3r>
i read it
<oliv3r>
but it goes beyond my expertise
<oliv3r>
ok using diff sd card atlest makes those cluster errors go away
<oliv3r>
it still hangs :(
<oliv3r>
but let me disable emac, as i know emac is broken on my cb1
<wens>
assuming the wifi/bt module on ct will work with mainline drivers as-is, where should we put the related pinmux/gpio stuff?
<t3ngu>
wens: it works for me.
<t3ngu>
at least wifi does for sure
<oliv3r>
for mainline kernel? in the dtb of course; in 3.4 ... fexify it :(
<t3ngu>
3.4.61+
<wens>
t3ngu: yeah, mine works in 3.4 as well. we're talking about mainline :)
<oliv3r>
dtb :)
<t3ngu>
missed it sorry.
<t3ngu>
:(
sspiff has quit [Quit: Konversation terminated!]
<wens>
oliv3r: so register it with a dummy device? or the sdio controller?
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<oliv3r>
wens: good question
<oliv3r>
mripard_: ^
<wens>
the bluetooth device won't even be in the dtb. it's connected via uart
sspiff has joined #linux-sunxi
<oliv3r>
but it does have a gpio doesn't it
<oliv3r>
bah it really doesn't work on sun4i :(
<wens>
yes it does. both wifi and bt have a seperate pin that needs to be asserted (or deasserted, need to check specs)
<wens>
other than that, bluetooth is mostly userspace stuff
rz2k has quit [Ping timeout: 252 seconds]
<wens>
torbenh3 gave it a try recently
BluesBoy- has joined #linux-sunxi
<oliv3r>
cool; should make it rather easy
<oliv3r>
but it'll need dtb entry
<oliv3r>
dunno how :)
BluesBoy has quit [Ping timeout: 245 seconds]
BluesBoy- is now known as BluesBoy
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
<t3ngu>
sorry to bug again, I have never had experience with fex stuff :) I am still struggling to find out how to enable the spdif. According to http://linux-sunxi.org/Fex_Guide#system_configuration there are some entries regarding the spdif, and sound. As Turl suggested I am searching for script.bin file (to translate it to fex and then back to bin) but I cant find either/or. Any pointers? any documentation that I can read before start messing
<t3ngu>
I have also downloaded and compilde the sunxi tools from git.
<t3ngu>
but...
<oliv3r>
t3ngu: you can't find your own script.bin?
<oliv3r>
mount your /dev/nanda and it should be there
<t3ngu>
i dont have one on the truck
<t3ngu>
i am booting from it
<oliv3r>
fex2bin bin2fex are int he sunxi-tools repositories
<t3ngu>
(nand)
<oliv3r>
t3ngu: /dev/block/nanda then
<oliv3r>
oh you have a nand-less one?
<oliv3r>
check the cubietruck fex file from sunxi-boards then
<oliv3r>
and disbale the nand section ;)
<t3ngu>
the / is mounted from nand
<t3ngu>
but I have seperate mount points on sd for /usr /var /home /opt etc
<eagles0513875>
i get with the above files missing
<eagles0513875>
O_o
<eagles0513875>
is that a problem with me or the script
<wens>
hno: oh, i was talking about the crypto engine
<hno>
wens, right, my confusion.
<hno>
yes there was someone looking at the crypt engine. Don't remember who however.
<eagles0513875>
can i copy everything in the images directory or just the images directory to my memory card seeing as the above command isnt working for me
<n01>
eagles0513875: please read the readme. What is your <images_dir>?
<eagles0513875>
output/images
<eagles0513875>
n01: ^
<n01>
... eagles0513875 absolute path
<eagles0513875>
ahh ok /home/jaquilina/buildroot/output/images
<eagles0513875>
then this point in the readme isnt right it doesnt mention at all an absolute path - <images_dir> is the directory containing the generated files (usually output/images)
<n01>
no eagles0513875 it is obvious that you _must_ use absolute or relative path
<hno>
wens, is there a gbit PHY on Cubietruck? Had the impression it's only a 10/100 PHY.
<eagles0513875>
ok
<deasy>
hno, it's a gigabits
<Turl>
hno: cb2 has a 10/100 one
<deasy>
but actually doesn't work after 3.4 kernel
<deasy>
ony works in 10/100
<deasy>
likhum i'm not clear
<hno>
ok. good.
<deasy>
like say on the ML : <3.4 10/100 after doesn't works
<t3ngu>
hno: i'm running 3.4.61+ and my eth0 is linked on 1000
<t3ngu>
mii-tool
<t3ngu>
eth0: negotiated 1000baseT-FD flow-control, link ok
<deasy>
"however gigabit does work under 3.4 kernel." hum sorry :p
<deasy>
he is right
drachensun has quit [Quit: Leaving]
<eagles0513875>
now for the moment of cubieboard 2 truth
<eagles0513875>
:D
<wens>
hno: it's a gigabit phy
netlynx has quit [Quit: Ex-Chat]
<gzamboni>
ok, fmin is working, my bad
tzafrir has quit [Ping timeout: 240 seconds]
geecko has joined #linux-sunxi
<libv>
oliv3r: are you really using a 500mA V5 psu?
<libv>
oliv3r: if i remember correctly, tsvetan discovered that powerdraw for A10 is significantly higher than for A20
tzafrir has joined #linux-sunxi
<oliv3r>
libv: nah, i have it connected to my monitor; but two cables atm
<oliv3r>
got nothing else here atm
<oliv3r>
but 0.35 mA max for the SSD
<oliv3r>
libv: i though tit was lower; but i will get a real power block tomorrow with me to work when i do some testing
<oliv3r>
but if nand driver with all the whistles loads sd; and my ssd kernel hangs at sata, it could be sata driver :p
<oliv3r>
also hramrach and hansg gonna test cb1 i think so that should give a better indicator
<oliv3r>
my CTruck I run off of 500+ mA monitor HUB too, but i have a battery connected as well, so that'll catch all the bumps easily
<eagles0513875>
guys what is the default tty serial port for the cubieboard 2
<wens>
eagles0513875: ttyS0
<eagles0513875>
O_o
<eagles0513875>
odd
<eagles0513875>
its not working for me
<wens>
oliv3r: does the battery get charged if we don't have driver for AXP209?
<eagles0513875>
im trying to connect with putty wens and its unable to connect
<oliv3r>
wens: sure
<wens>
eagles0513875: baud rate 115200?
<oliv3r>
wens: it even charges when it's 'off'
eebrah has joined #linux-sunxi
<eagles0513875>
wens: yes
<oliv3r>
eagles0513875: bootloader should nearly always print something
<oliv3r>
actually the nand bootloader will; and our u-boot aswell
<oliv3r>
so if both don't print anything; it must be on the usb end
<oliv3r>
either your adapter or PC
<eagles0513875>
thing is its not even connecting to the serial port
<wens>
eagles0513875: you have the right com port on your pc?
<eagles0513875>
im using putty
<wens>
eagles0513875: i know, putty asks you to type in the serial port, doesn't it?
<eagles0513875>
no just the serial line and baud speed
<wens>
so are you using the correct serial line? if yes, then you should always get a connection
<wens>
unless some other program is using it
<wens>
if you get a connection but no output, try reversing tx/rx pins
<n01>
eagles0513875: ttyS0 is not the serial line to put in putty
<eagles0513875>
n01: i tried ttyUSB0 and that didnt work
<oliv3r>
eagles0513875: if you use putty, that means you are using windows (most likly) remember windows likes to re-enumerate your comport so doublecheck the number in the device manager as it could be differentfrom yesterday
<oliv3r>
eagles0513875: you port COM5 or something in
<oliv3r>
ttyUSB0 and ttyS0 are linux terms
fredy has quit [Excess Flood]
<oliv3r>
serial line IS the port btw
<n01>
what does dmesg say? (I hope you are on linux)
<oliv3r>
so put in COM5 or whatever your comport is enumerated as and 115200 for the speed
<oliv3r>
n01: he's not
<n01>
he just used buildroot
<oliv3r>
unless he installed putty for linux, while it exists i don't think anybody uses it? :)
<eagles0513875>
oliv3r: what should i use instead
<oliv3r>
linux :D
<n01>
minicom
<eagles0513875>
dmesg says [ 5080.032422] usb 3-1: pl2303 converter now attached to ttyUSB0
<t3ngu>
tip
<t3ngu>
;)
<eagles0513875>
im on linux btw
<oliv3r>
ah thank the gods :p
<eagles0513875>
kubuntu 13.10
<oliv3r>
nvm then what I said :p
<keebler>
screen works great for me.
<oliv3r>
try using /dev/ttyUSB0 then
<eagles0513875>
oliv3r: putty doesnt like it
<oliv3r>
but screen /dev/ttyUSB0 115200 is what I use and love
<eagles0513875>
i remember when i first started working on this prior to the board even being supported i had to use a newer version of uboot and the kernel
<oliv3r>
unzip that then do dd if=thatfile of=/dev/sdyoursdcard bs=1024 seek=8
<oliv3r>
the file should be u-boot-sunxi-with-spl.bin btw from the zip
<eagles0513875>
oliv3r: i remember there was somewhere where i could specify what version to use in buildroot and it will download and extract
<swabbles>
OK, I'm a Gentoo user so I was a bit surprised by the fact that you have to provide the rev. number.
<eagles0513875>
swabbles: im using buildroot so it could be a quirk to buildroot
<eagles0513875>
im seeing it compiling the kernel should i be worried about everythign being modularized?
<swabbles>
If it uses the default config for the device you want to run it on, you should be fine.
<eagles0513875>
ya i ran def conf only now with some minor changes
<eagles0513875>
nice 7 min 30 sec to rebuild
<eagles0513875>
oliv3r:
<eagles0513875>
it seems like when copying the image again it reformats the microsd for you in fat32
<eagles0513875>
3>[mmc-err] update clock timeout, fatal error [ 5.328284] [mmc-err] update clock timeout, fatal error this due to me not being connected to the internet
<oliv3r>
rwmjones: has to do with your libc iirc; running HF binaries on a non HF system or something
<oliv3r>
but it's extremly rare that a10-meminfo FPE
<oliv3r>
but you are running it on an A31 right? so its' no supported anyway :p
<oliv3r>
a10 meminfo only runs on a10 and a20
<oliv3r>
a31 is broken :p
_massi_ has quit [Quit: Leaving]
<rwmjones>
ok
<rwmjones>
oliv3r: well anyway I posted the fex file on the mailing list :-)
geecko has joined #linux-sunxi
tomboy64 has quit [Quit: Uhh ... gotta go.]
<oliv3r>
rwmjones: well we don't relaly do anything with A31
<oliv3r>
though shall shun powerVR :p
* rwmjones
doesn't care about GPUs anyway ...
<rwmjones>
I only care if it has hyp mode & a network connection
<oliv3r>
alla bout sending the wrong singal n stuff
<rwmjones>
funnily enough imagination technologies's global headquarters is 3 miles away from here
eebrah has quit [Ping timeout: 272 seconds]
<oliv3r>
rwmjones: oh really lol
netlynx has joined #linux-sunxi
kivutar has quit [Quit: Ex-Chat]
KBme has quit [Ping timeout: 240 seconds]
FR^2 has joined #linux-sunxi
wingrime has quit [Ping timeout: 272 seconds]
<hramrach>
technically a31 may have most powerful memory controller from AW SoCs
adb has joined #linux-sunxi
<hramrach>
and pengpod has some tablet or something based on a31
<hramrach>
but not sure how much Linux support for a31 you get in general. very little talk about it
panda84kde has quit [Quit: Konversation terminated!]
rz2k has quit []
<oliv3r>
had :(
<oliv3r>
but he wanted to go for a31; which i thjnk nacked them
<rwmjones>
*android* performance is fantastic, not that that necessarily means much
<rwmjones>
and of course it does have 4 cores ..
<oliv3r>
there's that :)
Taduro_ has quit [Read error: No route to host]
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
Taduro has joined #linux-sunxi
tek has joined #linux-sunxi
Fusing has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
netlynx has quit [Quit: Leaving]
tek has quit [Quit: Bye bye]
rings_IIV has joined #linux-sunxi
rellla3 has joined #linux-sunxi
andoma has quit [Ping timeout: 272 seconds]
tomee^ has joined #linux-sunxi
aesok has joined #linux-sunxi
Fusing has quit [Ping timeout: 252 seconds]
flatr0ze_ has quit [Remote host closed the connection]
andoma has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
techn_ has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
techn__ has quit [Ping timeout: 260 seconds]
ssvb has quit [Read error: Operation timed out]
Fusing has joined #linux-sunxi
tomboy64 has quit [Quit: Uhh ... gotta go.]
tomboy64 has joined #linux-sunxi
tomboy64 has quit [Client Quit]
KBme has joined #linux-sunxi
ssvb has joined #linux-sunxi
n01_ has quit [Read error: Connection reset by peer]
n01 has quit [Read error: Connection reset by peer]
tomboy64 has joined #linux-sunxi
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
miseria has joined #linux-sunxi
<miseria>
"regalame una sonrisa, para el mundo que va de prisa y te regalo, el llanto de los niños y el hambre del mendigo" bienvenidos: http://castroruben.com*temo_a_un_ser_sin_rival*
miseria has quit [Client Quit]
<mnemoc>
wtf
notmart has quit [Quit: notmart terminated!]
n01_ has quit [Ping timeout: 245 seconds]
n01 has quit [Ping timeout: 248 seconds]
Fusing has quit [Ping timeout: 246 seconds]
<tomboy64>
could someone point me to a documentation of fex-files?
<tomboy64>
in particular i'd like to know what values i can assign to led-triggers
<tomboy64>
like, replace the heartbeat with wifi/network activity