/srv/irclogs.ubuntu.com/2013/03/22/#ubuntu-arm.txt

=== zz_chihchun is now known as chihchun
Snarkhi06:30
discopighi10:53
=== chihchun is now known as zz_chihchun
=== breton_ is now known as breton
cjwatsonI'm trying to get sbuild working on my Nexus 7 running the touch developer preview (because it's the most convenient reasonably modern ARM device I have root on - I'm doing non-touch-related stuff).  However, I can't debootstrap because the relevant filesystems are mounted nodev.  Remounting them dev, even from adb shell, doesn't seem to change anything.  Does anyone know how to work around this?13:59
ogra_ugh14:00
ogra_adb should definitely override14:00
ogra_does mount still show it with nodev after a remount ?14:01
cjwatsonno14:01
ogra_cjwatson, did you mount /procc inside the container ?14:01
ogra_its not there by default due to PID namespace issues afaik14:02
cjwatsonI'm sshed in14:02
cjwatsonI thought that was enough14:02
cjwatsonseems to be there from ssh14:02
ogra_dont trust mtab :)14:03
ogra_cat /proc/net/dev ... see if the third level exists14:03
cjwatsonit does14:03
ogra_if not, it isnt mounted14:03
ogra_hmm14:03
cjwatsonI suspect maybe that the remount is ineffective because /data was already bind-mounted in some twisty way14:03
ogra_oh, yeah14:04
cjwatsonis it possible to get the android layer not to mount it nodev in the first place, and then I can reboot?14:04
ogra_well, yes, if you reboot the android layer14:04
ogra_err14:04
ogra_rebuild14:04
Tassadarcjwatson: you can edit the ramdisk, I think there is normal fstab file14:04
cjwatsonah, /init.rc maybe14:04
ogra_the mounting is done from /init.rc14:04
ogra_and init.rc is put in place from the initramfs14:05
ogra_you cant just edit it14:05
TassadarI can do it for you if you send me the boot.img, It is like 5min of work for me since I do it quite often14:05
cjwatsonGotcha.  Can I unpack/modify/repack the initramfs in-place?14:05
ogra_(fstab as well, they are both copied from initrd)14:05
cjwatsonTassadar: I'd rather know how to do it myself :)14:05
Tassadarokay14:05
cjwatson(though thanks)14:05
ogra_you should be able to dd /dev/mmcblk0p2 to a file14:05
ogra_then you should be able to disassemble it with abootimg14:06
ogra_into initrd/kernel/config14:06
ogra_and indeed re-assmble it the same way14:06
cjwatsonno /dev/mmc*14:06
ogra_oh, android14:06
ogra_ /dev/block/mmc*14:06
cjwatsonok, let's see14:08
cjwatsonhmm, so I dded that out, unpacked, edited ramdisk/init.rc, repacked, updated boot.img with the repacked initrd.img, dded that back to /dev/block/mmcblk0p2, rebooted - no change14:27
cjwatsonafter rebooting, /init.rc still has the original unchanged line in place14:27
ogra_weird, it should update from the initrd14:28
cjwatsonwell, I conclude that I didn't successfully update the initrd, but I don't know why14:28
TassadarI'm pretty sure there is fstab file in the ramdisk14:28
ogra_did you edit fstab too ?14:28
cjwatsonthat's not really relevant since the basic problem is that my init.rc change didn't take effect at all14:28
ogra_init.rc just calls something like "mount /data"14:28
Tassadarinit.grouper.rc actually does "mount_all thenameofthefstabwhichIforgot"14:28
cjwatsonnot so14:28
ogra_fstab defines the options14:29
cjwatson    mount yaffs2 mtd@userdata /data nodev14:29
ogra_hmm14:29
Tassadarthat's not it14:29
cjwatsonthere is an fstab but it doesn't go near /data14:29
ogra_no, we definitely dont use yaffs ...14:29
ogra_there should be an ext4 mount14:29
ogra_look if tehre is an fstab.grouper or so14:29
* Tassadar goes to grab boot.img to see what is actually inside14:30
ogra_and init.grouper.rc14:30
ogra_that overrides14:30
cjwatsonwell, there is an fstab.grouper, so I'll edit that.  That still doesn't explain why my init.rc change was ignored though14:30
ogra_yeah14:30
Tassadartell us what you did to rebuild the boot.img14:30
* ogra_ guesses just using abootimg 14:31
ogra_since thats what i suggested14:31
Tassadaryeah, ubuntu touch has fstab.grouper, just like normal android14:31
cjwatsonabootimg -x boot.img; sudo abootimg-unpack-initrd; vi ramdisk/init.rc; sudo abootimg-pack-initrd -f; abootimg -u boot.img -r initrd.img14:31
ogra_abootimg -u boot.img -r initrd.foo14:31
ogra_yeah14:32
* cjwatson tries again14:32
ogra_oh, where do abootimg-(un)pack-initrd come from14:32
* ogra_ didnt know these14:32
cjwatsonthe abootimg package14:32
ogra_must be new :)14:33
ogra_i still use zcat/cpio usually14:33
ogra_but i guess they just do the same14:33
cjwatsonyeah, I figured I might as well use them to get cpio options right14:33
cjwatsonAha, that did it!  Thanks14:38
cjwatsonI guess I must just have failed to write back the modified boot.img before, somehow14:38
cjwatsonSorry for the noise14:38
=== yofel_ is now known as yofel
=== mhall119_ is now known as mhall
ptlanyone here got an arndaleboard?19:49
ptlok :(19:51
XorAptl: yes20:10
MartynCortex A15 question20:48
MartynWhich platform is recommended for testing A15 + Ubuntu?20:49
MartynWhich dev boards are known to work?20:49
ogra_chromebooks are used by community people pretty widely20:50
Martynogra : the XE303?20:52
ogra_the arm one20:52
ogra_i dont think there is more than one20:52
MartynYeah, dual core Samsung Exynos chip20:52
ogra_right20:53
MartynOkay.. Hmm..20:53
ogra_the dev board equivalent is arndala i think20:53
ogra_*arndale20:53
Martyn*nod*20:53
MartynI just got a new devboard, and I wanted another platform to compare it to20:53
ogra_nice20:54
infinityYeah, the Xen guys have been doing all their work on Arndales and Chromebooks.20:54
Martynsince getting Ubuntu up and running on this platform will take me a couple weeks20:54
infinityI'm not really aware of any other widely-available A15s.20:54
Martyninfinity : There are none, that I am aware of.20:54
ogra_nexus420:54
Martyninfinity : I'd like to change that, but getting production-run quantities of A15 chips is hard20:54
Martynnexus 10 has the exynos 5 as well20:55
ogra_right20:55
Martynbut that's not a platform I'll be comfortable poking at20:55
MartynI'm talking to nVidia now20:56
Martynsince there's exactly 0 chance of getting TI chips20:56
ogra_why not ?20:57
ogra_omap5 is on sale20:57
ogra_in the new evm board20:57
MartynBecause I can't get a volume production quantity from TI20:57
Martynand the IP they chose to put on the OMAP doesn't map well to an ATX form factor PC20:57
MartynAlso, PowerVR drivers… always an issue20:59
MartynNvidia at least handles OpenGL 4.x20:59
ogra_https://www.svtronics.com/index.php?route=product/product&product_id=3320:59
ogra_the pandaboard that wasnt called panda ...20:59
MartynYeah20:59
MartynSaw it20:59
MartynThe nvidia tegra4 T42 will probably end up being the chip though21:01
Martynquad + 1, 2.0GHz has been verified and validated21:02
MartynThe @#$@#$ thing is the lack of PCIe on all platforms21:02
infinityNo PCIe on the Tegra4?21:02
infinityEven the Tegra2 had PCIe.21:02
infinityThat's what the Trimslice's SATA hangs off of.21:02
ogra_really ?21:02
Martynjust like on the EnergyCore, it's got lockup issues21:03
ogra_i thought i saw PCIe mentioned21:03
MartynIt's the stupid AMBA bus to PCIe bridge that fails, when it gets out-of-order transactions21:03
Martynlocks up the AMBA bus, and that's that21:03
infinityBrilliant.21:03
MartynIf you look at the latest IO block diagram for the Nvidia, you'll see that I/O no longer lists PCIe21:04
infinityKernel bug, or fundamental design flaw?21:04
Martynfundamental design flaw, on die, in chip21:04
infinity\o/21:04
Martynworkarounds require changes to the chip21:04
ogra_thats what you call progress :)21:04
Martyn(adding a method to reset the bus)21:04
MartynIt's why Calxeda doesn't really acknowledge that there is a PCIe block on the die21:04
infinityI've said it a few times this year already, but I can't wait to see what sort of ARM silicon AMD spits out.  They can't possibly get so many things wrong.21:04
ogra_probably a fallout of not having a device partner at all21:04
Martynsame with Tegra21:04
Martynsame with NEC21:05
Martynogra : Has to do with using the Syn…ys IP21:05
MartynHey, at least the 10GigE works :)21:05
infinity(Though, AMD has no plans for armv7 AFAIK, only armv8... Maybe they'll surprise me and do both)21:06
MartynWhat's the other thing I need to have working .. one or two GigE interfaces are kind of "a requirement" when building ATX machines21:06
infinityMartyn: If I had an ARM board with two GigE devices that could actually saturate both links, full duplex, I'd be a very happy man.21:06
Martyninfinity : Calxeda has that21:07
MartynGet an EnergyCore card21:07
ogra_get ... heh21:07
infinityErm, does anyone make single EnergyCore anything?21:07
infinityI don't need blades, I want a router. :P21:07
MartynNo, but you can ask Calxeda for one of the little dev boards21:07
Martynit can take as little as one board21:07
MartynIt was originally called a "slingshot" when the first prototype boards were brought in21:08
infinityIf I knew how to get such a dev board, I'd already have one.21:08
Martyninfinity : just ask.21:08
MartynTalk to Karl21:08
ogra_well, there is that "get" thing :)21:08
infinityCare to introduce us? :P21:08
ogra_asking is cheap21:08
MartynUnless things have changed so much .. I know that Calxeda joined the whole Linaro thing, so I know the platforms are out there21:08
MartynAlso, you can go play with it on the OpenStack instances they have available for public playtime21:08
ogra_thats a great idea !21:09
infinityBonus points if those boards boot and look vaguely like a card in a full chassis.  Would make my life so much easier, trying to do various crackful things.21:09
Martynstart up two instances, and talk to each other.  They are likely going to be on two wholly different boards on the cluster21:09
ogra_infinity, run your router in an openstack instance !21:09
Martynogra : Should work, right?21:10
infinityMartyn: Openstack sort of defeats the purpose for me, since I'm interested in being next to the metal, not abstracted away.21:10
MartynEnergyCore's are physicalized, not virtualized .. so he'll be playing with real hardware, at the metal21:10
Martyn^^21:10
Martyninfinity : That's the whole POINT of running ARM on OpenStack .. you're physicalized, not virtualized21:11
MartynYou're in a jail, and if things are still like when I was at Calxeda, it's using LXC21:11
infinityMaybe I misunderstood, I thought current openstack-on-arm was lxc trickery and the like.21:11
* ogra_ kind of wasnt serious about running a router in a foreign cloud instance21:11
Martynso you're going to be on the metal21:11
infinitylxc is not "next to the metal".21:11
Martyninfinity : Close enough.   Certainly closer than if you were on KVM21:11
infinityI'm interested in booting and installing bare systems, not playing in containers.21:12
Martynyou're basically just in a fancy jail21:12
infinityI have tons of ARM hardware to screw around in userspace with.21:12
Martynmeh, fair enough21:12
Martynbut if you want to play with a platform that lets you pump >1Gigabit on ARM, Calxeda is the only platform I can think of capable21:12
Martynand LXC won't abstract you or slice you away from that21:12
infinityYeah, two disparate goals there. :)21:12
Martynyou'll still have full access to the interfaces, and fabric21:13
infinityOne goal is better/shinier enablement, which needs me to sit next to the metal.  And I think I might honestly just take a flight to Boston and play with some of our crap in the datacenter there.21:13
infinityThe other goal is a personal home router.21:13
infinitySo, again, need real hardware for that, cause running my home router in an LXC container in another city might not work so well. ;)21:13
MartynAh, hold on .. looks like the SnapDragon also supports PCIe21:14
Martyn3.021:14
infinityAnd, to be fair, I don't need full saturation for the home router, my internetses are only 250 Mbit.21:14
infinityBut that still demands more than I can get out of any ARM boards in my house.21:15
MartynIP is by Global ...21:15
MartynHmm .. is there even PCIe support in the Linux SnapDragon kernel?21:16
infinityIs SnapDragon multiplatform enabled yet?21:16
infinityNot that that's relevant to the question, per se, but it probably makes PCIe enablement slightly more likely.  Unless it's wildly different from other SoCs in how it works.  Which it might be.21:17
MartynMrrf.21:30
MartynWell, found a snapdragon dev board21:30
Martynex-pen-sive doens't even begin to describe it21:30
MartynThis is as expensive as the ARM development platforms for A15 when it first came out .. the one with the big Xylinx Spartan 7 on it21:30

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