[beagleboard] Setting the CPU speed.

2014-03-14 Thread cwrseckford
I've been looking at the speed of my BBB and not really understanding
what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
show that the performance governor is in use, but the speed is a constant
550,000 whatever the load.  The scaling_setspeed unsupported entry
probably reflects this; does anyone know how I set up a kernel to handle
the BBB's CPU speed control?

(This is on debian, btw)

Thanks - Will

tuppence ~ # cpuspeed.sh
affected_cpus 0
cpuinfo_cur_freq 55
cpuinfo_max_freq 100
cpuinfo_min_freq 30
cpuinfo_transition_latency 30
related_cpus 0
scaling_available_frequencies 30 60 80 100 
scaling_available_governors conservative ondemand userspace powersave 
performance 
scaling_cur_freq 55
scaling_driver generic_cpu0
scaling_governor performance
scaling_max_freq 100
scaling_min_freq 30
scaling_setspeed unsupported
tuppence ~ # 


-- 
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: QNX on BBB

2014-03-14 Thread Thorsten Gonschior
NEWS:  - Show stopper  - 

After clearing up some technical aspects I ran into a major show stopper. 
Price of QNX Develoment environment is about 10.000,-eur. Even if I would 
be willing to invest this kind of money, my tarket was to establish a 
development platform for engineering offices. I know for sure that most of 
small engineering offices or soltary engineer are not willing or able to 
invest this for smaller of projects.

I start the attempt to convince QNX that there is a large community out 
there willing to work with qnx OS for a huge variety of projects and 
applications, but not willing to passt this kind of entry barrier.


I would appreciate comments on my assumption.

Regards,
Thorsten.

-- 
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: QNX on BBB

2014-03-14 Thread David Lewin
Well that was my point in my previous comment. Whereas I think QNX is a
really great RTOS hopefully brigded to opensource -whereas being closed
source- in recent years (yes recent compared to 20 years of existence) ,
from the start I've believed in the µKernel architecture as the best one.
Anyway, prices and -*royalties*- allways stopped me, as for µC/OS as well.
Honestly, I really like to use QNX on BBB but strongly believe that if it's
not on Raspberry it won't be ported to BBB neither.




2014-03-14 10:40 GMT+01:00 Thorsten Gonschior 
tgonsch...@spectral-process.com:

 NEWS:  - Show stopper  -

 After clearing up some technical aspects I ran into a major show stopper.
 Price of QNX Develoment environment is about 10.000,-eur. Even if I would
 be willing to invest this kind of money, my tarket was to establish a
 development platform for engineering offices. I know for sure that most of
 small engineering offices or soltary engineer are not willing or able to
 invest this for smaller of projects.

 I start the attempt to convince QNX that there is a large community out
 there willing to work with qnx OS for a huge variety of projects and
 applications, but not willing to passt this kind of entry barrier.


 I would appreciate comments on my assumption.

 Regards,
 Thorsten.

  --
 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/CS0So4bFsFk/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: QNX on BBB

2014-03-14 Thread Thorsten Gonschior
quote: Seems not so obvious. So QNX has an opensource part but for BBB it 
implies these steps ...

hm, ok sry I must have missed your point :)

I agree that QNX is probably the best choice for a robust and well designet 
real time embedded system. In this I do not bother the OS-price or royalty 
which probably is scalable.

Texas Instruments learned this 10 or 15 Years ago when the Code Composer 
Studio was very expensive and a simple JTAG Pod cost 3.000,-. Even 
Microsoft pushes the development platforms for free into the market, 
because all of them understand that the major market is selling the 
operating system (in case of Microsoft) or selling the hardware (in case of 
TI) and not selling the development solutions. See XILINX, development 
studio incuding simulator for free.

This is what makes people work with it. Expecting 10.000,- as entry cost is 
the best guaranty to avoid thousands of developers working with QNX and 
thereby hundreds of thousands licences of the OS.

I dont understand this philosophy 

20 Years of experience as embedded developer showed me on thing. 1.000,- 
eur or $ ist the magic barrier. this is what people invest as an attempt 
for some half cooked idea thy have. Max be that 95 % of those ideas will 
never reach any state of economic asset, but once in a while it will and it 
will do with power. suppressing this kind of innovative forces is hurting 
the provider itself.

I am 50% convinced today that I will build my platform on Linux RT. 

keep you posted ...
Thorsten.



Am Freitag, 14. März 2014 10:54:19 UTC+1 schrieb dlewin555:

 Well that was my point in my previous comment. Whereas I think QNX is a 
 really great RTOS hopefully brigded to opensource -whereas being closed 
 source- in recent years (yes recent compared to 20 years of existence) , 
 from the start I've believed in the µKernel architecture as the best one. 
 Anyway, prices and -*royalties*- allways stopped me, as for µC/OS as 
 well. 
 Honestly, I really like to use QNX on BBB but strongly believe that if 
 it's not on Raspberry it won't be ported to BBB neither.




 2014-03-14 10:40 GMT+01:00 Thorsten Gonschior 
 tgons...@spectral-process.com javascript::

 NEWS:  - Show stopper  - 

 After clearing up some technical aspects I ran into a major show stopper. 
 Price of QNX Develoment environment is about 10.000,-eur. Even if I would 
 be willing to invest this kind of money, my tarket was to establish a 
 development platform for engineering offices. I know for sure that most of 
 small engineering offices or soltary engineer are not willing or able to 
 invest this for smaller of projects.

 I start the attempt to convince QNX that there is a large community out 
 there willing to work with qnx OS for a huge variety of projects and 
 applications, but not willing to passt this kind of entry barrier.


 I would appreciate comments on my assumption.

 Regards,
 Thorsten.

  -- 
 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/CS0So4bFsFk/unsubscribe.
 To unsubscribe from this group and all its topics, 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.


Re: [beagleboard] Setting the CPU speed.

2014-03-14 Thread Maxim Podbereznyy
cpufreq-info
cpufreq-set


2014-03-14 13:31 GMT+04:00 cwrseckf...@gmail.com:

 I've been looking at the speed of my BBB and not really understanding
 what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
 show that the performance governor is in use, but the speed is a constant
 550,000 whatever the load.  The scaling_setspeed unsupported entry
 probably reflects this; does anyone know how I set up a kernel to handle
 the BBB's CPU speed control?

 (This is on debian, btw)

 Thanks - Will

 tuppence ~ # cpuspeed.sh
 affected_cpus 0
 cpuinfo_cur_freq 55
 cpuinfo_max_freq 100
 cpuinfo_min_freq 30
 cpuinfo_transition_latency 30
 related_cpus 0
 scaling_available_frequencies 30 60 80 100
 scaling_available_governors conservative ondemand userspace powersave
 performance
 scaling_cur_freq 55
 scaling_driver generic_cpu0
 scaling_governor performance
 scaling_max_freq 100
 scaling_min_freq 30
 scaling_setspeed unsupported
 tuppence ~ #


  --
 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.




-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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: USB does not power ON on beagle board XM at low temperature

2014-03-14 Thread volcanovt87
Hi Robert,

I had connected a USB camera to the beagle XM board running ubuntu  and it 
worked successfully( tested with camorama application).
I applied this patch 
https://github.com/RobertCNelson/stable-kernel/blob/v3.4.x/patches/omap_fixes/0001-Fix-sprz319-erratum-2.1.patchas
 I was facing the same issue with low temperature. After applying the 
patch, the board works fine at low temperatures but the camera output 
flickers using the camorama application.

The version of ubuntu image used is 3.4.7-x1

Are there any other patches to handle this problem?

Thanks,
Valareyano

-- 
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] HOW TO MAKE UBUNTU BEAGLEBONE BLACK STANDALONE (GUI)

2014-03-14 Thread Agung Triwicaksono Pamungkas
I using LG 505G monitor. Is there monitor type for compatible?

Pada Jumat, 14 Maret 2014 10:50:40 UTC+7, William Pretty Security menulis:

 You are going to have to tell us more about you setup.

 For example what is the make and model of the monitor ??

  


 http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

  

 *From:* beagl...@googlegroups.com javascript: [mailto:
 beagl...@googlegroups.com javascript:] *On Behalf Of *Agung 
 Triwicaksono Pamungkas
 *Sent:* Thursday, March 13, 2014 11:26 PM
 *To:* beagl...@googlegroups.com javascript:
 *Subject:* [beagleboard] HOW TO MAKE UBUNTU BEAGLEBONE BLACK STANDALONE 
 (GUI)

  

 Excuse me everybody, I have problem with my ubuntu beaglebone black. I 
 have finish installing ubuntu arm and ubuntu-desktop to show it on monitor 
 but can't show. When I execute this command: *cat /proc/cmdline*
 not show *console=ttyO0,115200n8 video=HDMI-A-1:640x480@60 
 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc ip=*
 it just show 
 *console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait 
 fixrtc ip=\*Can everybody help me for this problem. What should i do 
 for this HDMI problem. Thanks alot

 *Agung*

 -- 
 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.

 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2014.0.4336 / Virus Database: 3722/7192 - Release Date: 03/13/14
 --

 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2014.0.4336 / Virus Database: 3722/7184 - Release Date: 03/12/14


-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread iustinian . input
Robert, thanks for your work. 

Is there a guide somewhere to build or a way to download a absolute minimal 
image. Something with only ssh, apt and full hardware initialization on it 
and nothing else. That would be a good base for couple of headless projects 
I am thinking about.

When I am talking about HW initialization I am only thinking about network 
and hwrng

Right now I am using this:

http://rcn-ee.net/deb/flasher/wheezy/BBB-eMMC-flasher-debian-7.4-2014-02-16-2gb.img.xz

and I will continue to use it as it is. But if you plan to stop developing 
those images I need to start thinking about another way to get a headless 
emmc debian image working.

On Thursday, March 13, 2014 10:59:02 PM UTC, RobertCNelson wrote:

 On Thu, Mar 13, 2014 at 5:51 PM, Robert Nelson 
 robert...@gmail.comjavascript: 
 wrote: 
  On Thu, Mar 13, 2014 at 5:30 PM, Dennis Cote 
  den...@harding.cajavascript: 
 wrote: 
  On Thursday, March 6, 2014 8:58:32 AM UTC-7, Jason Kridner wrote: 
  
  If you have a BeagleBone Black and are able to try out this image, it 
  might be good to propose fixing any short-falls you see in what is 
 provided 
  on the image. 
  
  
  Every time I boot, or logout of LXDE, I get a touchscreen calibration 
  program that runs. It says 'Touchscreen calibration for Logitech USB 
  Keyboard' (I think it sometimes says Mouse, but I could be mistaken). I 
 am 
  running with a HDMI monitor and a USB keyboard and mouse connected to 
 an 
  external powered hub. I have no touchscreen to calibrate and this 
 wastes 
  about 15 seconds on each logout. What starts this program, and how do I 
  disable it? 

 PS: what model/etc is it? lsusb?  Encase I need to go pick one up. 

 Regards, 

 -- 
 Robert Nelson 
 http://www.rcn-ee.com/ 


-- 
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: BBB + PREEMPT_RT

2014-03-14 Thread mhfarzaneh
Hi thats great!

Is that possible to have your compiled kernel for BBB? I would avoid the 
compiling process.
Thanks a lot,

Morteza

