/srv/irclogs.ubuntu.com/2011/11/25/#ubuntu-arm.txt

suihkulokkican someone here poke the right people to get the mutrace update to oneiric10:06
ogra_whats that ? just a sync or is there anything to merge ?10:07
suihkulokkiogra_: it was uninstallable: https://bugs.launchpad.net/ubuntu/+source/mutrace/+bug/87592810:09
ubot2Launchpad bug 875928 in mutrace "mutrace: uninstallable as it strictly depends on a specific binutils version" [Medium,Fix released]10:09
ogra_suihkulokki, err, the bug says it is already autosynced10:12
ogra_oh, oneiric, hmm10:12
hrwhttp://www.androidpolice.com/2011/11/25/best-buy-dropping-asus-transformer-to-just-250-on-black-friday-dock-just-100/11:18
infinityIf only Black Friday was a global thing.11:20
hrwinfinity: ;)11:20
ogra_heh11:21
ogra_and then you would havee to fight with the locked bootloader11:21
hrwo. asus locked bootloader?11:21
hrwassholes11:21
ogra_well, thats what NCommander claims since UDS11:21
hrwheh... found another annoying thing in unity ;(11:22
hrwtyping in window == raise window ;(11:23
lilstevienop11:25
lilsteviethey don't lock bootloaders11:25
lilsteviethey block nvflash11:25
lilstevie:p11:25
lilstevieand even then it is just more, lack of the encryption key for communication11:25
hrwso user oriented only device11:26
lilstevieyeah11:26
infinityI'm a user, and I want to install another OS on it. :P11:27
lilsteviewell, it won't be an issue forever11:27
lilsteviejust for the moment11:27
lilstevieand sorry but I can't give an eta, cause I simply don't know11:27
lilsteviewhen I say I don't know, I mean I don't know how long it will take for us to have something to release11:30
=== Jack87|Away is now known as Jack87
rsalvetiogra_: janimo: we got a newer kernel for imx53 that's based on 3.1, do you want us to update the kernel at ubuntu side?14:20
ogra_rsalveti, for 12.04 ? sure !14:21
rsalvetiwe can probably do this next week14:21
rsalvetiogra_: great14:21
ogra_i dotn think we care much for oneiric14:21
ogra_next week is bad though, we're in A1 freeze14:21
ogra_better the week after14:21
lilstevieA1 freeze?14:22
ogra_on monday, yes14:22
rsalvetiogra_: fair enough14:22
ogra_lilstevie, A1 release is on dec. 1st, we usually freeze from monday on for that14:23
lilsteviewhat is A1 freeze, thats a term I haven't seen or heard before14:23
lilstevieah14:23
ogra_alpha 1 milestone release14:23
lilstevieI get it now14:23
ogra_i'm a lazy typer :)14:23
lilstevieheh14:23
lilsteviedamn it, where is persia14:23
* ogra_ sighs ... another question about "how do i recompile ubuntu from source for ARM"14:24
lilstevieheh14:24
lilsteviewhats new in precise14:29
ogra_lots of software :P14:30
lilstevieheh14:30
ogra_not much beyond that ... armhf should soon be there14:30
lilsteviefair enough14:31
An-iSociaLsup16:11
micahgsuihkulokki: thanks for getting chromium building on arm, I'll have to see if I can tweak your fix to use the internal libvpx17:22
An-iSociaLmm17:24
An-iSociaLi need to check that out17:24
An-iSociaLyou got a link?17:24
An-iSociaLhmm17:28
An-iSociaLnvm17:28
janimorsalveti, we most definitely want new kernel for mx5319:44
janimois it in a ppa?19:44
rsalvetijanimo: it is, but we can push the same way we did, with the proper sauce and such19:44
rsalveticurrently I don't think the sauce is in sync with the latest set available19:45
janimorsalveti, yes pushing it in the archive would be great19:48
janimoand our aim for this cycle is to use the same sauce on all arm subarchs, and the same as on x86/amd6419:49
janimomodulo arch-specific config19:49
rsalvetijanimo: got it, good to know19:49
infinityjanimo: That would be lovely if we actually achieve said goal.19:54
NCommanderogra_: all of them are locked, some have been hacked (lag, but I didn't see the earlier ping in this channel)20:29
micahgwill we have mx51 live images this cycle or is everything focused on mx53 now?20:38
NCommandermicahg: I believe any mx51 support has to be driven from the community20:42
* micahg was hoping for xubuntu on arm, but only has mx51 hardware20:44
NCommandermicahg: which mx51? Babbage?20:44
micahgNCommander: idk, I have a genesi smartbook20:45
janimomicahg, the linaro mx5 kernel supports both mx53 and mx5120:45
janimouboot packages are separate20:45
NCommanderjanimo: thought there was issues with it on the smartbook20:45
micahgjanimo: cool, so images would be possible then20:45
janimoNCommander, I have no mx51 hw (nor do I want any) to know more about the issue20:46
micahgyeah, ISTR an issue with the kernel on the smartbook, it worked on the smarttop20:46
NCommanderall I know is second-hand20:46
micahgok, well, maybe I"ll come back in a month when I have more time to work on this20:46
janimomicahg, images could be possible sure. But with our current image build processes it may not be too appropriate to start tending for another one20:47
NCommandermicahg: if you are interested in driving it, there's a program in the process of helping getting new devices enabled in ubuntu20:47
janimomicahg, I wonder if it is not better to try making the uboot binary run on both mx51 and mx53. Not sure how much work is that though20:47
micahgwell, I have to see if I have enough time to drive such a thing, I'm already spread pretty thin this cycle20:47
janimobut than we could have a singel image instead of yet another slightly different from the rest20:48
micahgooh, that's tempting :)20:48
janimohaving mutliple almost identical images suck from almost every PoV20:48
* micahg can try hacking on that during his "vacation" at the end of next month20:48
janimomicahg, ping jcrigby he may give you some tips. Or equally usefully tell you it has been tried before or it is impossible,etc20:49
janimoI wish we did the same with omap3/omap4 too20:49
micahgok, will keep in mind, thanks20:49
janimobut there the kernels are still not using a common source let alone binary20:50
jcrigbyjanimo, micahg mx51 and mx53 have have physical dram at different addresses (0x8xxxxxxx and 0x9xxxxxxx) so that would be more difficult that omap which is theoretically possible20:52
NCommanderjcrigby: I've always been curious on why we can't have an unified x-loader on omap3/4; if we could unify x-loader (not even u-boot) it should be possible to have a unified image would make life easier20:53
micahgjcrigby: thanks, any ideas what I can do then?20:55
infinityjcrigby: I take it there's no sane way to determine which SoC you're on before we need to jump to (potentially nonexistant) addresses?20:55
jcrigbyNCommander, after thinking about his for sometime I have decided that asking for this is like asking two pc's to boot from the same bios binary20:56
infinityjcrigby: Cause I'd be inclined to get in on the bribery action if an mx51/mx53(/mx6?) unified uBoot would be possible.20:56
NCommanderjcrigby: many PCs do share BIOS blobs and do runtime detection for DRAM addresses and such20:56
jcrigbyNCommander, ok you got me there20:57
NCommander:-)20:57
rsalvetiiirc the only thing kind of blocking us was the lack of a device id20:58
NCommanderjcrigby: most of what x-loader does is DRAM/initial hardware power on. If its possible to determine what CPU we're on (something similar to cpuid on x86)20:58
jcrigbyrsalveti, and if we are willing to write a board id to a file on sd then we can work around that20:58
RoAkSoAxwin 820:58
NCommanderrsalveti: bah, I know the ARM spec has ways to get information about the proc via mrc (and some deep voodoo). Not an option on panda/beagle?20:58
infinityjcrigby: Yeah, but if was can write to SD, then we can just as easily have multiple bootloaders.20:58
rsalvetiNCommander: I believe that can be done20:58
infinityjcrigby: In the end, it still comes down to "no unified install image".20:59
jcrigbyinfinity, yes20:59
rsalveticould be harder than having an easy way to probe the device id, but can probably be a solution20:59
NCommanderrsalveti: so if we can do that early device detection, can't we then dynamically initialize DRAM/friends on the fly? My understanding is the BootROM takes up to 64 kib, and at last check, x-loader is considerably smaller than that20:59
rsalvetijcrigby: maybe something to invest time and check if it's possible20:59
rsalvetiNCommander: in theory I believe it's possible, something to try21:00
jcrigbyrsalveti, andy green talked about "finger printing" at cambridge21:00
rsalvetijcrigby: and as we'll have spl for omap3 soon, that could be an ideal solution21:00
jcrigbyso you could peek at a list of places and go through a decision tree to figure out what the board was21:01
rsalvetijcrigby: yeah, kind of brutal force21:01
NCommanderjcrigby: rsalveti: if you make it work, I'll buy you a keg of beer at the next UDS21:01
jcrigbyit would be fragile21:01
infinityThat sort of thing always is.21:01
rsalvetiwell, at least should be able to cover beagle and pandas21:01
rsalvetiwhat would already be a nice thing21:02
infinityBut fragility in initial boot for installers is a known quantity (we always deal with it), and once the system's installed, it "obviously" works.21:02
NCommanderjcrigby: how robust does it realistically have to be? Until OMAP4+ shows up, then it has a very simple thing to do21:02
rsalvetinow that we have panda 4430 and 4460 out, that would probably be a valid solution for at least one year21:02
jcrigbyyes, I guess we should do what  is possible instead of dismissing it because of the corner cases that are not possible21:02
rsalvetiuntil we have omap 5 in place21:02
NCommanderjcrigby: I've never dug into the startup.S code in x-loader that much. Is there a hook in BootROM we can simply read out the SoC?21:03
rsalvetijcrigby: is it something that you're interested to work on?21:03
rsalvetiwe can probably schedule something for 11.12, 12.01 :-)21:03
jcrigbyNCommander, we can figure out SoC21:03
jcrigbyboard id is harder21:03
NCommanderjcrigby: board id isn't really an issue is it?21:03
NCommanderX-loader is intercompatible across all boards, just omap3/4 versions21:03
infinity(Still, as interesting as it is for omap, I'm curious if this same sort of crazy can be applied to mx5, since we seem to have so many of the things in the hands of developers)21:03
rsalvetiwell, we can try the soc and then check the gpios for board id21:04
rsalvetior similar21:04
NCommanderif x-loader can determine whats its running on, thenit can load a u-boot.bin3/u-boot.bin421:04
rsalvetiyup21:04
NCommanderinfinity: agreed. Kernel support was the holdup, my last stab at this on the smarttop I couldn't successfully boot a kernel which killed my image enablement work21:04
jcrigbyall mx flavours have user definable fuse locs that we could use for a board id if we wanted21:05
jcrigbyti has fuses but does not expose them to end user21:05
rsalvetiyeah21:05
jcrigbyarm should recommend to vendors to have fuses with soc ids and board ids21:05
rsalvetijcrigby: wasn't that part of the boot architecture discussions?21:06
jcrigbyrsalveti, I hope so21:06
rsalvetimaybe lool knows about it21:06
jcrigbyactually the other solution is soldered on flash for the spl21:06
jcrigbylike bios flash chips on pc's21:06
infinitySoldered on flash solves lots of issues, but it's terribly hard to go back in time and do that. ;)21:07
rsalvetitrue, I believe that was the requirement microsoft had21:07
jcrigbythat we (distro/os vendors) don't touch21:07
rsalvetito enable arm boards with windows21:07
rsalvetibbl, dinner time21:08
* NCommander would be greatly amused if we used Microsoft's boot crack to help solve some of our boot issues21:08
infinityNCommander: The new world order will be much simpler to boot on, and Microsoft's logo requirements will certainly factor into that.21:10
infinityOf course, we have an urge to boot on non-new-world machines, which they don't care about.21:10
NCommanderinfinity: right up until we have to deal with secure boot on ARM21:10
* NCommander keeps thinking newworld == powerpc :-P21:10
infinityHeh.21:10
infinitySecure boot's a different kettle of fish.  And our very strong presence in the ARM market may actually help with leverage in crack-removal in the x86 market.21:11
infinityOne can hope, anyway.21:11
infinityWell, crack-avoidance.21:11
NCommanderinfinity: meh, the EU shown its got balls to stand up to Microsoft. If things become an issue, at least I can hope they will get involved21:12
infinity(The inverse there, of course, is that ARM device vendors love locking things down, so...)21:12
* NCommander is honestly expecting the current Microsoft antitrust lawsuite to go as well as the first one21:12
loolrsalveti: Not really; we rather discussed firmware, not specifying where it would live21:13
jcrigbylool, I would like to see the vendors make their low-cost boards a little less lowcost and put some nand/spiflash/emmc whatever on the board for a boot loader that we never touch.21:17
looljcrigby: We would want some mechanism to update it etc.21:17
jcrigbylool, yes but that would be the exception not the normal path.  Like when you update the bios on a pc21:18
loolYes21:18
loolI guess it's the fact that we're building all the pieces that go on the SD card image for OMAP21:18
loolfrom scratch, using the latest versions21:18
infinityYeah, but there's no real reason to do so.21:19
infinity(Well, except where we've been doing fun things like hacking PXE support)21:19
infinityNormally, though, treating uBoot like a BIOS is the sane and right thing to do.21:19
infinityAnd 99% of end users never touch their BIOS post-purchase.21:20
loolwell we could ask people to keep a "firmware" SD card and use an USB key for the Ubuntu or Linaro rootfs but it would be inconvenient21:20
infinityThat's actually how I boot my quickstart.21:21
infinityBut yes, not an ideal solution. :P21:21
infinityI just treat the micro slot on my QS as a BIOS PROM, basically.21:21
NCommanderinfinity: lool: we did that with babbage 1/2 :-/21:23
loolThere are so many things to say on this topic that I'm not sure it's wise starting it on IRC21:25
loolstarting with the fact that we currently target many developer boards, not production hardware where we expect end-users to reinstall the OS21:25
loolperhaps the class of machines where this will need to happen first is servers, and these will come with on-flash firmware21:26
loollikely UEFI21:26
=== Ursinha is now known as Ursinha-afk
looljcrigby: Linaro also develops pieces of the early boot itself; u-boot for certain boards, a spl for others, tianocore for others, so handling the bootloader as part of the firmware seems useful for now  :-/21:27
jcrigbylool, I agree.  I did not mean to give the impression that we should get out of the bootloader business:)21:29
looljcrigby: Back to the idea of a board id somewhere, I think the consensus in the boot architecture discussion was rather to describe how the hardware look like rather than passing only a single id and keeping tables of what that means; there might still be an id somewhere "just in case", but instead of "if board_id == beaglexm, then GPIO_X is foo" you'd get the data about what each GPIO does from e.g. the DT or in general from the firmware21:31
loola bit like ACPI tables on x86 too21:31

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