/srv/irclogs.ubuntu.com/2012/08/03/#ubuntu-arm.txt

mturquettei'm unable to install the xorg:omapdrm_pvr driver on my panda board00:16
mturquettejockey-text --enable=xorg:omapdrm_pvr throws the usual "please look at /var/log/jockey.log"00:16
mturquetteanyone had luck with LEB 12.07?  (that's what i'm using)00:18
frrgwregwHi01:25
frrgwregwI am trying to install Ubuntu on my Beaglebone A6 and I cannot seem to do it from my mac01:25
frrgwregwI haven't found any documentation on this..01:26
frrgwregwAny help?01:26
ogra_frrgwregw, there are no ubuntu images for the beaglebone03:28
ogra_mturquette, i guess yuo have to wait for rsalveti to finish the port, pvr isnt ready for the new kernels atm03:29
rsalvetimturquette: the leb itself should have the pvr driver already by default03:30
rsalvetiif used the lt-panda-x11-base03:30
ogra_ah03:30
rsalvetiogra_: which timezone are you in this week?03:31
rsalveti:-)03:31
ogra_boston03:31
ogra_tropical TZ as it seems :)03:31
rsalvetigot it :-)03:32
ogra_still like 30°C around 12pm and 90% humidity03:32
rsalvetiwow, nice :-)03:32
ogra_heh03:32
rsalvetia bit too hot I'd say, but fine03:32
ogra_yeah, pretty unexpected03:32
* ogra_ is at the QA sprint getting automated image tests to run ... which work fine now thanks to you and john 03:33
ogra_(which was pretty well noticed by mgmt)03:33
rsalveticool03:33
ogra_;)03:33
rsalvetiogra_: how things are going there in general?03:33
rsalvetistill missing anything at your initial plan for the sprint?03:34
ogra_no, i'm confident we'll be completely done tomorrow ... automated image booting is done, now only preseeding is missing03:35
rsalveticool03:36
rsalvetiwould be nice to get a fully automated installer running :-)03:36
ogra_yup03:37
infinityFully automated installation is running all over the place.03:41
infinityBut automated image testing is indeed harder, so yay for efforts to make that go.03:41
ogra_:)03:43
mturquettersalveti: the 12.07 leb?  lsmod doesn't show it up03:51
rsalvetimturquette: which image are you using?03:53
mturquettersalveti: http://releases.linaro.org/12.07/ubuntu/leb-panda/lt-panda-x11-base_20120723-197-ubuntu-desktop.img.gz03:54
rsalvetimturquette: hm, with that image it should work by default03:57
rsalvetican you try reinstalling pvr-omap4?03:57
rsalvetisudo apt-get install --reinstall pvr-omap403:57
* mturquette tries03:57
mturquetteE: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.03:58
mturquettehmm, i may have deeper problems.  this is a fresh imamge too.03:58
mturquettejust pulled it and dd'd it to sd card today...03:58
rsalvetihm, it shouldn't behave like that by default03:59
rsalvetimaybe it got corrupted while writing to the sd card03:59
mturquettersalveti: yeah, i'll pull the image again tomorrow morning, check md5sums and try with multiple cards if needed04:00
mturquettersalveti: thanks for the ideas.  hopefully it will Just Work (tm) tomorrow.04:00
rsalveti:-)04:01
ogra_rsalveti, iirc jimerickson filed a bug yesterday that showed some issue with dos2unix or some such ...04:05
ogra_on ubuntu though04:05
ogra_ib was wondering why pvr does need it ... but was to busy to actually take a look this week04:05
rsalvetihm, will check that04:06
rsalvetiI remember it needed to convert a few files to unix so it could build successfully04:06
wizzyI have a vodafone webbook with ubuntu lucid on it that I would like to upgrade. /proc/cpuinfo says "Hardware: Freescale MX51 Babbage Board"08:57
wizzyI see "As of 10.10, Ubuntu has dropped support for the Freescale i.MX51 Babbage board." - should I look at debian instead ?09:03
LetoThe2ndwizzy: hm what arm revision is that anyways?09:05
wizzyProcessor: ARMv7 Processor rev 5 (v7l)09:05
LetoThe2ndthen chances are that it can be convinced to run ubuntu, no idea though how much work it would be.09:07
wizzyI have limited physical access - I don't seem to be able to open the case, but if I did would probably find a 4G flash chip soldered down. there is no CDROM.09:08
wizzysummary thread at https://lists.ubuntu.com/archives/ubuntu-za/2012-July/009425.html09:08
LetoThe2ndif you have access to the bootloader, via serial or such there's many things you can do. if you have not, chances to brick the device are considerably high.09:09
wizzyit has 3 partitions, not including beginning-of-disk, and a switch that puts me into a debian bootloader, that fails to find a cdrom09:10
LetoThe2ndno idea what you mean by "debian bootloader"09:10
LetoThe2ndwizzy: the thread you linked seems to recommend debian, though.09:11
LetoThe2ndhttps://lists.ubuntu.com/archives/ubuntu-za/2012-July/009438.html09:11
wizzyI *think* the debian bootloader is on the (unstructured) first partition (possibly as kernel+initrd)09:11
wizzyLetoThe2nd: yes - that is me :(09:11
LetoThe2ndAFAIK, there is no such thing as "the debian bootloader". hence i really have no idea what you are talking about.09:12
infinitywizzy: We still support it in userspace just fine, but we don't ship babbage kernels anymore.09:13
wizzyok - it puts me into the multi-step installer that was used (is used ?) on the alternate ubuntu disks and the debian installer09:13
wizzyhow far can I push userspace and not bump the kernel ?09:13
infinityPrecise will mostly work on your current kernel, I suspect.09:14
infinityExcept for the possibility of things like binary video drivers and such.09:14
wizzyso if I pin the kernel and upgrade I might be OK ?09:15
infinityIt's worth an experiment.09:15
wizzywhat other packages should I be careful of ?09:15
infinityI dunno, havning never seen how the webbook was customised.09:16
infinityhaving...09:16
wizzyif I brick it, how do I get a CD image that the installer will recognise ?09:16
infinityHrm?09:16
infinityYou shouldn't need a "CD" at all, didn't you just say there was a recovery partition?09:17
infinityIf that's not working right, I'm really the wrong person to ask.09:18
infinityLike i said, I've never seen one of these devices.09:18
wizzyit has a little switch behind the battery that puts me into something else, that I am calling the debian installer. This fails at the find-cd step09:18
wizzyI have not bricked it yet - I am just terrified of doing so .. :)09:18
wizzyif that is what you call the recovery partition (I think it is) it is missing install media09:19
wizzythe whole flash is only $G09:20
wizzyerr - 4G09:20
wizzyand it has no physical ethernet - only wireless09:21
infinityYeah, we've reached the point where I'd probably have to sit in front of one.09:21
infinity(And also where it's 3:21am and I need to sleep)09:22
LetoThe2ndinfinity: coffee? spice? coffee + spice? ;)09:22
wizzy11AM here - and we are beating the brits at cricket and mopping up gold medals :)09:22
wizzyinfinity: thanks - I will consider my next steps09:23
janimomarvin24, uploaded new package with your latest branch to quantal09:27
marvin24janimo: thanks!09:28
marvin24seems it's time to upgrade ;-)09:28
janimomarvin24, the meta is not yet there, so it is not automatically taken09:28
janimobut will be in tomorrow's image if it goes through today09:28
janimomarvin24, I saw lockups a few times though with this kernel (maybe the older 3.1 too). Once on boot 'CPU0 stalled'09:29
janimobut we'll fix them in time, so better have it uploaded for people to test09:29
marvin24yeah, I hope nvidia will make the finial r15 release before quantal09:30
marvin24janimo: ever tried to build mainline kernel for tegra?09:30
janimoah, looks the package is no longer in new, and nice guy infinity uploaded the meta too09:30
janimomarvin24, had no time yet09:31
janimoI plan to though09:31
marvin24it has the best chances to support multi-board09:31
janimowill start with 3.5 then try out arm-soc if that does not cut it09:31
janimoI am sure DT fixes multiboard but if graphics does not work yet it's not usable right?09:31
infinityjanimo: I beg to differ.09:32
janimobut yes, I plan to check it out as soon as I do the next round of ac100 work09:32
marvin24janimo: display and fb is initialized09:32
marvin24so, xorg works kindof09:32
janimowhich is syncing up with ubuntu configs as much as possible09:32
infinityjanimo: (re: "the meta is not yet there")09:32
infinityjanimo: Oh, you mentioned that later. :P09:32
janimoinfinity, see my later statement in which not only I realize my mistale but I paise you for your niceness level09:32
janimoIRC is not supposed to be read cronologically09:33
infinityI'm not nice, just anal.09:33
marvin24hasthe modesetting driver arrived in quantal yet?09:33
janimoanal guy infinity, uploaded meta.09:33
janimoworks for me too09:33
infinityKinky.09:33
janimosure09:33
marvin24seems so, https://launchpad.net/ubuntu/+source/xserver-xorg-video-modesetting/0.4.0-0ubuntu109:34
* janimo pulls out google to once and for all find out whether anal also has the meaning of thorough, picky, attentive to detail which geeky chats usually implies09:35
* janimo finds out if that is the case it is most certainly not the most popular meaning of the word by far09:36
janimomarvin24, I do not know anything about the modesetting driver or what it is supposed to do exactly09:38
marvin24janimo: it is required for mainline kernel xorg09:39
janimomarvin24, so then what does not work? DRM and GPU support? Power management09:39
janimo?09:39
marvin24the latter09:39
janimoback in a few min09:39
marvin24modesetting driver is a simple framebuffer driver for xorg using kernel drm09:40
marvin24but the quantal package seems to require xorg-server 1.13 ...09:40
* marvin24 is confused09:40
infinityjanimo: It's shorthand for "anal-retentive", which has that meaning, yes.09:42
=== furan is now known as Guest17028
=== zyga is now known as zyga-afk
marvin24janimo: did you tried to install the new kernel?16:21
janimoyes, yesterday16:21
marvin24I get: /tmp/fileIH3Shr: updated is too big for the Boot Image (8429568 vs 8388608 bytes)16:21
janimoworked for me16:21
janimohmm16:21
marvin24but that's on precuse16:21
marvin24*precise ...16:21
janimoI tried on precise too16:21
janimovia dpkg -i16:21
marvin24same here16:21
marvin24what's you initrd size?16:22
janimohmm wait, I tried a .deb I build locally not the exact one from the archive16:22
janimoI did a test it worked so I uploaded16:22
janimoinitrd size? I think it too is 8M16:22
marvin24no,  3446096  here16:22
marvin24was wrong, 498069616:23
marvin24kernel is 344609616:23
janimowon't wake from suspend though16:25
=== calculu5 is now known as calculus
marvin24huh16:34
marvin24janimo: for the initrd problem, the larger image includes a dm-mod.ko which isn't present with my self-compiled kernels16:44
marvin24I try to flash it with my old initrd16:44
janimoit may turn out we need to disable some configs if we hit the initrd size limitation16:45
janimomarvin24, is this too the >2M initrd issue?16:45
janimohaving DM is probably not that important but at one point it was requested by ubuntu/arm/server devs who did not yet have proper server hardware to test on16:46
marvin24janimo: no, flash-kernel doesn't like it because kernel+initrd becomes > 8 M16:47
janimoah there is an explicit check16:47
marvin24but now I wonder why the old initrd loads at all given the 2M limit16:47
janimobut which of the two grew most? I did not change much of the kernel configs16:47
janimoshould the rebase on the new branch cause significant size increase?16:48
marvin24can't tell now, because kernel gave a nice oops on boot ;-)16:48
marvin24stack-protector ...16:50
marvin24during usb probe16:50
marvin24janimo: did you really tested it?16:50
janimoI am running 3.1.10-4 now16:52
janimobut as I said a locally built .deb16:52
janimonot the exact one from the arch16:52
* janimo wgets that one and tries in a few minutes16:52
marvin24anyway, there should be no stack corruption17:05
marvin24kernel boots fine with 2M initrd17:17
marvin24janimo: sorry, false alarm17:18
marvin24I still had that 3M testfile with random data in my initrd17:19
janimomarvin24, so all ok?17:19
marvin24wait, I'll retest again17:19
marvin24but flash-kernel should also check for the 2M initrd limit17:19
marvin24lot of users have problems with this17:20
marvin24and I think all tegra devices using fastboot have this problem17:22
marvin24janimo: ok, kernel boots, but resume fails17:29
janimoogra_, re flash-kernel ^ :)17:30
janimomarvin24,  whereas resume works in your own zImage?17:30
marvin24yes17:30
marvin24maybe I can get something from the serial console17:31
marvin24arrr, it works on my other ac100 (which has no wifi or 3g modem anymore)17:33
marvin24and that's the only one with a serial console17:33
marvin24janimo: can you give me a short course how to build my own kernel.deb?17:47
marvin24or is there some wiki page?17:47
janimomarvin24, not usre if I put it in the wiki or just an email on the list17:49
janimoa moment17:49
marvin24ah, I remember reading something from you on the ac100 list17:49
* marvin24 checks17:49
janimoyou need to checkout my packaging branch though which gives you two extra dirs, debian/ and debian.linaro (historical reason, I used linaro kernels when starting ac100 work)17:50
marvin24got it already ..17:51
marvin24and now?17:51
janimothe packaging-3.1 branch17:51
janimodo a git fetch + git reset --hard origin, I am just pushing out now the most recent changes17:52
janimofor 3.1.10-4.517:52
janimoand now, you need to have the arm cross gcc package installed17:52
janimoand also sudo  apt-get install libc6-dev-armhf-cross17:53
janimonow in the kernel tree do17:53
marvin24I only see a Ubuntu 3.1.10-3.417:53
marvin24tag17:53
janimodid try an update+reset as I said above?17:54
janimoI just pushed the latest 3 min ago17:54
janimoI hope I pushed to the right branch17:54
janimomarvin24, hmm you're right it's not there17:55
marvin24not on the web interface17:55
marvin24but I forgot to fetch the tags17:55
marvin24(git fetch -t)17:55
janimojust pushed now, forgot git push -u17:56
janimoI though push -f should have been enough but no17:56
janimoI have an alias fdr='fakeroot debian/rules'17:57
janimosince that makefile's rules are commonly called from the cmdline when working with kernels17:57
janimoso for example17:57
janimofdr clean17:57
janimofdr editconfigs17:57
janimofdr updateconfig17:57
marvin24ok17:57
janimodo a git clean -xdf just to make sure there's no cruft there (just do not lose untracked files!)17:58
janimothen fdr clean17:58
janimodebuild  -eDEB_BUILD_OPTIONS="parallel=3" -eCROSS_COMPILE=arm-linux-gnueabihf-  -b -aarmhf -us -uc  -nc17:58
janimochange the parallel to suit your number of cores+1 (I think)17:58
marvin24seem I need to install some more package first ;-)18:02
marvin24ok, now it seems to do something18:02
janimoyou may be missing some other packages. If it fails to build the tools at the end you can turn that off by setting do_tools=false18:04
janimoin debian.linaro/rules.d/armhf.mk18:04
marvin24poor athlon ...18:08
=== morphis is now known as morphis|away
jimericksonusing the 3-Aug-2012 omap4+armhf image on a pandaboard ES. the installer asks me to designate a root and swap partition. when i do it fails with /dev/cdrom cannot be unmounted. why is the installer seeing a cdrom?18:44
=== NekoXP is now known as Neko
infinityjimerickson: What partitions are you setting up as root/swap?19:22
infinityjimerickson: You're not trying to install to the SD card, are you (which it tells you not to do)?19:22
ogra_sadly it doesnt, it says you can install to a pre-made partition (which doesnt work either)19:31
jimericksonok so if i don't install to the sd where do i install to? usb?19:32
ogra_yes19:32
jimericksonok i will try it19:32
ogra_i will update the wiki instructions next week, once i'm home again19:32
ogra_just use guided partitioninig and let it do its job ;)19:33
jimericksonok19:33
ogra_it will default to the USB disk (if you attached one indeed)19:33
jimericksonwill do19:33
ogra_that should just finish without errors19:34
ogra_(and dont  check the third party drivers option on the first page of the installer ;) )19:34
jimericksonok19:35
jimericksoncan the usb drive be on a powered hub or does it have to be on the OTG port?19:37
ogra_no, it actually *needs* to be on the normal USB port (or a hub attached to this)19:38
ogra_OTG isnt running in host mode19:38
jimericksonok got it19:39
jimericksonbut last time i did this it didn't write a uboot partition. will be back in a bit.19:40
ogra_it will write u-boot to the SD card (as i told you last time we talked)19:41
ogra_the SD needs to stay in the slot even after install ...19:41
jimericksonok19:41
ogra_btw, many many thanks for all that testing, you rock ;)19:42
jimericksonso now to boot panda i need the sdcard for booting and a usb drive for root?19:42
jimerickson:)19:42
ogra_yep19:43
jimericksonok19:43
jimericksoni am on it19:43
ogra_running root from SD card is very slow so we decided to switch the images to actually default to USB ... just lacing install documentation for this, i guess i should aslo blog about this change alongside creating new wikipages19:44
ogra_*lacking19:44
jimericksonso now it will overwrite the installer portion at the end so it boots to usb root?19:46
jimericksoni guess my class 10 32GB sd cards are kind of useless now. oh well.19:56
ogra_use them for something useful and get a 2G one ;)19:58
jimericksonthat i shall!19:58
janimomarvin24, any luck with the build?20:00
janimomarvin24, which is exactly your most mainline branch? for-next seems to be 3.2.0 based20:01
janimomarvin24, nevermind, 3.520:01
janimoI looked at video-next-test20:01
ogra_yay, srwarren is back in #ac100 ...20:09
* ogra_ has hope for a working tegra driver again :)20:10
jimericksoninstall finished without errors as predicted by ogra_ but it booted to the installer again when done. what am i doing wrong?20:32
ogra_jimerickson, hmm, that might be my fault, look on the first partition of the SD and check if there are uEnv.txt and preEnv.txt files along with boot.scr20:34
ogra_if so, remove the two .txt files20:34
jimericksonwill do.20:34
ogra_flash-kernel-installer (teh bit making the images bootable) wasnt ported to deal with them yet20:34
ogra_on my list for next week20:35
jimericksonok so remove uEnv.txt and preEnv.txt and i should be good to go20:36
ogra_yes20:38
ogra_in future images these files will be used in the installed system too ... but currently it still needs boot.scr20:38
ogra_future = next week ...when i'm back in my normal timezone :)20:39
marvin24janimo: yes, finished, but I'll test it tomorrow21:18
marvin24problem may be usb related21:18
jimericksonogra_,  removing both the .txt files makes it not boot. is there something i should edit in them?21:41
ogra_no, was the boot.scr there ?21:41
jimericksonyes21:41
ogra_also how does it not boot :)21:41
ogra_(symptoms)21:41
jimericksonjust one led flashing blank screen21:42
ogra_give it some time, there is a bug with the splash that makes it just show a black screen until the login manager comes up21:43
jimericksonok will do21:43
ogra_keep an eye on the usb disk light ... you should see activity there21:43
jimericksonmy apologies ogra_ there is no boot.scr. i was wrong.21:59
ogra_oh22:01
ogra_do you still have the uEnv.txt and preEnv.txt files ?22:01
jimericksoni can get them back22:01
ogra_if so, copy them back, then edit preEnv.txt:22:02
* ogra_ looks up the content you need22:02
ogra_bootargs=ro quiet splash22:03
ogra_that should do it22:03
* ogra_ just gets kicked out of the office here ...22:03
jimericksonok give me a minute22:04
ogra_and the hotel had a power outage the whole day, not sure i can come back online22:04
ogra_(though i expect that to be fixed now)22:04
jimericksonok i will be waiting22:04
jimericksonok that gets me to busybox with a (initramfs) prompt22:19
ogra_any error message above ?22:22
jimericksonno22:23
jimericksonshall i edit out "quiet" and try it?22:25
ogra_yep22:25
jimericksonok just a minute ;)22:26
jimericksonwell quite a bit of stuff but no error. last thing is starting udevd and detecting the hub.22:29
ogra_hmpf22:30
ogra_you can use the blkid command to find your UUID of the usb disk22:36
ogra_(blkid /dev/sda)22:36
jimericksonok22:36
ogra_then you can add root=UUID= and then the UUID the blkid command returned ... that should get you going22:36
ogra_not sure what happened there22:36
infinity(That should probably be /dev/sda2 or something, not /dev/sda)22:38
jimericksonok i will try that infinity i am not getting a UUID with sda22:38
jimericksonits the ext2 partion's UUID i want?22:39
ogra_what infinity said22:40
ogra_you want the ext422:40
jimericksonok no problem22:40
janimomarvin24, built your for-next tree, does not boot though22:42
janimowill try again next week :)22:42
jimericksonogra_, infinity , thank you very much guys it works!!22:50
cvanvlietinfinity, has anything moved forward with Ti SGX armhf omap322:55
infinitycvanvliet: I've not been keeping an eye on it personally, I'm assuming people who care will let me know if there's anything to be done. :P22:57
cvanvlietfair enough22:59
cvanvlietthey are available, but I don’t know how official they are23:03

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