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

=== Three is now known as Three_Laws_Safe
ptltassadar, I think the android kernel is the one used, isn't it?01:04
lilstevieptl, it is, but it has been modified to work with ubuntu better.01:07
=== zz_chihchun is now known as chihchun
dholbachgood morning08:00
fmoreausigh.... and  now the touchscreen doesn't work :(09:06
aquarathi... I'm trying to flash the rootfs.img image to my 32GB nexus 7... "fastboot flash userdata rootfs.img" fails with "error: cannot load..."11:11
aquaratany idea why that'd occur ?11:12
ogra_which rootfs.img is that ?11:12
aquaratthe sha sums check out11:12
ogra_(where did you get it)11:12
aquaratit's the one that the installer downloads11:12
ogra_is it a 3G model ?11:12
aquaratno11:12
aquaratwifi11:12
aquaratI didn't know there was a 3d model lol11:12
aquarathttp://hwe.ubuntu.com/uds-r/nexus7/32GB/rootfs.img11:13
ogra_well, bug 107972911:13
ubot2Launchpad bug 1079729 in ubuntu-nexus7 "Ubuntu uninstallable on 32GB 3G Nexus 7" [High,Confirmed] https://launchpad.net/bugs/107972911:13
aquaratah11:13
ogra_not sure if all 32G models have the changed partitioning11:13
aquaratI have a 16GB model too11:13
aquaratI just figured that my experimental tablet should have more space11:13
aquaratthanks for the help :)11:14
RaYmAnthe changed partitioning shouldn't affect *flashing* though11:14
ogra_there are some experimental raring images, the next build should have the install fix11:14
RaYmAnbootloader maps 'userdata' to the right partition11:14
ogra_yeah11:14
aquaratif the image is bigger than the partition ?11:15
aquaratthat would surely affect flashing11:15
ogra_it shouldnt be11:15
RaYmAnit's quite unlikely the image is bigger than the biggest partition on the tablet ;)11:15
aquarattrue ;P11:15
RaYmAnwhat is the exact error you get though?11:16
RaYmAn"error: cannot load..." doesn't tell much :P11:16
aquaraterror: cannot load './rootfs.img'11:16
aquarat^^^ exact error11:16
aquaratI am doing this on an ODROID-X11:16
aquaratthat may make a difference11:16
RaYmAnthat sounds more like the rootfs.img you are trying to flash is missing from the directory you run the command from...11:17
aquaratit flashed the bootloader fine11:17
aquaratI can assure you it's in the right directory11:17
aquaratand that the command is being executed in the right place11:17
* aquarat rechecks anyway11:17
aquaratyup11:17
RaYmAnso many people just get that stuff wrong, so better to verify, hehe11:18
aquaratof course11:18
aquaratI make stupid mistakes sometimes11:18
aquaratI can try giving fastboot an absolute path11:19
aquaratbut as I said, the boot image flashed correctly11:19
aquaratnope, that doesn't work either11:20
RaYmAnthe interesting thing is that it's exactly the error it gives if you do e.g. 'fastboot flash userdata nonexistant.img'11:21
aquaratI could try the normal installer again11:22
=== chihchun is now known as zz_chihchun
aquaratinstaller dies too11:23
ogra_is your disk full or some such ?11:24
aquaratdisk has 578MB of space remaining11:24
RaYmAnwhat os are you using?11:24
aquaratlinaro variant of ubuntu11:25
aquaratintended for the origenboard11:25
aquaratI should probably just try this on an x86 desktop11:25
* ogra_ doesnt think the installer was ever tested on arm11:25
aquaratit's not really the installer11:25
aquaratit's fastboot11:26
RaYmAnaquarat: does the user in question have read access to the file?11:26
ogra_no reason for it to fail though11:26
RaYmAnit gives the same, unhelpful error if it doesn't11:26
aquaratyes... sha256sum works on the file11:26
aquaratand I've chmodded it to 777 just in case11:26
RaYmAnfunky11:26
aquaratpitty fastboot doesn't have a -vvvv11:26
ogra_not even a -v :)11:26
aquaratuh huh :(11:27
ogra_did you use the packaged fastboot from the archive/PPA ?11:27
aquarater... I don't know... I just typed "fastboot" in the terminal and it responded11:28
ogra_i know for sure that i can flash my nexus fine from my raring chromebook11:28
ogra_using the fastboot package11:28
aquarat"android-tools-fastboot"11:28
ogra_yep11:28
aquaratis the package11:28
aquaratah well... I'll try later from an x86 machine11:29
aquaratand let you know :)11:29
ogra_k11:29
fmoreaudoes the touchscreen require any trick to work ?11:39
fmoreauI mean to work with X11:39
fmoreauthe kernel driver reports events but it seems that X simply ignores them11:40
lilsteviefmoreau, which image is that using? your debian one?11:45
fmoreaulilstevie: yes.11:47
kulvewhich hw?11:47
lilsteviefmoreau, last I looked debian doesn't have all the multitouch enhancements that canonical have put into evdev11:48
lilsteviefmoreau, you may have to use one of the multitouch libs available11:48
kulvelilstevie: are those enhancements n7 specific or are they in their generic evdev driver?11:50
lilsteviekulve, against the generic evdev driver11:50
fmoreaulilstevie: multitouch ? but is that required to make the touchscreen work with "single" touch mode ?11:50
kulvefmoreau: I noticed that my Xorg's evdev driver didn't understand the evdev from the kernel. I used mtev driver for X.Org and with that it worked in the multitouch mode11:51
lilsteviefmoreau, I haven't looked closely at the n7 touch driver but 99% of these android devices touch screen drivers do not report in "single touch" mode only with multitouch protocol11:51
fmoreaulilstevie: I see thanks for those hints.11:51
lilstevieI would use mtev as kulve said11:51
fmoreaukulve: hmm, I can give it a try thanks11:52
kulvehmm. ubuntu's Xorg evdev driver requires libmtdev111:52
lilsteviethat is what I was using back with the SGT7" with 11.0411:52
ogra-cb_fmoreau, https://launchpad.net/ubuntu/raring/+source/ubuntu-defaults-nexus7/0.3311:54
ogra-cb_there is a rootfs/uusr/share/X11 dir in that package11:54
ogra-cb_grab the content11:54
ogra-cb_xorg recognizes the touchscreen as mouse without these files11:55
fmoreauogra-cb_: I already have that one: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/raring/ubuntu-defaults-nexus7/raring-proposed/view/head:/rootfs/usr/share/X11/xorg.conf.d/21-nexus7-rotation.conf11:56
fmoreauand looking at Xorg.log, it doesn't seem to be seen as a mouse11:56
fmoreausee for example: http://pastebin.com/Z6RXmc8Y11:57
ogra-cb_yeah, looks fine11:58
ogra-cb_xnox, so i'm wondering ... spitting out three images for the nexus7 (8/16/32G) will eat a lot of space on cdimage ... if we would instead provide the raw tarball and call make_ext4fs from usb-creator we could save that12:06
ogra-cb_but would lose oversized checking indeed (or would have to put it into usb-creator too)12:07
xnoxogra-cb_: true. what about the bootimg? is it the same for all three?12:07
ogra-cb_it can be, yeah12:07
xnoxogra-cb_: with iso's we already do a bit of unpacking & shuffling around.12:07
ogra-cb_it would indeed mean more instructions for manual installing people12:08
xnoxogra-cb_: well, what I am hinting at is ship a flashable 8GB image, but make usb-creator repack it for 16 & 32.12:09
ogra-cb_yeah, thats definitely doable as well12:09
ogra-cb_8G will become pretty rare in the future12:09
xnoxwell yeah, it's no longer available for sale12:13
xnoxthere is now a model with 3G though =)12:13
ogra-cb_i know12:13
ogra-cb_just fixed a bug for it12:13
ogra-cb_(different partitioning)12:14
xnoxnexus 4 is sold out =(12:14
ogra-cb_it will return ... just be patient12:14
* ogra-cb_ would rather have a nexus 10 12:14
* Tassadar would rather have all of them12:15
ogra-cb_heh12:15
ogra-cb_well, the nexus 10 is essentially a chromebook in a different shell12:15
kulvefmoreau: the latest upstream xorg evdev driver is using mtev and ubuntu has only one patch on top of that (use-sigsafe-logging.diff) so maybe you just need to upgrade your Xorg evdev driver?12:15
xnoxogra-cb_: are we doing nexus10?12:16
ogra-cb_so it should be reallly easy to get ubuntu running12:16
ogra-cb_xnox, not to my knowledge12:16
Tassadarhmm, I sent patch to kernel-team mailing list yesterday, but it did not show up in the mailing list archives12:16
TassadarI wonder where it went Oo12:16
fmoreaukulve: yes. I'm just giving mtev a try to see if that fixes the issue. If so, I'll do what you suggested. Thanks !12:17
ogra-cb_but nobody stops a community image (apart from infinity who will cry about all the builds and only a single livefs builder)12:17
ogra-cb_Tassadar, are you subscribed ? else it will get into moderation first12:17
Tassadaroh, that I am not12:18
ogra-cb_you should have gotten an answer mail telling you yours waits for moderation12:18
Tassadarnothing like that12:19
ogra-cb_spam filter catched it ?12:19
Tassadarno, checked that12:19
ogra-cb_well, probably ask in #ubuntu-kernel12:20
cjwatsonCan anyone decipher https://launchpadlibrarian.net/123744966/buildlog_ubuntu-raring-armhf.gmp_2%3A5.0.5%2Bdfsg-2ubuntu2_FAILEDTOBUILD.txt.gz for me?  It's a new failure from what should have been an unrelated upload; it built three weeks or so ago.12:21
cjwatson(It also failed on amd64 due to what appears to be a compiler configuration bug, but not one that seems likely to be related to ARM.)12:21
=== albert is now known as Guest44735
ogra-cb_hmm, linker assembly issues, i guess that needs doko or infinity12:24
fmoreaukulve: is the latest upstream evdev driver you were refering is 2.7.3 ?12:27
ogra-cb_cjwatson, any hints on https://wiki.ubuntu.com/ARM/Thumb2PortingHowto ?12:29
ogra-cb_o wonder if USE_THUMB=1 possibly means use thumb112:30
ogra-cb_s/o/i/12:30
cjwatsonwouldn't it have failed three weeks ago if it were a thumb issue?12:30
cjwatsonor am I missing something there?12:30
kulvefmoreau: I just checked from the git browser, so the most fresh commit12:30
ogra-cb_dunno, was it changed inbetwween ?12:30
* ogra-cb_ grabs the source12:30
cjwatsonit had USES_THUMB=1 then too12:31
ogra-cb_ah, k12:31
cjwatsonI sponsored a patch from wookey, but not one that would have affected armhf12:31
ogra-cb_there was a libc upload inbetween though, wasnt there ?12:31
ogra-cb_three actually12:32
cjwatsonI guess I'm not sure what isn't ARMish about "str r1,[ r0 ]"12:33
ogra-cb_nothing that looks related though12:33
ogra-cb_ah, binutils got updated too12:33
ogra-cb_on wed.12:33
ogra-cb_"- arm, aarch64 and x32 updates."12:34
ogra-cb_i guess its either a buildd hiccup or that upload12:35
* ogra-cb_ grumbles about the chromebook designers12:36
ogra-cb_as shiny as having a normal key on the kbd for power ... putting it where the del key normally would be is really annoying12:37
ogra-cb_s/power/power is/12:37
lilstevieogra-cb_, heh the transformer keyboard has a lock key there, I ended up remapping the key at a driver level back to delete cause of accidental sleeps12:39
lilstevieand at one stage there was a bug with sleeping, where it would not come back12:39
ogra-cb_well, ubuntu sets [pwer to pop up a window by default, so at least i dont go to sleep twice an hour12:40
lilstevieyeah that isn't too bad12:40
ogra-cb_but i have to cancel the sutdown countdown all the time indeed12:40
lilstevieheh12:40
lilsteviethere was never any hesitation with the sleep button, just off it went12:41
ogra-cb_yeah, that one just calls pm-suspend12:41
ogra-cb_you should be able to disable it in dconf-editor though12:41
lilsteviewas easier to just remap :p12:42
ogra-cb_yeah, i dont thinnk i can easily remap power12:42
ogra-cb_it will very likely stiill sent the power event12:42
lilstevieyeah probably12:43
lilstevieat least with the sleep button it is just a scan code12:43
lilstevieand the driver doesn't even report most of them without changing them cause KEY_ASUSDEC_* scan codes do not line up with what evdev or any other sane driver will be expecting12:44
* ogra-cb_ hugs xnox 13:28
xnox?13:28
ogra-cb_plymouth :)13:28
xnoxoh, you wanted it for arm?13:28
ogra-cb_well, i wanted to have the new version before going on to debug the nexus13:29
ogra-cb_since thats supposed to have a bunch of fixes for console= handling13:30
* xnox just doesn't like the 300kB of text here http://people.canonical.com/~ubuntu-archive/proposed-migration/update_output.txt13:30
ogra-cb_yeah13:30
ogra-cb_i would have jumped on plymouth on monday13:30
ogra-cb_if you hadnt done it ...13:30
xnoxyeah about the console= handling. I am not entirely convinced that our vt_handoff patches interfere with that or not.13:30
ogra-cb_this week is simply nexus image build week for me13:30
ogra-cb_well, if it still fails i'll do some tests13:31
ogra-cb_i have high hopes it gets better though13:31
kulvefmoreau: btw, I never got the fastboot flash -S working, so tell me if it works for you. Currently I'm creating 4GB file system but it has to have at most ~700MB of data on it or the flashing fails13:35
kulvehmm.. I did try it only with the original fastboot. Maybe the Android MR1 updated also the fastboot?13:36
TassadarIs it bootable yet? I would try to make instalation zip for recoveries, like android ROMs do13:36
* xnox ponders if it matters whether or not the tablet is OTA updated to the latest (post nexus4) multi-user android 4.2 firmware update13:37
Tassadarthe bootloader was updated in 4.213:37
xnoxogra-cb_: did you update the android side of nexus7 ever?13:41
* xnox lols over surface pricing13:48
* Tassadar lols over the actual free memory of 32gb surface13:48
fmoreaukulve: do you mean that fastboot can load an image of 4Go if it's full of zero ?13:50
kulvefmoreau: the file itself is smaller, but somehow the imag is still 4GB. I don't know the details, but make_ext4fs (iirc) makes it happen14:06
fmoreauwill try to use make_ext4fs then.14:08
fmoreaukulve: the touchscreen is finally working :) well almost, because for some reason the Invert{X,Y} and swapAxes options are not working14:09
kulveit's a bit buggy though, I can give you details later, when I have a keyboard instead of a phone :)14:09
kulvefmoreau: which xorg driver?14:10
fmoreaulatest evdev14:10
fmoreauas you suggested14:10
kulveok, great14:11
fmoreaukulve: when you'll get a keyboard, please send the gory details so I can try to make it works eventually :)14:14
kulvefmoreau: did you upgrade to android 4.2?14:17
fmoreaufor the kernel ?14:17
ogra-cb_xnox, not beyond the upgrade i got directly at startup of the device14:17
kulvefmoreau: for the fastboot14:17
xnoxogra-cb_: ack.14:18
fmoreaukulve: nope I'm still 4.114:21
kulvewell, maybe I'll try upgrading on sunday..14:22
Laneyso does the existence of nexus 7 images mean that nux is fixed and i can remove the pinning?14:25
ogra-cb_nope14:26
ogra-cb_it just means that the images currently ship with a broken nux14:26
ogra-cb_and the current one is still to big, only lucky people for which fastboot -S works can use it atm14:27
ogra-cb_that part should change with the next build though, nux not yet14:28
janimoogra-cb_, what is the issue with -S exactly? Unknown bug?14:34
ogra-cb_janimo, yeah14:35
ogra-cb_you get a corrupt unmountable fs on the target disk14:35
ogra-cb_i suspect some dicrepancy between the fastboot on the device and the PC14:35
ogra-cb_*dis14:35
janimoogra-cb_, well the bootloader ROM versions are different across devices14:36
janimoand some Android upgrades also change them14:36
ogra-cb_right14:36
janimomaybe we could find out if only certain versions have it14:36
janimoHaving an android style .zip upgrade tarball has its advantages I guess14:37
janimofastboot may not be as well tested14:37
ogra-cb_yeah, probably14:37
ogra-cb_well, we would still use fastboot for flashing the zip14:38
janimoadb to the recovery14:38
janimobut maybe neds rooting unless the zip is google's, I don't know14:38
ogra-cb_you cant rely on the fact that all devices we'll support will have actual recovery available14:39
Tassadaryeah, needs custom recovery to flash updates not-from-google14:40
Tassadarwhich means unlocked bootloader14:40
ogra-cb_well, we always need an unlicked bootloader14:40
ogra-cb_heh14:41
ogra-cb_*locked14:41
janimoright, oem unlock is a given for our case14:41
ogra-cb_but if you run into devices like i.e. the ac100 where an update makes recovery a no-op you are screwed relying on a recovery mode14:42
ogra-cb_fastboot flash is simply wjat all oem unlocked devices know14:42
ogra-cb_i think the grub/casper-lupin way is the way for the future though (13.10 and later), that should give us other compression abilities14:44
ogra-cb_so then this issue wouldnt bite us anymore14:44
ogra-cb_for 13.04 we should simply just keep the seed small14:44
fmoreaucan someone point me out the location of the fastboot repository ?14:46
fmoreauI don't know if it's me but I'm always having hard time to figure out where the stuff are for android project...14:46
Tassadarhttps://android.googlesource.com/platform/system/core/14:48
Tassadarits in here14:48
fmoreauthanks14:55
fmoreausad... can't do a simple "make" to build fastboot.14:56
* Tassadar looks at 4 android repositories on his disk, each one to build just one small part14:57
Tassadaryeah...14:57
fmoreau:)14:58
ogra-cb_just apt-get source the package, then replace the .c files as needed/wanted15:04
dokoogra-cb_, is this a new upstream?15:05
ogra-cb_though i think we have the code from a very recent master checkout15:05
ogra-cb_doko, what ? cjwatson's gmp FTBFS ?15:05
ogra-cb_i doubt that15:05
ogra-cb_diwic, did any of the pulse and alsa bits from the nexus7 defaults package into rating already ?15:12
ogra-cb_*go into15:12
diwicogra-cb_, no15:13
ogra-cb_k, good, since i didnt remove them from the package when i uploaded it15:13
ogra-cb_if that stuff goes into regular packages, please let me know so i can clean up the default package15:14
diwicogra-cb_, ok, so far I think it's quite specific15:18
ogra-cb_as the pandaboard stuff or the ac100 bits are15:19
ogra-cb_we still ship their ucm files in the regular packages15:19
diwicYeah, I've always wondered why we do that, especially for x86...15:22
diwicachiang, no news on the no-sound-before-s3 issue?15:23
kulvefmoreau: make_ext4fs comes in a package android-tools-fsutils (take it from the ubuntu's repos). Then create the image like this: "sudo make_ext4fs -s -l 4G rootfs.img /path/to/roofs". For me it failed if I had the normal /dev files there, so my /dev is empty. But I also have the automount /dev option turned on in the kernel15:23
achiangdiwic: sorry, i didn't get a chance to escalate to nvidia yet. i will do that soon15:24
fmoreaukulve: thanks. I'm actually facing the issue with /dev/.15:25
cjwatsondoko: of gmp?  no, just a trivial patch15:25
fmoreauwas looking at the code of make_ext4fs15:25
kulvefmoreau: is it option for you to turn the kernel option on? It stupid anyway to have some initial files there as tmpfs is probably mounted to /dev quite soon anyway15:26
kulve+typofix15:26
fmoreaukulve: are you talking about this option CONFIG_DEVTMPFS_MOUNT ?15:28
diwicachiang, ack15:29
kulvefmoreau: I think so.15:29
fmoreaukulve: then it's already on15:29
kulvethen you should be just fine with empty /dev as the kernel will mount it right after it mounts the rootfs15:30
fmoreaukulve: ok15:30
fmoreauthanks15:30
kulveDEVTMPFS_MOUNT: "Automount devtmpfs at /dev, after the kernel mounted the rootfs", yeah that's it15:31
fmoreaucool15:32
fmoreaubut make_ext4fs should handle file devices... I'm wondering why it's failing.15:33
fmoreaus/should//15:33
fmoreauperhaps I'm running an old version of make_ext4fs but the source I'm looking at does handle special dev files.15:38
fmoreauand I've no idea how to rebuild make_ext4fs...15:42
fmoreauanyways I'm going to try to boot with an empty /dev15:42
fmoreaukulve: works fine :)15:45
fmoreaukulve: BTW, make_ext4fs is only used in order to create a ext4 fs without root permission or does it provide more ?15:52
kulvefmoreau: "without root permission"? I've used it to create 4GB image that fits into the 700MB flashing limit. And I'm using 4GB without any particular reason. I think 13GB should be fine for 16GB n716:13
Tassadarfmoreau: you mean why mkfs.ext4 isn't used?16:19
fmoreauTassadar: yes. But I think that the answer was given by kulve when he suggested to use '-s' switch16:20
fmoreaukulve: doing : make_ext4fs -s -l 13G rootfs.ext4 rootfs => rootfs.ext4 794M16:21
Tassadarit does not create normal ext4 image, but special "sparse" image16:22
fmoreauTassadar: does the "sparse" image need a special fasboot's option ?16:25
fmoreauwhen flashing it.16:25
Tassadarno, it is the format for fastbooot16:25
Tassadarit cannot flash normal ext4 image I think16:26
Tassadaras you can see, it is only as big as are the data in it16:26
fmoreauTassadar: well I'm flashing normal images.16:26
fmoreauI don't think flasboot reads the content of the images actually16:27
fmoreauTassadar: but sparse image can't be mounted on the host16:28
Tassadarexactly, that is why I think fastboot actually reads the image16:29
fmoreauwhich value should I pass to fastboot with '-S' ?16:30
Tassadarogra-cb_ said 630M I think16:32
fmoreausudo fastboot flash -S600M userdata ../rootfs.ext416:33
fmoreauInvalid sparse file format at header magi16:33
fmoreau...16:33
fmoreauweird.16:33
Tassadarmaybe you have too old make_ext4fs..?16:34
fmoreauno idea, and those tools have no version num :-/16:35
rbasakinfinity: around? To generate cloud ARM images for machines that need mkimage wrappers to netboot, I'm going to need to hardcode load addresses and mkimage calls into the image generation scripts. Which is horrible. What do you think about modifying flash-kernel to be able to produce images for named boards, but to stop short of "installing" them?16:47
rbasakEg. "flash-kernel --write-uImage-only -o /where/I/want --machine '...'16:48
rbasakLooks like that'll need some surgery to flash-kernel though, and we'll want to sync with Debian on that16:48
kulvefmoreau: for me all sizes to -S failed. Give the image that you can flash without -S with e.g. "-S 256M". It is then sent and flashed 256M at a time16:51
kulvewithout -S you should be able to flash also normal ext4 images (less that 700M). -S understands only the sparse images16:52
fmoreauI'll try to make -S work since I'd like to use all space available on the flash.16:53
kulvemy wild guess is that the fastboot in n7 doesn't understand the -S and flashes all pieces to the start of the partition and then the kernel can't mount it because in practice there is only the last piece of the image16:53
fmoreaumy wild try is to use all latest version (including the bootloader) and hope that it will work.16:54
kulvefmoreau: I would first flash the android 4.2 and only then try with the -S. But I'm guessing that the new fastboot wouldn't work with -S either..16:54
kulveI would too like really much to get the -S working..16:55
fmoreauI'm going to try the new bootloader from 4.216:56
fmoreaukulve: with bootloader v4.13, I also got this: "Invalid sparse file format at header magi17:03
fmoreau"17:03
fmoreauthen17:03
fmoreausending sparse 'userdata' (443531 KB)...17:03
fmoreauOKAY [ 61.174s]17:03
fmoreauwriting 'userdata'...17:03
fmoreauFAILED (remote: (NotSupported))17:03
kulvethat shouldn't happen if you give it the image created with make_ext4fs17:04
fmoreauimage created with "make_ext4fs -s -l 13G rootfs.ext4 rootfs"17:04
fmoreauohh wait17:05
Tassadar443531 KB?17:05
Tassadar:P17:05
kulvethe actual file size doesn't need to match the partition size17:07
Tassadaryeah, but he says his image has 790MB17:08
=== forcev is now known as FunkyPenguin
fmoreauok this time the image has been flashed successfully but the kernel panic when mounting the rootfs.17:11
kulvefmoreau: yeah, that happens when the -S doesn't work properly17:12
kulvei.e. that's what I get always17:12
fmoreauok17:12
fmoreaubut sometimes it might work, so I'm going to try a couple of times.17:12
kulvesomebody claimed that it might work occasionally but I tried 10 times in a row without luck..17:13
fmoreauI'd like to try the latest version of fastboot but seems to be painfull to build.17:14
kulveI doubt you can flash it17:15
Tassadarfmoreau: what distro do you have?17:15
kulvebricking the bootloader could brick the whole device17:16
Tassadarit will brick the whole device17:16
Tassadarit has already happened several times on XDA17:17
Tassadarbut he means "fastboot" as the program on PC, not the bootloader17:17
RaYmAnit won't let you flash a bl not signed by google anyways (N7 that is)17:18
kulveI think the problem is that the fastboot on the device side doesn't understand getting the image in pieces. PC side is probaby working as expected17:18
RaYmAnthat doesn't explain why it works on some devices though17:19
kulveRaYmAn: I think you can just write whatever you want the if you get the linux running?17:19
RaYmAnwell, technically speaking, yes, you can. However, tegra bootrom won't accept it because it's not signed/encrypted/checksummed in the right ways & places17:20
fmoreauTassadar: debian17:20
RaYmAnbut you can't with flashboot (which incidentally does all the fancy signing/encryption/checksumming for you)17:20
RaYmAn*fastboot17:20
TassadarI can build it for you if you want17:20
kulveyeah, so you can flash it but it won't be loaded anymore -> bricked17:20
Tassadarbootloader sources are not public anyway, are they?17:21
kulveI don't thinkg so17:21
Tassadarthat means we would not have anything to flash there anyway, so it does not really matter17:22
kulvezeros? ;)17:22
kulvepoint being, don't mess with the bootloaders just for fun..17:22
fmoreauthen I'll try to generate a sparse image < 600 Mo, that should allow me to use a 10Go filesystem, shouldn't it ?17:24
kulveyes17:24
fmoreaugood17:24
fmoreaukulve: BTW could you drop some words about InvertX/InvertY that doesn't work with the touchscreen ?17:25
kulvesorry, I didn't try the new evdev driver but the different xorg mtev driver and for that those options did work17:27
kulvedid you check the X.Org log if it says something about those options?17:28
infinityrbasak: That was supposed to be the point of the flash-kernel rewrite (or, one of the points), where the database of machine-specific settings was meant to eventually be a seperate package so others could source it.  That last bit never happened. :/17:39
ogra-cbit will, at some point17:40
infinityrbasak: I have no fundamental issues with this happening (either a broken out DB package, or f-k having a foreign creation mode as you suggest), but I also have very little interest in being involved in f-k work at all. :P17:40
ogra-cball you want to skip is the actual writing to the device though17:42
ogra-cbi think adding such a function should be rather trivial17:42
rbasakOK, thanks all17:46
=== albert is now known as Guest44624
cwaynesfeole: how do you suggest we handle https://bugs.launchpad.net/ubuntu-nexus7/+bug/108236417:53
ubot2Launchpad bug 1082364 in ubuntu-nexus7 "android debugger bridge cant be install on ubuntu on nexus 7" [Undecided,New]17:53
sfeolecwayne: i did see that one, but put it aside for now, I think I may wait until monday when more of the staffers are back to work and question what to do about it17:54
sfeolecwayne: in the meantime I'm moving some bugs back to a "New" status, such as this one... https://bugs.launchpad.net/ubuntu-nexus7/+bug/108078917:55
ubot2Launchpad bug 1080789 in ubuntu-nexus7 "Corruption around mouse cursor when dragged, particularly around Dash, Indicators, window chrome" [Low,New]17:55
sfeolecwayne: even though we have confirmed it, I don't think anyone is working it. If it is a upstream issue with NVidia then it should be handled accordingly17:55
cwaynesfeole: no, leave them as confirmed17:56
cwaynewe don't want any new bugs17:56
infinitysfeole: Confirmed doesn't mean people are working on it, just that it's confirmed to be a bug.  Moving back to new seems counter-intuitive.17:57
Tassadarogra-cb: http://hwe.ubuntu.com/uds-r/nexus7/ these are the images people (eg. at XDA) should use, or are the 13.04 images ready for use?18:00
sfeolecwayne: the email you forwarded to me this morning should adhere all bugs, not just bugs filed after the 21st.18:00
cwaynesfeole: yes, but they dont say to move them to new18:01
sfeoleachiang: ^^ thoughts?18:01
cwaynesfeole: it's been confirmed as a bug == marked confirmed18:02
achiangsfeole: i agree with the others, i do not think it should be new. i think that it should be confirmed.18:03
sfeoleachiang: ack18:04
achiangsfeole: for all tegra3 bugs, tag them with tegra3 and assign to me18:04
sfeoleachiang: will do18:04
achiangthanks18:04
sfeolecwayne: https://bugs.launchpad.net/ubuntu-nexus7/+bug/107869618:10
ubot2Launchpad bug 1078696 in ubuntu-nexus7 "gksu does not accept sudo password" [Low,Confirmed]18:10
sfeolecwayne: Looks like you had the last word on the bug above , do you have any more insight on it?18:13
sfeolei was about to run through the whole process myself of trying to reproduce , etc...18:13
cwaynesfeole: all it needs is an assignee18:14
cwayneif its confirmed, just follow victor's rules for assigning, that's all you'll need to do18:14
sfeolethats what i was going to do. just checking with you if you wanted to add to it18:15
cwaynesfeole: i marked that adb one incomplete with a question18:16
cwaynesfeole: nope18:16
sfeolecwayne: ack and ok18:16
sfeolecwayne: did you assign it to the right sudip?18:21
sfeolecwayne: The last names look different18:21
ogra-cbTassadar, 13.04 images are still to bigg and there is at least one nux bug that needs to be fixed18:22
cwaynesfeole: nope, i fixed it though18:22
cwaynethanks18:22
sfeolecwayne: no18:22
sfeolecwayne:oops np18:22
sfeole;P18:22
ogra-cbbrave people can indeed try http://cdimage.ubuntu.com/daily-preinstalled/current/18:22
ogra-cbbut seems we still need to lose some weight18:22
ogra-cb(still needs -S)18:23
Tassadarweight is no problem, I don't wanna flash that with fastboot :)18:23
Tassadarokay, are images on that address I linked daily-built, or are they still the same and updates are provided by apt-get upgrade?18:23
ogra-cbwell, you need the configuration the initrd sets up during first boot18:23
ogra-cbso just using the img will leave you with a broken setup18:24
=== Guest44624 is now known as Phryq
TassadarI think I can handle the instalation process well enough, I just need to think of the easiest way to actually put ubuntu to /sdcard18:26
TassadarI dont really wanna to provide pre-edited images, because I would have to keep them updated, so I am looking for a way to edit them in recovery18:27
Tassadarthat is why I wanna know if there images change or not18:27
ogra-cbwell, depends on nux18:28
ogra-cbthat and the oversizedness are the last bits keeping us from moving over18:28
* Tassadar is looking up what the "nux" is...18:29
ogra-cblibnux18:29
Tassadarah, opengl library18:29
ogra-cbrenders the UI elements of unity18:30
Tassadarand what about the 12.04 images?18:30
ogra-cbthere nux has a fix in the PPA packages18:30
fmoreaukulve: sorry, had to deconnect. Xorg.log reports the options set in the xorg.conf18:46
hrwhm... I thought that I uploaded armsoc xserver to raring...18:47
hrwok, still in NEW queue18:48
ogra-cbhrw, NEW18:48
ogra-cbah, you found already18:48
hrwI will create set of crazy packages in meantime18:49
shadeslayerhi, I was wondering if someone could offer some advice on this armhf FTBFS : http://paste.ubuntu.com/1380127/18:51
shadeslayeroh nvm, icecc/ccache issue I think ( still building if I remove ccache/icecc from PATH )18:55
merosageHey all!  I'm trying to install Ubuntu on a BeagleBone and have previously used Robert Nelson's script on an Ubuntu machine.  But now I'm on a Mac and the setup_sdcard script is throwing an error.  Any help is greatly appreciated.18:58
merosageusage: mktemp [-d] [-q] [-t prefix] [-u] template ...18:58
hrwogra-cb: chromium-mali-opengles is now distributable - works as long as there is original ROOT-A partition ;D20:03
ogra-cboh, nice !20:09
hrwhttp://git.juszkiewicz.com.pl/?p=package/chromebook/chromebook-opengles.git;a=summary20:10
hrwhttps://launchpad.net/~hrw/+archive/my-own-packages/+packages will have it soon20:10
ogra-cbcool20:11
Tassadarsize of rootfs is limited only by the size of RAM, right?20:12
hrwhttps://launchpad.net/~hrw/+archive/my-own-packages/+build/400777320:17
=== yofel_ is now known as yofel
hrwI hate packages which do not allow for "debuild -b;debuild -S"20:34
marvin24ogra-cb: would it be possible to add uboot/tegra?20:41
ogra-cbmarvin24, ask jcrigby, he maintains all the u-boot packages20:48
ogra-cb(surely sending a patch for the linaro packaging git tree would speed it up :)20:49
hrwogra-cb: time to write blog post :)20:50
hrwogra-cb: users of quantal or raring will get x11 server, opengles and ucm profiles20:50
ogra-cbyeah20:52
hrwogra-cb: Alexander Graf (opensuse guy) has u-boot packed as kernel so even /boot/ kernels are closer20:53
hrwbut I was not able to properly ext2ls my partitions with it ;(20:53
ogra-cbuse a small vfat then20:54
hrwthat's the idea20:54
hrwKERN-A for chromium kernel, KERN-B for uboot, KERN-C for vfat20:54
hrw16MB each so huge waste of space20:55
marvin24shouldn't uboot stay in its own partition?20:56
ogra-cbmassive20:56
marvin24less than 300k here20:57
marvin24including ext4 support20:57
hrwmarvin24: boot scheme will be: exynos5-internal-bootloader - chromium uboot - chromium vboot - our uboot - kernel20:57
marvin24why?20:58
marvin24multiboot?20:58
infinityWow, that's not ugly at all...20:58
ogra-cbhrw, whats the reason to have uboot in that chain ?20:58
hrwogra-cb: that's just option to have normal not signed each time kernel in /boot20:59
* ogra-cb would prefer to just flash raw to the KERN-B partition20:59
ogra-cboh, it needs to be signed ?20:59
* ogra-cb didnt know20:59
hrwogra-cb: tool and devkeys are provided so it is not so big problem21:00
hrwbut change cmdline == signing, change of kenrel == signing etc21:00
ogra-cbwell, i'm not a fan of forcing kernel signing on people21:00
ogra-cbyeah21:00
* marvin24 is happy to still live in the old world21:00
ogra-cbannoying ... automatable though21:00
hrwyep21:01
infinitySigning buys you nothing if the private key is known, so I'm not sure why we'd bother.21:02
infinityChaining into a loader that lets you load unsigned kernels seems fine in that case.21:02
ogra-cbwell, if the ROM code requires it there is hardly a way around it21:02
ogra-cbyeah21:03
ogra-cbforget about 10sec boots though :P21:03
infinityuBoot chaining to another uBoot should be nearly instant.21:03
hrwogra-cb: vboot (part of chromium uboot) needs that. we can flash own uboot21:03
hrwbut brick risk ;(21:04
infinityhrw: Nah, better off chaining than bricking.21:04
infinityhrw: I assume we'd need to sign our uboot?21:04
ogra-cb++21:04
infinity(Which we can easily do if we have the key and it's publicly-known, cause we can just slap it in the source package)21:04
RaYmAnhrw: well, once you have dev-mode ro firmware installed, you're back to zero brickrisk again ;)21:04
RaYmAnbut yeah.21:05
hrwinfinity: yes, you need21:05
hrwRaYmAn: I have mass market user firmware21:05
* ogra-cb has a TV and wanders off to it21:05
hrwRaYmAn: but I can take dev firmware with exact steps21:06
RaYmAnI just flashed dev firmware on mine21:06
RaYmAn(ro firmware that is)21:06
RaYmAnit was surprisingly painless :) (and now I can presumably safely flash custom RW FW A and RW FW B)21:07
hrwRaYmAn: delay at boot still present?21:08
RaYmAnhrw: no, you can remove that with gbb flags (well, make it be like, 1-2 seconds)21:08
RaYmAnthe downside is that official chromeos updates will fail to start (because ro firmware keys are different - a good thing, but it requires a bit more effort to update then)21:09
hrwRaYmAn: once we get everything working (maybe never) I can live without chromium os even21:10
RaYmAnThe ncie thing is that you can just re-enable read-only after installing, so essentially your chromebook is in danger for ~5 minutes, and once that's done, you're just as safe as before (except now, you can sign recovery keys, firmwares etc yourself)21:11
hrwRaYmAn: where I can find exact steps and images?21:12
RaYmAnhrw: yeah, you can't really, lol. I had to try and piece together things mostly through looking at scripts :/21:13
hrwRaYmAn: write a post about it. you will get your 5 minutes of glory21:13
RaYmAni'm planning to try and done some sort of quick guide whenever I manage to get a custom u-boot in RW FW booting21:13
RaYmAnlol21:13
RaYmAnI can live without those 5 minutes just fine, but I'll do a quick writeup regardless ;)21:14
hrwcool21:14
RaYmAnIt *appears* that just taking out the screw closest to the usb 3 port disables the hardware write protect though - so if you fancy testing that, it would help a lot :P21:15
hrwI know that21:17
hrwit is public information21:17
hrw;d21:17
RaYmAnthe public info says you have to take apart the full deive21:17
RaYmAndevice21:17
RaYmAn:/21:17
hrwone screw works as SPI write protect21:17
RaYmAnsure, but this is an *Externally* available screw21:17
RaYmAnI was expecting it to be below the back cover21:17
hrwhttp://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-arm-chromebook#TOC-Read-Only-SPI-Flash21:18
RaYmAnyeah, well. It's certainly not obvious that you don't need to take it fully apart ;)21:18
hrwhm.. it was there..21:19
RaYmAn(or rather, that you just need to remove one screw rather than the entire backside)21:19
RaYmAnhrw: anyways, primarily, it's just a matter of disabling ro and running the /usr/share/vboot/bin/make_dev_firmware.sh , then /usr/share/vboot/bin/set_gbb_flags.sh 0x31 (which means force_dev_boot_usb, disable fw rollback check and dev screen short delay)21:21
RaYmAnthe make_dev_firmware.sh sets it to 0x30 by default, which means it leaves out the short delay setting21:22
hrwforce_dev_boot_usb == always boot from side SD?21:22
RaYmAnI dunno - it might prioritize it I guess21:23
RaYmAnI haven't checked the vboot source yet21:23
=== Quintasan_ is now known as Quintasan
hrwbye21:47
aquaratI got ubuntu running on my 32GB nexus 7 after I tried the installation on an x86 machine23:27
aquaratI think the problem was storage space rather than architectire23:27
aquarat*ure23:27

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