/srv/irclogs.ubuntu.com/2010/05/21/#ubuntu-arm.txt

cwillu_at_workSelecting previously deselected package linux-image-2.6.33.4-l3.00:00
cwillu_at_work(Reading database ... Unsupported ioctl: cmd=0xffffffffc020660b00:00
cwillu_at_workrepeat x10000:00
cwillu_at_workseems to be proceeding though00:00
rcn-eeyeap, that's normal inside the machine.. it's weird..00:00
cwillu_at_workamusingly, my server has already caught up with the beagle00:01
cwillu_at_workthe beagle's been running 6 hours00:01
rcn-eei'm tempted to ask for your package list for comparisson...  I'm slowly untarring 1Gig onto a sd card...00:01
cwillu_at_workI'm not using sata drives :p00:02
=== jmcgee is now known as jmcgee|gone
cwillu_at_workre: btrfs, the annoying thing is that there's a tonne of features which are going to be easy to implement, but very few _have_ been implemented yet00:04
cwillu_at_workbasically the answer to every cool question is "not yet"00:04
cwillu_at_workseparate raid levels per folder/file?  not yet00:04
rcn-eeeven so, it looks interesting..00:04
cwillu_at_workonline scrubbing?  not yet (although you can fake it from userspace)00:04
cwillu_at_workoh, absolutely00:04
cwillu_at_workit's only very recently that you could actually delete snapshots :)00:05
cwillu_at_workhence why I didn't think about it until I already started:  been using it 9 months on this box, and it's only been possible to delete in the last month :)00:05
cwillu_at_workhonestly, you should start hanging out in #btrfs;  the visibility will help, and you'll pumped hearing about it :)00:06
cwillu_at_work"cwillu: hey, if I saw ubuntu/canonical devs in here I'd be all for it."00:07
cwillu_at_work"but from what I see, it'd be a bunch of uninform00:08
cwillu_at_worked n00bs in here complaining about how btrfs broke their systems and us telling00:08
cwillu_at_workpeople to update and no updates put into any ubuntu kernels00:08
cwillu_at_work"00:08
cwillu_at_workthis is an image problem that could be solved very easily :)00:08
rcn-eethose groups of people are always fun to deal with.. ;)00:09
cwillu_at_workthe people in question are quite nice actually :p00:09
cwillu_at_workoh, _that_ group00:10
cwillu_at_workthe guy who said that spent a couple hours with me updating the btrfs wiki with debian/ubuntu instructions to update btrfs via dkms (which is currently the only recommended way of using btrfs)00:10
cwillu_at_workupdate btrfs from git via dkms, rather00:11
rcn-eedkms makes sense if your using a normal supported ubuntu kernel....  quick updates...00:12
DanaGNow we just need dkms for powervr. =รพ00:12
rcn-eewe need mimotrace for arm... ;) then reverse engineer the suckker...; )00:13
persiaFrom what i heard at UDS, we ought be able to do something with DKMS+jockey for powerVR for OMAP.00:13
DanaGHallelujah.00:13
persiaAlso, DKMS should work for *any* kernel, as long as one packages the kernel and installs the headers, etc.00:13
DanaGSince the TI build script is just a miserable failure.00:13
rcn-eewell the TI SGX bits are gpl.. (i've just recently add those modules into my dev tree 2.6.34's..) it's the binary blob libGL and loader that's the problem..00:14
rcn-ee(kernel modules bits)00:14
DanaGI'm also curious how GL ES works... and if I could use it on Radeon KMS.00:14
persiaRight.  The loader would be the bit that would be DKMS, and the binary blob would be handled by jockey.  The analogy that I heard at the OMAP session at UDS was to how nVidia works on x86 (assuming no nouveau)00:15
rcn-eei think we can... but i don't know if r300g is hocked up to the egles bits.. (both are in mesa000:15
persiaDanaG: GL ES is just a subset of GL.00:15
rcn-eeactually the loader doesn't need DKMS.. just a binary deb ...00:15
persiaSo anything that supports GL automatically supports GL ES00:15
DanaGMy hardware is RV635, to be specific.00:15
DanaGhmm, I wonder if fglrx would support it on bare console.00:15
cwillu_at_workpersia, did they say anything about how to acquire the binaries in the first place though?00:15
persiarcn-ee: Well, except it's hard to distribute raw binaries :)00:16
cwillu_at_workpersia, the typical process involves sending a request to ti with a corporate email address purporting to be doing oem design work00:16
persiacwillu_at_work: No.  If we can find some that are licensed appropriately, we can toss them in multiverse, which would seem the least painful solution to me.00:16
cwillu_at_workthat's a pretty big if00:17
rcn-eeyeah.. specially with TI's export license...  the key thing, if the gpl modules are built with the kernel, then all you need is the loader/libGL which don't need gcc to build..00:17
DanaGpersia: something that would work: a script like fwcutter.00:17
persiaWell, there were folks from TI at the session, and they seemed interested in making it work.  I'm not sure how far anyone will get.00:17
DanaGFeed it the x86 .run.00:17
persiaDanaG: How do you mean?00:17
cwillu_at_workDanaG, fwcutter is an option because you have the right to have the binary you're cutting from00:17
cwillu_at_workthat isn't the case here00:18
DanaGI mean a bit more manual, though.00:18
DanaGHave people download from TI, then feed it to a script.00:18
cwillu_at_workor rather, finding a binary where it _is_ the case is the tricky part00:18
persiaIf TI can post it for anyone to download, TI can probably allow it to be in Multiverse.00:18
rcn-eeor we got to talk ti into makeing a arm based *.bin loader.. ;)00:18
rcn-eeinstead of the pure x86..00:18
persiaI think the issue is that TI is constrained (it's not actually a TI part, just bolted into a TI part)00:19
rcn-ee(the binary they distrubt that contains all the junk)00:19
cwillu_at_workyes, that's exactly the problem00:19
rcn-eeyeap, and that's the same problem intel (pousble) and freescale have...00:19
cwillu_at_workthey licenced the powervr core, just like they licenced the arm core00:19
cwillu_at_workand the powervr core's terms are fairly onerous00:19
rcn-eei've also heard from rumours, mali isn't much better.. so there really isn't a good one yet..00:20
persiaWell, the solution for other architectures has often been to expose a bus and make it someone else's problem :)00:21
DanaGI wonder how similar gma500 and this SGX are....00:22
DanaGit'd be amusing if the GL code were exactly the same, except for target architecture.00:22
* rcn-ee chears come on oem-config.... you can load!00:22
rcn-eethe arch between the cores according to wikipedia looks similar...00:23
cwillu_at_workperhaps everyone's favourite space tourist should buy a redistributable licence :p00:23
persiaFrom rumours I've heard, PSB is the reference SGX implementation.  Dunno how true this is.00:23
DanaGI'd rather have a radeon.00:24
DanaGARM + Radeon would be fun.00:24
persiacwillu_at_work: May not be possible, really.  Some of this stuff is so many levels deep in restrictions that it would take years for the legal work, even if everyone wanted it to happen yesterday.00:24
* cwillu_at_work inquires about the possibility of adding a pci-e port to the beagle-xl :p00:24
rcn-eei'm tempted to get one of those mini-pci express to pci express adapter do that that once my tegra 2 comes...00:24
persiaDanaG: You can do that with the MVL Orions (but not with Ubuntu, as that's ARMv5).  They have PCIe.00:25
DanaGhmm, is there yet an armv7l marvell?00:25
cwillu_at_workmore importantly, is there a multithreaded dpkg yet?00:25
rcn-eethe armanda's i haven't seen any reference designs yet wit pci x.. but they will be coming...00:25
cwillu_at_workimage building is fast enough that I can get impatient with it :)00:25
persiaDanaG: Not that I've heard about in retail.  There's a "dove" kernel in the archive.00:25
DanaGPCIe, rather.00:26
DanaG"X" is that old long server PCI thingy.00:26
DanaG"extended".00:26
persia128 bit, wasn't it?00:26
persiaOr, rather, isn't it (still available on some boards)00:26
rcn-eeyeah and 3.3volt signaling... yuck.. pain in the rear on my server...00:26
persiaWell, pre multi-lane PCIe, it was better than what else was available :)00:28
rcn-eei'm just annoyed, as it the only slot aviable on my 1U, and all i can get is network/pata/sata boards....00:29
* rcn-ee calling it good, starts a slow 305Mb xfce demo image upload to rcn-ee.net... ;)00:30
* cwillu_at_work starts downloading kernels from rcn-ee.net in a loop00:31
* rcn-ee hopes cwillu_at_work doesn't find the upload point and kill his cable modem...00:31
* rcn-ee 3hours.... i'll be using wget -c for this..00:32
rcn-eecwillu_at_work, say with 2.6.34 have you run into this? http://pastebin.com/iqAHMVD400:35
cwillu_at_workon reboot?00:36
rcn-eeonly occurs say after 10minues uptime, and then issuing a reboot...00:36
cwillu_at_workI haven't, but I can't say I've been exercising that codepath00:36
rcn-eei know it happens on beagles... does the overo suffer the same fate?00:36
rcn-eeit's actually happening on all mine... including ones in a headless setup..00:37
rcn-eei've pinged linux-omap, but not that may people have jumped to 2.6.34 yet either.. ;)00:37
cwillu_at_workhaven't noticed it, but I haven't been doing a whole lot with the overo's in the last two weeks either00:38
cwillu_at_workthe zippy's came in, and I've been doing those sd burn tests00:38
rcn-eenoob question, how to get the network-manager thing to show up in xfce on the bottom. ;)00:41
cwillu_at_worknm-applet00:41
cwillu_at_workgeez, I've run this 3 times with the chroot in the time it took the original beagle to get to the point that the first chroot died (at which point it also died)00:42
cwillu_at_worktaking into account that the beagle had a 6 hour head start00:43
rcn-eei think the beagle lost.. kill it..00:43
cwillu_at_workquite00:43
persiaEmulation isn't always this much faster.  It really depends on the RAM requirements for the build.00:43
rcn-eeyay, nm-applet runs, it doesn't like to run by default..00:43
cwillu_at_workI know00:43
persiaIf you compare 1000 iterations of a simple hello.c compile, it's about the same.00:43
cwillu_at_workI'm very very io bound00:43
persiaHeh.00:44
cwillu_at_workand doing it in ram is very very much faster than doing on an sd card00:44
cwillu_at_workit's funny though00:44
persiarcn-ee: if you've not tried it before, #xubuntu is also a good place to ask XFCE questions00:44
cwillu_at_workI've been tripping over that code for a while now, never bothered to actually try it :)00:45
cwillu_at_workgranted that in my case, it still would've been doing lots from a normal vm anyway00:45
cwillu_at_workbut I might have wised up00:45
rcn-eeyeah, i should, i'm starting to use xfce alot on the beagle..... ;) i've gone from providing just console image to full blown xfce images... give the people what they want.. ;)00:46
DanaGI found xfce not worth the bother... by the time I got it the way I liked it, I might as well have used gnome.00:48
persiaIf you're going that deep, #xubuntu-devel may be of interest, but from what I've heard, Xubuntu isn't quite as optimised for low-spec machines as it was in the past.00:49
cwillu_at_worknope00:50
persia(where Xubuntu is XFCE+everything to make it the way folks like it)00:50
rcn-eegnome... i did that once on a beagle Bx...  Debian Lenny kinda like watching paint dry... but i got firefox up and took a pic..00:50
cwillu_at_workrcn-ee, my ui is actually built entirely on firefox :p00:51
rcn-eenice.. it's actually not that bad on Karmic/Lucid.. but on lenny with armv4 unoptimzation... ;)00:52
cwillu_at_workheh00:52
rcn-eei do really like the speed of chrome on arm thou...00:52
cwillu_at_workit wouldn't have had the neon accelerated routines in libpixman either00:52
cwillu_at_workthat makes a huge difference00:52
cwillu_at_workhmm00:53
cwillu_at_workSetting up openssh-client (1:5.3p1-3ubuntu3) ...00:53
cwillu_at_workqemu: uncaught target signal 11 (Segmentation fault) - core dumped00:53
rcn-eecome on beagle.. ;)00:54
cwillu_at_work[31576.626128] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)00:54
cwillu_at_work[31576.626140] BUG: unable to handle kernel paging request at ffffea000670489800:54
cwillu_at_work[31576.626147] IP: [<ffffea0006704898>] 0xffffea000670489800:54
cwillu_at_work[31576.626159] PGD 28402067 PUD 28403067 PMD 800000002de001e300:54
cwillu_at_work[31576.626168] Oops: 0011 [#1] SMP00:54
cwillu_at_work[31576.626174] last sysfs file: /sys/devices/virtual/block/loop1/queue/hw_sector_size00:54
cwillu_at_work[31576.626178] CPU 200:54
cwillu_at_worknot sure if that happened at the same time, or in response to the umount00:54
* cwillu_at_work tries it again without the tmpfs00:55
cwillu_at_workor maybe my server is dying of btrfs-related conditions01:01
rcn-eeit looks like qemu... the loop mount...01:02
cwillu_at_workI got a bunch of paging request failures below though01:05
rcn-eeah01:05
cwillu_at_workand all my terminal windows locked up01:05
cwillu_at_workI'm actually suspecting the hardware01:05
cwillu_at_workbut why fix it if I can just reboot every night? :p01:05
* cwillu_at_work orders pizza01:06
rcn-eeexactly.. it's what those kitchen timers are for... (specially on cable modems that lock up every 7 hours)01:07
cwillu_at_workI actually bought one yesterday :)01:07
cwillu_at_workit's rebooting a beagle for me01:07
rcn-eei picked up one of those ipower devices, can turnon/off 4 nodes over ip.. it's rebooted many beagles while i've been away...01:08
cwillu_at_workhow much are those?01:09
cwillu_at_workI want to reboot the thing every ten minutes, and bring it back up right away, but I also don't want to pay more than 7.95 to do it01:09
rcn-eelaughs, more $60-70 than that.. but geeks has them on sale every once in a while.. http://www.geeks.com/search.asp?QUERY=ipower  then a nice shell script to access them.. http://azug.minpet.unibas.ch/~lukas/myfree/01:11
cwillu_at_workhmm :/01:11
cwillu_at_workI think I'll just wire up a relay to a gpio01:11
rcn-eethat was my first thought... old arm board with ethernet, gpio to relays/etc...01:12
rcn-eeno ones really makes it, might be a nice hobby kit to sell...01:12
* cwillu_at_work nums on pizza01:22
Martynpizza sounds good right about now01:25
MartynI've started on the long, tedious process of finding duplicated symbols in the arm tree01:26
MartynIt's going to be like zapping flies .. killing them one at a time until all the ARM architectures can be compiled in at the same time01:26
Martyn(making a stupidly large, but VALID kernel)01:27
rcn-eesounds like fun!  Martyn is your current git tree public?01:29
Martynrcn-ee : No, I need to github the work as it goes along01:31
Martyni'll do that this weekend.  This is _literally_ the first night I've started to work on what I promised to do @ UDS01:31
MartynI just cloned the linux-arm kernel tree at 2.6.34 current01:31
rcn-eewell you've been busy, sounded like uds was crazy for arm.. ;)  i'm mostly asking, cause my tegra 2 is to arrive tomorrow or saturday..01:32
Martyn( I have an even higher priority task to do  . I need to get a basic patchset to add the arch/arm/mach-sstone subarch before the 2.6.35 window closes )01:33
Martynrcn-ee : AWESOME01:33
MartynWe are all going to have those little things01:33
MartynnVidia have been DRAGGING their fucking feet on getting the linux SDK out01:33
Martynfrankly, I think we might be able to button up lucid lynx on it faster than they can01:33
MartynI already have arm-server working correctly on it01:33
rcn-eeyeap, they have...  some of thought they'd deliver...01:34
cwillu_at_workroot@lucid-zippy:/etc/init# xsplash --display=:003:20
cwillu_at_workNo protocol specified03:20
cwillu_at_workodd03:20
cwillu_at_workhmm03:23
cwillu_at_workxterm opens03:23
cwillu_at_workfirefox doesn't, with the same error03:23
cwillu_at_workdid we add more xauth sillyness in lucid?\03:23
=== lag_ is now known as lag
=== sumitsemwal is now known as sumitsemwal|lunc
=== hrw|gone is now known as hrw
hrwmorning08:10
alf__hrw: Morning!08:12
=== sumitsemwal|lunc is now known as sumitsemwal
aaron_liujudevd-event[1051]: udev_node_mknod: mknod(/dev/tty58.udev-tmp, 020660, 4, 58) failed: Operation not permitted09:00
aaron_liujudevd-event[1044]: udev_node_mknod: mknod(/dev/tty51.udev-tmp, 020660, 4, 51) failed: Operation not permitted09:15
asaccooloney: hey ... will we first get .34 omap?09:16
asachrw wonders as he needs some driver ;)09:17
aaron_liujudevd-event[1051]: udev_node_mknod: mknod(/dev/tty58.udev-tmp, 020660, 4, 58) failed: Operation not permitted09:18
hrwso far I have few network/usb devices: 7Mbps ethernet (x3), rt73usb (tends to disconnect from usb bus), ath9k_htc (802.11n dongle)09:18
=== rtp_ is now known as rtp
aaron_liujchmod -R 777 /dev/capi"09:19
aaron_liujudevd-event[1051]: udev_node_mknod: mknod(/dev/tty58.udev-tmp, 020660, 4, 58) failed: Operation not permitted09:26
aaron_liuji using root nfs but udev occurs error09:26
aaron_liujudevd-event[1051]: udev_node_mknod: mknod(/dev/tty58.udev-tmp, 020660, 4, 58) failed: Operation not permitted09:27
aaron_liujwhen i flash the fs to the board .it's works well09:27
hrwaaron_liuj: so check nfs settings09:30
cooloneyasac: for 10.07, it will be .33 first09:31
asaccooloney: first? so in the end .07 gest .34 too?09:32
amitkasac: 10.07 will always be .3309:36
asackk09:36
cooloneythe patch from ti are based on .3309:36
asacright09:37
asaci was talking aobut maverick09:37
asacso does that mean until we have 10.07 maverick stays on whatever we are using for .07?09:37
amitk10.10 will be .35 finally, and we'll make available .34 kernels in the meanwhile09:37
amitkasac: no, they are separate kernel trees09:37
cooloneymattieu will work on M kernel for omap3/omap4 mainline09:38
amitkcooloney: I'm working on it, will be available early next week09:38
cooloneyi will work on M kernel branch for omap4 patch dump09:39
cooloneyamitk: great, so please talk with mattieu09:39
cooloneyhe is going to take a look at that09:39
amitksure09:39
cooloneythanks09:39
* amitk &09:39
hrwbeagleboard netspeed is now only limited to usb-ethernet card speed09:39
ndecamitk: cooloney: we will provide .34 patches for M release09:53
zygaguys - how likely is it to have a single kernel for >1 device by 10.10?09:53
asachi ndec09:53
ndecasac: hi09:54
zygas/more than >1 device/devices from >1 vendor/09:54
asac>1 vendor? quite unlikely09:54
cooloneyndec: thanks, hah09:54
asacbut you never know :)09:54
cooloneyndec: oh, one question09:55
ndeccooloney: yup09:55
cooloneyndec: i got this in the dmesg09:55
cooloney'Uninitialized omap_chip, please fix!'09:55
zygaasac, would it be possible to have a bunch of kernels on one 'image' and have uboot guess/choose the right one?09:55
amitkndec: but you'll also upgrade it to .35 as we go, right?09:55
cooloneydid you guys see that?09:55
zygaso that the 'impression' of getting integrated image is better than what we have today09:56
ndecamitk: yes we will do that as well. basically our BSP team follow mainline dev.09:56
ndecamitk: so we get regularly BSP rebase on latest mainline. we will need to discuss how we manage our out-of-tree patches for M releases.09:57
hrwcooloney: on a9 only or also on a8?09:57
amitkndec: ok, then we are on the same page :)09:58
cooloneyhrw: actually, i don't have hw, ogra_cmpc tested that on his blaze09:58
ndeccooloney: i need to check. right now it's not in my dmesg buffer, so I will try to reboot when I am done with my builds09:58
asaczyga: you can have a bunch of kernels on the image and uboot selecting one .... the problem is that we cant have a single uboot for all boards09:58
hrwcooloney: not have it on BB09:58
cooloneyit should be omap443009:59
cooloneydual a909:59
hrwcooloney: so blaze or panda - both are rather TI only (+few protos sent outside)09:59
zygaasac, if the vendor would ship a boot loader that compatible with our boot requirements we might be able to pre-hint it with the right kernel to choose (that would only make sense if the vendors were interested in following this idea)\09:59
ndecamitk: the only tricky part is between now and july since we want an updated kernel for L and M releases ;-)10:00
cooloneyhrw: exactly, i am just trying do some development based on the dmesg from ogra who has that hw10:00
hrwcooloney: 374 void __init omap2_check_revision(void) in arch/arm/mach-omap2/id.c10:01
asaczyga: its difficult. not all boards can have a uboot preinstalled in flash (e.g. some dont have nand etc.)10:01
cooloneyhrw: yeah, that is it.10:01
hrwcooloney: looks like it did not found it as 443010:01
ndeczygal: at least for omap, we are definetely interested in a single kernel image that supports all our boards. but this is tricky for now.10:01
cooloneyhrw: https://pastebin.canonical.com/32503/10:02
asacso there is more than just that. maybe if all would use disk/u-boot.bin.ARCH or something if they find that on mmc it would work10:02
cooloneyhrw: but except that error message, others are looks good10:02
cooloneyso weird10:02
hrwcooloney: I saw that dmesg before10:02
zygaasac, as long as arch is not arm-linux-eabi ;-)10:02
asacbut thats not that simple either. i think for the time being we need to accept tht we need different boot parts10:02
asacand work on tools so you can more easily combine our filesystems with whatever boot things you need10:03
zygaasac, your last comment is actually very true - a simple program that would download common filesystem image and combine that with whatever device kernel/boot requirements you may need would be good for early-adopters10:04
cooloneyhrw: ah, enjoy that. hah10:04
ndeccooloney: I can't access your pastebin with my launchpad account. is that expected?10:04
zyga(with boot instructions/device pictures so that even most inexperienced early adopters/tinkers will get it right each time...)10:05
persiacooloney: If it's not confidential, please use paste.ubuntu.com :)10:05
* zyga stops daydreaming ...10:05
persiazyga: If you want a longer-term daydream, imagine devices shipping with a uboot that does the right thing already in flash, so that we just ship a kernel and it magically works :)10:06
zygapersia, yes, that would be.... just like current PCs *g*10:06
zyga(with less crap on screen)10:06
ndecpersia: a longer longer-term daydream would be a device that boots without the bootloader ;-)10:07
persiandec: Depends on semantic values.  My defintion of "bootloader" is "The thing that loads a kernel".  I've no objection to it being in ROM, but I'll probably still call it a bootloader.  I do have an objection to putting a kernel in ROM.10:08
zygapersia, very true10:08
cooloneypersia: ndec sorry, actually, it was posted by ogra_cmpc10:09
asaczyga: yep. thats the setup-sdcard.sh script atm. ... could be improved though10:09
zygapersia, the really bad thing that I would hate is a bunch of devices shipping with bootloaders that load a signed kernel which cannot be changed ...10:09
amitkcooloney: use pastebin.ubuntu.com10:09
ndeccooloney: persia: no problem. i didn't know you had a private pastebin as well...10:09
ndecasac: persia: can you confirm that if I create a new ubuntu package (for PPA upload), the right version number should be: my-pkg-0.1.2-0ubuntu1~ppa1? do you recommend that I put the -0ubuntu1 suffix?10:12
persiazyga: signed kernels are good.  Not being able to configure the keyset is bad.  Note that we currently distribute signed kernels in Ubuntu, and refuse to write them to flash if they aren't signed (although there are massive manual workarounds to let users do whatever they like)/10:12
persiandec: My recommendation is my-pkg (0.1.2-0ppa1)10:13
cooloneyndec: http://pastebin.ubuntu.com/437200/10:13
asacndec: your version number looks sane imo ...what persia said is also ok10:13
persiandec: If the package *already* had an Ubuntu suffix, I'd suggest 0.1.2-3ubuntu4+ppa510:13
asacif the package isnt in debian the ubuntu1 suffix isnt needed10:13
ndecpersia: I am talking about new TI packages that aren't in debian or ubuntu already10:14
persiaIf/when it gets uploaded to Ubuntu, it will end up being 0.1.2-0ubuntu1, but it's safer to avoid messing with that for PPA versions, to give more flexibility.10:14
ndecasac: so the 0ubuntu suffix will be needed if we ever put our packages in main/multiverse?10:15
asacpersia: ppa1 is good too ;) ...10:15
ograwell, i'd actually like to pull in everything we can as early as possible into maverick10:15
asacndec: yeah ... unless you upload to debian10:15
persiandec: For new packages, I generally use -0persia1 : it's been pointed out that I can do this because of how my nick sorts, so I recommend others use -0ppa1 to achieve the same goals.10:15
ograso using the -0ubuntu1 suffix should be preferred10:15
persiathe suffix is not "needed".  It's just the conventional notation to indicate how the package got into Ubuntu.10:16
ograi didnt say its needed but its more consistent10:16
asacndec: in short ... your version number was perfectly fine ... will upgrade to ubuntu1 plain ... you can also use 0ubuntu0+ppa1 instead f 0ubuntu1~ppa1 ;)10:16
persiaBut, if the convention is followed, -0ubuntu1 should only be used for the revision that is actually uploaded to Ubuntu, and all prior versions should sort lower.10:16
ograasac, ++10:16
asacpersia: the suffix is needed to avoid syncs from debian if someone sabotages you and uploads the same package name there10:16
ograright10:17
persiaI'm kinda curious where the ~ recommendation came from.  I thought I changed all the LP docs to suggest +10:17
asacif you upload to debian all is fine10:17
ndecI am looking for the *right* thing to do. looks like my initial proposal was ok, right?10:17
persiaasac: no it isn't, but it does make that easier.10:17
asacpersia: i am still in favour of that. its a matter what you are doing ... improvements to last version -> +xxx ... working on new version -> +1~xxx10:17
* persia fails to see a useful semantic distinction between improving the old revision and working on a new revision, but has little interest in debating the specifics :)10:18
ndecpersia: i use ~ppa1 for my initial attempts.. i want my first official package to be 0ubuntu1+ppa1, but for all my initial attempts I am using ~ppa1 until i have something I am happy with10:18
asacpersia: its a matter of guts feeling ;)10:18
ograndec, pastebin-> sorry i'm not sure about how much i'm allowed to make public about the blaze yet so i usually use the protected pastebin10:18
persiandec: In short, you can use any version you like.  For an ideal end-user upgrade experience from PPA to Ubuntu, be sure to use something that dpkg --check-versions believes is lower than -0ubuntu110:19
ogra(and i usually dont paste the url in public channels :P )10:19
asacndec: 0ubuntu1+ppa1 would be wrong ... as that wouldnt upgrade to 0ubuntu1 which would be that goes to the real archive ;)10:19
asacjust use 0ubuntu0+ppa1, ppa2, ppa3 (even if 3 is final) ... or 0ubuntu1~ppa1, ppa2, ppa3 ...10:20
ograright10:20
asacboth would move towards a 0ubuntu1 for the real archive10:20
cooloneyogra: morning,10:20
ograin maverick we'll just use -0ubuntu1 then10:20
ograhey cooloney10:20
* persia thinks -0ppa1 is easier to type than -0ubuntu0+ppa1 :)10:20
ograndec, go with asac's suggestion10:21
cooloneyi replied one email for you and prepared a new kernel with omap serial built-in for testing10:21
ogracooloney, great, will test soon10:21
ograi wonder how that works since the early messages seem to go to ttyS* by default10:22
ndecasac: persia: ogra: thanks. I will continue with what I have, e.g. tisyslink-lib_0.24.5-0ubuntu1~ppa1, and I won't use the +ppa1 unless I want to override the main archive...10:23
ndecogra: blaze is public platform. its BSP is also on public trees. so all is fine.10:24
ogracool10:24
ograi'll use the public pastebin from now on :)10:25
ograi'm always a bit over-anxious with that stuff :)10:25
ndecogra: are you able to boot a ubuntu image on blaze?10:26
ograsure10:26
ograits my main build platform now :)10:26
lagwhich chroot do we use for building arm kernels? *-amd64 or *-i38610:26
cooloneyogra: oh, build platform, native building10:26
ogralag, -armel10:27
ogracooloney, indeed10:27
ndecogra: same for me. this is actually quite cool...10:27
ograi'm currently working on x-loader and u-boot for the blaze10:27
lagogra: Doesn't exist on emerald?10:27
ograits a bit painful that the x-loader tree links hard into the u-boot tree for all the headers10:27
ogralag, whats emerald ?10:27
ograkernel porter box ?10:28
lagogra: I thought you were going to say that :)10:28
lagapw: --^10:28
ndecogra: i know... but we will soon get rid of xloader anyways...10:28
persialag: Probably not.  People who use that server were surprised that they work at UDS.10:28
ograndec, indeed, but currently i need it so i need to somehow build it :)10:28
hrwndec: so bootrom -> uboot-from-sd?10:28
hrwor even s/uboot/whatever10:29
lagpersia: What do you mean?10:29
ograhrw, http://omappedia.org/wiki/E-MMC_boot see the bottom10:29
ndechrw: yes. we can append a small header to bootloader with EMIF config. ROM code parses header, configures DDR, and then loads uboot from SD (or NAND, or eMMC) in to DDR. so no more xloader10:29
persialag: At the end of the schroot+LXC session there was a demo of running an -armel chroot on an amd64 machine, which was the first time some of the present kernel folk had seen that.10:30
ndechrw: there is a limitation today with OMAP4, that will be fixed in next silicon rev.10:30
hrwI love that 'next silicon rev' part ;D10:31
asaclol10:31
lagAh, I see10:31
lagI have already done it, but I can't remember which chroot I used10:31
lagI thought it was amd6410:31
ndecpersia: armel chroot on x86 machine: can we build any armel packages this way?10:31
hrwI own atmel board with CPU rev.A which mean "boot only from dataflash". rev.B boards (which are most of sold ones iirc) can boot from dataflash or nandflash. the funny part is that dataflash is provided as mmccard10:32
ograndec, you can but note that its not faster than using qemu VMs ... compiler is as slow as emulated10:32
ograthe only thing you speed up is all the surrounding stuff10:32
ndecogra: ok.. so I will continue to use my board.10:32
ograyeah10:32
* ogra loves to be able to use make -j2 :)10:33
persiandec: No, but you can build most of them.  I've never had a build succeed in that environment that didn't also succeed on the buildds, but I've had some fail.  Anything that relies on a real /proc tends to break, so mono definitely won't work.  Some parrot stuff doesn't work right, etc.  There are also some missing syscalls, so some other stuff doesn't work.10:33
* ogra thought we had all syscalls after the last release10:33
ograthere are some missing ioctl calls though10:34
persiaogra: I thought we had all the syscalls that we knew broke builds we'd tested, rather than having done a formal evaluation of all possible syscalls, but you may be right.10:34
ograwell, i havent seen any "unsupported syscall" message in 6 months10:35
ndecogra: i can't sign my packages on the board since I am mount my rootfs over NFS. and my $HOME is not on a secure location. so I don't want to put my keys there. can I sign the .dsc and .deb afterwards after copying them on my laptop?10:35
ograyes, you should be able to use debsign or just unpack the tree on your x86 and use dpkg-buildpackage -S -sa10:36
persiandec: `debsign -r` lets you sign anythng you can scp from and to.  man debsign for details.10:36
persiaTo save on warning messages, I always use `debuild ... -us -uc` when building something for debsign -r10:36
* ogra often uses the latter as an additional control point that the source package builds right on other arches10:36
ndecpersia: ogra: ok, I will try that. btw, I am using dput over scp to copy the *.changes, that works great.10:37
ogracool10:37
ograi never tried that10:37
ndecogra: we setup an internal debian archive, so that we can apt-get install our early packages (without launchpad). so we build .dsc and .deb on boards, and update the debian archive with dput!10:39
ograsweet10:39
ndecogra: I realized that when you build with 'debuild' the .changes file tracks the .deb, so dput will also upload the .deb10:40
ograyeah10:40
ograwont work with the real archive though :) it only accepts sources10:40
ograi think debian allows binary uploads though10:40
persiandec: I'll strongly recommend you don't do that.  We chose to use source-only uploads in Ubuntu for several reasons, not least of which is that you can end up with problems rebuilding a package because of stuff that is installed in your local machine when using debuild to construct a .deb10:41
persiaogra: Rather, Debian requires binary uploads, supposedly as proof that the source is known to build somewhere.10:41
ndecpersia: i am not talking about a production system here. i need to be able to share .deb within the teams so that anyone can apt-get install TI stuff. so the workflow is: 1) I build source and bin package on my board, 2) dput to the archives, 3) any user can use my .deb.... this is cool for early dev.10:42
persiandec: I understand.  I still recommend you use sbuild or pbuilder to do that.  This will produce an armel.changes file which you can also dput.10:43
persiaThe problem is that if you end up having something odd on your machine that isn't listed in the control fields, you may end up with a different .deb than you expect, or it may work for you when testing, but then not work for anyone else later.10:44
persiaThis doesn't always happen, but these are examples of the sorts of issues that have been encountered with that type of workflow.10:44
persia(and avoiding these issues is part of why sbuild and pbuilder are available in the archives)10:45
ndecpersia: you mean running sbuild on the OMAP4 board, to make sure that my control fine has all the proper deps?10:46
persiaPrecisely.10:46
ndecpersia: what are the diffs between sbuild and pbuilder?10:46
persiaCompletely independent development histories, and different ways to add hook scripts, modify the internals, etc.10:47
persiaBoth attempt to replicate what is considered an ideal build environment, and so do almost precisely the same thing.10:47
persiaI personally use sbuild.  I know lots of folks that use pbuilder.  My recommendation is always to use the one that seems least confusing (although I'm only able to help people setup/use sbuild on schroot)10:48
cooloneyogra: does that ttyO2 ~test4 kernel work on your side?11:05
ogracooloney, still garbage11:22
ograoh, wait i used O0 not O211:23
ogracooloney, any FYI it boots through, i get a login prompt on the LCD11:23
ogracooloney, works :D11:25
ograUbuntu 10.04 LTS blaze ttyO211:29
ograblaze login:11:29
ogra:)11:29
ogracooloney, so now we only need to get rid of the "omap_hwmod:" messages and we should be roughly fine11:29
ograndec, do you have an idea why we get all the spam ?11:30
ogramassive amounts of omap_hwmod: lines are put out ... according to the prefix <7> its loglevel 7 but if i change it it doesnt change behavior11:30
ndecogra; do you have these traces in serial console or in dmesg?11:31
ograeverywhere11:31
ograand it goes on to spill to console after boot11:32
ogra<7>omap_hwmod: i2c1: enabling11:32
ogra<7>omap_hwmod: i2c1: idling11:32
ograthats what i see after boot in dmesg and console11:32
ndecogra: i don't have them in serial console. but I am not using same kernel as yours. probably something wrong with the config of cooloney's kernel11:32
ograduring boot it points to different devices11:32
ograwell, its the omap4 config merged with the ubuntu config11:33
ograsomething seems to clash there11:33
ograndec, also are you able to run git clone with your kernel ?11:33
ografor me it fails and afterwards nearly everything starts to segfault11:34
ndecogra: nope... i think i mentioned that to you on irc a few weeks back11:34
ograah, k11:34
ograrobclark said he heard someone found a fix for it11:34
ndecogra: i have the same problem. I installed an older version of git (1.6.5) which works.11:34
ograright11:35
ograrob told me the same11:35
ndecogra: i think this is just a rumor of a fix... i haven't seen anything..11:35
cooloneyndec and ogra, i am working on killing omap_hwmod11:35
cooloneyomap_hwmod message11:35
ogracooloney, perfect11:35
ograndec, and rebooting seems to fail for me11:35
ndeccooloney: ok... please don't kill omap_hwmod ;-)11:36
ogranot sure thats known already11:36
cooloneyogra: but still don't have any idea.11:36
ndecogra: known issue as well. and you must reboot after git clone fails.11:36
cooloneyndec: eheh, indeed. that's our rumtime PM, right11:36
ograndec, heh, yeah :)11:36
ndeccooloney: amitk: by the way, CONFIG_ARM_THUMB should be checked in config/enforce for 10.04 and above... it's a strong requirement.11:39
ndeccooloney: in arch/arm/mach-omap2/omap_hwmod.c you have #define DEBUG at b/o file. that should be the problem, no?11:41
hrwasac: http://hrw.pastebin.com/ucXSuQU011:41
ndechrw: this looks sweet...11:43
hrwpure sh11:43
ograhrw, urgh11:43
ogrause case !11:43
ndechrw: still sweet ;-)11:43
cooloneyndec: ok, we enable it in our ARM.11:43
cooloneybut not in enforce.11:44
ndecogra: no more need for ttySx.conf files11:44
cooloneyi will post a patch11:44
ndecogra: the script detect your console args from bootargs and create the correct getty11:44
hrwARM_THUMB is a thing which should be always enabled in kernel (on 920t and above)11:44
ografor x in $(cat /proc/cmdline); do11:44
ogra    case $x in11:44
ogra        console=*)11:44
ogra            tty=${x#console=}11:44
ogra            log_begin_msg "$DESCRIPTION"11:44
ogra            cat > /root/etc/init/${tty}.conf <<EOF11:44
ograstart on stopped rc RUNLEVEL=[2345]11:44
ograstop on runlevel [!2345]11:44
ograrespawn11:44
ograexec /sbin/getty -L 115200 ${tty} vt10011:44
ograEOF11:44
ograndec, hrw ^^^11:45
amitkcooloney: you can have arch specific enforce. we should add it to our enfore11:45
hrwogra: what if my board has 57600 serial only?11:45
hrwogra: but I like your ver11:45
cooloneyndec: found that DEBUG macro. there11:45
ograhrw, add a nested case that catches the speed :)11:45
cooloneyndec: let me remove it and build the kernel again.11:45
ograhrw, its just a quick hack, needs test code etc11:45
cooloneyndec: but i think it is the same in omapzoom git tree11:45
cooloneyamitk: right, i found most of the omap enforce are the same as our common enforce11:46
cooloney.master enforce11:46
ndeccooloney: yes. i have all traces in dmesg but not in console. what are your bootargs?11:46
ograhrw, note that my code lives rather in initramfs for a proper upstart script you need the right upstart script commands11:46
asachrw: your script looks good11:47
ograhrw, though when scripting, try to rather use case than if its several times faster11:47
asachave you tried it with a few options?11:47
asacogra: we dont want to patch existing ttys11:47
asacits really just creating the right tty on the fly11:47
asacfor non casper boots11:48
ograasac, yes thats what my script does, you just need some test for ttyS11:48
ograthats why i said above its a quick hack :)11:48
ograby default nothing ships ttyS scripts11:48
cooloneyndec: i don't have hardware, so i don't change any bootargs,11:48
cooloneyogra: ^^^^11:49
asachrw:  can you use ogras approach and clean that up a bit ... so it parses the number etc11:49
asachrw: or are you happy with your current approach?11:49
hrwhttp://hrw.pastebin.com/CuT5AM1z is a bit cleaner11:49
asachrw: also remember to use autologinroot there as the login11:49
ograndec, root=UUID=bc59dc33-8403-4fbd-84a6-ddf0c760b25a ro quiet console=ttyO2,115200n8 vram=12M omapfb.vram=0:5M,1:5M fixrtc11:49
ndecasac: autologinroot?11:50
hrwone thing to handle left11:50
* ogra needs to feed the cats else they will eat *me*11:50
hrwcmdline="console=tty1 console=ttyS2"11:50
asachrw: we should ignore ttyX if /etc/init/ttyX.conf exists11:51
hrwasac: thats next to add11:51
asacright11:51
asacndec: thats an auto login as root thing. for a minimal image11:53
cooloneyogra: ok, after you feed your cats, you will get a new kernel to test11:53
asacis console=/dev/ttyXXX also valid?11:54
asaci think so11:54
asachrw: in that case remember to strip the /dev/ or so in your script11:55
hrwok11:57
ndeccooloney: you need to revert 2d60cfb9010470ce5b172513c907091ad30be34e, http://dev.omapzoom.org/?p=integration/kernel-omap4.git;a=commit;h=2d60cfb9010470ce5b172513c907091ad30be34e. i will check why this ended up in our tree...11:58
ograasac, i dont think its valid12:02
ogracooloney, i'm back (surrounded by burping cats now :) )12:03
asacogra: kk12:03
ograndec, bah, the hole for HDMI on the blaze case needs to be bigger, i have about 10 HDMI cables of different size here, not a single one fits through the hole in the case !12:27
ograoh, silly me its micro HDMI12:30
* ogra gets the right cable12:31
cooloneyogra: pls try my ~test5 kernel in the same URL12:33
* ogra wgets12:33
cooloneyWhich revert the DEBUG macros12:34
ogracooloney, ndec, http://paste.ubuntu.com/437259/ \o/12:39
ndecogra: cool12:40
jussiogra: lol12:40
ograhmm, i wonder whyt happens if i dont set the vram options12:44
ograi think we should really set proper defaults in the kernel so we only need the cmdline option to override them12:45
hrwasac: what handle autologinroot?13:13
hrwcurrent version of service has 48 lines, handles /dev/ttyS2 and ttyS2, uses cases, checks for services13:18
hrwhttp://hrw.pastebin.com/4VZGsknt13:18
* ogra bets line executing 15 is slower than just keeping line 17 alone13:20
ogra*executing line 1513:20
hrwright13:21
ograalso does upstart like exit 0 ?13:21
hrwI took it from other init script13:21
ograah, k13:21
ograi wasnt sure about that13:21
=== XorA is now known as XorA|gone
ograhrw, how about that one :) http://paste.ubuntu.com/437306/13:55
ogra(indeed without the echo around the getty call)13:56
hrw;)13:57
hrwogra: http://hrw.pastebin.com/XAvmFiA8 landed in package13:57
ograyup13:58
hrwbut yes - I like your version13:58
hrwand it does not work on many ARM boards13:58
hrwttyAM0 ttyAMA013:58
ograwhy is that ?13:58
hrwttySAC013:58
ograoh, right13:58
hrwbut case: tty([0-9]+) {} should take care13:59
ograshould rather be tty[A-Z]*) in the case13:59
hrwor that14:00
=== JaMa is now known as JaMa|GoNe
asacogra: what was the hint that told ubiquity on a live cd what packages not to include in the install?15:13
asacah ... thats ./binary/casper/filesystem.manifest-desktop15:14
hrwprpplague: hi15:48
prpplaguehrw: hey bud16:01
hrwprpplague: any rumours when pandaboard will hit market?16:02
prpplaguehrw: yea, but i'm not if the info can be released16:02
prpplaguei'll ask about that16:02
hrwhttp://www.flickr.com/photos/hrwandil/450697151716:46
robclarkhrw: any plans for what sw / UI to be running on that?  Remote control?16:49
hrwrobclark: for now it is just machine for live-helper and other such things16:49
hrwrobclark: I planned to make beagleboard tv but so far did not get good working wifi16:50
robclarkahh16:50
ogra_cmpchrw, with the ubuntu kernel ?16:50
hrwogra_cmpc: previous was with 2.6.32 from ti-psp16:51
ogra_cmpcah16:51
ogra_cmpci yet have to find a usb wlan stick that doesnt work on ubuntu16:51
hrwogra_cmpc: tplink  TL-WN721N?16:52
hrwogra_cmpc: it is 802.11n, needs ath9k_htc driver16:52
hrwFATAL: Module ath9k_htc not found.16:53
ogra_cmpcgrmbl16:54
hrwogra_cmpc: FATAL: Module ath9k_htc not found.16:54
hrwogra_cmpc: it is in wireless tree16:54
ogra_cmpcweird16:54
hrwhttp://hrw.pastebin.com/hDCp05fH - known?16:55
ogra_cmpcall USB wifi drivers should be enabled in out omap kernel16:55
ogra_cmpcif not thats a bug16:55
hrwogra_cmpc: all existing in mainline, yes16:55
rcn-eehrw, we got a thread on linux-omap about dss/core.c:323! ... no fixes yet..16:56
ogra_cmpchrw, trying to shut down the board while DPMS is active ?16:56
hrwogra_cmpc: no just "reboot" command16:56
ogra_cmpci only get that if the screen is off16:57
ogra_cmpcas long as its on it reboots fine16:57
hrwogra_cmpc: I do not checked does lcd is on or off16:57
hrwprobably off as I do all over serial+ssh16:57
ogra_cmpcso imho its a DPMS vs DSS2 issue16:57
ogra_cmpcright16:57
ogra_cmpcwe have a bug about it open somewhere16:58
rcn-eebug 563650... still occurs with 2.6.34 + dss2 next...16:59
ubot2Launchpad bug 563650 in linux-ti-omap (Ubuntu Lucid) (and 1 other project) "DSS2 oops when shutting down while DPMS is active (affects: 1) (heat: 10)" [Medium,Confirmed] https://launchpad.net/bugs/56365016:59
ogra_cmpchttps://bugs.edge.launchpad.net/ubuntu/lucid/+source/linux-ti-omap/+bug/56365016:59
ubot2Launchpad bug 563650 in linux-ti-omap (Ubuntu Lucid) (and 1 other project) "DSS2 oops when shutting down while DPMS is active (affects: 1) (heat: 10)" [Medium,Confirmed]16:59
ogra_cmpcbah rcn-ee beats me :P16:59
rcn-eeit's one i'm playing source wise with right now.. ;)16:59
ogra_cmpcnice !16:59
hrwok, rt2570 and rt3070 refuse to work17:00
hrwrt307217:00
hrwrt2570 gets connected/disconnected and loop17:01
ogra_cmpcdo you have linux-firmware installed ?17:02
hrwyes, firmwares exists17:03
hrwanyway end of day for me17:03
ogra_cmpchmm, make sure to file bugs for all of them17:03
hrwhave a nice weekend17:03
hrwwill17:03
=== hrw is now known as hrw|gone
ogra_cmpcyou too17:04
=== GrueMaster_ is now known as GrueMaster
Cosmo`hi chaps, anyone got any experience running Ubuntu on the Beagleboard?18:29
ogra_cmpcCosmo`, https://wiki.ubuntu.com/ARM/Beagle18:30
Cosmo`thanks ogra_cmpc, i've actually already got it up and running via the netinstall18:30
Cosmo`which is actually really good18:30
Cosmo`but i'm experiencing some strange behaviour18:31
Cosmo`(i am still working out exactly what's going on bear with me for half hour ;) )18:33
Cosmo`it seems that whenever i do anything intensive over the USB the whole thing just trashes itself18:40
Cosmo`the USB hub powers down18:40
ogra_cmpcyou should always use a powered hub with a beagle18:40
Cosmo`i am18:40
Cosmo`however ... i have an idea18:40
Cosmo`one sec18:40
ogra_cmpcwhat board revision is that ?18:40
Cosmo`C3 i think18:41
ogra_cmpchmm18:41
ogra_cmpci havent seen issues like that with the C4, not sure about the C3, rcn-ee might know about that rev18:41
rcn-ee(jumps back in)... Cosmo` is this over ehci?  there is a known issue with load on C2/3's..18:41
ogra_cmpcheh18:41
rcn-ee(hence the C4 ehci power redesign)18:41
Cosmo`if i'm honest18:42
Cosmo`i have no idea18:42
rcn-eeit's labeled.. next to the usb 2.0 (ehci) connector... ;)18:42
Cosmo`no i mean i know it's C318:42
Cosmo`but i don't whether it's over ehci18:43
Cosmo`hmm18:43
Cosmo`i think this MIGHT be the problem18:44
Cosmo`one sec18:44
rcn-eeoh sorry... the OTG port (little one next to the 5.0volt) is usually called "MUSB" and the regular usb 2.0 port is called "EHCI" mostly becuase it doesn't support old Usb1/1.1.. (ehci only)18:44
rcn-eethere is a cap mod listed in the beagleboard forums, but most people just use the MUSB port by default on C2/3's...18:45
Cosmo`hmm, not seeing anything that says EHCI18:45
Cosmo`interesting18:46
ogra_cmpcthe std. sized USB socket is ehci18:46
Cosmo`i tried powering from the USB OTG just then from my PC and not from the hub18:46
Cosmo`same issue18:46
Cosmo`however18:46
Cosmo`it gets rid of alot of the weird USB errors i was having18:46
rcn-eeCosmo`, http://elinux.org/BeagleBoard#EHCI talks about the hardware issue..18:46
Cosmo`right, thanks let me take a look18:46
* rcn-ee goes back to beer and grillin.. ;)18:47
Cosmo`ok, that certainly looks plausible18:47
Cosmo`doh, now i need to get one of those special OTG connectors18:47
Cosmo`is there any way you can force it in software to be a host without using one of the special connectors?18:48
ogra_cmpca power supply should hlep too, no?18:49
Cosmo`yep, i will need to use one if i am using the USB OTG as a host18:49
Cosmo`at the moment i am powering it from the USB OTG, but i can run back up to the lab and get a power supply18:49
Cosmo`hmm20:14
Cosmo`there's an aggrevating lack of places to buy USB OTG cables in the UK20:14
rcn-eeyeah they've always been hard to find...  you can find them at cell phone stores for nokia phones... look like: http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&site=US&KeyWords=10-00003-ND20:17
rcn-eeor if you have an atmel avr8/32 development kit, they usually throw one in their too...20:18
Cosmo`well rcn-ee20:19
Cosmo`do you know if i can just force the port into host mode in software?20:19
rcn-eeyeah it's just a config option, you you'll have to rebuild...20:20
Cosmo`because i don't see why i couldn't just use a Mini-B to USB20:21
Cosmo`and plug it into a powered hub20:21
Cosmo`would that work?20:21
rcn-eeyeah it would work.. as long as you jumper the two pins on the beagle..20:21
Cosmo`oh, so it cannot be done without hardware modification then?20:21
Cosmo`as i can't modify this board20:21
rcn-eeyou can either do a software change (config in kernel) or hardware change..20:21
Cosmo`ah, ok20:22
Cosmo`well i've got no problem with rebuilding the kernel, i'll do it that way20:22
Cosmo`the board doesn't belong to me, i've borrowed it from our research group20:22
Cosmo`is there anything special to know for the ARM kernel or can i just follow standard Ubuntu kernel compilation tutorials?20:23
rcn-eeactually as long as you don't need it at boot.. you might be able to play with: /sys/devices/platform/musb_hdrc/*20:23
rcn-eemy Bx beagle has "cat /sys/devices/platform/musb_hdrc/mode" ->a_host20:24
Cosmo`hmm ... i could try this20:24
Cosmo`i will have to go to the lab and get an adapter first though20:24
rcn-eewith everything on the otg bus, you'll need a serial cable to gain console access to bring it up..20:25
Cosmo`well i'll just plug a keyboard in on the EHCI port20:25
Cosmo`that doesn't seem to be enough to crash it all20:25
Cosmo`and i can plug it into a monitor so i can make the changes directly20:26
rcn-eeit's high bandwith devices.. usb harddrives/usb ethernet that usually casue it for mine..20:26
Cosmo`so do i just echo a_host into mode20:26
rcn-eeyeap.. do it as root.. (sudo su)20:27
Cosmo`well hold on, i'll pop to the lab and get an adapter first anyway, can't do anything without that20:27
Cosmo`be back in 20 minutes or so20:27
Cosmo`well21:08
Cosmo`great success21:08
Cosmo`let's see if i can get this working21:08
Cosmo`hmm rcn-ee ... i don't seem to be able to get permission to echo into mode in musb_hdrc21:12
rcn-eeyaep.. you have to use 'tee' or switch to root.. "sudo su" then do it..21:13
Cosmo`interesting21:13
Cosmo`not used ubuntu before21:13
Cosmo`so never had to do 'sudo su' :)21:13
rcn-eebasicly sudo echo "x" > 'y' doesn't work. ;)21:14
Cosmo`hmm ...21:14
Cosmo`i get a write error with an invalid argument when using "echo 'a_host' > mode"21:14
rcn-eeweird.. just try 'host' not sure why mine is a_host but it's what google shows21:16
Cosmo`odd21:17
Cosmo`that worked21:17
Cosmo`well21:17
rcn-eewhen you read back is it host or a_host?21:17
Cosmo`it goes straight back to b_idle anyway21:17
Cosmo`it doesn't error though21:18
persiaSo, one should generally not `sudo su`.  In almost all cases, `sudo -s` is preferable.  For redirects, something like `cat foo | sudo tee output.file` is the common solution (only writes the file as root, and keeps the process running as non-root)21:22
Cosmo`right21:23
Cosmo`i'm used to using other distributions so typically i would usually just sudo21:23
Cosmo`and then simply su when it's needed (rarely)21:23
Cosmo`oops21:28
Cosmo`i guess you just can't do it in software on the beagleboard21:43
Cosmo`so rcn-ee, i guess the only option for software will be to recompile the kernel22:08
Cosmo`any pointers on where to look for how to do this?22:14
=== james_w` is now known as james_w

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