Am Mittwoch, 26. Februar 2014 14:53:05 UTC+1 schrieb quik...@gmail.com:

 I have recently tested kernel 3.8.13-rt9 (
 https://github.com/beagleboard/kernel/tree/3.8-rt) using git://
 git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git. I am 
 using Ubuntu 12.04.4. The load was created using stress –cpu 1 which 
 generates a cpu load of about 100%. I then used cyclictest:


  root@ubuntu-armhf:/home/ubuntu/rt-tests# ./cyclictest -l100 -m -n 
 -t1 -p99 -i400 -q

 # /dev/cpu_dma_latency set to 0us

 T: 0 ( 770) P:99 I:400 C:100 Min: 14 Act: 19 Avg: 18 Max: 132


  uname -a reports:

 root@ubuntu-armhf:/home/ubuntu/rt-tests# uname -a

 Linux ubuntu-armhf 3.8.13-rt9-00899-g160e771 #1 SMP PREEMPT Wed Jun 19 
 10:49:36 CEST 2013 armv7l armv7l armv7l GNU/Linux


  I am absolutely surprised that the result is looking that good.



 Am Freitag, 21. Februar 2014 09:20:39 UTC+1 schrieb quik...@gmail.com:

 I am trying to figure out how to create a kernel for the BBB that 
 supports PREEMPT_RT. It's kind of strange that the BBB's default kernel 
 does not even have PREEMPT activated. Such a board doesn't fit to many 
 embedded applications where we need at least some kind of determinism. It 
 is even worse, that nobody seems to care about this problem. Contrary to 
 that, the Raspberry PI's standard kernel has PREEMPT activacted from the 
 very beginning.

 I have tested Robert Nelsons kernel 3.8.13-r9 (
 https://github.com/beagleboard/kernel/tree/3.8-rt). It does not have 
 PREEMPT_RT activated by default. When doing so, it does not boot. But 
 activating PREEMPT does work. However, development of this branch has 
 stopped several months ago. The official source for RT Linux (3.8.13) has 
 evolved since then. Meanwhile there's an rt17 patch set (
 https://www.kernel.org/pub/linux/kernel/projects/rt/3.8/). Did anybody 
 give this a try? Does it work with the BBB?




-- 
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: QNX on BBB

2014-03-14 Thread David Lewin
well ok, but I'm not sure to understand all of it :

I am 50% convinced today that I will build my platform on Linux RT


what are the other 50% stands for ? what will change it for a complete
decision, what are the requirements above price ?
For the freeing part I'd say that QNX did it differently than the other
(MS, Ti, and even Arm ) with their licensing policy. Anyway, this doesn't
helped so much indeed:  hence my particular focus on Xenomai for BBB
instead.


2014-03-14 11:26 GMT+01:00 Thorsten Gonschior 
tgonsch...@spectral-process.com:

 quote: Seems not so obvious. So QNX has an opensource part but for BBB it
 implies these steps ...

 hm, ok sry I must have missed your point :)

 I agree that QNX is probably the best choice for a robust and well
 designet real time embedded system. In this I do not bother the OS-price or
 royalty which probably is scalable.

 Texas Instruments learned this 10 or 15 Years ago when the Code Composer
 Studio was very expensive and a simple JTAG Pod cost 3.000,-. Even
 Microsoft pushes the development platforms for free into the market,
 because all of them understand that the major market is selling the
 operating system (in case of Microsoft) or selling the hardware (in case of
 TI) and not selling the development solutions. See XILINX, development
 studio incuding simulator for free.

 This is what makes people work with it. Expecting 10.000,- as entry cost
 is the best guaranty to avoid thousands of developers working with QNX and
 thereby hundreds of thousands licences of the OS.

 I dont understand this philosophy 

 20 Years of experience as embedded developer showed me on thing. 1.000,-
 eur or $ ist the magic barrier. this is what people invest as an attempt
 for some half cooked idea thy have. Max be that 95 % of those ideas will
 never reach any state of economic asset, but once in a while it will and it
 will do with power. suppressing this kind of innovative forces is hurting
 the provider itself.

 I am 50% convinced today that I will build my platform on Linux RT.

 keep you posted ...
 Thorsten.



 Am Freitag, 14. März 2014 10:54:19 UTC+1 schrieb dlewin555:

 Well that was my point in my previous comment. Whereas I think QNX is a
 really great RTOS hopefully brigded to opensource -whereas being closed
 source- in recent years (yes recent compared to 20 years of existence) ,
 from the start I've believed in the µKernel architecture as the best one.
 Anyway, prices and -*royalties*- allways stopped me, as for µC/OS as
 well.
 Honestly, I really like to use QNX on BBB but strongly believe that if
 it's not on Raspberry it won't be ported to BBB neither.




 2014-03-14 10:40 GMT+01:00 Thorsten Gonschior tgons...@spectral-process.
 com:

 NEWS:  - Show stopper  -

 After clearing up some technical aspects I ran into a major show
 stopper. Price of QNX Develoment environment is about 10.000,-eur. Even if
 I would be willing to invest this kind of money, my tarket was to establish
 a development platform for engineering offices. I know for sure that most
 of small engineering offices or soltary engineer are not willing or able to
 invest this for smaller of projects.

 I start the attempt to convince QNX that there is a large community out
 there willing to work with qnx OS for a huge variety of projects and
 applications, but not willing to passt this kind of entry barrier.


 I would appreciate comments on my assumption.

 Regards,
 Thorsten.

  --
 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/CS0So4bFsFk/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard...@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/CS0So4bFsFk/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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 6:46 AM,  iustinian.in...@gmail.com wrote:
 Robert, thanks for your work.

 Is there a guide somewhere to build or a way to download a absolute minimal
 image. Something with only ssh, apt and full hardware initialization on it
 and nothing else. That would be a good base for couple of headless projects
 I am thinking about.

 When I am talking about HW initialization I am only thinking about network
 and hwrng

 Right now I am using this:

 http://rcn-ee.net/deb/flasher/wheezy/BBB-eMMC-flasher-debian-7.4-2014-02-16-2gb.img.xz

 and I will continue to use it as it is. But if you plan to stop developing
 those images I need to start thinking about another way to get a headless
 emmc debian image working.

No worries, I have no plans to discontinue those monthly minimal
images. I have a lot of users using them. Plus they support older
boards like the beagle.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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: Understanding i2c on BBB: a different approach : help needed

2014-03-14 Thread Richard-tx
I think you are going about it wrong.  I would start by adding a device to 
the bus and them with the basic commands like i2cdump, i2cget, etc, control 
it.

If you want to learn Linux internals, that is great, but start at the 
device driver. assuming you know how the kernal works.

richard

On Tuesday, February 11, 2014 1:35:56 PM UTC-6, Ritu Sharma wrote:

 Hi All,

 I'm an experienced rtos driver developer but new to linux i2c subsystem :)

 For quite some time I was trying to learn i2c subsystem by looking at 
 sources... but may be its way too much for me to understand the 
 terminologies : bus driver/adapters/clients... I keep confusing between 
 them... which is i2c controller driver out of them... what are adapters 
 so on and so forth.

 I decided to work on it practically and understand it completely for once 
 and all ofcourse with community support.
 Below is the plan I have for this:

 1. remove i2c support from BBB kernel sources
 2. add one by one after understanding what is being added
 3. final aim is to make one RTC and eeprom over i2c to work with BBB

 For step 1, I would be grateful if some one could tells us what files I 
 need to remove and what those files do an outline.

 I think this sort of understanding many newbies in kernel would like to 
 have. I call upon them to add on this thread with related info.

 Cheers
 Ritu  



-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Steve French of Volt Vision
Robert,
Just my $0.02 about *where* info should be stored:   I completely agree
about Dennis' Wild West comment.  When I first started with the BBB back
in Sep2013 all 5 of the various websites that Dennis referenced seemed to
contradict each other.  The official image was outdated and the most
recent images were hidden away and you almost needed a secret knock to
find them.  I completely understand that everything has been in a massive
state of flux, especially since all of the changes with the way Device Tree
was handled, etc, etc.  It seems to me, though, that out of the 5 websites
that Dennis referenced, perhaps 4 of them should say Things are in a state
of massive flux right now Instead of us updating 5 websites all the
time, Please check this *one* website for the most up-to-date info.  Then
on the *1* website which is continuously updated it could say:  Here is
the most recent stable official image and here is the most recent
development official image.  It is strange having 5 different websites to
have to check when you are a Newbie...and then Gerald says why didnt you
check 'the' website.

Thx!  I respect and appreciate all the work you do!!  These are challenging
times!
-frenchy

--
Respectfully,
Steve French
800.664.7256.office
814.730.0003.cell

President, Volt Vision
www.voltvision.com



On Thu, Mar 13, 2014 at 5:24 PM, Dennis Cote denn...@harding.ca wrote:

 On Thursday, March 13, 2014 2:33:59 PM UTC-6, RobertCNelson wrote:

 So then, here's a question for you. Where do you want to see those
 type of faq's listed?

 I can pretty much dump them anywhere, but the hard question is where...


 I don't know where they should be stored, but there should definitely be
 links on the beagleboard.org main page. It seems to me that if Debian is
 going to replace Angstrom, then a link to the Debian release images and
 FAQs should be put there. Eventually, the Angstrom info could be
 deprecated, or rather archived and its visibility reduced.

 It seems to me that there are currently too many places to go to get the
 various linux distributions and kernels, and none of them seem to be
 officially sanctioned as the standard release. This leads to unnecessary
 confusion for new users. Some info on beagleboard.org, some info at
 circuitco.com, some info at elinux.org, some info at armhf.com, etc., not
 to mention all the other stuff at ti.com.

 The official wiki at
 http://www.elinux.org/Beagleboard:BeagleBoneBlack#Software_Resourcesdoesn't 
 even mention this Debian releases (and it should if you want people
 to test it). The community wiki at
 http://elinux.org/BeagleBone_Community#Debian does list a Debian release,
 but it is a different, and incompatible, arm EABI version from this new
 armhf release.

 I appreciate all the hard work that people have done to prepare all this
 information, but it's a little like the wild west when you first start
 looking around.

 Dennis Cote

 --
 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/VRqGZbXBK1Q/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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 9:00 AM, Steve French of Volt Vision
voltvis...@gmail.com wrote:
 Robert,
 Just my $0.02 about *where* info should be stored:   I completely agree
 about Dennis' Wild West comment.  When I first started with the BBB back
 in Sep2013 all 5 of the various websites that Dennis referenced seemed to
 contradict each other.  The official image was outdated and the most
 recent images were hidden away and you almost needed a secret knock to
 find them.  I completely understand that everything has been in a massive
 state of flux, especially since all of the changes with the way Device Tree
 was handled, etc, etc.  It seems to me, though, that out of the 5 websites
 that Dennis referenced, perhaps 4 of them should say Things are in a state
 of massive flux right now Instead of us updating 5 websites all the
 time, Please check this *one* website for the most up-to-date info.  Then
 on the *1* website which is continuously updated it could say:  Here is
 the most recent stable official image and here is the most recent
 development official image.  It is strange having 5 different websites to
 have to check when you are a Newbie...and then Gerald says why didnt you
 check 'the' website.

 Thx!  I respect and appreciate all the work you do!!  These are challenging
 times!
 -frenchy

Hi Steve,

I've started an offical page at:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

My plan is to hint at this page in both the serial/dvi terminal along
with an ssh message on the default image.

I'll try to get the more info links from here
http://beagleboard.org/latest-images

also linked to that page.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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] HOW TO MAKE UBUNTU BEAGLEBONE BLACK STANDALONE (GUI)

2014-03-14 Thread William Pretty Security
Try this link: 
http://elinux.org/Beagleboard:BeagleBoneBlack_HDMI#Supported_Displays_and_TVs

 

This is a good resource for all Beaglebone related.

 

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Agung Triwicaksono Pamungkas
Sent: Friday, March 14, 2014 7:43 AM
To: beagleboard@googlegroups.com
Subject: Re: [beagleboard] HOW TO MAKE UBUNTU BEAGLEBONE BLACK STANDALONE (GUI)

 

I using LG 505G monitor. Is there monitor type for compatible?

Pada Jumat, 14 Maret 2014 10:50:40 UTC+7, William Pretty Security menulis:

You are going to have to tell us more about you setup.

For example what is the make and model of the monitor ??

 

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

From: beagl...@googlegroups.com javascript:  
[mailto:beagl...@googlegroups.com javascript: ] On Behalf Of Agung 
Triwicaksono Pamungkas
Sent: Thursday, March 13, 2014 11:26 PM
To: beagl...@googlegroups.com javascript: 
Subject: [beagleboard] HOW TO MAKE UBUNTU BEAGLEBONE BLACK STANDALONE (GUI)

 

Excuse me everybody, I have problem with my ubuntu beaglebone black. I have 
finish installing ubuntu arm and ubuntu-desktop to show it on monitor but can't 
show. When I execute this command: cat /proc/cmdline
not show console=ttyO0,115200n8 video=HDMI-A-1:640x480@60 root=/dev/mmcblk0p2 
ro rootfstype=ext4 rootwait fixrtc ip=
it just show console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 
rootwait fixrtc ip=\
Can everybody help me for this problem. What should i do for this HDMI problem. 
Thanks alot

Agung

-- 
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.

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4336 / Virus Database: 3722/7192 - Release Date: 03/13/14

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4336 / Virus Database: 3722/7184 - Release Date: 03/12/14

-- 
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.



No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4336 / Virus Database: 3722/7192 - Release Date: 03/13/14

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4336 / Virus Database: 3722/7184 - Release Date: 03/12/14

-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Mike

On 03/14/2014 10:55 AM, Dennis Cote wrote:


You are missing my point. These commands are already in the default 
.profile created for the debian user. See the pastebin.com/kjDXbEpJ 
for a copy of mine. I added the TZ environment variable at the end.


ls ~ shows my bin directory exists
env | grep HOME shows the HOME variable as /home/debian
env | grep PATH shows the PATH as 
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games


The .profile should be adding /home/debian/bin to the path, but it is 
not. It is also not adding the TZ variable to the environment.


Is this shell running within X?  If so .profile isn't sourced as it's 
not run as login shell.  I don't quite follow why you want to set the TZ 
variable from the user environment either.  It's all handled at a system 
level by default.


No need to set the variable then export it either, just do it all in one go.

export TZ=Whatever

Also less typing to just echo variables

echo $HOME $PATH

Really no need for env and grep.

Mike

--
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Dennis Cote
On Friday, March 14, 2014 8:54:08 AM UTC-6, RobertCNelson wrote:

 I've started an offical page at: 

 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian 


Hi Robert,

I'm sorry to nitpick, but this new official page is wrong right out of 
the gate. 

It says it is about running an ARM EABI Debian distribution. The Debian 
page at https://wiki.debian.org/ArmEabiPort says this is different than the 
newer armhf ABI which I believe is the basis for your images. Getting this 
kind of basic stuff correct is important.

Also, the description of how to set the timezone to your local timezone so 
that the clock displays local wall clock time is terse to point of extreme. 
It is not at all clear what the listed commands do, or why you might want 
to use them.

Dennis Cote
 

-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 9:55 AM, Dennis Cote denn...@harding.ca wrote:
 On Thursday, March 13, 2014 4:51:53 PM UTC-6, RobertCNelson wrote:

 Can you pastebin this file for me:

 /var/log/xinput_calibrator.pointercal.log

 and the output of xinput you will have to run it from x11, no
 serial/ssh..


 Here you go:

 xinput_calibrator.log pastebin.com/EZ4uSu4W
 xinput.txt pastebin.com/ZBDXGkt3
 lsusb.txt pastebin.com/0UthnPqZ


