Re: boot armv7 on qemu-linaro
Hi, I've used this script (http://wiki.gumstix.org/index.php?title=Overo_qemu_script) to package binary bootloaders, kernels and a rootfs into a qemu-bootable format. I tweaked it specifically for the Cortex-A8 based Gumstix Overo but it should also work for Beagleboard and should be a good starting point for other system. More generically: http://wiki.gumstix.org/index.php?title=Overo_emulation_in_qemu HTH, -Ash On Wed, Jan 11, 2012 at 7:46 AM, Andrei Gherzan wrote: > On 01/11/2012 05:21 PM, Loïc Minier wrote: >> >> Hey >> >> On Wed, Jan 11, 2012, Andrei Gherzan wrote: >>> >>> I'm struggling to find a way of booting an armv7 fs compiled with >>> poky / yocto. I found some resources on the internet but none proved >>> to be successful for me. Would you be so kind and provide me some >>> infos upon this topic >> >> There are a couple of HowTos on the wiki linked from >> https://wiki.linaro.org/Resources/HowTo/Qemu >> but the instructions might not be fully up-to-date; perhaps they >> provide enough guidance for you to overcome your issues? Would you fix >> or point out the issues in the HowTos if they fail you? >> >> Thanks! > > > I know that wiki. But ... are detailed enough only for pre-compiled images > and so on. Want to compile my own kernel and boot it in qemu linaro - My > kernel and my filesystem. > > ag > > > ___ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: boot armv7 on qemu-linaro
On Thu, Jan 12, 2012 at 8:30 AM, Andrei Gherzan wrote: > Does anybody know why these boot messages are not printed on serial in qemu? What are the kernel boot parameters? I.e. if you 'cat /proc/cmdline' after the system is booted, do you see a 'console=ttyO2,115200n8'? Equally, the word 'quiet' shouldn't be included in the boot parameters if you want to see everything. -Ash ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: boot armv7 on qemu-linaro
Try interrupting u-boot on boot and typing 'setenv console ttyO2,115200n8' then 'boot' A 'saveenv' would normally make this permanent but I suspect this will fail on qemu (nand flash emulation?) so a boot.scr could do the trick. -Ash On Thu, Jan 12, 2012 at 11:20 AM, Andrei Gherzan wrote: > No quiet in it but console is ttyS2. > > On Jan 12, 2012 7:05 PM, "Ash Charles" wrote: >> >> On Thu, Jan 12, 2012 at 8:30 AM, Andrei Gherzan wrote: >> > Does anybody know why these boot messages are not printed on serial in >> > qemu? >> What are the kernel boot parameters? I.e. if you 'cat /proc/cmdline' >> after the system is booted, do you see a 'console=ttyO2,115200n8'? >> Equally, the word 'quiet' shouldn't be included in the boot parameters >> if you want to see everything. >> >> -Ash ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: A working .config file for 2.6.38 kernel for Gumstix Overo board
Hi, If you have the hwpack, I found the config available in the linux-image*.deb in the boot directory. -Ash On Thu, Mar 22, 2012 at 11:49 PM, AKS wrote: > Hi > > I would like to request a working ".config" file for Gumstix > Overo Tide COM board to cross compile a custom kernel > with Linaro/Ubuntu compiler as I have lost my config file > for a customized kernel. I tried using linaro-media-create > to use the overoxxx.config file from /media/rootfs/boot/ but > coping that as .config file to build an uImage does not work. > I tried omap3-defconfig but it does not work, I will be glad > to receive a .config file that can be used to cross compile > an uImage image to boot my kernel. Thanks in advance. > > Sincerely > > Aung > > ___ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Kernel panicking with ALIP and NANO, 12.xx prebuilt images
Yeah---I'm also seeing this on Overo. I'm confused as to what exactly is causing the kernel panic but I suspect something in user space that is exercising some less-used aspect of the kernel. Yesterday I tried using a well tested kernel with a recent linaro rootfs and saw a similar panic as the display was coming up. No solutions at this point -Ash On Fri, May 18, 2012 at 3:17 AM, Sudhangathan B S wrote: > This is link from which I downloaded the image for nano.. I'm using a > Summit-Fire combination.. > http://releases.linaro.org/images/12.03/oneiric/nano/overo-nano.img.gz > more info: > root@linaro-nano:~# uname -a > Linux linaro-nano 3.1.1-21-linaro-omap #21~ci~20120226072322~4f4a8a65-Ubuntu > SMP PREEMPT Sun Feb 26 19: armv7l armv7l armv7l GNU/Linux > > and i'm not sure exactly which image i used for alip.. I'm sure it is the > same link but can be any version from january to march. > more info: > root@linaro-alip:~# uname -a > Linux linaro-alip 3.1.1-21-linaro-omap #21~ci~20120226072322~4f4a8a65-Ubuntu > SMP PREEMPT Sun Feb 26 19: armv7l armv7l armv7l GNU/Linux > > Need more info..?? > - > Sudhangathan BS > Ph:(+91) 9731-905-205 > - > > > On Fri, May 18, 2012 at 1:41 PM, Fathi Boudra > wrote: >> >> On 18 May 2012 10:51, Sudhangathan B S wrote: >> > I' getting this error during boot on a freshly dd'd image of alip or >> > nano >> > prebuilt images. >> >> Please, could you add a link to the exact image you used? >> Latest pre-built images are available on >> http://snapshots.linaro.org/precise/pre-built/ > > > > ___ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev > ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: can I read Overo's madc registers...??
Hi, It looks like the Linaro kernel config. doesn't include these two config. options: CONFIG_TWL4030_MADC CONFIG_SENSORS_TWL4030_MADC I'd suggest adding these two options manually if you feel like compiling your own kernel or perhaps using Steve Sakoman's script if you just want a working system (http://sakoman.com/category/8-gnome-daily-builds-r13.html). For the Linaro folk: what is the policy on changing config. options? What is the best way for the community to request changes? Cheers, --Ash On Sat, May 19, 2012 at 12:35 AM, Sudhangathan B S wrote: > I did a number of searches and found that in the recent kernels the > twl4030-madc module has been made upstream. > And I found this link: > http://wiki.gumstix.org/index.php?title=ADC_overo_2.6.39%2B > as I followed it, I couldn't find the directories mentioned therein.. > > The most relevant thing I found in Linaro-Alip/Nano file system was the > /sys/class/i2c-adapter/ folder. Now i'm into the wild and searching for the > file I need, so that I can read the ADC values. > > Any help meanwhile??? > > - > Sudhangathan BS > Ph:(+91) 9731-905-205 > - > > terms: twl4030-madc tps65950 hwmon madc driver sys class i2c-adapter > > ___ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev > ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Overo stability problem/Overo hwpack support
Packaging Repository First, grab the pre-existing packaging repository. $ bzr branch lp:u-boot-linaro Next, add a changelog entry. This adds your name to the debian/changlog file so the generated packages are signed with your GPG key. $ dch -i (increment...new section) $ dch -a (append...add to existing change) $ dch -r (change to released) The release version number in the changlog should match the version number found in the name of the source tarball. Now, from within the u-boot-linaro packaging repository, build the source package. $ bzr builddeb -S This generates sources packages in the parent directory. Make a new directory and build the binary packages $ cd .. $ dpkg-source -x *.dsc $ cd $ debuild -eCROSS_COMPILE=arm-linux-gnueabi- -b -aarmel -k$GPGKEY == Kernel == The kernel is regrettably tricky as it requires two debian packages: A) a package containing the kernel. Simple enough right? B) a meta-package that depends on the the kernel package. This way, the kernel package can't be apt-get autoremoved. == Kernel Package == Note, if you just want to test a kernel image on hardware, stop here and look at this page instead: https://wiki.linaro.org/Resources/HowTo/KernelDeploy To build a kernel debian: $ dch --changelog debian.linaro/changelog --package linux-omap3 -v 2.6.38-1002.4 $ fdr clean $ fdr updateconfigs $ debuild -eCROSS_COMPILE=arm-linux-gnueabi- -k$GPGKEY -b -aarmel On the target, # dpkg -i To build a kernel normally (https://wiki.linaro.org/Resources/HowTo/KernelDeploy): 1. Get a config from an existing build e.g.: $ scp root@overo.local:/media/rootfs/boot/config-2.6.38-1002-linaro-omap .config -- OR -- $ cat debian.linaro/config/config.common.ubuntu debian.linaro/config/armel/config.common.armel debian.linaro/config/armel/config.linaro-omap > .config 2. Build $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage modules -j8 3. Install $ cp arch/arm/boot/uImage /media/boot/ $ make ARCH=arm INSTALL_MOD_PATH=/media/rootfs/ modules_install $ make ARCH=arm INSTALL_FW_PATH=/media/rootfs/ firmware_install 4. Run (at the u-boot prompt) # setenv loadbootscript '' # setenv console 'ttyO2,115200n8' # saveenv # run bootcmd 5. Generate an initramfs (from running target) # update-initramfs -c -k `uname -r` # mount /dev/mmcblk0p1 /mnt # mkimage -A arm -T ramdisk -C none -n "MY RAMDISK" -d /boot/initrd.img-`uname -r` /mnt/uInitrd (see https://wiki.linaro.org/Resources/HowTo/KernelDeviceTree for dtb) Like u-boot, you need the kernel source and some debian packaging. Fortunately, Linaro regularly packages these together: $ git clone git://git.linaro.org/ubuntu/linux-linaro-precise.git The debian.linaro directory contains all the debian magic that specifies the modules, abi, and the configuration file snippets that are concatenated to make the kernel configuration. Read this page twice: https://wiki.edubuntu.org/KernelTeam/KernelMaintenance The official procedure is https://wiki.linaro.org/Resources/HowTo/PackageYourOwnKernel but much of the work has been done already. Just setup with $ fdr clean $ fdr updateconfigs And then build: $ debuild -eCROSS_COMPILE=arm-linux-gnueabi- -b -aarmel -k$GPGKEY == Meta Kernel Package == This one is a little easier than the kernel. Simply clone and build... $ git clone git://git.linaro.org/people/jcrigby/ubuntu/linux-meta-linaro-natty.git $ make binary As you need to change the ABI etc., you'll want to modify the changelog. To build a meta-package, use $ dch --changelog meta-source/debian/changelog --package linux-meta-linaro -v 2.6.38.1002.4 $ make binary At this point, you have a custom u-boot, kernel and kernel meta package which can be specified as local-debs for linaro-hwpack-create. == RootFS == Traditionally, Debian root file systems have been built natively. The Live-Build tool can be used to create a custom root file system in a cross-build environment such as multistrap. The instructions here https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/LiveBuild summarize the process well. Package seeds are here: https://code.launchpad.net/linaro To customize the branding, modify these packages: * linaro-plymouth-theme-logo * linaro-overlay (firefox default page etc.) https://wiki.linaro.org/TomGall/HowToBrand == Entertaining Extras == To get the toolchain, $ sudo apt-get install gcc-arm-linux-gnueabi To build QEMU (http://wiki.gumstix.org/index.php?title=Overo_emulation_in_qemu): $ ./configure --target-list=arm-softmmu $ make -j8 Tell bzr who you are $ bzr whoami "Ash Charles " Add some handy stuff to .bash_aliases: alias fdr='fakeroot ./debian/rules' export DEBEMAIL="ashchar...@gmail.com" export DEBFULLNAME="Ash Charles" export GPGKEY="869D18EC" === Useful Links === * https://wiki.linaro.org/CategoryHowTo * https://wiki.linaro.org/Platform/DevPlat
Re: Gumstix Overo Support
Hi Steffen, The Overo COM is a community-supported board for Linaro meaning that Linaro doesn't dedicate resources to fixing bugs or enabling new features for this board. That said, Linaro engineers have been more than willing to accept patches from the community and ready to help me (and other Overo users) out on the IRC channels in making sure Overo (and OMAP3 in general) is well-supported by the Linaro image. For example, the change in April was a patch to make sure that Overo had the latest and greatest u-boot support. Currently, the Linaro kernel is missing a few patches and has a few different choices for config. options that aren't ideal for Overo. That said, you can test out the build available here: http://wiki.gumstix.org/index.php?title=Installing_Linaro_Image I work at Gumstix and I'm personally interested in supporting Overo within the Linaro community not least because I stand to learn a lot along the way! For robotics, I think Linaro is the easiest way starting point to get ROS on an OMAP3 system. -Ash On Tue, Sep 4, 2012 at 6:35 AM, Steffen Hemer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello there, > > are there any plans to support the Overo COM platform again by Linaro ? > After a long time of experimentation I got the 11.07 release running > stable but the kernel sources are missing so I can't compile some > system drivers. > In the repositories the last log says that last changes have been made > in april. > This lack of support or ongoing development let me question if Linaro > is the easy-to-use/easy-to-upgrade Ubuntu-like solution it seemed to > be at first view. In my project I try to find a next-generation base > platform for our robotic systems and I and especially the following > students don't have time and experience to use a self-configured linux > like with open-embedded or else. > > What are your suggestions to do regarding the ongoing plans at Linaro? > > Steffen > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJQRgOIAAoJED67DoYHAYtjZugH/1TGkkEgmgpoDhhBT54eCtHC > YrzXLhBfIrRv+4Z8vxDljn/wr2aACNIsh18klQkaB4oVtINLXDC4jiT7SnPSXM7R > sGBDy0zFO1BxOdwc9xpR++FRKkLPSN8iX1NCbtmagVgwGO0ngMmbv3Wg3tsj/UCG > +/ly4lHVpnCO6NHUx9xiFH4puIU5yC4h2KkrsP3rz+a7Lra0EPK9Z6irhOqecouK > 7fU/0DqR/xY2htkKmF1GbrHyuLzHwtbYDlcyf2bC81gXqL/4z3J+wDoM6pFM9wH/ > HBGU1Uua73Mheod1NTuqVpLA+08d1dBHzoyXsdHXm5ep4kPfOCSMkB04pRoLF70= > =L0yy > -END PGP SIGNATURE- > > ___ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: HDMI on Overo with Linaro ALIP
Hi AJ, What expansion board and revision are you using? The i2c lines supporting EDID aren't available on some older revisions of Tobi and this causes the display initialization to fail on some hwpacks I've tried. -Ash On Sep 16, 2011 10:10 PM, "Tom Gall" wrote: > Which hwpack are you using? > > On Fri, Sep 16, 2011 at 10:26 PM, AJ ONeal wrote: >> I've got a tobi board with HDMI, I just put in the ALIP image and plugged it >> into my TV for the first time, but I get nothing (but I'm also plugged in >> via serial and see that it boots completely). >> So I try >> X -configure >> and I get >> No devices to configure. Configuration failed. >> ddxSigGiveUp: Closing log >> I googled a bit, but I must not have the right terms. >> It's been years since I've had to configure X. >> Is there some special setup or a tutorial for this? >> AJ ONeal >> >> ___ >> linaro-dev mailing list >> linaro-dev@lists.linaro.org >> http://lists.linaro.org/mailman/listinfo/linaro-dev >> >> > > > > -- > Regards, > Tom > > "We want great men who, when fortune frowns will not be discouraged." > - Colonel Henry Knox > Linaro.org │ Open source software for ARM SoCs > w) tom.gall att linaro.org > w) tom_gall att vnet.ibm.com > h) tom_gall att mac.com > > ___ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: HDMI on Overo with Linaro ALIP
Hi AJ, On Sat, Sep 17, 2011 at 10:14 AM, AJ ONeal wrote: > HWPACK > http://releases.linaro.org/platform/linaro-n/hwpacks/latest/hwpack_linaro-overo_20110823-0_armel_supported.tar.gz > ALIP > http://releases.linaro.org/platform/linaro-n/alip/latest/alip-n-tar-20110823-1.tar.gz Yes---these releases work fine for me with Tobi+attached HDMI/DVI-D monitor. In fact, DVI-D is the only video output from a Tobi board. Does the Overo+Tobi+Monitor combination start up with a Angstrom based image? > Tobi > BRD30002C-R3085 > (btw, it's missing from http://pubs.gumstix.com/boards/TOBI/) Thanks for letting me know that this is missing---this schematic should really be available so I'll check into it. > What about the Chestnut43 with LCD? Should that work out-of-box? I bought it > a few months ago - same time as the Tobis. You may have to set the omapdss.def_disp=lcd43 parameter but it does work. -Ash ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: HDMI on Overo with Linaro ALIP
Hi AJ, On Sun, Sep 18, 2011 at 11:46 AM, Ash Charles wrote: > Thanks for letting me know that this is missing---this schematic > should really be available so I'll check into it. I've posted the schematic: http://pubs.gumstix.com/boards/TOBI/PCB30002-R3085/ -Ash ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Making it easier for Linaro users to help themselves
Hello, > Part of the problem seems to be that we may not do a good job of > passing on the knowledge and understanding necessary to allow > users to help themselves. I don't know if you want user feedback on this thread but here goes... I started playing with Linaro about a year ago coming from an OpenEmbedded and direct cross-compilation background. The most challenging part of the learning curve has been moving from the 'Hey, I downloaded something and look it works' (Linaro does a brilliant job of making this really easy) to 'hmm...I want to change something but there is all this packaging in the way'. For me, this typically means I want to test a change to the kernel or u-boot for Overo. Moving from the standard compile-and-stick-on-a-microSD-card to the method of making debian packages (and understanding the implications of not doing so) was a learning curve. Not all users want to change the kernel but helping users learn to customize the Linaro deliverables (specify specific packages in an image, rebuild packages with different options...) seems important. Other notes: I have heard of other users getting confused by hardware packs---I actually thought this was well-explained but again struggled trying to build my own. Two pages that I keep bookmarked are * https://wiki.linaro.org/Resources/HowTo * https://wiki.linaro.org/CategoryHowTo (because sometimes I need that magic tip on some page that isn't listed above) as I usually know roughly what I wish to do but need an example of how to do it 'a la linaro'. Cheers, -Ash ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [CALL FOR TESTING] Linaro 11.09 Release Candidate
Hi Fathi, On Mon, Sep 26, 2011 at 6:30 PM, Fathi Boudra wrote: > If you are interested in running Nano, ALIP or Developer image _or_ want to > try > our LEB on one of the board support packs maintained by our community, please > help and test by following the download and installation instructions included > in the questionaire linked from below your board: Which is the correct mechanism for reporting testing results: these questionnaires (very slick btw) or the qatracker tool? Thanks, Ash ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: End to end audio test - initial drop
Cool! Kurt, thanks for publishing such a useful tool; you will have made many people who test Gumstix Overos happy that they don't have to listen to inane audio samples each time a board is tested. -Ash On Mon, Nov 28, 2011 at 6:01 PM, Kurt Taylor wrote: > Hi everyone, > > Last week I did an initial drop of the end to end audio test we have been > discussing. > > The idea is fairly simple, play a sine wave and test the audio stack by > sampling/testing the sine back in via loopback cable. The app is called > testfreq and is driven by a script called e2eaudiotest. It opens and > configures the audio device, takes a sample and then does a discrete fourier > transformation to find the frequency using the fftw3 library. The test > script driver uses speaker-test to play a sine wave at A 440, which for now > is the test frequency. It's still basic at this point, but it does work on > my system. There is a lot of additional things I'd like to do, initial stack > configuration, passing in the device, passing the test frequency, doing more > auto detection, clean up the code, etc, but I wanted to start getting > feedback. Any and all would be appreciated. > > Have a look, and if you have a loopback cable, give it a spin: > > http://git.linaro.org/gitweb?p=people/kurt-r-taylor/e2eaudiotest.git > > You can also read more about it and check my progress here: > > https://blueprints.launchpad.net/linaro-multimedia-project/+spec/linaro-mmwg-e2eaudiotesting-basic > > Enjoy! > > -- > > Kurt Taylor (irc krtaylor) > Linaro Multimedia > Linaro.org │ Open source software for ARM SoCs > Follow Linaro: Facebook | Twitter | Blog > > > ___ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev > > ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [Gumstix-users] Linaro, Gumstix, and illegal instructions
Like Jeff mentioned, I also saw some illegal instructions on early linaro builds but didn't pursue it at the time. I just did a little digging online and there was some mention of ARM errata causing issues ( https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/495536) Based on, https://github.com/gumstix/Gumstix-Overo-Kernel/blob/master/arch/arm/configs/overo_linaro_defconfig several of the errata are not set. To be honest, I've not found a description of the errata other than the high-level detail mentioned in the kernel config so I'd love to know which are the correct ones to be setting for the Overo. -Ash On Thu, Sep 20, 2012 at 11:00 AM, Jonathan Kunkee wrote: > Hello, > > I recently acquired a Gumstix Overo Water with a Tobi and decided to put > Node.js on it to turn it into a web server of sorts. > > The build dies with an "Illegal instruction" error, and I am thoroughly > confused. > > In order to set up the build, I did the following: > 1. imaged a microSD card with the Linaro binaries indicated by > http://wiki.gumstix.org/index.php?title=Installing_Linaro_Image > 2. booted > 3. dd'd/enabled 200MB of swap on the SD card > 4. apt-get update/upgrade everything > 5. installed various development dependencies (git, libc6-dev, g++, and many > others) > 6. cloned Joyent's repo. > 7. modified `wscript` in the repo with V8-specific changes for ARM > (including enabling hard-float) (modified the scons invocation in v0.8) > 8. ./configure > 8. make > 9. observed 'illegal instruction' death in the make process: > > /root/node/deps/v8/src/arguments.h: In constructor > 'v8::internal::CustomArguments::CustomArguments(v8::internal::Isolate*, > v8::internal::Object*, v8::internal::Object*, v8::internal::JSObject*)': > /root/node/deps/v8/src/arguments.h:93:65: internal compiler error: Illegal > instruction > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > The bug is not reproducible, so it is likely a hardware or OS problem. > scons: *** [obj/release/runtime-profiler.o] Error 1 > scons: building terminated because of errors. > > > If I restart the build, it works fine for a while (including rebuilding the > object it died building) then dies again. A different portion of the build > is running and it usually receives a segfault: > > [ 9/35] cxx: src/node_javascript.cc -> out/Release/src/node_javascript_5.o > /usr/bin/g++ -pthread -g -O3 -DHAVE_OPENSSL=1 -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=1 -DARCH="arm" -DPLATFORM="linux" > -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -IRelease/src > -I../src -IRelease/deps/http_parser -I../deps/http_parser > -IRelease/deps/uv/include -I../deps/uv/include -IRelease/deps/uv/src/ares > -I../deps/uv/src/ares -IRelease/deps/v8/include -I../deps/v8/include > -Ideps/v8/include ../src/node_javascript.cc -c -o > Release/src/node_javascript_5.o > g++: internal compiler error: Segmentation fault (program as) > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > Waf: Leaving directory `/root/node/out' > > > I am confused. I've made a few observations about my setup: > > * Thinking that it might be a thermal problem because it was under heavy > load at 600MHz in open air, I dug out a small heat sink, attached it, and > pointed a small fan at it. It now runs cool to the touch. I still get the > same 'illegal instruction' deaths under load. > > * Usually three invocations of 'make' are required before it actually > finishes, but it does finish. I can run the command-line interpreter and it > seems to behave inasmuch as I've used it. > * 'make test' fails, but I think that's a Node.js/ARM problem. > * I run htop to monitor the build, and sometimes the build system works fine > while htop dies with an 'illegal instruction' error. > * Node.js on ARM is presently somewhat sticky, so I checked out the v0.6.6 > tag. v0.6.18 encounters the same problem. v0.8.9 simply segfaults instead. > * I have an Overo Water (GS3503W-R2889) on a Tobi. > * MLO version: I haven't the foggiest, but I get the U-Boot version string > twice, once being before u-boot.bin is loaded. > * U-Boot 2012.04.01 (Jul 19 2012 - 17:31:34) > * I moved the SD card to a different Water/Tobi pair and I got the same > error (illegal instruction, Node.js v0.8.9) > > It feels like a task swapping bug in the kernel. Perhaps it's related to > errata on the OMAP3530. It could also be read timeouts from the swap file on > the SD card, though dmesg doesn't say anything of the sort. I found a kernel > patch regarding inconsistent caches on ARM, but it hit in 2.6.33 and I'm > running 3.2.1. > > Has anyone seen something like this? > Would anyone be willing to replicate the problem? I'd be happy to share my > tweaks to Node.js' build system to get it to build. > > Thanks for reading! > Jon Kunkee > > -- > Everyone hates slow
Re: [Gumstix-users] Linaro, Gumstix, and illegal instructions
On Fri, Sep 21, 2012 at 2:48 PM, Robert Nelson wrote: > For omap34/35xx class hardware definitely turn on > CONFIG_ARM_ERRATA_430973=y > > When using a mix of arm/thumb application binaries on this core. Thanks Robert. Do you know of any references for these errata beyond just the kernel config. descriptions? --Ash ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev