/srv/irclogs.ubuntu.com/2010/11/24/#ubuntu-arm.txt

MartynHey all.03:36
MartynAnyone have experience writing gigabit ethernet drivers?03:36
=== tmzt_dg2root is now known as tmzt_g2root
ScottKrbelem and Tscheesy: We need GCC fixed before anything happens on Qt/ARM for Natty.03:57
=== hrw|gone is now known as hrw
hrwmorning08:03
trycan anyone comment how to build kernel Headers for kernel source ? As I am using diff kernel tree than ubuntu and wanted to build pvr kernel modules09:44
trymake headers_install ARCH=arm INSTALL_HDR_PATH=/custom09:46
ograhttps://wiki.ubuntu.com/KernelGitGuide i think10:00
ograah, no, its actually https://help.ubuntu.com/community/Kernel/Compile10:02
ograhttps://wiki.ubuntu.com/KernelTeam/GitKernelBuild might also help10:03
tryhow to enable loopback device10:19
tryi cant see ifconfig -a lo interface10:20
dmartifconfig lo 127.0.0.1 up10:25
dmart?10:25
dmartor "ifup lo" if you have ifupdown in your filesystem10:25
=== ogra_ac_ is now known as ogra_ac
=== dmart is now known as Guest16033
=== Guest16033 is now known as dmart__
ogra_acgrmpf13:35
ogra_acmerging shadow provides to become really painful13:35
=== dmart__ is now known as dmart
rOxxhello, i have some problems with the ubuntu 10.10 installation on the beagleboard xm with sd card. i tried the two methods on webpage to flash the sd card - https://wiki.ubuntu.com/ARM/OMAPMaverickInstall but i cant see the card on my linux pc after i put the files on the card. then i boot windows and format the card. any help what i did wrong ?14:46
dmartGrueMaster: for https://wiki.ubuntu.com/ARM/OMAPMaverickInstall, should there be a "sync" after the zcat >device / dd of=device step?14:57
dmartrOxx: are you sure you used the correct device node?  what did you do to write the image to the card exactly?14:58
rOxxafter the zcat and dd step i got no message14:58
rOxxi tried this two methods but nothing works14:59
dmartrOxx: Try again, but after the zcat or dd step, type:14:59
dmartsync14:59
dmart...and wait for the prompt to return14:59
dmartPossibly not all of the data has hit the card?14:59
rOxx@dmart, yes im sure that is used the correct device. the name was mmcblk0p1 - a sd card with  8 gb14:59
ogra_acthats definitely the wrong device name15:00
dmartoh, yes, it must be the whole-device node: /dev/mmcblk015:00
ogra_acright, the above is a partition name15:00
rOxxsorry is used /dev/mmcblk0p115:01
rOxxim back in few minutes. i want to test "sync" in console after flashing15:02
rOxxand im now in windows :;-(15:02
=== kmargar is now known as markos_
GrueMasterdmart: sync could help.  I have a script that I use to zero then flash my SD card.  The last step is for it to pop up a notification window letting me know it is done.15:26
ogra_acwriting to the device instead of the partition too15:27
GrueMasterAnd Idon't use the zcat method.  I have found it to be less reliable than "gunzip ; dd" personally.15:27
ogra_achuh ?15:28
ogra_acthere shouldnt be any difference15:28
ogra_acthere surely isnt techincally15:28
GrueMasterNot sure why.  May be because with dd youcan write a block at a time, whereas the zcat method writes in byte mode.15:31
GrueMasterI have seen issues when using dd if I don't specify "bs=1024" or at least have"bs=" set to a sector or cluster divisable number.15:37
rOxxi´m back, but the sync command doenst help me15:40
rOxxhere are the details15:42
rOxxbastian@bastian-Inspiron-1520:~/Downloads$ sudo dd bs=4M if=ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/mmcblk0p115:42
rOxx499+1 Datensätze ein15:43
rOxx499+1 Datensätze aus15:43
rOxx2094403584 Bytes (2,1 GB) kopiert, 228,692 s, 9,2 MB/s15:43
rOxxafter that is used the sync command. after 1 second the prompt come back15:43
rOxxbut after that i cant see the sd card15:44
rOxxgparted does not start after this process, when i disconnect the sd card gparted starts, the only way i find out to get access to the card was a windows system....15:46
ogra_acyou are still writing to the wrong device with dd15:48
ogra_ac/dev/mmcblk0 is what you want15:49
ogra_ac*not* /dev/mmcblk0p115:49
ogra_acthats a partition15:49
dmartrOxx: Linux will not know about the new partition layout that was written to the card right away ... what happens after you remove and reinsert the card?15:49
ogra_acdmart, he writes a partitioned image into a partition15:49
ogra_acthat wont work ;)15:49
dmartthat's also true15:50
dmartdd ...  of=/dev/mmcblk015:50
rOxxthx ogra, i will test without p115:50
dmart(not ... /dev/mmcblk0p1)15:50
rOxxim back in few minutes. thanks for your help15:50
ogra_acGrueMaster, did you put the suggestion for gunzip/dd on the install instructions ?15:56
GrueMasteryes, a while ago.  Others were reporting on this channel that they were having issues, butthat the other method worked fine.15:57
ogra_accan you please add a warning that his eats hilarious amounts of diskspace and should really only be used if zcat doesnt work15:57
ogra_acwith emphasis on *only*15:58
dmartGrueMaster: I edited the wiki to add syncs; feel free to check it's OK16:02
dmartAlso, xM A3 / OMAP4 Blaze instructions talk about mounting partitions -- the user will need to remove/reinsert the card before this will work (or blockdev --rereadpt <device>) ... otherwise the kernel will use the old partition layout16:03
dmart...I think16:04
ogra_acshouldnt16:04
dmartogra_ac: do you know why zcat doesn't work?  What are the symptoms?16:04
ogra_acdmart, i have never seen zcat fail16:05
ogra_acon various systems16:05
ogra_acdmart, GrueMaster claims its faulty16:05
dmartCould it have been a forgot-to-sync problem maybe?16:05
dmartUnless the kernel or SDIO layer is actually broken, there should _really_ be no difference between zcat and dd :O16:06
ogra_acright16:06
ogra_acthats why i think as well16:06
GrueMasterI have been able to make zcat fail reliably on some sd cards.  Remember, I do this more often on a wider spread of card types & speeds.16:06
dmartweird16:06
GrueMasterI can even get the dd method to fail if I don't specify "bs=" and have it divisable by 512.16:07
ogra_acsounds like a kernel bug on your side16:08
GrueMasterBesides, my method also allows you to mount the image w/o writing it to an SD card.16:08
ogra_acsure16:08
ogra_acbut it is one step more, complexifies the instructions and eats a lot of diskspace16:09
GrueMasterogra_ac: I have seen this on Lucid & maverick now, both x86 & amd64 kernels.  I have also seen this on babbage.16:09
ogra_ac(and its not a slow setp to gunzip 2G)16:09
* ogra_ac humms .... why oh why did i ever touch shadow16:10
ogra_acthat package went from looking like a sync to be an easy merge ... until all patches stopped applying16:11
GrueMasterIf you feel there is a serious problem with my additional instructions (that people should use if zcat fails, according to the wiki as I added it), then by all means remove it.16:11
ogra_acno, leave it in16:12
ogra_aci just want them to be aware that it takes 10min extra and eats their disk16:12
GrueMaster10 minutes?  Try 2 on my system with a Class 2 SD card.16:12
ogra_acand should really make no difference16:12
ogra_aci dont get why it does16:13
GrueMasterI agree that it *should not* make a difference.  What I have seen in my daily testing tells me otherwise.16:13
ogra_aci was talking about the extra gunzip above16:13
ogra_acnothing to do with SD cards16:13
GrueMasterI'm talking about the whole procedure (including the gunzip).16:14
ogra_acthe dd as well as zcat should take the same time16:14
GrueMasterRead http://irclogs.ubuntu.com/2010/11/05/%23ubuntu-arm.html about 3/4 down.16:17
ogra_acyou mean the guy who had a hardcoded line in NAND to only load his kernel ?16:19
GrueMasterIf it were just me having issues with zcat, I would do my own thing and move on.16:20
* ogra_ac doesnt see how that relates to zcat16:20
ogra_acapart from you telling him that it does16:20
GrueMaster <topfs2> zcat didn't work for me, dd did perfectly16:20
ogra_acwithout any further comment, yep16:20
GrueMasterDo I really needto pour through all the IRC logs to back myself up?  I thought this was Linux, where there are multiple solutions to a single problem.16:22
ogra_acwell16:22
GrueMasterAgain, if you have a problem with my alternate method being on the wiki, remove it.16:22
GrueMasterI'm done with this discussion, because it really isn't productive.16:22
ogra_aci just asked you to add a warning ...16:23
ogra_acwhy do you feel attacked16:23
ogra_acit should simply be clear that this is just a fallback method and that it uses up a lot more resources and time16:24
topfs2I can't remember what happened when I used zcat but it didn't work as nice as dd, which have never failed me :)16:24
* ogra_ac would love to know how it failed16:24
ogra_acgiven that there is no technical difference between the two16:25
ogra_aci can imagine that something goes wrong due to sudo quoting or some such16:26
topfs2I could probably try it out again but not time atm for it16:26
ogra_acbut its weird that two techinally equal methods can have different results16:26
topfs2IIRC the problem was that it didn't boot properly16:26
ogra_acyeah, i didnt mean to push you to it ;)16:26
ogra_acweird16:27
topfs2pretty sure I did the command both with sudo and root16:27
topfs2but I could have done that wrong :)16:27
ogra_acwell, try it once if you need to anyway and note down whats wrong, i'm surely intrested in hearing about it16:28
ogra_acbtw, does your cloak indicate what i think ? :)16:28
ogra_ac(xbmc i mean)16:29
topfs2hehe, it does :)16:30
topfs2(if you think I'm a developer of the app?)16:30
ogra_achave you seen https://blueprints.launchpad.net/ubuntu/+spec/multimedia-arm-n-set-top-box ?16:30
ogra_acwe're planning to provide a settop box install (no image but you should be easily able to build one with it)16:31
ogra_aci was wondering why xbmc didnt make it into ubuntu yet16:31
topfs2Haven't seen, cool!16:31
topfs2Well I know one of our devs where with the media center thing for ubuntu16:32
ogra_acseems there is a PPA but nobody ever uploaded it to the archive16:32
topfs2And reasons then was mostly license problems (and that it doesn't run without proper rendering)16:32
ogra_acah16:32
topfs2I think the biggest issue is that we have our own ffmpeg which is abit iffy16:32
ogra_acwell, rendering should be fine with the pandaboard16:32
ogra_acwe have drivers and codecs16:32
ogra_ac(gstreamer only though)16:32
ogra_acah16:33
ogra_acyeah, ffmpeg is hard if its out of sync16:33
topfs2we are going to move it out of xbmc at some point, probably make it an addon. That way the only codec we provide out of the box is hw accel stuff which should be fine from a license point of view16:33
topfs2It is possible to build against external though, think angstrom does this16:34
topfs2debian do atleast, but its causing some problems at points16:34
ogra_acah, cool16:34
ogra_acprobably something to investigate for ricardo then16:34
topfs2A big goal for us with eden (next release) is to be perfectly ready for repo inclusion16:34
ogra_accool !16:35
topfs2since camelot (and abit before) we have worked lots with fedora and such and should have most fixed16:35
topfs2before it was a mess with lots of internal libraries (xbox herritage :) )16:35
rOxxocra_ac and dmart thx for your help. now it works. mmcblk0 was the answer :-)16:35
ogra_acheh, yeah16:35
ogra_acrOxx, good to hear :)16:35
topfs2are you working with that blueprint ogra_ac?16:36
rOxxthe config with der seriell ouput works and now im bootet ubuntu 10.10 on beagle. all works fine16:36
ogra_actopfs2, nope, rsalveti-afk is16:37
ogra_ac(on vacation this week)16:37
ogra_actopfs2, i'll only test BT remotes (for the fun of it)16:37
topfs2ah cool. Well I have a panda and trying to get xbmc to run awesome on it and considering we have openmax support already hopefully it will work out on panda also16:38
ogra_acwell, its all gstreamer currently16:38
ogra_acdoes xbmc handle that ?16:38
ogra_ac(in ubuntu that is, i dont think anyone at TI has put work into OMX beyond gstreamer)16:39
topfs2nah we don't have gstreamer support but thats also something we have been investigating, atleast use the decode of it16:40
ogra_acthat would make it really easy16:40
topfs2but I really hope omx works properly outside it, otherwise I'm gonna ping them like crazy :)16:40
ogra_acwell, i know that they only focused on gst integration16:40
ogra_acso you might have to work out solutions on your own16:41
topfs2personally I like gst but the timing and syncing of it when displaying isn't as good as it could but for decode its great16:41
ogra_aci dont think i ever recorded with it16:41
topfs2I meant playing thogh :)16:42
ogra_achmm, i usually dont have issues with totem, but then thats a very simple app16:43
ogra_actiming/syncing wise i mean16:43
topfs2I actually have quite a lot (on desktop)16:44
topfs2perhaps its just my computer16:44
ogra_acon panda its fine for me16:44
hrwspeaking of BT remotes... does Playstation3 remote counts?16:58
ogra_achrw, sure16:59
ogra_aci dont really expect issues with BT remotes16:59
ogra_acit was just a good reason to buy one16:59
ogra_acor more16:59
hrwogra_ac: ps3 remote is not BT HID but rather BT serial something17:00
ogra_aci think there is an app for it in ubuntu17:00
topfs2yeah we have a special thing for it for xbmc17:01
hrw;D17:01
ogra_acanyremote17:01
topfs2its to bad there isn't a great remote out there :)17:02
ogra_acRemote control daemon for applications using Bluetooth, IrDA or WiFi17:02
ogra_acthat might do it17:02
* hrw -> out17:03
hrwhave a nice rest of day17:03
=== hrw is now known as hrw|gone
topfs2what bluetooth remote are you trying ogra_ac ?17:03
ogra_acnone yet17:03
ogra_aci will have to buy a few soon17:03
ndecogra_ac: hi. any idea why package cpuburn from universe is not built for armel, and as such not available in the archive? the debian/control explicitely mentions armel as a target arch17:45
Martynis there a way to cause dma_map_single to only choose from a very small region of memory?  say 0xf0000000 -> 0xf1000000?17:47
ndecogra: and the armel .deb is available in debian17:50
=== njpatel is now known as njpatel|away
cipheris there a screen package for armel?18:58
Martynyes19:06
ciphercan you direct me to it?19:10
cipherfound it, nvm.19:12
MartynI was going to say ...19:12
Martynapt-get install screen _should_ work19:12
Martyneven if it does install byobu for whatever reason19:12
cipherMartyn: I was trying to grab it for an offline install because my embedded system currently doesn't have network connectivity19:13
cipherhttps://launchpad.net/ubuntu/+source/screen/4.0.3-14ubuntu1.2/+build/1922902/+files/screen_4.0.3-14ubuntu1.2_armel.deb is where I ended up finding it19:14
Martynit has some dependencies19:14
=== zyga_ is now known as zyga
LetoThe2ndhowdy! after using ubuntu for several years and doing arm coding for also about as long - i just thought it might be a good idea to combine the both. So, the obvious question... whta might be a good point to start?19:37
MartynLetoThe2nd: What would you like to do?19:54
MartynIf you just want to use an ARM based linux device, I reccomend the beagleBoard as a good starting place.19:54
MartynThere's also the upcoming PandaBoard from TI, which is a dual core ARM platform that will be supported in Natty19:55
LetoThe2ndMartyn: hehe, the "just using" point is long passed - i have an openrd here running debian and at work i maintain an embedded platform, for which i build the environment with ptxdist. :-)19:56
LetoThe2ndbut its more like being an end user at the moment, and i think i'd like to get more into the inner workings. I have reasonably good c knowledge and a little kernel experience (what it is you need to port a bsp to a closely related platform), but at the moment i'm more like: ok, i have a few building blocks and if i use them in order, it works. but what lives outside of "using existing blocks in given order"?19:58
armin76Martyn: heh, pandaboard is already supported in maverick :P20:02
MartynWell, yes.20:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!