I don't see anything obvious, so I ordered it up..

 Yeah,

 export PATH=$PATH:~/bin

 in ~/.profile is all you should need..


 You are missing my point. These commands are already in the default .profile
 created for the debian user. See the pastebin.com/kjDXbEpJ for a copy of
 mine. I added the TZ environment variable at the end.

 ls ~ shows my bin directory exists
 env | grep HOME shows the HOME variable as /home/debian
 env | grep PATH shows the PATH as
 /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

 The .profile should be adding /home/debian/bin to the path, but it is not.

It works here:

debian@beaglebone:~/bin$ nano simple.c
debian@beaglebone:~/bin$ gcc -Wall simple.c -o simple
debian@beaglebone:~/bin$ cd ..
debian@beaglebone:~$ which simple
/home/debian/bin/simple
debian@beaglebone:~$ simple
Simple Program

One thing i can do is just to add the directory by default in the image.

debian@beaglebone:~$ echo $PATH
/home/debian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

 It is also not adding the TZ variable to the environment.

Just use:

dpkg-reconfigure tzdata

or:

echo Europe/Zurich  /etc/timezone
dpkg-reconfigure -f noninteractive tzdata


 BTW, we could probably remove the two games directories from the default
 PATH as well. I don't think many users will be using BBB for gaming.

The default /etc/profile sets the gaming directories up by default. So
i opted to just leave them.

/usr/local/games:/usr/games

The only thing i've done there, is to tweak the path to also include
the root sbin directories too for the normal user..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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] Ethernet interface failure

2014-03-14 Thread atomiklan
The BeagleBone Black ethernet interface will fail after a few hours of 
operation. As an example, we did a fresh install of both Debian and Ubuntu 
on two Beagles (Newest updates for the Arm OS), connected them to the 
network and sure enough the next morning, both of the interfaces had 
failed. Several people have apparently noticed this issue, but I can't find 
any suggestions on possible fixes. It appears to potentially be a hardware 
or Kernel issue. Has anyone out there had any experience with this and 
discovered a fix?

-- 
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] Ethernet interface failure

2014-03-14 Thread Gerald Coley
So if the board never works again, have you sent it in for repair via an
RMA?

Gerald



On Fri, Mar 14, 2014 at 10:28 AM, atomik...@gmail.com wrote:

 The BeagleBone Black ethernet interface will fail after a few hours of
 operation. As an example, we did a fresh install of both Debian and Ubuntu
 on two Beagles (Newest updates for the Arm OS), connected them to the
 network and sure enough the next morning, both of the interfaces had
 failed. Several people have apparently noticed this issue, but I can't find
 any suggestions on possible fixes. It appears to potentially be a hardware
 or Kernel issue. Has anyone out there had any experience with this and
 discovered a fix?

 --
 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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 10:26 AM, Dennis Cote denn...@harding.ca wrote:
 On Friday, March 14, 2014 8:54:08 AM UTC-6, RobertCNelson wrote:

 I've started an offical page at:

 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian


 Hi Robert,

 I'm sorry to nitpick, but this new official page is wrong right out of the
 gate.

No problem, i just copied it from my other Debian page. ;)


 It says it is about running an ARM EABI Debian distribution. The Debian
 page at https://wiki.debian.org/ArmEabiPort says this is different than the
 newer armhf ABI which I believe is the basis for your images. Getting this
 kind of basic stuff correct is important.

Well, technically armhf is still EABI, but over armel it has
hard floating point enabled by default.

 Also, the description of how to set the timezone to your local timezone so
 that the clock displays local wall clock time is terse to point of extreme.
 It is not at all clear what the listed commands do, or why you might want to
 use them.

I'll fix those up, I'm just merging/pushing all my notes/fixes/etc
from yesterday right now. ;)

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Dennis Cote
On Friday, March 14, 2014 9:21:31 AM UTC-6, Mike Bell wrote:

 Is this shell running within X?  If so .profile isn't sourced as it's 
 not run as login shell.  


Ah ha... there is the nugget of truth I was looking for. Yes, this is the 
LXTerminal under LXDE. 

I checked and the .profile *is* executed for my serial console.

So how does one get the same path for the LXTerminal as you get using a 
serial terminal? Also, is an ssh terminal a login shell, or is like the X 
terminal?
 

 I don't quite follow why you want to set the TZ 
 variable from the user environment either.  It's all handled at a system 
 level by default. 

No need to set the variable then export it either, just do it all in one 
 go. 

 export TZ=Whatever 


I know that now, but yesterday when I was trying to get the timezone set 
correctly I ran the tzselect command (which seemed logical). This is the 
output of that command:

The following information has been given:

Canada
Mountain Time - Alberta, east British Columbia  west Saskatchewan

Therefore TZ='America/Edmonton' will be used.
Local time is now:Fri Mar 14 09:31:43 MDT 2014.
Universal Time is now:Fri Mar 14 15:31:43 UTC 2014.
Is the above information OK?
1) Yes
2) No
#? 1

You can make this change permanent for yourself by appending the line
TZ='America/Edmonton'; export TZ
to the file '.profile' in your home directory; then log out and log in 
again.

Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
America/Edmonton

So I did as it suggested. I added this line to my .profile and logged out 
and in. This again seemed logical. I left it in as a simple test of whether 
or not my .profile was executed. I will remove it now.
 


 Also less typing to just echo variables 

 echo $HOME $PATH 

 Really no need for env and grep. 


Yes, thanks for the tip. I started by using env to dump my entire 
environment, and then just progressed to using grep to filter the dump, 
while looking into why the .profile wasn't being executed.  

Thanks again for the info.

Dennis Cote

-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 10:44 AM, Dennis Cote denn...@harding.ca wrote:
 On Friday, March 14, 2014 9:21:31 AM UTC-6, Mike Bell wrote:

 Is this shell running within X?  If so .profile isn't sourced as it's
 not run as login shell.


 Ah ha... there is the nugget of truth I was looking for. Yes, this is the
 LXTerminal under LXDE.

 I checked and the .profile *is* executed for my serial console.

 So how does one get the same path for the LXTerminal as you get using a
 serial terminal? Also, is an ssh terminal a login shell, or is like the X
 terminal?

Ahh, I've been doing it over serial/ssh..

For lxterminal (which doesn't reference .profile according to lots of
bug reports). It works if i add:

# set PATH so it includes user's private bin if it exists
if [ -d $HOME/bin ] ; then
PATH=$HOME/bin:$PATH
fi

into .bashrc

If there is no objections i'll probably set that up by default..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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] BBB UVC/DMA crash kernel 3.13.6-bone7.1

2014-03-14 Thread David Lambert
The USB DMA still appears to have problems when used with USB cameras. 
It appears that whenever I attempt to issue controls via UVC to a camera 
that is capturing, then I get the attached crash. PIO mode works fine. 
Could I suggest that the default defconfig selects PIO mode until DMA 
mode works reliably?


I hope this is the right place to post. If not, please excuse my 
intrusion, and suggest another.


Best regards,

Dave.

--
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.
root@argus-dev:~# [   60.007731] [ cut here ]
[   60.012617] WARNING: CPU: 0 PID: 702 at drivers/dma/cppi41.c:605 
cppi41_dma_control+0x230/0x2ac()
[   60.021920] Modules linked in: xfrm_user xfrm4_tunnel tunnel4 ipcomp 
xfrm_ipcomp esp4 ah4 nfsd deflate ctr des_generic cbc ecb cmac af_key xfrm_algo 
uvcvideo snd_usb_audio videobuf2_vmalloc videobuf2_memops snd_hwdep 
snd_usbmidi_lib videobuf2_core snd_rawmidi snd_seq_device ti_am335x_adc 
kfifo_buf industrialio rtc_omap uio_pdrv_genirq uio loop
[   60.053997] CPU: 0 PID: 702 Comm: python Not tainted 3.13.6-bone7.1 #2
[   60.060878] [c001413c] (unwind_backtrace+0x0/0xdc) from [c0010ed8] 
(show_stack+0x10/0x14)
[   60.069817] [c0010ed8] (show_stack+0x10/0x14) from [c0700c00] 
(dump_stack+0x70/0x8c)
[   60.078298] [c0700c00] (dump_stack+0x70/0x8c) from [c0039a44] 
(warn_slowpath_common+0x64/0x88)
[   60.087685] [c0039a44] (warn_slowpath_common+0x64/0x88) from [c0039af8] 
(warn_slowpath_null+0x18/0x20)
[   60.097799] [c0039af8] (warn_slowpath_null+0x18/0x20) from [c040ea98] 
(cppi41_dma_control+0x230/0x2ac)
[   60.107925] [c040ea98] (cppi41_dma_control+0x230/0x2ac) from [c05170bc] 
(cppi41_dma_channel_abort+0x104/0x140)
[   60.118771] [c05170bc] (cppi41_dma_channel_abort+0x104/0x140) from 
[c0512828] (musb_cleanup_urb.isra.7+0x44/0xe4)
[   60.129887] [c0512828] (musb_cleanup_urb.isra.7+0x44/0xe4) from 
[c05129bc] (musb_urb_dequeue+0xf4/0x114)
[   60.140190] [c05129bc] (musb_urb_dequeue+0xf4/0x114) from [c04fafb0] 
(usb_hcd_unlink_urb+0x5c/0x7c)
[   60.150033] [c04fafb0] (usb_hcd_unlink_urb+0x5c/0x7c) from [c04fbd60] 
(usb_kill_urb+0x50/0xc4)
[   60.159462] [c04fbd60] (usb_kill_urb+0x50/0xc4) from [bf0994b8] 
(uvc_uninit_video+0x34/0x60 [uvcvideo])
[   60.169706] [bf0994b8] (uvc_uninit_video+0x34/0x60 [uvcvideo]) from 
[bf09b538] (uvc_video_enable+0x18/0x124 [uvcvideo])
[   60.181391] [bf09b538] (uvc_video_enable+0x18/0x124 [uvcvideo]) from 
[bf099160] (uvc_v4l2_do_ioctl+0xd20/0xff4 [uvcvideo])
[   60.193343] [bf099160] (uvc_v4l2_do_ioctl+0xd20/0xff4 [uvcvideo]) from 
[c05499cc] (video_usercopy+0x2ac/0x3e8)
[   60.204200] [c05499cc] (video_usercopy+0x2ac/0x3e8) from [c05453b4] 
(v4l2_ioctl+0x60/0x124)
[   60.213319] [c05453b4] (v4l2_ioctl+0x60/0x124) from [c012ebbc] 
(do_vfs_ioctl+0x4c8/0x588)
[   60.52] [c012ebbc] (do_vfs_ioctl+0x4c8/0x588) from [c012ecc8] 
(SyS_ioctl+0x4c/0x78)
[   60.231002] [c012ecc8] (SyS_ioctl+0x4c/0x78) from [c000d8e0] 
(ret_fast_syscall+0x0/0x30)
[   60.239839] ---[ end trace 936578196fc420af ]---
[   60.244668] [ cut here ]
[   60.249505] WARNING: CPU: 0 PID: 702 at drivers/dma/cppi41.c:629 
cppi41_dma_control+0x278/0x2ac()
[   60.258791] Modules linked in: xfrm_user xfrm4_tunnel tunnel4 ipcomp 
xfrm_ipcomp esp4 ah4 nfsd deflate ctr des_generic cbc ecb cmac af_key xfrm_algo 
uvcvideo snd_usb_audio videobuf2_vmalloc videobuf2_memops snd_hwdep 
snd_usbmidi_lib videobuf2_core snd_rawmidi snd_seq_device ti_am335x_adc 
kfifo_buf industrialio rtc_omap uio_pdrv_genirq uio loop
[   60.290795] CPU: 0 PID: 702 Comm: python Tainted: GW
3.13.6-bone7.1 #2
[   60.298638] [c001413c] (unwind_backtrace+0x0/0xdc) from [c0010ed8] 
(show_stack+0x10/0x14)
[   60.307572] [c0010ed8] (show_stack+0x10/0x14) from [c0700c00] 
(dump_stack+0x70/0x8c)
[   60.316048] [c0700c00] (dump_stack+0x70/0x8c) from [c0039a44] 
(warn_slowpath_common+0x64/0x88)
[   60.325433] [c0039a44] (warn_slowpath_common+0x64/0x88) from [c0039af8] 
(warn_slowpath_null+0x18/0x20)
[   60.335546] [c0039af8] (warn_slowpath_null+0x18/0x20) from [c040eae0] 
(cppi41_dma_control+0x278/0x2ac)
[   60.345662] [c040eae0] (cppi41_dma_control+0x278/0x2ac) from [c05170bc] 
(cppi41_dma_channel_abort+0x104/0x140)
[   60.356505] [c05170bc] (cppi41_dma_channel_abort+0x104/0x140) from 
[c0512828] (musb_cleanup_urb.isra.7+0x44/0xe4)
[   60.367620] [c0512828] (musb_cleanup_urb.isra.7+0x44/0xe4) from 
[c05129bc] (musb_urb_dequeue+0xf4/0x114)
[   60.377918] [c05129bc] (musb_urb_dequeue+0xf4/0x114) from [c04fafb0] 
(usb_hcd_unlink_urb+0x5c/0x7c)
[   60.387760] [c04fafb0] (usb_hcd_unlink_urb+0x5c/0x7c) from [c04fbd60] 
(usb_kill_urb+0x50/0xc4)
[   60.397161] [c04fbd60] 

Re: [beagleboard] Ethernet interface failure

2014-03-14 Thread atomiklan
This is not an isolated instance. We have SEVERAL Beagles 10+ all bought at 
different times, and all showing the same issue. This is not one specific 
Beagle that needs to be RMA'd

On Friday, March 14, 2014 11:33:48 AM UTC-4, Gerald wrote:

 So if the board never works again, have you sent it in for repair via an 
 RMA?

 Gerald



 On Fri, Mar 14, 2014 at 10:28 AM, atom...@gmail.com javascript: wrote:

 The BeagleBone Black ethernet interface will fail after a few hours of 
 operation. As an example, we did a fresh install of both Debian and Ubuntu 
 on two Beagles (Newest updates for the Arm OS), connected them to the 
 network and sure enough the next morning, both of the interfaces had 
 failed. Several people have apparently noticed this issue, but I can't find 
 any suggestions on possible fixes. It appears to potentially be a hardware 
 or Kernel issue. Has anyone out there had any experience with this and 
 discovered a fix?

 -- 
 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.


Re: [beagleboard] Ethernet interface failure

2014-03-14 Thread Gerald Coley
So it is not a hard HW failure then. You may find this conversation useful.
Start at the top.

https://groups.google.com/forum/#!searchin/beagleboard/ethernet$20address/beagleboard/9mctrG26Mc8/09EatsZon40J

Gerald



On Fri, Mar 14, 2014 at 11:12 AM, atomik...@gmail.com wrote:

 This is not an isolated instance. We have SEVERAL Beagles 10+ all bought
 at different times, and all showing the same issue. This is not one
 specific Beagle that needs to be RMA'd


 On Friday, March 14, 2014 11:33:48 AM UTC-4, Gerald wrote:

 So if the board never works again, have you sent it in for repair via an
 RMA?

 Gerald



 On Fri, Mar 14, 2014 at 10:28 AM, atom...@gmail.com wrote:

 The BeagleBone Black ethernet interface will fail after a few hours of
 operation. As an example, we did a fresh install of both Debian and Ubuntu
 on two Beagles (Newest updates for the Arm OS), connected them to the
 network and sure enough the next morning, both of the interfaces had
 failed. Several people have apparently noticed this issue, but I can't find
 any suggestions on possible fixes. It appears to potentially be a hardware
 or Kernel issue. Has anyone out there had any experience with this and
 discovered a fix?

 --
 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.

 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.


-- 
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] BBB UVC/DMA crash kernel 3.13.6-bone7.1

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 11:14 AM, David Lambert d...@lambsys.com wrote:
 The USB DMA still appears to have problems when used with USB cameras. It
 appears that whenever I attempt to issue controls via UVC to a camera that
 is capturing, then I get the attached crash. PIO mode works fine. Could I
 suggest that the default defconfig selects PIO mode until DMA mode works
 reliably?

 I hope this is the right place to post. If not, please excuse my intrusion,
 and suggest another.

Done: 
https://github.com/RobertCNelson/linux-dev/commit/182589d51ae7ecc82c1ba9ef2b6440edf2d9

I don't see it getting completely fixed anytime soon either

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 9:55 AM, Dennis Cote denn...@harding.ca wrote:
 On Thursday, March 13, 2014 4:51:53 PM UTC-6, RobertCNelson wrote:

 Can you pastebin this file for me:

 /var/log/xinput_calibrator.pointercal.log

 and the output of xinput you will have to run it from x11, no
 serial/ssh..


 Here you go:

 xinput_calibrator.log pastebin.com/EZ4uSu4W
 xinput.txt pastebin.com/ZBDXGkt3
 lsusb.txt pastebin.com/0UthnPqZ

btw, as a workaround till i can debug it with the same hardware, just run:

sudo sed -i -e 's:display-setup-script=:#display-setup-script:g'
/etc/lightdm/lightdm.conf

And it'll stop displaying the calibrator on bootup.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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: QNX on BBB

2014-03-14 Thread Thorsten Gonschior

the 50% means that I still hope for QNX to make a better price for the 
development system (much better). The local Distributor is making an appeal 
to qnx in this matter, especially to reduce costs for the endcustomer 
developer. My reality proven me tells me to accept the situation as it is 
and find something payable.

As far as I understand xenomai ist not a bit less expensive. my last 
approach to a provider brought me a very similar amount of investment.

the other 50% hopes for RT patch on linux ist better than my experience 
tells me. My research on this is ongoing. I am currently reading reports, 
experience papers and stuff with suspicious conscience.

QNS would have been a nice choice. probably it just takes some time for me 
to convince myself on a chemical basis. lets say cheat my guts feelings 
accept the facts deal with 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.


[beagleboard] Re: Why beaglebone black restarts after a shutdown ??

2014-03-14 Thread arunbarnabasjohn
thanks I will try that out.


On Thursday, March 13, 2014 8:27:17 PM UTC+5:30, meerutmicr...@gmail.com 
wrote:

 Hi,

 I have noticed that the beaglebone black starts up after a shutdown.

 I have a C++ program running in the bbb, the bbb is backed by an external 
 +5V battery pack. When the C++ program issues the following command to 
 start the shutdown procedure of the bbb.

 system(shutdown -h now);

 exit(0);


 This does shutdown the bbb completely sometimes, most times the bbb starts 
 up again, the power led turns off but then after a second or two lights up 
 again and then bbb starts up all over again (the output voltage from the 
 power bank does not switch OFF, it remains ON for some time).

 In my previous bbb systems I have not faced this problem.

 It is my belief that the output voltage from the power bank has a sudden 
 dip, this causes the bbb to detect a new power cycle.

 I am not sure though if I am correct...

 Could anyone enlighten me on this problem ???

 I am sorry if the above problem sounds vague...

 thanks
 a



-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Dennis Cote
On Friday, March 14, 2014 9:56:45 AM UTC-6, RobertCNelson wrote:

 It works if i add: 

 # set PATH so it includes user's private bin if it exists 
 if [ -d $HOME/bin ] ; then 
 PATH=$HOME/bin:$PATH 
 fi 

 into .bashrc 

 If there is no objections i'll probably set that up by default.. 


Will this add the user's bin directory to the path twice when using a 
serial console since .bashrc is sourced from the existing .profile?

Dennis Cote 

-- 
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] BBB UVC/DMA crash kernel 3.13.6-bone7.1

2014-03-14 Thread David Lambert

On 03/14/2014 11:20 AM, Robert Nelson wrote:

On Fri, Mar 14, 2014 at 11:14 AM, David Lambert d...@lambsys.com wrote:

The USB DMA still appears to have problems when used with USB cameras. It
appears that whenever I attempt to issue controls via UVC to a camera that
is capturing, then I get the attached crash. PIO mode works fine. Could I
suggest that the default defconfig selects PIO mode until DMA mode works
reliably?

I hope this is the right place to post. If not, please excuse my intrusion,
and suggest another.

Done: 
https://github.com/RobertCNelson/linux-dev/commit/182589d51ae7ecc82c1ba9ef2b6440edf2d9

I don't see it getting completely fixed anytime soon either
That's a shame. I guess it is a known problem then. Just no one working 
on it? :-(


Regards,



--
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 12:21 PM, Dennis Cote denn...@harding.ca wrote:
 On Friday, March 14, 2014 9:56:45 AM UTC-6, RobertCNelson wrote:

 It works if i add:

 # set PATH so it includes user's private bin if it exists
 if [ -d $HOME/bin ] ; then
 PATH=$HOME/bin:$PATH
 fi

 into .bashrc

 If there is no objections i'll probably set that up by default..


 Will this add the user's bin directory to the path twice when using a serial
 console since .bashrc is sourced from the existing .profile?

Yeap it does..

debian@beaglebone:~$ echo $PATH
/home/debian/bin:/home/debian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

What gets sourced first? i can patch it to check..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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: QNX on BBB

2014-03-14 Thread Thorsten Gonschior

the 50% means that I still hope for QNX to make a better price for the 
development system (much better). The local Distributor is making an appeal 
to qnx in this matter, especially to reduce costs for the endcustomer 
developer. My reality proven me tells me to accept the situation as it is 
and find something payable.

the other 50% hopes for RT patch on linux ist better than my experience 
tells me or xenomai is less complex than I currently think. My research on 
this is ongoing. I am currently reading reports, experience papers and 
stuff with suspicious conscience.

QNS would have been a nice choice. probably it just takes some time for me 
to convince myself on a chemical basis. lets say cheat my guts feelings 
accept the facts deal with 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] BBXM and SGX libs

2014-03-14 Thread Gregoire Gentil
I have similar issues and achievements. More precisely, I have 
Beagleboard-XM + 3.7.x stable kernel + Ubuntu 13.10 + 
Graphics_SDK_setuplinux_4_08_00_02. Both kernel and SGX have been built 
through the stable-kernel scripts. I do see a 
Graphics_SDK_setuplinux_4_08_00_02_hardfp_BinOnly.bin so I guess that it 
can work. The log below my signature is pretty encouraging.

Nevertheless, I cannot run any demo. I receive the following error:
bash: 
/opt/sgx/GFX_Linux_SDK/OGLES/SDKPackage/Binaries/X11/Demos/EvilSkull/OGLESEvilSkull:
 
No such file or directory
bash: 
/opt/sgx/GFX_Linux_SDK/OGLES/SDKPackage/Binaries/Raw/Demos/EvilSkull/OGLESEvilSkull:
 
No such file or directory
The files obviously exist.

Any idea what I'm doing wrong?

Grégoire



root@arm:/opt/sgx# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 13.10
Release:13.10
Codename:   saucy
root@arm:/opt/sgx# uname -a
Linux arm 3.7.10-armv7-devel-r59 #7 SMP Wed Mar 12 17:34:02 PDT 2014 armv7l 
armv7l armv7lx
root@arm:/opt/sgx# lsmod
Module  Size  Used by
bufferclass_ti  5820  0 
omaplfb11354  0 
pvrsrvkm  177387  2 bufferclass_ti,omaplfb
root@arm:/opt/sgx# /usr/bin/armhf/es5.0/sgx_blit_test 
-- SGX 3D Blit test -
--- Start ---
Call PVRSRVConnect with a valid argument:
 OK
Get number of devices from PVRSRVEnumerateDevices:
 OK
 Reported 1 devices
 Device Number  | Device Type
| PVRSRV_DEVICE_ID_SGX
Attempt to acquire device 0:
 OK
Getting SGX Client info
 OK
 ui32ProcessID:875
Display Class API: enumerate devices
 OK
PVRSRVEnumerateDeviceClass() returns 1 display device(s)
 OK
Display Class API: open device
 OK
Display Class API: Get display info
 OK
 Name:PowerVR OMAP Linux Display Driver
 MaxSwapChains:1
 MaxSwapChainBuffers:1
 MinSwapInterval:0
 MaxSwapInterval:1
Display Class API: enumerate display formats
 OK
 OK
 Display format 0 - Pixelformat:1
Display Class API: enumerate display dimensions
 OK
 OK
 Display dimensions 0 - ByteStride:2048 Width:1024 Height:768
Attempt to create memory context for SGX:
 OK
 Shared heap 0 - HeapID:0x700 DevVAddr:0x1000 Size:0x87fe000 
Attr:0x2014200
 Shared heap 1 - HeapID:0x701 DevVAddr:0xc80 Size:0xfff000 
Attr:0x2024200
 Shared heap 2 - HeapID:0x702 DevVAddr:0xe40 Size:0x7f000 
Attr:0x2024200
 Shared heap 3 - HeapID:0x703 DevVAddr:0xf00 Size:0x3ff000 
Attr:0x2024200
 Shared heap 4 - HeapID:0x704 DevVAddr:0xf40 Size:0x4ff000 
Attr:0x2014200
 Shared heap 5 - HeapID:0x705 DevVAddr:0xfc0 Size:0x1ff000 
Attr:0x2014200
 Shared heap 6 - HeapID:0x706 DevVAddr:0xdc0 Size:0x7ff000 
Attr:0x2014200
 Shared heap 7 - HeapID:0x707 DevVAddr:0xe80 Size:0x7ff000 
Attr:0x2014200
 Shared heap 8 - HeapID:0x708 DevVAddr:0xd80 Size:0x3ff000 
Attr:0x2024200
 Shared heap 9 - HeapID:0x709 DevVAddr:0x880 Size:0x0 
Attr:0x2024200
 Shared heap 10 - HeapID:0x70a DevVAddr:0x880 Size:0x3fff000 
Attr:0x2014200
Display Class API: get the system (primary) buffer
 OK
Display Class API: map display surface to SGX
 OK
Attempt to create transfer context for SGX:
 OK
Do a SRCCOPY blit to the bottom right quadrant of the display:
(bottom right quadrant should be red on blue background):
 OK
 OK
Do a SRCCOPY blit to the top left quadrant of the display:
(top left quadrant should be striped (r/g/b/w) on blue background):
 OK
 OK
Do a CUSTOMSHADER blit to the top right quadrant of the display:
(top right quadrant should be yellow):
0xb6ba3000 (host) 0xf407000 (device): Device mem for custom shader program
0xb6ba1000 (host) 0xf408000 (device): Device mem for texture
USE custom shader program: 0x28841001.c000  mov.end o0, sa0
 OK
Do a SRCCOPY blit with COLOUR DOWNSAMPLING from ARGB to RGB565
and then present the RGB565 to the bottom right quadrant of the screen
(bottom right quadrant should be a red gradient):
 OK
 OK
 OK
 OK
Free the off screen surfaces:
 OK
 OK
 OK
 OK
Destroy the transfer context:
 OK
Display Class API: unmap display surface from SGX
 OK
Destroy Device Memory Context
Display Class API: close the device
 OK
Release SGX Client Info:
 OK
Disconnect from services:
 OK
-- SGX 3D Blit test -
 End 





On Tuesday, March 11, 2014 3:53:35 PM UTC-7, Brett wrote:

 I was able to get Ubuntu 13.10 to boot with this kernel.

 By changing my uEnv.txt to http://pastebin.com/NWuYSYd8 there appear to 
 be no issues. I've not tried to install the SGX libraries but I suspect 
 they will work, that will be my next task if I decide to abandon the 11.10 
 version.

 The dtb file was causing the boot issue. See RCN's comment in 
 

Re: [beagleboard] Re: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Dennis Cote
On Friday, March 14, 2014 11:53:15 AM UTC-6, RobertCNelson wrote:

 Yeap it does.. 

 debian@beaglebone:~$ echo $PATH 
 /home/debian/bin:/home/debian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
  


 What gets sourced first? i can patch it to check.. 


I moved that section from my .profile to .bashrc since .profile will source 
.bashrc if it exists. So a login shell will source .profile, which will 
source .bashrc and add the path. A non login shell will source .bashrc 
directly and add the path. This seems to work for me.

I'm not sure what happens for script that use #!/bin/sh since that runs 
dash instead of bash. The dash docs say it sources .profile on login shells 
so that should be OK, but for non login shells it says it looks in the ENV 
environment variable for the name of a file to execute. There is no such 
variable defined currently so it does nothing. 

Perhaps these commands should be put in a .shinit file and then set 
ENV=$HOME/.shint in the .profile file to take card of setting it for login 
shells, and have the .bashrc source this .shinit file for non login shells.

Dennis Cote

 

-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Dennis Cote
On Friday, March 14, 2014 10:25:42 AM UTC-6, RobertCNelson wrote:

 btw, as a workaround till i can debug it with the same hardware, just run: 

 sudo sed -i -e 's:display-setup-script=:#display-setup-script:g' 
 /etc/lightdm/lightdm.conf 

 And it'll stop displaying the calibrator on bootup. 


FYI, commenting out the display-setup-script line does not take effect 
until after you reboot.

I no longer have the calibration screen on startup or logout.

Thanks.

Dennis Cote  

-- 
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: QNX on BBB

2014-03-14 Thread doog
RIM has lots of money they need to keep coming in and cutting prices means 
less income so don't hold your breath or you'll never get the project done 
but you also won't be around to worry about it neither. ;-)

FYI, they paid around $200M for QNX and their other businesses are not 
doing well...

http://blog.vdcresearch.com/embedded_sw/2010/04/update-2-rim-to-acquire-qnx-terms-of-the-deal.html

-- 
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] HOW TO MAKE UBUNTU BEAGLEBONE BLACK STANDALONE (GUI)

2014-03-14 Thread doog


On Friday, March 14, 2014 4:42:42 AM UTC-7, Agung Triwicaksono Pamungkas 
wrote:

 I using LG 505G monitor. Is there monitor type for compatible?


my first link on the specs for that state it is a VGA monitor so you are 
using some HDMI to VGA converter and there lies the problem. 

-- 
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: BBB Analog Digital Convertion error on Ubuntu

2014-03-14 Thread Dennis Cote
On Thursday, March 13, 2014 8:48:40 AM UTC-6, cagri yilmaz wrote:

 I used for AIN1 (P9-40) connected a PTC with parallel 480 ohm resistor and 
 P9-03 3.3V and P9_34 AGND. I did not used VADC P9-32 as reference. Is there 
 anybody knows what I did wrong?


Oh oh... The absolute maximum allowed input on ANIx is 2.1 V per the AM335x 
datasheet. You may have damaged your CPU by connecting to 3.3V.

The PTC should be used to form a resistor divider between VADC (P9-32) and 
GND_ADC (P9-34). The voltage out of the divider will change as the value of 
the PTC resistor changes. See the crude schematic below.

VADC
\
Fixed Resistor
/
AIN1
\
 PTC
/
GND_ADC

AINx will always be less than VADC and greater than GND_ADC.

HTH
Dennis Cote

-- 
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: QNX on BBB

2014-03-14 Thread Thorsten Gonschior
understood :)

but think of this... 5.000 development licenses @ 10.000,-€ - 50.000.000
plus 5.000 projects decoupling 1000 OS licenses @ 100€ each - 500.000.00,

ok I am just guessing

so
500.000 development licenses for free - 0,-
plus 20.000 projects decoupling 1000 OS licenses @ 100,- each - 
2.000.000.000,-


play with the numbers all you want, but the principle stays the same

development entry costs supress the multiplicator of having many active 
products in the market that sell OS licences ;)

in addition to this, many products in the market provide many interested 
pepople building many new applications that brings you back to my point 
 :D

again, TI did it, Microsoft did it, Xilinx did it, and I guess a lot of 
others too.

yea who am I to question ... I am currently deeply interested in xenomai 
 crazy stuff, 

 He's a lumberjack, and he's ok. He sleeps all night and works all day.


-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 12:53 PM, Robert Nelson robertcnel...@gmail.com wrote:
 On Fri, Mar 14, 2014 at 12:21 PM, Dennis Cote denn...@harding.ca wrote:
 On Friday, March 14, 2014 9:56:45 AM UTC-6, RobertCNelson wrote:

 It works if i add:

 # set PATH so it includes user's private bin if it exists
 if [ -d $HOME/bin ] ; then
 PATH=$HOME/bin:$PATH
 fi

 into .bashrc

 If there is no objections i'll probably set that up by default..


 Will this add the user's bin directory to the path twice when using a serial
 console since .bashrc is sourced from the existing .profile?

 Yeap it does..

 debian@beaglebone:~$ echo $PATH
 /home/debian/bin:/home/debian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

 What gets sourced first? i can patch it to check..

Here is a better fix:

sudo sed -i -e 's:Exec=lxterminal:Exec=lxterminal -l -e bash:g'
/usr/share/applications/lxterminal.desktop

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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] BBXM and SGX libs

2014-03-14 Thread Brett
I had not tried the demos besides the ones that reside in the same 
directory as the blit test. I decided to give EvilSkull a shot on my board. 
I noticed however that the instructions 
on 
http://elinux.org/index.php?title=BeagleBoardUbuntuoldid=314498#SGX_Video_Acceleration
 
are not 100% correct. Specifically the step after running the blit test. 
Wiki says:

tar xf GFX_Linux_SDK.tar.gz
cd GFX_Linux_SDK
tar xf OGLES.tar.gz

I had to do:
tar xf GFX_Linux_4.08.00.02_examples.tar.gz
cd GFX_Linux_SDK
tar xf OGLES.tar.gz

From there I was able to run:
/opt/sgx/GFX_Linux_SDK/OGLES/SDKPackage/Binaries/Raw/Demos/EvilSkull/OGLESEvilSkull

Keep in mind that I ran the RAW version. I have no idea what that will do 
under X11. I don't have xorg installed so I cannot validate that the X11 
version of EvilSkull actually works. I am running Ubuntu 11.10. Might be 
nothing but my uname is different. Maybe we have different kernels. I 
changed nothing when building the kernel.

uname -a
Linux SimCDU 3.7.10-x13 #1 SMP Wed Mar 5 15:47:28 MST 2014 armv7l armv7l 
armv7l GNU/Linux


On Friday, March 14, 2014 12:49:21 PM UTC-6, Gregoire Gentil wrote:

 I have similar issues and achievements. More precisely, I have 
 Beagleboard-XM + 3.7.x stable kernel + Ubuntu 13.10 + 
 Graphics_SDK_setuplinux_4_08_00_02. Both kernel and SGX have been built 
 through the stable-kernel scripts. I do see a 
 Graphics_SDK_setuplinux_4_08_00_02_hardfp_BinOnly.bin so I guess that it 
 can work. The log below my signature is pretty encouraging.

 Nevertheless, I cannot run any demo. I receive the following error:
 bash: 
 /opt/sgx/GFX_Linux_SDK/OGLES/SDKPackage/Binaries/X11/Demos/EvilSkull/OGLESEvilSkull:
  
 No such file or directory
 bash: 
 /opt/sgx/GFX_Linux_SDK/OGLES/SDKPackage/Binaries/Raw/Demos/EvilSkull/OGLESEvilSkull:
  
 No such file or directory
 The files obviously exist.

 Any idea what I'm doing wrong?

 Grégoire



 root@arm:/opt/sgx# lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 13.10
 Release:13.10
 Codename:   saucy
 root@arm:/opt/sgx# uname -a
 Linux arm 3.7.10-armv7-devel-r59 #7 SMP Wed Mar 12 17:34:02 PDT 2014 
 armv7l armv7l armv7lx
 root@arm:/opt/sgx# lsmod
 Module  Size  Used by
 bufferclass_ti  5820  0 
 omaplfb11354  0 
 pvrsrvkm  177387  2 bufferclass_ti,omaplfb
 root@arm:/opt/sgx# /usr/bin/armhf/es5.0/sgx_blit_test 
 -- SGX 3D Blit test -
 --- Start ---
 Call PVRSRVConnect with a valid argument:
  OK
 Get number of devices from PVRSRVEnumerateDevices:
  OK
  Reported 1 devices
  Device Number  | Device Type
 | PVRSRV_DEVICE_ID_SGX
 Attempt to acquire device 0:
  OK
 Getting SGX Client info
  OK
  ui32ProcessID:875
 Display Class API: enumerate devices
  OK
 PVRSRVEnumerateDeviceClass() returns 1 display device(s)
  OK
 Display Class API: open device
  OK
 Display Class API: Get display info
  OK
  Name:PowerVR OMAP Linux Display Driver
  MaxSwapChains:1
  MaxSwapChainBuffers:1
  MinSwapInterval:0
  MaxSwapInterval:1
 Display Class API: enumerate display formats
  OK
  OK
  Display format 0 - Pixelformat:1
 Display Class API: enumerate display dimensions
  OK
  OK
  Display dimensions 0 - ByteStride:2048 Width:1024 Height:768
 Attempt to create memory context for SGX:
  OK
  Shared heap 0 - HeapID:0x700 DevVAddr:0x1000 Size:0x87fe000 
 Attr:0x2014200
  Shared heap 1 - HeapID:0x701 DevVAddr:0xc80 Size:0xfff000 
 Attr:0x2024200
  Shared heap 2 - HeapID:0x702 DevVAddr:0xe40 Size:0x7f000 
 Attr:0x2024200
  Shared heap 3 - HeapID:0x703 DevVAddr:0xf00 Size:0x3ff000 
 Attr:0x2024200
  Shared heap 4 - HeapID:0x704 DevVAddr:0xf40 Size:0x4ff000 
 Attr:0x2014200
  Shared heap 5 - HeapID:0x705 DevVAddr:0xfc0 Size:0x1ff000 
 Attr:0x2014200
  Shared heap 6 - HeapID:0x706 DevVAddr:0xdc0 Size:0x7ff000 
 Attr:0x2014200
  Shared heap 7 - HeapID:0x707 DevVAddr:0xe80 Size:0x7ff000 
 Attr:0x2014200
  Shared heap 8 - HeapID:0x708 DevVAddr:0xd80 Size:0x3ff000 
 Attr:0x2024200
  Shared heap 9 - HeapID:0x709 DevVAddr:0x880 Size:0x0 
 Attr:0x2024200
  Shared heap 10 - HeapID:0x70a DevVAddr:0x880 Size:0x3fff000 
 Attr:0x2014200
 Display Class API: get the system (primary) buffer
  OK
 Display Class API: map display surface to SGX
  OK
 Attempt to create transfer context for SGX:
  OK
 Do a SRCCOPY blit to the bottom right quadrant of the display:
 (bottom right quadrant should be red on blue background):
  OK
  OK
 Do a SRCCOPY blit to the top left quadrant of the display:
 (top left quadrant should be striped (r/g/b/w) on blue background):
  OK
  OK
 Do a CUSTOMSHADER blit to the top right quadrant of the display:
 (top right quadrant should be yellow):
 0xb6ba3000 (host) 0xf407000 

Re: [beagleboard] Re: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread William Hermans
Robert, your timezone is fine for me. I am actually AZ time myself, but
really simple to change via dpkg-reconfigure tzdata.

Also, as for how to change some default stuff, perhaps have a web page (
html file, or maybe even a node.js thing to make it more dynamic ? )

Dennis, just so you know, you should be able to google debian + whatever
keyword you need to know something about to find an answer. We're talking
basic Linux / Debian stuff here. For example.

google - howto change debian timezone, and you will very likely find what
i asked about last night dpkg-reconfigure tzdata.

Anyway, dont feel as though I am putting you down by saying  this. quite
the contrary actually. As I have been using Debian since  the 90's and have
to google many things. Especially now considering I really want to look
into using systemmd.


