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

uberushaximusHas anyone done any work to be able to boot into fastboot from linux? (like adb reboot bootloader)02:00
uberushaximuson n702:01
cwaynefrom a n7 running ubuntu?02:10
cwayneyou can't yet, youd have to just power off + on while holding volume down02:10
lilstevieit shouldn't be too difficult to manually do though02:11
lilstevie(reboot into fastboot)02:11
lilsteviefrom memory it is a bootloader message on misc02:11
uberushaximusif all you have is ssh and you're locked out of where it is, it's helpful02:14
[mbm]uberushaximus: 'adb reboot bootloader' just runs the command 'reboot bootloader' and reboot then passes 'bootloader' as an argument to the kernel reboot function, so really it's all about which kernel was used06:57
ogra-cbhrw, lol, did you notice that if you copy the while content of /opt from the cros disk to ubuntu, copy two additional libs and run /opt/google/chrome/chrome, you actually get the chromeos desktop in a window11:32
ogra-cbs/while/whole/11:33
ogra-cbit seems to require working gles though, its ultra slow11:33
ogra-cbbut i bet with working 3d accel it will work fine, so you could use the whole browser with all plugins (incl flash and hangouts) under ubuntu11:35
hrwogra-cb: nice12:00
hrwogra-cb: copy /usr/lib/lib{mali,EGL,GLES,GL}* and you may have opengles12:01
ogra-cbtried already, isnt enough12:01
hrwI was able to run glmark2-es once12:01
ogra-cbi need wiorking armsoc for that i think12:01
hrwah12:01
hrwhave to put it into ppa12:01
* ogra-cb is on fbdev12:01
hrwlet me create package12:01
hrwI am on armsoc12:01
hrwgive me 30 minutes :)12:02
ogra-cbi didnt upgrade the system from precise yet12:02
ogra-cband tryig to build it myself failed due to missing deps12:02
ogra-cb(libdrm-omap or so)12:02
hrwapt-getbuild-dep xf86-video-omap or sth like that12:02
ogra-cbthats not in precise12:03
hrwok12:03
hrwI run raring12:03
ogra-cbi know12:03
ogra-cb:)12:03
ogra-cbwasnt breave enough to upgrade yet12:04
ogra-cbthe touchpad works flawless for me with evdev btw12:04
ogra-cbincluding all the multitouch stuff12:04
ogra-cbi had to adjust accel and snesitivity a bit through the UI tool but after that its not worse than in cros12:05
hrwshare accel/sens values?12:05
ogra-cboh, weeme it doesnt persist over reboots, heh12:06
ogra-cb*seems12:06
ogra-cbso it use the defaults since a while12:06
ogra-cbnevermind12:06
hrw;D12:07
hrwpackage sent to ppa12:07
ogra-cboh, cool, i just found out that two finger scrolling works12:09
hrwboth directions12:09
ogra-cbjust needed to enable it in the gnome gui12:09
hrw1,2,3,4 finger tap too12:09
hrwno idea what for 4tap is anyway12:09
ogra-cbit defaults to edge scrolling, that doesnt really work right12:09
ogra-cb4 tap brings up the dash in unity12:10
ogra-cbso likely emulates the super key in other envs12:10
* lilstevie is jealous 12:10
lilsteviethe tf dock trackpad refuses to work properly with anything12:11
ogra-cbsad12:11
lilstevieeven with mtrack12:11
lilsteviemtrack works, but gives no scrolling ability at all12:12
lilstevieat which point one might as well force single touch mode in the driver12:12
ogra-cbrouchpads are dead anyway in the aera of bathroom windows^W^W windows 812:12
ogra-cbtouch12:12
lilstevieheh12:12
hrwogra-cb: super key is on 'find' key12:14
ogra-cbyeah12:14
ogra-cbwhich gets pretty annoying in unity over time12:14
ogra-cbi always accidentially hit it12:14
hrwremap it?12:14
ogra-cbyeah, i will if that goes on12:15
hrwI would love to have usable xkb editor12:15
hrwlack of pgup/down suxx12:15
ogra-cbi actually would like to get unity3d in raring to work though, then i'll likely need it12:15
ogra-cbas a comparison system for the nexus12:15
ogra-cb++12:16
ogra-cbyou could try to remap shift up/down tp pgup pgdn12:16
ogra-cbor something like that12:16
ogra-cbbeond the mapping issues i'm really impressed by the kbd12:17
hrwogra-cb: you have UK or US one?12:19
ogra-cbuk12:20
hrwI will work on using find up/down for pgup/down12:20
hrwshift+up/down are already useful12:20
ogra-cbhwwhat ppa did you upload to ?12:55
ogra-cbhrw, ^^12:55
hrwhrw:my-own-packages12:55
hrwor rather: ppa:hrw/my-own-packages12:56
ogra-cbk, i dont see anything there12:56
ogra-cbalsa-lib is the latest12:56
hrwI see12:56
* ogra-cb finds it funny that the battery meter can act as a load meter 12:57
ogra-cbif i scroll a lot in firefox the remaining time drops significantly, as soon as i stop scrolling it bumps up again12:57
hrw;)12:58
hrwI know why no ppa12:58
ogra-cbyou uploaded to raring directly ?12:58
ogra-cb:)12:58
hrwforgot -sa12:59
ogra-cbah12:59
hrwI need to sort out versioning13:00
hrwarmsoc driver has upstream, fork, different versions etc13:00
ogra-cbah, i see it now13:01
hrwI am thinking about using 0.0+gitYYYYMMDDrSHAID version13:01
hrwLinaro upstream is at 0.5.1, Chromium fork is 0.0.1 but has code from 0.4* etc13:02
persiaThat's safe as an upstream version13:02
ogra-cbyeah, sounds sane13:02
persia(only 0.0.0~ or similar breaks stuff)13:02
ogra-cbso i wonder if i can make that build on precise13:02
hrwogra-cb: if you get b-d packages then it will work13:02
ogra-cbor if i have to upgrade and lose my desktop13:03
ogra-cbywah, that might take some effort13:03
hrwI want to replace my patch with patches from xf86-video-omap x11 update but need some time to fix it13:03
ogra-cbah, i just needed to pull libdrm from quantal13:10
ogra-cbbah, or not13:11
ogra-cbfailed13:11
ogra-cbomap_dri2.c: In function 'OMAPDRI2ScreenInit':13:12
ogra-cbomap_dri2.c:586:4: error: unknown field 'ReuseBufferNotify' specified in initializer13:12
ogra-cb:(13:13
ogra-cbhrw, did you just dist upgrade from precise to raring or did you properly use update-mamanger ?13:19
ogra-cbhaha13:24
ogra-cb"your graphics may not be fully supported in 12.10, you might end up with a slow desktop ...."13:24
hrwapt-get dist-upgrade as usual13:25
ogra-cbwell, i'm going the proper route now13:26
=== ben1066_ is now known as ben1066
TassadarHi, is there somebody involved with the Nexus 7 port of Ubuntu? I'd like to discuss dual-booting ubuntu with android.13:59
hrw14:02
ogra-cbTassadar, no plans to work on it ... see https://wiki.ubuntu.com/Nexus7/FAQ#Do_you_plan_to_support_dual_booting_Ubuntu_and_Android.3F14:03
TassadarNo, I mean I did it, and I'd like to ask some details about how to change some things in ubuntu to make it work better14:04
ogra-cbit will definitely break with one of the next kernel upgrades14:05
ogra-cb(or with the next package that triggers regeneration of the initrd, whatever happens first)14:05
TassadarYeah, I know, that is why I am here :)14:06
ogra-cbit would require massive changes to the design of flash-kernel14:06
Tassadarthe ramdisk which it flashes must be generated from something, no?14:07
ogra-cbupdate-initramfs from the initramfs-package dooes that14:07
ogra-cbany package can trigger such a rebuild and the last step of update-initramfs is to flash the new initrd to the boot partition14:08
Tassadari'd only need to move init -> main_init, add my own init binary, busybox and one symlink to the ramdisk14:08
ogra-cbusing flash-kernel14:08
ogra-cbthat wont prevent flash-kernel from flashing over the android kernel;14:09
Tassadarthat is okay14:09
ogra-cbit will trash your android every time it runs in the current setup14:09
TassadarI use different boot.img for both android and ubuntu14:10
lilstevieogra-cb, "Can we remove the Google Logo from the bootloader? There are no firm plans to try this, although it may be possible. Patches welcome!" <-- most likely not, the bootloader is sigchecked on flashing, even while unlocked14:10
Tassadarmy init then asks you what to boot, and it will either proceed with boot, or flashes new boot.img and restarts14:10
Tassadarit is the only solution I could think of, besides kexec, which is pretty hard to make working :/14:11
ogra-cbyou flash on every boot ?14:11
lilsteviekexec would be fine with the hardboot hack14:11
lilsteviethat is what I do for the tf20114:11
ogra-cbthat will kill your MMC at some point14:11
lilstevieexactly why I didn't go with something like that :p14:11
Tassadarlilstevie: that is not much faster than reboot, but I'll look into that14:12
Tassadarogra-cb: no, not every, only when it is needed, eg. android->ubuntu and vice-versa14:13
ogra-cbwell, indeed, thats what i meant14:13
lilstevieTassadar, it is no faster than a reboot, just a hell of a lot less mmc wear14:14
Tassadarthe problem is it would require kernel modification14:14
lilsteviethat it does14:14
lilstevieat this stage14:14
lilsteviealthough we have been looking into some changes to solve that14:14
Tassadarsomebody on XDA had idea if fastboot boot *boot.img* could be used in some way, but I am do not think that bootloader sources are available14:17
ogra-cbwell we use fastboot for flashing the same way14:18
ogra-cbi guess thats possible14:19
ogra-cbbut you need a second machine14:19
ogra-cband need to boot into fastboot mode14:19
Tassadarwell, I was thinking that if fastboot just puts the boot image somewhere in ram and then restarts the device, then it could be possible to do the same without fastboot mode, but then again, hard to say without sources, it probably does not even restart the device after fastboot boot :/14:20
lilsteviewhy would it reboot?14:21
lilsteviefastboot boot just loads the kernel into ram, then calls the boot method14:21
Tassadarno reason, thats just me hoping it would be so easy)14:21
Tassadarlilstevie: I have the kexec-hardboot patch opened, and I see KEXEC_HB_PAGE_ADDR define - i suppose this needs changing, where exactly should it be? The value in patch (0x57fff000) doest not remind me of anything14:39
lilstevieTassadar, is that the original, or the one we have for the tf201. I don't have the source right in front of me this second14:42
Tassadarit is the one for epic 4g, so the original I suppose. Is the one for tf201 on XDA?14:42
lilstevieit is on github14:42
lilsteviegimme sec, have the code in front of me now14:43
lilstevieright14:44
lilstevieHB_PAGE is the page that the decompressor reads to check for the hardboot flag14:44
lilstevieit ideally should be part of standard memory that is out of the way of anything that may run over it during the hardboot cycle14:45
Tassadarso something near the ram_console should be ideal14:46
lilsteviefor the TF201 we have it at 0xBEC0000014:46
lilsteviewhich is a little before fbmem14:46
lilstevieyou really need to check what the memory layout is for your device14:46
lilstevieoriginally we had it at ram_console-SZ_1M but that was inside bootloader fb14:47
lilstevieit really depends on memory layout14:47
lilstevieyou shouldn't need to worry about normal kernel operations, or userspace hitting it, it is one of the last things set before the reboot, and one of the first things checked in the decompressor14:48
Tassadaryeah, well, I really feel I need a bit more knowledge to do this - so, decompressor == part of bootloader, which decompresses the kernel (zImage)?14:50
lilsteviedecompressor == part of the kernel14:51
lilsteviespecifically the first code to be executed from the kernel14:51
Tassadarokay, so the kernel like, decompresses itself?14:52
lilstevieyes14:53
Tassadarlilstevie: how do I check the memory layout?15:17
hrwhm... opengles works only for root15:23
hrwlibGLESv2.so.2 => /usr/lib/arm-linux-gnueabihf/mali-gles/libGLESv2.so.2 (0x76d9f000)15:24
hrwideas?15:25
tassadarlilstevie: could you please send me link to that github repo with hardboot kernel for tf201?16:37
ogra-cbhrw, yay, unity 3d !17:09
ogra-cbhrw, your package needs a udev rule to make /dev/mali0 writable for the user (just hand it to udev-acl)17:14
ogra-cbhrw, hmm [   730.601] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so: cannot open shared object file: No such file or directory)17:24
ogra-cbhrw, /lib/udev/rules.d/69-mali-gpu.rules17:50
ogra-cbhrw, http://paste.ubuntu.com/1348470/17:50
ogra-cbhrw, makes GLES work OOTB here for non root users17:51
ogra-cbhrw, or better http://paste.ubuntu.com/1348479/17:52
ogra-cb(without mentioning tegra :P )17:52
=== sv is now known as Genki
=== Genki is now known as Sv
ogra-cbhmm, so dpms is really broken with the armsoc driver21:32
FreezingColdhttp://www.chromestory.com/2012/10/how-to-install-ubuntu-on-the-new-arm-chromebook/22:57
FreezingColdHow can I do that except install it to the SSD?22:57
FreezingColdDon't really need or want ChromeOS on it22:57
FreezingColdI'll be idling for awhile, just ring me if you know23:09

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