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

=== psivaa-afk is now known as psivaa
linu2hi i have used kernel-3.10,and enabled framebuffer but when i try to run a sample qt application in at91sam9x5ek board using same kernel that says http://pastebin.com/YZxgptL4   can you tell mw what is that issues08:21
aditya1Hello all... i understand i am asking a repeated question... but i am looking out for a easier solution. i followed https://wiki.ubuntu.com/Nexus7/Installation to get my nexus running with ubuntu. The ubuntu installer looks for a different URL to download packages10:00
aditya1and manual steps are going for a hang... nothing is getting copied... is there a way to get ubuntu nexus installer installing from a local bootimg and .img files?10:01
wookeyinfinity: (or anyone): I made an image from the saucy arm64 tarball at http://cdimage.ubuntu.com/ubuntu-core/releases/13.10/release/ubuntu-core-13.10-core-arm64.tar.gz and booted it with my existing-working kernels. It does a load of upstart stuff and hangs at:10:19
wookey[   14.415224] init: startpar-bridge (procps-virtual-filesystems-started) goal changed from stop to start10:19
wookeyanyone got any idea what that might mean?10:19
hrwnope10:29
linuhi i have used kernel-3.10,and enabled framebuffer but when i try to run a sample qt application in at91sam9x5ek board using same kernel that says http://pastebin.com/YZxgptL4   can you tell mw what is that issues10:36
wookeyhrw: do you have the magic runes you made that linux-boot .axf from?10:46
wookeyI only ever used yours so have no idea how to maker a new one10:46
linuhi any idea about my issues10:47
wookeyI just tried booting with img-foundation from http://releases.linaro.org/13.09/openembedded/aarch64/ and that doesn;t get far at all and backtraces10:47
hrwwookey: you mean Image -> axf ones?10:47
wookeyyes10:47
hrwmoment10:48
wookeyI have a checkout of boot-wrapper-aarch64 which may be important10:48
hrwwookey: http://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=blob;f=meta-linaro/recipes-kernel/linux/linux-linaro-fastmodel.inc;h=284f912ca5d5a9b29345eb6786fadfca837438b6;hb=HEAD10:50
hrwwookey: check do_compile_append()10:50
hrwI want aarch64 hardware...10:50
wookeycheers.10:50
wookeyyes. me too. some lucky people have some now...10:51
wookeythis is how youi know if you are important or not :-)10:51
hrwif you say so ;D10:55
hrwwookey: check demo tuesday at linaro connect10:55
* XorA has not aarch64 goodness :-(10:59
wookeythe schedule has teu afternoon mostly empty10:59
wookeytue10:59
=== doko_ is now known as doko
wookeydoko: riku: OK. I can boot the image if I don't run upstart14:30
suihkulokkiwookey: perhaps some kernel option that is needed by upstart is not enabled in linaro kernel?14:32
wookeymaybe, except that it worked fine with raring image14:32
wookeyso what's changed? I guess the default kernel has, so maybe some assumptions14:32
wookeythis one is 3.8.014:33
wookeyusing the current linaro OE release img.axf barfs quickly with a backtrace14:33
wookeyI should probably try latest model too14:34
suihkulokkiwookey: note that img.axf is for fast model while img-foundation.axf is for foundation model14:35
wookeyOK. I wondered what the diff was14:39
wookeyI think I tried the latter - lets check14:39
wookeyOK. prom,iosing - that just wants: Please append a correct "root=" boot option14:41
wookeyhow do I edit the command line in a .axf?14:41
suihkulokkiyou don't14:41
suihkulokkiyou rebuild your axf14:41
wookeyOK. that's what I feared14:42
suihkulokkiincidentally, different command line is the only difference between those to axf files14:42
wookeyright. I had a selection like that in feb for 'boot to init.sh', 'run upstart with debug' etc14:42
wookeyI have 'kcmt' kernel command line modification tool' here, which maybe helpful14:43
wookeyI assume we are using a dtb in the above .axf files?14:44
suihkulokkioops right, the dtb file inside the axf is different too14:45
wookeyOK. I'll have a poke abut with this - looks like it should be kickable14:46
infinitywookey: That sounds less like it's hung and more like you don't have a getty on your serial console.15:14
infinitywookey: Though, that last message from init is a bit odd-sounding, I suppose.15:14
wookeyAh OK, that's possible15:19
wookeyI guess that's /etc/init/console.conf in upstart-world. which just runs exec /sbin/getty -8 38400 console15:21
wookeywhich is just the same as my raring img15:23
infinitywookey: If this is on a machine/vm with an actual serial console, you'll want an /etc/init/ttyAMA0.conf or ttyS0.conf or whatever.15:33
wookeyOK. there isn;t one in the working image15:34
infinitywookey: Like http://paste.ubuntu.com/6283597/ for instance.15:34
infinityThough, if /dev/console is actually the right thing, then nevermind.15:34
infinityIs this for a Foundation Model?15:34
wookeyyes15:37
wookeyI'm trying to fish the options out of the working axf - thenI might have some idea what's what15:37
infinityI believe apw got ubuntu-core booting on a Foundation Model the other day in a fit of experimentation and boredom.  Not sure if he had to do anything fancy to get there.15:44
infinityapw: Or am I on crack?15:44
apwinfinity, indeed, i'm doccing it at the moment15:48
wookeyOK. I've grokked how to get kernel command lines in and out of .axfs18:15
wookeyand Iwas just about to complain that it still hansg with upstart, but after impressive wait I have a prompt :-)18:16
wookeyI appear to be in business18:17
wookeyOK. so I guess the conclusion is that saucy doesn;t boot with 3.8.0 on vexpress, but does with 3.1118:17
wookeyThe secret arm internal tool modify_commandline.sh ( load of objdump and dtc runes) ought to get a wider airing - it's exceedingly handy for this sort of thing18:18
AmEvAny Tegra 2 guys here right now?21:17
wookeyinfinity, doko: so I booted http://cdimage.ubuntu.com/ubuntu-core/releases/13.10/release/ubuntu-core-13.10-core-arm64.tar.gz but any attempt to use apt just complains that libstcd++ is not present. Is that expected?21:55
wookeyit does seem not to be present21:56
wookeypresenably if I jam http://ports.ubuntu.com/pool/main/g/gcc-4.8/libstdc++6_4.8.2-1ubuntu2_arm64.deb in things should work better21:57
AmEvIs there a porting guide to get Ubuntu onto Android tablets natively? (deep wishing.... haha....)22:03
AmEvI've tried following several Tegra 2 guides, but never had luck booting my tablet into Ubuntu.22:04
dokowookey, I never did see that22:05
dokoI'll copy the tarball and image which I am using, but it will take until tomorrow22:07
wookeyOK. cheers.22:08
wookeyhmm in fact dpkg says libstdc++6:arm64 is installed.22:09
wookeybut apt-get update says: pt-get: error while loading shared libraries: libstdc++.so.6: cannot open shared object file22:10
wookeyaha /usr/lib/aarch64-linux-gnu/libstc++.so.6 is a link to /usr/aarch64-linux-gnu/lib/libstdc++.so.6 which is missing22:11
wookeylooks like toolchain build issue22:13
dokonot here22:15
infinitywookey: I tested it and didn't have that issue.  Did you do something curious to it?22:18
wookeynope, just unpacked22:21
wookeywhat version of libstdc++6 have you got?22:22
wookey4.7.3-1ubuntu1 here. The 4.7.3-1ubuntu2 on ports seems to have a real /usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.18 in it22:23
infinity(base)adconrad@cthulhu:~/core$ ls usr/lib/aarch64-linux-gnu/libstdc++.so.6* -l22:23
infinitylrwxrwxrwx 1 root root     19 Oct 11 20:16 usr/lib/aarch64-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.1822:23
infinity-rw-r--r-- 1 root root 975016 Oct 11 20:27 usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.1822:23
infinitywookey: ^-- I see nothing wrong with the above, so I'm questioning how you unpacked it.22:23
infinity(That was a fresh unpack of a wget of the above URL you gave)22:24
wookeyhmm. I have got those files22:24
infinityYour symlink sounds suspiciously like it would have come from a cross toolchain.  Which is impossible in the core tarball itself.22:25
dokoerr, 4.7.3 ???22:25
infinitywookey: http://paste.ubuntu.com/6285690/22:25
infinitywookey: Whatever you've done, it didn't come from my tarball. :P22:26
wookeyI really did just do: tar -C $MOUNT -xzf $TARBALL22:27
wookey(inside losetup mount to make a .img disk image)22:27
infinityAnd there was nothing previously existing in said directory?22:28
wookeyit gets formatted then mounted - looks farily robust. I'll poke about a bit and see what's what22:31
dokowookey, see http://people.canonical.com/~doko/tmp/arm64/ this one has a saucy host, and a trusty chroot, my sync will need about on hour22:33
infinitywookey: And so you don't think I'm crazy, on real hardware:22:33
infinityhttp://paste.ubuntu.com/6285718/22:33
wookeywhat do you get for  dpkg -l | grep libstdc ?22:34
infinitywookey: That's at the end of that paste.22:34
wookeyright. OK. I'm clearly not running what I think I'm running.22:35
wookeythanks for the reality check22:36
infinitywookey: Well, I'd have noticed if this was broken, given that "chroot in and run apt-get a bit" is basically *the* test case for ubuntu-core validation. :)22:36
wookeyindeed. no apt is serious22:37
wookeyOK. obvious and embarassing s/raring/saucy/ error spotted. trying again...22:49
dokowookey, sync finished, http://people.canonical.com/~doko/tmp/arm64/23:25

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