On Fri, Mar 14, 2014 at 1:08 PM, Robert Nelson robertcnel...@gmail.comwrote:

 On Fri, Mar 14, 2014 at 12:53 PM, Robert Nelson robertcnel...@gmail.com
 wrote:
  On Fri, Mar 14, 2014 at 12:21 PM, Dennis Cote denn...@harding.ca
 wrote:
  On Friday, March 14, 2014 9:56:45 AM UTC-6, RobertCNelson wrote:
 
  It works if i add:
 
  # set PATH so it includes user's private bin if it exists
  if [ -d $HOME/bin ] ; then
  PATH=$HOME/bin:$PATH
  fi
 
  into .bashrc
 
  If there is no objections i'll probably set that up by default..
 
 
  Will this add the user's bin directory to the path twice when using a
 serial
  console since .bashrc is sourced from the existing .profile?
 
  Yeap it does..
 
  debian@beaglebone:~$ echo $PATH
 
 /home/debian/bin:/home/debian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
 
  What gets sourced first? i can patch it to check..

 Here is a better fix:

 sudo sed -i -e 's:Exec=lxterminal:Exec=lxterminal -l -e bash:g'
 /usr/share/applications/lxterminal.desktop

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread William Hermans
Sorry, I felt i was not clear in my last post . . .

*Also, as for how to change some default stuff, perhaps have a web page (
html file, or maybe even a node.js thing to make it more dynamic ? )*

What I mean by the above, is have an information web page on how to do
various things, like how to set time zone etc. Perhaps as part of the
getting started page thats already on the BBB.

Even though I think Debian is one of the better distro's out there because
of the fact you can simply google the answer to your questions( just one
aspect actually ) I feel that having a web page linked to from the getting
started page on how to change all teh default basic stuff would be super
helpful for new users.


On Fri, Mar 14, 2014 at 1:56 PM, William Hermans yyrk...@gmail.com wrote:

 Robert, your timezone is fine for me. I am actually AZ time myself, but
 really simple to change via dpkg-reconfigure tzdata.

 Also, as for how to change some default stuff, perhaps have a web page (
 html file, or maybe even a node.js thing to make it more dynamic ? )

 Dennis, just so you know, you should be able to google debian + whatever
 keyword you need to know something about to find an answer. We're talking
 basic Linux / Debian stuff here. For example.

 google - howto change debian timezone, and you will very likely find what
 i asked about last night dpkg-reconfigure tzdata.

 Anyway, dont feel as though I am putting you down by saying  this. quite
 the contrary actually. As I have been using Debian since  the 90's and have
 to google many things. Especially now considering I really want to look
 into using systemmd.


 On Fri, Mar 14, 2014 at 1:08 PM, Robert Nelson robertcnel...@gmail.comwrote:

 On Fri, Mar 14, 2014 at 12:53 PM, Robert Nelson robertcnel...@gmail.com
 wrote:
  On Fri, Mar 14, 2014 at 12:21 PM, Dennis Cote denn...@harding.ca
 wrote:
  On Friday, March 14, 2014 9:56:45 AM UTC-6, RobertCNelson wrote:
 
  It works if i add:
 
  # set PATH so it includes user's private bin if it exists
  if [ -d $HOME/bin ] ; then
  PATH=$HOME/bin:$PATH
  fi
 
  into .bashrc
 
  If there is no objections i'll probably set that up by default..
 
 
  Will this add the user's bin directory to the path twice when using a
 serial
  console since .bashrc is sourced from the existing .profile?
 
  Yeap it does..
 
  debian@beaglebone:~$ echo $PATH
 
 /home/debian/bin:/home/debian/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
 
  What gets sourced first? i can patch it to check..

 Here is a better fix:

 sudo sed -i -e 's:Exec=lxterminal:Exec=lxterminal -l -e bash:g'
 /usr/share/applications/lxterminal.desktop

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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: Kernel panic - not syncing: No init found. Try passing init= option to kernel.

2014-03-14 Thread William Hermans
NFS root as done on ARCH, Debian, and busybox will not work the same way on
ubuntu. Nor fedora or Angstrom for that matter. What you need to do is find
a how to for netbooting Ubuntu ( PC ) and adapt it.

obviously going by the error messages above, this configuration does not
like your initial ramdisk ( initrd ) for some reason.


On Fri, Mar 14, 2014 at 7:55 AM, siva kumar boopathisivaku...@gmail.comwrote:

 hello john,
  thanks for your help
 some how  i understood the flow of kernel booting from nfs
 but still i got  the same error report
6.876536] ALSA device list:
 [6.879838]   #0: TI BeagleBone Black
 [6.889766] VFS: Mounted root (nfs filesystem) on device 0:12.
 [6.896385] devtmpfs: mounted
 [6.899975] Freeing init memory: 292K
 [6.907579]
 *[6.920985] Kernel panic - not syncing: No init found.  Try passing
 init= option to kernel. See Linux Documentation/init.txt for guidance.*
 [6.934045] [c001367c] (unwind_backtrace+0x0/0xe0) from [c05e6d00]
 (panic+0x84/0x1e0)
 [6.942611] [c05e6d00] (panic+0x84/0x1e0) from [c05e1a80]
 (kernel_init+0xb8/0xe4)
 [6.950812] [c05e1a80] (kernel_init+0xb8/0xe4) from [c000d918]
 (ret_from_fork+0x14/0x3c)
 [6.959639] drm_kms_helper: panic occurred, switching back to text
 console


 this is my uEnv.txt file
 

 *kernel_file=zImage*
 *initrd_file=uInitrd*
 *initrd_high=0x*
 *fdt_high=0x*

 *serverip=192.168.1.69*
 *ipaddr=192.168.1.61*
 *gwaddr=192.168.1.100*
 *netmask=255.255.255.0*

 *#Video: Uncomment to override:*
 *#kms_force_mode=video=HDMI-A-1:1024x768@60*

 *##BeagleBone Cape Overrides*
 *##Note: On the BeagleBone Black, there is also an uEnv.txt in the eMMC,
 so if these changes do not seem to be makeing a difference...*

 *##BeagleBone Black:*
 *# Disable HDMI/eMMC*
 *# Note it is necessary to disable BOTH HDMI and HDMIN (no audio) capes*
 *# in order to use the HDMI pins for I/O*

 *#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G*

 *# Default to leaving the HDMIN cape enabled, so HDMI works out of the
 box*
 *# Comment the line below and uncomment the optargs= line above to use an
 unmodified*
 *# BeBoPr or other board that uses the HDMI/LCD pins *
 *#siva optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G
 capemgr.enable_partno=BB-BONE-AUDI-02*

 *console=ttyO0,115200n8*

 *mmcroot=/dev/mmcblk0p2 ro*
 *mmcrootfstype=ext4 rootwait fixrtc*
 *# ip_method=${ipaddr}:${serverip}:${gwaddr}:${netmask}::eth0:off*
 *ip_method=192.168.1.61:192.168.1.69:192.168.1.100:255.255.255.0::eth0:off*
 *nfsrootdev=/dev/nfs rw*
 *nfsroot=192.168.1.69:/home/cis-69/targetNFS ,vers=3*
 *nfsrootfstype=ext4 rootwait fixrtc *
 *nfsargs=setenv bootargs console=${console} ${optargs} ${kms_force_mode}
 root=${nfsrootdev} rootfstype=${nfsrootfstype} nfsroot=${nfsroot}
 init=/lib/modules/3.8.13/init mem=456M vram=50M ${expansion} *
 *#video=HDMI-A-1:1280x1024@60 ${expansion} *

 *loadkernel=tftp 0x8020 ${kernel_file}*
 *loadinitrd=tftp 0x8100 ${initrd_file}; setenv initrd_size ${filesize}*
 *loadfdt=tftp 0x815f ${fdtfile}*

 *boot_classic=run loadkernel; run loadinitrd*
 *# boot_ftd=run loadkernel; run loadinitrd; run loadfdt*
 *boot_ftd=run loadkernel; run loadfdt*

 *device_args=run expansion_args; run nfsargs*
 *mmcargs=setenv bootargs console=${console} ${optargs} rootdelay=5
 ${kms_force_mode} root=${mmcroot} rootfstype=${mmcrootfstype} ${expansion}*

 *expansion_args=setenv expansion ip=${ip_method}*
 *#Classic Board File Boot:*
 *#uenvcmd=run boot_classic; run device_args; bootz 0x8020
 0x8100:${initrd_size}*
 *#New Device Tree Boot:*
 *# uenvcmd=run boot_ftd; run device_args; bootz 0x8020
 0x8100:${initrd_size} 0x815f*
 *uenvcmd=run boot_ftd; run device_args; bootz 0x8020 - 0x815f*


 i tried this *init=/lib/modules/3.8.13/init option  but no use of it *

 help me out fix this issue





 On Friday, 14 March 2014 11:20:15 UTC+5:30, john3909 wrote:


 From: siva kumar boopathi...@gmail.com
 Reply-To: beagl...@googlegroups.com

 Date: Thursday, March 13, 2014 at 9:58 PM
 To: beagl...@googlegroups.com

 Subject: [beagleboard] Re: Kernel panic - not syncing: No init found.
 Try passing init= option to kernel.


 hai all,

 can anybody  help me how to boot the rootfs using nfs ..still i stuck
 with same issue..
 currently i'm using ubuntu13.10 as a host pc to implement nfs booting.
 i referred the following link to build the kernel
 http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel
 http://elinux.org/Building_BBB_Kernel

 I attached my uEnv.txt file I use for NFS. Make sure you change the IP
 address and userID for nfsroot to match your host IP and userID. My local
 network uses an address 10.100.116.xxx. My BBB is 10.100.116.104 and my
 host is 10.100.116.73.

 You need to install nfs-kernel-server on your Ubuntu host

 Add the following line to your /etc/exports file on your host

 /home/userID/targetNFS 

Re: [beagleboard] Setting the CPU speed.

2014-03-14 Thread William Hermans
Honestly unless you have a specific reason I think the default ( ondemand )
governor is probably the best. While idle for me the CPU has always been
300Mhz, and with a heavy load ( over 60% load ) the CPU goes up to 1Ghz.




On Fri, Mar 14, 2014 at 4:14 AM, Maxim Podbereznyy lisar...@gmail.comwrote:

 cpufreq-info
 cpufreq-set


 2014-03-14 13:31 GMT+04:00 cwrseckf...@gmail.com:

 I've been looking at the speed of my BBB and not really understanding
 what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
 show that the performance governor is in use, but the speed is a constant
 550,000 whatever the load.  The scaling_setspeed unsupported entry
 probably reflects this; does anyone know how I set up a kernel to handle
 the BBB's CPU speed control?

 (This is on debian, btw)

 Thanks - Will

 tuppence ~ # cpuspeed.sh
 affected_cpus 0
 cpuinfo_cur_freq 55
 cpuinfo_max_freq 100
 cpuinfo_min_freq 30
 cpuinfo_transition_latency 30
 related_cpus 0
 scaling_available_frequencies 30 60 80 100
 scaling_available_governors conservative ondemand userspace powersave
 performance
 scaling_cur_freq 55
 scaling_driver generic_cpu0
 scaling_governor performance
 scaling_max_freq 100
 scaling_min_freq 30
 scaling_setspeed unsupported
 tuppence ~ #


  --
 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.




 --
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company

 --
 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: Kernel panic - not syncing: No init found. Try passing init= option to kernel.

2014-03-14 Thread John Syn


From:  siva kumar boopathisivaku...@gmail.com
Reply-To:  beagleboard@googlegroups.com
Date:  Friday, March 14, 2014 at 7:55 AM
To:  beagleboard@googlegroups.com
Subject:  Re: [beagleboard] Re: Kernel panic - not syncing: No init found.
Try passing init= option to kernel.

 hello john,
  thanks for your help
 some how  i understood the flow of kernel booting from nfs
 but still i got  the same error report
6.876536] ALSA device list:
 [6.879838]   #0: TI BeagleBone Black
 [6.889766] VFS: Mounted root (nfs filesystem) on device 0:12.
 [6.896385] devtmpfs: mounted
 [6.899975] Freeing init memory: 292K
 [6.907579]
 [6.920985] Kernel panic - not syncing: No init found.  Try passing init=
 option to kernel. See Linux Documentation/init.txt for guidance.
 [6.934045] [c001367c] (unwind_backtrace+0x0/0xe0) from [c05e6d00]
 (panic+0x84/0x1e0)
 [6.942611] [c05e6d00] (panic+0x84/0x1e0) from [c05e1a80]
 (kernel_init+0xb8/0xe4)
 [6.950812] [c05e1a80] (kernel_init+0xb8/0xe4) from [c000d918]
 (ret_from_fork+0x14/0x3c)
 [6.959639] drm_kms_helper: panic occurred, switching back to text console
Did you rebuild your kernel without Initrd configured?

