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

tassadar_no, still freezes00:05
tassadar_I think there is something wrong with "void machine_kexec()", because normal kexec does not even reboot the device00:05
lilsteviedid you have a look at the patches00:07
tassadar_yes, on tf2, RaYmAn removed several calls from that method, because they caused tegra3 to freeze00:07
lilsteviethere was one to remove an extra flush_cache_all()00:07
tassadar_*tf20100:07
lilsteviehttps://github.com/EnJens/kernel_tf201_stock/commit/6e5043854b55a8552d35d56ed9de414d095cd4d600:07
tassadar_yes, I removed those00:08
lilsteviethe outer_inv_all too?00:08
tassadar_yes00:08
lilsteviespam printks through there00:08
lilsteviethats what we did to figure out exactly where it froze00:09
tassadar_klog does not get disabled somewhere there?00:09
lilstevieafaik it isn't until the very last step00:09
tassadar_oh my god)00:09
tassadar_I have already done that, but thought klog just gets disabled00:09
tassadar_but I don't really remember where was the last printk, have to try that again)00:10
lilsteviethe other thing you can do is write to a specific register to force a reboot, move it up one spot each time it works until it fails00:11
=== keithzg_ is now known as keithzg
tassadar_last printk which gets into klog is before cpu_proc_fin();00:14
lilsteviehm00:16
tassadar_well, let's try to comment it out I guess)00:16
tassadar_chm00:49
tassadar_no change, still freezes00:49
tassadar_maybe it does not even boot anything00:50
tassadar_the ramdisk console is not touched, there is still output from the kernel in which I did the kexec -e in there00:51
lilstevietassadar_, pastebin machine_kexec?01:04
tassadar_http://pastebin.com/Zea4zUsp01:05
lilstevieand the last thing you get is exec8?01:07
lilsteviewell I would expect that anyway01:08
tassadar_that's right01:09
lilstevieodd01:13
lilstevieif you get to that point it should just work01:13
lilstevieI just looked through the code01:13
tassadar_Im gonna try to mess with --mem-min01:13
lilstevieyeah01:14
lilsteviemem-min was a pain from memory01:14
lilstevieactually01:14
tassadar_does it require any other parametrs?01:14
lilsteviefrom memory I had similar results until I came across where I am01:14
tassadar_like ramdisk or something01:14
lilstevieum01:14
lilsteviewell I have it doing commandline zimage ramdisk mem-min01:15
lilsteviethen kexec -e01:15
tassadar_there is no command line in nexus 7's boot image anyway01:15
lilsteviecause it is bootloader set01:15
lilsteviebut that isn't the point01:15
lilsteviewith the atags patch you need to set it01:16
lilstevieeven if your --commandline=`cat /proc/cmdline`01:16
tassadar_now it rebooted01:24
tassadar_yeaaah01:25
tassadar_it works!01:25
tassadar_it just does not have initrd01:25
tassadar_so it reboots01:25
tassadar_I'll put one there01:25
tassadar_./kexec --load-hardboot ./zImage --command-line="$(cat /proc/cmdline)" --mem-min=0xA0000000 --initrd=./rd.img01:27
tassadar_nice, thank you :)01:27
tassadar_shell@android:/ $ cat /proc/version01:27
tassadar_Linux version 3.1.10kexec4test-gba0df58-dirty (tassadar@nymeria) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #18 SMP PREEMPT Thu Nov 22 01:01:55 CET 201201:27
lilsteviethere we go01:29
* lilstevie goes back to trying to write his boot manager01:31
tassadar_one last thing - it uses kernel from recovery, right?01:32
lilstevieuh? what?01:34
tassadar_https://github.com/EnJens/kernel_tf201_stock/commit/e443f15cd73232b78827dc108c1d2ffbd5bc1fb1#L8R154601:34
lilsteviethat must be some left over from the original code, you cannot boot to recovery from kernel space (requires some userspace stuff first)01:36
lilsteviebut it all depends on what kernel you put in boot,01:37
tassadar_kernel in boot must always have these patches, the one which is kexecd' does not, correct?01:37
lilstevieI put the kexec kernel in boot because I want to go directly to the boot menu, not have to get to recovery to select01:37
lilsteviehuh01:38
lilsteviethe patches to the decompressor and the patches to do the hardboot kexec are all intertwined01:38
tassadar_so both must be patched, well, that is not good :/01:38
lilstevieoh wait I see what you mean01:39
lilstevieyes, you require 2 patches to the kexec guest kernel01:39
lilsteviethe decompressor optimization patch (otherwise boots take anywhere from 30seconds to 10 minutes) and the atags patch, otherwise the guest kernel just ends up with the initrd and cmdline of the kexec host kernel01:40
lilstevieRaYmAn did say that way back when you started looking01:40
=== doko_ is now known as doko
rafase282Hello everyone01:41
rafase282I'm trying to install ubuntu server on my pogoplug pro. Is anyone familiar with it?01:42
lilsteviepogoplug pro is armv6, ubuntu does not support armv6 processors01:44
rafase282Would debian do it then?01:47
lilsteviemaybe01:47
lilstevieI saw something on the archlinux wiki which makes commenting on that rather difficult to know01:48
lilstevierafase282, there does appear to be a third party project that got debian running on it though, just google around01:50
rafase282yeah I'm googling it around, I'm not a fan of archlinux I prefer ubuntu but i was told it does not support arm601:53
=== zz_chihchun is now known as chihchun
tassadar_hm, I should go to bed, it's 3am here02:01
tassadar_so, thanks for help and good night02:01
=== chihchun is now known as zz_chihchun
=== zz_chihchun is now known as chihchun
dholbachgood morning07:40
fmoreauhi all. I'm trying to use the kernel shipped by the ubuntu-n7-installer but with my own chroot (debian based). So far I've got a login prompt but the wifi connection failed. I can see from NM's log "unable to read permanent MAC address..." which seems suspicious. Could anybody give me an hint to make the wifi work ?08:00
lilsteviefmoreau, you need the wifi firmware08:15
fmoreaulilstevie: well I already took from ubuntu rootfs the /lib/firmware directory08:17
lilstevieand the modules?08:17
fmoreausure08:17
fmoreauthe driver seems to load fine but it fails to read the permanent MAC address08:17
fmoreaulilstevie: do you know where I can find the kernel source code ?08:25
lilsteviegoogle08:27
infinityfmoreau: The linux-nexus7 source package or, as lilstevie says, Google.08:38
ogra_fmoreau, you need /etc/nvram.txt too09:26
infinityWhich is the most awfully generic name ever.09:26
ogra_or /lib/firmware/nvram.txt, not sure where it lives atm09:27
infinityWhy is that named that? :P09:27
ogra_ask broadcom09:27
infinityogra_: Is there a hardcoded reference to that in the binary blobs? :/09:27
ogra_not sure, might be that you can just change it in the module code09:27
infinityIf so, that might be pleasant.09:28
ogra_i nerver really bothered beyond getting the wlan to work :)09:28
fmoreauogra_: thanks a lot for your usefull suggestion, we'll try it in a couple of minutes.09:28
fmoreaus/we/I09:28
infinityogra_: Say, if you have any dev boards to sacrifice, can you break one in half and do a dance around it for me?09:29
ogra_heh09:29
ogra_what did you do that deserves this ?09:29
infinityogra_: Or some sort of voodoo to promise eglibc will build on the second try, cause I'm not doing another upload just to disable one intermittently-sad testcase. >:(09:29
infinityStupid Pandas.09:29
ogra_oh man09:30
infinityThe test passed on the previous 4 uploads, and passed here, so I can only hope it passes on give-back of the current upload.09:30
infinityCause there's no reason it should be regressing other than "a Panda was having a bad day".09:31
ogra_as usual09:31
ogra_its really time they get replaced09:31
hrwandale board?09:31
infinityThough, I guess I shouldn't be too surprised that a test called "tst-cpuclock2" occasionally fails on an SoC that does aggressive frequency scaling to avoid exploding.09:31
ogra_where do we stand wrt highbank buildds ?09:31
infinityogra_: Supply issues.09:32
ogra_any changes?09:32
ogra_ah09:32
infinityhrw: We really don't want to replace dev boards with dev boards, we're trying to get real server kit that's actually manageable.09:32
infinityhrw: Besides, replacing dev boards we actively support with ones we don't isn't clever either.  That essentially jacks up the cost of the endeavor by the salary of half a kernel engineer for a year or two.09:33
hrwinfinity: sure, but when those will be finally somewhere else then in news articles...09:33
infinityAlso, this particular issue wouldn't be better on andale, or any other dev board.09:34
ogra_we should just go with arm64 in qemu :P09:34
infinityAll ARM SoCs aggressively frequency scale to avoid overheating.09:34
infinityThe solution is to glue heatsinks to them. :P09:34
infinityogra_: qemu can't do arm64.09:34
ogra_it will at some point :)09:34
hrwI heard rumours that panda5 will come with DIY heatsink set09:34
ogra_lol09:34
suihkulokkiinfinity: not all, just the fast ones :P09:35
infinitysuihkulokki: Okay, fair.  All the ones I'd use as buildds. :)09:35
hrwand info: "if you run TI kernel, it will work. if mainline then put heatsink until we merge whole PM stuff"09:35
infinityhrw: Yeah, the 4460 has similar caveats (but didn't come with a heatsink)09:35
infinityhrw: Still, people using these boards at 100% load (like buildds) should put heatsinks on, or you're not actually getting full clock all the time.09:36
hrwafter playing with Archos tablet (with 4430 and 512MB ram) I prefer to avoid omap4 line09:36
infinityMaybe I should mail a bag of heatsinks to London and have someone glue one on each Panda.09:36
ogra_you think they dont have heatsinks in the UK ?09:37
ogra_or are canadian ones just colder ?09:37
infinityogra_: I think we don't have a datacenter engineer to go shopping and faff about, so the more work I do in advance, the easier it is to convince a sysadmin to wander down and stick them on. :P09:37
ogra_heh, k09:38
infinity(Plus, for just about anything except teabags, shopping in North America and shipping it to the UK is always cheaper than shopping in the UK)09:38
hrwnot always09:39
infinityWell, no.  Not always.  But very often.09:39
infinityProbably not for 5$ crap heatsinks.09:39
infinityUnless one shipped by boat.09:40
infinityOr heatsink mule.09:40
infinity"Why are those heatsinks in a condom?"09:40
ogra_uuuh09:41
suihkulokkiI really didn't want to imagine that09:41
suihkulokki:P09:42
infinityogra_: Drug mules?  Condoms full of heroin in various body cavities?  Nevermind. :P09:42
* ogra_ shudders ... now i regret that i just uploaded the microSD content of my mx6 for you :P09:45
infinityogra_: Are you imagining jagged heatsinks in uncomfy places?09:45
ogra_hmm, well, "am still uploading" .... i shoudl upgrade to more than 2Mbit09:45
ogra_i'm trying not to09:46
ogra_lalalala09:46
suihkulokkiand yes, pandas fit a heatsink fine: https://plus.google.com/101339419642360856354/posts/FUzUk5U4kJe09:47
ogra_infinity, http://people.canonical.com/~ogra/mx6/mmcblk0p1.img needs to be dd'ed to the start of the micro SD, http://people.canonical.com/~ogra/mx6/mmcblk0p2.tgz needs to go onto a vfat partition in the card, http://people.canonical.com/~ogra/mx6/ubuntu-precise-imx6-sabre-77f462e.tar.gz is a snapshot of the source tree from kernel.ubuntu.com09:51
infinityogra_: Cool.  And it boots from the micro or the big slot?09:56
victorpogra_ ping09:58
victorpI am trying to assign https://bugs.launchpad.net/ubuntu-nexus7/+bug/1065644 to someone relevant, is this something foundations should be looking at?09:59
ubot2Launchpad bug 1065644 in ubuntu-nexus7 "plymouth causes a hard reset of the nexus" [Critical,Confirmed]09:59
lilstevieinfinity, that is a horrible mental picture09:59
lilstevie:/09:59
infinitylilstevie: You're welcome.09:59
lilstevieI think I am going to go afk for a little bit10:00
lilstevieto vomit10:00
lilstevie:p10:00
ogra-cb__victorp, take me10:02
victorpogra-cb__, ? do you mean pick me?10:02
ogra-cb__infinity, micro10:02
infinityI think I may join lilstevie...10:02
ogra-cb__victorp, err, yes10:02
victorplol10:02
lilsteviethat is a scary though10:03
lilsteviet10:03
victorpogra-cb__, do you get this bug in your system at all? I dont10:05
victorphttps://bugs.launchpad.net/ubuntu-nexus7/+bug/88404110:05
ubot2Launchpad bug 884041 in ubuntu-nexus7 "Screen brightness not adjusted when switching from AC to battery" [High,Confirmed]10:05
victorpas in, it does dim10:05
ogra-cb__it didnt dim for me i think10:06
fmoreauogra_: unfortunatly I already have nvram.txt because its located in /lib/firmware which I have copied earlier ..10:06
ogra-cb__my device is currently slightly borked due to running raring10:06
ogra-cb__so its hard to compare10:07
ogra-cb__fmoreau, well, i would actually rather blame userspace anyway, what are you using to manage the device ?10:10
fmoreauogra-cb__: network-manager. The thing is that the error seems to be related to the driver which can't read the MAC address (that's what suggest the error from the kernel logs)10:12
ogra-cb__that message is normal i think10:14
ogra-cb__infinity, http://paste.ubuntu.com/1376788/ does that look sane (i know i'll mess it up again so please look twice :) )10:14
fmoreauogra-cb__: I can read this for example : dhd_preinit_ioctls: can't get MAC address, error=-510:16
infinityogra-cb__: Should do, but please group it with the other ubuntu-preinstalled instead of hiding lubuntu in the middle. :P10:24
ogra-cb__k, i'll move it one up10:26
fmoreauogra-cb__: do you think it could be related to wpasupplicant which is version 0.7.3 in my rootfs wherease version 1.0 on ubuntu one ?10:32
ogra-cb__yeah, something liek that10:33
fmoreauok10:33
fmoreauwill try to update that package10:33
ogra-cb__if you copied kernel, modules and firmware, there shouldnt be any reason that the kernel side doesnt work10:33
fmoreauogra-cb__: that's what I'm thinking to10:34
fmoreau+o10:34
fmoreaubut since the driver showed some errors... I was tempted to think that the driver was the culprit10:34
ogra-cb__well, i remember seeing some MAC related warnings10:34
ogra-cb__my device is currently unbootable and i'm waiting for a nnew image10:35
ogra-cb__once i booted that i'll check dmesg10:35
fmoreauthanks :)10:35
fmoreaubut actually I dumped the dmesg after booting the ubuntu image10:36
fmoreauand there're much less errors than what I'm getting10:36
ogra-cb__hmm, k10:36
fmoreauthis one is an example: dhd_preinit_ioctls: can't get MAC address, error=-510:36
fmoreauogra-cb__: BTW can the userspace be in armv7l whereas the kernel is build in armv7hl ?10:44
xranbyfmoreau: yes,    because there is no "armhf" kernel   the kernel is the same for amrel and armhf10:44
ogra-cb__should theoretically work10:45
fmoreauok thanks both10:46
=== chihchun is now known as zz_chihchun
fmoreauogra-cb: same after updating wpasupplicant :(11:10
fmoreauogra-cb: do you think that could be related to initrd ? I actually don't use it.11:11
ogra-cbnot really11:12
ogra-cbthe wlan driver is builtin iirc11:12
ogra-cbso onlz having the firmware in the right place counts11:12
fmoreaucan't flashboot dump the 'userdata' partition so I can retrieve some dumped files on my host ?12:45
ogra-cbsadly it only works in one direction12:47
ogra-cbthere aare the nandroid backup tools12:47
ogra-cbogra@nexus7:~$ cat /var/log/installer/media-info12:48
ogra-cbUbuntu Raring Ringtail (development branch) - armhf (20121122-11:16)12:48
ogra-cbogra@nexus7:~$12:48
ogra-cbyay12:48
* ogra-cb makes a checkmark on bug 108074712:48
ubot2Launchpad bug 1080747 in livecd-rootfs (Ubuntu Raring) "Set a build stamp for pre-installed images" [Medium,Fix released] https://launchpad.net/bugs/108074712:48
fmoreauogra-cb: sad that could be really usefull sometimes12:50
ogra-cbyes, i would love to eb abe to create a backup during installlation that you can play back to the device12:56
fmoreauogra-cb: do you know which wpa_supplicant's driver should I use ?13:02
fmoreauwext I guess13:08
lilstevieogra-cb, are the drivers in the nvidia-tegra3 package the original r16 ones, or the r16.2 ones?13:13
fmoreauogra-cb: where can I find the source package of wpa_supplicant used on the ubuntu image ?13:17
janimoogra-cb, are the raring images installable and usable? I just saw they are on cdimage :)13:23
janimofmoreau, apt-get source wpasupplicant or do you want something else?13:24
fmoreauI'd like to retrieve it from the web instead.13:25
fmoreauhttp://packages.ubuntu.com/fr/raring/wpasupplicant13:25
janimofmoreau,  I usually look at LP for that for example https://launchpad.net/ubuntu/+source/wpasupplicant13:32
janimothere you have links to all versions13:32
ogra-cblilstevie, something inbetween, i got them as pre-release weeks before they showed up on developer.nvidia.com13:32
lilstevieogra-cb, ah ok13:33
ogra-cbjanimo, kind of ... still weeding out some bugs with the traball installer and the default settings are still missing (you need a kbd/mouse atm)13:33
ogra-cbjanimo, and it only works for people that can use -S with fastboot13:33
ogra-cb(doesnt work on all devices)13:34
ogra-cbjanimo, beyond that yes, i just did an install13:34
ogra-cb(using http://cdimage.ubuntu.com/daily-preinstalled/current/)13:35
ogra-cbjanimo, daily builds are running at 13:32 UTC every day now ... next image should show up at 15:30 UTC or so13:36
ogra-cb(if i didnt mess it up at least)13:36
ogra-cbsigh, so using resize2fs on the nexus rootfs makes the sys tem go into a reboot loop13:45
ogra-cbeven when i onlz resize my slightly to small 6G rootfs13:46
ogra-cb(adding a few MB)13:46
ogra-cbsad13:46
fmoreauogra-cb: the cmdline in boot.img is "root=/dev/mmcblk0p9 ro console=tty1 fbcon=rotate:1 quiet" but I don't think it's the one which is passed during normal boot (once the installation is finished, is it ?13:59
ogra-cbfmoreau, it is, but the bootloader prefixes it with some hardcoded stuff14:00
fmoreauoh I see14:01
marvin24_janimo, ogra-cb: any chance to build an ac100 kernel?14:06
janimomarvin24_, I can't today14:06
janimomarvin24_, new code in the branch?14:06
marvin24_janimo: not today ...14:06
marvin24_I updated to 16r214:06
marvin24_which fixed the console problem14:07
janimomarvin24_, well not today but sometimes soon I guess :)14:07
marvin24_but introduced a different one ;-)14:07
marvin24_janimo: many thanks!14:07
janimoI wish someone else maintained that kernel in ubuntu I have not been using that device for a long time14:07
marvin24_janimo: I would if I had more time14:08
marvin24_compiling a kernel isn't the problem14:08
janimomarvin24_, I understand :)14:08
marvin24_uploading is a mess14:08
marvin24_or building a package out of it14:08
marvin24_grrr14:08
janimomarvin24_, uploading when it comes to getting upload access?14:08
marvin24_no, I mean packaging14:08
janimomarvin24_, well it is a mess I agree14:08
marvin24_I surely could upload it to the project page14:09
marvin24_maybe I can setup some scripts to make it easier locally14:09
janimomarvin24_, at least for getting testers that too would be great14:09
janimoI keep planning on making an autobuilder of debs for ac10014:09
marvin24_yeah, weekend isn't far away anymore14:09
janimobut not quite making it :(14:09
janimomarvin24_, I documented the steps used for the nexus7 kernel which I based on the ac100 one here:14:10
janimohttps://wiki.ubuntu.com/Nexus7/Kernel?action=show&redirect=Nexus7%2FKernelBuild#Building_the_kernel14:10
janimoit is at least some start, and exactly what I use14:10
janimomore or less the same as you'd find on the ubuntu or linaro wiki pages14:11
janimowhich it is inspired from14:11
janimobut it is only for tinkering to make a local deb not the full packaging ritual for ubuntu14:11
janimoso it is something you probably already know and do anyway14:11
marvin24_a different solution would be to add support for both machines in the same kernel14:12
marvin24_but I need to check if this would work14:12
janimoboth tegra2 and tegra3 is not really doable in 3.1 eight?14:12
janimoright14:13
marvin24_it's possible in mainline kernel14:13
marvin24_but you may be right on 3.114:13
marvin24_too many IS_TEGRA2x_SOC defines14:13
janimoI know, that is why I keep hoping we get 3.8 for ac100 in 13.04 :)14:13
marvin24_just clone my branch ;-)14:13
marvin24_I can also setup some patches against 3.814:14
janimomarvin24_, how close are we to have it working?14:14
marvin24_to make display light up14:14
tassadar_janimo: we managed to get kexec working on nexus7 last night, is there a chance to add hardboot patches to ubuntu's kernel?14:14
janimomarvin24_, if you can make ac100 work on 3.8 we get maintenance almost for free14:14
marvin24_janimo: only display (backlight and tegra drm)14:14
janimoand not have to carry a diverging package14:14
marvin24_eh, wrong, tegra-drm was merged to 3.814:14
marvin24_so only backlight left14:14
ogra-cbwell, does it work with the binary drivers is the question14:15
janimotassadar_, I am not familiar with what hardboot is? If you get a set of patches it will definitely be at least looked at and considered :)14:15
marvin24_janimo: it may not be until 3.9 or 3.10 before this will have a change to get merged14:15
marvin24_any none else notices that vger.kernel.org stopped to deliver mails?14:15
janimomarvin24_, if it works it does not need to be mainlined, we could carry it in ubuntu. But at least have a kernel based on 3.8 as the rest of Ubuntu will14:15
marvin24_ok, will try to create a patchset14:16
janimomarvin24_, that would be awesome14:16
janimoas long as it supports what 3.1 does I see no reason not to move to 3.8 as well14:16
xnoxogra-cb: whatever you are seeing on arm (desktop background/ubiquity not appearing for ages) I see in the VM as well.14:16
janimosame for nexus7 btw but noone has yet looked at porting those changes forward14:17
ogra-cbxnox, there was aa bug i saw passing by14:17
tassadar_kexec-hardboot - normal kexec does not work on some (most?) android devices because of the drivers, so this patch does the same thing as kexec, but with full device reboot14:17
marvin24_janimo: well, given that 3.1 broke suspend, we'll be at the same feature level ;)14:17
janimonot a prio in the current setup, where we just wanted a working device14:17
janimomarvin24_, ;)14:17
ogra-cbmarvin24_, well, there are no issues on the nexus with suspend atm14:17
janimotassadar_, as I said I am not familiar with kexec at all. The ubuntu-kernel team and its mailing list would be a much better place to bring this up14:18
marvin24_ogra-cb: yeah, it must be related to nvec code then14:18
marvin24_I don't know how nexus7 suspends though14:18
janimoor at least as a bug with optional patches filed against  the linux-nexus7 package14:18
ogra-cblibO and TB dropped from all armhf images for now14:25
ogra-cbthat shoudll give us a properly sized image14:25
=== rsalveti_ is now known as rsalveti
brendandogra-cb, can the daily images for the nexus7 be used?14:44
ogra-cbbrendand, only manually atm only on devices that can handle oversized images (fastboot -S) and you need a kbd and mouse atm14:48
ogra-cb(most of that should be fixed on monday)14:48
brendandogra-cb, do i have one that can handle oversized images?14:48
brendandogra-cb, keyboard - check, mouse - check14:48
ogra-cbno idea, we're not sure which ones can and which cant14:49
ogra-cbi haven an 8G one that definitely can14:49
ogra-cb*have14:49
ogra-cbwaht model do you have ?14:49
ogra-cbi think the *g ones didnt have issues with it14:49
ogra-cb8G14:50
ogra-cbBug 1079729 has a manual step by step guide14:50
ubot2Launchpad bug 1079729 in ubuntu-nexus7 "Ubuntu uninstallable on 32GB 3G Nexus 7" [High,Confirmed] https://launchpad.net/bugs/107972914:50
ogra-cb(you need -S 630M for the flash userdata call)14:51
brendandogra-cb, i got mine at UDS14:52
brendandogra-cb, if i try, what's the worst that can happen?14:53
brendandogra-cb, mine is 16GB14:54
ndec_ogra-cb: hi! what kernel will you be using for 13.04 for omap? are you still planning to have a ti-omap4 branch?14:55
ogra-cbndec_, that question better goes to ppisati, i know he wanted to ask robclark for feedback about necessary patches to make PVR work first14:56
ndec_well for PVR only, it's very much possible to use mainline or close to it.14:57
ogra-cbbrendand, it wouldnt fail to find the rootfs and not boot (indeed you can always reflash)14:57
ndec_problems come with h/w video decode and power management...14:57
ogra-cbah14:57
ogra-cbppisati, ^^^14:57
ogra-cbndec_, what will you stay on ? or is omap4 dead anyway ?14:58
ndec_hehe14:58
robclarkogra-cb, yeah, should be a matter of 3 or 4 patches to get pvr...  I have a pvr branch on my github tree which was a quick/dirty/rush rebase of pvr stuff onto one of my working branches for 3.7..14:58
ogra-cbright, i'm not super concerned about video playback, but PM sounds serious14:59
ndec_well.. and PM is much more unlikely to come from mainline soon.14:59
ogra-cbafter all its up to ppisati though14:59
robclarkyou can always do mechanical PM  (ie. a heatsink) :-P14:59
ogra-cbhard to distribute heatsinks inside images though15:00
ogra-cb:)15:00
robclarktrue15:00
ndec_active power management with a fridge15:00
ogra-cbheh15:00
robclarkheheh15:00
ppisatirobclark: can you point me to these pvr patches for mainline?15:22
ppisatindec_: about pm, i'll try to pick all the dvfs stuff and see how much it is15:22
ppisatindec_: besides, there;s one thing that i never understood15:23
ppisatindec_: mainline doesn't have DVFS, bu omap2plus work on omap4/panda15:23
ppisatindec_: shouldn't it melt then?15:23
ogra-cbnot with a heatsink :)15:24
robclarkppisati, look at https://github.com/robclark/kernel-omap4/commits/pvr at the 2nd thru 5th commits15:24
robclarkppisati, it probably runs but just not at highest clock speeds15:24
ppisatirobclark: ok, i'll do15:25
ppisatiand is there a dvfs branch somewhere?15:25
robclarknot sure about dvfs.. I guess there are various branches with different implementations over the years.. I'm not a PM expert, but I guess it somehow ties up in common clock framework and other changes happening upstream so rebasing from an old kernel version might not be so straightforward..15:26
ndec_ppisati: no there is no dvfs branch that can be easily picked up.15:30
ndec_and don't be confused we have cpufreq support... so you can actually change the CPU freq... but that doesn't change the 'voltage'.15:31
ndec_so in effect, it's DFS, not DVFS ;-)15:31
ndec_and no changing the voltate means that you don't impact the PM...15:31
fmoreauis there a limit on the size of the image that fastboot can upload on the N7 ?15:39
fmoreauit seems that image > 700Mo make fastboot to be stuck15:39
ppisatindec_: but correct me if i'm mistaken, when you say that the main problem with mainline is PM, you mean the lack of DVFS, right?15:41
ndec_not just DVFS... thermal management, clock gating, OFF mode...15:42
ppisatiand do you have some topic branches for these?15:43
ppisatibecause, we picked 3.8 for R and i need to collect all the pieces15:43
ppisatieven if it's not for 3.8, at least knowing what to pick is enough15:44
ppisatii'll do the rest15:44
ogra-cbfmoreau, yes, the limit is somewhere between 680 and 700M16:07
fmoreauogra-cb: hmm is there a workaround to upload a bigger file ?16:08
ogra-cbyou can use the -S option when flashing16:08
ogra-cbbut its not very reliable16:08
fmoreauwhat does -S mean ? can't see a description for it in --help ...16:13
RaYmAnogra-cb: fwiw, as far as I know, the reason for the limit is that it stores it temporarily on the staging partition - so the limit is the size of that (usually roughly the same as the system partition)16:13
ogra-cbah, i always thought it uses a tmpfs16:14
tassadar_hmm, should I use the kernel-team mailing list to send patch for nexus 7 kernel? I mean isn't there like arm or nexus7 mailing list?16:30
ogra-cbno16:31
ogra-cbnexus is just another ubuntu device, ubuntu-devel, ubuntu-desktop and the kernel list should be used16:32
tassadar_okay16:33
brendandogra-cb, will fastboot hang if i can't install the raring daily?16:43
ogra-cbyes16:44
ogra-cbyou need to use -S16:44
HaffeA question. Has anyone here tried to use a usb DVB-t reciever with an arm system?16:44
ogra-cbHaffe, yes, works fine, it helpos to have a proper graphics driver for your hardware though16:45
HaffeI was looking into getting an ODROID-X to use as a PVR.16:45
brendandogra-cb, is it okay to ctrl+c the fastboot flash userdata command?16:51
ogra-cbbrendand, well, the flashing you did will be trashed indeed, but beyond that it doesnt do any harm16:59
brendandogra-cb, i need to just run the userdata flash with -S?17:00
ogra-cbsudo fastboot -S 630M flash /path/to/unzipped/*.img17:00
ogra-cbtomorrows image will be smaller (hopefully small enough) and should eb installable without -S17:01
brendandogra-cb, i mean, the bootimg line doesn't need it right?17:01
ogra-cbright17:01
ogra-cbonly files that are to big need it, bootimg is only 8M17:02
brendandogra-cb, i remember now - this is the option which cuts the image up into chunks, right?17:03
ogra-cbyeah17:04
brendandsparse, that's it17:04
ogra-cbapparently it has issues reassembling it sometimes17:04
ogra-cbyeah17:04
brendandogra-cb, crap - dumped to busybox17:07
brendand/dev/mmcblk0p9 cannot be mounted17:08
brendandah well, back to the quantal image17:08
brendandoh noes - i can't get back to fastboot mode :/17:10
brendand phew, that was scary17:10
ogra-cbyeah, its a bit hard to get to the flash mode if the device is in constant reboot mode17:15
ogra-cbtomorrows image hopefully works17:16
ogra-cbi was told that -S doesnt break 100% of the time, so if you try over and over you might hit a successfull flash at some point17:16
=== k1l_ is now known as k1l
Tassadarnice, successfuly kexec-hardboot-ed to ubuntu from cyanogenmod :)18:28
[mbm]cool.18:47
VarmVaffelI'm having some DNS trouble while connected to a pppd 3G USB-modem connection19:00
VarmVaffelI can't use any URLs basicly19:00
VarmVaffelbut all IPs work just fine19:00
VarmVaffelI've tried changing /etc/ppp/resolv.conf to use googles 8.8.8.8 for instance, but it doesn't work either19:01
VarmVaffelany tips is appreciated19:01
VarmVaffelok nvm I figured it out19:14
VarmVaffelthe resolv.conf should be in /etc not /etc/ppp19:15
fmoreauhow can I see if a binary is armhl or armel ?20:50
infinityfmoreau: readelf -A /path/to/binary | grep Tag_ABI_VFP_args21:04
infinityfmoreau: For armhf, it'll say "Tag_ABI_VFP_args: VFP registers"21:04
fmoreauinfinity: readelf -A doesn't output anything here21:06
infinityfmoreau: Where is "here"?21:07
infinityfmoreau: It works fine on Ubuntu precise and above, at least.21:07
fmoreauinfinity: I just gave it a try on my host (debian)21:08
infinityfmoreau: It also won't output much of anything useful for binaries without an eabi section.21:08
infinityfmoreau: So, anything not ARM, or anything not actually an ELF binary.21:08
fmoreauinfinity: ok thanks21:09
infinityIt absolutely does work on Debian, though.21:10
infinitySo, I'm a little curious about what you were doing that didn't.21:10
fmoreauinfinity: for example doing "readelf -A /bin/bash" on my host doesn't show anything21:17
infinityfmoreau: Yes, but what is your host?21:17
fmoreaudebian wheezy21:18
infinityI meant what architecture. :P21:18
fmoreaux86-6421:18
infinityYeah.  No extended attributes section on amd64 binaries.21:18
fmoreauah ok21:18
fmoreauI was confused by "or anything not actually an ELF binary."21:18
infinityfmoreau: See http://paste.ubuntu.com/1378079/21:19
fmoreauI see :) thanks !21:20
infinityfmoreau: http://paste.ubuntu.com/1378081/21:22
infinityfmoreau: The above being a more interesting example, since on precise, armel and armhf were identical except for sf/hf being flipped.21:22
infinityfmoreau: And you can see the only tag that changes is Tag_ABI_VFP_args21:22
fmoreauI see, so they both are armv721:22
fmoreaubut one with hfp21:23
infinityRight.21:23
fmoreauthanks for explaining :)21:23
fmoreauinfinity: any idea why the touchscreen doesn't work with my rootfs ? I started X + openbox, evtest /dev/input/event0 reports some events  but the mouse cursor doesn't move on the touchscreen.21:28
infinityfmoreau: That, I have no idea about.21:36
fmoreauok21:38
ptlhi23:45
ptldoes anyone know where I can get the source for the kernel used in the Nexus7, with all patches?23:45
ptland config23:45
Tassadarhttps://wiki.ubuntu.com/Nexus7/Kernel23:46
Tassadaror, the short form, git clone git://kernel.ubuntu.com/hwe/ubuntu-nexus7.git23:47
k1lit should be in the AOSP stuff23:47
Tassadaror do you mean the android kernel..?23:47

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