[beagleboard] Flashing eMCC hangs at task mmcqd/0:70 blocked for more than 60 seconds
I am trying to flash *BBB-eMMC-flasher-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img* and *bone-debian-7.8-machinekit-armhf-2015-03-15-4gb* into my BBB, it went into LEDs cycling fine, but then hangs in the middle. I hook it up to the serial console, and it says (both images and after retry many times): - Formatting: /dev/mmcblk1 complete - Copying: /dev/mmcblk0p1 - /dev/mmcblk1p1 rsync: /boot/uboot/ - /tmp/boot/ rsync: ignore the % values when shown as they are not accurate... Copying: /dev/mmcblk0p2 - /dev/mmcblk1p2 [ 145.586350] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) rsync: / - /tmp/rootfs/ rsync: ignore the % values when shown as they are not accurate... [ 300.521380] INFO: task mmcqd/0:70 blocked for more than 60 seconds. [ 300.530138] echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. [ 300.540429] mmcqd/0 D c04d04a5 070 2 0x [ 300.549258] Kernel panic - not syncing: hung_task: blocked tasks [ 300.557650] [c00114f1] (unwind_backtrace+0x1/0x9c) from [c04cb2fd] (panic+0x59/0x15c) [ 300.568307] [c04cb2fd] (panic+0x59/0x15c) from [c0073955] (watchdog+0x19d/0x1c0) [ 300.578566] [c0073955] (watchdog+0x19d/0x1c0) from [c00454eb] (kthread+0x6b/0x78) [ 300.588936] [c00454eb] (kthread+0x6b/0x78) from [c000c8fd] (ret_from_fork+0x11/0x34) [ 300.599621] drm_kms_helper: panic occurred, switching back to text console Though, flashing a *BBB-eMMC-flasher-debian-7.8-console-armhf-2015-03-01-2gb* is fine (and finishes in 3 minutes) What could be the problem? Thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] BeagleBone Black doesn't boot up from eMMC
Hello everyone, I have been using my BBB without any problem for quite a long time. But, suddenly the BBB stopped booting up from eMMC. When I connect the board via USB, the power LED lits, and all the 4 user leds turns on for a few seconds and goes off, except the LED_0, it is doing its heartbeat pattern. When I inserted a newly flashed SD card into its slot, and powered up, it is turning on and booting up as usual. But, when I tried to flash the SD card image into the eMMC by holding the boot-button during start up, only the power LED turns on for 3 seconds and goes off, and nothing happens thereafter. What could be the possible reason? How would I fix it? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Flashing eMCC hangs at task mmcqd/0:70 blocked for more than 60 seconds
you dont have a 4gb emmc on your BBB ? On 4/5/2015 8:54 PM, Sam Wong wrote: I am trying to flash /BBB-eMMC-flasher-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img/ and /bone-debian-7.8-machinekit-armhf-2015-03-15-4gb/ into my BBB, it went into LEDs cycling fine, but then hangs in the middle. I hook it up to the serial console, and it says (both images and after retry many times): - Formatting: /dev/mmcblk1 complete - Copying: /dev/mmcblk0p1 - /dev/mmcblk1p1 rsync: /boot/uboot/ - /tmp/boot/ rsync: ignore the % values when shown as they are not accurate... Copying: /dev/mmcblk0p2 - /dev/mmcblk1p2 [ 145.586350] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) rsync: / - /tmp/rootfs/ rsync: ignore the % values when shown as they are not accurate... [ 300.521380] INFO: task mmcqd/0:70 blocked for more than 60 seconds. [ 300.530138] echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. [ 300.540429] mmcqd/0 D c04d04a5 070 2 0x [ 300.549258] Kernel panic - not syncing: hung_task: blocked tasks [ 300.557650] [c00114f1] (unwind_backtrace+0x1/0x9c) from [c04cb2fd] (panic+0x59/0x15c) [ 300.568307] [c04cb2fd] (panic+0x59/0x15c) from [c0073955] (watchdog+0x19d/0x1c0) [ 300.578566] [c0073955] (watchdog+0x19d/0x1c0) from [c00454eb] (kthread+0x6b/0x78) [ 300.588936] [c00454eb] (kthread+0x6b/0x78) from [c000c8fd] (ret_from_fork+0x11/0x34) [ 300.599621] drm_kms_helper: panic occurred, switching back to text console Though, flashing a /BBB-eMMC-flasher-debian-7.8-console-armhf-2015-03-01-2gb/ is fine (and finishes in 3 minutes) What could be the problem? Thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com mailto:beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Enable PRU on Ubuntu 14.02
Hi Group, I have decided to update my PRU code from Linux kernel 3.8 to Ubuntu 14.04 (Kernel 3.14). From what I read on the internet the device tree stuff is different Could some point me to the instructions to enable the PRU on Ubuntu 14.04? I want to access the LED0-LED4 at first from the PRU. Thanks Stuart -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Using BBB as a standalone device. (Running script from Power ON)
Yes, but you failed to mention which init daemon is running on the BBB. systemd or init. On Sun, Apr 5, 2015 at 12:07 PM, J_ROBO jasonch...@gmail.com wrote: To clarify, I'd like to be able to run the POV script that I created right when the BBB is powered on. Is there a way to boot this script from startup? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Cannot load device tree overlay at startup
Editing /etc/default/capemgr worked for me, can you try creating uenv.txt in /boot/uboot ? On 5 Apr 2015 11:32, Bremenpl breme...@gmail.com wrote: Hi there, Any other hints maybe? I still havent resolved this :\. On April 1, 2015 5:01:10 PM azizbahr...@gmail.com wrote: On Tuesday, 31 March 2015 11:15:29 UTC+1, bremenpl wrote: Hello there, I am using a custom build kernel using the script from Mr Nelson ( https://github.com/RobertCNelson/bb-kernel.git). I am facing problems with loading a device tree overlay for dvi cape at startup. I was abble to succesfully load the overlay using echo BB-BONE-DVID-01 slots when running already. I tried sifferent methods for loading the device tree at startup. I tried creating uEnv.txt in /boot/ directory that contains: # enable systemd optargs=quiet init=/lib/systemd/systemd # enable dvi cape_enable=capemgr.enable_partno=BB-BONE-DVID-01 This havent worked so i tried editing /etc/default/capemgr with: CAPE=BB-BONE-DVID-01 But that also did not help, the dts is not loading at startup. I would aprichiate any hints on this case. Is there any step I could possibly miss when loading device trees at startup? I am using debian wheezy. Hi, Can you try the following in uEnv.txt optargs=capemgr.enable_partno=BB-BONE-DVID-01 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/mnw4Q7nXA3I/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/mnw4Q7nXA3I/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] much value in BB-xM anymore?
On Sat, 4 Apr 2015, Jason Kridner wrote: I think the advantages you find are the EHCI USB host controller with hub and DSP. The DSP has some interesting binary loads, including some acceleration for depth-finding cameras. There's also a good amount of documentation for use with tools like Matlab, but I believe that's probably a bit beneath your personal experience level. that sounds interesting enough that i might as well just hang onto it ... not like it takes up a lot of space. now as to these *other* 17 eval boards ... rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday
[beagleboard] Setting pin mux settings in C code reading from pins faster than using fopen, fread, fclose?
Hi everyone, I'm working on a school project and am in way over my head. I need to control a lego NXT robotic arm using C code running on the BBB. I have the electronics part all sorted out - my groupmate is a wiz with that. The software is giving me trouble though - I'm used to using an old HCS12 board in the school labs, and the BBB is quite different... I can export and read from the GPIO pins using the method shown here: https://learnbuildshare.wordpress.com/2013/05/29/beaglebone-black-digital-ouput/ . The file opening and closing for every read/write seems really clunky though when I'm trying to read quadrature encoder values... Would it actually work? Or do I need a better method? I think I read somewhere that the ports are memory-mapped and can be accessed that way - is that a different method? Can someone explain how I would do that in C? Also, I need to set the pin mux setting in C as part of this program - can anyone point me in the right direction to do that? :) Thanks for reading and for any help you can give :) I'm at the end of my rope with trying to figure this out with google... :/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Setting pin mux settings in C code reading from pins faster than using fopen, fread, fclose?
Oh, not sure if this matters but I'm using VirtualBox with Debian, coding in Eclipse and cross-compiling onto the BBB which is also running Debian. And just as a strange thing - I managed to get it to read an encoder value and it reads 0 as 48 and 1 as 49... not sure what is up with that.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] cannot find -lsqlite3 when cross compiling
Hi, I am trying to interface with an sqlite3 db, as a starter i ran the example code from here http://www.sqlite.org/quickstart.html. I have added sqlite3 to the linker libraries (-l), but i get the following error from eclipse. 09:40:51 Incremental Build of configuration Debug for project BBB_remote_Generic_c11 make all Building target: BBB_remote_Generic_c11 Invoking: GCC C++ Linker arm-linux-gnueabihf-g++ -L/usr/arm-linux-gnueabihf/lib -pthread -o BBB_remote_Generic_c11 ./src/includes/PosixSignalDispatcher.o ./src/ includes/SerialPort.o ./src/includes/SerialStream.o ./src/includes/ SerialStreamBuf.o ./src/sqlite3_example.o -lsqlite3 /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/ bin/ld:* cannot find -lsqlite3* collect2: error: ld returned 1 exit status make: *** [BBB_remote_Generic_c11] Error 1 09:40:51 Build Finished (took 58ms) I am not sure how to fix this, please help. Regards Aziz -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] [OT] *proper* string tests for sh/dash shells?
a bit off-topic, but i'm writing a number of utilities and shell functions for future classes involving the BBB, and i'm looking at a pile of existing scripts in current BBB images, and i want to clarify at least one point about shell programming to make sure i'm not using non-standard shell structures. i see a lot of testing a variable for being empty/unset or not like this: if [ ! x${VAR} = x ] ; then linux command fi which is clearly testing if the variable ${VAR} has an actual value. for brevity, i prefer doing something like this, which turns three lines into one and makes printed scripts much tighter: [ -z ${VAR} ] || linux command [ -n ${VAR} ] linux command now, regardless of whether one is using sh, bash or dash, i'm *moderately* sure that the above string tests are POSIX so they should be safe, yes? is there any reason i should avoid that second set of string tests? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday
Re: [beagleboard] Re: Cannot load device tree overlay at startup
Hi there, Any other hints maybe? I still havent resolved this :\. On April 1, 2015 5:01:10 PM azizbahr...@gmail.com wrote: On Tuesday, 31 March 2015 11:15:29 UTC+1, bremenpl wrote: Hello there, I am using a custom build kernel using the script from Mr Nelson ( https://github.com/RobertCNelson/bb-kernel.git). I am facing problems with loading a device tree overlay for dvi cape at startup. I was abble to succesfully load the overlay using echo BB-BONE-DVID-01 slots when running already. I tried sifferent methods for loading the device tree at startup. I tried creating uEnv.txt in /boot/ directory that contains: # enable systemd optargs=quiet init=/lib/systemd/systemd # enable dvi cape_enable=capemgr.enable_partno=BB-BONE-DVID-01 This havent worked so i tried editing /etc/default/capemgr with: CAPE=BB-BONE-DVID-01 But that also did not help, the dts is not loading at startup. I would aprichiate any hints on this case. Is there any step I could possibly miss when loading device trees at startup? I am using debian wheezy. Hi, Can you try the following in uEnv.txt optargs=capemgr.enable_partno=BB-BONE-DVID-01 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/mnw4Q7nXA3I/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Cannot load device tree overlay at startup
Ill try replacing the uEnv.txt, will let know as soon as I do. On April 5, 2015 3:46:03 PM pic t azizbahr...@gmail.com wrote: Editing /etc/default/capemgr worked for me, can you try creating uenv.txt in /boot/uboot ? On 5 Apr 2015 11:32, Bremenpl breme...@gmail.com wrote: Hi there, Any other hints maybe? I still havent resolved this :\. On April 1, 2015 5:01:10 PM azizbahr...@gmail.com wrote: On Tuesday, 31 March 2015 11:15:29 UTC+1, bremenpl wrote: Hello there, I am using a custom build kernel using the script from Mr Nelson ( https://github.com/RobertCNelson/bb-kernel.git). I am facing problems with loading a device tree overlay for dvi cape at startup. I was abble to succesfully load the overlay using echo BB-BONE-DVID-01 slots when running already. I tried sifferent methods for loading the device tree at startup. I tried creating uEnv.txt in /boot/ directory that contains: # enable systemd optargs=quiet init=/lib/systemd/systemd # enable dvi cape_enable=capemgr.enable_partno=BB-BONE-DVID-01 This havent worked so i tried editing /etc/default/capemgr with: CAPE=BB-BONE-DVID-01 But that also did not help, the dts is not loading at startup. I would aprichiate any hints on this case. Is there any step I could possibly miss when loading device trees at startup? I am using debian wheezy. Hi, Can you try the following in uEnv.txt optargs=capemgr.enable_partno=BB-BONE-DVID-01 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/mnw4Q7nXA3I/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/mnw4Q7nXA3I/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/mnw4Q7nXA3I/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Setting pin mux settings in C code reading from pins faster than using fopen, fread, fclose?
Hi! I never used any cross compiler nor Eclipse. So I cannot help with that stuff. I compile native on BBB under Debian and use Geany as editor (light IDE). That way I wrote libpruio http://beagleboard.org/project/libpruio/. An easy to use library that provides fast IO and run-time pinmuxing capability. Check it out, the package contains example code. (The current version doesn't provide QEP yet. That feature is implemented in my working version, but up to now I couldn't find the time to finish the upload.) BR -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Using BBB as a standalone device. (Running script from Power ON)
Hi All, I'm working on a POV LED display project on the BBB and I would like to have the BBB operate by itself (what I mean is without any USB cables to the computer and such). It will be powered with a 9V battery that is regulated to 5V. I'd like to be able to run the POV script that I created right when the BBB is powered on. Is this possible? If so, how would I be able to do this? Any input is welcome! Thanks in advance. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Using BBB as a standalone device. (Running script from Power ON)
how long do you expect this to last from a 9v battery? On 4/5/2015 11:25 AM, J_ROBO wrote: Hi All, I'm working on a POV LED display project on the BBB and I would like to have the BBB operate by itself (what I mean is without any USB cables to the computer and such). It will be powered with a 9V battery that is regulated to 5V. I'd like to be able to run the POV script that I created right when the BBB is powered on. Is this possible? If so, how would I be able to do this? Any input is welcome! Thanks in advance. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com mailto:beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Using BBB as a standalone device. (Running script from Power ON)
To clarify, I'd like to be able to run the POV script that I created right when the BBB is powered on. Is there a way to boot this script from startup? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Using BBB as a standalone device. (Running script from Power ON)
I expect it to last for a few hours of use. Power is not an issue for me, but rather trying to find a way to boot the script on startup. On Sunday, April 5, 2015 at 11:52:23 AM UTC-7, Wulf Man wrote: how long do you expect this to last from a 9v battery? On 4/5/2015 11:25 AM, J_ROBO wrote: Hi All, I'm working on a POV LED display project on the BBB and I would like to have the BBB operate by itself (what I mean is without any USB cables to the computer and such). It will be powered with a 9V battery that is regulated to 5V. I'd like to be able to run the POV script that I created right when the BBB is powered on. Is this possible? If so, how would I be able to do this? Any input is welcome! Thanks in advance. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.