Regards,
John
 
 
 this is my uEnv.txt file
 
 
 kernel_file=zImage
 initrd_file=uInitrd
 initrd_high=0x
 fdt_high=0x
 
 serverip=192.168.1.69
 ipaddr=192.168.1.61
 gwaddr=192.168.1.100
 netmask=255.255.255.0
 
 #Video: Uncomment to override:
 #kms_force_mode=video=HDMI-A-1:1024x768@60
 
 ##BeagleBone Cape Overrides
 ##Note: On the BeagleBone Black, there is also an uEnv.txt in the eMMC, so if
 these changes do not seem to be makeing a difference...
 
 ##BeagleBone Black:
 # Disable HDMI/eMMC
 # Note it is necessary to disable BOTH HDMI and HDMIN (no audio) capes
 # in order to use the HDMI pins for I/O
 #optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
 
 # Default to leaving the HDMIN cape enabled, so HDMI works out of the box
 # Comment the line below and uncomment the optargs= line above to use an
 unmodified
 # BeBoPr or other board that uses the HDMI/LCD pins
 #siva optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G
 capemgr.enable_partno=BB-BONE-AUDI-02
 
 console=ttyO0,115200n8
 
 mmcroot=/dev/mmcblk0p2 ro
 mmcrootfstype=ext4 rootwait fixrtc
 # ip_method=${ipaddr}:${serverip}:${gwaddr}:${netmask}::eth0:off
 ip_method=192.168.1.61:192.168.1.69:192.168.1.100:255.255.255.0::eth0:off
 nfsrootdev=/dev/nfs rw
 nfsroot=192.168.1.69:/home/cis-69/targetNFS ,vers=3
 nfsrootfstype=ext4 rootwait fixrtc
 nfsargs=setenv bootargs console=${console} ${optargs} ${kms_force_mode}
 root=${nfsrootdev} rootfstype=${nfsrootfstype} nfsroot=${nfsroot}
 init=/lib/modules/3.8.13/init mem=456M vram=50M ${expansion}
 #video=HDMI-A-1:1280x1024@60 ${expansion}
 
 loadkernel=tftp 0x8020 ${kernel_file}
 loadinitrd=tftp 0x8100 ${initrd_file}; setenv initrd_size ${filesize}
 loadfdt=tftp 0x815f ${fdtfile}
 
 boot_classic=run loadkernel; run loadinitrd
 # boot_ftd=run loadkernel; run loadinitrd; run loadfdt
 boot_ftd=run loadkernel; run loadfdt
 
 device_args=run expansion_args; run nfsargs
 mmcargs=setenv bootargs console=${console} ${optargs} rootdelay=5
 ${kms_force_mode} root=${mmcroot} rootfstype=${mmcrootfstype} ${expansion}
 
 expansion_args=setenv expansion ip=${ip_method}
 #Classic Board File Boot:
 #uenvcmd=run boot_classic; run device_args; bootz 0x8020
 0x8100:${initrd_size}
 #New Device Tree Boot:
 # uenvcmd=run boot_ftd; run device_args; bootz 0x8020
 0x8100:${initrd_size} 0x815f
 uenvcmd=run boot_ftd; run device_args; bootz 0x8020 - 0x815f
 
 
 i tried this init=/lib/modules/3.8.13/init option  but no use of it
 
 help me out fix this issue
 
 
 
 
 
 On Friday, 14 March 2014 11:20:15 UTC+5:30, john3909  wrote:
 
 From:  siva kumar boopathi...@gmail.com javascript: 
 Reply-To:  beagl...@googlegroups.com javascript: 
 Date:  Thursday, March 13, 2014 at 9:58 PM
 To:  beagl...@googlegroups.com javascript: 
 Subject:  [beagleboard] Re: Kernel panic - not syncing: No init found.  Try
 passing init= option to kernel.
 
 
 hai all,
 
 can anybody  help me how to boot the rootfs using nfs ..still i stuck with
 same issue..
 currently i'm using ubuntu13.10 as a host pc to implement nfs booting.
 i referred the following link to build the kernel
 http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel
 http://elinux.org/Building_BBB_Kernel
 I attached my uEnv.txt file I use for NFS. Make sure you change the IP
 address and userID for nfsroot to match your host IP and userID. My local
 network uses an address 10.100.116.xxx. My BBB is 10.100.116.104 and my host
 is 10.100.116.73.
 
 You need to install nfs-kernel-server on your Ubuntu host
 
 Add the following line to your /etc/exports file on your host
 
 /home/userID/targetNFS
 10.100.116.0/255.255.255.0(rw,insecure,async,no_wdelay,no_root_squash,no_subt
 ree_check) 
 

Re: [beagleboard] Re: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Dennis Cote
On Friday, March 14, 2014 2:08:00 PM UTC-6, RobertCNelson wrote:

 Here is a better fix: 

 sudo sed -i -e 's:Exec=lxterminal:Exec=lxterminal -l -e bash:g' 
 /usr/share/applications/lxterminal.desktop 


As far as I can tell by using ps - p $$, lxterminal is already running 
bash, so adding -e bash shouldn't change anything. Adding the -l make it a 
login shell, so it sources /etc/profile and then .profile, which sources 
.bashrc if it exists. 

Without this change lxterminal runs bash as a non login shell so it sources 
/etc/bash.bashrc and then .bashrc instead. The /etc/bash.bashrc file setups 
the command prompt.

What I don't understand is why an lxterminal command with no options starts 
a bash shell, but an lxterminal -l command starts a /bin/sh shell which is 
actually a dash shell. You end up with no command prompt because it doesn't 
run /etc/bash.bashrc. There are probably other differences. This is why you 
added the -e bash option. 

Anyway this does seem like a better fix, though anything that runs /bin/sh 
will still have a different PATH without the user bin directory.

Dennis Cote  

 

-- 
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] Setting the CPU speed.

2014-03-14 Thread Carl-Fredrik Sundström

I would like to test my application at different lower CPU Frequencies to 
make sure that it would work on a custom board with a lower specced sitara 
processor. Could I lock the CPU at max 600 or 720 MHz ?



On Friday, March 14, 2014 4:34:30 PM UTC-5, William Hermans wrote:

 Honestly unless you have a specific reason I think the default ( ondemand 
 ) governor is probably the best. While idle for me the CPU has always been 
 300Mhz, and with a heavy load ( over 60% load ) the CPU goes up to 1Ghz.

  


 On Fri, Mar 14, 2014 at 4:14 AM, Maxim Podbereznyy 
 lisa...@gmail.comjavascript:
  wrote:

 cpufreq-info
 cpufreq-set


 2014-03-14 13:31 GMT+04:00 cwrse...@gmail.com javascript::

 I've been looking at the speed of my BBB and not really understanding
 what's going on.  The files under /sys/devices/system/cpu/cpu0/cpufreq
 show that the performance governor is in use, but the speed is a constant
 550,000 whatever the load.  The scaling_setspeed unsupported entry
 probably reflects this; does anyone know how I set up a kernel to handle
 the BBB's CPU speed control?

 (This is on debian, btw)

 Thanks - Will

 tuppence ~ # cpuspeed.sh
 affected_cpus 0
 cpuinfo_cur_freq 55
 cpuinfo_max_freq 100
 cpuinfo_min_freq 30
 cpuinfo_transition_latency 30
 related_cpus 0
 scaling_available_frequencies 30 60 80 100 
 scaling_available_governors conservative ondemand userspace powersave 
 performance 
 scaling_cur_freq 55
 scaling_driver generic_cpu0
 scaling_governor performance
 scaling_max_freq 100
 scaling_min_freq 30
 scaling_setspeed unsupported
 tuppence ~ # 


  -- 
 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.




 -- 
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company
  
 -- 
 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.


Re: [beagleboard] Re: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread William Hermans
dpkg-reconfigure dash - select no.


On Fri, Mar 14, 2014 at 2:40 PM, Dennis Cote denn...@harding.ca wrote:

 On Friday, March 14, 2014 2:08:00 PM UTC-6, RobertCNelson wrote:

 Here is a better fix:

 sudo sed -i -e 's:Exec=lxterminal:Exec=lxterminal -l -e bash:g'
 /usr/share/applications/lxterminal.desktop


 As far as I can tell by using ps - p $$, lxterminal is already running
 bash, so adding -e bash shouldn't change anything. Adding the -l make it a
 login shell, so it sources /etc/profile and then .profile, which sources
 .bashrc if it exists.

 Without this change lxterminal runs bash as a non login shell so it
 sources /etc/bash.bashrc and then .bashrc instead. The /etc/bash.bashrc
 file setups the command prompt.

 What I don't understand is why an lxterminal command with no options
 starts a bash shell, but an lxterminal -l command starts a /bin/sh shell
 which is actually a dash shell. You end up with no command prompt because
 it doesn't run /etc/bash.bashrc. There are probably other differences. This
 is why you added the -e bash option.

 Anyway this does seem like a better fix, though anything that runs /bin/sh
 will still have a different PATH without the user bin directory.

 Dennis Cote



 --
 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] Setting the CPU speed.

2014-03-14 Thread Robert Nelson
On Fri, Mar 14, 2014 at 4:46 PM, Carl-Fredrik Sundström
audio...@gmail.com wrote:

 I would like to test my application at different lower CPU Frequencies to
 make sure that it would work on a custom board with a lower specced sitara
 processor. Could I lock the CPU at max 600 or 720 MHz ?


voodoo@am335x-boneblack-512mb-1:~$ sudo cpufreq-set -f 80

voodoo@am335x-boneblack-512mb-1:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpuf...@vger.kernel.org, please.
analyzing CPU 0:
  driver: generic_cpu0
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 300 us.
  hardware limits: 300 MHz - 1000 MHz
  available frequency steps: 300 MHz, 600 MHz, 800 MHz, 1000 MHz
  available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
  current policy: frequency should be within 300 MHz and 1000 MHz.
  The governor userspace may decide which speed to use
  within this range.
  current CPU frequency is 800 MHz. = BINGO
  cpufreq stats: 300 MHz:3.87%, 600 MHz:0.01%, 800 MHz:0.01%, 1000
MHz:96.11%  (30)


just use cpufreq-set -f (freq)

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread Dennis Cote
On Friday, March 14, 2014 2:56:50 PM UTC-6, William Hermans wrote:

 Dennis, just so you know, you should be able to google debian + whatever 
 keyword you need to know something about to find an answer. We're talking 
 basic Linux / Debian stuff here. For example.

 google - howto change debian timezone, and you will very likely find what 
 i asked about last night dpkg-reconfigure tzdata.


I did that and ended up 
at 
http://www.debian-administration.org/article/213/Changing_the_timezone_of_your_Debian_system
 
which suggested the tzselect command (which in turn suggested adding a TZ 
environment variable, which in turn led to me seeing that my .profile 
wasn't being executed, etc). 

I also saw the page at https://wiki.debian.org/TimeZoneChanges but the text 
at the top of that page and the titles of the other sections made it seem 
more about checking and adapting the system to changes in the dates of 
daylight saving etc. I just wanted to set my timezone. The section where 
dpkg-reconfigure tzdata is mentioned has the title Check Configured 
Timezone, and the text of the command itself didn't lead me to conclude it 
would change my timezone. Had I read in more detail I would have seem what 
it did, but I was skimming for something that said this is how to change 
your timezone as on the page above. 
 

 Anyway, dont feel as though I am putting you down by saying  this. quite 
 the contrary actually. 


No problem, no offence taken. I just want to point out that not all google 
searches (or searchers) lead to the best answer.
 
Dennis Cote

-- 
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: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes

2014-03-14 Thread Piotr Murawski
There is a part in the driver (ti_am335x_tsc.c):

config = STEPCONFIG_MODE_HWSYNC |
STEPCONFIG_AVG_16 | ts_dev-bit_yp |
ts_dev-bit_xn | STEPCONFIG_INM_ADCREFM |
STEPCONFIG_INP(ts_dev-inp_xp);
titsc_writel(ts_dev, REG_STEPCONFIG(end_step), config);
titsc_writel(ts_dev, REG_STEPDELAY(end_step),
STEPCONFIG_OPENDLY);

end_step++;
*config |= STEPCONFIG_INP(ts_dev-inp_yn);*

There is possible bug, with using OR. It does not show up when XP - AN0 
and YN - AN3 because 0 is ORed to 3 (fortunately). With other X/Y plate 
connections, z2 might be totally wrong. 

Regards, 
Piotr.



  


-- 
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: Kernel panic - not syncing: No init found. Try passing init= option to kernel.

2014-03-14 Thread John Syn

From:  William Hermans yyrk...@gmail.com
Reply-To:  beagleboard@googlegroups.com
Date:  Friday, March 14, 2014 at 2:27 PM
To:  beagleboard@googlegroups.com
Subject:  Re: [beagleboard] Re: Kernel panic - not syncing: No init found.
Try passing init= option to kernel.

 NFS root as done on ARCH, Debian, and busybox will not work the same way on
 ubuntu. Nor fedora or Angstrom for that matter. What you need to do is find a
 how to for netbooting Ubuntu ( PC ) and adapt it.
 
 obviously going by the error messages above, this configuration does not like
 your initial ramdisk ( initrd ) for some reason.
NFS booting is not compatible with Initrd. Thus the kernel must be built
without Initrd configured and uenvcmd has a dash instead of an Initrd memory
load address.

Regards,
John
 
 
 
 On Fri, Mar 14, 2014 at 7:55 AM, siva kumar boopathisivaku...@gmail.com
 wrote:
 hello john,
  thanks for your help
 some how  i understood the flow of kernel booting from nfs
 but still i got  the same error report
6.876536] ALSA device list:
 [6.879838]   #0: TI BeagleBone Black
 [6.889766] VFS: Mounted root (nfs filesystem) on device 0:12.
 [6.896385] devtmpfs: mounted
 [6.899975] Freeing init memory: 292K
 [6.907579]
 [6.920985] Kernel panic - not syncing: No init found.  Try passing init=
 option to kernel. See Linux Documentation/init.txt for guidance.
 [6.934045] [c001367c] (unwind_backtrace+0x0/0xe0) from [c05e6d00]
 (panic+0x84/0x1e0)
 [6.942611] [c05e6d00] (panic+0x84/0x1e0) from [c05e1a80]
 (kernel_init+0xb8/0xe4)
 [6.950812] [c05e1a80] (kernel_init+0xb8/0xe4) from [c000d918]
 (ret_from_fork+0x14/0x3c)
 [6.959639] drm_kms_helper: panic occurred, switching back to text console
 
 
 this is my uEnv.txt file
 
 
 kernel_file=zImage
 initrd_file=uInitrd
 initrd_high=0x
 fdt_high=0x
 
 serverip=192.168.1.69
 ipaddr=192.168.1.61
 gwaddr=192.168.1.100
 netmask=255.255.255.0
 
 #Video: Uncomment to override:
 #kms_force_mode=video=HDMI-A-1:1024x768@60
 
 ##BeagleBone Cape Overrides
 ##Note: On the BeagleBone Black, there is also an uEnv.txt in the eMMC, so if
 these changes do not seem to be makeing a difference...
 
 ##BeagleBone Black:
 # Disable HDMI/eMMC
 # Note it is necessary to disable BOTH HDMI and HDMIN (no audio) capes
 # in order to use the HDMI pins for I/O
 
