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

=== ndec2 is now known as ndec|away
=== jimerick1on is now known as jimerickson
Zero_Chaosso anyone here using a nexus7 and built a kernel natively? I'm wondering why initrd.img is always so huge that it can't fit01:41
TheMuso/c/c01:48
TheMusoProbably because you have extra stuff on your system that makes the initrd bigger when its generated.01:48
Zero_ChaosTheMuso: not really familiar with how ubuntu knows what to put in the initrd so no clue how to trim it. any ideas?01:52
TheMusoZero_Chaos: Without knowing whats installed on your system, its hard to give specific advice. But you could check to see what packages are associated with the files in /usr/share/initramfs-tools/hooks. Those scripts are responsible for helping create the initrd, and adding extra bits to the initrd image. Someone else may have a better idea though.01:57
Zero_ChaosTheMuso: that sir is exactly what I needed to know. thanks01:58
Zero_ChaosTheMuso: stupid device is charging right now (killed the wifi so can't ssh to it and charge at once) but soon, soon I'll play with that01:58
Zero_ChaosTheMuso: note to other, when recompiling the kernel it seems bcmdhd doesn't work so hot anymore. seems to be missing it's nvram file01:59
lilstevieZero_Chaos, you probably aren't using the correct config02:00
lilstevieextract it from /proc/config.gz of the ubuntu kernel to compare02:00
Zero_Chaoslilstevie: I did. I change it to a module from builtin.02:02
Zero_Chaoslilstevie: ALWAYS start from a working kconfig ;-)02:02
lilstevieforgive me I don't mean to accuse that was just some advice given :) point is the nvram file exists in lib/firmware so a new compile of the kernel will not change that02:03
Zero_Chaoslilstevie: yeah but it will cause failures if, for instance, the loader can't find the firmware when it's not builtin... which it was, and now isn't.02:05
Zero_Chaoslilstevie: and the caps was a stressing of a point not trying to show anger.02:06
lilstevieZero_Chaos, the firmware isn't built in02:06
Zero_Chaoslilstevie: it was definately for the 4329, I can't double check the bcmdhd right now due to the aforementioned power failure02:08
lilstevieuh no, I can assure you the firmware does not get built in, and I do not know any bcm4329 devices that do either02:09
Zero_Chaoslilstevie: since I lack the ability to jump onto the device right now (it's not even in the same state as me) I'll smile and nod. but when my hands get home and plug it back into the network for me we can have it out ;-)02:11
lilstevieZero_Chaos, I maintain a kernel for the tf201, which is bcm432902:11
lilstevieit is modular02:11
lilsteviebut even if it isn't, if the firmware is not at the specified location it will fail to load02:12
Zero_Chaoslilstevie: you we are working on completely different devices then? and the one I'm working on claims to have 6100 patches added to it... couldn't be any changes in there.02:12
lilstevieZero_Chaos, also, if the firmware was built into the kernel they would not need to distribute it in linux-firmware-nexus702:13
Zero_Chaoslilstevie: original kernel worked with wifi, I "zcat /proc/config.gz > /usr/src/linux/.config && make && make modules_install && make install" then some dance to flash the kernel on the dev and the wifi no worky. only change before make was making wifi module02:13
lilstevieZero_Chaos, bcmdhd can be problematic when built as a module02:14
lilsteviejust fyi02:14
Zero_Chaoslilstevie: really... because it's working just so well over here.02:14
Zero_Chaoslilstevie: any ideas how to make it work? dmesg was crying about missing nvram something or another (should be able to get real text in ~20 min)02:14
lilsteviecan does not mean always02:14
Zero_Chaoslilstevie: it was sarcasm, it doesn't work at all02:15
lilstevie:p02:15
lilsteviebcmdhd doesn't work at all under ubuntu on the tf20102:15
lilsteviebut works fine with android02:16
Zero_Chaoslilstevie: that's like saying bcmdhd doesn't work in gnome but works in kde. the only thing that affects the kernel wifi modules is the kernel.02:17
lilstevieactually not the case02:18
lilsteviethere are those userspace libraries that differ between android and ubuntu02:19
Zero_Chaoslilstevie: and userspace libs affect the kernel wifi module how exactly?02:20
lilstevieI give up02:20
lilstevieseriously02:20
Zero_Chaoslilstevie: fine, leave me bored waiting for a device to hack on. :-)02:23
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== zz_chihchun is now known as chihchun
Zero_Chaoslilstevie: you still here05:09
lilstevieyes05:09
Zero_Chaos<*>   Broadcom 4329/30 wireless cards support05:09
Zero_Chaos(/lib/firmware/fw_bcmdhd.bin) Firmware path05:09
Zero_Chaos(/lib/firmware/nvram.txt) NVRAM path05:10
Zero_Chaosit builds the firmware in05:10
Zero_Chaoshappy birthday05:10
Zero_Chaossorry it took so long05:10
lilstevienope it doesn't05:10
Zero_Chaoslol05:10
lilsteviethat is the reference paths to where it will find it in the filesystem when you boot05:10
lilstevieI dare you to remove those firmware files after the kernel is built05:10
Zero_Chaosdare huh?05:10
lilstevie:p05:11
lilsteviebecause I know it will be looking for those files in the filesystem05:11
lilsteviemeaning boot after deleting them, you will have no wifi05:11
Zero_Chaosinteresting challenge. I've never in my life seen a driver that allows you to set a random name for the firmware file.... but perhaps this is one like that05:12
lilstevieyou are talking about a driver that is made for android, there is nothing sane about it05:13
Zero_ChaosI don't see a call to udev to pickup the firmware but I may just be missing it05:13
Zero_Chaosdrivers are made for linux05:13
Zero_Chaosandroid is just a cute little gui05:13
lilstevieandroid is a userspace05:14
Zero_Chaoswell yes and no, there is still a lot of linux like userspace05:14
lilstevieandroid doesn't even use libc, they use their own custom implementation05:14
Zero_Chaosyeah so does everything embedded, that doesn't mean it's not linux05:14
lilsteviebut still, the driver is for android05:14
Zero_Chaosit's a userspace driver?05:14
Zero_Chaoswhy am I recompiling my kernel then?05:14
lilstevieas in, androids stupid custom libs, and filesystem layout05:14
lilstevieup until recently bcmdhd class drivers didn't work with network manager without patches05:15
Zero_Chaosyeah but nm sucks ;-)05:15
lilstevieno, in this case it is the driver that sucks05:16
lilstevieto android it is just an ethernet card interface05:16
Zero_Chaoswell the driver isn't mac80211/nl80211/etc so it's no surprise05:16
Zero_Chaosyeah, that's why these things are so loved05:17
Etherninfreakin android is a mess05:18
Zero_Chaosandroid sucks like hell05:18
Etherninwhy the hell can't they just make it full blown linux already/?!?!05:18
Zero_Chaoslet's make a pwnphone android rom05:19
Etherninand what the hell ever happened to ubuntu mobile anyway??05:19
Etherninlol05:19
Etherninhave u seen um05:19
Etherninfuck05:19
Etherninwhat is it called05:19
Ethernindsploit05:19
Etherninthat's it05:19
Etherninpentesting android rom05:19
Zero_ChaosEthernin: hey05:19
Ethernincourse it does no wireless packet injection whatsoever05:19
Zero_ChaosEthernin: dude, check what channel you are in05:19
Etherninseriously though, does anyone here know what happened to ubuntu mobile?  are they working on releasing a ubuntu for phones?05:20
=== W1N9Zr485 is now known as W1N9Zr0
lilsteviefwiw Zero_Chaos I thought you may want a little more real evidence of my claims05:22
lilsteviemodule_param_string(firmware_path, firmware_path, MOD_PARAM_PATHLEN, 0660);05:22
lilsteviemodule_param_string(nvram_path, nvram_path, MOD_PARAM_PATHLEN, 0);05:22
lilstevie /* load firmware and/or nvram values from the filesystem */05:22
lilsteviethe last was meant to be first05:22
Zero_Chaoslilstevie: I guess it makes some sense though. considering it has to understand that messed up hierarchy in android and the slightly more sane standard linux one.05:23
lilstevieyes05:23
lilsteviethat is the point05:23
lilsteviealthough the config you showed seems to have more than what it is meant to defined05:24
lilsteviebcmdhd is meant to only be the path to the folder05:24
Zero_Chaoslilstevie: it was what I pulled from /proc/config.gz05:24
lilstevieolder versions (bcm4329 bcm4330) were full filename05:24
lilstevieI didn't say it wasn't05:24
lilstevieit will work all the same05:24
Zero_Chaoslilstevie: this is from a 3.1.10 kernel, not that old but not new05:25
lilstevieyou missed what I said bcmdhd is new05:25
lilstevieprior to that it was bcm4329 or bcm433005:26
Zero_Chaoslilstevie: oic, interesting05:26
lilstevieand I am aware about the kernel, this is the newest nvidia is working with at present05:26
lilsteviewhich is silly05:26
lilsteviebut meh05:26
Zero_Chaosyeah, now I just need to hack it up to work with compat-drivers and then no care. :-)05:27
Zero_Chaosbut that seems a lot harder than expected05:28
Etherninlilstevie, have u tried recompiling the android kernel with usb wifi options?  / MAC80211 / CFG80211?05:28
Zero_ChaosEthernin: we had the alfa working fine yesterday05:28
Etherninjust curious, i know source is kinda hard to come by as far as i know05:28
Zero_ChaosEthernin: it is pretty much the same kernel05:28
Etherninya, the kernel on the android 4.whatever i was working on was something weird like 3.0.805:29
Etherninbut ya05:29
Zero_ChaosEthernin: considering this kernel is reasonable close to android's kernel, I'm pretty confident if I can make compat-wireless work for it I can do it on android05:29
lilstevieEthernin, for the tf201 I do, I compile for most usb wireless devices05:30
Ethernindank05:31
Etherninwell heck, after this nexus 7 ill have to get back to work turning the SG3 into the next pwnphone05:31
Etherninat least until jolla comes out with the next N90005:31
Etherninthe motorolla atrix is not bad either05:31
EtherninHTC one x+ is fast but no mircosd, and you can't take out the battery!05:32
Zero_ChaosEthernin: moto droid4?05:33
Zero_Chaos:-)05:33
Zero_ChaosEthernin: has a keyboard and good battery life. but it's a bit slow05:33
Ethernin!?!?05:33
Ethernindual core?05:33
Etherninya but isn't it verizon only?05:34
Zero_ChaosI think not, but not really sure05:34
Ethernini looked into droids for a while and pretty sure they're verizon only which is a major bummer05:34
=== Ursinha is now known as Ursinha-afk
dholbachgood morning07:59
=== Ursinha-afk is now known as Ursinha
davecheneyraring-29-nov-nexus-7 image is busted :(08:29
davecheneyheroic video corruption once it struggles to the desktop08:30
ogra_davecheney, yes, known08:56
ogra_davecheney, thats the reason we are not making much noise about these images yet ;)08:56
ogra_davecheney, the more important fact is that you got through the installer and into the desktop, thanks for the feedback !08:57
davecheneyogra_: well, glad I could help08:58
ogra_i'll add the images to the channel topic once they are good enough for usage08:59
ogra_(and there will be blog posts etc)08:59
davecheneycool08:59
davecheneyogra_: turns out that I have two nexus 7's09:00
ogra_bug 1065638 btw09:00
ubot2Launchpad bug 1065638 in ubuntu-nexus7 "Unity panels don't display visuals" [Critical,In progress] https://launchpad.net/bugs/106563809:00
davecheneyso expect more bug reports09:00
ogra_yay, great !09:00
davecheneyogra_: u canonical ?09:00
ogra_yep09:00
davecheneyme too09:00
davecheneyoh fuck, i just quit onboard09:01
lilstevieogra_, turns out that I have no problems with plymouth because I had FRAMEBUFFER=y in my initramfs-tools config09:01
davecheneytrying to make it always on09:01
ogra_enable the "floating button" option09:01
ogra_always on will get in your way09:01
lilstevieogra_, so yes, it does work with quantal as well09:01
davecheneyyeah, i was trying, but I hit quit, instead of prefs09:01
ogra_lilstevie, yeah, my prob is that our bootimg cant be bigger than 8M and the wlan driver is compiled into the kernel ... which gives me a 4M vmlinuz09:02
lilstevieogra_, yeah ouch09:02
ogra_setting FRAMEBUFFER pulls enough stuff in to make my initrd to big09:02
lilstevieogra_, yeah, understood my initrd is 8MB on its own09:03
ogra_*envy*09:03
ogra_but your boot will be slower :P09:03
lilstevieogra_, it is the trade off09:03
lilstevieultimately I find that it is worth it09:04
lilsteviebut that is my opinion09:04
ogra_instead of having to hack defaults ? yeah09:04
ogra_we have way to much useless stuff in our initrd09:05
lilstevieit isn't only that, from time to time I do find myself using android09:05
lilsteviewhich  is certainly much easier to manage09:05
lilstevieand size09:06
lilsteviefor a very long time I was fighting size with the tf10109:06
lilstevieat one point I increased the size of LNX purely for the extra space required09:06
ogra_well, i like to stay with the device defaults where the bootloader defines the partitioning so people dont get issues rolling back to the original OS09:07
lilstevieyeah well that is what has happened this time09:08
lilstevieusing lvm to tie partitions together means that it is just a wipe and restore with recovery away from stock09:08
lilstevie-rw-r--r--    1 root     root        7.9M Nov 30 05:39 initrd.img-3.1.10-1-transformer-tegra309:08
lilstevie-rw-r--r--    1 root     root        3.5M Nov 16 10:13 vmlinuz-3.1.10-1-transformer-tegra309:08
lilsteviewouldn't be possible before09:08
lilstevie:p09:08
lilstevienext step though is to trim down the kexec host kernel, I'm sure a lot of the unneeded cruft that is left in the kernel which would be used under normal boot conditions will be slowing boot down09:11
=== chihchun is now known as zz_chihchun
=== jrgifford is now known as Guest2393
ogra_xnox, so how about using the compiz wallpaper plugin in ubiquity ?12:30
xnoxogra_: it already suppose to do it.12:31
xnoxogra_: but nothing shows up =(12:31
ogra_oh, i only saw the decoration plugin on your commandline12:32
xnoxogra_: there is --background as well.12:32
* xnox is not sure if it needs a plugin or just that command line option though12:32
xnox(or whatever it is --background-img?!)12:32
ogra_ wm_cmd = ['compiz', '--sm-disable', '--fast-filter', 'decor']12:32
ogra_thats what i see in the merge request, did you change it ?12:32
ogra_oh12:33
* ogra_ missed wm_cmd.extend(['--bg-image', background_image])12:33
ogra_ignore me :P12:33
hrw /ignore ogra_12:38
* xnox likes hrw12:40
=== ndec|away is now known as ndec2
=== doko_ is now known as doko
=== ndec2 is now known as ndec|away
=== Sv2 is now known as sv
=== dholbach_ is now known as dholbach
dholbachI'm not sure if my last message actually made it here....13:24
dholbach<dholbach> ogra_, is "update-manager -c -d" supposed to work on the nexus7? :)13:25
dholbach it presents me with the option to upgrade "your up-to-date, but there's 13.04" and if I click on "update..." it just exits13:25
dholbachI could just go into /etc/apt/sources.list and dist-upgrade manually, but I thought I'd check the more obvious solution first13:26
=== popey_ is now known as popey
ogra_dholbach, sure, that should work14:21
ogra_(update-manager)14:22
ogra_suihkulokki, *all* image/rootfs builder tools should export FLASH_KERNEL_SKIP=true, then flash-kernel will DTRT14:25
ogra_just make sure to export it somewhere in your live-build config14:26
suihkulokkisounds greek to me :P14:27
infinityNo, that's markos.14:27
ogra_hah14:27
suihkulokkiogra_: you mean the bug is in linaro-media-create that should set FLASH_KERNEL_SKIP=true14:27
ogra_suihkulokki, exactly14:27
ogra_that will prevent flash-kernel from trying to flash/write to a bootloader partition14:28
suihkulokkiok, I'll poke people to do that14:28
ogra_thx14:28
infinityHow did we end up needing this hack with 3.0, when 2.x was fine in chroots?14:28
ogra_2.0 had that too14:28
infinityWas it in our livecd-rootfs configs back then?14:28
infinityMaybe I just don't remember. :P14:29
* suihkulokki unsure which one to hate more - flash-kernel or linaro-media-create14:29
infinityOh, even livecd.sh had it.14:29
infinityAlright.14:29
infinityIt's always sucked. :P14:29
ogra_right14:30
infinityAlthought, we don't suppress anymore, we now dpkg-divert.14:30
ogra_originally added on 2011-01-2614:30
dholbachogra_, it doesn't, but I talked to mvo about it -- nux/unity should land early next week according to didrocks14:37
dholbachogra_, they're still working on some test-suite issues14:38
ogra_i hope so14:38
dholbachyes, me too14:38
ogra_i really want to make the alpha1 date with the images14:38
infinityogra_: Ubuntu's not doing alphas anyway...14:42
infinityogra_: Welcome to raring. :)14:42
ogra_infinity, i know, but that was my point in time i have set as target for having working images14:43
ogra_i still like to use milestones for scheduling ;)14:44
infinityFair enough.14:44
infinityI say they should work yesterday.14:44
* infinity waits.14:44
infinityDO THEY WORK YET?!14:44
ogra_they do14:44
ogra_since last week14:44
ogra_the desktop doesnt14:44
infinityWho needs that?14:44
ogra_heh14:44
infinityCommandline tablets are all the rage.14:44
achiangdholbach: hi, what time is the meeting today? :)15:26
dholbachachiang, half an hour?15:28
dholbachachiang, what's on the agenda?15:28
dholbachachiang, I'll announce it on the @ubuntudev channels15:28
achiangdholbach: i think we can do general q&a and also general discussion re: memory leaks15:28
achiangdholbach: have you read my latest blog entry?15:28
dholbachyes, I shared it through @ubuntudev too :)15:29
achiangheh, ok15:29
achiangkyleN_: ^^15:29
kyleN_ack15:30
dumby88RK291815:40
dholbachdoes anyone have their nexus7 on raring already? was onboard deinstalled for you during the installation too?15:44
dholbacherr, upgrade15:44
=== yofel_ is now known as yofel
dholbachogra_, can you please reupload onboard into the nexus7 ppa?15:49
dholbachso it picks up the new python15:49
dholbachright now it's uninstallable15:50
dholbachinto the raring ppa pocket15:50
dholbachor maybe upload it straight to the archive :)15:53
dholbach^ or anyone else in ~ubuntu-nexus7 really15:58
dholbachI assume a changelog-only upload, maybe for virtkey too (have to check) will do it15:59
ogra_why is there an onboard at all in the PPA ?!?16:00
* ogra_ doesnt knwo who uploaded that16:00
ogra_i have no issues with onboard on the raring images16:00
dholbachogra_, you did16:05
dholbachah no16:05
dholbachsorry16:05
dholbachssweeny16:06
dholbachhttps://launchpad.net/~ubuntu-nexus7/+archive/ppa16:06
ssweenyI uploaded it at the behest of the onboard devs16:07
ssweenydholbach, what's the issue with onboard and python? was there an update?16:13
dholbachno, but it can not be installed in raring16:13
dholbachbecause it wants python << 3.316:13
dholbacha simple rebuild should do it16:13
ssweenyin raring people should be using the archive version i would think16:13
ogra_why ... the version in raring should outsmart the one in the PPA16:14
dholbachbut maybe we should just get the new version into the archive16:14
ssweenyunless upstream hasn't released yet...16:14
dholbachssweeny: the version in the ppa is higher16:14
ogra_ouch16:14
ssweenyah, hm16:14
dholbach0.99~tr1071-0nexus7.1 vs 0.98.2-0ubuntu116:14
ssweenyso the version in the PPA is a snapshot of an upcoming release16:14
dholbachare we in touch with upstream?16:14
ssweenyi was lead to believe that the release was coming soon and that it would go straight into raring16:15
dholbachnothing in the sponsoring queue16:15
ssweenythe snapshot has a fix for the performance issue with the ambiance theme16:15
dholbachok, shall I mail upstream and CC you?16:16
ssweenythat would be great16:16
dholbachalright16:16
dholbachwill do16:16
dholbachdone16:19
ssweenygreat, thanks dholbach16:21
dholbachanytime16:21
=== Quintasan_ is now known as Quintasan
=== gatox is now known as gatox_lunch
=== deffrag_ is now known as deffrag
bootidsaAnyone here from meetingology today ?17:13
=== gatox_lunch is now known as gatox
philhugis anyone familiar with the odroid-x2 or -u2?18:37
Quinto68hi someone has pcre package for arm?18:43
Quinto68i have this error18:43
Quinto68error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory18:43
Quinto68hi someone has pcre package for arm?19:20
Quinto68error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory i have this error19:20
lardman|homeIs there any thought to provide dual booting ability for the Nexus 7?19:27
* lardman|home looks at the installer script19:27
lardman|homeAh, I seem to remember someone mentioning that this is often asked.... :)19:27
* Tassadar throws http://forum.xda-developers.com/showthread.php?t=2011403 at lardman|home19:29
lardman|homethis potentially looks to be a better bet: http://forum.xda-developers.com/showthread.php?p=3485359519:31
lardman|homeplace the Ubuntu kernel in the recovery partition, etc.19:31
Tassadarand both android and ubuntu to /data at once?19:32
lardman|homeyeah I'm wondering quite what the deal is there19:32
lardman|homethen again the link you pasted my have changed since I looked at it yesterday19:32
TassadarI am not saying that it does not work, just that it is _kinda_ dirty19:33
lardman|homewould be good to repartition and then install Ubuntu to its own one (as I have a 32GB device)19:33
TassadarI don't think that's really an option19:33
lardman|homeTassadar: I wasn't so keen on the multiboot method of copying boot partition everytime19:35
[mbm]haven't looked at the existing solutions, but it should be pretty easy to create a /data/ubuntu; android will ignore that and the ubuntu initrd would need to be altered slightly to use it as a root19:35
[mbm]I don't think repartitioning is an option given that I don't see an actual partition table19:35
lardman|homethere are the wonderful pit files iirc19:36
lardman|homethough yeah, sounds quite messy19:36
Tassadarlardman|home: me neither, but kexec-hardboot compatibility is already in the ubuntu-nexus7 kernel, just waiting for it to actually get to the devices19:36
lardman|homeif one uses chroot then presumably the Android data won't be available?19:37
lardman|homes/chroot/whatever method to change the location of root19:37
[mbm]depends on the chroot19:37
[mbm]one fun trick is pivot_root19:38
* lardman|home tries to remember the difference19:38
[mbm]which technically only works on mount points19:38
[mbm]pivot_root differs from chroot in that it's global, not just sub processes19:38
[mbm]also it places the pervious root directory as a subdirectory of the new root19:39
lardman|homeI had to do that on the Galaxy Tab kernel to move from initrd to rootfs to boot Mer, but can't remember for the life of me now what the diff was19:39
lardman|homeah yes, that sounds familiar19:39
[mbm]so a common thing might be: mount /dev/root /target; pivot_root /target /initrd; umount /initrd19:39
TassadarI wanted to modify ubuntu as little as possible, so I just move the android to /media/*something* and then move in the ubuntu files :/19:39
[mbm]normally you can't specify an argument to pivot_root that isn't a mount point19:40
[mbm]which would make something like /media/ubuntu or /data/ubuntu annoying19:40
[mbm]the workaround is amazingly simple though19:40
[mbm]mount --bind /data/ubuntu /data/ubuntu19:41
[mbm]and magically it's a mount point suitable for use with pivot_root19:41
Tassadarwould be great to get something like that into ubuntu)19:42
lardman|home+119:42
[mbm]yeah, I want to see a nice dual boot solution19:42
[mbm]bootloader is a different story19:43
Tassadaralso, mounting .img as root would be great, if that's even possible19:43
[mbm]yep, that's easy19:43
Tassadardo tell19:43
[mbm]mount -o loop root.img /target; pivot_root /target /initrd; umount initrd19:44
[mbm]as in, recompile the ubuntu kernel so that the initrd mounts the correct root device19:44
[mbm]part I'm trying to figure out is if there's a better way to handle bootup than booting into a linux kernel which provides a kexec boot menu19:45
lardman|homenormal vs recovery partitions?19:45
Tassadarthen you don't even have the boot menu19:46
lardman|homeor you want to leave the recovery partition functionality?19:46
[mbm]yeah, could put the ubuntu kernel on the recovery partition but then you lsoe access to recovery19:46
[mbm]would be nice if there was a 3rd partition and entry on the existing boot menu19:46
Tassadarwould be nice if the bootloader was open-source)19:47
lardman|home:)19:47
[mbm]yeah, that's the problem19:47
Tassadar...and we had nvflash, so that we could not brick it)19:47
[mbm]frmo what I can tell the hardware is technically locked, and it's simply that unlocking tells the bootloader to ignore signature checks19:48
Tassadarwell, it is nvidia, so...19:49
lardman|homeIs the loss of the recovery partition such a problem - people installing this are going to be used to flashing things I'd expect19:49
[mbm]not 100% certain on that first part though, don't know if nvflash is all that's needed or if the hardware does a signature check on the botloader19:49
[mbm]yeah, but it's more of an annoyance thing; if I'm dual booting and I get an ota update to android, it'll download to the /cache partition and then reboot into recovery with the /cache/recovery/command set to automatically apply it19:50
Tassadarlardman|home: I don't really see the point in using recovery partition once the kexec-hardboot is there19:51
lardman|homeah, I didn't realise that was how it worked19:51
lardman|homeTassadar: sure19:51
[mbm]Tassadar: I know what kexec is, but what's the "hardboot" part?19:51
Tassadaron most android devices, normal kexec just freezes19:52
Tassadardue to drivers not properly initializing, probably19:52
[mbm]well yeah, arm kexec has traditionally been a bit dodgy19:52
Tassadarso "kexec-hardboot" patch was made, which does full hw restart of the device between the boot19:52
Tassadarbasically "fastboot boot" without the fastboot19:52
Tassadargimme a second, I'll find a link to the original patch...19:53
[mbm]that's interesting; any idea how it manages to avoid going into the bootloader after resetting everything?19:53
* [mbm] grabs some lunch (bbl)19:53
Tassadarkexec -e saves some info to RAM (some location where it does not get overwritten on reboot), then reboots normaly19:54
Tassadarthe same kernel checks for that info in early state of boot (in the decompressor), and if it is there, it decompresses the kernel from RAM19:55
Tassadar...that is how I understand it19:55
Tassadarhttp://forum.xda-developers.com/showthread.php?t=1266827 here is the original patch19:56
lardman|homethanks19:57
Tassadarthe con is that it needs 2 small patches in the "guest" kernel, the one which is being booted with kexec19:58
lardman|homeSo the plan would be to place the Ubuntu kernel in the boot partition and need to patch the Android kernel?19:59
Tassadarboth kernels must be patches20:00
Tassadar*patched20:01
lardman|homesure, but which is booted?20:01
lardman|home(first)20:01
TassadarI would recommend the android kernel, since it does not get updated so often and can be easily patched.20:02
lardman|homefine, that makes sense, and presumably one would be able to perform a binary patch on the kernel from Android userspace?20:03
Tassadarwau20:03
Tassadaryou just want to make it difficult :D20:03
lardman|hometo avoid needing to flash a new kernel whenever an update occurs20:03
lardman|homere this post, any ideas on what the Ubuntu image does on first boot that might break something if it's in the recovery partition: http://forum.xda-developers.com/showthread.php?t=126682720:08
* lardman|home goes to look at the image now it's downloaded20:09
Tassadarwell it flashes boot image20:09
Tassadarwhich it also does on every kernel/initrd update20:10
Tassadarso you have to disable that20:10
lardman|homeNot the updater script that runs on the desktop, the image running on the device flashes the boot image too>20:11
lardman|home?20:11
lardman|homes/updater/installer20:11
Tassadaryes20:11
Tassadar12.10 removes the tarball-installer image20:12
Tassadarand 13.04 will change kernel cmdline during installation20:12
Tassadar*tarball-installer package20:12
lardman|homeand it can't know where the running kernel is located I guess?20:13
Tassadarno20:13
lardman|homeok, well at least that explains the need that chap had to reflash the Android kernel20:14
lardman|homeIs the move to using kexec imminent, or is it worth just hacking together a dual boot setup for the time being?20:16
TassadarI dunno where the kernel with patches gets to repositories, so...20:16
Tassadar*when..ohmygodineedsomesleep20:17
lardman|home:) I was just trying to parse that correctly20:17
* [mbm] reads over the kexec threads20:22
[mbm]guessing that the stock recovery kernel isn't patched for hardboot support?20:23
Tassadarnope20:23
[mbm]:/20:23
[mbm]was hoping it would be as easy as replacing recovery with a kexec menu and then using kexec-hardboot to switch between ubuntu and recovery20:24
[mbm]though there's also the pesky problem of /system/etc/install-recovery.sh which takes the existing "boot" kernel, applies a patch and writes it to recovery20:25
[mbm]stupid script gets installed by an ota and run every subsequent boot20:25
Tassadaranyway, heres CM10 kernel with applied kexec-harboot patch: https://github.com/Tasssadar/android_kernel_asus_grouper/commits/kexec-clean20:28
TassadarI even submitted it for review to cyanogenmod, hope it get's there20:28
marvin24ogra_: can we create some nvidia-tegra-dev package with headers needed to compile the gstreamer plugins?22:12
marvin24I don't want to copy them into the source, because I feal they belong to the drivers package22:13
=== Ursinha is now known as Ursinha-afk
marvin24ogra-cb_: ^^^22:15
marvin24basicly these ones (without the OMX_*) https://gitorious.org/nvtegra-gst/gstomx/trees/master/nv_headers22:23
=== Ursinha-afk is now known as Ursinha
mjrosenbooompf23:18
mjrosenbI installed ubuntu on my chromebook using the absurd script that repartitons the disk, and fetches a bunch of tarballs23:19
mjrosenband its kernel wasn't compiled by ubuntu, was it?23:19
mjrosenbI bet it just stole cros' kernel23:19
mjrosenbwhich explains why I can't install perf on it :/23:19

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