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

ValiHi all04:49
Valii was trying to create the rootfs of ubuntu jaunty to the beagle board04:50
Valii have used this command  sudo rootstock --fqdn vali --login ubuntu --password ubuntu --imagesize 2G --seed wget,nano,linux-firmware,wireless-tools,usbutils --dist jaunty --serial ttyS0 --components"main universe multiverse" --kernel-image http://rcn-ee.net/deb/kernel/beagle/lucid/v2.6.32.11-l13/linux-image-2.6.32.11-l13_1.0lucid_armel.deb04:50
Valito create the rootfs04:50
Valithere is only two files are created  armel-rootfs-201005182008.tgz  and vmlinuz-2.6.32.11-l1304:51
Valii didb,t get any initrd04:51
Valiinitrd.img-2.604:51
Valiany one please help me to find the issue..?04:52
rcn-eeVali, are you running lucid? or using rootstock from brz trunk?04:53
rcn-eebtw don't mix and match deb's built for a specific target for a different distro...  that lucid kernel will not boot on jaunty...04:55
Valican please send the command to create the jaunty img for beagle..?04:56
rcn-eeare you running lucid?04:56
Valii am runnig jaunty04:57
Valiu mean in beagle or in my pc04:57
Vali?04:57
rcn-eeI mean on your PC which you are running rootstock....04:57
Valiubuntu 9.1004:57
rcn-eeokay... the version of rootstock shipped with 9.10 does not include initrd.img-xxx generation...04:58
rcn-eeyou can either... a: install bzr trunk of rootstock or b: upgrade to lucid...  (a's quicker)04:58
rcn-eea: https://code.launchpad.net/~project-rootstock-developers/project-rootstock/trunk04:59
rcn-eethen make sure to either apply this patch: http://bazaar.launchpad.net/~beagleboard-kernel/+junk/rootstock-bashism/revision/96 or change the "/bin/sh" line in rootstock to "/bin/bash"05:00
rcn-eethen make 100% that ifyou specify "-dist jaunty" that you use the jaunty kernel from rcn-ee.net otherwise as is.. yours will not BOOT... (lucid kernel config is uncompatiable with anything before lucid)05:01
Valiok thanks and sudo rootstock --fqdn vali --login ubuntu --password ubuntu --imagesize 2G --seed wget,nano,linux-firmware,wireless-tools,usbutils --dist jaunty --serial ttyS0 --components"main universe multiverse" --kernel-image http://rcn-ee.net/deb/kernel/beagle/jaunty/v2.6.34-rc3-0/linux-image-2.6.34-rc3-0_1.0jaunty_armel.deb is this command is ok..?05:01
Valimeans about kernel05:01
rcn-eeVali are you picking random kernels?05:01
rcn-eeonly use the latest 'x' which would be : http://rcn-ee.net/deb/jaunty/v2.6.33.4-x3/linux-image-2.6.33.4-x3_1.0jaunty_armel.deb05:02
Valii don,t know which is stabilized one so picked it from that site..05:02
Valiam i wrong05:02
Valiok05:02
rcn-eethe 'x' & 'l' are stable, the 'd' & 'dl' are unstable the 'just a number' are 50/50 it'll even boot. .;)05:03
rcn-eewhy do you want to run jaunty? it's two releases behind...05:03
Valiactually i tried for lucid using the img file from ubuntu site05:04
Valii was loading  up to install screen but keyboard and mouxe were not loading05:04
Valiso i changed to jaunty05:04
rcn-eeWell, i'd still shoot for lucid... jaunty and karmic are just getting old now..  swap jaunty with lucid in your rootstock script..05:05
Valiok05:06
rcn-eei'm guessing you were using the otg port?05:06
Valiyes05:06
Valiactually keyboard and mouse were working in android05:06
rcn-eeyeap, i'm pretty certain that's broken in ubuntu's kernel....  are you using a good usb 2.0 hub?... (yeah android was using an old kernel that allowed stuff to work when it shouldn't..)05:07
rcn-eeif you have 5mins to spare, i'm pushing people that use the otg port (like me) to use: http://elinux.org/BeagleBoardUbuntu#Community_Kernel05:08
Valiyes i am using good one only ( SVB 2.0  4 ports  480 Mbps)05:09
rcn-eeas long as you have a usb ethernet or working wifi adapter the NetInstall is very easy..05:09
Valii don,t have usb ethernet05:09
Valiwhat is that community kernel05:10
Vali?05:10
rcn-eethat makes it very hard to do things... otherwise i do have demo image up here: http://elinux.org/BeagleBoardUbuntu#Lucid_10.0405:10
rcn-eeit's my kernel branch, that i started shortly after the first beagle was made, long before ubuntu even started building for the armel architecture or even providing their own kernel...  https://launchpad.net/~beagleboard-kernel05:12
Valithanks rcn-ee i am downloading that rootfs05:12
rcn-eeit'll get you booted into a console terminal..  we are still fighting a late rootstock bug, so i haven't been able to upload a nice xfce enabled demo image...05:13
Valimens it isn,t GUI enabled05:14
Vali?05:14
rcn-eeyeap, those demo Image's have no gui... due to bug 532733  A: use the Netboot image that ubuntu provides (haven't used it myself)  B: use the NetInstall method (link above) with a usb etherent adapter or C: use the demo image on rcn-ee.net with a usb-ethernet adapter and apt-get install your gui...05:18
ubot2Launchpad bug 532733 in qemu-kvm (Ubuntu Lucid) (and 2 other projects) "apt/dpkg in qemu-system-arm hangs if a big task is installed (affects: 5) (dups: 1) (heat: 42)" [High,Incomplete] https://launchpad.net/bugs/53273305:18
DanaGHandy workaround for usb0 not working:05:24
DanaGer05:24
DanaGwait, is that the "all otg is broken"?05:24
DanaGIf it was just g_ether broken... you can do g_ether.use_eem=005:24
rcn-eeidk if ubuntu kernel correctly enables the otg port, but Vali's isn't detecting anything on the bus..05:25
DanaGah yeah, I think the Ubuntu kernel was b0rked.  Null pointer dereference, or ENODEVICE, or such.05:27
rcn-eei know it worked at one time, but i've been busy breaking my own kernel.. ;)05:27
Valircn-ee : can we extract the rootfs from the ubuntu.img file ?05:30
Valiinstead of creating the rootfs using root stock05:30
Valiif we can able to extract rootfs from .img file( beacuase that img file has working GUI)05:31
rcn-eeprobally.. (with out looking at it..) i'm guessing extract to sd card... then it's very simple to dump/install the *.deb package to get the modules in the SD card and then use the uImage for booting..05:31
Valiis it posible ?05:31
DanaGYou can probably mount it with loop.05:32
rcn-eethe only thing... i belive ubuntu's Netboot image is actually an install script similar to lets say an iso/cdrom.. so when you boot with it, you end up installing it to the sd card?05:32
Valiend up installing in to the USB Disk05:34
rcn-eeyeah your right, just re-read: https://wiki.ubuntu.com/ARM/BeagleNetbookInstall  ... i like my NetInstall better.05:36
Valibut for my now i don,t have usb ethernet adapter so i have top try this..05:37
rcn-eeyou can get a cheap asix based usb ethernet off amazon for $7-$1405:37
DanaGI have one of these: http://www.amazon.com/USB-2-0-3-port-Hub-Ethernet/dp/B0030DO7OY05:38
Valiok..i will buy  but for now i will try these methods also..05:38
rcn-eeanother option is the usb0 method with the usb gadget driver... you'll connect  the otg directly to the pc.. setup your ip routes, then use the 'serial-mode' NetInstall metiod (no mouse/keyboard, but thru serial console)... get everything installed then swith back to dvi/usb mouse/keyboard...05:40
rcn-eethat would also work with the demo images on rcn-ee.net...05:40
Valican u please send me the link for thsi about full info please..?05:41
Valiabout serial console05:41
DanaGVali: that thing is not the cheapest option... but it is elegant.05:42
Valito connect to the pc which cable we have to use usb-a/b05:42
rcn-eethe serial console is easy.. install gtkterm/etc in linux, then connect to it over the serial port..   the usb0 gadget stuff is kinda documented on the beagleboard group's.. i've never done it, but people have done it...05:42
Valiok rcn-ee this too.05:43
Valii wiil try this too05:43
Valithe best option to get GUI properly is usb ethernet(NetInstall) right..?05:45
rcn-eeyeap it's the easiest till we fix rootstock...05:48
* rcn-ee heads out05:48
Valiok thanks rcn-ee and DanaG05:48
Vali:bye05:48
DanaGAnyway, that adapter is nice because you don't have cables dangling all over the place.05:50
Valircn-ee : is it is possible to add our own kernel in root file system07:08
Valihere actually i just want to enable some of the options in the kernel and boot up with ubuntu07:09
Valiis it posible?07:09
Valiis there is any version dependencies between initrd and uImage07:10
Vali?07:10
Valican we just simply replace the uImage in mmc card?07:10
lagVali: Is there any way you can just adapt the Ubuntu kernel for you own needs?07:11
lagAll the source is available is it not?07:11
Valiyes it is . here my intention is suppose if i was created Rootfs using rootstock and loaded in to the bagle and if i want enable like some printk info in the kernel07:14
Valihow can i enble it07:14
Valiinsted of creating entire rootfs again07:15
Valihere i was some what confused ..07:15
Valiabout kernel version and initrd and rootfs relation07:16
Vali1) first i loaded the ubuntu lucid in to the beagle and i want replace my own kernel with some changes( like removing some drivers ..etc) with the kernel present in the mmc ).07:20
Valiam i have to create the deb file and again create the rootfs with the rootstock or any other way is possible ?07:22
sijiu can add it as module07:22
Valihere  i am not adding the module actually removing some drivers for test purpose07:23
Valican i just simple replace the uImage ?07:24
sijiyes07:24
sijiBut how you are planning to remove the drivers from current kernel ?07:25
siji(Still confused about removing the drivers)07:25
=== rsalveti_ is now known as rsalveti
Valiis it possible to build the kernel for ubuntu in my pc ( if it is then i will change in the .config)07:27
Vali?07:27
Valiinstead of getting the kernel deb file from net07:27
Valii want build it in my pc . is it possible ?07:28
sijiVali, yes07:33
lagVali: You can cross-compile on your PC07:34
lagVali: If you have the necessary tools that is07:34
zygagood morning08:02
=== hrw|gone is now known as hrw
hrwmorning08:05
=== alf is now known as alf__
=== XorA is now known as XorA|fife
hrwI started writing cross compiler packages spec: https://wiki.ubuntu.com/Specs/M/ARMCrossCompiling10:58
loolhrw: Thanks11:22
hrwserial port support is matter of 'console=ttyS2,115200n8 serialtty=ttyS2' in boot.scr?11:44
=== ericm|ubuntu is now known as ericm-afk
loolhrw: Something like that; what does serialtty= do?11:56
hrwgetty?11:57
hrwneed to find proper name for it11:57
hrw[  112.248596] hub 1-0:1.0: unable to enumerate USB device on port 211:57
hrwthat suxx11:57
hrwbut lunch first11:57
* hrw -> lunch11:57
loolhrw: are you using a powered hub?11:58
loolbeagle can't do USB 1.x11:58
loolonly 2.x IIRC11:58
hrwlool: I know that12:15
hrwI got my first one over year ago12:16
asaclool: serialtty= is the casper hook for getting serial getty in upstart12:20
asac/usr/share/initramfs-tools/scripts/casper-bottom/22serialtty12:21
* zyga is installing lucid server on BB now 12:23
zygafunny you can use landscape on a farm of BBs12:24
hrwI think that if lucid will fail again on my C3 then I will go for sakoman's 2.6.34 kernel12:25
amitkhrw: you could file a bug so cooloney and me can look at fixing it too..12:29
hrwamitk: any of you have C3 bb?12:30
amitkhrw: no, but you'll be our tester :)12:31
zygahrw, how different is C3 rev from C4?12:32
hrwzyga: C4 has power lines fixed12:33
hrwzyga: all is in BB SRM12:33
hrwI wonder how many versions pandaboard will have12:33
hrw[   35.008148] hub 1-0:1.0: USB hub found12:36
hrw[   35.011993] hub 1-0:1.0: 3 ports detected12:36
* ogra_cmpc shakes his head about lool ... dude you reviewed the serialtty code a year ago when i wrote it12:37
ogra_cmpcyou obviously work to much :)12:37
hrw~curse bb12:37
* ogra_cmpc never had probs with powered hubs on bb12:38
ogra_cmpcpanda has an onboard hub, you wont have these probs :)12:39
jussiogra_cmpc: could you prod David for me and ask about "the arm devices he promised to look into for me"?12:39
hrwogra_cmpc: 2.6.29 was last working kernel for me on BB12:39
ogra_cmpcjussi, if he gets up12:40
jussi:)12:40
ogra_cmpcstill to early12:40
ogra_cmpchrw, .33 works here with ubuntu on C4 and B312:41
hrwogra_cmpc: B3 with otghub on otg?12:41
hrwogra_cmpc: B3 with hub on otg?12:41
zygahmmm! where does lucid-server install the bootloader to? NAND?12:41
zygait's installing reboot and some flash tools12:41
ogra_cmpcadapter and powered hub, yes12:42
jussiogra_cmpc: Also, do you know titan peng's irc nick?12:42
zyganand wow :-)12:42
* zyga is now happy about BB12:42
ogra_cmpcjussi, TaitenP12:42
jussioh, thanks :)12:42
ogra_cmpczyga, bad is that i needed to trash the default when writing to NAND12:42
zygaogra_cmpc, the default being what?12:43
* zyga has booting BB :D12:43
zygalovely folks, really12:43
ogra_cmpczyga, whatever is set at compile time in the u-boot defaults12:43
zygaoh, you mean the bootloader12:43
ogra_cmpci.e. scanning for boot.scr12:43
ogra_cmpcyes12:43
zygahmm12:43
zygawhat happens if I erase the entire nand?12:44
zygais there a bootloader I cannot kill?12:44
ogra_cmpcafter installing lucid you will alsways need a serial cable to install something else12:44
ogra_cmpcif you erase the whole nand the bootloader will be gone12:44
zygaand then I'm done without a JTAG, correct?12:45
hrwno, omap3 can be bring up live12:45
ogra_cmpci'll write a tool in maverick to re-flash with the defaults, sadly i didnt have the time in lucid, the TI stuff came in to late12:45
hrwzyga: you cannot brick BB by erasing nand12:45
ogra_cmpcyou only need to press both buttons and it will load from SD12:45
* zyga feels relieved12:45
zygagood12:45
ogra_cmpcyou just dont have anything in NAND to boot without SD anymore12:45
ogra_cmpcSD always works12:46
ogra_cmpcits just unfortunate that the autodetection is gone with an ubuntu install .... i made it behave a bit like M$ :) us or nothing12:46
* zyga can start hacking on running tests on BB12:46
zygaogra_cmpc, you read too much marketing stuff ;-)12:47
ogra_cmpchaha12:47
zygahow to switch HDMI to 1080p?12:47
hrwzyga: BB is not capable of 1080p/6012:47
zygaI remember there is a boot option12:47
ogra_cmpcuse fw_readev/setenv to change the cmdline and reboot12:47
hrwzyga: you can get 1080p/24 iirc12:48
zygathat's fine12:48
zygabetter to have more screen for my terminal anyway12:48
zyga(server install)12:48
zygaogra_cmpc, got it, thanks - let's see if this works12:48
hrwzyga: 1280x800MR-60 is safe for most monitors12:49
hrwuf.. C3 + otg + hub works so far12:49
zygahrw, I have 1080p monitor hooked up via HDMI - I just wanted to get something more readable12:49
zygashould I up vram too?12:49
hrwzyga: 12M is enough12:49
ogra_cmpcno need if you only use cmdline i guess12:50
ogra_cmpcfor X you probably should12:50
zygaogra_cmpc, what does MR  stand for in that line?12:51
zyga1920x1080MR-16@6012:51
ogra_cmpcno idea, hrw might know12:51
zygaand finally will 24@24 work?12:51
zygahrw, ^^ ?12:51
ogra_cmpci just stole it from the beagle wiki12:51
zyga(24bpp at 24 fps)12:51
hrwMR is related to sync settings12:56
hrwit is in vesa specifications12:56
zygahrw, thanks, I'll check if my line works12:57
SWATI have a Marvell Kirkwood (ARM) server and I want to install 10.04 on it. How do you suggest I proceed? i386/amd64 packages aren't useable on this architecture, correct? (and do you have an advice about the filesystem for the SD card?)12:57
loologra_cmpc: serialtty= > eh; I had completely forgotten about it, it sounded like something supported, but I couldn't tell where12:58
hrwSWAT: 10.04 does not support it12:58
loolProof that what I don't use doesn't exist, as usual12:58
hrwSWAT: Kirkwood is armv5te so last Ubuntu with support was 9.0412:58
ogra_cmpcheh12:58
* zyga has a crazy idea just now13:01
hrw256MB ram hurts in netbook install13:01
zygado you guys think that running our testsuite (the one we're going to build) on a jailbroken iphone makes sense (performance bench?)13:02
zygahrw, I abandoned netbook installs, server is usable on that system13:02
ogra_cmpchrw, use lots of swap :)13:02
ogra_cmpc(and have lots of spare SD cards once the swap wore it out :P )13:03
rgreeningogra_cmpc: hey, hows the bump on the head :)13:03
ogra_cmpclol13:04
hrwogra_cmpc: :) added 1GB on usb13:04
ogra_cmpcfine again13:04
rgreeninghehe13:04
ogra_cmpcmy knee looks very bad still, i bet asac's case must have a dent or so13:04
rgreeninghah13:04
rgreeningat least you missed asac13:05
hrwI hate beagleboard formfactor13:05
ogra_cmpcheh, that would have resulted in funny situations13:05
rgreeningtrue13:05
rgreeningogra_cmpc: any docs or mini howto for starting with armel on ubuntu? Was going to start looking at putting it on my archos 5it13:06
ogra_cmpcwell, first of all you need some kind of access to the bootloader13:07
ogra_cmpci dont think we have any howtos13:07
ogra_cmpcsince its usually a very board specific process13:07
rgreeningok13:07
ogra_cmpcas i said in brussels, try to get some kind of serial access, thats usually a good start13:07
rgreeningthe board is supposedly a beagleboard (TI) with a Coretex A813:07
ogra_cmpcright13:08
rgreeningok, so to get serial... when I boot I need to see if a tty is assigned to the usb dev right?13:09
ogra_cmpcif you plug it into your PC and are lucky you see something like ttyUSB* in dmesg13:09
zyga1080p @24 doesn't work ...13:09
ogra_cmpcif not you probably need to solder ...13:10
* rgreening hopes to see ttyUSB and not solder13:10
rgreening:)13:10
ogra_cmpchttp://www.openaos.org/archives/18413:10
ogra_cmpcyou apparently have to solder13:11
rgreeningdang13:11
ogra_cmpcthats for 6 and 7 though13:12
ogra_cmpcnot sure its the same for an archos 513:12
hrwzyga: 1440x900@60 or 1680x945@4913:12
zygahrw, will do, first I need to get back to my device ;-)13:12
zygahrw, installing avahi blinefold will help13:13
rgreeningand the DVR station, which I dont have... boo... and the 5it is a gen 7 iirc13:13
SWAThrw: thanks for the info. Compiling my own kernel won't be an issue, but getting packages is. Will I be able to use existing packages or will I need to compile everything?13:14
ogra_cmpcSWAT, if oyu use 9.04 you can just use the packages13:15
hrwzyga: thats why you need to use serial cable13:15
ogra_cmpcor install avahi/ssh first :)13:16
ogra_cmpcbefore fiddling with untested cmdline settings13:16
hrwogra_cmpc: serial works always.13:16
ogra_cmpcpfft, serial is a PITA13:16
hrwlooks like 0.22uF hack helped a bit13:17
ogra_cmpcalways forces you to have a second machine13:17
zygahrw, well I have ssh to the device, serial doesn't work out of the box, we need to fix that I guess13:17
hrwogra_cmpc: I have 7 serials in desktop13:17
zyga(even as an installer option)13:17
* ogra_cmpc is on a quest to get rid of serial on arm 13:17
SWATogra_cmpc: right. So if I would want to use 10.04, I would have to compile everything myself (e.g. recompile existing packages)? Just want to be sure before I make up my mind ;)13:18
hrwSWAT: yes, you would have to13:19
ogra_cmpchrw, its good as a last resort thing ... but look at rgreening above :) if he would have a bootloader that uses a fallback console on framebuffer at a certain key combo his life would be much easier13:19
zygaogra_cmpc, why is that :-) ?13:19
rgreening:)13:19
ogra_cmpczyga, having to solder .... needing a second machine etc etc13:20
hrwogra_cmpc: beagleboard uboot lost any graphics some time ago13:20
rgreeningserial is so 80's13:20
ogra_cmpcSWAT, you would have ot recompile the world, yes13:20
zygaogra_cmpc, rescuing your system, having extra trace point, that's still useful13:20
ogra_cmpcyeah, last resort, as i said13:21
ogra_cmpconce we get rid of u-boot in favour of using linux as bootloader the world will be so much easier13:21
hrwogra_cmpc: how long did netbook install took on beagleboard?13:22
ogra_cmpcabout 1h13:22
hrwok13:22
ogra_cmpchttps://wiki.ubuntu.com/Specs/M/ARMPreinstalledSDCardImages will solve the waste of time :)13:23
hrwl;D13:24
rcn-eeogra_cmpc, ^related above...  don't forget X-loader/MLO ;)13:25
ogra_cmpcoh, right, i took that as a given thing but didnt write anything into the spec :p13:26
hrwrcn-ee: iirc OMAP3 needs x-loader13:26
hrwbut x-loader can load kernel13:26
ogra_cmpcho you didnt refer to the spec13:26
rcn-eeyeap... the XM with no NAND, will definetelly need MLO on the SD card for reliablity.. ;)13:27
ogra_cmpcyou dont need x-loader on omap4 luckily13:27
ogra_cmpcand afaik a similar hex blob shold work with omap313:28
=== Hrww is now known as hrw-laptop
hrw-laptopok, I can boot my desktop now and install buntu13:28
rcn-eebtw, any chance can we get an override in that spec, say for kernel testing, so we can force it to not do something automaticly. ;)13:29
ogra_cmpcthats tricky because you will need a matching initrd with jasper in it13:30
ogra_cmpcfor kernel testing i'd rather recommend to run to the firstboot wizard and play wiht the kernel afterwards13:31
ogra_cmpci'll definately provide a script to replace MLO and u-boot.bin to support a different SoC13:32
ogra_cmpcas long as it works with the provided kernel13:32
rcn-eeand more will by 2.6.35..13:32
ogra_cmpcright13:32
cooloneyogra_cmpc: just sent you an email13:33
ogra_cmpccooloney, ok, i cant read it atm (mail client is at the other place)13:33
cooloneyogra_cmpc: so quickly, i prepared a omap4 kernel package for you to test13:34
ogra_cmpc\o?13:34
ogra_cmpcerr13:34
ogra_cmpc\o/ indeed13:34
ogra_cmpccooloney, you rock13:34
hrw-laptopindeed13:34
ogra_cmpcto bad i'm just compiling a touchbook kernel on my blaze :(13:35
hrw-laptopheh,, I need to report bug against lucid alternate installer13:35
cooloneyogra_cmpc: http://people.canonical.com/~roc/kernel/omap4/13:35
* cooloney cross his fingers and waiting for blame13:35
ogra_cmpccooloney, btw, there seems to be a kernel bug wiht that tree, robclark pointed me to it13:36
ogra_cmpcthough it might be resolved in the latest checkouts13:36
ogra_cmpccooloney, gimme 30min or so, my kernel build should be done soon13:36
cooloneyogra_cmpc: ok, which bug?13:36
cooloneyogra_cmpc: np, man13:37
ogra_cmpccooloney, i know how to trigger it so i'll try if its gone in your build13:37
ogra_cmpc(git clone seems to be the perfect thing to reproduce it)13:37
ogra_cmpcafter that everything segfaults until next reboot13:38
SWAThrw-laptop: ogra_cmpc: thanks for the info guys!13:38
hrw-laptopI now watch ubuntu netbook install on 20" lcd (beagleboard) and kubuntu alternate install on 24" (desktop)13:38
hrw-laptopSWAT: no prob13:38
hrw-laptopSWAT: you can also consider Debian - it will work out of box13:39
hrw-laptop718 updates.... my lucid install stick is old13:48
=== jmcgee|gone is now known as jmcgee
hrw-laptopogra_cmpc: how fast blaze is when it comes to building?13:58
ogra_cmpchrw-laptop, sadly the IO of the SD i use sucks, so its hard to tell13:59
ogra_cmpcthe SMP CPU is a dualcore 1.2GHz though13:59
ogra_cmpcshould be a lot faster on a USB disk i guess14:00
hrw-laptopyep14:00
ogra_cmpci also didnt use -j2 or so, so currently it only uses one core14:00
hrw-laptopfor pandaboard I think I will connect old 40GB pata 5400rpm harddrive - should be much better then sd anyway14:00
ogra_cmpcyeah14:01
hrw-laptopbeagleboard reached 93% install - kernel isntalling14:02
ogra_cmpcnice14:02
hrw-laptop56% on desktop14:03
ogra_cmpcheh, doing a speedrace ?14:03
hrw-laptopno, desktop started later14:04
hrw-laptopand had to fetch over 700 packages from network14:05
hrw-laptop93% contra 86%14:07
zygaogra_cmpc, is it faster to use gigabit eth/usb dongle and nfs?14:19
ogra_cmpcno14:19
ogra_cmpcnfs is always slower than any local media14:20
ogra_cmpcuse a USB disk or some class 10 SD card14:21
hrw-laptopogra_cmpc: unless you have slow media and fast network14:21
ogra_cmpcstill, i havent seen nfs being faster than local media with recent HW14:22
SWAThrw-laptop: I will have to do that (already knew Debian supported it, but I like Ubuntu better), since I do not want to build everything myself. I like Ubuntu, but I also have my limits ;)14:22
hrw-laptopok, with recent it is other thing14:23
ogra_cmpcits likely faster on openmoko or something like that :)14:24
* ogra_cmpc moves over to the office14:25
ogracooloney, seems it hangs14:32
hrwre14:33
hrwkubuntu desktop at phase of installing stuff14:33
hrwinstalled14:46
hrwon beagleboard14:46
GFeindhi guys16:08
GFeindi have a question16:08
GFeindcan i run ubuntu on my htc touch pro?16:09
hrwGFeind: touch pro uses qualcomm or snapdragon?16:11
GFeindqualcomm16:11
hrwout of luck then16:11
hrwyou have armv6 without vfp so probably karmic even will not work16:12
GFeindbut android works16:12
GFeindand what is vfp16:13
GFeind?16:13
hrwandroid needs armv5te, ubuntu 10.04 needs armv7a16:13
hrwvfp is fpu16:13
GFeindah16:13
GFeindok16:13
GFeindbut what about an older version16:13
hrw9.04 probably will work16:13
GFeindand how can i install it?16:13
hrw9.10 rather not due to lack of vfp16:13
hrw10.04 not at all16:13
GFeindhow can i install 9.0416:14
hrwGFeind: search on "xda developers" forum I think16:14
GFeindok16:14
hrwas you need proper kernel + image and we support only limited amount of devices16:14
GFeindi found sth but dont know what to do now16:23
GFeindhttp://www.megaupload.com/?f=RWDJWUN016:23
GFeindthere are several files16:23
GFeind:(16:24
GFeindthats where i found the link16:25
GFeindhttp://forum.xda-developers.com/showthread.php?t=64078516:25
hrwGFeind: http://wiki.xda-developers.com/index.php?pagename=RhodiumUbuntu is better page to read16:28
GFeindyes i know16:29
GFeindbut16:29
hrwGFeind: and remember: using Linux on HTC Touch Pro does not mean that everything will work etc. This is community project and some componenets are not working.16:29
GFeindwhat do i have to do with these files16:29
GFeindyes16:30
GFeindits all on my own risk16:30
hrwGFeind: I never used Linux on WinMo phone16:30
GFeindok16:30
GFeindbut its worth the try16:30
persiaNote that if anythig not hardware-dependent doesn't work, we want bugs, as most of that probably applies for every device.16:30
GFeindok16:31
GFeindi tell you what i do16:31
GFeindfirst i will have to download the files16:32
GFeindnow i cut all the files on my sd card out and paste them on the external hd of my pc16:35
GFeinddo you think i also have to download the "jaunty" files16:37
GFeindi think jaunty is a ubuntu version16:37
GFeindcodename of 9.0416:37
hrwhave a nice rest of day17:01
=== hrw is now known as hrw|gone
rcn-eehey ogra_cmpc how far out of the box do you want to go for a workaround for rootstock? (and as a side effect cross arch.. ;) )18:24
ogra_cmpcwhat kind of workaround do you mean ?18:26
rcn-eei'm thinking of running native on arm..  basic idea: http://bazaar.launchpad.net/~beagleboard-kernel/+junk/rootstock-on-arm-testing/revision/97  squashing a couple bugs as go between my sheevaplug and beagle...18:27
rcn-eeso far, i've been getting tar.gz's.. ;) runing a  netbook-install test now on my beagle...18:28
ogra_cmpcwell, my only planned feature is to make rootstock run rootless in maverick, if you have any additional ideas and code i'M happy to apply them as long as they dont break current behavior18:29
* ogra_cmpc curses the touchbook18:30
GrueMasterogra_cmpc: If you are really having a lot of problems with the touchbook, you can always give it to me.  :p18:30
rcn-eecool.. i'm making sure it doesn't effect the x86/qemu routines.. the only big change is adding say a /tmp/is_native to the temperary image as a couple things in /bin/installer isn't good in a chroot... (the reboot was weird)18:31
ogra_cmpcGrueMaster, you wont have any fun with it18:31
persiarcn-ee: if you adjust to go native, you might find the "should this be native?" part of the qemu-debootstrap code helpful.  A (poor) python implementation also exists in pbuilder-dist from ubuntu-dev-tools18:31
GrueMasterI'd have more fun than not having one.18:31
ogra_cmpcGrueMaster, the image they provide is totally broken (us squashfs for an installed image)18:31
GrueMasterMeh.18:32
ogra_cmpcthe kernel isnt usable with anything else than that image18:32
ogra_cmpcsince its heavily patched18:32
rcn-eepersia, if i detect arm, i'm using a simple chroot instead. .;)18:32
ogra_cmpcand apparently the patches they use are in no tree at all18:32
GrueMasterheh18:32
persiarcn-ee: See, that's precisely what I'm hoping you'd avoid.  The same tool *ought* let you construct an i386 image on an armel device.18:33
GrueMasterI've had to build patches before when i didn't have access to an engineer's repository (assuming there was one).18:33
* persia considers an age when armel laptops are widely available and folks are hacking on little VIA boards.18:33
rcn-eeyeap, and this is only a temperary work around till qemu-kvm doesn't crash in x86.. ;)18:33
ogra_cmpcwell, zyga made some progress but i dont think he solved the issue18:34
ogra_cmpcfor me it works if i echo 3 into the alignment settings18:34
rcn-eethat kinda worked for me, it crashed later after umount/start taring.. ;)18:35
persiaqemu-kvm doesn't crash on i386 as long as one uses qemu-user rather than qemu-system (although I seem to recall some reason that rootstock switched to use qemu-system in the past)18:35
GrueMasterogra_cmpc: Remember, I used to work MID stuff before I came here.  Redflag was really bad about taking a downstream kernel, applying all the patches before editing, then applying their own patches directly to the source tree before packaging.18:35
ogra_cmpcrcn-ee, the de-rootification might fix mount issues18:35
rcn-eei'm still quite interested on how that's going to work.. ;)  specially when creating/ mounting the image.. ;)18:36
ogra_cmpcusing fuse ;)18:37
ogra_cmpcthere is a fuse ext2 module18:38
rcn-eei haven't looked too muhc into it, does that still allow writing and protection the root permissions..18:38
ogra_cmpcyes18:38
ogra_cmpchave a look at the fuseext2 package18:39
ogra_cmpcwe'll also use it for the new preinstalled images18:39
rcn-eethen it should work (fingers crossed)18:39
* ogra_cmpc will stop building installer images in maverick18:39
ogra_cmpcwe'll rather provide preinstalled images you can just dd to the SD18:40
ogra_cmpcgrrr18:41
ogra_cmpcdamned touchbook18:41
rcn-eeyeah in a way those are nice... specially if you can use a windows tool to take the img to sd card...  latest bug emailed to me..18:41
rcn-eeyou should have left it alone... ;) it's one arm device i haven't modified yet..18:42
GrueMasterogra_cmpc: Can you also add a cmdline option to rootstock to specify working directory other than /tmp?18:42
ogra_cmpci could live with it not having a working display but that it starts to flash on random colors at full brightness if it cant init the panel really makes me mad18:42
ogra_cmpcGrueMaster, it respets $TMPDIR since day one18:42
ogra_cmpcas all ubuntu build tools do18:43
GrueMasterOh.  It's not in the manpage.18:43
ogra_cmpcthats a system seytting18:43
GrueMasterI did not know that.18:43
GrueMasterthx.18:43
persiaIt still ought be in the ENVIRONMENT VARIABLES section of the manpage.18:43
ogra_cmpcall ubuntu tools use $TMPDIR (with a fallback to /tmp)18:43
persia(wishlist bug)18:44
persiaNo they don't, unfortunately.18:44
ogra_cmpcpersia, nah, come on thats common knowledge18:44
persiaall the better ones do :)18:44
GrueMasterpersia: assuming there were a section on  ENVIRONMENT VARIABLES18:44
persiaDoesn't mean it doesn't belong in the manpage.18:44
ogra_cmpcits not even a feature of rootstock but the shell18:44
persiaGrueMaster: Something like that is one of the defined sections of manpages.18:44
persiaogra_cmpc: Hrm?  How?18:44
ogra_cmpcwell, mktemp rather :)18:45
persiaOK.  That makes sense.18:45
GrueMasterpersia: Someone must have missed adding that section.  It isn't in my man rootstock page.18:46
persiaThat said, I've seen TMPDIR=$(mktemp ...) in shell code before.18:46
ogra_cmpcthats sick18:46
persiaGrueMaster: That I believe.  It's an optional section, and often omitted.18:46
persiaogra_cmpc: This is why I say it's not "common knowledge".  That declaration was from an Ubuntu image building tool (now long-obsolete)18:47
ogra_cmpcearly vm builder ?18:47
* ogra_cmpc remembers a discussion 18:47
ogra_cmpcGrueMaster, feel free to fix the manpage :)18:48
persiaI was trying not to name any specifics, but yes :)18:48
ogra_cmpci'll happily merge your bzr branch on launchpad18:48
* GrueMaster opens mouth - inserts foot.18:48
persiaNote that the current vm-builder shares no code whatsoever with that implementation.18:48
ogra_cmpcindeed18:48
ogra_cmpcthat was the shell version iirc18:49
persiaAnd an early version of the shell version, which I broke rather spectacurlarly trying to run with /tmp on tmpfs on a 1G machine.18:50
ogra_cmpcargh !!18:50
ogra_cmpctouchbook uses linux/arch/arm/mach-omap2/board-omap3beagle.c and adds a ton of patches to this file18:51
ogra_cmpcWTF18:51
ogra_cmpcwhy cant they introduce their own18:51
ogra_cmpci guess that makes it unsupportable in ubuntu :(18:52
persialegacy.  This is *why* we had a session on kernel integration and the benefits of a single kernel tree at UDS.18:52
ogra_cmpcyeah18:52
rcn-eethey should have a board-omap3touchbook.c ?18:52
ogra_cmpctell *them*18:52
persiaYou don't even want to consider what was done to the kernel for the racing arcade unit I play.18:52
ogra_cmpcrcn-ee, something like that ... at least if they break beagle with their patches18:52
ogra_cmpcseems they modify DSS code and i suspect in a beagle incompatible way18:53
* rcn-ee heads back to work...18:54
GFeindLINUX WORKS ON HTC TOUCH PRO!!! YEAH!19:55
playya_i finally should package FSO for ubuntu :(19:56
playya_it seems that there're some interested hackers running GNU/linux on there smartphones19:56
playya_s/there/their/19:57
persiaGFeind: Was it a fairly simple install, or was it complicated?19:58
persiaplayya_: Please :)19:58
playya_i deleted the freesmartphone.org team on LP because we're not able to build for ARM19:59
persiaWhy can't you build for ARM?19:59
playya_maybe in june on opensuse buildhost19:59
playya_afaik LP doesn't allow arm builds for "normal" users because you keep the machines busy :P20:00
playya_btw. anyone working on the palm pre?20:01
persiaOh, yeah, no PPAs.20:02
persiaNo reason you can't make it work though, and if you package it as part of Ubuntu, it gets built.20:02
persiaAlso, some folks (like me) have cell phones with i386, and there may be interest.20:03
playya_atom based phones?20:04
pwnguinis there a list of ARM consumer hardware Ubuntu runs on?20:05
GrueMasterpwnguin: https://wiki.ubuntu.com/ARM/DeviceSupport20:06
GrueMasterAlthough it needs updating.20:06
pwnguinooh20:07
pwnguinmaemo devices20:07
pwnguintoo bad there's too much closed stuff20:07
persiaThat page needs *lots* of love.20:07
prpplaguehmm, guess the panda needs to be added20:07
playya_closed devices could be opened sometimes, but there're some devices which are using trsuted computing and foo20:08
playya_like motorola devices20:09
GrueMasterAdded beagleboard.20:10
prpplaguea number of pxa3xx based devices and some OMAP3 based use the trusted computing methods as well20:10
playya_the milestone uses an OMAP3 :(20:11
* persia uses trusted compuiting regularly for increasing the availability of /dev/random20:12
persiaThe key is *how* it's used, not what it is.20:12
playya_the milestone signes the kernel, the basic rootfs and the bootloader20:13
playya_and it's just to avoid "piracy"20:14
GrueMasteras if copying an open source OS is considered "piracy".20:15
playya_no. you shouldn't be able to install apps which are not downloaded from the app store20:15
GrueMaster(I have seen some ISP's hammer users for using bittorrent to pull Linux ISO's).20:16
persiaThis is why it's handy to have killer apps that are GPLv3.20:16
GrueMasterplayya_: That's odd.  I can on my Droid.20:16
GrueMasterMust be an AT&T thing.20:17
playya_i know. the droid doesn't use it20:17
playya_that's why i bought the milestone20:18
playya_now i own a palm pre for hacking and a milestone to play solitaire20:20
GFeindwas simple20:23
GFeindthe install20:23
GFeindand sorry was afk20:23
GFeindi just had to download the files20:24
GFeindcopy them on SD20:24
GFeindthan run HARET.EXE and...20:25
GFeindnearly everything works20:25
GFeind:D20:25
GFeindand playa: good idea BUT: if u want to play take the iphone20:26
GFeind:D20:26
playya_maybe during the summertime20:26
GFeindjust a question20:27
GFeindhow much do you earn in a month???20:27
playya_apple wants to release iphoneOS4 -> cheap older iphones, ipods20:27
GFeindi mean having 3 smatphones20:27
* playya_ is a student20:27
GFeindaha20:27
GFeindok20:27
playya_i gave 2 of my phones to my parents20:27
GFeindsold or gave20:28
playya_gave20:28
GFeindgood20:28
playya_cheap samsung and a n95 8GB20:28
playya_now i only have a milestone, pre, freerunner (and n800)20:28
GFeindif your parents just want to use them as phones they are enaugh20:29
GFeind:D20:29
cwillu_at_workrcn-ee, installing the system on a beagle is really really slow;  you sure you want this rootstock? :p21:30
cwillu_at_work(brings up a deboostrapped image with run-once installer and u-boot scripts21:31
* cwillu_at_work concludes his wear-levelling tests, and begins his power-loss tests21:41
cwillu_at_workugh, that approach won't work under karmic21:46
cwillu_at_workfor me at least :p21:46
cwillu_at_workend up loading directly onto btrfs instead of ext2, so the dpkg bug will bite21:47
cwillu_at_workso I end up with two completely different approaches to generating sdcards depending on whether I'm targeting karmic or lucid21:47
=== jmcgee is now known as jmcgee|gone
DanaGI'd say, don't bother with Karmic?21:58
DanaGOr do you mean Lucid and Maverick?21:58
cwillu_at_workno, but on the other hand, I have a working product under karmic, which means I want to be able to continue making those images for at least a little while21:59
DanaGAh.22:01
cwillu_at_workand making images on the actual hardware is _slow_22:01
cwillu_at_workwhat with real device io rather than everything really being in a ramfs22:01
cwillu_at_worktmpfs rather22:01
=== rsalveti_ is now known as rsalveti
=== JaMa is now known as JaMa|GoNe
rcn-eecwillu_at_work, i haven't benched chroot vs qemu yet.. but it was sucessful for installing netbook-image... (i also have relatively fast harddrives on the usb bus on the beagle.s..)23:29
rcn-eecrap, looks like have the wrong order, what's the proper order to umount /dev/pts, /proc and /sys ?23:31
cwillu_at_workthere's a proper order?23:33
cwillu_at_workdoes it complain about it being in use?23:34
rcn-eeyeah, it's complaining about /tmp/imagelocation/dev/pts: device is busy... i threw a sync in before the umount but still no go, so i'm think order..23:36
cwillu_at_workumount -l should work23:41
cwillu_at_workyay, new zippy2 and more expensive sd cards arrived \o/23:42
rcn-eelazy umount.. i'll give that a quick run..23:42
cwillu_at_workyay, I burned out another cheap sdcard :)23:47
rcn-eeare you comparing them to the expensive ones?23:47
cwillu_at_worknot any more23:48
cwillu_at_worknow I'm just using them up building images23:48

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