#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2
G
 
 # Default to leaving the HDMIN cape enabled, so HDMI works out of the box
 # Comment the line below and uncomment the optargs= line above to use an
 unmodified
 # BeBoPr or other board that uses the HDMI/LCD pins
 #siva optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G
 capemgr.enable_partno=BB-BONE-AUDI-02
 
 console=ttyO0,115200n8
 
 mmcroot=/dev/mmcblk0p2 ro
 mmcrootfstype=ext4 rootwait fixrtc
 # ip_method=${ipaddr}:${serverip}:${gwaddr}:${netmask}::eth0:off
 ip_method=192.168.1.61:192.168.1.69:192.168.1.100:255.255.255.0::eth0:off
 nfsrootdev=/dev/nfs rw
 nfsroot=192.168.1.69:/home/cis-69/targetNFS ,vers=3
 nfsrootfstype=ext4 rootwait fixrtc
 nfsargs=setenv bootargs console=${console} ${optargs} ${kms_force_mode}
 root=${nfsrootdev} rootfstype=${nfsrootfstype} nfsroot=${nfsroot}
 init=/lib/modules/3.8.13/init mem=456M vram=50M ${expansion}
 #video=HDMI-A-1:1280x1024@60 ${expansion}
 
 loadkernel=tftp 0x8020 ${kernel_file}
 loadinitrd=tftp 0x8100 ${initrd_file}; setenv initrd_size ${filesize}
 loadfdt=tftp 0x815f ${fdtfile}
 
 boot_classic=run loadkernel; run loadinitrd
 # boot_ftd=run loadkernel; run loadinitrd; run loadfdt
 boot_ftd=run loadkernel; run loadfdt
 
 device_args=run expansion_args; run nfsargs
 mmcargs=setenv bootargs console=${console} ${optargs} rootdelay=5
 ${kms_force_mode} root=${mmcroot} rootfstype=${mmcrootfstype} ${expansion}
 
 expansion_args=setenv expansion ip=${ip_method}
 #Classic Board File Boot:
 #uenvcmd=run boot_classic; run device_args; bootz 0x8020
 0x8100:${initrd_size}
 #New Device Tree Boot:
 # uenvcmd=run boot_ftd; run device_args; bootz 0x8020
 0x8100:${initrd_size} 0x815f
 uenvcmd=run boot_ftd; run device_args; bootz 0x8020 - 0x815f
 
 
 i tried this init=/lib/modules/3.8.13/init option  but no use of it
 
 help me out fix this issue
 
 
 
 
 
 On Friday, 14 March 2014 11:20:15 UTC+5:30, john3909  wrote:
 
 From:  siva kumar boopathi...@gmail.com
 Reply-To:  beagl...@googlegroups.com
 
 Date:  Thursday, March 13, 2014 at 9:58 PM
 To:  beagl...@googlegroups.com
 
 Subject:  [beagleboard] Re: Kernel panic - not syncing: No init found.  Try
 passing init= option to kernel.
 
 
 hai all,
 
 can anybody  help me how to boot the rootfs using nfs ..still i stuck with
 same issue..
 currently i'm using ubuntu13.10 as a host pc to implement nfs booting.
 i referred the following link to build the kernel
 http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel
 

Re: [beagleboard] Ethernet interface failure

2014-03-14 Thread Mark Grosen
Which kernel are you using? I've been running a BBB on Ethernet 24x7 using
the Debian distro plus the 3.13 kernel with no networking issues for
several weeks.

Mark


Mark


On Fri, Mar 14, 2014 at 9:12 AM, atomik...@gmail.com wrote:

 This is not an isolated instance. We have SEVERAL Beagles 10+ all bought
 at different times, and all showing the same issue. This is not one
 specific Beagle that needs to be RMA'd


 On Friday, March 14, 2014 11:33:48 AM UTC-4, Gerald wrote:

 So if the board never works again, have you sent it in for repair via an
 RMA?

 Gerald



 On Fri, Mar 14, 2014 at 10:28 AM, atom...@gmail.com wrote:

 The BeagleBone Black ethernet interface will fail after a few hours of
 operation. As an example, we did a fresh install of both Debian and Ubuntu
 on two Beagles (Newest updates for the Arm OS), connected them to the
 network and sure enough the next morning, both of the interfaces had
 failed. Several people have apparently noticed this issue, but I can't find
 any suggestions on possible fixes. It appears to potentially be a hardware
 or Kernel issue. Has anyone out there had any experience with this and
 discovered a fix?

 --
 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.

 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.


-- 
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: Kernel panic - not syncing: No init found. Try passing init= option to kernel.

2014-03-14 Thread Douglas Jerome

I build linux Linux systems that run on their inital RAM disk
and I can NFS boot them, so I don't think the kernel haveing
initrd capability does anything wrong.

Maybe I missed something in the thread, but why are
you using /lib/modules/3.8.13/init ??

When I see this
 Kernel panic - not syncing: No init found.  Try
 passing init= option to kernel.
message it is because the /sbin/init program the kernel
tries to run is missing a dynamic dependency. This sort
of thing happens when you build a whole (small) system
from scratch.

Try using init=/bin/bash just to see if it runs. If so,
it isn't an NFS root problem per se, is is a problem
with the program you are using for init.

On 03/14/14 15:40, John Syn wrote:


From: William Hermans yyrk...@gmail.com mailto:yyrk...@gmail.com
Reply-To: beagleboard@googlegroups.com
mailto:beagleboard@googlegroups.com
Date: Friday, March 14, 2014 at 2:27 PM
To: beagleboard@googlegroups.com mailto:beagleboard@googlegroups.com
Subject: Re: [beagleboard] Re: Kernel panic - not syncing: No init
found. Try passing init= option to kernel.

NFS root as done on ARCH, Debian, and busybox will not work the same
way on ubuntu. Nor fedora or Angstrom for that matter. What you need
to do is find a how to for netbooting Ubuntu ( PC ) and adapt it.

obviously going by the error messages above, this configuration does
not like your initial ramdisk ( initrd ) for some reason.

NFS booting is not compatible with Initrd. Thus the kernel must be built
without Initrd configured and uenvcmd has a dash instead of an Initrd
memory load address.

Regards,
John




On Fri, Mar 14, 2014 at 7:55 AM, siva kumar
boopathisivaku...@gmail.com mailto:boopathisivaku...@gmail.com
wrote:

hello john,
  thanks for your help
some how  i understood the flow of kernel booting from nfs
but still i got  the same error report
6.876536] ALSA device list:
[6.879838]   #0: TI BeagleBone Black
[6.889766] VFS: Mounted root (nfs filesystem) on device 0:12.
[6.896385] devtmpfs: mounted
[6.899975] Freeing init memory: 292K
[6.907579]
*[6.920985] Kernel panic - not syncing: No init found.  Try
passing init= option to kernel. See Linux Documentation/init.txt
for guidance.*
[6.934045] [c001367c] (unwind_backtrace+0x0/0xe0) from
[c05e6d00] (panic+0x84/0x1e0)
[6.942611] [c05e6d00] (panic+0x84/0x1e0) from [c05e1a80]
(kernel_init+0xb8/0xe4)
[6.950812] [c05e1a80] (kernel_init+0xb8/0xe4) from
[c000d918] (ret_from_fork+0x14/0x3c)
[6.959639] drm_kms_helper: panic occurred, switching back to
text console


this is my uEnv.txt file

*
*
*kernel_file=zImage*
*initrd_file=uInitrd*
*initrd_high=0x*
*fdt_high=0x*
*
*
*serverip=192.168.1.69*
*ipaddr=192.168.1.61*
*gwaddr=192.168.1.100*
*netmask=255.255.255.0*
*
*
*#Video: Uncomment to override:*
*#kms_force_mode=video=HDMI-A-1:1024x768@60*
*
*
*##BeagleBone Cape Overrides*
*##Note: On the BeagleBone Black, there is also an uEnv.txt in
the eMMC, so if these changes do not seem to be makeing a
difference...*
*
*
*##BeagleBone Black:*
*# Disable HDMI/eMMC*
*# Note it is necessary to disable BOTH HDMI and HDMIN (no
audio) capes*
*# in order to use the HDMI pins for I/O*

*#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G*
*
*
*# Default to leaving the HDMIN cape enabled, so HDMI works
out of the box*
*# Comment the line below and uncomment the optargs= line above
to use an unmodified*
*# BeBoPr or other board that uses the HDMI/LCD pins *
*#siva
optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G
capemgr.enable_partno=BB-BONE-AUDI-02*
*
*
*console=ttyO0,115200n8*
*
*
*mmcroot=/dev/mmcblk0p2 ro*
*mmcrootfstype=ext4 rootwait fixrtc*
*# ip_method=${ipaddr}:${serverip}:${gwaddr}:${netmask}::eth0:off*

*ip_method=192.168.1.61:192.168.1.69:192.168.1.100:255.255.255.0::eth0:off*
*nfsrootdev=/dev/nfs rw*
*nfsroot=192.168.1.69:/home/cis-69/targetNFS ,vers=3*
*nfsrootfstype=ext4 rootwait fixrtc *
*nfsargs=setenv bootargs console=${console} ${optargs}
${kms_force_mode} root=${nfsrootdev} rootfstype=${nfsrootfstype}
nfsroot=${nfsroot}init=/lib/modules/3.8.13/init mem=456M
vram=50M ${expansion} *
*#video=HDMI-A-1:1280x1024@60 ${expansion} *
*
*
*loadkernel=tftp 0x8020 ${kernel_file}*

[beagleboard] Re: Understanding i2c on BBB: a different approach : help needed

2014-03-14 Thread halherta

Ritu, have a look at Free Electron's Embedded Linux kernel and driver 
development training materials 
http://free-electrons.com/doc/training/linux-kernel/ They demonstrate step 
by step how to write an I2C driver under Linux for the beaglebone. 

Frankly I've given up on learning Linux device driversI just use 
userspace interfaces i2cdev/spidev/sysfs e.t.c

Hussam

On Tuesday, February 11, 2014 2:35:56 PM UTC-5, Ritu Sharma wrote:

 Hi All,

 I'm an experienced rtos driver developer but new to linux i2c subsystem :)

 For quite some time I was trying to learn i2c subsystem by looking at 
 sources... but may be its way too much for me to understand the 
 terminologies : bus driver/adapters/clients... I keep confusing between 
 them... which is i2c controller driver out of them... what are adapters 
 so on and so forth.

 I decided to work on it practically and understand it completely for once 
 and all ofcourse with community support.
 Below is the plan I have for this:

 1. remove i2c support from BBB kernel sources
 2. add one by one after understanding what is being added
 3. final aim is to make one RTC and eeprom over i2c to work with BBB

 For step 1, I would be grateful if some one could tells us what files I 
 need to remove and what those files do an outline.

 I think this sort of understanding many newbies in kernel would like to 
 have. I call upon them to add on this thread with related info.

 Cheers
 Ritu  



-- 
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: Here is the BeagleBone Debian (beta) image you want to test

2014-03-14 Thread William Hermans
I have very seldom run into a situation where google did not give me a
correct answer. Sometimes the first hit is not always right / succinct
either. It takes experience googling to know what to look for, and this
does not always work either.

Anyway, answers linked on debian.org, and superuser are typically succinct
and correct. Also, as I had not reconfigured time zone, and dash before, or
in a while i did google searches on these myself not but a few months ago.

Regardless, this is all part of the learning process for everyone.


On Fri, Mar 14, 2014 at 3:16 PM, Dennis Cote denn...@harding.ca wrote:

 On Friday, March 14, 2014 2:56:50 PM UTC-6, William Hermans wrote:

 Dennis, just so you know, you should be able to google debian +
 whatever keyword you need to know something about to find an answer. We're
 talking basic Linux / Debian stuff here. For example.

 google - howto change debian timezone, and you will very likely find
 what i asked about last night dpkg-reconfigure tzdata.


 I did that and ended up at
 http://www.debian-administration.org/article/213/Changing_the_timezone_of_your_Debian_systemwhich
  suggested the tzselect command (which in turn suggested adding a TZ
 environment variable, which in turn led to me seeing that my .profile
 wasn't being executed, etc).

 I also saw the page at https://wiki.debian.org/TimeZoneChanges but the
 text at the top of that page and the titles of the other sections made it
 seem more about checking and adapting the system to changes in the dates of
 daylight saving etc. I just wanted to set my timezone. The section where
 dpkg-reconfigure tzdata is mentioned has the title Check Configured
 Timezone, and the text of the command itself didn't lead me to conclude it
 would change my timezone. Had I read in more detail I would have seem what
 it did, but I was skimming for something that said this is how to change
 your timezone as on the page above.


 Anyway, dont feel as though I am putting you down by saying  this. quite
 the contrary actually.


 No problem, no offence taken. I just want to point out that not all google
 searches (or searchers) lead to the best answer.

 Dennis Cote

 --
 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.