[Angstrom-devel] Layers moved
I just got this while doing './oebb.sh update': WARNING WARNING: openembedded-core is using a different branch than configured in layers.txt WARNING Updating layer at layers/openembedded-core Is there an easy way to fix this, short of just refetching the whole layer? Thanks -- Gary Thomas | Consulting for the MLB Associates |Embedded world ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] Layers moved
Op 24 apr. 2012, om 13:43 heeft Gary Thomas het volgende geschreven: I just got this while doing './oebb.sh update': WARNING WARNING: openembedded-core is using a different branch than configured in layers.txt WARNING Updating layer at layers/openembedded-core Is there an easy way to fix this, short of just refetching the whole layer? I don't know what you consider easy, but: git checkout branch ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
[Angstrom-devel] beagleboard
hello The file linux_3.0.bb was modified on April 17th (previously, trying to fetch Linux kernel 3.0.25, but now trying to fetch kernel 3.0.28), but it fails at task 1141 out 1160 for beagleboard virtual/kernel as it had before the modification. When executing bitbake console image executes approximately 3300 tasks, but it hangs at the fetch of the kernel 3.0.28. When MACHINE=beaglebone bitbake virtual/kernel works OK When MACHINE=qemuarm bitbake virtual/kernel works OK I thought that the problem was not having set the git global identity values (name and e-mail), but no difference. I know how to override the machine(MACHINE=...), but how do you override TCLIBS? Any suggestions will be appreciated. Thanks, Aldo L. ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] beaglebone problem
Hi, I strongly suspect the fact systemd-update-utmp-runlevel.service is failing is the cause of my problems. Can anyone advise how I can debug this ? Andrew On 23 Apr 2012, at 08:11, Andrew Holt wrote: Hi, Just tried something obvious: systemctl start connman.service And sure enough the network started. I then did systemctl enable connman.service systemctl daemon-reload reboot and . . . no network. Interestingly I have only one service flagged as failed: systemctl --no-pager --full | grep failed systemd-update-utmp-runlevel.service loaded failed failedNotify Audit System and Update UTMP about System Runlevel Changes Could this be the root cause ? Andrew On 22 Apr 2012, at 19:53, Koen Kooi wrote: Op 22 apr. 2012, om 20:28 heeft Andrew Holt het volgende geschreven: Hi, I have a feeling that this should be simple, and more an issue with my ignorance of systemd than anything else. It's not systemd, it's connman. What does systemctl connman.service -o cat Show? regards, Koen ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel = Andrew Holt M: +44(0) 7841 340608 Email: andrew.h...@4asolutions.co.uk = ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
[Angstrom-devel] Trouble getting peripheral changes to filter to filesystem
I have a SAM9G25-EK board and I am having issues with my Angstrom image incorporating some kernel configuration changes I've made. This chip has 4 USARTs with USART0 and USART3 populated on the development board. The default image has USART3 disabled and I am trying to enable it. With a Buildroot setup, all I needed to do was register USART3 in the board configuration file in the kernel by adding: at91_register_uart(AT91SAM9X5_ID_USART3, 4, 0); to board-sam9x5ek.c. I've done this with my Angstrom image (using a patch and verifying that the patch was correctly applied) and then executed: bitbake -c clean virtual/kernel bitbake -c clean net-at91sam9-image bitbake net-at91sam9-image where net-at91sam9-image console-based image recipe that was created by Atmel. I burned the new image to my dev board and rebooted. After booting the new image, USART3 is still not operable and a search of dmesg showed that no attempt was made to register USART3. I then tried removing the registration of USART0 and USART3, rebuilding everything and loading the new image. With this image there was still no change; USART0 was still operational and USART3 was not. So there is a step that I must be missing in getting my updates to the kernel to filter down. I've also tried cleaning and rebuilding udev, but that didn't help either. Any ideas what steps I may be missing? Thanks, Bryan ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
[Angstrom-devel] BeagleBone - ImportError: No module named pysqlite2
I'm trying to build the kernel for a BeagleBone. Using the direction found at ... http://www.angstrom-distribution.org/building-angstrom I run these commands ... MACHINE=beagleboard ./oebb.sh config beagleboard MACHINE=beagleboard ./oebb.sh update MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel When running the third one (bitbake) I get a series of errors all referencing ... ImportError: No module named pysqlite2 The sqlite3 package is installed. Any thoughts on what I am missing? The full error dump is ... Executing: MACHINE=beagleboard bitbake virtual/kernel Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, in module import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Pseudo is not present but is required, building this first before the main build Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, in module import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import
Re: [Angstrom-devel] Trouble getting peripheral changes to filter to filesystem
On 24/04/2012 20:42, Bryan Evenson wrote: I have a SAM9G25-EK board and I am having issues with my Angstrom image incorporating some kernel configuration changes I've made. This chip has 4 USARTs with USART0 and USART3 populated on the development board. The default image has USART3 disabled and I am trying to enable it. With a Buildroot setup, all I needed to do was register USART3 in the board configuration file in the kernel by adding: at91_register_uart(AT91SAM9X5_ID_USART3, 4, 0); to board-sam9x5ek.c. I've done this with my Angstrom image (using a patch and verifying that the patch was correctly applied) and then executed: bitbake -c clean virtual/kernel bitbake -c clean net-at91sam9-image bitbake net-at91sam9-image where net-at91sam9-image console-based image recipe that was created by Atmel. I burned the new image to my dev board and rebooted. After booting the new image, USART3 is still not operable and a search of dmesg showed that no attempt was made to register USART3. I then tried removing the registration of USART0 and USART3, rebuilding everything and loading the new image. With this image there was still no change; USART0 was still operational and USART3 was not. So there is a step that I must be missing in getting my updates to the kernel to filter down. I've also tried cleaning and rebuilding udev, but that didn't help either. Any ideas what steps I may be missing? Thanks, Bryan ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel Hi Bryan, There is a suggested guide for kernel development[1], and one I recently wrote myself[2] - have a look at the workflow. I am guessing that when you perform the bitbake -c clean you are removing the changes you made to your Angstrom kernel source. [1] http://www.slimlogic.co.uk/2011/05/openembeddedangstrom-kernel-workflow/ [2] http://communistcode.co.uk/blog/blogPost.php?blogPostID=3 ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] BeagleBone - ImportError: No module named pysqlite2
On 24-04-12 22:02, bwgz wrote: ImportError: No module named pysqlite2 Did you have a look at: http://www.openembedded.org/wiki/OEandYourDistro ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] Layers moved
On 24-04-12 13:53, Koen Kooi wrote: I don't know what you consider easy, but: git checkout branch I have the same issue. I did a git checkout, but the openembedded-core layer remains on branch master. It may be related to the fact that the check for a git version that has --no-abbrev-commit doesn't work in oebb.sh The warnings are still there though after updating git, but maybe things got messed up by using a git that doesn't have --no-abbrev-commit before. ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] Trouble getting peripheral changes to filter to filesystem
Well I feel like an idiot. I'd thought that the resulting UBI image was essentially an initramfs image; kernel and filesystem combined in one image. From looking at the address mapping and the commands I've been issuing to flash the new UBI, I now see that I've been building the kernel but not burning it to flash. I guess what tricked me was issuing the set of three commands below would do a clean rebuild of the kernel and the filesystem, but it wasn't obvious to me from the instructions on Atmel's website that the kernel wasn't included in the UBI image. I'd issued a 'bitbake -c cleanall virtual/kernel' and that's still in the middle of rebuilding. If I find out that I still have something else wrong I'll post back here. Otherwise, assume that my only mistake was not actually burning the kernel to flash. -Bryan -Original Message- From: angstrom-distro-devel-boun...@linuxtogo.org [mailto:angstrom-distro-devel-boun...@linuxtogo.org] On Behalf Of Jack Mitchell Sent: Tuesday, April 24, 2012 4:03 PM To: angstrom-distro-devel@linuxtogo.org Subject: Re: [Angstrom-devel] Trouble getting peripheral changes to filter to filesystem On 24/04/2012 20:42, Bryan Evenson wrote: I have a SAM9G25-EK board and I am having issues with my Angstrom image incorporating some kernel configuration changes I've made. This chip has 4 USARTs with USART0 and USART3 populated on the development board. The default image has USART3 disabled and I am trying to enable it. With a Buildroot setup, all I needed to do was register USART3 in the board configuration file in the kernel by adding: at91_register_uart(AT91SAM9X5_ID_USART3, 4, 0); to board-sam9x5ek.c. I've done this with my Angstrom image (using a patch and verifying that the patch was correctly applied) and then executed: bitbake -c clean virtual/kernel bitbake -c clean net-at91sam9-image bitbake net-at91sam9-image where net-at91sam9-image console-based image recipe that was created by Atmel. I burned the new image to my dev board and rebooted. After booting the new image, USART3 is still not operable and a search of dmesg showed that no attempt was made to register USART3. I then tried removing the registration of USART0 and USART3, rebuilding everything and loading the new image. With this image there was still no change; USART0 was still operational and USART3 was not. So there is a step that I must be missing in getting my updates to the kernel to filter down. I've also tried cleaning and rebuilding udev, but that didn't help either. Any ideas what steps I may be missing? Thanks, Bryan ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel Hi Bryan, There is a suggested guide for kernel development[1], and one I recently wrote myself[2] - have a look at the workflow. I am guessing that when you perform the bitbake -c clean you are removing the changes you made to your Angstrom kernel source. [1] http://www.slimlogic.co.uk/2011/05/openembeddedangstrom-kernel-workflow/ [2] http://communistcode.co.uk/blog/blogPost.php?blogPostID=3 ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] Layers moved
On 24-04-12 13:53, Koen Kooi wrote: git checkout branch Oh, you mean manually checkout the right branch for each layer? Apparently I don't understand why this isn't done automatically. ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] beagleboard
On 2012-04-24 12:22, Lucero, Aldo wrote: hello The file linux_3.0.bb was modified on April 17th (previously, trying to fetch Linux kernel 3.0.25, but now trying to fetch kernel 3.0.28), but it fails at task 1141 out 1160 for beagleboard virtual/kernel as it had before the modification. When executing bitbake console image executes approximately 3300 tasks, but it hangs at the fetch of the kernel 3.0.28. When MACHINE=beaglebone bitbake virtual/kernel works OK When MACHINE=qemuarm bitbake virtual/kernel works OK I thought that the problem was not having set the git global identity values (name and e-mail), but no difference. I know how to override the machine(MACHINE=...), but how do you override TCLIBS? Any suggestions will be appreciated. I was able to build this new kernel for the BeagleBoard, but it took a *REALLY* long time to update the kernel source tree. Be patient and try again. -- Gary Thomas | Consulting for the MLB Associates |Embedded world ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] Layers moved
On 2012-04-24 16:00, Jaap Versteegh wrote: On 24-04-12 13:53, Koen Kooi wrote: git checkoutbranch Oh, you mean manually checkout the right branch for each layer? Apparently I don't understand why this isn't done automatically. Especially since if you don't have the right branch checked out (which changed out from under me last update!), you can no longer build anything :-( It did work after I checked out the right branche(s), but I would think that things should be more stable than this. -- Gary Thomas | Consulting for the MLB Associates |Embedded world ___ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
Re: [Angstrom-devel] BeagleBone - ImportError: No module named pysqlite2
This problem was caused by a missing python module - python-sqlite3 Now I'm running up against a problem where python can't resolve sha and variants such as sha512. md5 works. I've installed openssl and about everything else I can think of. On Tue, Apr 24, 2012 at 3:02 PM, bwgz bwg...@gmail.com wrote: I'm trying to build the kernel for a BeagleBone. Using the direction found at ... http://www.angstrom-distribution.org/building-angstrom I run these commands ... MACHINE=beagleboard ./oebb.sh config beagleboard MACHINE=beagleboard ./oebb.sh update MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel When running the third one (bitbake) I get a series of errors all referencing ... ImportError: No module named pysqlite2 The sqlite3 package is installed. Any thoughts on what I am missing? The full error dump is ... Executing: MACHINE=beagleboard bitbake virtual/kernel Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, in module import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Pseudo is not present but is required, building this first before the main build Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, in module import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, in module from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, in module import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, in module from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File
Re: [Angstrom-devel] BeagleBone - ImportError: No module named pysqlite2
On 2012-04-24 18:15, bwgz wrote: This problem was caused by a missing python module - python-sqlite3 Now I'm running up against a problem where python can't resolve sha and variants such as sha512. md5 works. I've installed openssl and about everything else I can think of. What's your build host OS/version? On Tue, Apr 24, 2012 at 3:02 PM, bwgzbwg...@gmail.com wrote: I'm trying to build the kernel for a BeagleBone. Using the direction found at ... http://www.angstrom-distribution.org/building-angstrom I run these commands ... MACHINE=beagleboard ./oebb.sh config beagleboard MACHINE=beagleboard ./oebb.sh update MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel When running the third one (bitbake) I get a series of errors all referencing ... ImportError: No module named pysqlite2 The sqlite3 package is installed. Any thoughts on what I am missing? The full error dump is ... Executing: MACHINE=beagleboard bitbake virtual/kernel Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Pseudo is not present but is required, building this first before the main build Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File
Re: [Angstrom-devel] BeagleBone - ImportError: No module named pysqlite2
Linux beaglebone 3.2.5+ #1 Mon Feb 13 19:22:44 CET 2012 armv7l GNU/Linux I'm doing this on the BeagleBone. On Tue, Apr 24, 2012 at 7:21 PM, Gary Thomas g...@mlbassoc.com wrote: On 2012-04-24 18:15, bwgz wrote: This problem was caused by a missing python module - python-sqlite3 Now I'm running up against a problem where python can't resolve sha and variants such as sha512. md5 works. I've installed openssl and about everything else I can think of. What's your build host OS/version? On Tue, Apr 24, 2012 at 3:02 PM, bwgzbwg...@gmail.com wrote: I'm trying to build the kernel for a BeagleBone. Using the direction found at ... http://www.angstrom-distribution.org/building-angstrom I run these commands ... MACHINE=beagleboard ./oebb.sh config beagleboard MACHINE=beagleboard ./oebb.sh update MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel When running the third one (bitbake) I get a series of errors all referencing ... ImportError: No module named pysqlite2 The sqlite3 package is installed. Any thoughts on what I am missing? The full error dump is ... Executing: MACHINE=beagleboard bitbake virtual/kernel Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Pseudo is not present but is required, building this first before the main build Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from
Re: [Angstrom-devel] BeagleBone - ImportError: No module named pysqlite2
On 2012-04-24 18:24, bwgz wrote: Linux beaglebone 3.2.5+ #1 Mon Feb 13 19:22:44 CET 2012 armv7l GNU/Linux I'm doing this on the BeagleBone. Wow, I can't imagine trying to build Angstrom on the BeagleBone itself. Even if you git it all figured out, be prepared to wait a *LONG* time (a build from scratch on my very fast multi-processor desktop takes many hours! and quite a lot of disk space) Are you sure this is what you want to do? Why not build on a desktop/server machine instead of the target? On Tue, Apr 24, 2012 at 7:21 PM, Gary Thomasg...@mlbassoc.com wrote: On 2012-04-24 18:15, bwgz wrote: This problem was caused by a missing python module - python-sqlite3 Now I'm running up against a problem where python can't resolve sha and variants such as sha512. md5 works. I've installed openssl and about everything else I can think of. What's your build host OS/version? On Tue, Apr 24, 2012 at 3:02 PM, bwgzbwg...@gmail.comwrote: I'm trying to build the kernel for a BeagleBone. Using the direction found at ... http://www.angstrom-distribution.org/building-angstrom I run these commands ... MACHINE=beagleboard ./oebb.sh config beagleboard MACHINE=beagleboard ./oebb.sh update MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel When running the third one (bitbake) I get a series of errors all referencing ... ImportError: No module named pysqlite2 The sqlite3 package is installed. Any thoughts on what I am missing? The full error dump is ... Executing: MACHINE=beagleboard bitbake virtual/kernel Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Pseudo is not present but is required, building this first before the main build Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File
Re: [Angstrom-devel] BeagleBone - ImportError: No module named pysqlite2
It wasn't interested in compiling the entire build. All I want is the kernel. I didn't think a kernel build would take that long. So I figured I'd try this process out to see how it builds the kernel and work from there. I can generate a Linux development system but I don't have one right now. I was hoping that this wouldn't get a problematic as it has been. If it can't be done then I'll do it the standard way. On Tue, Apr 24, 2012 at 7:28 PM, Gary Thomas g...@mlbassoc.com wrote: On 2012-04-24 18:24, bwgz wrote: Linux beaglebone 3.2.5+ #1 Mon Feb 13 19:22:44 CET 2012 armv7l GNU/Linux I'm doing this on the BeagleBone. Wow, I can't imagine trying to build Angstrom on the BeagleBone itself. Even if you git it all figured out, be prepared to wait a *LONG* time (a build from scratch on my very fast multi-processor desktop takes many hours! and quite a lot of disk space) Are you sure this is what you want to do? Why not build on a desktop/server machine instead of the target? On Tue, Apr 24, 2012 at 7:21 PM, Gary Thomasg...@mlbassoc.com wrote: On 2012-04-24 18:15, bwgz wrote: This problem was caused by a missing python module - python-sqlite3 Now I'm running up against a problem where python can't resolve sha and variants such as sha512. md5 works. I've installed openssl and about everything else I can think of. What's your build host OS/version? On Tue, Apr 24, 2012 at 3:02 PM, bwgzbwg...@gmail.com wrote: I'm trying to build the kernel for a BeagleBone. Using the direction found at ... http://www.angstrom-distribution.org/building-angstrom I run these commands ... MACHINE=beagleboard ./oebb.sh config beagleboard MACHINE=beagleboard ./oebb.sh update MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel When running the third one (bitbake) I get a series of errors all referencing ... ImportError: No module named pysqlite2 The sqlite3 package is installed. Any thoughts on what I am missing? The full error dump is ... Executing: MACHINE=beagleboard bitbake virtual/kernel Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py:103: RuntimeWarning: Parent module 'bb' not found while handling absolute import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File /usr/lib/python2.7/atexit.py, line 24, in _run_exitfuncs func(*targs, **kargs) File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/event.py, line 103, in print_ui_queue from bb.msg import BBLogFormatter File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Pseudo is not present but is required, building this first before the main build Traceback (most recent call last): File /home/root/angstrom/setup-scripts/sources/bitbake/bin/bitbake, line 34, inmodule import bb File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/__init__.py, line 82, inmodule from bb import fetch2 as fetch File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/fetch2/__init__.py, line 31, inmodule import bb.persist_data, bb.utils File /home/root/angstrom/setup-scripts/sources/bitbake/lib/bb/persist_data.py, line 35, inmodule from pysqlite2 import dbapi2 as