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

sid__hi anybody there05:35
sid__i want to know the exact flow of rootstock script05:36
sid__and its functioning05:36
=== JaMa|Zzzz is now known as JaMa|Gprs
zygagood morning08:05
loolmorning08:07
neurehi08:35
neurehow good is 10.04 on beagleboard?08:35
amitkneure: it works fairly well on the C4 board08:37
DanaGthough, rcn-ee's kernels are better than the official Ubuntu one.08:37
persiaDanaG: Do we know precisely how?  Is this fixable?08:38
DanaGhttps://bugs.launchpad.net/ubuntu/lucid/+source/linux-ti-omap08:39
persiaamitk: Do we have an SRU in progress?08:41
amitkpersia: some of those bugs will be fixed as SRUs, yes08:41
DanaGI'm also interested in this: https://blueprints.launchpad.net/ubuntu/+spec/foundations-m-uefi-support08:41
DanaGthough, it'd be nice to get HP to fix the first-gen elitebooks' broken UEFI.08:42
* persia looks again, having thought all of them were listed as SRU candidates08:42
persiaDanaG: That ought drop in fairly smoothly.  EFI already (mostly) works.  The main issue with UEFI is the CDs.08:42
DanaGMy issue, specifically, is that my firmware seems to claim GraphicsOutputProtocol support... but the framebuffer is at 0x0.08:44
DanaGalso: http://h30499.www3.hp.com/hpeb/?category.id=business-support08:44
persiaAh, that's broken firmware then *)08:44
DanaGer08:44
DanaGfail.... urls are now dead.08:45
hrwmorning08:45
=== XorA|gone is now known as XorA
DanaGNext-gen models are supposedly fixed... but that does me no good. =(08:47
DanaGIt'll be interesting to see uefi + ARM.08:47
neurewell i'd like to know what does not work08:47
neure"fairly well" is rather meaningless08:48
amitkOTG is broken ATM, and DanaG has pointed you to the buglist08:48
neurebugs at launchpad? hmm let me see08:48
neuremy computer is really slow right now though :/08:48
neurewhich package has 7za?09:03
tmztp7zip at one point09:06
ograneure, apt-cache search 7za ;)09:06
neurethx09:07
neure"Everything is Ok"09:12
neurelol09:12
neureso comforting09:12
neureim on my x86 linux now, how do i figure out what device is my memory card reader?09:15
hrwdmesg?09:15
ograor if its formatted it should just automount :)09:16
ogra(once you plug an SD in)09:16
hrwogra: depends on system config - my ubuntus do not automount09:16
ogramine does09:16
ogradefinately in karmic and lucid09:17
ograwith the builtin mmc reader as well as with an external USB one09:17
hrw[161018.255969] sd 8:0:0:0: [sdi] Assuming drive cache: write through09:17
hrw[161018.255973]  sdi: sdi109:17
hrw10:17 hrw@home:~$ mount|grep sdi09:17
hrw10:17 hrw@home:~$09:17
ograwow, file a bug09:18
ogradevkit-disks should definately pick it up09:18
hrwogra: for me it is not a bug but proper behaviour09:18
ograit should only not automount if you added a specific udev rule to omit it09:18
neurehmm mine is sdb09:18
ograby default all block devices are supposed to be automounted09:19
* neure ./setup_sdcard.sh --mmc /dev/sdb --uboot beagle --swap_file 10009:19
hrwneure: I have hdds as sda/b/c, one card reader as sdd/e/f/g, pendrive as sdh and second card reader as sdi09:20
neurei hope i get this Lucid 10.04 Xfce4 to boot on my C2 beagleboard09:20
ografor a C2 make sure to have a proper power supply attached09:21
ograand a powered hub as well09:21
neurecheck, check09:21
ograit has HW issues wrt USB/power09:21
neurekeyboard and mouse is in the powered hub09:21
neurethe mini usb thing, also ethernet is there09:21
neurei wonder if i need any specific boot arguments09:22
hrwno, just boot09:22
ograbeyond that i'd recommend the netinstall image and then install xubuntu-desktop (or xfce )09:22
ograhttps://wiki.ubuntu.com/ARM/Beagle09:22
neurewould that be somehow better?09:22
ograits tested and supported :)09:22
neureok i'll go that instead then09:23
* ogra just closed a bunch of bugs as invalid from people that use their own kernels09:23
hrw10 years ago my desktop had 128MB ram and it was enough for gnome1. today with beagleboard/256MB ram it is hard to fit something09:23
ogra640k is enough for everyone !!09:24
neurewhy is the netinstall image half a gig?)09:24
amitkhrw: that's called progress09:24
ograneure, the netinstall image isnt half a gig09:24
hrwneure: its SD card image09:24
hrwneure: lot of empty space inside09:24
ograneure, dont mix up netinstall with netbook :)09:24
ogranetinstall is about 10MB09:25
neure"Download installation software" Download the ubuntu-10.04-netbook-armel+omap.img image file from ...09:25
hrwamitk: add >logger "autogetty: $GETTY_ARGS"< to /etc/init/autogetty.conf and restart. then tell what was in syslog09:25
neurethat is the first thing on https://wiki.ubuntu.com/ARM/BeagleNetbookInstall09:25
neureand that image is half a gig09:25
ograhttps://wiki.ubuntu.com/ARM/BeagleNetInstall09:25
ograyou are looking at the wrong one09:25
neureoh09:25
ograthe netbook image contains the whole netbook release :)09:26
=== JaMa|Gprs is now known as JaMa
ograwhich gets you what the screenshot at https://wiki.ubuntu.com/ARM/Beagle shows09:26
ogra(only tested on beagle C4 though, not sure it works on a C2)09:27
hrwI got netbook installed on C309:27
hrwnot that I would suggest using it09:27
ogradoes C2 have 256M ?09:27
* ogra thought that was still 12809:27
ogranetbook definately needs 25609:27
ogra(and a lot of swap)09:28
ograhrw, yeah, netbook was mainly thought as a base for the upcoming panda/blaze images in maverick ... probably also good to demo whats possible but surely not for daily use09:29
hrwCx have 256MB09:29
hrwAx/Bx were 128MB09:29
ograright, i wasnt sure if there wasnt some overlap09:29
hrwthere was cpu overlap09:29
hrwB7 got newer silicon09:30
hrwC4 got even newer one09:30
ograah09:30
ogracooloney, so i was trying to build touchbook kernels on my blaze over the weekend ... seems there are still some issues, usually make uImage works fine but in make modules i then get bus errors (or the other way round if i build modules first on the second run when using make uImage i get the same)09:32
amitkogra: I thought the only problem with touchbook was the display resolution?09:32
ograi was using make -j2 so it might be a heat problem or it might trigger the same issue we see with git clone, not sure09:32
ograamitk, nope, there are DSS2 patches (that break all other boards) that arent in our tree09:33
ograi finally found a 2.6.32 tree to build that actually has all patches i need, but now my touchbook seems ot have power issues09:33
ograso i didnt get very far yet but seeing a tty on console09:34
ograsomehow the battery doesnt charge ... i wonder if the power supply has issues with 220v (even though the printed specs disagree)09:34
ograit shuts down after a minute or two09:35
hrwogra: OE 2.6.32 works on TB iirc09:35
ograhrw, i dont use OE, i want a plain kernel tree09:35
ograso i can diff patches against the ubuntu tree09:35
XorAogra: my 4430 SDP hard locks on occasion, but this is the sort of thing we expect with ES1.0 hardware :-D09:35
ograbut anyway the TB patches are to intrusive09:35
ograwe would need a standalone kernel for it i guess09:36
ogra(which i'm fine to provide from people.u.c once i have one that works though)09:36
ogra(as unsupported build indeed :) )09:36
cooloneyogra: what's touchbook kernel? i have no idea about that. -:/09:36
ogracooloney, its just a kernel09:37
ogracooloney, the point is thet the blaze kernel misbehaves when i try to build a kernel with it09:37
ograit either overheats or exposes the same issue we see with git09:37
ograits fine after i reboot the blaze09:37
cooloneyogra: so what's the difference between blaze kernel and touchbook kernel?09:37
ogracooloney, forget about the touchbook kernel09:38
ogramy point is that building soemthing heavyweight on the blaze with -j2 makes it die at some point09:38
ogragcc spills out bus errors after 1-2h of building09:38
cooloneyogra: ok, terrible.09:38
ograwhich are gone after a reboot09:39
cooloneybus errors09:39
ograwe need to talk to nicolas09:39
ograbut its a bank holiday across most of europe today09:39
cooloneyogra: right, maybe they did similar test on blaze09:39
ograso it has to wait until tomorrow09:39
cooloneyogra: ok, understand09:39
ograjust wanted to notify you that there is some issue09:40
ograand a kernel is the heaviest i can build atm ... thats why i took a touchbook kernel09:40
ogra(i didnt like to build OO.o :P )09:40
cooloneyogra: ok, so if ~test6 works on your hardware,09:40
cooloneyi am going to ask merge the kernel as a branch in lucid09:41
ograok09:41
cooloneyand upload it to PPA09:41
ograi'm still running test509:41
ograwhat changed ?09:41
cooloneyoh, i went throught the email from Sebastein09:41
ograah09:41
cooloneyand built-in SysLink driver which will cause linking error before09:41
cooloneyand rebased to omap4 latest kernel from omapzoom09:42
cooloneythey updated some wifi MMC things in their kernel09:42
ograok09:42
cooloneyso mostly are not big change since ~test509:42
cooloneyand ogra, before I upload it to PPA, need i solve the ABI dump and modules list issue in kernel?09:43
ograwell, you discuss some SMP related option there09:43
cooloneyoh, that KGDB,09:43
ograi guess for the first upload you need to disable the abi and module checks09:43
ograamitk will know though09:43
cooloneythey did not implement a function for KGDB in SMP09:44
ogracooloney, since my building fails with -j2 it might be related09:44
cooloneyso we have to disable KGDB in our kernel09:44
ograi havent tried without -j2 though09:44
cooloneyogra: so -j1 works fine in your blaze?09:44
cooloneyok09:44
amitkcooloney: for first upload, just ignore the abi and modules list (see wiki)09:45
ograhavent tried yet, building a kernel with -j1 will take ages :)09:45
cooloneyogra: ok, IC, heh09:45
cooloneyamitk: thx, i failed to find the wiki about that.09:45
cooloneyamitk: where is it?09:45
ogra_whoops09:46
amitkcooloney: see the first few omap uploads in lucid, there is a ignore and modules.ignore file in the  abi dir09:46
ogra_-j2 finishes building uImage in 45min ... i think -j1 will take 3h or more :)09:46
=== ogra_ is now known as ogra
cooloneyamitk: so i just touch those 2 files and upload the kernel source.09:47
ograhmm ?? where does that underscore guy come from09:48
ograweird, i have two xchats running but see only one on the desktop09:48
amitkcooloney: each of those files should contain a single line with '1' in it.09:49
cooloneyamitk: thanks, i understand. so for uploading, the page in our ppa is quite simple.09:50
cooloneyamitk: 'dput <source.changes>' what does that mean?09:50
ogrause the .changes file for uploading with dput09:51
amitkcooloney: https://wiki.ubuntu.com/KernelTeam/KernelMaintenance (seearch for ignore)09:51
amitkcooloney: you have to build the kernel (debuild) and upload the resulting .changes files to PPA09:52
ogracooloney, you need to generate a debian source package (which generates <packagename-version>_source.changes) and then upload the .changes file (it pulls the other bits of the source package with it)09:52
cooloneyah, got it. so how to generate a debian source package for kernel?09:53
ograeither using "dpkg-buildpackage -S -sa" or debuaild -S in the source tree09:54
ogra*debuild09:54
ogramake sure to have your gpg key set up right before doing that, you need to sign the package09:54
cooloneyogra: thx, will try soon09:56
ogra(debuild/dpkg-buildpackage will automatically ask for your passphrase and do everything for you)09:56
cooloneyogra: it is so smart now, much easier in lucid than before09:57
ograbuilding packages ?09:58
ograthat has always been like that :)09:58
ogra(cant speak for the kernel though, not sure that was different before lucid, but i dont think so)09:58
cooloneyogra: need i use root or fackroot?09:59
ografakeroot is ok, but you shouldnt even need that for building a source package09:59
ograerr ... hmm, you might09:59
ogrause fakeroot :)09:59
ogranever use root for building packages10:00
hrwogra: you should like this: http://hrw.pastebin.com/aR3VSxJS10:00
ograhrw, great !10:00
ograhrw, how about dropping all the if/then ? :)10:00
ogra[ -z $BITS ] && BITS=810:01
ograworks the same way and is more readable10:01
hrwI like if/then/fi more10:01
ogra(makes no difference execution wise)10:01
hrwogra: I prefer programing languages then shell ones so if/then/fi10:01
ograhrw, will you put that into initramfs-tools by default ?10:02
* ogra votes for it 10:02
hrwogra: asac did put it in some package already10:02
hrwogra: so ask him10:02
ograoh, /bin/autologinroot wont work in initramfs-tools10:02
ograhrm10:02
ograhrw, i want that function in ubuntu proper too10:03
ograbut /bin/autologinroot will make that impossible10:03
hrwogra: I think that /etc/default/autogetty can solve that10:04
ograyou mean by just checking for a variable ? yeah, that would help10:04
ograasac, where do you plan to put that script ?10:05
ogra(it wasnt uploadedd to maverick apparently)10:06
hrwogra: http://hrw.pastebin.com/LtbQBMa010:06
hrwogra: I think that so far it landed in newcore package10:06
ograright, i'd like to have that function in maverick (and i'd like to use it for 10.07)10:07
ograwhy do you set line 17 ?10:07
ograif AUTOGETTY_ARGS="-n -l /bin/autologinroot" is in /etc/default/autogetty that should be fine10:07
hrwcause I am testing it on system where I do not want to create such one10:07
ograah10:08
ograwell, for having it in maverick it would have to not use autogetty by default10:09
ograso you need the eaxct opposite here :/10:09
hrwogra: or add "START=yes/no" in /etc/default/autogetty10:10
ograright, something like that10:10
ograthough that would even require to have the autogetty binary in the main distro10:10
ograi would propose to just source the default file if it exists, put your stuff into the distro and for your project just have a package that creates the file10:11
ograi.e. an autogetty package that ships binary and /etc/default/autogetty10:11
ograthat way the distro can have serail gettys automatically without using root access on them by default10:12
hrwok, will discuss with asac10:13
ogracool, thanks :)10:13
ograi guess he's off today as well10:13
ograand i'll go enjoying a bit of my free day too now ... back later10:14
hrwnational holiday?10:15
ogra_cmpcyes whit monday10:18
hrwI need to readd US/UK/FR national holidays to calendar10:21
amitkogra_cmpc: curious, .fi has a WhitSunday10:23
ogra_cmpcamitk, we have that too10:24
ogra_cmpcits both days in .de10:24
kblinamitk: what's the point on having sunday off? ;)10:27
hrwkblin: if you work in supermarket then it matters10:28
kblinhrw: not in .de10:28
hrwkblin: but in .pl yes10:28
kblinat least in my state supermarkets aren't allowed to open on sundays10:28
hrwkblin: basically if you work in businnes which is open 7 days a week then sundayOff matters10:29
ogra_cmpcsame here10:29
kblinwhich is funny, given how much more religious the polish people are in general10:29
hrwin Poland supermarkets can be open on sundays and I even like it.10:29
hrwduring week I do not have a time to go and make big shopping10:29
kblinwell, people tried to do that in .de as well, but unions and churches lobbied against it10:30
kblinso if you have a gas station with an attached supermarket you can open on sunday, but if you're a normal supermarket you can't10:31
kblinobviously god likes gas stations ;)10:31
ogra_cmpcheh10:55
* ogra_cmpc just found out why his touchbook batteries didnt charge10:55
ogra_cmpcapparetnly you can only charge it while its running10:55
hrwcommon problem with cheap hardware10:58
amitkogra_cmpc: I'm guessing they have a driver to do charging then?10:59
ogra_cmpcapparently11:00
ogra_cmpci wish the NIC would work :(11:00
XorAquit complaining, at least you have one to play with :-D11:03
hrwok, lets plug some dongles and report bugs against linux-omap-ti11:03
loollinux-ti-omap11:03
hrwright - have it open in browser11:03
hrwtest1: rt257011:03
loologra_cmpc: Yes, on N900 the phone actually boots in a special mode when charging the batteires11:03
ogra_cmpcwell, its supposed to be a rt287911:04
ogra_cmpcerr11:04
ogra_cmpc287011:04
hrwogra: no, I have rt2570 and rt3072 here11:04
ogra_cmpcloading the shipped module in OE doesnt get me a device11:04
hrwah11:04
ogra_cmpcand plugging the device into an x86 system also only gets me errors in dmesg11:05
ogra_cmpci suspect the HW is dead11:05
hrwlet me check11:05
ogra_cmpcplugging in my zd1211rw NIC makes the system shut down ... i guess i need to charge some more hours11:06
hrwok, got same in desktop. shit... it was working11:06
hrw6€ turned to dust11:06
ogra_cmpcsadly OE only ships that single one USB wlan NIC driver :(11:07
hrwwill check under maverick kernel later (on desktop)11:07
ogra_cmpcso even if it wouldnt shut down, my zd1211rw wouldnt work :(11:07
ogra_cmpcwithout network its a pretty useless thing ...11:08
* amitk boots a 2.6.34 maverick kernel on the beagle11:09
* ogra_cmpc is envious11:09
hrwamitk: share11:10
ogra_cmpcwill surely be in the archive soon11:10
hrwcool11:11
hrwrt3072 under lucid/desktop suxx11:11
ogra_cmpcgeez11:13
neureerm11:13
neurei cant get ARM/BeagleNetInstall to work11:13
* ogra_cmpc reads the AI FAQ11:13
neurefatload mmc 0 0x82000000 boot.scr says 227 bytes read11:13
neuresource 0x82000000 says Unknown command 'source'11:13
ogra_cmpc"My batteries does not seem to charge ..."11:14
ogra_cmpc"With a voltmeter, check the voltage of pin 7 of the battery connector"11:14
ogra_cmpcoh my11:14
ogra_cmpcneure, ouch, your u-boot is to old i guess11:14
ogra_cmpcneure, open the boot.scr file in vi on your desktop and type in the lines manually11:14
ogra_cmpcugh11:16
ogra_cmpc"Your wifi dongle may not work. Try to plug it into another USB port an wait a minute: the LED should blink. If not, please reinstall your OS"11:16
amitkhrw: display is broken, dss2 patch was merged only after 2.6.34, cherry-picking now...11:16
ogra_cmpcreinstall your OS, yah11:16
persiaOh my.  That:s not a good recommedation.11:16
ogra_cmpcpersia, the AI FAQ is full of that stuff11:16
ogra_cmpcgrab your voltmeter ... reinstall your OS11:17
persiaRight.  Need to get those folk off email and in here and then everything should work11:17
ogra_cmpchahah11:17
ogra_cmpcThere seems to be something loose in my bottom part11:17
ogra_cmpcYou might have a loose counterweight: you can easily re-glue it by un-mounting your bottom part11:17
neureogra, could you pastebin that http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/omap/netboot/omap/boot.scr somewhere for me?11:18
neurei cant seem to see it properly in windows :/11:18
neurehmm i think i can read this somehow..11:19
ogra_cmpcfatload mmc 0:1 0x80000000 uImage11:20
ogra_cmpcfatload mmc 0:1 0x82000000 uInitrd11:20
ogra_cmpcsetenv bootargs vram=12M omapfb.mode=dvi:1280x720MR-16@6011:20
ogra_cmpcbootm 0x80000000 0x8200000011:20
neurre:/11:21
amitkogra_cmpc: what do you think about a feature in flash-kernel where it can flash to a different area in flash, so that if the new/test kernel is broken, I can stop uboot autobooting and point it to the alternate (old) address for a working kernel11:22
ogra_cmpcamitk, planned for maverick already11:22
* amitk ^5s ogra_cmpc 11:23
ogra_cmpcamitk, since we will provide preinstalled SD images its no prob to keep a uImage.bak in place in the vfat partition11:23
persiaamitk: Mind you, if you implement it first/faster, that's lovely :)11:23
neurrei still cant get keyboard work :/11:23
ogra_cmpcwe wont use NAND in maverick (since most OMAP4 devicdes we'll suppport dont have NAND)11:23
persiaRather, we won't use NAND for any images, or by default.  No reason we can't have support there.11:24
* amitk better figure out why mmc isn't working in the 2.6.34 kernel then :)11:24
persiaIn fact, that makes it significantly easier to do other stuff later.11:24
ogra_cmpcwe wont use NAND at all in flash-kernel with the new images11:24
amitkneurre: are you connected via your usb-hub to the ehci port of beagle?11:26
neureif netinstall fails, what is the next best option11:30
persiaSD install11:30
neureurl?11:30
amitkneure: what reason for the failure?11:32
neureamitk, when i boot the netinstall image on my C2 beagle, usb does not seem to work11:32
neureusb works when i boot to ångström11:32
neurethis is powered usb hub on miniusb11:33
neureso im stuck at the language selection screen in the beginnin11:33
neureamitk, any suggestions?11:35
persianeure: Do you want GTK, Qt, or server?11:35
amitkneurre: is your keyboard connected via your usb-hub to the ehci port of beagle?11:35
neurepersia, i just want X11:35
neureamitk, usb-hub11:35
neurepowered usb hub11:35
amitkneure: where is the usb hub connected?11:35
persianeure: OK.  For SD install, we have two images that have X, one with GTK and one with Qt.11:35
amitkto the ehci port or the smaller otg port?11:35
neureamitk, the smaller usb connector on the board11:36
neuresmaller one11:36
neurethe normal looking usb port has nothing in it11:36
amitkneure: that is broken ATM, see bug list11:36
neureamitk, so, what should i do?11:36
amitkneure: if you can fix it, I'll take patches. Otherwise, you'll have to wait while we fix that bug.11:37
neurepersia, which one has less space wasted?)11:37
neurecan i use preinstalled images?11:37
persianeure: They're about the same size: you can look at manifests at http://releases.ubuntu.com/lucid/ or http://cdimage.ubuntu.com/kubuntu-netbook/ports/releases/lucid/release/11:37
neurei hate those huge borders in ångström enlightenment11:37
ogra_cmpcneure, you should use the netinstall image but using the OTG port wont work, use a powered hub on the big USB port11:38
neurepersia, i was talking about wasted screen pixels :)11:38
persiaThere are no preinstalled images available.11:38
neureah11:38
amitkogra_cmpc: the B2 boards don't have the ehci port populated, I believe. So he is out of luck11:38
neureso if i'd use usb hub on normal usb, it'd work?11:38
persiaI think the Qt interface scales better, but it requires 2D accelleration to be acceptable.  The GTK interface breaks down at less than 1024x600, but works with no accel11:38
neurei have C211:38
neurenot B211:38
ogra_cmpcneure, and a proper power supply on the board itself since the C2/3 have HW issuess otherwise11:38
neurei have proper power supply11:39
ogra_cmpcok11:39
ogra_cmpcthen just plug your powered hub into the big USB port and it should just work11:39
ogra_cmpcthe OTG port is not supported in the lucid kernel as amitk said above11:39
persiaThe port is entirely unsupported, or it fails to work in one or the other mode?11:40
ogra_cmpcentirely unsupported with that kernel version11:41
persiaUgh.  That's awkward.11:41
neurei had to take one usb hub from my computer11:45
neurei had two in a chain11:45
hrwok, I will not fight with ogra or amitk but OTG works in lucid 10.04 kernel on C3 BB11:45
neurethis usb hub is bigger than the beagleboard itself :D11:45
neureit's HUGE11:45
persiahrw: Maybe different chip revs?11:45
neuregreat, now that i moved usb serial thing to new usb port.. it's now COM6 :D11:46
hrwneure: my desktop has 7 serials out-of-box11:46
amitkhrw: Are you sure you run the ubuntu kernel? CONFIG_USB_MUSB_OTG is disabled on it...11:46
neurehrw, my "desktop" is macbook running windows xp with.. 2 usb ports :D11:47
neurenow, i did not get that error11:48
neurelets see if keyboard will work ..11:48
neureyes11:48
neure\o/11:48
hrwamitk: fun... I could swear that I installed on otg11:49
XorAhrw: switch in Angstrom kernel, do install :-D11:49
neurenetinstall proceeds :)11:49
amitklunch-time11:50
hrwXorA: I have ubuntu installed11:50
hrwXorA: 0.22uF capacitor hack helps11:50
hrwamitk: smacznego11:50
XorAhrw: my usb died completely, but I have Lucid on my omap443011:51
amitkhrw: thanks!11:51
XorAwhich is the worlds hugest board11:51
amitkXorA: is that the OMAP4 SDP?11:51
XorAamitk: yes11:52
=== amitk is now known as amitk-afk
XorAamitk: took my rootstocked image and used custom kernel11:52
neureerm11:52
neureit doesnt detect my network :/11:53
neurei get a redscreen during netinstall coz my network is not detected :/11:53
neure:(11:55
ogra_cmpcmight be that we are missing some drivers here11:56
ogra_cmpca) file a bug with the exact description of your NIC so we can fix it in maverick, b) use the server image11:56
neureits some logilink usb 2.0 to fast ethernet thing i have11:57
ogra_cmpc(or the netbook one)11:57
persiaWill the server image help?  I thought it was the same initramfs as the netinstall image.11:57
ogra_cmpcit doesnt neet network :)11:57
neureit was in the beagleboard box11:57
persiaOr do you mean: perform the install without network, get network working, install X.11:57
neureok where do i get server image?11:57
ogra_cmpcnetwork works fine once the kernel is installed11:57
ogra_cmpcthere are issues with the udeb11:58
ogra_cmpcneure, same wikipage11:58
neurei rebooted..11:58
ogra_cmpcneure, note though that you need a usb disk/key to install to11:58
neuregot one11:59
persiaUm, the lucid server image seems to have gone missing, unfortunately :(11:59
ogra_cmpcnetinst is the only one that can diretly install to the SD you booted from11:59
neureso what, there is no server image?11:59
persiaNo.  Just odd URL: http://cdimage.ubuntu.com/ports/releases/lucid/release/11:59
neureso now what?-|11:59
neurethx!11:59
neurewill try that now12:00
* persia was expecting http://cdimage.ubuntu.com/ubuntu-server/ports/releases/lucid/release/12:00
neureerm12:00
neurewhich image?12:00
persiaTexas Instruments OMAP server install image12:00
ogra_cmpchttp://cdimage.ubuntu.com/ports/releases/lucid/release/12:00
neurearmel+omap12:00
ogra_cmpcright12:00
ogra_cmpcnothing odd about that url12:01
neureso once i have that .img.. what do i do with it?12:01
* hrw -> lucnh12:01
ogra_cmpcdd it to the SD card12:01
neuredevice?12:02
ogra_cmpc?12:02
neuredd to /dev/sdb ?12:02
ogra_cmpcif sdb is your sd card, yes12:02
persiaDepends on how your SD is mapped, really.12:02
neureand why would i need usb stick?12:03
ogra_cmpcto install to12:03
ogra_cmpcthe img is an installer image12:03
neureand thats the destination where it will be running?)12:03
ogra_cmpcright12:03
neureso i wont need sdcard after?12:03
neureit well keep booting from the usb key?12:04
ogra_cmpcit will start from NAND and boot the OS from USB, right12:04
neurenot exactly ideal12:04
neureis there any other way?12:04
ogra_cmpconly wiht the netinstall, that will boot from NAND and then be able to run the OS from SD12:05
ogra_cmpcbut you will need a different NIC for it apparetnly12:05
neure:/12:05
neurewould be great to have install from usbkey12:06
ogra_cmpcall will get better in maverick with the preinstalled images :)12:06
ogra_cmpcthey will just run from SD directly12:06
ogra_cmpcso your thrid option would be to wait 6 months *g*12:07
neurethis is AU0025C12:07
persianeure: The main blocker to install-from-USB is the lack of support for it on the hardware.12:07
neurereally?12:08
persianeure: if you want to play, and you have NAND, you can try to put the bootloader in NAND, and then have that boot from USB, but it might be tricky.12:08
ogra_cmpcwell, thats what we currently do post install12:08
persiaYeah, the ROM in the processor on that chip can only load the bootloader from MMC or NAND.12:08
ogra_cmpcbut pre-install you have to rely on the possibilities the HW offers12:08
persiaogra_cmpc: I thought it was still bootloader-on-MMC postinstall: glad to hear it's not.12:08
ogra_cmpcnah, we have kernel and initrd in NAND12:09
ogra_cmpcso we can boot off whatever device we want12:09
persiaWell, no.12:09
ogra_cmpcwe could even do bluetooth NFS12:09
ogra_cmpc:)12:09
persiaWhen you put kernel and initrd in NAND, you mostly boot off NAND.12:09
ogra_cmpcbut your rootfs can live wherever you want12:10
persiaThe location of root is completely arbitrary, but that's mounted post-boot12:10
persiaRight.12:10
ogra_cmpcright12:10
* persia is quibbling about nomenclature and semantics, but likes that NAND is used12:10
ogra_cmpcwell, not anymore after lucid12:10
neurewhere should i file the bug report about the missing driver?12:10
neurehttp://www.itbank.us/Logilink+UA0025C/12:11
neurethats the device i have12:11
ogra_cmpcneure, launchpad against linux-ti-omap12:11
ogra_cmpcmention that its missing in the udeb package12:11
persianeure: Best if you can run `ubuntu-bug linux-ti-omap` from the board, with the nonfunctional device attached.12:11
ogra_cmpchaha12:11
ogra_cmpcwithout network :P12:11
persiaSure.12:11
persiathe way it works is that it prepares a report, and then, if you don't have X, gives instructions for getting that offline and filing the bug.12:12
ogra_cmpcsure12:12
neurewell12:12
ogra_cmpcits easier to do it via the web interface though12:12
neurefirst i would need to INSTALL :)12:12
persiaSo you copy the files containing the report details, and then do something like apport-submit (I forget: instructions for the process are part of the process), which submits the right stuff.12:12
ogra_cmpcfor a simple omission in the udeb at least12:12
persiaBut less complete :)12:13
persiaAnyway.12:13
ogra_cmpcwe only need info about the NIC12:13
ogra_cmpcand we most likely have the module in the std kernel package12:13
ogra_cmpcits just about making sure it ends up in the udeb12:13
neurelsusb in vmware says Bus 001 Device 002: ID 9710:7830 MosChip Semiconductor MCS7830 Ethernet12:14
neureis that sufficient?12:14
ogra_cmpcyeah12:14
ogra_cmpcmoschip only has one driver12:14
neureurl for filing a bug?12:14
ogra_cmpclaunchpad12:14
neureand its not included?12:14
ogra_cmpcit isnt in the udeb package which the installer uses12:15
ogra_cmpcit is the the actual kernel after installation12:15
neurei should first search if it is already registered as a bug?12:16
neurehttps://bugs.launchpad.net/ubuntu/+source/linux-ti-omap/+bug/58492012:22
ubot2Launchpad bug 584920 in linux-ti-omap (Ubuntu) "netinstall fails, it has no network driver for moschip (affects: 1)" [Undecided,New]12:22
neurethere12:22
ogra_cmpcah, great12:25
neuresince this was in the beagleboard box that we bought, i would expect there are other ppl with the same adapter12:26
neureunfortunately it also comes with the12:27
neureotg usb hub :/12:27
ogra_cmpcin maverick everything will be better12:27
ogra_cmpcwe only had three weeks to build the lucid image12:27
neurewell i need this working today :)12:27
ogra_cmpcit will work after install12:28
neurewell i will endup running it from the usb stick :D12:28
ogra_cmpcjust use the server image and it will be fine after installation12:28
ogra_cmpcyeas12:28
neurei just had sdcard bought for me12:28
neurenow i need to tell 'oops i need usb stick too' :D12:29
neurebut hmm12:29
neurei could get even bigger usb stick?)12:29
ogra_cmpcyou can even use a real USB HDD12:29
neurecool12:39
neurelooks like i can actually get a real usb hdd12:40
neureis that possibly more performant than the sdcard?12:40
rcn-eedepending on the usb hdd.. Yes. ;)12:41
=== amitk-afk is now known as amitk
kblinit also won't wear out as fast12:50
neurewell12:51
neureturns out i only got usb stick :/12:51
neurewell, more portable12:51
xorAxAxare there NEON mplayer/ffmpeg packages for ubuntu lucid?12:51
kblinso what I use is an sdcard for the system an put all the bigger data on /data12:52
kblinwhich is, depending on the system either a usb stick, a usb hdd or a cifs network mount12:52
neureah, ok12:55
neureso i can add that later, yeah12:55
neurehalf way downloading network image12:55
neurei mean server image12:55
neurehow does that dd work anyway?13:03
neuremy sdcard is 16gig13:03
neurei can safely dd anything smaller that that to it?13:04
ogra_cmpcyeas13:04
neurejust dd img -of=/dev/sdb or do i need something more?13:11
ogra_cmpcdd if=/path/to/img of=/dev/sdb13:11
ogra_cmpc(with sudo)13:11
neurethis is going to take a while ...13:12
neureonly 10 minutes :)13:22
neureso..13:23
neurehow do i boot from this image?13:23
neuremmcinit - init mmc card13:24
neure** Unable to use mmc 0:1 for fatload **13:24
neuregot ut13:28
neureerm13:30
neurethe installer seems to hang13:30
neure[!] Partition dsiks13:30
neureInstallation medium on /dev/mmcblk0p113:30
neurei dont seem to be able to get past that dialog13:31
ogra_cmpcno, you want to use the usb disk13:31
neureas installation medium?13:31
ogra_cmpcasw target device13:31
neureyeah but i cant get rid of this dialog13:31
neureinstaller gets stuck there13:32
ogra_cmpcit doesnt here13:32
ogra_cmpcyou should just be able to hit enter there13:32
neurewell i do, nothing happens13:32
ogra_cmpcand then get to the partitioner13:32
ogra_cmpcthats before the paritioner ?13:33
ogra_cmpc(before it asks you to select a device for paritioning?)13:33
neureyes13:33
neurebefore13:33
ogra_cmpcstrange13:33
ogra_cmpcand you are sure you have the USB key attached already ?13:34
neureyes13:34
ogra_cmpcit should really just tell you that mmc isnt a valid media to install to13:34
ogra_cmpcthats what happens on mz B3 and C4 at least13:34
Martynmorning13:34
neuredetecting disks...13:35
Martynogra : do you think the 2.6.35 merge window will last as long as Jun 1?13:35
neurestarting up the partitioner13:35
neurethen i get this dialog13:35
neureoh13:35
neurenow it worked13:35
neureon second boot13:35
neurewhat should i select?13:36
neureguided - use entire disc?13:36
ogra_cmpcyeah13:36
neureits 16GB kingston usb stick13:36
neureFailed to create a file system13:37
ogra_cmpcugh13:37
ogra_cmpcMartyn, no idea, ask the kernel team13:37
Martynwhich image is neure using, on which hardware, out of curiosity?13:37
neureThe ext4 file system creation in partition #1 of /dev/sda failed.13:37
amitkMartyn: doubtful, Linus should release the -rc1 this week IMO13:38
neurebeagleboard C213:38
xorAxAxogra_cmpc: can i use the versatile kernel to run the netinstall of the beagle initrd in qemu and then copy the resulting image file to an sd card?13:38
neureimage is ubuntu-10.04-server-armel+omap.img13:38
xorAxAx(because i dont have an usb-ethernet card)13:38
ogra_cmpcxorAxAx, well, you wont have a kernel in the target and your NAND wont be set up right13:38
neureand when i get that red screen, keyboard no longer works13:38
Martynamit : damnit... i need one more week to get the mach-sstone patch ready13:39
ogra_cmpcfor creating a rootfs you can for sure use qemu netinstall13:39
xorAxAxogra_cmpc: can i somehow manually execute those steps?13:39
ogra_cmpcneure, but your hub is powered, right ?13:39
amitkMartyn: you're assuming that the patches will be accepted in the first submission...13:39
neureyes13:39
neureit is powered13:39
Martynamitk : yes, i know13:40
ogra_cmpcxorAxAx, for setting up the nand and kernel ? thats a bit tricky ... but you can look into the source of flash-kernel what it does for the beagle13:40
ogra_cmpcxorAxAx, you should be able to use the netbook or the server image (at least thats properly tested on C3 and C4 beagles, looking at neure the C2 seems to have issues)13:41
ogra_cmpcboth dont need networking13:41
xorAxAxogra_cmpc: but i want to install to the sd card13:42
xorAxAxogra_cmpc: why isnt that possible using the server image?13:42
ogra_cmpcbecause the installer runs from the SD13:42
ogra_cmpcits not capable to install to the media it runs from13:42
neuresilly limitation13:43
ogra_cmpcthe netinst image copies the 10MB installer to ram after booting and doesnt need the SD afterwards ... the server install has all the packages on the SD13:43
ogra_cmpcneure, well, add a gig of ram to your beagle and i can overcome that :P13:43
ogra_cmpcif you have a whole package archive on the SD that needs to live somewhere13:44
neurecouldnt you use usb stick as a temp file system during installation or something like that?13:44
xorAxAxogra_cmpc: can i run the server installer from an usb stick?13:44
ogra_cmpcwe could copy it to ram as the netinst installer does but that would require at least the amount of ram the SD carries as packages13:44
neureand why not usb stick?13:45
neureyou could install the installer to usb first :)13:45
ogra_cmpcxorAxAx, with some tricks you should be able to have the archive on usb, but dont ask me how13:45
=== XorA is now known as XorA|lunch
ogra_cmpcshould be described in the debian installer docs somewhere13:45
ogra_cmpcneure, because beagle cant boot from USb13:46
ogra_cmpcwe had that discussion before13:46
neureogra, it doesnt need to boot from there13:46
ogra_cmpcfor the installer it does13:46
neurereally?13:46
ogra_cmpcthe installer is the initrd13:46
ogra_cmpcin case of debian-installer images (server and netinst)13:47
ogra_cmpcso uImage and initrd need to come from SD13:47
ogra_cmpcat least with this HW13:47
neurebut once loaded they dont need the sdcard13:48
loolhrw: I've renamed the wiki page with the arm-m-cross-compilers spec to CrossCompilers instead of CrossCompilation13:48
loolhrw: https://wiki.ubuntu.com/Specs/M/ARMCrossCompilers13:48
loolhrw: Also, did a large pass on it13:48
loolhrw: Could you have a look?13:48
ogra_cmpcthere are tricks that you can tell d-i to use the archive from a different media13:48
ogra_cmpcbut as i said above you have to look them up in the d-i docs13:48
ogra_cmpcand have to modify the image accordingly13:49
loolhrw: If you're happy with the overall text, I'll add work items13:49
hrwlool: in few minutes I will look13:50
loolhrw: Once thing which we failed discussing is how the runtime libs should be named and packaged, either they could use the dpkg-cross namespace (package name and file locations), or the cross-compiler one; the latter seems safer, but it could confuse dpkg-cross later and means we have two runtime libs (one dpkg-crossed, the other cross-built) which is also confusing13:50
hrwor we move to sysroot and keep all crossarch stuff in sysroot only. maybe will require adaptations in dpkg-cross to follow. and I would follow dpkg-cross naming of packages13:55
hrwbut would be nice to have 'cross/' section maybe for them13:55
neurecross?13:56
neure"no, we do not cross compile"13:56
xorAxAxogra_cmpc: what if i install to a usb storage device which is a sd-card and then later plug the sd card into the beagle, will it still find the root fs?13:57
hrwxorAxAx: UUID is same so it should13:57
xorAxAxok13:57
loolhrw: What does moving to a third location gain us?13:57
loolBesides the location is only half of the problem, the other namespace issue is with package names, dpkg-cross also converts dependencies13:58
hrwlool: location is small problem which can be solved in any way. naming/deps are more important. I think that it depends on how much multiarch ubuntu will be. so far on x86-64 we have ia32-* packages for 32bit compatibility and they are stored in defined places and have own deps. but they are also ugly.14:01
hrwlool: dpkg-cross way gives simple visibility which pacakges are cross ones but require all that converting (which can be also done at build time of packages if we will go that way)14:02
hrwlool: I mean: how to show that libpng12 is x86-64 (host) or armel (cross)...14:02
loolhrw: Multiarch isn't in the picture yet; we know that's what we want in the end, but it's not available right now14:06
loolhrw: ia32-libs is horrible14:06
* ogra_cmpc dances ...14:13
ogra_cmpcfinally got the touchbook booting14:13
hrwand I got auto-serial-console working in a way wanted14:13
loolhrw: Are you happy with the wiki page?14:31
hrwyes, I am14:32
neurenow im trying again with a different usb stick14:47
neurealso fails for another partition :D14:49
neurei mean stick14:50
rsavoyelool: personally, I prefer sysroot too. nice wiki page14:52
ogra_cmpcneure, but it is listed in the partitioner ?14:54
neurefuck14:56
neurei switched to another usb hub14:56
neurenow the usb hub i tried on beagle .. is giving me issues on the pc :D14:57
neurelike, mouse is not working through it :D14:57
ogra_cmpcwell, the C2 definately has USB power issues14:57
neurenow it is14:57
ogra_cmpcsee http://elinux.org/BeagleBoard#EHCI14:58
loolhrw: BTW did you manage to build an emdebian style cross-compiler using the Ubuntu sources?14:58
hrwyes, I did14:58
rsavoyehrw: did you hit the configure problem with libstdc++ and libiberty ?14:59
hrwrsavoye: during build of gcc? nope14:59
rsavoyeno c++ ?14:59
hrwg++-4.4-arm-linux-gnueabi_4.4.3-4ubuntu5_amd64.deb15:00
hrwI built gcc, g++, gfortran, gobcj, gobcj++15:01
rsavoyeusing the code sourcery patches ?15:01
hrwno, ubuntu sources15:02
hrwI plan to recreate it from scratch tomorrow anyway15:03
rsavoyeI'd have to check, mostly I'm just curious as I use FSF sources15:03
neureoh dear15:04
=== robclark is now known as robclark|pb
=== robclark|pb is now known as robclark
loolhrw: Do you have some tasks you feel like you can attack already with the cross-toolchains?15:19
hrwlool: was thinking about dropping dh_movefiles for start and then looking how binary-cross is made15:21
hrwlool: sysroot changes from 4.5 would be nice to have in 4.4 but did not looked at 4.5 yet15:22
loolHmm ok, movefiles was actually assigned to me15:29
hrwok, can skip it15:30
ogra_cmpcmumble15:33
ogra_cmpcso i got a working kernel but the screen shuts off after some minutes15:33
armin76energy saving feature :D15:34
ogra_cmpci wish it would be that easy15:34
amitkogra_cmpc: oops?15:40
ogra_cmpcamitk, yes, but unrelated to the framebuffer15:40
ogra_cmpcarch/arm/mach-omap2/dpll.c:439 omap3_noncore_dpll_set_rate+0x220/0x264()15:41
ogra_cmpcseems it doesnt like that i picked performance as governor at compile time15:41
ogra_cmpcbut its unrelated to the screen15:42
ogra_cmpc(note that is the 2.6.34 touchbook tree i'm trying here)15:42
amitkshould be unrelated to the governor, but a real bug in the dpll code (that could take down the dss on its way down)15:43
ogra_cmpcif i start/restart gdm i see some message about GFX underrun15:44
ogra_cmpcsaldy that doesnt show up in any log15:44
ogra_cmpcaha !15:46
ogra_cmpcthis time it wrote to dmesg15:46
ogra_cmpc[ 3859.026519] omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX15:46
ogra_cmpchmm, and the screen didnt shut down yet i still see my xterm15:47
ogra_cmpcwow and the touchscreen works out of the box15:47
ogra_cmpcso apparently issuing xset dpms force on and restarting gdm made it work15:48
* ogra_cmpc is brave and installs ubuntu-netbook15:49
ogra_cmpci hope the 4G SD card is sufficiant15:49
* robclark|pb finds 4gb a bit small once you install build-essentials and a handful of builddeps..15:51
ogra_cmpcyeah, its only a test setup to get a touchbook image together15:52
ogra_cmpci wont really do work on it15:52
ogra_cmpcbasically i just want a std ubuntu install to work on the touchbook15:52
ogra_cmpcthat SD is supposed to be my reference15:52
persiaogra_cmpc: How much variance do you see?  Do you expect that we could have a single image that worked on that and on the beagles?15:53
ogra_cmpcpersia, not until someone uinfies u-boot15:54
persiaOh, heh.  same problem as always15:54
ogra_cmpcpersia, but the pkan is to provide a script or at least a wikipage to replace MLO and u-boot on the maverick preinstall images we,ll provide15:55
ogra_cmpcsince amitk fights for a unified kernel at least :)15:55
amitkogra_cmpc: having a brain freeze here, what is the program that writes the kernel/initrd to nand on beagle? flash-kernel?15:55
* persia omits a repitition of the the extended whining about the parlourous state of bootloaders15:55
persiaamitk: Yes15:55
ogra_cmpcamitk, in lucid and later its update-initramfs calling flash-kernel15:55
ogra_cmpcbefore it was the kernel posinst via kernel-img.conf15:56
amitkwhat package?15:56
ogra_cmpckernel-img.conf doesnt come from any package afaik15:56
ogra_cmpcits cretaed by the installer15:56
persiaIndeed, it is.15:56
ogra_cmpcthe ac tual work is done by flash-kernel though15:57
amitkno, I meant flash-kernel. I want to find out the commands and addresses you write the kernel to15:57
ogra_cmpcand the flash-kernel-installer.postinst which is used by d-i/ubiquity15:57
ogra_cmpcah15:57
ogra_cmpclook at debian/flash-kernel-installer.postinst in the flash-kernel source then15:58
ogra_cmpcit sets up the adresses etc15:58
* amitk is trying to rescue a broken (test) kernel upgrade15:58
ogra_cmpcow15:58
* ogra_cmpc checks the source15:58
persiaIsn't flash-kernel-installer.postinst basically just a reimplmentation of flash-kernel for use in a udeb?15:59
ogra_cmpcpersia, nope16:00
ogra_cmpcits doing all the setup for flash-kernel16:00
ogra_cmpcamitk, so basically its just writing to the mtdblock device that holds the kernel16:00
ogra_cmpcdd if=/dev/zero of=$kmtd bs=$kmtdsize count=116:01
ogra_cmpccat $tmp.uboot > $kmtd16:01
ogra_cmpc$kmtd is the mtdblock device that is labeled as Kernel in /proc/mtd16:01
ogra_cmpcand $tmp.uboot is the uImage16:01
ogra_cmpcand $mtdsize is the size of the mdtblock device in bytes16:02
ogra_cmpc*$kmtdsize16:03
ogra_cmpcand that part is definately in flash-kernel not the installer16:03
amitkogra_cmpc: and initramfs?16:04
ogra_cmpcsame thing16:04
ogra_cmpcbut its using the "File System" space for the uInitrd16:04
amitkohh, they probably use offset16:05
ogra_cmpcusing a fixed size of 16777216 bytes16:05
ogra_cmpc(for zeroing it)16:05
amitkogra_cmpc: What is "File system" space?16:05
ogra_cmpccat /proc/mtd16:06
ogra_cmpctry that16:06
ogra_cmpcyou should get u-boot, u-boot config, kernel and file system16:07
ogra_cmpcthe device labeled filesystem is the one we use for initrd16:07
amitkogra_cmpc: I'm at uboot prompt, transferred over a kernel using ymodem. Now hoping to flash that to nand16:08
ogra_cmpcoh16:08
ogra_cmpcno idea16:08
ogra_cmpci always do it from a running system16:08
ogra_cmpci guess i have to refer you to the beagle wiki16:08
amitkcould I do it from initramfs? (I don't think so)16:08
ogra_cmpcyou should be able to16:09
ogra_cmpcas soon as the /dev/mtdblock* nodes exost16:09
ogra_cmpcexists16:09
armin76ssvb: cosmicparrot :D16:09
hrwdid someone built maverick's gcc-4.4 for armel? ports.ubuntu.com has it but no libstdc++ package16:11
ogra_cmpci think doko uploaded it, yes16:11
ogra_cmpcshould be named libstdc++6 though16:12
hrwyes, but there is -dbg, -pic, -dev but no lib16:12
hrwanyway I will rebuild it here16:13
amitkogra_cmpc: the problem is that the test kernel broke mmc :-/16:13
persiahrw: Check the build log: maybe something fixable went wrong.16:13
hrwk16:13
ogra_cmpcamitk, ouch, you could x/yload kernel and initramfs and boot from ram though16:14
ogra_cmpchrw, http://ports.ubuntu.com/pool/main/g/gcc-4.4/libstdc++6-4.4-dev_4.4.4-2ubuntu2_armel.deb16:15
ogra_cmpcbuilt may 1916:15
hrwfacepalm...16:15
ogra_cmpchmm, only -dev though16:16
ogra_cmpcand -pic16:16
hrw~curse apt-cross16:17
ogra_cmpcthere is no non-pic version16:17
hrwexactly16:21
ogra_cmpcwell, as persia said and also ask doko16:21
hrwyep16:21
xorAxAxanybody knows what i need to pass on the kernel param line to get omapfb run on s-video out?16:22
ojnxorAxAx: Check on #beagle or #linux-omap?16:23
loolhrw: the runtime libs are built from gcc-4.5 in maverick16:24
hrwthx16:25
loolhttps://launchpad.net/ubuntu/+source/gcc-4.5/4.5.0-3ubuntu1 has links to the .debs16:26
ogra_cmpcnow /me facepalms :P16:26
loolhrw: I added work items to https://blueprints.edge.launchpad.net/ubuntu-arm/+spec/arm-m-cross-compilers the dh_movefiles action was originally assigned to me, but I don't mind if you pick it up16:34
amitkhrw: ogra: 2.6.34-based omap3 kernel - display and usb works, nand driver broken, but xubuntu works fine. Find it here -> http://people.canonical.com/~amitk/ti/16:35
hrwlool: tomorrow I will rebuild toolchain with maverick sources and then start from movefiles16:36
amitkit looks "good enough" to start the maverick cycle, IMHO16:36
hrwamitk: fetching16:37
ogra_cmpcamitk, thats beagle only ? or did you add any other nofty HW support16:50
ogra_cmpc*nifty16:50
amitkogra_cmpc: nothing notably new, except for OTG support (I have no HW to test though). Once this is verified on beagles, we can start playing with more features.16:51
=== rsalveti_ is now known as rsalveti
hrwamitk: during UDS persia was giving otg host cables16:51
loolJamieBennett: It seems one can retarget blueprints to a different project16:52
loolJamieBennett: I wonder whether it would make sense to move the bps back to /ubuntu16:52
loolIt would give us all the regular milestones16:52
* persia suspects this would make it easier to collaborate effectively16:52
* hrw -> off16:58
hrwhave a nice rest of day16:58
=== hrw is now known as hrw|gone
=== XorA|lunch is now known as XorA
JamieBennettlool: That is possible, I'm not completely convinced its the right option though17:10
DanaG1hmm, is a headless box supposed to automount usb drives?17:22
DanaG1ah, usbmount just didn't use ntfs.17:23
persiaJamieBennett: What would it take to convince you?17:30
DanaG1http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321694#1717:32
ubot2Debian bug 321694 in usbmount "usbmount: use vendor/model in mountpoints" [Wishlist,Open]17:32
persiaDanaG1: I'm really tempted to mark that Won'tFix, for several reasons.  Firstly, I have several devices with the *same* vendor/modle that I use simultaneously.  Secondly, I have other devices with nice names I want to keep.  Thirdly, I think most users would be confused.17:43
persiaPlease rebut, and I'll delay doing that :)17:43
=== amitk is now known as amitk-afk
* zyga enjoys evening working spree :-)17:47
loolJamieBennett: Do you have some time for a call?17:48
=== XorA is now known as XorA|gone
NCommanderndec: you around?18:41
=== sumitsemwal is now known as sumitsemwal|home
=== amitk-afk is now known as amitk
loolNCommander: national holiday today19:27
NCommanderlool: d'oh :-/19:28
ogra_cmpcNCommander, so i dont undrestand what your issues with genext2fs are, it works fine for me on the babbage and rolls a netbook image in ~30min19:43
NCommanderogra_cmpc: when I tried it, it ate more and more RAM until it eventually OOMed. If it works for you, then I'll leave the code be :-)19:51
ogra_cmpcwell, you have a weird way of computing the size, it might get confused because you allocate more than actually needed19:52
ogra_cmpcthe -b parameter should take exactly the size of the chroot contents19:53
ogra_cmpcthe tool will allocate enough to add a journal later19:53
ogra_cmpcalso there is no need to add 10MB spare space, we wont need them19:54
ogra_cmpcthe partition will be resized before the first boot anyway19:55
ogra_cmpci agreed that genext2fs isnt actually a beauty with its habit to allocate the full image size in ram before writing to it, but we have 30G swap on the builder so no worries19:56
ogra_cmpc*agree19:56
* ogra_cmpc goes back to slurp cool Cidre and watch TV19:58
persiaSo, the reason the magic 10M exists is to contain pool/20:06
persiaIf debian-cd isn't going to insert that later, it's not needed, but...20:07
NCommanderogra_cmpc: tune2fs fails if there's no free space20:07
NCommanderogra_cmpc: feel free to improve the code, its free software afterall :-)20:07
* NCommander runs20:07
* persia lassos the running target20:08
persiaNCommander: So, where does pool/ end up living with this new order?20:08
NCommanderpersia: what pool?20:09
persiaThe set of stuff that some folk need to be able to connect to the network to get other stuff.20:09
NCommanderIf we need a pool, then we need to expend toe spec20:09
persiaWe need a pool.20:09
persiaI thought that it was going to prepopulate /var/cache/apt/... somehow, but there are other ways to make it work.20:09
NCommanderpersia: this is a corner case IMHO.20:10
persiaIt's really not.20:10
NCommanderpersia: this image is for demostration purposes only20:10
NCommanderdo we *really* need a pool?20:10
persiaThree of the last four machines I've installed needed pool/20:10
NCommanderwhat did you need from the pool?20:10
persiaDrivers for network20:10
persiaDrivers for video20:10
NCommanderpersia: drivers for the network are included on OMAP4 in kernel20:10
persiaYou sure?20:11
NCommandervideo can be downloaded from a PPA20:11
NCommanderpersia: its supposed to work20:11
persiaSo, what kind of network drivers are in the kernel?20:11
persiaDo they work for my odd network environment?20:11
persiaWhat about with my 3G dongle?20:11
NCommanderpersia: we don't have a USB port on blaze20:11
NCommanderThat kinda limits what drivers are needed :-)20:12
persiaAnd there's onboard network of some sort?20:12
persiaAnd this will remain true for other devices that would use this class of image?20:12
NCommanderpersia: can't speak for hardware I don't have20:12
ogra_cmpcpersia, why would you want /pool on an installed system ?20:14
ogra_cmpcNCommander, tune2fs works for me without leaving a gap in the image20:14
persiaogra_cmpc: I don't.  I want to be able to get to the network to install other stuff.20:14
ogra_cmpcpersia, right, and even if we would ship a pool dir it wouldnt be inside the rootfs20:15
NCommanderpersia: we'll provide drivers for the machines the image is supposed that will make the onboard stuff work20:15
* persia has had all sorts of devices, the most obscure network requirement was PPP-over-ISDN-on-CF card, which caused no end of annoyance to StevenK when trying not to have pool/ for MID20:15
NCommanderpersia: ...... my eyes just bled from that sentence20:15
ogra_cmpcpool is pointless for that kind of image20:16
persiaI'm against the very concept of designing software to build images that can only be used for a single device.20:16
NCommanderpersia: why can't we pre-install this stuff? (or is it in restricted)20:16
persiaI've no issues with designing software that ends up being used to generate an image that can only be used for a single device.20:16
persiaNotice the different.20:16
ogra_cmpcbut thats what we'll do, feel free to come up with a better concept20:16
persiaErr, Difference.20:16
persiaogra_cmpc: As I suggested last week, we could prepopulate /var/cache/apt/ archives with some stuff.20:17
ogra_cmpcindeed20:17
ogra_cmpcbut with what ? all thats intresting cant be shipped anyway20:17
NCommanderpersia: why don't we just preinstall it now?20:17
ogra_cmpci.e. the 3D drivers20:17
persiaBut we really should include the debs from the ship seed *somewhere*.  This may happen to be the empty set for some specific image, but that's coincidence.20:17
persiaPPPoE is a good example of software most folks don't need and some cannot live without.20:18
NCommanderpersia: at risk of stupid question, why can't we pre-install it then?20:18
ogra_cmpcif you can tell a good reason to have the ship seed for anything i'm happy to prepopulate /var/cache/apt20:18
persiaNCommander: Because it's useless for most folks.20:18
NCommanderpersia: we ship IPv6 stuff out of the box, that's useless for more folks than PPPoE :-P20:19
ogra_cmpcthe only reason i see for ship is to have the closed stuff available20:19
* NCommander agrees with ogra_cmpc 20:19
persiaogra_cmpc: Because some use cases for some devices require it.  Like I said, I don't care if you make an image where it's empty, but please make sure the facility is there to use the ship seed to populate *somewhere* on the result image for folks/devices/environments that do require it.20:19
ogra_cmpcin which case neither preinstallinf nor perpopulating the cache will work20:19
persiaIt's not about open/closed.  it's about stuff that most folk don't want and others need.20:20
persiaIs there an open SD slot?20:20
ogra_cmpcno20:20
ogra_cmpcelse we could use an installer20:20
persiaNo USB, no SD.  Anything?20:20
persiaAny expansion of any sort?20:20
ogra_cmpcwe will have devices that only come with a single SD slot and nothing else20:21
persiaNo USB?20:21
persiaNo expansion port?20:21
NCommanderpersia: nothing usable out of the box without a custom kernel20:21
persiaNothing?20:21
persiaNCommander: Why not?20:21
NCommanderpersia: you'd have to remove the UART gadget and replace it with something else as far as I can tell20:21
NCommanderand I'm not even sure if that's possible20:21
persiaOh, it has a serial port?20:21
NCommanderpersia: it has a mini-USB port, and a micro-USB port20:21
NCommandermy Blaze won't boot if I have anything in the micro port20:22
persiaThat's USB.  I can attach all sorts of things to that.20:22
ogra_cmpcwell, the blaze has eMMC20:22
persiaAnd I might need to have my 3G dongle attached to be able to download updated software.20:22
ogra_cmpcand could boot from it20:22
NCommanderpersia: mini-USB is OTG, and stuck in Host mode out of the box20:22
persiaHost mode means I can attach a dongle.20:22
ogra_cmpcthats a matter of dip switches20:22
NCommanderogra_cmpc: I thought it was panada that had eMMC, not Blaze, or do i have it backwards.20:22
* NCommander probably has it backwards20:22
ogra_cmpcboth do20:22
NCommanderoh20:23
ogra_cmpcjust have a look :)20:23
NCommanderogra_cmpc: ... then why can't we have an installer to the eMMC?20:23
* persia didn't think panda specs were available yet, and wants a URL20:23
ogra_cmpcyou have mmcblk0 and 120:23
ogra_cmpcNCommander, because panda and blaze arent the only devices20:23
persiaSo, anyway, regardless of what's in the device, at least someone is going to have an awkward use case.20:24
persiaAnd that person is going to need the stuff that usually goes in pool/20:24
persiaSo that stuff belongs somewhere in the image.20:24
ogra_cmpcerm, i'm wrong20:24
ogra_cmpcpanda wont have eMMC20:24
ogra_cmpcpersia, make a list of poackages that need to be in pool and dont need a pre-download EULA agreement and i'll happily add them to the cache20:26
persiaUse the content of the ship seed.20:26
persiaSame as for any other sort of image.20:26
DanaG1hmm, how do I get usb hard drives to automount, by-label, on a headless box?20:27
prpplagueogra_cmpc: the eMMC is available for expansion, so you could have a secondary mmc card, or use eMMC20:28
DanaG1usbmount doesn't work for me... I need persistent labels.20:28
persiaDanaG1: Watch for udev events, and do something with them :)20:28
ogra_cmpcpersia, so looking at the lucid netbook ship seed i dont see a single package i would ship20:29
DanaG1Unfortunately, udev alone doesn't seem to expose the label.20:30
DanaG1 udevadm info --query=all -a -p $(udevadm info -q path -n /dev/sda2)20:31
persiaDanaG1: Your program would respond to udev, then perform operations on the device to do things like get the label, then mount it.20:31
* persia looks at the maverick netbook seed20:31
DanaG1If I can run gnome-volume-manager (or an equivalent) in xpra, that'd work, too.20:31
ogra_cmpcDanaG1, just create a custom rule20:32
ogra_cmpc/etc/udev/rules.d/README has info20:32
DanaG1I found one here that tries to use an ENV that doesn't exist as an ATTR.20:33
persiaogra_cmpc: So, based on http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/netbook.maverick/annotate/head:/ship-live I'd include pptp-linux, sl-modem-daemon, bpalogin, libatm1, setserial, b43-fwcutter, bcmwl-kernel-source,20:33
* DanaG1 digs up link...20:33
persiaExtra langpacks are nice, but it's the network stuff that7s critical.20:33
DanaG1http://superuser.com/questions/53978/ubuntu-automatically-mount-external-drives-to-media-label-on-boot-without-a-us20:33
ogra_cmpcwe wont ship any langpacks20:34
DanaG1there's a udev rule... but it doesn't work.20:34
ogra_cmpcoem-config will install them if network is available20:34
ogra_cmpcif not, the image will stay english20:34
persiaogra_cmpc: Fine, but the network stuff is critical.20:35
persiaLots of folks have broadcomm.  Lots of folks still use modems.  Lots of folks need pptp auth to get out of the local net.20:35
ogra_cmpcwhat does b43-fwcutter gain you without the firmware ?20:36
persiaI don't know.  I just know that if I do a fresh install on a machine, and install b43-fwcutter and bcmwl-kernel-source I get a working network,.20:37
ogra_cmpcyou dont20:37
persiaI do.  I did it on the 11th of May.20:37
ogra_cmpcyou need trird party frimware files20:37
persiaI really didn't.20:38
ogra_cmpcthats what b43-fwcutter does20:38
ogra_cmpcthen you only need the source file20:38
ogra_cmpcb43-fwcutter extracts windows firmware files20:38
persiaOK.  Maybe I have a windows driver CD that came with my dongle.20:39
ogra_cmpcfine then put the CD in your pandaboard :P20:39
persiaNo problem.  I have USB DVD drives around.20:40
* persia should really get a new one, as the one that uses PS/2 power is mostly obsolete, and the other one requires *two* USB ports20:40
ogra_cmpcmy point is that you have used another computer to download your image and ot write the SD, why cant you just copy debs with that computer on the SD ?20:41
persiaBecause there's no space in the filesystem20:41
ogra_cmpc??20:41
ogra_cmpcthe filesystem is as big as the card20:41
DanaG1weird.... ata_id and scsi_id are both returning empty strings!20:41
persiaI'd have to do the install, and then post-install monkey with the SD card, and then install more stuff, etc.20:41
ogra_cmpcright20:42
persiaogra_cmpc: Not at the time I dd it.  Only post-install.20:42
persiaSo, that's an unpleasant experience.20:42
ogra_cmpcalternatively you have to bastardize livecd-rootfs to install ship inside the image20:42
persiaPlus it fails the case where I get passed an already burned SD card somewhere from some guy in an overcoat20:42
ogra_cmpcpathces accepted if the cdimage team accepts them20:42
persia(yes, this happens: I have been on both sides of such an SD exchange)20:42
persiaOK,  As a rep of the CD image team, do you expect them to be accepted?20:43
ogra_cmpcno idea, depends on the code :)20:43
persiaNCommander: Please present ogra with code to review :)20:43
ogra_cmpcpfft20:44
ogra_cmpcthats lame20:44
ogra_cmpcNCommander has enough work with debian-cd atm20:44
persiaWell, I guess.  I'm just not expecting to get to it for 3-4 weeks, and that's probably late to jam it in.20:44
persiaVery true.20:44
ogra_cmpcjust do it if you have time20:45
ogra_cmpci'm happy to review it20:45
ogra_cmpcand to merge it too20:45
persiaOK, consider my protest registerd.  I'll send a patch when I can.  Otherwise, I'll complain about it for next time.20:45
ogra_cmpcnext time livecd-rootfs wont exist anymore20:45
persiaWhat?  Why not?20:46
persiaOr is it being reimplemented differently?20:46
ogra_cmpcd-cd and l-r are being dropped20:47
persiaIn favour of?20:47
ogra_cmpcapparently someone decided to switch everything to luvehelper20:47
ogra_cmpc*live20:47
persiaEverything?20:47
* persia clearly needs to read more of the specs20:47
ogra_cmpci havent seen a spec20:47
ogra_cmpcit was a m+1 decision apparently20:48
ogra_cmpccody told me at the corridor20:48
ogra_cmpcat UDS20:48
persiaI'm reluctant to believe that level of infrastructure migration would happen wholesale without a spec.20:48
ogra_cmpcm+1 qill likely have a spec then20:48
ogra_cmpcwill20:48
persiaBut anyway, I'll send you a patch in July, *OR* I'll make sure there is a pool/ equivalent on produced images in m+1 (regardless of the underlying technologies.)20:49
ogra_cmpcpool/ wont happen, cache prepopulation can though20:51
persiaOh, of course.20:51
ogra_cmpchmm20:51
persiaI'm not fussed about the name, so long as users can end up with a working system post-install without needing to mount the storage on *another* device.20:52
ogra_cmpcpool/ might if we pick to ship with a huge vfat20:52
ogra_cmpcthough my plan waws to make that hidden actually20:52
persiahuge vfat?  Why?20:52
persiaBut yeah, pool/ on vfat is fine, and can be wiped if the user doesn't need it.20:53
ogra_cmpcbecause we boot from that vfat20:53
persiaIf it's just a boot vfat, it ought be small, I think.20:53
ogra_cmpcso the boot partition would be bigger but carry pool/20:53
ogra_cmpcindeed that makes the plan to make it a hidden partition tricky20:53
persiaI don't like that.  I'd rather prepopulate the cache.20:53
ogra_cmpcok, fine as well20:53
persiaI don't think you want to hide the partition.20:53
persiaFor the EFI/GPT case, the FAT partition is unhidden, which people seem to like.20:54
ogra_cmpci want to hide the partition20:54
ogra_cmpcelse it gets mounted20:54
DanaG1persia: you can hack up a ps/2 to usb-power-only cable.20:54
DanaG1or rather, the other way around.20:54
ogra_cmpcthat fat partition is our replacement for the NAND and will be handled similar20:55
persiaDanaG1: both ways, actually, but I've seen new devices that have an onboard capacitor to handle spinup with only a 5V/500mA draw.20:56
DanaG1ah yeah, usb->ps/2->usb.20:56
persiaogra_cmpc: Doesn't have to mount.  The FAT partition for EFI/GPT doesn't get mounted.20:56
DanaG1Suck power from it, while passing it right back to USB protocol.20:56
ogra_cmpcpersia, it shows up in nautilus20:56
persiaogra_cmpc: Not on a new macbook.20:56
ogra_cmpci dont want people to be able to muck about with it20:56
* ogra_cmpc didnt know there will be panda based macbooks :P20:57
DanaG1http://www.cablesdirect.com/prodimages/USB-PS2F_LR.jpg20:57
ogra_cmpcTI will be happy to hear that :D20:57
DanaG1I wish my UEFI weren't broken. =(20:57
persiaogra_cmpc: The point isn't panda-macbooks.  The point is that we have technology that causes special bootloader partitions not to be mounted by nautilus.20:57
ogra_cmpcright20:58
persiaSo we ought use that to do this, rather than fiddling with hidden partitions.20:58
ogra_cmpcwe also have udev rules that hide such partitions completely20:58
persiaRight.20:58
DanaG1HP_TOOLS is another example.20:58
persiaWhich is the right way to do it, not with the hidden flag in the parition table.20:58
DanaG1HP boots in CSM mode, but has their EFI partition for stuff like QuickLook.20:58
ogra_cmpci didnt talk about flags20:58
persiaOh, then I've misunderstood you.  Please forget I said anything :)20:59
ogra_cmpcbut i want it completely hidden so users dont fiddle manually with the contents and instead use the provided tools20:59
persiaYou can't do completely hidden.20:59
ogra_cmpcyou can through udev20:59
persiaClosest is with partition table flags (which I'll argue against)20:59
persiaNo, you can't.20:59
persiaAll udev does is not provide a /dev/ link, at best.21:00
ogra_cmpcthe system wont see it21:00
DanaG1Isn't there something like UML that'll let different apps see different file systems?21:00
persiaDanaG1: Yes.21:01
DanaG1sudo scsiadd -p21:01
DanaG1scsiadd:scsidump():could not open /proc/scsi/scsi (r): No such file or directory21:01
DanaG1argh... for some reason, that udev rule doesn't work.21:01
persiaogra_cmpc: You really don't need to go to that extent.  Look up how the EFI/GPT case is handled for Intel Macs.  That7s well-tested code.21:01
DanaG1It acts as if ENV{ID_FS_LABEL_ENC} does not exist.21:01
DanaG1Intel Macs are weird... they don't use protective MBR.21:01
persiaWell, kinda.21:02
DanaG1I wish Apple would recommend using EFI-installed Windows instead of CSM-installed Windows.21:02
persiathey leave space for it, but don't pay any attention to it.21:02
ogra_cmpci just plan to add it to /lib/udev/rules.d/80-udisks.rules at the bottom21:03
* ogra_cmpc needs to go now21:03
DanaG1ah, fixed the udev rule.21:30
DanaG1had to change SUBSYSTEM=usb to SUBSYSTEM=block21:30
DanaG1and rename a file I had mis-named.21:30
* NCommander is dealing with some really sucky internet in his test builds :-/22:25

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