/srv/irclogs.ubuntu.com/2011/07/11/#ubuntu-arm.txt

MrCurioushah! google.com/+ interactive tour blew up my X session on ubuntu 11.04 pandaboard :)01:09
MrCuriousgoogle + will blow your mind (or your embedded systems mind)01:09
=== asac_ is now known as asac
lilstevieis anyone around that can tell me how the initial boot stuff works with the preinstalled image03:25
lilsteviewith my device I found nvflash to have a 4GB filesize upload restriction03:26
persiaMaybe.  What part don't you understand?03:33
lilsteviewell, 1 is triggering it on another device03:34
lilstevie2 is a bit more difficult to explain03:34
persiaAnother device?  Do you mean different partitions?03:34
persia(or rather, different /dev/ nodes)03:34
lilstevieno I mean the transformer rather than panda03:34
lilstevie:p03:35
lilstevieI upload an ext4 image03:35
lilsteviewhich does not take up all the room it is allocated03:35
persiaAh, so you want to resize the filesystem on first boot?03:37
persiaDoesn't the transformer have significant internal flash?03:37
lilstevieyeah 16 or 3203:38
lilsteviebut I am trying to retain enough for the android system to co-exist03:38
persiaHeh, OK.  Ubuntu requires 4GB, and 8 or more is recommended.03:38
lilsteviewell my current image is 4.2GB03:39
persiaIs the transformer capable of booting from alternate media (e.g. SD)?03:39
lilsteviewhich is nvflashes max upload03:39
lilstevieyeah it can, but emmc is soooooo much faster :)03:39
lilstevieits like an F1 next to a smart03:39
persiaThat's fine.03:39
infinitySure, but slow installation media isn't the end of the world.03:39
lilstevieah installation media :p03:40
persiaIn cases where it is possible to boot off removable media OR internal storage, you don't want to do what is done with the panda.03:40
lilstevieI see03:40
persiaInstead you want to cause booting off the SD to perform an install to the internal media03:40
lilstevieactually that would be better03:40
persia(and you want to give the user choices to set up dual-boot or completely reformat and just run Ubuntu).03:40
lilstevieproviding everyone has µSD03:41
persiainfinity, Were you ever pointed to the branch for that tarball installer ogra wrote?03:41
lilstevieyeah that does sound nicely03:41
lilstevienicer*03:41
infinitypersia: Nope, but we'll get it all public RSN.03:41
persiaOh well.03:41
infinitypersia: Especially since it'll find its way into an official image soon. :P03:41
persialilstevie, So, there exists an installer that does precisely what you want.  Unfortunately, it's not being developed transparently, so you have to wait, or reinvent the wheel :(03:42
lilstevieeh :(03:42
infinity(Not that you have to wait long, mind you)03:42
lilstevieI am not reinventing something when it does not need to be03:42
lilstevieinfinity: define not that long :)03:42
infinityThere's no reason it's not public except a bit of laziness.  We have the technology to fix that.03:42
persiaI'm not sure there is a technical solution to ogra being lazy, really.03:43
lilstevieheh03:43
infinityLike, you're not waiting for weeks/months on process or anything, just waiting hours/days on people being poked sufficiently violently.03:43
lilstevieheh03:43
* persia has been waiting months03:43
lilsteviewell it would make things easier03:43
infinitypersia: I poke harder.03:43
lilstevieflash kernel, insert SDCard, make the choises03:43
persiaTrue.  I've only tried cajoling, shaming, and bribing.03:43
lilsteviedoes this installer have the option for a virtual keyboard03:43
infinitySharp sticks.03:43
StevenKBribery doesn't work03:43
infinitylilstevie: Virtual keyboard is mostly up to your FS image, not the installer.03:44
persialilstevie, From my experience with my dynabook, it's more 1) tell the bootloader to boot from SD, 2) insert SD card, 3) make the choices.03:44
infinitylilstevie: Well, "installer" here meaning "tiny initramfs shim".03:44
persiaKernel should come from the archive.03:44
persiaStevenK, It's worked for me many a time.  Corruption and graft are rife.03:44
lilstevieinfinity: heh, cause that is somethign of a must for me, while the dock is there, it is not always going to be03:44
lilsteviesome people don't own the keyboard dock03:44
infinitylilstevie: I'll keep that in mind as I generalise this.  Since I suspect that virtual keyboards and early boot will NOT get along.03:45
infinitylilstevie: We might want to generalise something for phone-like hardware interrupt hooks.03:45
persialilstevie, Aren't there some function buttons on the tablet?03:45
infinity(things like "press the home button to select installation to media X", etc)03:45
lilsteviepersia: power, vol-up vol-down03:46
persiaWe can work with that.03:46
lilsteviehc devices have no other GPIO buttons03:46
infinityYeah, if there's any hardware button at all, we can do clever things.03:46
lilstevieI have a bit more to work with on the SGT03:46
persiavol-up/vol-down to select.  Power to choose.  Hold power for hard-reset.03:46
lilstevieI have that plus a touchstrip03:46
infinityFor some value of "we" that won't be me, unless I have devices to muck with.  But I could proof-of-concept the idea on my N900 or G1 or something.03:46
persiaDo you have a working kernel for that?  I'd *really* like to upload it.03:47
persiainfinity, If you can get something working for the n900, the kubuntu-mobile folk would love you.03:47
lilsteviepersia: for which ?03:47
persiaThey've a wiki page with all sorts of annoying mucking about currently.03:47
persialilstevie, SGT.03:47
persiaWe were talking about it a couple weeks ago, and you ran into a touchscreen issue, and I hadn't heard from you since.03:48
lilsteviepersia: oh the issue is much bigger than we though03:48
infinitypersia: My N900 is pretty much Just Another armel Buildd right now, so yeah, I'm happy to screw with it as a dev device again.03:48
lilstevie2.6.32 is the only kernel with a working tsp at the moment, and one of the utouch team has found a bug03:49
persiaapachelogger, Notice the volunteer for the installer work above03:49
lilsteviebut I have been a little preoccupied with the transformer for the time being03:49
persiaOh, annoying.  Can I have a kernel with broken touchscreen?03:50
persiaWe can call that a bug, and fix it later, but we can't fix not having a package once the freezes start.03:50
infinityReal men ssh to their tablets and phones anyway03:50
infinityTouchscreens are for the weak.03:50
infinity(Is the above pretty much proof of all the Maemo work I did for Nokia?)03:51
lilsteviepersia: heh, well bug on which03:51
lilsteviepersia: cause both of them are kinda working03:51
lilstevie2.6.35 has a weird issue where clicks are not being interpretted correctly03:51
persialilstevie, So, we upload linux-sgt 2.6.35+, and we file a bug "Touchscreen driver is broken".03:52
lilstevieand 2.6.32 is duplicating the touch frame03:52
infinityThere was a 2 month period or so where neither the hardware OR on-screen keyboards worked on the N9 prototypes. :P03:52
StevenKinfinity: Which gave you what, ssh?03:52
persiainfinity, Isn't that why one has bluetooth?03:52
lilsteviepersia: sure then I can upload one :)03:52
infinityStevenK: SSH and serial.03:52
persialilstevie, That would be lovely!  Put it anywhere, and I'll dig through it for packaging stuff, and stick it in the archive.03:52
lilsteviepersia: source or binary03:53
lilstevieand we need to mark 2 major bugs :)03:53
persiaSource.  Preferably packaged source :)03:53
persiaThat's fine.  Once it's in the archive, we just report them to LP.03:53
infinitypersia: How do you pair a bluetooth keyboard with a host you can't talk to? ;)03:53
lilstevie1) TSP, 2) Temp broken command line03:53
persiainfinity, agressive udev rule.03:54
lilsteviepersia: well I have te source up on github if that helps03:54
infinitypersia: I imagine the GUI folks probably pulled such tricks.  I don't touch UI anyway, so whatever.  Serial/SSH are less hassle than poking phones anyway.03:54
persiaWell, kinda.  Are you up for packaging it, or do you need someone else to help with that?03:54
lilsteviewell I have only packed for butchered apt before03:55
lilstevieso I would need some help :)03:55
persiainfinity, You are my favourite flavour of luddite :)03:55
* persia tries to find jcrigby's handy kernel packaging instructions03:55
infinitypersia: Have you seen how I use computers?  Heck, even my mobile phone is pretty much just a mobile terminal emulator.03:56
lilsteviedo I need to strip the .gitignores?03:56
infinitypersia: X exists to multiplex terminals.  That's it.03:56
persiainfinity, I've seen you use GUI browsers :p03:56
persialilstevie, https://wiki.linaro.org/Resources/HowTo/PackageYourOwnKernel03:56
persiaIt's not absolutely perfect, but it will get you 95% of the way there.03:57
infinitypersia: I blame that on the fact that HTML5 and Flash and other fancy crap is pretty painful in lftp/w3m/lynx/etc.03:57
persiaIf you want a comparison source, take a look at the linux-n900 package: I tweaked a few bits there.03:57
persiainfinity, You just haven't configured your MIME handlers properly then.03:57
infinityHeh.03:58
persialilstevie, Actually, please ignore the hints to add ccache in that HOWTO: I forgot to clear that, and my first upload FTBFS.03:58
lilstevieheh ok03:59
infinityIf any of the free swf reader libraries were actually usable, I'd totally waste a weekend writing an aalib frontend.03:59
persiaWhy aalib?03:59
persiaNo reason you can't spawn a useful viewer03:59
* persia fondly remembers web surfing with twm and no internal browser handlers04:00
infinityAhh, but if I want to live my life entirely in terminals.04:00
lilsteviepersia: thanks, will get on to that soon :)04:00
persiaThere are any number of terminals that can show bitmaps...04:00
persialilstevie, If you get stuck or run out of time, let me know, and I'll see what I can do from your git tree.04:00
infinityWell, I guess with framebuffers being the norm these days.  In my mind, I still live in a "terminal = text mode" world.04:01
infinityEven if that's almost never true anymore.04:01
persiaBut I'd rather if you have time to learn it, as I'd be counting on you to maintain it :)04:01
lilsteviepersia: :) no problems04:01
persiaCool.  Two more kernels queued :)04:02
persiaNow if only there were documentation on how to create an image with arbitrary kernels and extra driver bits from a published rootfs...04:02
* infinity glares.04:03
infinityWe'll get there.04:04
persiaWe're not in a terrible hurry.  The kernels need a preview cycle before any of the product managers are supposed to request an image anyway.04:05
persia(sometimes people work around that, but it involves bribing the release managers, and it's just easier to wait a few extra months).04:05
lilstevieheh04:05
infinityI accept pie.04:05
infinityAnd peanut butter cookies.04:06
infinityI've been trying to get someone to send me homemade peanut butter cookies for months.04:06
lilstevieI'll accept a job04:07
lilstevie:p04:07
infinityI'll give you a job baking me cookies.  That's some corporate synergy right there.04:07
lilsteviehah04:07
* persia suggests http://www.simplesimonpies.com/ as preferred pie provisioners04:08
infinitypersia: They don't have pumpkin.04:08
* micahg wishes -pie and arm would get along04:08
persiainfinity, You failed to specify04:09
infinitymicahg: We have Top Men working on that bug, apparently.04:09
* persia has lost the site for delivery of peanut butter cookies, unfortunately :(04:10
* micahg wonders if giving infinity pie will get me -pie on arm :)04:14
Martynpersia : Delivery .. of .. wha?04:14
Martynpersia : Sign me up.04:14
* Martyn is busy putting in even _more_ patches to u-boot04:15
Martynto allow loading configs from disk, with menu04:15
Martynapproaching syslinux capability now04:15
Martynsyslinux levels of capability rather04:15
persiaMartyn, We've a temporary issue: simplesimonpies apparently doesn't carry pumpkin, which means we aren't actually arranging a delivery just now.04:15
Martynpoo04:16
persiaMartyn, Did you see jcrigby's proposal for the configuration file?  He had something that would allow one u-boot compilation per SoC, rather than per-board (at least in theory).04:16
infinityNot to mention pecan-coconut being an abomination.04:16
MartynI did ..04:16
Martynpersia : It's a ways off though04:16
Martyninfinity : coconut creme, equally so04:17
persiaHrm?  I thought it was RSN, for a unified OMAP u-boot.04:19
infinitypersia: I didn't get the impression that it was THAT soon when we chatted about it in Dublin.04:20
infinitypersia: Just a definite "working-toward" thing.04:20
infinityWhich beats "it's on the TODO".04:20
Martynyep04:21
Martynit _might_ be ready, just after Oneric04:21
rsalvetiGrueMaster: mahmoh: found the issue with pxe04:21
rsalvetiis a bug at the device tree support at u-boot04:21
Martynrsalveti: Issue?04:21
Martynrsalveti: *perk*04:21
persiarsalveti, Nice!04:21
Martynwhat happened?04:21
jcrigbyrsalveti, you are my hero!04:22
persiaMartyn, I'm reminded: do you have network and usb gadget drivers for u-boot for your devices?04:22
Martynnetwork, yes04:22
MartynUSB, no (we don't do USB)04:22
persiaHeh, if there's no port, there's no need for the driver.04:22
persiaBut if you don't do USB, how do you handle KVM?04:23
MartynWell, in-theory- I guess you could put a USB device on a PCIe bus .. but .. um .. yea04:23
rsalvetijcrigby: hey!04:23
Martynpersia : We have our own built-in management CPU04:23
rsalvetithe issue is kind of stupid04:23
Martynpersia : Where we're going .. we don't need .. keyboards: )04:23
persiaMartyn, So only VKVM via IPMI?04:23
MartynSOL, yep04:23
Martynall out of band04:23
persiaAh, that works.04:24
rsalvetijcrigby: common/cmd_pxecfg.c, check function label_boot04:24
Martynrsalveti : Looking here too04:24
rsalvetijcrigby: in the end it tries to set the agv[3]04:24
rsalvetibootm_argv[3] = getenv("fdtaddr");04:24
rsalvetiand later call do_bootm(NULL, 0, 4, bootm_argv);04:24
rsalvetiso argc is always 404:24
persiaMost of the implementations I've seen in the past end up wiring something that looks like PS/2 or USB to the HW, but if you don't need that, more power to you (or rather more power saved, really).04:24
rsalvetieven when argv[3] is NULL04:24
rsalvetiso later on u-boot things the ftd file is there, because argc > 304:25
rsalvetiand tries to use it, and boom, seg fault04:25
persiaAha!04:25
lilstevieso, transformer is wifi capable now, but this is far from optimal04:25
Martynrsalveti : Oops..04:25
lilstevieneeds a full network block in the wpa_supplicant04:25
lilstevieno scanning04:25
rsalvetiMartyn: :-)04:25
Martynrsalveti : Make sure you tell jason.hobbs@calxeda.com04:25
Martynwe'll fix it ...04:26
rsalvetiMartyn: sure, cooking a patch now04:26
Martynplus it means we need to patch the upstream, again .. *sigh*04:26
* Martyn is on the trail of getting rid of pre-baked configs in configuration.h now04:26
Martynsince, if everything works according to plan, you'll be able to load the configuration and environment in u-boot from -- an AHCI device (FAT/EXT2,3,4), off the network, off some local flash ...04:27
Martyninstead of having it all baked in04:27
Martynleaving the only thing needing to be baked in .. the order of where to search04:28
persiaWhy?04:28
persiaCreate a menu that lists the various (detected) options, and whilst it is scanning them, waits for the user to select the preferred one.04:29
persiaif the user completely fails to be paying attention, then fall back to a predetermined order once the scan is complete.04:29
mahmohrsalveti: when you have a u-boot with a patched pxe please ping me04:29
rsalvetimahmoh: in a minute :-)04:29
Martynpersia : Chicken and egg problem04:30
persiaMartyn, Why?04:30
Martynpersia : Because even with a timeout, you need to have -some- indication of where to look first04:30
Martynsince the u-boot environment is coming from there, and not from configuration.h04:30
persiaMartyn, So, as you're doing device discovery, you're prepared to accept an interrupt from console input.  If an interrupt is received, you wait for the user to confirm the list before proceeding.  If no interrupt is received, you go ahead with your prebaked order.04:31
Martynpersia : Also, u-boot doesn't do detection04:31
Martynpersia : At least, not _yet_ it doesn't04:31
persiaFix the yet :p04:31
Martynit only detects what you tell it to :)04:31
Martynyes yes yes04:31
MartynBut I'll attack this one (large) problem at a time04:31
mahmohrsalveti: in a min.?  I was hoping tmw ;)04:31
Martynif I try to patch too much at once, Wolfgang will have kittens04:31
rsalvetihaha04:32
mahmohlol04:32
persiaMartyn, So, short term: you tell it to detect foo, bar, baz, and quux in a predetermined order for your hardware.04:32
persiaThen you start constructing a menu whilst it's doing that.04:32
persiaAnd if the user does something, you let them reorder the sequence before starting the selected config.04:33
persiaIf the user is too slow, you proceed with your initial intentions.04:33
MartynYep, that's more or less what's in store04:33
Martynalthough the menu generation code is brand-spanking new04:33
Martynand it's really designed to handle PXE stuff04:33
Martynhowever, things are progressing nicely04:33
persiaAh, good.  Your initial announcement made me think it was just going to check foo, bar, baz, and quux in compile-time order, and boot the config found first.04:34
Martynpersia : Well that's what _will_ happen in the first pass04:34
persia(which config might include a menu, etc.)04:34
persiaAwwww.....04:34
Martynhowever, from whatever source it finds first, it will load the menu04:34
Martynand so it's not any worse than, say, syslinux booting from EXT2, or a CD, or whatever04:35
MartynAnd thanks to the AHCI support, it just may .. MAY .. be possible for me to boot a CD on ARM .. wouldn't that be something?04:35
MartynJust in time for the whole CD technology to go obsolete, of course .. but .. :)04:35
infinityI'm going to pretend you didn't say that.04:35
persiaI suppose.  Can't we do that today with EHCI and USB CD drives?04:35
infinityIf someone asks me for ARM ISOs, I intend to stuff my fingers in my ears and scream "la la la, I can't hear you".04:36
rsalvetimahmoh: http://people.canonical.com/~rsalveti/pxe/3/u-boot.bin04:36
Martyninfinity : I -promise- you the format of an ARM CD will be something simple and sane04:36
persiainfinity, There is a reason why the provided images on cdimage.ubuntu.com are supposed to be less than 700MB compressed.04:36
persiainfinity, Something about tradeshows and pressing costs...04:36
Martyninfinity : Such that you won't have to bend your tools04:36
infinityMartyn: Good, I don't like bending my tool.04:37
infinityErr.04:37
Martyninfinity: But ARM is a good place to break clean away from CD's04:37
persiaMartyn, they have already been warped beyond recognition, in ways that may significantly improve the situation for other architectures.04:37
Martyninfinity: There is absolutely NO reason that we shouldn't be booting from good, standard 1G memory sticks04:37
infinityMartyn: Yeah, I tend to boot from USB or SD on all my non-ARM hardware too.04:37
MartynI have put in an order for 500 ubuntu, oneric logo'ed usb keys for Orlando to give away04:37
persiaMartyn, trade shows...pressing costs...04:37
infinity(But in that case, it often involves pretending it's a CD, which is VILE)04:38
Martyninfinity: It shouldn't ... at least not on ARM04:38
Martyninfinity : AFAIK, the ARM installer is nothing more than the standard net installer really..04:38
persiainfinity, Hrm?  Even most of my powerpcs can boot from USB if I glower at them enough.04:38
Martynbunch of seeds and a repository .. which is a far easier layout than the usual CD layout04:38
Martynno ISO9660 to worry about04:39
infinitypersia: I was pointing a finger at x86 in that case.  PPC is much saner, as are all the arches that grew up in the UNIX world.04:39
persiaMartyn, So, there are *four* installers currently provided (well, three and the one expected later this week).04:39
Martynyeah, noticed that04:39
persiainfinity, I don't believe I have any remaining x86 devices that can't boot USB, but then I'm kinda rough on hardware.04:39
* Martyn got his hands on a Nufront machine .. cute laptop, but FLIMSY04:40
Martynsomeone out there MUST be making a better laptop with the Cortex A904:41
persiaMartyn, All of them are based on debian-installer in one way or another.  We have the base d-i environment (sometimes called "alternate" or "netboot"), the ubiquity wrapper for running it in a live environment, jasper which does just enough to launch oem-config, another d-i wrapper, and another initramfs shim (yet to be named), which again does just enough to run oem-config (at least, as last I heard it described).04:41
MartynAlthough I did see a Kal-El based prototype here in Austin that -was- seeeeexxxy ... looked like a thin thinkpad .. ran 2Ghz, had 3Gb of RAM04:41
rsalvetimahmoh: let me know if it works for you04:42
rsalvetijcrigby: just sent you the patch04:42
Martynhad one hell of a pretty screen (1400x900) too04:42
rsalvetiMartyn: also included jason04:42
Martynthanks!04:42
Martynhe'll get to it tomorrow when he gets into work04:42
* Martyn is doing OpenMPI work this weekend04:42
Martynmaking sure the whole OpenMPI set works ..04:43
rsalvetigreat, panda booted with PXE :-)04:43
rsalvetiand working fine04:43
Martynthen I need to convince all -you- folks to compile and put OpenMPI 1.5.3 into the repository04:43
rsalvetiawesome04:43
rsalvetijcrigby: then we just need to fix the mac address problem with panda04:43
Martynrsalveti : Awesome...04:43
Martynrsalveti : Doesn04:43
rsalvetiand it'll be done :-)04:43
MartynDoesn't the panda use a USB adapter?04:43
Martynso you have to get USB up first, then the network adapter, then get all the PXE stuff up?   Ever fun.04:44
rsalvetiMartyn: it uses smsc95xx, usb hub and usb eth04:44
Martynyeah.. thought so04:44
rsalvetithe kernel is setting a unique mac address using the die id04:44
mahmohrsalveti: small problem04:44
rsalvetiwe just need to use the same code at u-boot04:44
MartynI'll be -much- happier when more SoC vendors get off their asses and integrate a NIC right into the AMBA bus like we do04:44
rsalvetimahmoh: didn't work?04:44
mahmohrsalveti: it works, now I have more work to do!  I was hoping for a few days off ;)04:44
mahmohrsalveti: want a bug for it?04:45
rsalvetimahmoh: ;-)04:45
MartynBuah-ha-ha-ha!04:45
rsalvetimahmoh: don't need, just sent the patch to jcrigby04:45
mahmohrsalveti: ok but we should track the work ...04:45
rsalvetihm, maybe a bug to update the package before the 07 release...04:45
rsalvetimahmoh: yeah, please fill a bug :-)04:45
persiaBah.  Filing bugs is for when you *don't have the fix ready.04:45
rsalvetithen we can patch the package04:46
rsalvetiand properly track it04:46
mahmohrsalveti: against lp:u-boot?04:46
rsalvetimahmoh: against package u-boot-linaro04:46
rsalvetiyou can also link at u-boot-linaro project04:47
rsalvetimahmoh: let me know the number and I'll take care of it04:47
mahmohshortly04:47
mahmohrsalveti: u-boot-linaro ?04:50
rsalvetimahmoh: yup04:50
mahmohrsalveti: I'll file it there then you can add the other one?04:51
rsalvetimahmoh: sure04:51
mahmohsweet, thx04:51
Martynrsalveti : Hey, mail me the patch as well -- martin@calxeda.com04:56
rsalvetiMartyn: sure, 1 sec04:56
Martyn(yeah, different style address to everyone else ... early hire hath it's privs ... and besides, who wants to type martin.bogomolni@ all day?)04:56
rsalvetiMartyn: sent04:57
Martyndanke04:57
mahmohrsalveti: is this panda specific?  I'm guessing not.05:02
rsalvetimahmoh: nops05:02
rsalvetibut you'll only find this issue if you build with CONFIG_OF_LIBFDT05:02
mahmohrsalveti: all yours, thx all!  https://bugs.launchpad.net/ubuntu/+source/u-boot-linaro/+bug/80861205:03
ubot2Ubuntu bug 808612 in u-boot-linaro "pxe fails after loading kernel and initrd" [Undecided,New]05:03
rsalvetimahmoh: great, thanks05:03
mahmohnp05:03
mahmohnighty, nite05:06
mahmohand good work, I appreciate it (everyone)05:06
=== Lopi is now known as Lopi|idle
stm__hi all09:05
stm__can any one point me how to build a rootfs using rootstock for custom kernel09:05
stm__iam following steps mentioned at here to build rootfs09:15
stm__http://elinux.org/BeagleBoardUbuntu09:16
stm__i have a doubt in09:16
lagstm__: For which board?09:16
stm__sudo ./rootstock --fqdn omap --login ubuntu --password temppwd --imagesize 2G \ --seed wget,nano,linux-firmware,wireless-tools,usbutils --dist natty --serial ttyO2 \ --components "main universe multiverse" \ --kernel-image http://rcn-ee.net/deb/natty/v2.6.39-x1/linux-image-2.6.39-x1_1.0natty_armel.deb09:16
stm__pandaboard09:16
stm__what changes i have to do in the above command09:17
stm__i have bulded uimage09:17
lagI don't think you need to make any changes?09:17
lagWhat's wrong with the image that's produced?09:17
stm__of xenomai patched kernel 2.6.37.609:17
stm__no , i have to build rootfs for the custom kernel09:18
stm__which patched with xenomai alreay09:19
stm__how should i use that kernl to build the rootfs09:20
lagstm__: Sorry, I didn't know you replied09:54
lagstm__: Please use my nick when replying09:54
stm__ok09:54
lagstm__: The rootfs is not built for the kernel09:54
lagstm__: Once you have a rootfs you can just install a new kernel into it and it'll just work09:54
lagstm__: Is your kernel in *.deb or uImage form?09:55
stm__lag: mkdir /tmp/xeno cd /tmp/xeno wget http://www.codesourcery.com/sgpp/lite/arm/portal/package7851/public/arm-none-linux-gnueabi/arm-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 tar -xvjf arm-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 export PATH=/tmp/xeno/arm-2010.09/bin:$PATH git clone --depth 1 git://git.xenomai.org/xenomai-2.5.git git clone --depth 1 --branch for-ipipe-2.6.37-arm git://git.xeno09:55
stm__lag: this is the procedure i got the patched kernel and09:56
stm__builded u Image09:56
stm__lag: how should i build the rootfs using this uImage09:57
lagstm__: You don't09:58
lagstm__: I'm assuming you're using an SD card?09:58
stm__lag: yes09:58
stm__iam using sdcard09:58
lagMount the SD card09:59
stm__Llag: i placed uImage and mlo and uboot.bin in fat16 partion09:59
stm__sorry10:00
lagThat's it then10:00
stm__lag10:00
lagBoot it10:00
lagAll you have to do is replace the uImage with your own kernel10:00
stm__placed modules on ext partion10:00
lagGreat10:00
lagDone - boot it10:00
stm__lag: its not booting10:01
lagThen there's a problem with the kernel10:01
lagOr u-boot10:01
lagDoes u-boot boot?10:01
stm__if dide not use update initramfs then its givng me root partion is not mounted10:02
stm__u-boot10:02
lagPaste me your output10:03
stm__lag: if i done update initramfs10:03
lag@ paste.ubuntu.com10:03
stm__ok10:03
stm__lag:http://paste.ubuntu.com/641780/10:16
lagstm__: Can you paste your u-boot variables (printenv)10:18
lagstm__: Did you back-up the old kernel? Does that still work?10:18
stm__lag: yes i backuped10:18
stm__In:    serial                                                                    Out:   serial                                                                    Err:   serial                                                                    Hit any key to stop autoboot:  0                                                 Panda # printenv                                                                 bootcmd=if mmc init ${mmcdev}10:19
stm__sorry10:19
stm__bootcmd=if mmc init ${mmcdev}; then if run loadbootscript; then run bootscript;i bootdelay=310:20
stm__bootcmd=if mmc init ${mmcdev}; then if run loadbootscript; then run bootscript;i bootdelay=3                                                                      baudrate=115200                                                                  loadaddr=0x82000000                                                              console=ttyS2,115200n8                                                           usbtty=cdc_acm10:20
stm__         mmcdev=1                                                                         mmcroot=/dev/mmcblk0p2 rw                                                        mmcrootfstype=ext3 rootwait10:21
stm__lag: here is the printenv10:23
stm__http://paste.ubuntu.com/641786/10:23
stm__the board booting up with the old kernel nd with  this bootargs10:26
lagIt may just be a serial issue10:28
stm__you mean ttyO210:28
lagIn your rootstock command you had ttyO2, whereas in u-boot is says ttyS210:28
lagThe kernel could actually be running just fine10:28
stm__lag: but the rootstock created images or configs related to kernel 2.6.38.10:32
stm__but my kernel is 2.6.37.610:33
stm__i have tried changing in bootscr file10:33
stm__ttyo210:33
stm__Is this might be because of configs the boot program uses during booting10:34
lagMount the card again and provide me with `ls /etc/init`10:38
lagFrom <mnt_point>/rootfs/10:39
lagstm__: It's not ttyo2, it's ttyO210:43
stm__lag:yes10:50
stm__lag: http://paste.ubuntu.com/641802/10:58
stm__the init contails different configs10:58
lagAre you sure this is the rootfs you built with rootstock11:02
lagUnless I am mistaken, you are missing the serial init script11:02
lagI see tty[1,2,3,4,5,6], but no ttyO111:03
lagstm__: Paste me your boot.scr11:04
lagstm__: And try issuing this in u-boot: setenv console ttyO2,115200n811:05
lagThen type boot11:05
stm__lag: ok11:05
stm__lag: http://paste.ubuntu.com/641839/12:11
stm__here is the log12:11
stm__it seems i have some problem12:11
stm__i can able to login through console12:12
lagDid you change the boot.scr?12:12
stm__lag: no actually last time i used the mlo and uboot.bin from ubuntu10.10 builin binaries12:20
stm__but now i canged the mlo and uboot.bin12:20
lagWell for some reason your boot.scr is no longer being successfully read12:21
stm__i mean i builded mlo and uboot.bin12:21
stm__lag: how should i know that the problem12:24
brendanddoes anyone know if a simple USB stick would suffice to alleviate the performance issues associated with using SD as the main storage on the pandaboard?12:30
lagIt's hard to judge12:30
brendandi.e. is the problem with flash or SD12:30
lagFirstly make sure it's still there and readable12:30
lagAnd that you haven't change it in any way12:30
brendandi don't actually need that much storage space but would rather not have all the lag12:31
stm__lag: how can i make the initrd.img-2.6.38-8-omap to uinitrd12:42
laghttp://elinux.org/BeagleBoardUbuntu#U-Boot_uImage_and_uInitrd12:45
lagstm__: Google really is your friend12:45
stm__hmm . iam sorry12:46
persiabrendand, It depends on the USB stick.  There are USB sticks that are faster than some SD cards, but flash connected to USB isn't that different from flash connected to MMC connected to USB, and there's plenty of USB sticks that are implemented as USB to MMC to flash anyway (I have at least one where you can see the microSD through the plastic, but it's firmly glued in).13:10
brendandpersia - that's a whole can of worms13:11
persiabrendand, The big win with rotary disks or fast SSD is twofold: 1) they tend to have cache RAM, often with advanced precaching algorithms, and 2) they tend to be turned for non-sequential reads.13:12
persiaWhereas most flash is tuned for sequential reads, as the presumed use cases are things like "store media", "stream media", "transfer some files", etc.13:13
brendandpersia - from a previous life i'm all too aware of that :)13:14
brendandi once tested a 32GB Panasonic SDHC card which was designed for HD camcorders13:15
brendandbut when you tried random access operations on it...13:15
persiaThen you understand precisely why running an operating system from SD isn't precisely fast.13:16
brendandyes13:16
brendandso i guess my safest bet is a proper usb rotary disk drive13:17
persiaOr fast SSD, if you have some extras laying about :)13:17
brendandi don't want to spend $100 for 1TB of storage i don't need13:18
brendandthat seems to be the smallest you can get in most shops these days13:18
brendandprobably looking online might do it13:18
=== gildean_ is now known as gildean
mahmohbrendand: what board are you using?13:25
brendandmahmoh - panda13:25
andreas_bos1hallo zusammen13:43
persiaGood morning.13:44
LPhashello, is there a way to INSTALL ubuntu on a pandaboard using a small (<=2gb) sdcard for boot and a USB pendrive for root? i manage to do it with archlinux and gentoo but i can't figure a way to do it with ubuntu13:45
mahmohLPhas: yes, you can specify your root=/dev/sda2   or similar on the kernel command line (assuming you have your root fs on the the first USB stick attached/detected) or install to the USB stick13:47
LPhasmahmoh, ok i know how to boot with root on a usb stick, but i don't know how install root on a usb stick13:47
persiaLPhas, The documentation for that is not yet ready (as we're just finishing making it simple).13:48
LPhasi do not have any sdcard > 2gb13:48
mahmohLPhas: you can use the new netinstaller for the insall,13:48
mahmohinstall13:48
LPhasmahmoh, let see13:48
mahmohor you can copy what you have over to the USB stick13:48
persiaBe aware that the netinstaller is only available for the development release right now: if you want a production install, you'll want the store&copy solution.13:49
LPhasmahmoh, were can i find the netinstaller image for omap4?13:49
mahmohLPhas: http://ports.ubuntu.com/ubuntu-ports/dists/oneiric/main/installer-armel/current/images/omap4/netboot/    from  https://wiki.ubuntu.com/ARM/OMAP13:50
mahmohLPhas: note the partitioning caveat!13:51
LPhasyep reading it13:52
LPhashow do i use these images? i guess that uInitrd, uImage, boot.scr goes on the usual boot partition13:53
LPhasbut the boot.img* file where it goes?13:53
mahmohLPhas: boot.img contains the all of them, if you're using then separately you won't need them13:54
LPhasook13:54
mahmoh^them^it13:54
LPhasso basically i put the files in the boot partition in the sdcard, plug the usb stick, start installation and install / on sdcard13:55
LPhasehm on usb13:55
LPhasbut if i must put these files on the sdcard13:55
LPhasand then repartition sdcard13:55
LPhasi mean.. this sound strange13:56
mahmohLPhas: install / on USB stick, no?  The quickest way would be to just copy the partition you have over to the USB stick, it depends on what your goal is I guess?13:56
persiaLPhas, You can partition the SD card *first*, and then copy in the files you need.  This avoids repartioning.13:56
mahmohLPhas: you'll be using the SD card to boot (like a bios) then handing over the root fs to the kernel on the USB stick13:57
persiaUm, no.13:57
LPhasmahmoh, yeah, this i get and it's basically what i do with gentoo13:58
persiaIf we're looking at a BIOS model, it's bios+bootflash accelerator.13:58
LPhasit's the installation process that bothers me13:58
LPhaswell, let make some experiments, i will be back13:58
mahmohLPhas: good luck13:58
mahmohpersia: excuse my sloppy example ;)13:59
persiaExcused.  I just think it's important to be correct when drawing parallels, as the details can cause confusion later.13:59
persiaErr.  s/correct/precise/ (yes, I'm guilty too)14:00
mahmohpersia: fair14:00
LPhasisn't there something missing? like MLO?14:01
mahmohyou can use the same one that's already on your SD14:01
LPhasthe one i just deleted?14:02
persiaLPhas, good catch.  There's one in the boot.img files (just loop-mount one).14:02
mahmohoops14:02
LPhas(na, joking i made a backup)14:02
persiaNCommander, Any reason not to expose MLO as an available netboot download option?14:02
mahmohLPhas: people claim that if you don't write the MLO first to a clean boot partition it may not boot, fyi14:03
ogra_persia, not really, beyond "we have never done it before"14:04
LPhasalso u-boot.bin14:04
ogra_yeah14:04
ogra_can you file a bug against debian-installer ?14:04
persiaogra_, That's because most of the netinst targets have SPL in flash, and we rely on vendor SPL.14:05
ogra_persia, nope, thats just because we always built mini isos in the past and sold them as netinst ;)14:05
ogra_with the exception of versatile where we only wanted a kernel :)14:06
LPhasto use the img* instead is ony dd if=img of=device ?14:07
ogra_yes14:07
LPhasthe installer look a beutyful14:11
LPhasbeautyful14:12
persiaogra_, Erm, no.  See http://ports.ubuntu.com/ubuntu-ports/dists/oneiric/main/installer-powerpc/current/images/powerpc/netboot/14:14
persiaThat has kernel, initrd, and yaboot.14:14
persiaBut it *doesn't* have OF.14:14
LPhasmahmoh, ok now i'm officially confused. i'm at this point http://img233.imageshack.us/i/screenshot2fy.png/14:17
LPhasnow i think that the correct way of doying it is to create a partition for / on the usb stick14:18
LPhasand a partition for /boot on the SDcard14:18
persiaLPhas, You want /boot on USB as well: there's a utility called flash-kernel that will extract stuff from /boot and stick it in the FAT partition on the SD card.14:19
ogra_persia, i'm tsalking about arm14:19
persia(well, you could also put /boot on *another* partition on the SD card, if you prefer, but that's just for fun)14:19
LPhaspersia, ok and i'm supposed to run it when?14:19
persiaLPhas, The installer will run it automatically as part of the install, and it will be run automatically whenever you install a new kernel.14:20
LPhasok14:20
mahmohLPhas: so yo don't have to have boot separate though, just make sure you create a fat32 partition on the MMC/SD and make that bootable too14:20
LPhasoh14:20
persiaogra_, Architecture doesn't matter.  Even for ARM targets where we use vendor SPL, the current stuff is fine.14:20
LPhasso the note about partitioning in the guide refers to that14:21
mahmohand I assume you have sda #2 as  /  since I cannot see it14:21
persiaogra_, And for targets for *any other* architecture where we wanted to use our SPL, we'd need to do the same.14:21
LPhasand i have to create a separate /boot partition on the usb drive or can i just do only one partition for / (and another for swap maybe)14:21
persiaLPhas, You can get by with just the one partition if you like.14:21
ogra_still, i was referring to arm and the fact that we never provided actual netboot images14:21
mahmohswap is a nice thing on the USB stick if you don't mind the usage14:22
persiaogra_, Wasn't there some netboot images that worked with Freescale redboot for the Babbage?14:22
LPhasi can buy another 8gb card for 4 euros14:22
ogra_persia, yes, mini isos14:22
persiaSwap on flash is bad for the flash, whether it's USB or not.14:23
ogra_same goes for omap314:23
persiaFor omap3, I thought we always wanted our own u-boot.14:23
persiaAnyway, if we used vendor SPL on the babbage, then the ancillary files would have worked without needing to be the mini ISO.14:23
ogra_we have (had) mini isos for beagle14:23
ogra_in lucid ...14:24
persiaYes, but those contained the SPL.14:24
LPhas"No mount point is assigned for the fat32 file system in partition #1" and this message should means that i've done correctly, am i right?14:25
persiaLPhas, Yes.14:25
* mahmoh1 has personality problems for 60 mins ...14:27
* persia waits for bzr14:27
rsalvetimahmoh1: were you able to test the netboot image with pxe?14:31
mahmoh1rsalveti: yes, booted and installed fine with a tweek - we'll need to setup kernel_ram and initrd_ram addresses manually for now unless you specify it in the boot.scr or uEnv.txt - I'll throw in a bug for it14:33
mahmoh1tweak14:33
rsalvetimahmoh1: I believe it should be fine to have that values as default at boot cmdline for panda14:34
mahmoh1rsalveti: yeah, all the other boot options have addresses assigned, I think it was an oversight14:34
rsalvetimahmoh1: yeah, open a bug, and we'll see what to do :-)14:34
mahmoh1but that's the only thing I think needs changing14:35
LPhaswhat's the default video driver used by ubuntu in omap4?14:35
mahmoh1thx14:35
persiaAnyone have any suggestions for descriptions for MLO and u-boot.bin?14:35
LPhaspersia, x-boot image, u-boot image?14:35
ogra_first stage bootloader and second stage bootloader ?14:35
persiaLPhas, The default is just framebuffer.  TI has a PPA with powervr drivers that many people use.14:35
persiaLPhas, Not very informative, but maybe :)14:36
mahmoh1rsalveti: panda specific bug? u-boot-linaro-panda?14:36
LPhasxboot image (second stage bootloader), u-boot image (first stage bootloader)14:36
rsalvetimahmoh1: u-boot-linaro package :-)14:36
persiaogra_, The issue there is that there is too much terminology using that structure.  The "S" in SPL stands for "second", but that's MLO.14:36
mahmoh1ack14:36
rsalvetibut yeah, specific to panda14:36
LPhaspersia, powervr are the closed source driver, am i correct?14:37
ogra_persia, well, if you call hard wired ROM code FPL indeed14:37
persiaLPhas, Yes.14:37
persiaogra_, Most folk seem to do so.  I'm in agreement with you, but then I don't come from an embedded background.14:37
ogra_(which i wouldnt)14:37
ogra_well, i cant make up better descriptions :)14:38
LPhasis there a repository with binary omap-gstreamer that you know about?14:38
ogra_not for natty14:38
ogra_unless TI recently uploaded something14:38
LPhasogra_, can i compile from sources i guess14:40
LPhasmy whole point would be have pandaboard playback hd video with gstreamer14:40
mahmoh1rsalveti: https://bugs.launchpad.net/ubuntu/+source/u-boot-linaro/+bug/808815   thx14:40
ubot2Ubuntu bug 808815 in u-boot-linaro "pxe missing kernel_ram and initrd_ram defaults" [Undecided,New]14:40
* persia decides to go with "Mini Loader for OMAP Beagle" and "Universal Bootloader for OMAP Beagle" (switching Beagle/Panda when I get to that file)14:41
ogra_persia, http://omappedia.org/wiki/Bootloader_Project14:41
ogra_what would "mini loader" mean ?14:41
persiaThat's apparently what "MLO" abbreviates.14:42
ogra_no14:42
ogra_its Mmc LOader14:42
persiaYour internet has a different selection of wild guesses than mine.14:42
persiaAh, cool.  I'll use that.14:42
LPhaspersia, i would mention uboot and xboot in the description, when a first got my hands on the pandaboard one thing i didn't figure out in the first momento was "what *CENSORED* is uboot?"14:42
ogra_persia, according to the doc above x-loader is 1st stage by their definition14:43
persiaI know.  Didn't I say there was wild inconsistency in the nomenclature?14:43
ogra_well, its conform with my assumption, no inconsistency at all :)14:44
mahmoh1bbib14:44
persiaogra_, The issue is that there is the IPL, SPL, TPL, QPL, PPL, HPL sequence, which implies cardinality which fails to match your and my prior understanding of bootloaders.14:51
* persia sadly watches bzr push 73K at 9kB/s for a 3019 character patch14:57
persiaOr maybe it's lying, as that ought to have been done by now :(15:03
LPhaswho did design the ascii installer for the omap4 netinstall? he's a genius15:04
LPhasi love it15:04
persiaLPhas, The Debian Installer team.15:05
LPhasoh, i don't love it anymore15:06
LPhasit was a short infatuation15:06
persiaWhat happened?15:07
LPhasi don't like debian :p15:10
persiaWell, Ubuntu is heavily based on Debian: I hope your dislike doesn't translate (and maybe that we can erode some of it).15:13
LPhasyeah, ubuntu is basically debian, but they are intended for different porpuses. even if ubuntu is not my favourite distribution i can manage to live with it (an i used and loved it heavily in the past) but debian i can't stand it15:14
persiaIntended for different purposes?15:15
LPhasyeah i mean15:15
LPhasas i see it, ubuntu is intended mainly for desktop/workstations15:16
LPhaswhile debian is mainly used for servers15:16
LPhaswhen i go for "software selection" should i include also "basic ubuntu server" or if i install "ubuntu desktop" there's no need for that?15:17
GrueMasterNah, more like Debian is geared towards the hacker and Ubuntu is geared more towards the user.15:17
GrueMasterWhat are you going to do with your install?  That should give you a direction on what task to select.15:18
LPhasGrueMaster, mmh i don't really share your point of view. there are more "hackish" distribution like gentoo (urgh) or archlinux (which i prefer)15:18
GrueMasterThey're just different styles of hackish.  Fedora could also count in that list.15:18
LPhaswell, my goal is to have a working x installation possibily with a minimal window manager but also GNOME will be fine where i can run some gstreamer/python application15:19
LPhasas easily as possible15:19
LPhasso a full ubuntu installation is fine at the moment15:19
GrueMasterThen select Ubuntu Desktop or one of the other desktop environments.15:19
LPhasonly that?15:19
persiaHrm.  Ubuntu offers a server product, of which many folk are fairly proud (and any number of folks run Debian as desktop)15:20
GrueMasteryes.  Just be aware that the more you select, the more of a chance it will fail due to pool churn.15:20
LPhaswell... it failed15:20
LPhaspersia, yep i know of ubuntu server, but it's really not my kind of server. (while i bet it has some advantages depends on what you do)15:21
GrueMasterProbably dependency issues.  I've been seeing that since Alpha 2.15:21
LPhasGrueMaster, so do you think should i try?15:21
LPhascan i install "basic ubuntu server" and then add gnome-desktop later?15:21
GrueMasterGive it a try, but don't get your hopes up.  It is installing oneiric after all.15:21
LPhas"oneiric"?15:22
GrueMasterYou should be able to install ubuntu server.  YOu could also not select anything here (I recommend openssh-server as a minimum).  This will give you a minimal install and you can always add from there.15:22
LPhaslet's try15:23
GrueMasteroneiric is the currently "in development" release.15:23
LPhasok15:23
GrueMasterI'm not sure that the netinstall could be preseeded to pull from natty instead (but it would be nice).15:23
LPhasyeah, unstable is always quite.. unstable15:24
LPhasat least it was when i was using ubuntu years ago15:24
GrueMasterOn arm it is more so due to the length of time it takes to rebuild dependencies.15:25
LPhasis it longer? why?15:25
GrueMasterWe hope to get a cluster of pandas online soon to help with that.  Right now, we only have a small handfull of single core 512M systems doing builds.15:26
LPhasGrueMaster, can't you just use cross compilers?15:31
GrueMasterNot really.  They can be hit or miss.  And a lot of packages have post-build test suites to verify the builds.15:32
LPhasmmh i see15:33
LPhasisn't possible to use cross compilers to compile the packages and move the post-build test on the actual hardware/emulated enviroment? that would be cool15:33
GrueMasterAnd painful.  You would have to break up the build process, rewrite make files, bundle up partially completed builds, etc.15:34
LPhasi see that15:35
GrueMasterThe reason for the poor hardware in the buildd pool is simply due to availability.  Panda is the first dual core system that was widely available.15:35
GrueMasterAnd economical.15:36
LPhasi see15:36
LPhasso are you actually working in canonical?15:37
LPhas(if i may ask)15:37
GrueMasterYes.  I am the QA guy for the arm releases.  But I also do some hackery on the side, when time allows.15:37
LPhasthat's really cool15:38
GrueMasterI used to do alsa development for Intel HD Audio based systems.15:38
LPhasi'we always wanted to meet a canonical guy to say "good work guys, you changed the way that linux is"15:38
GrueMasterHeh, thanks.  Glad to hear you like our work.15:39
LPhasone might like more hackish distros for himself, but only stupids can't appreciate the marvelous fact that you put a ubuntu cd (usb stick) and 30 minutes later you have a fully functioning linux based workstation with basically no effort15:42
topfs2I'll +1 that. Was annoyed at the direction natty took until I started using oneiric, regained my trust right there :)15:42
GrueMasterPart of my unofficial testing is to see if my mom can install and use it.  So far, so good.15:43
topfs2(the +1 was for the "good work .." part btw :) )15:43
topfs2haha, I Like the mom test :)15:43
LPhasstill, seems that the installer didn't worked15:43
LPhasit completed successfully but it won't boot15:43
topfs2I do that constantly with xbmc also, if I can picture my mom using it its simple enough15:44
LPhasi don't have output on the serial console15:44
GrueMasterLPhas: YOu are using the netboot installer?15:44
LPhasyep15:44
topfs2for the record I installed ubuntu on my ex's moms computer a while back and she loved it so much more than windows :) soemthing I found quite a lot of fun15:44
GrueMasterHmmm.  I'll have to check it to make sure it is setting up a serial console properly after boot.15:45
LPhaswell, there's no output at all, neither from the bootloader15:45
LPhasso problem is "before the boot"15:46
GrueMasterNot even any u-boot test?15:46
LPhasnot even15:47
GrueMaster*text15:47
LPhasnot a single bit on the serial15:47
LPhasnot a blink from the led15:47
GrueMasterHmm.  I heard there may be a problem with the board not rebooting after install.  Try just hitting reset and see if it comes up.15:47
LPhasnope15:48
LPhasthat's quite strange because apparently there are u-boot.bin MLO uImage uInitrd on the partition of the sdcard15:49
LPhasalso boot.scr15:49
GrueMasterYes, but if the kernel doesn't actually reboot the system after install, they won't come up.15:50
LPhasyeah but i rebooted the pandaboard15:50
GrueMasterReset does nothing?15:50
GrueMasterCan you check to see if the boot flag is enabled on the SD fat partition?15:51
GrueMasterAlso check the partition type.15:51
LPhasreset does nothing15:51
LPhasfor the boot flag give me some minute15:51
LPhasthe only sd-enabled system i have is a mac15:51
LPhasand fdisk on osx is quite different15:51
LPhasmmh, i wrote a boot flag on the partition15:54
LPhasbut stil won't boot15:54
GrueMasterHmmm.16:01
LPhasi can see two things running parted16:01
LPhasehm fdisk16:01
LPhas/dev/sdb1   *        2048      141311       69632    b  W95 FAT3216:02
GrueMasterUnfortunately, I am still ramping up hardware wise.  I will look into this later today, after I run to the store and get some external drive enclosures.  I have drives, just no enclosures.  :(16:02
LPhasthe first is that the partition doesn't start from sector 016:02
GrueMasterThat is one problem.  The other is the partition needs to be type c.16:02
LPhas"type c"?16:02
GrueMasterLBA16:03
LPhasoh16:03
LPhaswell ok, i can manage to fix this i think16:03
GrueMasterWhich version of the installer did you copy down?16:03
LPhasboot.img-fat-serial this i think16:04
LPhason the guide they say that the partition should be 75 MiB16:04
LPhasshould it be precisely this amount?16:04
LPhascause i have a nice script that automatically partition the sdcard for the pandaboard16:04
LPhasbut the boot partition is lik 66mib16:04
GrueMasterNo, it can be as low as 20M, but 40-70 is recommended as flash-kernel backs up the old kernels.16:05
persiaGrueMaster, Ncommander wrote that there was a bug which required the FAT partition to be 72MiB at https://wiki.ubuntu.com/ARM/OMAP : is this only conservative advice?16:06
GrueMasterpersia: That is soley based on my recommendation from what the preinst images use.16:06
persiaHeh.  And now my understanding is complete :)16:07
GrueMasterI haven't had a chance to figure out a definitive size.16:07
GrueMasterBut based on kernel and initrd sizes, we could probably go down to 40M.16:07
persiaThat'd cover about 5 updates?16:09
GrueMasterflash kernel only stores current & 1 previous version.16:09
persiaIn that case, I suspect we might be able to get down to ~30, but yeah, it's complicated (and widely depends on what one has in the initramfs)16:10
GrueMasterNot sure if we care about old versions of MLO and u-boot.bin.16:11
persiaPersonally, I think those are even more critical.16:11
persiaIf you don't have a working kernel, but you have a working bootloader, you can fuss about.16:11
persiaIf you don't have a working bootloader, your device is bricked, unless you happen to have a device with the bootloader on removable media, or some other way to update he bootloader (e.g. via USB gadget).16:12
GrueMasterOn panda's, it is easy enough to change out the bootloader, either by pulling the SD and overwriting it on a PC (or Mac), or by booting a custom kernel via usbboot.  We just don't happen to provide the custom kernel.16:14
persiaogra_, infinity: you guys fiddle with image stuff more than I: would one of you review https://code.launchpad.net/~persia/debian-installer/publish-omap-spl/+merge/67575 ?16:14
persiaGrueMaster, Right.  My concern is about architecture for consumer devices.  Anything we do that presumes a development board needs to be redone later if we expect to have our software delivered retail.16:15
GrueMasterI'm less worried there, as we don't release alpha or beta software to retail channels usually.16:16
GrueMasterAnd for the x-loader & u-boot, they are usually tested heavily before release.16:16
GrueMasterBesides, most retail products have special partitions for each, usually just big enough to hold one copy with a little room to grow.16:19
persiaAnd as long as we have flash-kernel not overwrite them (and don't install our versions in those images), we ought be safe.16:20
persiaOf course, if our reputation grows enough that retail folk *want* our bootloaders, then the picture gets more complicated.16:20
LPhasheh the mighty script worked16:20
GrueMasterLPhas: Cool.16:21
LPhashail to that crazy gentoist who, probably waiting hours to compile gnome, wrote it16:21
GrueMasterheh16:21
LPhasnow should i try to install ubuntu-desktop?16:26
LPhasat least i could give you the precise error if it's a dependency problem16:26
GrueMasterSure.  Try "sudo apt-get install ubuntu-desktop".16:26
persia`sudo apt-get ubuntu-desktop^` may have slightly different results (and more closely matches what would be in a default desktop install image).16:27
LPhashttp://hpaste.org/48952 and tht;s your error16:28
persiaNote the '^', used to distinguish a task from a package.16:28
GrueMasterLPhas: The error you are seeing is similar to what I had last friday, but with different packages.  This is good, in that it means the buildds are still churning and not failing to build a package.16:30
GrueMasterSucks in that there is no frozen packages to pull from.16:31
LPhasGrueMaster, is there another metapackage for another desktop manager (not kde please, no kde) maybe xfce16:34
GrueMasterNot sure.  I think so.16:34
GrueMasterKDE is (was) horribly broken on arm last cycle.  While I prefer it on x86, it had serious arm specific issues.16:35
LPhasKDE is horribly broken everywhere :p16:35
GrueMasterBut I think the kde dev's have been working on those.16:35
GrueMasterDepends on point of view.  A lot of people were upset with 4.0 and how nothing worked.  They don't fully realize that 4.0 was a development release to enable devs to port their 3.5 apps over.16:37
LPhasyeah, just kidding16:37
LPhaswell, after installing xinit, startx works16:37
LPhasthat's a start16:37
GrueMasterCool.16:37
GrueMasterShould be able to get lxde or xfde to install.16:38
LPhaslwm would be enough16:38
LPhasnow i've to get the closed source video driver work16:38
LPhasand get a decent resolution16:39
GrueMasterWhat resolution do you have now?16:39
persiaLPhas, If you like LXDE, try installing lubuntu-desktop: it's a prepared environment based on LXDE for Ubuntu.16:39
GrueMasterThat should be up to the frame buffer.16:40
LPhasswitching to pvr-omap4 have i just to install it and hal handles all the stuff or is there some configuration to alter in xorg?16:49
persiaLPhas, It ought be all autodetected.16:50
LPhasthat's cool16:50
mahmohpersia: init is running 100% and I cannot figure out why, who can I ping to take a look at it?16:52
persiaYou could file a bug.16:57
Davieymahmoh: have you tried killing it? :)16:57
persiaYou could try attaching strace to upstart to see if it tells you anything useful.16:57
persiaDaviey, That just reboots.16:57
mahmohHUP16:57
Davieypersia: incorrect... try killing init.16:57
mahmohyeah, that's the plan but I'm outsourcing it ;)16:57
mahmohDaviey: yeah, but I want to know why first ;)16:58
persiaDaviey, The behaviour changed?  It meant "reboot" for a long time.16:58
LPhasmmh not sure but it seems to have worked16:59
persiaOh, interesting.  It doesn't appear to do anything I can detect (nor log anything anywhere I tend to look)16:59
LPhasstill the resolution is still VGA16:59
LPhaswell, time to go16:59
Davieypersia: i suspect it's one of the upstart changes.16:59
mahmohI could just ask it to dump a trace, hmmm16:59
LPhasthank you guy, you were wonderful, i owe you a beer16:59
LPhassee you16:59
persiaDaviey, I suspect so, as something called "sysvinit" ought behave like a proper System V init :)17:00
Davieylol17:00
ogra_who uses that anyway17:01
persiaogra_, I did, for > 20 years.17:01
ogra_stop living in the past then :)17:03
persiaYeah, well.  I'm learning.17:04
ogra_persia, your merge looks fine apart from the broken changelog17:05
persiaSo, when it takes over an hour for bzr to push 3019 bytes to LP, other folk sometimes push their own branches.17:05
ogra_yeah17:05
persiaI'm not willing to wait another hour to fix that: I can send a patch somewhere *OR* someone else can fix the changelog.17:06
=== txwikinger2 is now known as txwikinger
mahmohpersia: ping, here's one for you, tried getting a kernel crash but no output to the serial for panda - any ideas why or why not?19:50
persiaYou had working serial console right before the crash?19:51
persia(also, best to ask questions generally: even if you think I am likely to answer, someone else may answer sooner, and they might also be more well informed)19:51
mahmohyes, ttyO219:53
mahmohboot info. goes to the console just fine19:53
infinityAre you sure you're experiencing a kernel crash?19:54
infinityHardware lockups != Kernel crashes.  And the former will, for pretty obvious reasons, give you no output.19:55
mahmohmanually caused it to get the stack (or tried to at least), yes19:55
fredimhello, I need to get ubuntu 10.04 preinstalled for beagle19:55
infinityOh.19:55
persiafredim, Such an image was not produced (or if it was, it was a short-lived tech demo image).19:57
persiafredim, Could you use 10.10 or 11.04?  Alternately, would you be able to do an install from a bare rootfs?19:57
persiamahmoh, Hrm.  Dunno.  Check the kernel config: maybe it isn't set to dump to console when it crashes.19:58
fredimpersia, xibo client (http://wiki.xibo.org.uk/wiki/Install_Guide_NET_Client) not suported ubuntu >= 10.1019:58
mahmohpersia: thx19:59
persiafredim, So, I think you're not going to end up with a nice solution.  My memory is that there were still isses with the .NET stack for armel in lucid, plus there don't seem to be images for OMAP3 for lucid.20:00
mahmohCONFIG_CMDLINE="console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootwait mem=1G"20:00
persiaSo, you get a choice between creating your own mess, and hoping it works, potentially with support from xibo, *or* using a newer release which is known to work (11.04 finally had decent .NET support for armel), but that isn't supposed by xibo.20:01
persiamahmoh, Not that config: /proc/config (and no, I don't know which options govern where to dump kcrashdumps)20:02
mahmohit's the same (?)20:04
persiaErr.  Sorry.  /boot/config20:04
persiaWell, that should match /proc/config20:04
mahmohright, they happen to be identical (haven't upgraded since install)20:04
persiaYour entry matches /proc/cmdline20:04
mahmohall the same20:05
infinitypersia: http://cdimage.ubuntu.com/ports/releases/10.04/release/ seems to disagree with you about there having been "no images" (though none were what you'd call "preinstalled", I imagine) for lucid/omap, but your argument about mono not actually working back then probably stands anyway. :P20:05
mahmohttyO220:05
persiaSure.  I'm just saying that I have never heard of someone seeing a kernel crash dump on serial with an Ubuntu kernel, so I'm unsure if the kernel is configured to deliver those.20:05
persiainfinity, Ah, thanks for finding that.  I forgot that we didn't drop the "ports" designation for cdimage until maverick.20:06
mahmohI've seen plenty, but I think it was turned on ... let me go ask20:06
persiafredim, ^^ has desktop and server images for omap.  No idea if the .NET support is good enough for xibo.20:06
persiamahmoh, IF you *usually* get crashdumps, but just not in this case, then I'm inclined to agree with infinity that it's probably a fault rather than a crash20:07
fredimThanks, persia!   I'll see what I can do20:10
persiafredim, Sorry for my confusion.  Thank infinity.20:10
mahmohI think it has to be turned on so we're ok20:19
persiaAh, good.  That behaviour is sane.20:20
persiaHow does one turn it on and off?20:20
mahmoh"dmesg -n 8"  increasing logging which in turn dumps to console, resetting to 4 turns it back off again20:21
mahmohrsalveti: I'm trying the latest (your dev release from yesterday - "U-Boot 2011.06-dirty (Jul 11 2011 - 01:31:39)" on my old board and when I try usb start I get "scanning bus for devices... The request port(2) is not configured" then the board resets and I get X-Loader again (1.5.0 Jun 28 2011) - any ideas?20:29
mahmohdo I have to update the X-Loader?20:29
rsalvetimahmoh: which x-loader are you using?21:45
rsalvetimahmoh: was it working before with the same board?21:46
rsalvetimahmoh: if you grab current x-loader and u-boot-linaro binaries from the packages, it should work same way as before21:46
mahmohrsalveti: I'll update it and try it tomorrow (I'm not near the board right now) but the x-loader must change too?  if so, then that's probably what did it22:13
rsalvetimahmoh: not if you got it working before22:14
mahmohrsalveti: that part I don't know, I'll find out tmw though ;)22:14
rsalvetiGrueMaster: mahmoh: bug 80901522:27
ubot2Launchpad bug 809015 in u-boot-linaro "u-boot lacks unique mac address on Pandaboard while netbooting" [Low,Confirmed] https://launchpad.net/bugs/80901522:27
persiarsalveti, Thanks for getting that logged and assigned.  Does this mean anything in terms of delivery timing expectations?22:28
rsalvetipersia: linaro 11.07, end of this month22:31
persiaWonderful!  Thank you very much.22:32
persiaIs this the super solution for all vendors, or just taking the code from the omap kernel and putting it in u-boot as a stop-gap?22:33
rsalvetipersia: for now we want the same solution for omap 4 as we have at the kernel22:36
rsalvetipersia: to be a stop-gap and having a fully functional u-boot with tftp + pxe22:36
rsalvetithat can be used by the release22:36
persiaHeh, yeah, that makes sense.22:36
rsalvetibut we should also start the discussion for the generic vendor solution, sure22:36
persiaWhat's the best way to start that discussion?  I liked wookey's proposal, but it probably ought be formalised somehow.22:39
rsalvetilinaro boot architecture + u-boot m-l I'd say22:40
persiawookey, Would you be up for summarising your proposal there?  Would you prefer that I try to paraphrase it to start the discussion?22:41
wookeywhich proposal are we talking about?22:45
wookeyI'm having a big fght with mercurial on a server right now22:46
persiawookey, The proposal about what bitfields made sense for pregenerated MAC addresses for deficient hardware.22:50
wookeyah. I see22:53
wookeypersia: feel free to paraphrase - It was just an idea (from some dim memory of doing this on LART circa 2003)22:54
=== npitre_ is now known as npitre
wookeyand DVCS officially does my head in OK?22:54
persiawookey, Heh, OK.  I seem to remember something like 4 bytes for vendor, 2 bytes for board, and the rest based on a detectable identifier on the system.  Does that sound like a roughly accurate paraphrase?22:55
persiaDVCS is best experienced when *someone else* is the server admin :)22:55
wookeyI was thinking PCI ID for vendor - that's only 2 bytes IIRC22:55
wookeyor ethernet ID if you prefer22:56
* persia reads the media access control address specification22:56
wookeyand one byte for board ID ought to be enough22:56
wookeythe whole thing is only 48 bits - 6bytes IIRC22:58
persiaRight.  Three bytes for "Organisationally Unique Identifier", some of which are reserved for special purposes, and 3 bytes for the NIC.22:58
persiaLooking at the spec, I think it's 1 bit for "unicast", 1 bit for "This is a locally administered address", 6 bits for board ID, and 16 bits for vendor ID.  Then 24 bits for the specific device.23:00
persiaDoes that seem wide enough?  Do we expect more than 127 deficient boards from the same vendor in medium time?23:01
persiaErr, 6423:01
persiaOh, nifty.  The IEEE Registration Authority only delivers 12 bits for vendor ID, including the reserved bits, so 10 bits in practice.23:14
=== Lopi is now known as Lopi|idle
mahmohrsalveti: thx! ( persia too )23:59

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