/srv/irclogs.ubuntu.com/2012/11/14/#ubuntu-arm.txt

=== zz_chihchun is now known as chihchun
=== nashpa_ is now known as nashpa
dholbachgood morning07:58
[mbm]yep.07:59
hrw[A08:16
hrwmorning08:16
angsI have "Linux ubuntu 2 3.2.0-23-omap #36-Ubuntu Tue Apr 10 20:24:21 UTC 2012 armv7l armv7l armv7l GNU/Linux",  I am following the instruction here http://ubuntuforums.org/showthread.php?t=263136 and I am typing the wpa_supplicant command and get this output http://paste.ubuntu.com/1357684/10:52
angsdoes anyone know that if I should anything to use wpa_supplicant on my board?10:52
angs*I should download anything10:53
brendandangs, well apt-get install wpasupplicant11:09
angsbrendand: thanks, I was trying wpa_supplicant to install it:)11:10
ogra-cb_angs, seriously, thats nearly 7 years old ...11:17
ogra-cb_angs, http://wiki.debian.org/WiFi/HowToUse#WPA-PSK_and_WPA2-PSK11:17
ogra-cb_use that one, wpa got lors easier over the years11:17
ogra-cb_*lots11:17
angsogra-cb: I have been using linux for 5 months, thank you for the documentation :)11:18
=== chihchun is now known as zz_chihchun
=== XorA|gone is now known as XorA
orikWho woulda thought dist-upgrade would have been a bad idea on my chromebook ;_;12:02
ogra-cb_it isnt on mine12:03
* ogra-cb_ runs raring happily over here 12:03
=== ogra-cb_ is now known as ogra-cb
hrwmy chromebook is fine with raring12:05
orikhow did you guys get to raring?12:05
hrworik: I did precise -> raring in one run12:05
ogra-cbi used the proper upgrade methid via do-release-upgrade though12:05
orikahhhh12:05
hrwapt-get update;apt-get dist-upgrade for me12:05
ogra-cbthats what i did for quantal to raring12:05
orikI was doing upgrade-manager -d12:06
orikand I was going to stop at 12.10 inbetween12:06
ogra-cbprecise quantal i did via do-release-upgrade12:06
orikbut never booted after 12.1012:06
ogra-cbyeah, update-manager is the same as do-release-upgrade12:06
orikI want to modify Jay Lee's script to use my own tarball but I can't find the rootfs I want >.<12:06
ogra-cboh, i know what it is, you need to disable the plymouth jobs in /etc/init/12:07
orikhrw: will that take me straight to 13.04? I'm going to try again here shortly12:07
ogra-cbreboot into chromes developer mode, mount the ubuntu partition and put .override files in place for all plymouth jobs you find in /etc/init/12:07
ogra-cbthe console=none option the bootloader sets makes plymouth hardlock the device on boot12:08
* ogra-cb just remembered he had to do that12:08
orikogra-cb; man I wish I understood half of what you just said12:09
orikso I boot in dev mode, go to chrosh and then into shell, mount the ubuntu partition, and then I do *something* to *somefiles* in /etc/init/12:10
ogra-cbecho manual|sudo tee -a /etc/init/plymouth.override12:10
ogra-cbthats what you need to do12:10
orikman that makes me wish I hadn't already blown ubuntu off this thing xD12:11
ogra-cbor just echo "manual" >/ubuntu-mountpoint/etc/init/plymouth.override12:11
ogra-cbnot sure if you are actually root in the chros shell12:11
orikyou can always also just press ctrl-alt-f2 to get into shell12:12
ogra-cbdo the same for every file you find in /ubuntu-mountpint/etc/init/ whith plymouth in their name12:12
orikI'm glad this channel is logged so I can check back later xD12:13
hrwogra-cb: thx12:13
hrwogra-cb: you know that you can change kernel cmdline too?12:13
ogra-cbhrw, console_none is set by the bootloader12:13
ogra-cb*console=none12:13
hrwogra-cb: and then 'console=tty1' by kernel12:14
hrwI have kernel messages on my chromebook12:14
ogra-cberr, its actually console=12:14
ogra-cbright, plymouth picks the first console- option though12:14
ogra-cband cant haldle an empty value for it12:14
ogra-cbthe kernel is fine here, its plymouths fault trying to attach to a non existing tty12:15
ogra-cbwhich actually locks yous device hard12:15
ogra-cb*your12:16
orikhrw; did you have to go through this or did you have another work around?12:17
orikor is this issue have to do with trying to boot 12.1012:19
hrwI think I had to handle plymouth in some way12:19
ogra-cbogra@chromebook:~/packages$ ls /etc/init/*.override12:21
ogra-cb/etc/init/plymouth-log.override  /etc/init/plymouth-splash.override  /etc/init/plymouth-stop.override  /etc/init/plymouth-upstart-bridge.override  /etc/init/plymouth.override12:21
orik:D thank's for putting up with me guys12:22
oriklater down the road I'm going to play around with the Chrubuntu script and have it put on a debian root fs or something12:25
orikI'll be back on in ~2 hours on 12.04 and 2 hours later on 13.0412:25
* ogra-cb hopes you mean 12.1012:26
ogra-cb;)12:26
orikcan I not apt-get update, dist-upgrade to 13.0?12:27
orikor just update-manager -d twice?12:27
orik13.04*12:27
ogra-cbupdate-manager didnt know about 13.04 last week when i tried it12:36
ogra-cband you shouldnt skip releases on upgrading12:36
ogra-cbwe dont test that, it could break heavily12:36
orikalright12:39
oriksounds good12:39
orikso, I'm writing out the steps I'm going to take before I disconnect here12:40
orikwhat's the syntax for the tee command?12:41
orikthe only examples I find have to do with the output of another command12:41
orikso, if I wanted to rename /dev/mmcblk0/etc/init/plymouth as /dev/mmcblk0/etc/init/plymouth.overide12:42
orikwould mv work?12:43
oriktime to go break things; thansk for the help again12:47
orikhrw pulled off precise to raring so I'll try it, and if I break things too bad I can try again slower12:47
orikso hrw; is xserver 13 going to run at all before I patch my driver after i update to 13.04?14:25
hrworik: you compiled chromium armsoc driver under precise?14:36
oriknot yet; let me look into that14:37
orikI just finished testing glmark214:37
orikgot a 5!14:37
hrw112 iirc was my result from glmark2-es214:39
orikI'm grabbing es2 and running it again, I want a good before and after picture14:40
orikare there any large performance increases from 12.04 to 13.04 on ARM bases systems? I figured there would be with the push to get the Nexus 7 running14:43
orikbut if I can just patch this driver in 12.04 I might leave it at that14:43
ogra-cb13.04 is still very young14:44
ogra-cbthe release will surely see a lot of preformance improvements14:44
orikI like to romantacize myself as a "Bleeding Edge" sorta guy but deep down I'm not14:44
orikthrough glmark2-es2 I got 414:45
ogra-cbwell, with 13.04 ubuntu follows a new dev model that should result in a lot less breakage during development releases14:45
ogra-cbso it shouldnt be to harmfule to live on the edge anymore14:45
orikthats good to hear14:46
ogra-cbbtw, jut mv'ing the upstart jobs wont help14:46
ogra-cbthe .override file needs to only contain one line: manual14:46
orikOh14:46
orikso the... whatever it is14:47
oriklooks for plymouth14:47
ogra-cb.override tells upstart "use this file instead of the job"14:47
orikgoes Hey, There's an overide, lets use that instead14:47
orikvery cool.14:47
ogra-cbif you just mv the .override is exactly the same as the job file was14:47
orikI was under the impression that you were renaming it to .override as to make it so the original file would not be found14:48
oriksorta like a .ini.backup or something14:48
ogra-cbso> echo "manual"| sudo tee -a /path/to/override/file14:48
orikmmmm that makes more sense14:48
orikhrw: do you think it would make more sense for me to upgrade to 13.04 then use your .deb for the patch or to manually patch it first14:49
ogra-cbslangasek, i was actually taking a brief look at the plymouth issue and came up with something like http://paste.ubuntu.com/1357935/ ... not sure how accurate that is, my C is a bit rusty (it should avoid using console=none and an empty console=)14:50
hrworik: any way you like14:50
orikI'm going to try to patch it first so I can say I learned something14:50
orikrather than just taking all the scraps off the table :P14:51
ogra-cborik, alternatively send beer to hrw to make him upload the package to 13.0414:51
hrworik: package cgpt and kernel signing tools14:51
orikget rid of that ugly start screen?14:51
hrwogra-cb: need to add /dev/mali stuff and number fix14:51
ogra-cbthat would be lovely14:51
ogra-cbyeah14:51
hrworik: there are two options for 'ugly start screen'14:52
hrw1. flash developer firmware of chromium os14:52
ogra-cbi dont find the start screen ugly though, i could live with it if i had not to start at it for 30sec every time i boot14:52
hrw2. flash u-boot instead of u-boot+vboot combo14:52
hrwogra-cb: no one told you about "ctrl-d" shortcut?14:52
ogra-cbs/atart/stare/14:52
orikI'll consider whoever does that a brave man14:52
ogra-cbhrw, lol, nope14:52
hrwogra-cb: HAHA!!!!14:53
lilstevieorik, why?14:53
hrwogra-cb: ctrl-u boots from SD14:53
ogra-cbhrw, thx !!14:53
hrwyou made my day ;)14:53
ogra-cband you mine :)14:53
orikhahahaha14:53
* hrw -> food etc14:53
ogra-cbthat was really annoying me, i tried things like esc indeed14:53
oriklilstevie: this is my only working computer right now, and I'd hate to see someone brick their machine trying to flash a different bootloader onto it14:54
ogra-cbbut not any modifier key combos14:54
hrwogra-cb: read all posts by ojn on his google+ stream14:54
lilstevieorik, the first 2MB of spi are ReadOnly, within that 2MB there is a fair bit of "brick recovery" stuff14:54
orikI heard these samsung micro ssd's have pretty good throughput so booting off of them won't suck14:54
lilstevieorik, by that I mean depending on whether you are trying to boot recovery mode or normal it loads a different u-boot from the SPI14:55
lilstevieat least that is what we have discovered14:55
* ogra-cb waits for really small but really fast USB sticks to show up14:55
orikO:14:55
ogra-cb(USB 3.0 i mean)14:55
orikyou can't boot from 3.014:55
orik:'c14:55
ogra-cbthat should be on par with a sata disk14:55
ogra-cbsure you can14:56
ogra-cbyour kernel cant live on usb14:56
ogra-cbyour rootfs can14:56
lilstevieorik, by "you can't boot" you mean the kernel can't :p14:56
ogra-cband thats all that counts14:56
lilstevieI am still really undecided about the chromebook14:56
orikogra-cb: http://www.codinghorror.com/blog/2012/11/a-ssd-in-your-pocket.html14:56
ogra-cbits really awersome14:56
oriklilstevie: whatcha mean?14:56
ogra-cbi just with GLES would work fully14:56
ogra-cb*wish14:57
lilstevieorik, I mean, I don't know if I want one or not14:57
gildeanbut you can create a ramdisk to preload the kernel first and then boot from that?14:57
orikif I were you14:57
orikI'd just14:57
orikbuy one from best buy or someplace with a14:57
oriklike14:57
orikmonth long return policy14:57
orikuse it14:57
orikif you don't like it14:57
orikreturn it14:57
ogra-cborik, i wait for something about 1/10th of that size, but yeah14:58
lilstevieorik, you are assuming I am in the states14:58
ogra-cbsomething that doesnt stick out of the case so much14:58
orikI am, I am :/14:58
orikbut if you grab them out of the states14:58
lilstevieorik, I would have to import the chromebook14:59
orikyou get a fucked keyboard14:59
orikrumors say you do14:59
orikor uh14:59
ogra-cblilstevie, how about uk ?14:59
ogra-cbi ordered mine there14:59
lilstevieogra-cb, tbh both the UK and US are as equally difficult to order from15:00
lilstevieland downunder and all that crap15:00
lilstevie:p15:00
ogra-cboh, yeah15:01
ogra-cbdont you also need an upside down kbd layout ? :P15:01
lilstevie:p15:01
orik:P15:02
orikhey can I just uh15:02
orikupdate to 12.0415:02
oriki mean 12.1015:02
orikand then start messing with the Plymouth files15:02
ogra-cbsure15:02
orikbefore I even reboot15:02
oriksudo nautilus and throw in new ones15:02
ogra-cbwell, mess with them at anty point you like15:02
orikso I can use that easymode graphical interface15:03
ogra-cbits just that the cb doesnt use an initrd so if you screw up you have to go back into cros and fix it from there15:03
ogra-cbinstead of having a chance to fix it from an initrd prompt15:04
orikam I changing things in /etc/init/ or etc/init.d/15:04
lilsteviewell if nothing else comes out of my night, I am glad to finally have volume control :D15:06
ogra-cborik, /etc/init15:07
orikalright, this will be take two of upgrading to 12.1015:08
orikI wish there was a website that collected glmark2 benchmarks, so you could compare systems15:10
xranbyorik: have you tested phoronix?15:11
orikdo they have more than just news?15:11
oriklike, do they have a database going?15:11
=== Quintasan_ is now known as Quintasan
orikOH; it's a test suite...15:11
xranbyall their news is generated using http://www.phoronix-test-suite.com/15:11
orikvery cool.15:11
orikI'll run it after getting graphics drivers15:12
orikI feel like running it now would be a bit to painful15:12
orikcan I upgrade to 12.10 and then to 13.04 without rebooting inbetween?15:12
xranbyorik: linaro is also working on something   for their validation runs https://blueprints.launchpad.net/linaro-graphics-dashboard/+spec/linaro-graphics-dashboard-glmark215:14
orikcan't wait15:16
orik:D15:16
janimoinfinity, along with the kernel, we also need a firmware package for the nexus7. It's currently in the staging PPA, in case you prefer a review before it enters the NEW queue.15:21
janimohttps://launchpad.net/~ubuntu-nexus7/+archive/staging/?field.series_filter=raring15:21
janimoogra-cb, you may want to take a look if you're curious and have time15:21
janimoinfinity, it is separate as it needs to present the license agreement to the user before installing15:22
ogra_janimo, looks fine to me, only FW for eth wlan chip for now ?15:26
ogra_*the15:26
janimowlan and BT right?15:26
ogra_well, there is other stuff we might want to add over time15:26
janimoogra-cb, the same we had in the patched PPA for 12.1015:26
ogra_for a start its fine i guess15:26
janimosure, we can add more latee15:26
ogra_right15:27
morphisjanimo: it's now finally decided that ubuntu can redistribute the firmware for wifi/bt for the nexus7?15:57
janimomorphis, it can redistribute I think if it pops up the license agreement as seen in that ppa15:58
janimoI would not say finally decided about anything involving binary blobs :(15:58
morphisok15:59
janimobut current thinking is we're fine if we show the same text the .sh installers from google show15:59
morphisjanimo: ok, will take this for discussion over to webos-ports :)16:02
janimomorphis, I honestly do not think Google or any of the partners would care at all if we or webos just distributed without any legalese, but at least Canonical needs to do this properly for image's sake if not else16:05
janimowith all the GPL infringers putting out binary blobs it would be weird of them to start minding about license issues :)16:06
morphisjanimo: yes, but it's better to try to play well (as much as possible) to not cause any harm later16:06
janimos/harm/extra work/ I'd say16:07
morphisjanimo: yeah16:08
morphisjanimo: at least you only have to deal with the wifi/bt bits we need to use the graphic bits too ...16:09
ogra_they are freely distributable16:10
janimomorphis, we also ship the tegra drivers but those are not firmware16:11
ogra_with aproper license16:11
morphisogra_: for the nexus7 they are16:11
ogra_well, for tegra2 and tegra316:11
morphisogra_: but over at webos-ports with the galaxy nexus we have a completely different situation :)16:11
janimomorphis, the LICENSE agreement needs to be popped up only for the 5 or so binaries that can be downloaded from Google16:11
ogra_PVR has a usable license as well16:11
ogra_we ship PVR preinstalled on pandaboard images16:12
morphisogra_: you want to know the whole story?16:12
janimomorphis, he does16:12
ogra_surely16:12
ndec_ogra_: PVR preinstalled, really?16:12
morphisogra_: ok, let me summarize: in openwebos the central rendering process is the LunaSysMgr; no X11 or something like this16:12
morphiswe are limited to a 3.0.x kernel16:13
morphisrecent PVR drivers like you ship with ubuntu for the pandoboard needs omapdrm16:13
morphis3.0.x does not have omapdrm16:13
ogra_oh, yeah16:13
ogra_ndec_, yes,m since unity-2d was dropped16:13
morphisfurthermore it has different omap code used for android devices16:13
morphisnot what is in mainline ...16:13
ogra_why are you limited to that ancient kernel ?16:14
ndec_ogra_: hmm... i missed that. in which archives are you pushing the pvr package, then?16:14
morphisogra_: that is what google provides with Android16:14
ogra_ah, crap, i thought all android would at least be at 3.1 already16:14
morphisno16:14
janimowhere would the fun be then?16:14
morphisnexus7/10 has already a 3.4 kernel16:15
morphis:)16:15
janimomorphis, nexus7 3.4 kernel?16:15
morphisI heard something like this16:15
morphiswith the recent android update 3.4 afaik16:15
janimonexus10 maybe16:15
ogra_we'Re still on 3.116:15
morphiss/3.4/4.2/16:15
janimothat would be nice16:15
ogra_a little ahead of time though16:16
janimothe 4.2 OTA should come any hour now16:16
morphisanyway, just merging in 3.1 causes too much merge conflicts to resolve :)16:16
janimohttps://android.googlesource.com/kernel/tegra/ this still only has 3.116:16
morphisso we're using directly android graphic drivers16:16
janimoand this is the tree we work from16:16
ogra_morphis, ouch, painful16:16
janimomaybe the nexus10 being a completely different SoC is on 3.416:16
morphiswith a approach called libhybris which allows you to use bionic-linked libs16:16
morphisogra_: yes, but it works ....16:17
morphisjust a compositing solution is missing16:17
ogra_morphis, we had other PVR drivers n earlier releases in ubuntu, with a little digging you might be able to find something that works with 3.016:17
morphisogra_: I searched already through the archive but didn't found something usable or working16:17
morphiswe're now on the way implementing some compositing mechanism on top of libhybris so more than one process is able to use acceleration ...16:19
morphisogra_: but if you have a direct reference to a pvr driver which does not need omapdrm I would be very happy :)16:21
ogra_all before 12.04 shouldnt need it16:22
ogra_but they need a huge set of kernel patches instead16:22
ogra_for DSS16:22
morphishm16:23
ogra_there is also the TI PPA16:23
morphisyes, I know it16:23
morphisthat was one of the places I was looking at16:23
morphishuge set of kernel patches should be problematic as well as they will not apply cleanly on an android kernel ...16:24
ogra_yeah16:24
ogra_will surely need work, but somehow it appears cleaner than using libhybris for the whole graphics stack16:25
morphisogra_: but it depends on the effort you need to get this implemented16:25
* ogra_ isnt a big fan of cludge libs16:25
morphisI love clean solutions as well but with a limited life time of devices and only less time to do some work in spare free time there is often no way around using workarounds like libhybris16:26
ogra_well, both solutions require to write code16:27
ogra_or at least adjust code16:27
morphisyes16:27
ogra_writing a compositor from scratch might be as much work as adjusting the patches16:27
morphisogra_: but are the pvr drivers not related to x11 only?16:28
morphisas far as I remember for example the pvrctrl binary wasn't part of the later versions of the driver16:29
morphisthe init sequences was then directly implemented in the xorg driver16:29
ogra_with omapdrm, yes16:29
morphisok16:30
morphisbut we would still missing the compositor, right?16:30
ogra_it uses XRENDER so you get composite from X16:30
ogra_or does webos not use X ?16:31
morphisit does not16:31
morphisthats one of the important problems16:31
morphison the legacy HP devices they had two or three framebuffers16:31
morphison the Galaxy Nexus we're limited to one16:32
ogra_ah, yeah, thats dfifferent indeed16:33
ogra_i wasnt aware webos doesnt use X16:33
morphisok16:35
morphisogra_: if you want to see some code: https://github.com/morphis/libhybris/commit/08057ebbef3f62d4ab370d2622fce52acc266b6616:36
cwaynesfeole: im not sure, i dont think my panda board ever turned display off17:04
sfeolecwayne: ahhh that would be a good test17:05
sfeolecwayne: def something i can do today17:05
cwaynesfeole: awesome17:05
sfeolecwayne: on precise / quantal x86 the display does indeed turn off when rhythmbox is playing audio (radio / mp3)17:05
ogra_mpte that the panda has issues with DPMS17:06
ogra_*note17:06
cwaynesfeole: so that's correct17:06
cwayneperhaps this is a nexus bug then17:06
sfeolecwayne and sfeole are speaking about bug# 107121317:07
ogra_(you might end up with a green screen on the panda and have to switch to console and back to get X back)17:07
cwaynelol sfeole refers to himself in the third person17:07
sfeole;P17:08
orikI ended up getting to 13.04, and I was logging in, but it couldn't launch Ubuntu Sesion17:08
orikI realized I didn't install any other desktop or window managers to update the driver17:08
orikso I get to start from the top again hahaha17:09
=== doko_ is now known as doko
infinityjanimo: Ew.18:00
achianginfinity: is that related to our nexus7 kernel? :)18:29
janimoachiang, related to my person I think :)18:30
achiangjanimo: that i can't help with ;)18:35
janimoinfinity, really. I am open to suggestions, and if it is any consolation I did not enjoy making this packages more than you enjoy reviewing them :)18:39
infinityjanimo: That was specifically for the firmware with the license agreement.  I'm looking at both today, though.18:40
janimoinfinity, thanks. I tried using the minimum amount of debconf boilerplate18:42
janimoI would not mind a bit if someone wrote a dh helper that picked up a debian/package.LICENSE.SHOW file and DTRT generating all debconf machinery18:43
ogra-cbjanimo, oh, you missed to add a skip option we can use during image build18:44
janimoogra-cb, ah indeed18:44
janimostill is there no more obvious envvar than FLASH_KERNEL to suggest we are on a builder?18:44
ogra-cbsomething should check for FLASH_KERNEL_SKIP18:44
infinityHrm?18:45
=== Ursinha-afk is now known as Ursinha
infinityNo.18:45
ogra-cbwell, thats definitely the most reliable one we have atm18:45
janimoogra-cb, or cannot the live builder silence all debconf somehow?18:45
ogra-cbit defaults to noninteractive18:45
ogra-cbon which your preinst would fail18:45
janimoah and the default is false here18:45
infinityIf you need to skip it, you preseed the agreement.18:45
ogra-cbhmm, k18:45
infinityNo need for magic here, the magic already exists. :P18:46
janimoinfinity, but we still need a package change ?18:46
ogra-cbyeah, but means livecd-rrotfs hackery18:46
ogra-cb*rootfs18:46
janimoogra-cb, can you pont me to a similar one? (or day I say upload a fix to the ppa? ) :)18:46
infinityThat said, if we can't install this for users without them agreeing to said agreement, how does automating it in an image build end up in a sane state? :P18:46
infinityjanimo: No need for a packaging change, this is the whole point of debconf.18:46
ogra-cbinfinity, usb/creator will show the saem license18:47
janimoinfinity, hurray then18:47
ogra-cbinfinity, thats debconf thing is just for users installing the package standalone18:47
ogra-cb*that18:47
slangasekogra-cb: well, I don't know about your plymouth patch yet, but I see that add_consoles_from_file() is clearly never used because it's broken and never terminates :P19:06
[mbm]couldn't the kernel just use a hardcoded commandline, avoiding this whole console=none thing?19:12
slangasekogra-cb: hnngh, I keep reading other bits of the plymouth code for context and finding bugs; command_line_get_string_after_prefix also fails if you have a command line of 'bogus_console=foo console=none'19:12
slangasekogra-cb: can you clarify the intent of the patch?  I don't think it does what you want, but I'm not entirely sure what you want19:15
LavvyIs there any ubuntu openstack image for arm? Or any project for that now?19:32
LavvyAny kind responce please19:34
infinityLavvy: Define "openstack image".  Most of the openstack bits exist on ARM (except for the ones that can't, like the nova compute backends for Xen and KVM), but there's no specific image built including those packages by default.  Easily installed on ubuntu-server, however, just as with x86.19:51
orikI'm about to try to patch my video driver; wish me luck19:58
ogra-cbslangasek, well, avoidingthat plymoputh tries to open /dev/none if there is a console=none set and at the same time skipping to the next console= option if it is either "none" or unset20:32
slangasekogra-cb: ok... but why would we ever pass either console= or console=none?  What's the intended meaning of those commandline options (and what's interpreting it)?20:33
ogra-cbogra@chromebook:~$ cat /proc/cmdline20:34
ogra-cbcros_secure console= console=tty1 debug verbose root=/dev/mmcblk0p7 rootwait rw20:34
ogra-cbubuntu@nexus7-roccos:~$ cat /proc/cmdline20:34
ogra-cbtegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 mem=1022M@2048M android.commchip=0 vmalloc=128M androidboot.serialno=015d2109ce281010 video=tegrafb no_console_suspend=1 console=none debug_uartport=hsport usbcore.old_scheme_first=1 lp0_vec=8192@0xbddf9000 tegra_fbmem=8195200@0xabe01000 core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=14934015 androidboot.bootloader=3.34 root=/dev/mmcblk0p9 ro console=tty1 fb20:34
ogra-cbcon=rotate:1 quiet splash20:34
slangasekthat's not "why" :)20:35
ogra-cbslangasek, the android bootloaders set such crap ... and it is hardcoded20:35
slangasekah20:35
ogra-cbthe nexus options *we* set start at root= for example20:35
slangasekok20:36
slangasekso the only issue I see with your patch is a memory leak20:36
ogra-cbshould i have freed console ?20:36
ogra-cbo see though that debian has 0.8.5 and i know that i read somewhere that console handling woudl eb better there20:37
infinityAre interpreted languages making you soft? :)20:37
slangasekyes, you want to free(console) and you don't need to set console=NULL20:37
infinityOr, rather, garbage-collected languages.20:37
ogra-cblazy for sure :)20:38
slangasekyeah, we should look at updating to the new version20:38
slangaseknot via Debian though, the packaging is disjoint20:38
slangasekand a merge is hell20:38
ogra-cbnot sure it actually does what it shoudl (only using the very last console= it finds)20:38
slangasekso we should look at pulling the new upstream version, and then worry about a packaging sync separately20:38
ogra-cbbut i have some hope it is at least slightly better20:39
slangasekwhy should it use only the very last console=?  it should use *all* the options for console=20:39
slangasekthat's why specifying console= multiple times is supported20:39
ogra-cbwell, the last console= is what the userspace uses20:39
slangasekwhat userspace?20:39
ogra-cbat least if you use two of them20:39
ogra-cbfirst console then does kernel output, once the kernel switches to userspace it also switched to the second defined console20:40
ogra-cbat least thats how it works when i use swerial consoles for kernel messages and tty for userspace (initrd etc)20:40
slangasekI'm entirely certain those are not the defined semantics20:40
slangasekmaybe the additional consoles are unavailable for driver reasons prior to initramfs20:41
slangasekbut the intended meaning is surely not "use this one for kernel and that one for userspace"20:41
infinityThe intended meaning is "use all of the ones that you can get at".20:41
ogra-cbwell, if only one is set it will be used alll the way, if i define two there is a switch after the kernel hands over to init20:41
infinityWhich ends up looking a lot like "use the serial one until you have a framebuffer, then use both".20:41
ogra-cbi actually never tried with three20:42
ogra-cbin any case it gains us nothing if there are two options to use the first one due to that handover20:42
ogra-cbno userspace, no plymouth20:43
infinityWell, unless I specify them in reverse order from what you expected. ;)20:43
LisaNoriNow that the nexus 7 can have a SIM, is there any chance of getting a nexus 7 Linux working over cellular?20:43
ogra-cbLisaNori, it might work out of the box, depending on the modem thats used20:44
ogra-cbinfinity, how would i do that ?20:44
infinityogra-cb: I'm just saying that I could specify console= more than once, and the last one could be serial.20:45
ogra-cbthe kernel will still use the first one for kernel messages20:45
infinityogra-cb: Since I'm assuming this patch is generic, not nexus-specific or something.20:45
ogra-cboh, sure20:45
LisaNoriogra-cb, nice thought, but I think you'd have to be able to program the cell chip, at least with APN information.20:45
ogra-cbstill i dont want to use the first one at all if there is nore than one defined20:45
ogra-cbLisaNori, well, all 3G capable machines i own all worked out of the box after inserting a SIM and picking my provider in network-manager20:46
ogra-cbbut i might just be lucky that my modems are known already20:46
marvin24_ogra-cb: srwarren just noted that l4t r16r2 is released20:47
ogra-cbyay20:47
infinitymarvin24_: With all the silly linking issues fixed?  *hopeful look*20:47
* ogra-cb is pretty sure these are fixed, they were quite embarrased by that bug20:48
LisaNorihmm. interesting.  I'm thinking I'll have to grab a "nexus 7 mobile" and try it.  I really want a small mobile tablet linux and cell data capability.  :)20:48
marvin24_driver date is from nov 20th20:49
marvin24_but I'm on 3.7rc4 now, so can't test20:49
marvin24_and I'm too lazy to reboot ;-)20:49
=== yofel_ is now known as yofel
ogra-cbi'll take care and update the packages accordingly20:50
* ogra-cb vanishes into the evening again20:52
[mbm]ogra-cb: why take the options from the bootloader if they're so mangled? seems like it'd be easier to have the kernel ignore them and just use another string20:57
[mbm]most of the embedded kernels have a force option for doing jist that20:58
slangasek[mbm]: the kernel is already handling them fine, it's plymouth that's failing to handle them correctly21:03
[mbm]slangasek: I suppose, just that the whole console=none console=.;. is kind of broken21:13
slangasekyes, it's a goofy thing for the bootloader to be setting; but it should still be handled correctly when it happens, and not handling it correctly is a bug in plymouth21:14
doko\o/  http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00455.html  \o/21:31
ubot2gcc.gnu.org bug 2012 in c "ICE when compiling the current cvs gcc as cross-compiler to mingw32" [Critical,Resolved: duplicate]21:31
dokowrong channel ...21:31
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha

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