UbuntuIRC / 2011 /09 /27 /#ubuntu-arm.txt
niansa
Initial commit
4aa5fce
[01:05] <brandini> chatty in here tonight
[03:00] <tgall_foo> ogra_, slangasek : is it going to be possible to get some sponsorship love for libjpeg-turbo that's in revu?
=== Jack87|Away is now known as Jack87
=== plars is now known as plars-zzz
=== dcarr_home is now known as dcarr_imposter
=== vila is now known as babune
=== babune is now known as vila
[07:14] <lag> Daviey: You're lucky you found _one_ person who would room with you ;)
[07:24] <twb> SWMBO?
=== Jack87 is now known as Jack87|Away
=== Jack87|Away is now known as Jack87
=== doko_ is now known as doko
[11:39] <ogra_> tgall_foo, whats the reason for using that old debhelper version =
[11:39] <ogra_> ?
=== Quintasan_ is now known as Quintasan
=== plars-zzz is now known as plars
=== shadeslayer is now known as shocklateboy42
=== shocklateboy42 is now known as shadeslayer
=== Jack87 is now known as Jack87|Away
[17:09] <brandini> is the daily from today worth downloading and installing?
[17:09] <brandini> it'd be great to see what changed between those builds somewhere
[17:33] <GrueMaster> brandini: You can also just do a "sudo apt-get update;sudo apt-get dist-upgrade" to find out. On a daily basis, this can be much quicker, especially after Thursday when we go into final freeze. After that, it is critical bug fixes only.
[17:46] <infinity> brandini: Unless you're looking for installer changes, there's probably no point in new dailies (or even the final release), just upgrading should be fine.
[17:46] <infinity> brandini: On the other hand, if you want to help make sure the installation media is in good shape, please do. ;)
[17:54] <brandini> infinity: both mostly
[17:54] <brandini> :)
[17:55] <brandini> but back to my original question... is it good? :P
[17:56] <infinity> Dunno, haven't used it.
[17:56] <brandini> :)
[17:56] <brandini> ok, here I go
[18:06] <brandini> updated and rebooting
[18:07] <prpplague> GrueMaster: i really should build more of my panda netbooks
[18:08] <GrueMaster> Yes, and send one to me. :P
[18:09] <prpplague> GrueMaster: with all the new omap4 devices coming out, i would how economical it would be to build some....
[18:09] <brandini> prpplague: got pictures?
[18:09] <prpplague> http://www.elinux.org/PandaBoard_Netbook
[18:10] <brandini> my friend is building one of those, would you be interested in doing one for him?
[18:11] <prpplague> hehe, i would love to build some more, simple don't have the time
[18:11] * prpplague tries to remember a quote from roscoe brown in the cowboys
[18:13] <brandini> time is money?
[18:13] <brandini> is it possible to turn off wifi/bt from the command line?
[18:13] <brandini> I don't use them and I'd like to disable them
[18:14] <prpplague> yea if you export the gpio controls
[18:14] <sniperjo_> whats the best way to install dependancies on a chroot environment?
[18:14] * brandini looks up the gpio controls
[18:19] <brandini> prpplague: in bsd we have soft and hard switches to control them
[18:32] <sniperjo_> I'm desperately trying to get lucy running on an omap device, not beagle! it comes with angstrom. I've swapped the rootfs between the two and it boots up to "Starting GPE display manager" and hangs, any ideas ?
[18:34] <GrueMaster> lucy?
[18:36] <sniperjo_> GrueMaster: oops, think i probably meant lucid!
[18:36] <GrueMaster> Why do you want Lucid? It was only a tech preview on omap3.
[18:36] <GrueMaster> And it is due to drop support next month for armel.
[18:37] <GrueMaster> (18 month support cycle for ports).
[18:37] <sniperjo_> GrueMaster: because apparently it will work the best with the old kernel that works with angstrom
[18:42] <GrueMaster> I take it you had issues with ubuntu core?
[18:42] <infinity> How old is this kernel you're using?
[18:42] <sniperjo_> GrueMaster: I'm not going to lie… I've had issues with everything
[18:43] <infinity> New userspace should work fine with old kernels, generally.
[18:52] <sniperjo_> infinity , GrueMaster " its 2.6.32
[18:54] <GrueMaster> sniperjo_: I have used 2.6.31 on a different system (Dove) and had it boot into an oneiric rootfs, so it does work.
[18:54] * martyn has just booted an oneric rootfs
[18:56] <GrueMaster> sniperjo_: What are you currently booting from? SD? eMMC/Flash?
[18:56] <sniperjo_> GrueMaster: SD
[18:56] <GrueMaster> Ok, how is the SD partitioned? And do you have a spare SD 4G (or bigger)?
[18:57] <sniperjo_> GrueMaster: i have a 4gb
[18:57] <GrueMaster> That can be wiped?
[18:57] <sniperjo_> GrueMaster: partitioned as their sdcard config script does, one boot, one rootfs
[18:57] <sniperjo_> yup
[18:58] <GrueMaster> Ok, clone your working SD onto your spare SD.
[19:01] <sniperjo_> GrueMaster: ok done!
[19:01] <GrueMaster> Make sure the spare boots.
[19:04] <sniperjo_> GrueMaster: it works
[19:05] <GrueMaster> Ok, power off, and move the SD to your PC. BTW, what are you running on your PC?
[19:05] <sniperjo_> ubuntu netbook, 2.6.32-33
[19:06] <GrueMaster> Ok. Old, but ok.
[19:06] <GrueMaster> On the netbook, insert the SD, but make sure it is unmounted.
[19:07] <sniperjo_> ok
[19:07] <GrueMaster> What drive is it (/dev/mmcblk0, /dev/sdb, etc)?
[19:07] <sniperjo_> sdb
[19:09] <GrueMaster> Ok, no format the second (rootfs) partition with "sudo mkfs.ext3 /dev/sdb2" (no quotes).
[19:12] <sniperjo_> GrueMaster: ok, done
[19:14] <GrueMaster> Ok. Now, do you have a copy of ubuntu-core? If not, "wget http://cdimage.ubuntu.com/ubuntu-core/releases/oneiric/beta-2/ubuntu-core-11.10-beta2-core-armel.tar.gz"
[19:15] <sniperjo_> i have ed2e64d339cb4fc89c8965e6717d6d3e oneiric-core-armel.tar.gz
[19:16] <GrueMaster> Looks like it is the same one.
[19:16] <GrueMaster> In the directory where that tarball is, make a mnt directory "mkdir mnt".
[19:17] <sniperjo_> ok
[19:18] <GrueMaster> Now, "sudo mount /dev/sdb2 mnt"
[19:18] <sniperjo_> ya
[19:18] <GrueMaster> Next, "cd mnt" followed by "sudo tar -zxvf ../oneiric-core-armel.tar.gz"
[19:19] <GrueMaster> That should finish rewriting your rootfs with the ubuntu-core.
[19:19] <sniperjo_> yup
[19:19] <GrueMaster> ok, "cd .. ; sudo umount mnt"
[19:19] <GrueMaster> Wait for it to flush any cache writes.
[19:20] <GrueMaster> Then try that SD in your system.
[19:23] <sniperjo_> GrueMaster: ok, it has a massive spas out on udevd[2861]: unable to receive ctrl connection: Function not implemented
[19:23] <sniperjo_> as in it just keeps on repeating it
[19:24] <GrueMaster> hmm.
[19:24] <sniperjo_> also a modprobe: FATAL: Could not load /lib/modules/2.6.32/modules.dep: No such file or directory
[19:25] <GrueMaster> That is to be expected at the moment. No kernel in ubuntu-core rootfs.
[19:25] <GrueMaster> It should still give you some sort of prompt.
[19:25] <GrueMaster> Is this serial console or on screen?
[19:26] <sniperjo_> http://pastebin.com/ukRiFiaB
[19:26] <sniperjo_> GrueMaster: Serial console.
[19:28] <GrueMaster> ok. need to make a tweek to the rootfs. Shut it down and move the SD back to your netbook.
[19:28] <sniperjo_> ok, unmount ?
[19:29] <GrueMaster> mounted.
[19:29] <sniperjo_> good to go!
[19:30] <GrueMaster> ok. Easiest is to do the work in a terminal. cd to the mount point.
[19:30] <GrueMaster> and cd etc
[19:31] <sniperjo_> yup
[19:31] <GrueMaster> then type "sudo cp init/tty2.conf init/ttyO2.conf
[19:32] <sniperjo_> yup
[19:32] <GrueMaster> then "sudo vi init/ttyO2.conf" and change "exec /sbin/getty -8 38400 tty2" to "exec /sbin/getty -L ttyO2 115200"
[19:35] <sniperjo_> yup
[19:35] <GrueMaster> Save, cd away, unmount and reboot.
[19:36] <GrueMaster> See if that gives to a console shell.
[19:37] <sniperjo_> no looked like their might of been a longer pause, but then same error
[19:37] <sniperjo_> udevd[2861]: unable to receive ctrl connection: Function not implemented
[19:37] <GrueMaster> Does hitting enter on the serial console bring up anything?
[19:38] <GrueMaster> What is the kernel cmdline?
[19:38] <GrueMaster> (scroll up to see).
[19:39] <sniperjo_> enter does nothing and
[19:40] <sniperjo_> GrueMaster: where am i meant to be looking ?
[19:40] <sniperjo_> for uboot ?
[19:41] <GrueMaster> As the system boots, after "Uncompressing Linux... done, booting the kernel."
[19:43] <sniperjo_> err "Linux version 2.6.32 (root@edward-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #20 Fri Aug 6 13:54:51 CST 2010" ? its all on http://pastebin.com/ukRiFiaB
[19:43] <sniperjo_> GrueMaster: Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[19:43] <sniperjo_> sorry, diddnt see it
[19:43] <GrueMaster> Got it. Ok, need to reedit.
[19:44] <sniperjo_> ok I'm back in ect
[19:44] <sniperjo_> etc even
[19:44] <GrueMaster> excellent.
[19:44] <GrueMaster> Ok, "sudo mv init/ttyO2.conf init/ttyS2.conf"
[19:45] <GrueMaster> Then "sudo vi init/ttyS2.conf" and replace ttyO2 with ttyS2.
[19:46] <GrueMaster> That "should" now give you either a terminal or a login on the serial console.
[19:48] <sniperjo_> GrueMaster: still the same
[19:49] <GrueMaster> pressing enter should give you something.
[19:50] <sniperjo_> GrueMaster: still the same
[19:51] <GrueMaster> Are you using the keyboard on the serial-console system or a keyboard attached to the test system? use the serial-console system.
[19:51] <sniperjo_> still have "udevd[2861]: unable to receive ctrl connection: Function not implemented" that comes up 15x a sec, and pressing enter just adds a like between wherever it is printing
[19:52] <sniperjo_> GrueMaster: yes, its all going through a modem
[19:52] <sniperjo_> & minicom
[19:52] <GrueMaster> modem?
[19:52] <sniperjo_> well, usb / serial adapter
[19:52] <sniperjo_> lol
[19:53] <GrueMaster> Ok. BIGGGG difference. :P
[19:53] <GrueMaster> Lose minicom. It is a pita.
[19:53] <sniperjo_> i had some awful belikin thing before which was one
[19:53] <GrueMaster> Just type "screen /dev/ttyUSB0 115200"
[19:54] <GrueMaster> That should give you a better serial console.
[19:54] <sniperjo_> ok, but its still the same !
[19:54] * infinity glares at sys/ucontext.h on ARM.
[19:55] <GrueMaster> Ok. Next we will need to disable udevd. Shut down and prepare to edit while I look at my systems.
[19:56] <sniperjo_> ok, thanks so much
[19:57] <GrueMaster> Looks like we can just edit etc/init/udev.conf. Comment out the "exec udevd --daemon by adding a # to the beginning of the line.
[19:58] <sniperjo_> ok, and try again ?
[19:59] <GrueMaster> yep
[20:02] <sniperjo_> GrueMaster: ok, so by the looks of it now, its just stopped before where the udev would start spamming it , enter does nothing
[20:03] <GrueMaster> hmmm.
[20:06] <GrueMaster> Not sure what the issue is now. I'll muck with some stuff here on a different system and see if I can recreate the environment. But first, I need food (haven't eaten all day).
[20:07] <sniperjo_> GrueMaster: ok, that would be amazing
[20:07] <sniperjo_> thanks for your help again!
[20:12] <GrueMaster> sniperjo_: One other thing, you might want to keep and eye on https://wiki.ubuntu.com/ARM/PBlueprintIdeas. One of the blueprints for next cycle is to help enable other consumer devices. For the most part, yours may be failrly simple (like patching u-boot & kernel to ID your board).
[20:13] <GrueMaster> If you can make it to Orlando Florida the first week of November, you can discuss it in person, otherwise you can monitor the sessions in IRC and comment where appropriate.
[20:14] <sniperjo_> i'd love to, but its a bit far !
[20:14] <GrueMaster> Getting full support for your system in Oneiric is unfortunately not going to happen. We have final freeze Thursday, with only critical updates after that.
[20:15] <GrueMaster> But I can try to help a little as time allows.
[20:15] <GrueMaster> For now, lunch.
[20:15] <sniperjo_> GrueMaster: yea thats great, I'm only really looking for something that will play nice with chromium and mplayer at the moment!
=== lopi is now known as Lopi
=== lopi is now known as Lopi
=== lopi is now known as Lopi
=== Jack87|Away is now known as Jack87
[23:22] <rsalveti> http://techcrunch.com/2011/09/26/amazon-kindle-fire/
[23:22] <rsalveti> wow, everything is omap now :-)
[23:22] <rsalveti> probably omap 4
[23:36] <GrueMaster> Would explain why pandas are hard to buy.
=== Jack87 is now known as Jack87|Away
=== Jack87|Away is now known as Jack87