IRC log of #cubox of Fri 04 Jan 2013. All times are in CET < Back to index

23:59 michaelcubox what is DT?
23:59 shesselba make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j2 uImage
23:59 shesselba cp arch/arm/boot/zImage arch/arm/boot/zImage.orig
23:59 shesselba make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs
23:59 shesselba cat arch/arm/boot/zImage.orig arch/arm/boot/dts/dove-cubox.dtb > arch/arm/boot/zImage
23:59 shesselba make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j2 uImage
00:00 shesselba gives you a bootable uImage with cubox device tree blob (dtb) attached
00:00 shesselba allows you to boot a DT kernel without DT support in u-boot
00:01 michaelcubox but i can also use the hf compiler,right?
00:02 shesselba yes
00:03 michaelcubox ok, you mean this git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git, right?
00:03 shesselba nopr
00:03 shesselba mainline linux kernel
00:04 shesselba torvalds/linux.git
00:04 shesselba or just download 3.7.0 tar bz2 from kernel.org
00:05 michaelcubox so git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
00:05 shesselba yes
00:05 michaelcubox cuase in cubox forum somebody told me to clone the arm-soc.git
00:06 shesselba arm-soc.git is not a stable repository
00:06 michaelcubox ok. you have 3.7 running on your cubox?
00:06 shesselba 3.8-rc1
00:07 shesselba so yes, I had 3.7 running on my cubox too
00:08 shesselba 3.8-rc1 is what you will get if you clone torvalds/linux.git
00:08 michaelcubox i run make dove_defconfig and after that your set of commands to get the uImage and modules with make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j2 modules?
00:08 shesselba I never built any modules
00:08 michaelcubox oh ok. and how does it run on the cubox?
00:09 michaelcubox ok. i just need a kernel with sata and ext4 + lan. kiss
00:09 shesselba sata and lan are enabled by default .. just select ext4 in menuconfig
00:10 michaelcubox ok. I guess that i dont have to set any setting to get the full 1gb ram,right?
00:10 shesselba just don't set mem= cmdline parameter
00:12 michaelcubox i dont know this parameter. i did disable framebuffer devices and dove gpu in 3.57 and 3.6.9, that was all
00:12 shesselba there is no framebuffer nor gpu in mainline linux
00:14 shesselba mem is set to 1G in dtb, if you override it with a lower value on boot, there will be less mem available.. that's why I said just don't set mem= in uboot cmdline
00:14 michaelcubox so DT tells the system normally while compiling,which drivers are needed,right?
00:14 shesselba no
00:14 michaelcubox ok. thx for the advice
00:14 michaelcubox thats what i found with google ;-)
00:15 shesselba DT tells the kernel what devices are available during _runtime_
00:15 shesselba if there is a driver in your kernel for a specific device it will match with the DT information
00:15 shesselba basically all that's available on your cubox is also selected by dove_defconfig (except ext4)
00:16 michaelcubox so i can tell that i have a specific wlan stick, and if this stick is plugged in, the kernel loads the module.
00:17 shesselba usb wlan is not part of DT but usb bus probing
00:17 shesselba just compile the driver into ther kernel (y) or as module (m) and it will work
00:17 michaelcubox ok, just for example ;-)
00:17 michaelcubox so where are you from? im from germany
00:17 shesselba me too
00:18 michaelcubox ....
00:18 michaelcubox welche stadt?
00:18 shesselba hannover
00:18 michaelcubox ich wohne in bonn und studiere informatik
00:18 michaelcubox habe vorher fisi ausbildung gemacht
00:19 shesselba we should stick with english as there will be others wondering what you say ;)
00:19 michaelcubox ok,no problem
00:19 michaelcubox so what are your services running on the cubox?
00:19 shesselba none, I am porting it to mainline linux only
00:20 shesselba but in some distant future it will be xmbc for sure
00:20 michaelcubox lets hope the gpu will be ready for this some day. the yet results are not that....
00:21 shesselba _rmk_ is working hard on convincing linux people to get it into mainline
00:22 michaelcubox i like cubox,because its small, has 1gb ram and especially e-sata
00:23 michaelcubox i have done some work to get debian in the cubox installer and you can select it from there and it is on your device in about 10min
00:25 shesselba great, I installed it from some generic installer and also ubuntu 12.10 armhf .. but as I said, currently I only use it for kernel integration
00:28 michaelcubox do you also have other embedded devices? here i got a pogoplug and a rasperry
00:28 michaelcubox alix did die last month...
00:28 shesselba yeah, I got some others from marvell to port them to mainline
00:28 shesselba and I still have a dockstar
00:29 michaelcubox nearly same device as the pogoplug
00:29 michaelcubox is porting your main job aor do you also have antoher one?
00:30 shesselba I am a research engineer at Leibniz Universitaet Hannover
00:30 lubiana shesselba: wow, i thought im the only one in hannover owning a cubox
00:30 shesselba nope
00:32 michaelcubox lol
00:32 neofob shesselba: is the tdma patch by Phil Sutter for mv-cesa in 3.7 mainline now?
00:33 shesselba hmm, don't know - you have a link to the patch discussion?
00:33 neofob shesselba: http://thread.gmane.org/gmane.linux.kernel.cryptoapi/7162
00:34 michaelcubox good night guys, see you soon
00:36 shesselba is there a more recent discussion about a real patch? last msg is from Jul 2012..
00:37 shesselba you should encurage phil sutter to resend his patches
00:37 neofob not that i know of, i'm looking for hardware support for the crypto engine and openssl via cryptodev so i found that on internet
00:37 shesselba there is mv_cesa support in mainline linux
00:38 shesselba but I don't know if it is using dma capabilities yet
00:39 neofob i'll try with current 3.7 first; currently cryptodev & openssl dont fully work in 3.5
00:39 neofob discussion on solid-run forum: http://www.solid-run.com/phpbb/viewtopic.php?f=9&t=634
00:39 shesselba what is the current approach with cryptodev vs the other one?
00:40 shesselba IIRC there are two different crypto apis?
00:40 neofob the other one is OCF (i think) and it was stopped developed like 2 years ago
00:41 neofob at least cryptodev last release 1.5 is august 2012
00:41 shesselba ok, I quickly checked crypto support some month ago while enabling it on dove (cubox soc)
00:41 shesselba and I remember hardware crypto support for aes and some other
00:42 shesselba so basically it is accelerated on your cubox with recent kernel
00:42 shesselba (with "older" kernel from rabeeh too)
00:43 neofob ok, hopefully it works out of the box this time; the "old" one has some patches from vDorst that use init call instead of DTS thing that i saw you committed
00:44 shesselba well, if you don't use DT then you need to patch mv cesa support the old way .. I haven't checked what the vDorst patch does but I guess it is still non-DT kernel
00:44 shesselba and yes - mv_cesa init on dove was missing
00:46 neofob ok, thanks for the info shesselba; i'm heading to my friend's place for free food now :D (it's almost 7pm in east coast america now)
00:47 shesselba ok
02:26 rmull Yikes, tried to play a video with mplayer... that didn't go well.
02:27 Punkley_Chillin yer don't do that
02:27 Punkley_Chillin not untill we get a avconv and hardware encoding working :)
02:28 rmull How close are you guys? That'd be a dramatic accomplishment
02:36 rmull rabeeh: Any chance the 2GB RAM of the new cubox is pin-compatible with the 1GB of the old one?
02:37 rmull for the purposes of swapping ram ICs
13:25 Sage rabeeh: pong
19:43 N30N Hi guys, hope you had a happy holiday and new year. :)
19:44 N30N Hmmm no dotarray about.
19:46 N30 19:46 * N30N wanted to report that the news feed's down: http://www.solid-run.com/blogs?format=feed&type=atom