IRC log of #cubox of Sun 09 Dec 2012. All times are in CET < Back to index

14:43 overflo Hi all
14:43 overflo I have a question about audio cubox
14:43 overflo possibilities
14:44 overflo I need to have a 24/192KHz audio resolution
14:44 overflo could I output this audio to I2S interface
14:45 overflo ?
14:56 shesselba overflo: _how_ will the receiving device be attached to the cubox? HDMI, spdif?
14:57 shesselba do you want 24bit pcm or send the audio compressed to a digital receiver?
15:47 overflo Hi shesselba
15:48 overflo sorry but I have missing your questions
15:48 overflo could you repeat please
15:48 overflo ...
15:48 overflo thanks
15:55 overflo I need to play a audio file with 24bit and 192KHz of Sampling Rate...
15:57 overflo I have read that SPDIF peripheral is hardware limited, but I2S that is processor clock depended could reach more speed frequency
15:57 shesselba if you mean, you have an audio file with 24b/192k you can play it any time.. but using spdif you will get 16b/48kHz only
15:57 overflo yes , but I need and real output of 24bit 192KHz
15:57 shesselba pcm?
15:58 shesselba and who is playing your audio?
15:59 overflo xbmc
15:59 overflo or equal
15:59 overflo I think that player isn't a problem
15:59 shesselba I mean what receiver/audio device you are using
15:59 overflo IC
16:00 overflo 24bit 192KHz
16:00 overflo a DAC
16:00 shesselba how do you connect that one to the cubox?
16:01 overflo solder wires from cuBox and my DAC
16:01 shesselba if you want to solder any stuff to the soc of the cubox, check the Dove (88AP510) functional specification and your DAC datasheet
16:01 overflo but I need more quality
16:02 Goophy There are no available i2s-headers on the cubox.
16:02 shesselba more stereo analog audio quality?
16:02 Goophy You only choice is yo buy an usb to spdif-converter.
16:02 shesselba Goophy: true, but I hope overflo knows what he is talking about..
16:03 overflo there isn't a I2S interface
16:03 overflo on cubox
16:03 Goophy Nope.
16:03 overflo ?
16:04 Goophy But you can get 176KHz over toslink.
16:04 shesselba let me get things straight
16:04 overflo ok I undestood
16:04 shesselba cubox is the system you might have..
16:04 shesselba that is based on a marvell SoC (88AP510) .. but the cubox uses only some of the available functions of the SoC.
16:05 Goophy I'm running toslink with external clocking for all samplerates now, sounds as good as anything else. :)
16:05 shesselba so no there is no (directly accessible) i2s on cubox
16:05 shesselba but there is support for i2s on 88ap510 and IIRC i2s pins are on the HDMI transmitter
16:06 shesselba if - and only _if_ overflo knows what he is talking about - he can try to grab i2s pins there
16:06 overflo I'm a SOC designer
16:06 Goophy No, they aren't available as an ordinary i2s-device. I2S over HDMI works diffently.
16:06 overflo I'm sorry about my English
16:07 shesselba goophy, i mean the _input_ to the hdmi transmitter
16:07 Goophy shesselba: That's inside the soc.
16:07 Goophy Impossible to solder. :)
16:08 shesselba 1. i2s pins are at the outside of the soc and on the outside of the hdmi transmitter
16:08 shesselba 2. _nothing_ is impossible to solder
16:08 Goophy How in the world would you solder on a wafer?
16:09 shesselba pins, I am talking about pins
16:09 shesselba you can mux the i2s output to available pins of the soc
16:10 overflo yes
16:10 shesselba anyway, overflo: you are sure that you want this?
16:10 overflo I need to have a I2
16:10 overflo S
16:10 overflo with a 192.KHz
16:10 overflo output clock
16:10 overflo sample rate
16:10 overflo 24 bit
16:11 Goophy shesselba: Do you have any info on remuxing the hdmi tx? I was told by a Marvell-guy that it was just best to forget it.
16:11 Goophy Path the the hdmi tx I mean.
16:11 Goophy Would be awesome to actually have i2s available.
16:11 shesselba path the hdmi tx?
16:12 shesselba overflo: give me a second
16:12 Goophy Internal i2s-path that is now sendt to the hdmi tx.
16:12 overflo Datasheet include a I2S output port
16:12 overflo on the SOC
16:12 overflo of Marvell chip
16:13 shesselba goophy: there is no need to favor i2s over spdif.. if you want high-quality audio - as a consumer - choose to send compressed audio over spdif and let you audio equipment do the decodeing
16:13 Goophy shesselba: It's more for convenience than quality.
16:14 shesselba overflo: yes, i2s is supported by the soc, accessing i2s pins on cubox maybe difficult but possible (with experience in soldering)
16:14 overflo yes , no problem
16:14 Goophy I would never hear any difference. But it would be nice to keep the cubox inside my dac with just i2s-wiring connecting.
16:14 overflo I didn't find schematics of cuBox
16:14 overflo on the internet
16:15 overflo to find this I2S pins
16:15 overflo to find this I2S pin
16:16 shesselba officially, i2s on soc supports 44k1, 48k, and 96k but rabeeh suggested to use external clock to overclock i2s controller
16:16 overflo where
16:16 overflo from what pin ?
16:17 shesselba overflo: as I said, i2s might be connected to the hdmi transmitter - grab that datasheet and find the pins youself
16:17 overflo ok
16:17 shesselba goophy: still don't understand what you mean - there is no dac on cubox
16:18 shesselba i2s is used for inter-chip connections..
16:18 Goophy shesselba: I'm talking about my external dac. Putting the cubox-board inside that one to get fewer boxes. :)
16:18 overflo External Master Clock
16:19 shesselba goophy: what "external dac" ?
16:19 overflo could be AU0_I2S_EXT_ MCLK I
16:19 overflo ?
16:19 Goophy shesselba: A Twisted Pear Buffalo.
16:20 overflo shesselba: do you have cuBox schematic
16:20 overflo ?
16:20 shesselba uhh, I wasn't aware of the existence of that one ;) ..
16:20 shesselba overflo: no
16:21 overflo your advice is good
16:22 overflo I can force Master I2S clock from external source
16:22 overflo and use the same code
16:22 overflo to transfer music to i2S peripheral
16:23 shesselba what code?
16:23 overflo Linux
16:23 overflo Code
16:24 shesselba overflo: you are familiar with i2s?
16:24 shesselba there is a Master Clock (MCLK) that belongs to i2s protocol
16:24 overflo yes
16:24 shesselba and there is an external clock input for i2s on marvell soc - that is different from MCLK!
16:25 overflo yes I found I2S input clock
16:25 shesselba ok
16:25 overflo AU0_I2S_EXT_ MCLK
16:25 shesselba yes, that can be used to overclock i2s controller
16:26 shesselba (but that is untested!)
16:26 overflo yes ... I need only someone that can help me yo find these pins on the schematic
16:26 shesselba and I recall that rabeeh said that i2s is also connected to hdmi tx - but currently unused - because spdif is sufficient for consumer usage
16:27 shesselba based on that, I tell you: get the TDA19988 datasheet and look up i2s input pins ..
16:28 shesselba if you know what you are doing, you will find i2s signals on the hdmi tx pins
16:28 overflo Ok
16:30 Goophy shesselba: Sorry, I thought the hdmi transmitter was part of the marvel soc. No wonder I was confused. :)
16:30 shesselba it isn't
16:31 shesselba overflo: I cannot find my photos of the cubox insides but if you are lucky, hdmi tx isn't BGA
16:33 overflo shesselba I think that HDMI signal encode I2S signal
16:34 shesselba no
16:34 shesselba well, yes - on the output of the hdmi tx audio is embedded within the hdmi signals
16:34 shesselba but on the input of the hdmi tx audio is either spdif or i2s
16:35 shesselba honestly, I still don't see what you want to achieve here.. any hw project you are working on?
16:37 overflo I'm design a DAC with audio HD
16:37 overflo I have bought cuBox
16:37 overflo but create as a network audio
16:38 overflo to create as a network audio
16:38 shesselba and you want to use the cubox as test-bed for your dac?
16:38 overflo test-bed :D
16:38 overflo what is a test-bed
16:38 overflo :)
16:38 overflo ?
16:38 shesselba hell, I love the cubox - but there are tons of development platforms on earth that will fit your needs more than the cubox
16:39 overflo yes, but I have a cubox at the moment
16:39 overflo in my hand
16:40 shesselba ok, for me a DAC is the one chip that coverts digital audio to analog audio.. you are designing one of these?
16:40 shesselba or you want to build a networked audio player ?
16:40 overflo no
16:40 overflo I'm a SOC designer
16:40 overflo Digital
16:40 overflo Cortex M3 or M0 System
16:41 shesselba I still don't get it, you are designing what _exactly_ ?
16:41 shesselba i2s controller?
16:41 overflo I want to build a Network Audio Player
16:41 shesselba I got that
16:41 shesselba what will the cubox help you with here?
16:42 overflo For knowledge, to create something with what you have at home
16:42 shesselba hrrr, ok - long answer short: don't use the cubox for that!
16:44 shesselba you want to spend your time on other stuff rather wasting it with "how to attach a DAC to the SoC used in the cubox"
16:45 overflo it's only a challenge
16:45 shesselba no, that _is_ a waste of time!
16:45 shesselba buy a usb-to-analog audio stick, plug it into the cubox and work with that ..
16:46 overflo too easy
16:46 overflo :)
16:46 shesselba if you _build_ a SoC you will have your own i2s controller anyway - the one used on the marvell SoC will not help you at all
16:48 shesselba if you want to build hw ip for i2s controller, by a zedboard and put your 192k DAC on an FMC..
16:48 overflo I would a system with XBMC I quality audio and I couldn't use a microcontroller to
16:48 overflo do it
16:49 overflo yes I know
16:49 overflo zedboard with A9 processor
16:49 overflo but it's too expansive
16:50 shesselba ~300 EUR
16:51 shesselba anyway, maybe I just don't understand what your final goal is.. I told you how to get access to i2s pins on cubox and warned you wherever I could..
16:52 overflo I have aswer to your question
16:52 overflo I have answered to your question
16:53 overflo I need to drive a DAC 24bit and 192KHz samping rate
16:53 overflo this is my goal
16:53 overflo but I have no experience on linux programming
16:53 overflo and so on
16:53 shesselba ok, got that and told you there a a lot of dev board more suited
16:54 overflo I finding something that can be hardware modified without change any linux source code
16:55 shesselba well, for cubox you will have to modify linux source code
16:56 overflo change a GPIO or a MUX is possible...
16:56 overflo but create a Driver for a new I2S device on ZedBoard
16:56 overflo at the moment for me is very challenging
16:57 overflo :D
16:57 shesselba and soldering on BGA or QFN isn't?
16:57 overflo no...
16:58 overflo I have a infrared solder station
16:59 shesselba ok, but that will not help you reaching pins h5, g5, f5, g6 on the BGA
16:59 overflo yes, this is because I asked you a schematic
16:59 overflo or a gerber Layout
17:07 shesselba overflo: have a look at the rpi - it looks like it allows you to map i2s to a 2.54mm header..
17:07 overflo rpi ?
17:07 shesselba raspberry pi
17:08 overflo I have also it
17:08 overflo :D
17:08 shesselba then use it!
17:08 overflo in my hand
17:08 shesselba http://elinux.org/RPi_Hardware, check P1
17:08 overflo but I can overclock it
17:08 shesselba "I²S interface (if pins are reconfigured in software, hardware hack may be required[2]) "
17:08 overflo ?
17:09 shesselba don't know, check the documentation
17:15 overflo there are no documentations about Broadcom processor
17:15 overflo I think Broadcom use an internal linux develop
17:16 overflo no informations are available
17:16 shesselba what did you expect?
17:16 shesselba it's broadcom
17:16 overflo as marvell
17:16 overflo a datasheet
17:17 overflo or something else
17:17 shesselba there is a datasheet
17:17 shesselba on the elinux.org link above
17:17 shesselba but it's crippled as hell
17:24 overflo :)
18:34 Hybridvs greetings
18:36 Hybridvs ready to do upgrade to geexbox-devel-20121206-r15609.cubox.tar.bz2 , backing up the current SD
18:57 Hybridvs one question. where is in geexbox the file to edit to set the services to start? i wish to deactivate bluetooth and wpa-supplicant services
19:59 Hybridvs when the cubox blinks the red dot for a while and then shuts down is signaling a bad boot image ?
21:23 Hybridvs ok , the geexbox 20121206-r15609 works like a charm. Choppines and boxing of videos dissapeared and now it plays smooth and great. The interface is a joy to handle with the ir-remote and the system in general feels a lot more professional
21:57 jaapio hi
21:58 jaapio I'm currently trying to play hd video's on my cubox using geexbox. But it feels a bit slow
21:59 jaapio the rootfs is located on a sd card. Are there way's to speed it up?
22:01 Morta Hi
22:01 Morta You Play FullHD (1080p) Moives with your cubox ?
22:02 Morta So check with SD and HD 720p Movies are slow ?
22:02 Morta With Remux and 1080p movies with high fps the processor is too slow
22:04 jaapio is a 720p movie
22:05 jaapio but also the xbmc menu is not very shooth
22:06 Morta Which revision you take of geexbox
22:06 Morta ?
22:06 Morta Take the newst devlopment version ist works fine on my cubox
22:07 jaapio where can i find that?
22:07 Morta You can do it with the Cubox installer
22:07 jaapio ok, I will try
22:07 Morta http://www.solid-run.com/mw/index.php/CuBox_Installer
22:07 jaapio can it also be an issue with a slow sd card?
22:08 Morta do not take the soft ftp
22:08 Morta Yes ist possible you have not SDHC ?
22:09 jaapio I found some topics about people running it from esata which seems to be faster
22:09 jaapio it is a sdhc
22:09 Morta so its shoudnt be a problem
22:10 Morta The Geexbox havn't a e sata drivder
22:10 Morta drive
22:10 Morta ah
22:10 Morta fucl
22:10 Morta driver
22:11 Morta I havn't be able to read in the geexbox from the esata drive
22:11 Morta The drive have to inistalte in the uboot
22:12 jaapio ah I see, I goes its the same for nfs boots?
22:13 Morta no
22:13 Morta i have my NAS over nfs network on the cuboy
22:13 Morta it runs well
22:14 Morta i can play sd an hd ready movie over nfs
22:15 jaapio did you notice any performance difference between nfs and sd card?
22:16 Morta to be onest i try only from nfs
22:16 Morta but i see no reason why should be a problem to play from the sd card
22:17 Morta normally its should be faster as over nfs
22:17 jaapio ok, thanx. I will try the latest version of geexbox
22:17 Morta ok good luck
22:49 jaapio Morta: I just installed the latest development version of geexbox, It is continuesly printing hdmicec:poll do you know what is the issue here?
23:33 Morta no signal on TV
23:33 Morta ?
23:33 Morta its the hdmi output
23:33 Morta should be right