/srv/irclogs.ubuntu.com/2012/04/16/#ubuntu-arm.txt

delinquentmeso beagle boards run ubuntu ... how does one take a beagleboard and begin putting specific code on it? is it a USB connection?00:01
delinquentmeand its run in the linux environment right?00:01
scientesdelinquentme, yeah it has a RW sd card00:02
scientesdelinquentme, but binaries have to be compiled for ARM, x86 binaries wont run00:02
delinquentmeand this can be written in any language that can compile to ARM?00:03
scientescorrect00:03
scientesor any interpreted language, that has interpreter support on ARM00:03
delinquentmeand how about the operation ... that code simply polls over and over ?00:04
scientesand to be apecific armv7, which is what ubuntu targets00:04
scientesdelinquentme, linux is "tickless"00:04
delinquentmeits running *inside* the ubuntu operating system right? much like any language I run on my laptop ubuntu system00:04
scientesso it only wakes up to meet the next deadline, if it doesn't get an interrupt00:04
scientesyes it is the same ubuntu you run on your laptop, but recompiled for arm00:05
scientesdebian GNU/Linux did most of the porting work/troubleshooting00:05
delinquentmeand the code would be automatically read from the SD card?00:05
scientesbut armv7 hardfloat transition has been helped by ubuntu00:06
scientesdelinquentme, its just ext4 filesystem like you use on your hard drive00:06
scientesso it has files just the same, and with the same layout00:06
scientesdelinquentme, you can actually run the beagleboard software on your laptop, using qemu-arm00:06
scientesor qemu-arm-static00:06
delinquentmeso If i've got a desktop which connects to the beagleboard via ethernet ... and I want the beagle to issue machine commands to MCs that branch off of it00:07
scientes" machine commands to MCs that branch off of it"00:08
scientesi have no idea what you are saying here00:08
delinquentmethe beagle runs whatever compiled arm and would then issue commands via that beagleboard software to those branch MCs00:08
scientesyou can run all the same server software on e arm that you can run on x8600:08
scientespostfix, dovecot, postgresql, etc00:08
scientesnow, the beagleboard is not the fastest arm board00:09
delinquentmebasically the beagle controlling a number of attached MCs00:09
scienteswhat is a MC?00:09
delinquentmemicrocontroller00:09
scientesspecifically.....?00:09
delinquentme ( sorry ) but yeah I'm trying to use the beagle to run steppers and the like00:09
delinquentmebeen looking at this one : http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATA_BRIEF/DM00037955.pdf00:10
delinquentme~ 13 of those00:10
scienteswell that has yet another arm cpu inside of it00:10
scienteshowever it has too little ram and flash to run linux00:11
delinquentmeoh yeah im not trying to run linux on those00:11
delinquentmethose are what controls the steppers and the sensors etc00:11
delinquentmewhich then geed information back to the beagle00:11
delinquentmegeed = feed*00:11
scientesis that black on the bottom audio?00:12
scientesand the top usb is just the power (5v)?00:12
scientes"one audio DAC" yeah, audio00:12
delinquentmei think theres also a 5v in00:13
scientesseems to me that you use the "SWD" to communicate to it00:14
scientes"digital accelerometer and digital00:15
scientesmicrophone, one audio DAC with integrated class00:15
scientesD speaker driver, LEDs and push buttons and an00:15
scientesUSB OTG micro-AB connector.00:15
scientes"00:15
scientesso i guess that is what it does00:15
delinquentmehow to check if it can run communications over the micro usb00:15
scienteswell since it says that all that is needed, it probably can00:15
scienteswhat do you want to do with it?00:15
delinquentmemake a liquid handling robot00:16
delinquentmeit has a number of modular cores00:16
scientesthat thing seems to be audio-oriented00:16
scientesmicrophone and mono audio out00:16
delinquentmeyeah I'm not really sure how the MC industry works00:17
scientes"digital microsoft" (does that mean it has a ADC ?)00:17
delinquentmelike it can send signals and thats all I really need00:17
delinquentmei could probably go much simpler TBH00:17
scientesgcc supports compiling firmware IIRC00:17
scientesits the arm-non-gnueabi target for armv5+00:17
scientes*none00:17
delinquentmebut I dont have the capability to design printed circuit boards ... so i need to buy something thats already assembled00:17
scientesand it only has one usable button00:19
delinquentmeso yeah just write come C code .. compile it with GCC stick it on a MC like that and let it poll for commands from the beagle00:19
delinquentmeyeah I don't really see myself using anything other than a reset button00:19
scienteswell, event-based would sure be nicer00:19
scientesdelinquentme, you can do that without any MC00:20
scientesyou can do that with a seial port00:20
scientesor even a usb keyboard/mouse00:20
delinquentmewell for programming it I can attach it however00:21
scientesbut yeah that board is designed for audio uses, it doesn't seem applicable for you00:21
delinquentmehow does one go about finding a good board for an application?00:23
scientesall the IC vendors have huge lists00:23
delinquentme( i'm kind of expecting there to be a tool like new egg where there are drop downs and I select the chips and things I want on it00:23
scientesfreescale, marvell, broadcom00:23
scientesnewark00:23
delinquentmeand these are all programmed effectively the same way?00:23
scienteswell im still not sure what youwant/are trying to do00:24
scientesarduino is pretty hot these days00:25
delinquentmetrue but they're also super costly00:25
scientesso is the beagle board00:26
delinquentmeahh yeah that might help :D  .. I've got 2 steppers, 1 linear string pot, 1 linear actuator and 2 physical switches00:26
scientescompared to, like, the rasberri pi00:26
scientesdelinquentme, how about this: http://www.st.com/stonline/stappl/productcatalog/app?page=productSelectorPage00:28
delinquentmeoooooo00:30
scienteshttp://www.freescale.com/webapp/sps/site/application.jsp?code=APLSTEMOT00:30
delinquentmeDSC ?00:34
delinquentmeDigital Signal Controller00:34
delinquentmeactually I should totally be able to email customer support @ these places and just be like00:36
delinquentme"this is what I need"00:36
delinquentmedoes u have?00:36
delinquentmealso!00:36
delinquentmethese are all chips .. is there a name used for the units when they're already attached to a board?00:36
scientesyeah ive come across that prob too00:38
scientesi dont really have an answer for you00:38
delinquentmehaha im glad im not nuts :D00:40
delinquentmescientes, what do you do with all this coolness00:40
delinquentmespecifically ubuntu arm chips?00:40
scienteswell i actually dont have a armv7 comp yet00:41
scientesi only have the sheevaplug00:41
scienteswhich is armv5, running debian00:41
scientesbut i really want a armv7, or better yet armv8 + quad core00:42
* scientes wants to experiment with big.LITTLE too00:42
delinquentmeOOo the sheevaplug00:42
delinquentmethats like mischief no?00:42
scientesits kinda old now00:42
delinquentmeis this like PHD research scientes ?00:43
delinquentmeyou can basically hook that sheevaplug up to something and just let it sniff away at wireless packets00:44
scientesthe one i have doesn't have wifi00:46
scientesbut considering its size and power consumption that sort of use would certainly be feasable00:47
scientesand a good fit for the device00:47
scientesit also has gigabit ethernet, so you could access it remotely at high speed00:47
pnphiconfigure: error: "PAM libraries not found"02:08
pnphihow to fix ?02:08
pnphiconfigure: error: "PAM libraries not found"  how to fix ?02:11
scientespnphi, what piece of software?02:13
pnphii'm building the package gdm02:14
twbThis error is coming from ./configure ?02:15
pnphino , dpkg-buildpackage -aarmel02:16
scientespnphi, could be systemd-logind's pam module02:16
scientestry turning off systemd02:17
pnphidpkg-buildpackage: error: debian/rules build gave error exit status 202:18
pnphiand this problem02:18
twbpnphi: pastebin the full transcript02:19
pnphidetail ?02:19
infinityI assume you're missing libpam-dev.02:25
twbinfinity: I thought dpkg-buildpackage would, like debuild, bitch about missing dependencies before getting to that point02:26
infinityIt does.02:26
twbSo he's doing something silly.02:26
twbAnd the pastbin will tell us what02:26
infinityBut he may well either (A) have built with -d, or (B) be building sources with bad build-deps.02:26
twbNod02:27
infinity(When you call debuild, it's dpkg-buildpackage that's bitching; debuild is only a very thin wrapper around it)02:28
pnphichecking for pam_start in -lpam... no configure: error: "PAM libraries not found" make: *** [debian/stamp-autotools] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 202:58
pnphiI don't know to fix this problem02:59
pnphi!!!02:59
scientespnphi, PASTE03:00
pnphichecking for pam_start in -lpam... no03:02
pnphiconfigure: error: "PAM libraries not found"03:02
pnphimake: *** [debian/stamp-autotools] Error 103:02
pnphidpkg-buildpackage: error: debian/rules build gave error exit status 203:02
pnphiE: Failed autobuilding of package03:02
scientespnphi, did you install libpam-dev?03:03
pnphiyes03:04
scientespnphi, paste dpkg -L libpam-dev03:04
pnphilibpam0g-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.03:04
scientespnphi, paste dpkg -L libpam0g-dev03:04
twbinfinity: I realize that; I just don't remember which bits are still debuild-specific03:04
pnphiyes03:06
pnphi_so what else ?03:10
pnphi_dpkg -L libpam0g-dev03:10
pnphi_usr/share/doc/libpam0g-dev03:10
pnphi_usr usr/share usr/share/doc usr/share/doc/libpam0g-dev usr/share/doc/libpam0g-dev/examples usr/share/doc/libpam0g-dev/examples/vpass.c usr/share/doc/libpam0g-dev/examples/modules usr/share/doc/libpam0g-dev/examples/modules/pam_secret.c.gz usr/share/doc/libpam0g-dev/examples/modules/Makefile usr/share/doc/libpam0g-dev/examples/xsh.c.gz usr/share/doc/libpam0g-dev/examples/check_user.c usr/share/doc/libpam0g-dev/examples/agents usr/s03:10
twbpnphi_: http://paste.debian.net03:10
pnphi_what is it ?03:11
twbpnphi_: you put your text there, hit "submit" and copy the resulting link here, rather than pasting the original text here03:11
twbThis is called a "pastebin", it stops us going insane03:11
pnphi_ok03:13
pnphi_paste.debian.net/163365/03:14
pnphi_http://paste.debian.net/163366/03:17
pnphi_Log of build and result of "dpkg -L"03:17
scientes<pnphi> checking for pam_start in -lpam... no configure: error: "PAM libraries not found" make: *** [debian/stamp-autotools] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 203:20
scientesspecifically -lpam03:20
scientesthere is no pam.h....doesn't -lpam require pam.h?03:20
pnphi_i don/t understand03:21
=== LetoTheII is now known as LetoThe2nd
=== doko_ is now known as doko
janimo`ogra_, hi, which packages needed to be touched to get unity-3d gles working? nux, compiz+unity?09:23
janimo`I'd like to to do a GLES rebuild for x86 and touch the minimum numer of packages locally09:24
ogra_nux, unity, compiz and compiz-plugins-main09:27
ogra_just grab the packages in precise, they are ready09:27
ogra_you will need to change the arch checks etc09:27
janimo`ogra_, and all of them need an extra config option passed, none do runtime detection right?09:28
ogra_right09:28
janimo`ogra_, thanks!09:28
ogra_talk to alf_ for a different patch set09:28
janimo`ogra_, for now the ones in precise are fine if they actually work with gles09:29
ogra_iirc the new one they have in linaro can run with GL and GLES enabled09:29
ogra_not sure when you have to select or if its automatic at all though09:29
janimo`ogra_, ah they already hae packages for that, I'll ask him then09:29
=== yofel_ is now known as yofel
LetoThe2ndinfinity: ping11:43
infinityLetoThe2nd: pong?11:45
LetoThe2ndinfinity: ogra told me ask you:11:45
LetoThe2ndany ideas why http://paste.pocoo.org/show/582316/ goes bi***ing about some dependency issues concerning linux-libc-dev:i386 and linux-libc-dev in a clean 12.04 chroot, and if you just re-run it, everything is fine? dependency solver problem?11:45
infinityLetoThe2nd: Temporary annoyance with a transition.  If you add precise-proposed to your sources.list, it'll be happy.11:46
infinityLetoThe2nd: Should be resolved in ~5 hours when gcc-4.6 is built everywhere, and I can promote gcc and eglibc to release.11:46
LetoThe2ndinfinity: ahkay. nothing urgent, so will probably be sorted out soon?11:46
LetoThe2ndi see, thx then.11:46
ogra_infinity, compiz-plugins-extra (universe) is FTBFS on all arms with the new GLES compiz, should we leave it that way, or upload a package that has the arm arches dropped for final release ? (i dont think anyone ever cared in a port to GLES for these plugins)11:46
infinityogra_: Ugh, really?  Is it not a simple fix?11:47
infinityrsalveti: Hey, wake up and come be helpful.11:47
ogra_i dont think linaro ever touched that package (not needed for unity) and afaik all GL->GLES switches need heavy patching11:48
infinityogra_: Dropping the arches isn't necessary, but fixing it would be nice.11:48
ogra_(more than just a config option)11:48
infinityNeeds heavy patching for plugins?  That seems wrong.11:48
ogra_well, even in our normal compiz build on arm we have to disable more than half of the plugins11:49
ogra_because the functions arent patched yet, i doubt its fixable in time for release and i also doubt linaro will ever care for these plugins11:49
infinityLetting it be FTBFS is fine.  As you note, it's universe.11:49
infinityWe just need to remove the stale binaries.11:50
ogra_right, and makes SRUing a possible fix easier11:50
infinityAnd wow, compiz-plugins-main-gles2.patch is extensive.11:50
ogra_i still try to catch alf_ or rsalveti to find out if they ever plan to fix that11:50
ogra_right11:50
infinityWhat an awful architecture compiz is...11:50
ogra_well, compared to the compiz patch its still small :)11:50
infinityThe GNOME people really got this right with cogl.11:51
ogra_well, we should just switch to Qt11:51
ogra_unity-2d ftw11:51
ogra_but i promised kaleo to not rave about that for a year :)11:51
infinityHeh.11:51
infinityI prefer 2d anyway.11:52
infinityTo each their own, though.11:52
ogra_yeah, and it shouldnt be to hard to get all the functions in that 3D has11:52
* ogra_ completely reinstalled his ac100 this weekend from ubuntu-core 11:52
ogra_using lxde now11:53
ogra_so much more free ram !11:53
ogra_(needed a reinstall to switch to hf)11:53
ogra_using -core as a base it a big pain in the butt though ...11:54
infinityWell, yes.11:54
infinityIt has no installer. :P11:54
ogra_yeah11:55
ogra_well, and getting the bootloader setup working by hand isnt really fun11:55
LetoThe2nd<3 debootstrap11:55
infinityI'd suggest feeding core to linaro-image-tools (which works really well), but I assume they have no ac100 target.11:55
ogra_LetoThe2nd, -core is essentially debootstrap --minbase11:55
ogra_iirc11:55
ogra_yeah, ac100 is spethial11:55
LetoThe2ndogra_: ah yea.11:56
infinityI don't mind my ac100 with unity-2d, but the RAM starvation does hurt.11:56
ogra_the prob with the ac100 is to get it to a point where you can use the wlan for further install ... thats a real PITA starting from core11:56
infinityI had some builds failing on it because of that.11:56
ogra_right, with lxde my system now uses 75MB with the idling desktop11:56
infinityogra_: Hahaha.  Yeah, my first ac100 install was from core, and involved a whole lot of wgetting and dpkg -i, and head-scratching.11:57
ogra_thats half of what unity-2d uses11:57
infinityI don't really know what posessed Toshiba to only put 512MB on the thing.11:57
ogra_adnroid11:57
infinityIf they wanted to be competitive with crappy Atom netbooks, they all have 1G.11:57
fhillyHi All11:58
ogra_i dont think that was the plan with the ac10011:58
infinityYeah, I suppose it was Android-specific.11:58
infinityBut even Android breathes more easily with 1G.11:58
ogra_its more like a POC of using android on netbooks11:58
ogra_well, it is using 2.1 in the original setup ... that doesnt need much ram ... and has not many apps :)11:58
infinityIt's the one thing I'd change about my phone, if I could (and the only reason I might look for upgrades)11:59
fhillyanyone have detailed documentation on the architecture and packages on Ubuntu core rootfs?11:59
LetoThe2ndhrhrhrhr11:59
ogra_theer should be a manifest file in the download dir11:59
infinityIs there?11:59
ogra_that has the packagelist11:59
ogra_infinity, if there isnt ... it *should* :)11:59
infinityOh look, I do publish the manifest.11:59
infinityGo me.12:00
ogra_(there is)12:00
ogra_fhilly, http://cdimage.ubuntu.com/ubuntu-core/daily/current/ ...12:00
ogra_and http://cdimage.ubuntu.com/ubuntu-core/releases/ for released images12:01
fhillythanks ogra, I assume there is detailed information in there?12:01
ogra_fhilly, well, there are the manifests and you can see which arches it is built for12:01
fhillyhow about rootstock? is it still maintained?12:02
ogra_no12:02
fhillythanks ogra12:02
ogra_hmm, that remonds me i should probably file a removal bug for the package12:02
fhillyok, if I want to get involved in the building process of the Ubuntu core rootfs, is there any specific root advised?12:02
ogra_we use live-build (config files for that are in livecd-rootfs) to roll it12:03
ogra_just take a look at the source of these12:03
infinityogra_: I'll happily remove rootstock right now, no need for a bug.12:03
ogra_infinity, go for it !12:03
infinityogra_: But I think you should do something about the LP project too.12:03
ogra_yeah, i'll kill it12:04
fhillyok thanks a lot12:04
ogra_or at least mark it inactive or so12:04
ogra_there are some good code snippets in rootstock i wouldnt like to lose12:04
ogra_(the fifo to serial interaction with qemu for example to do stuff scripted inside a VM)12:05
fhillywell, I have tried ubuntu-core rootfs on x86, however I believe there is "sudo" package missing, as the user will not be able to install anything including "sudo" unless unlock the files system as sudo or su user12:05
ogra_fhilly, thats on purpose12:05
ogra_ubuntu-core is to *build* images on top (or as an easy to use base for a chroot), not actually to use it as an install base ...12:06
infinitysudo would be kinda useless given that there's also no user.12:07
infinityrootstock | 0.1.99.4-0ubuntu1 | precise/universe | source, amd64, armel, armhf, i386, powerpc12:07
infinityrootstock-gtk | 0.1.99.4-0ubuntu1 | precise/universe | all12:07
LetoThe2ndinfinity: one could make an alias called "medo" that root himself can use.12:07
infinityogra_: ^--- That rootstock?12:07
ogra_the typical usecase is for something like embedded IVI systems (car entertainment) where you wont even have a user account  thats accessible by the ednuser12:07
ogra_\o/12:07
ogra_infinity, yeah12:07
ogra_funny, i didnt know we built it for armel/armhf ...12:08
fhillyforgive my ignorance but can you tell me why? as in the short explanation of it, it says after you finish you can use pat-get, how can we use apt-get if we don't have sudo? I am new to community stuff and I am trying to get involve so I know I am asking too much12:08
fhillyok I see12:08
LetoThe2ndogra_: haven't you noticed all the people in #pandaboard who asked about starting from -core because the sound of the name suggested a more minimal image to them?12:08
infinityAnd it is a minimal image.12:09
infinityIt just also has no installer.12:09
fhillylets say I want to build Ubuntu distro for ARM (beagle board) can I do it based on Ubuntu -core rootfs, or there is a better way of doing things?12:09
ogra_well, it is12:09
ogra_but you need to do a ton of things manually depending on your usecase12:09
infinityogra_: Removed, should be gone in the next publisher run.12:09
ogra_fhilly, well, i would just use one of the official beagle images from ubuntu for that12:10
* ogra_ hugs infinity 12:10
fhillyis there any detailed documentation about it? guys I see you know everything about it, instead of me asking you, I could just read and get back to you if I have any questions12:10
ogra_if you want a minimal install on your beagle, use the server image12:10
ogra_see https://wiki.ubuntu.com/ARM/OMAP for instructions etc12:11
ogra_if you want even more flexibility, use the netinstall SD card image12:12
fhillyorga_ I am trying to get as much information as I can, as I would liek to be part of the community at one point, and contribute. it is not about the BeagleBoard only12:12
ogra_(falsely called netboot on that wikipage) ... but nore that you nedd a network connection wired up for thet indeed12:12
ogra_well, just hang out in this channel ... thats already a good step to being involved in the community ;)12:13
LetoThe2ndfhilly: and, hint: tabcompletion for nicks works in any sane IRC client :)12:13
fhillyok thanks LetoThe2nd12:14
fhillyit works12:14
fhillyas a starting point for me, where can I start contributing? in terms of anything I could do?12:15
LetoThe2ndoO( purge errors out of omappedia/elinux *duckandrun* )12:15
ogra_http://qa.ubuntuwire.org/ftbfs/ ... you could for example have a look at all packages that only fail on armel/armhf12:15
ogra_or weed through launchpad and look for bugs that the ubuntu-arm team is subscribed to12:16
fhillythen try to fix it, and report back?12:16
ogra_if you have HW you can help testing images right before milestone (or final) releases12:16
ogra_right12:16
fhillyok12:16
fhillyI have BeagleBoard XM rev: C4 and BeagleBone12:17
fhillyany testing procedures?12:17
janimo`infinity, !! I started using a caching proxy and it's great! apt-cacher-ng12:18
janimo`which year are you welcoming me into?12:18
* ogra_ uses approx 12:19
janimo`I just picked this one as at one point in one of the mailing lists it was mentioned it more or less works out of the box12:20
janimo`and it indeed does, besides putting a line in apt.conf12:21
ogra_approx as well and i find it easier to configure for special cases like ports.u.c12:21
* infinity just has a local Ubuntu and Debian mirror.12:21
infinity... running on an i.MX5312:22
ogra_http://www.grawert.net:9999/ubuntu-ports ... :)12:22
ogra_thats my laptop12:22
janimo`... uphill12:22
ogra_(as long as i dont take it with me indeed (which i really rarely do since i have the ac100))12:22
fhillyhow can I test the images before release? where can I get them from? can I subscribe to get notifications?12:27
LetoThe2ndfhilly_: they're all up on the servers12:34
LetoThe2ndfhilly_: http://cdimage.ubuntu.com/daily-preinstalled/current/ for example12:35
morphisLetoThe2nd: you know with which tool the images are build? live-build?12:36
LetoThe2ndmorphis: no idea.12:37
morphisinfinity: you know how they are build?12:37
infinityWhich images?12:38
infinityBut yes, we use live-build to create live/preinstalled filesystems.12:38
morphisinfinity: the images you can download from here: http://cdimage.ubuntu.com/daily-preinstalled/current/12:39
ogra_fhilly_, for testing you can subscribe to teh images you want to be notified about on http://iso.qa.ubuntu.com/12:39
infinitymorphis: live-build to create the filesystem, and then some hackery on top of that to make it bootable.12:40
morphisinfinity: means installing system dependent files (fstab,kernel-modules, ...)12:40
ogra_kernel modules come from the kernel package ... fstab and HW sepcific bits usually come from the installer12:41
infinityAnd creating a FAT filesystem, and populating it with a bootloader and kernel, and...12:41
fhilly_ogra_, LetoThe2nd thanks12:41
morphisinfinity: ok12:41
fhilly_what do I have to do? just install them? do something specific? run scripts? or just work as normal?12:46
=== ahs3` is now known as ahs3
djszapiHey! Is it okay if the daemon part of my project is started automatically by an upstart job put into the /etc/init/ folder with the ubuntu desktop version ? Is there a better interface for that like we had /etc/init/apps on Harmattan ?15:32
pnphii don't know to fix this problem15:57
pnphichecking for pam_start in -lpam... no configure: error: "PAM libraries not found" make: *** [debian/stamp-autotools] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 215:57
ogra_pnphi, just add the right dependency to your packge (or if you dont build a package, make sure to have the right -dev package installed that gives you the pam headers15:58
ogra_)15:58
pnphidetail ?15:59
ogra_djszapi, i dont know /etc/init/apps, but upstrart is surely a proper way to start daemon processes15:59
ogra_pnphi, well, its your project, you should know what deps you need to build whatever you build there16:00
djszapiogra_: start on runlevel [23] or [12345] ?16:00
pnphiso...i install deps of package16:00
pnphi!!!16:00
ogra_well, usually runlevels are moot anyway :) all debian and ubuntu systems default to 216:00
pnphiwhat runlevel ?16:01
ogra_(so [2 3<9 should be good)16:01
ogra_err16:01
ogra_[2 3]16:01
pnphidpkg-buildpackage: error: debian/rules build gave error exit status 216:02
pnphiwhat the err ?16:03
ogra_read your build log it should say16:03
djszapiogra_: runlevel 5 means for instance "Start the system normally with appropriate display manager. ( with GUI )"16:04
ogra_djszapi, it doesnt16:04
djszapiogra_: http://en.wikipedia.org/wiki/Runlevel#Typical_Linux_runlevels16:05
ogra_(nmot sure where you got that line from, but on debian based systems runlevel 2-5 are identical)16:05
ogra_1 is singleuser, 6 is reboot16:05
ogra_(and 0 is halt)16:07
djszapiread the link.16:07
pnphiconfigure.ac:3: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=gdm if [ -e ./Makefile.am ]; then cd . && automake-1.11  ; fi configure.ac:3: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=gdm data/greeter-autostart/Makefile.am:10: `%'-style pattern rules are a GNU make extension automake-1.11: cannot open < gnome-doc-utils.make: No such file or directory make: *** 16:07
pnphioh my god16:07
djszapiand I have the desktop version of ubuntu on my pandaboard.16:07
ogra_how would reading thge link change anything ?16:07
djszapithe linux runlevels are defined in there...16:07
ogra_no, they arent ... someone wrote up how the runlevels on his fedora box look like i guess16:08
ogra_first of all, runlevels are moot, upstart is event based and only retains the runlevel concept for backwards compatibility ... if you develop something from scratch i would rather tie to an even than to a runlevel ....16:09
ogra_and second, i onlycan repeat (for the last time now) runlevels 2-5 are identical on debian based systems)16:10
djszapiwhat would you recommend to me, if my goal is to run my binary during the bootup ?16:10
ogra_rsalveti, poke ... seems compiz-plugins-extra FTBFS with the new compiz16:11
djszapithat is the trigger event.16:11
rsalvetiogra_: oh well, let me check16:11
ogra_rsalveti, well, i didnt expect anyone to have a patch or so, just wanted to make sure i'm right16:11
ogra_its a universe package etc etc blah blah ...16:11
rsalvetiplugins-main is the one needed, this extra might not be useful in the end16:12
ogra_djszapi, well, what does your daemon do ? i.e. for a network based service i would tie to a network-up event for something related to HW i would tie to a udev event16:12
djszapistart on runlevel [23] stop on runlevel [!23]16:12
djszapiI had the impression I should do something like that for this goal.16:12
rsalvetijanimo`: there's a runtime detection for unity for gles as well16:13
ogra_rsalveti, yes, thats what i thought, just wanted to look if you guys possibly have a patch16:13
djszapiogra_: listening to the serial port, and act accordingly for the incoming data.16:13
djszapiso prolly udev.16:13
rsalvetijanimo`: /usr/lib/nux/unity_support_test -p16:13
rsalvetiogra_: I'll check16:13
ogra_djszapi, well, either use the runlevel or take a look if there is a udev event when the serial device shows up16:13
pnphidpkg-buildpackage: error: debian/rules build gave error exit status 216:25
pnphi@ @16:25
ogra_read the log, find the error, fix it :)16:26
janimo`rsalveti, yes, ran that already and works fine, still unity still crashes on logon16:38
djszapiogra_: I am unsure if there is an udev event for that.16:39
smplmanare there any updates on SGX for omap3?16:58
ben_Out of interest.17:10
ben_Does the l-cache actually destroy back to back compatibility with prior programs?17:10
ben_Because it forces ARM into a modified Harvard Architecture...17:10
ben_Take for example the case where you write over and instruction, but the l-cache keeps a prior version and then executes the prior version.17:11
ogra_djszapi, so just take [23]17:11
ben_You have to force the cache to clear...17:11
djszapiogra_: might fail if udev is not up yet17:11
djszapisince connecting to the serial port depends on the udev17:12
ogra_udev comes up in initrd17:12
djszapiso it is guaranteed my binary would be run later ?17:12
ogra_and i think also before the runlevels start17:12
ogra_ogra@horus:~$ grep "start on" /etc/init/udev.conf17:13
ogra_start on virtual-filesystems17:13
djszapiso ?17:13
ogra_yup ... udev comes up with /proc, /sys and friends17:13
ogra_way before anything cares for runlevels17:13
djszapifine :-)17:16
djszapidoes the kernel care about the proper respawning ? Say, I open the serial port while launching the daemon, and I would ideally close the serial port while stopping.17:16
djszapiwhat if the daemon dies, and there is a respawning ?17:16
djszapithere is a proper serial port close and then open again ?17:17
ogra_no, not the kernel ... init does (well upstart in our case)17:19
djszapiogra_: is "stop on runlevel [!23]" fine for stopping ?18:01
recuris there an arm equivalent to dmidecode ?19:27
infinityrecur: That would imply there was such a thing as device tables on ARM.19:31
recurHi infinity19:31
recurah, so I'm completely out of luck then :)19:31
infinityPretty much.19:31
recurI wanted to programmatically get my hardware serial, but I've used dmidecode for that in the past.19:31
recurthanks for the info!19:31
=== Dr_Who is now known as tgall_foo
=== jkridner___ is now known as jkridner

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