[beagleboard] Re: BeagleBone Black hang

2014-07-24 Thread leon9
Any ideas?

-- 
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: Accessing BeagleBoard features through Mono runtime on Ubuntu for C# development

2014-07-24 Thread mickeyf
What do you need / are you looking for exactly?

You can certainly use the regular file system access to manipulate the 
GPIO, the serial ports, etc. This works fine. If you need access that is 
more direct than this, or higher performance, you'll probably have to 
develop it yourself. I don't think you are going to a BB API specifically 
designed for C#. 

-- 
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] Stuck with applying the device tree overlay file (dtbo) On BeagleBoard-XM, any suggestions how?

2014-07-24 Thread javaguy147
Gilco, could you post the code you ended up using to get this to work? I am 
in the same boat, I just want to use some GPIO pins for basic I/O but this 
new device tree thing is making it hard. Cannot find any information on how 
to simply export a few pins.
I would really appreciate any help!
~Dagaen Golomb

On Wednesday, May 14, 2014 8:45:59 PM UTC-4, Gilco333 wrote:

 Thank you, definitely valuable tips! :-)

 On Thursday, May 15, 2014 3:14:39 AM UTC+3, RobertCNelson wrote:




 On Wed, May 14, 2014 at 7:07 PM, Gilco333 cohen...@gmail.com wrote:

 Wow, thank you Robert for the super quick answer :-)

 A short question before I'll read and delve into more depth about the 
 subject:
 I have noticed during the boot process, the beagleboard-xM (rev B) 
 prints on screen:

 reading /dtbs/omap3-beagle-xm-ab.dtb
 60695 bytes read in 13 ms (4.5 MiB/s)
 ## Error: expansion_args not defined


 That's just an old variable in u-boot for the old board file boot. (the 
 buddy=spidev etc crap)
  


 Kernel image @ 0x8030 [ 0x00 - 0x3e2f38 ]
 ## Flattened Device Tree blob at 815f
Booting using the fdt blob at 0x815f
Using Device Tree in place at 815f, end 81601d16

 Starting kernel ..

 So I searched for the omap3-beagle-xm-ab.dts (on linux_kernel-3.14.4 
 source) in order to modify it. but couldn't find it, found only 
 omap3-beagle-xm.dts 
 googled and found only this skinny file: omap3-beagle-xm-ab.dts, which 
 contains:


 Yeah, just got merged to mainline a few weeks back.


 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/omap3-beagle-xm-ab.dts?id=refs/tags/v3.15-rc5


 /include/ omap3-beagle-xm.dts

 /* On Rev A/B USBHOST_PWR_EN is active high */

 hsusb2_power {

 enable-active-high;

 };

 Is it the correct file? which I should: 
 1) modify
 2) compile it to dtb 
 3) overwrite the exist file in /boot/uboot/dtbs/omap3-beagle-xm-ab.dtb 



 It's actually way easier to just decompile it with dtc, then recompile 
 it again.

 dtc -I dtb -O dts omap3-beagle-xm-ab.dtb  omap3-beagle-xm-ab.dts

 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] HELP. dead beagleboneblack

2014-07-24 Thread ksathishece
Hi,

The problem is the same after JTAG header soldered. But Power LED not 
lighting up while powered up through USB cable from laptop. 
Is my BBB dead?

On Tuesday, 25 March 2014 09:53:03 UTC, Tsan-Ming Chou wrote:

 If Power LED still lights up, that means no short happens. JTAG header has 
 two reset signals: nSRST (system reset) and nTRST (JTAG reset). I believe 
 one of these two pins must be connected incorrectly. You might try to 
 dis-soldered the header first and see whether the BBB can work then.   


 2014-03-24 1:52 GMT+08:00 dd ddlaw...@rocketmail.com javascript::

 Hi.  I bought BBB A6A new, 1 month ago.  It worked OK out-of-the-box.  
 I power it from the USB from a windows laptop and poke around with a 
 browser.  No problems.  
 I soldered on the proper JTAG header very carefully and now it is dead.  
 The Power LED lights up, but nothing else happens.  
 I am handy with electronics, programming and linux.  
 What can I do to troubleshoot the BBB?  
 Is there a DIY procedure?  
 I did not reflash the eMMC or a SDcard.  

 thanksdd

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


[beagleboard] JTAG Header Connection

2014-07-24 Thread ksathishece
Hi,
I have tried to solder my BBB with Jtag Connector on my own. But while 
soldering,  the copper pads from Pin 3 and 5 came off from the BBB header. 
How can I fix it?
Can anyone help me out please? I am new to electronics.. 

-- 
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: Beaglebone Black Ethernet Phy Not Detected on Boot.

2014-07-24 Thread cmidroid
When you see the repeating C's, I believe that is the ROM not finding 
u-boot. You have an issue with the mailbox drivers

I use the following mailbox values for my kernel config 

 CONFIG_MAILBOX=y # CONFIG_OMAP_MBOX is not set # CONFIG_OMAP2PLUS_MBOX 
is not set # CONFIG_OMAP_MBOX_KFIFO_SIZE is not set 
The davinci mdio driver should report a phymask and that value is used to 
update the device tree.

I load the following drivers in the following order.

libphy
smsc
davinci_cpdma
davinci_mdio
ti_cpsw

I also remove the second phy slave from the device tree.

I would verify your device tree blob has the correct values for your pin 
setup.

Regards

On Tuesday, July 22, 2014 9:34:27 AM UTC-4, krd wrote:


 On Friday, July 18, 2014 1:26:21 PM UTC+2, RobertCNelson wrote:

 On Fri, Jul 18, 2014 at 5:42 AM, krd k...@dacsystem.pl wrote: 
  
  
  On Monday, July 7, 2014 5:17:12 PM UTC+2, RobertCNelson wrote: 
  
  On Mon, Jul 7, 2014 at 2:52 AM, Micka micka...@gmail.com wrote: 
   Hello, 
   
   I'm on the Kernel 3.8.13-bone56 and I've still this problem : 
   
   Scanning for Btrfs filesystems 
   systemd-fsck[202]: rootfs: clean, 110431/966656 files, 
 771069/3864576 
   blocks 
   [7.665617] libphy: PHY 4a101000.mdio:00 not found 
   [7.670642] net eth0: phy 4a101000.mdio:00 not found on slave 0 
   [7.676834] libphy: PHY 4a101000.mdio:01 not found 
   [7.681844] net eth0: phy 4a101000.mdio:01 not found on slave 1 
   
   
   I've to reboot many times to get lucky . 
  
  Hey Micka, 
  
  how about the newly pushed out bone60? 
  
  Regards, 
  
  -- 
  Robert Nelson 
  http://www.rcn-ee.com/ 
  
  
  
  I am using 3.15.0-rc8-bone1 kernel and I am experiencing the same 
 problem 
  with loosing eth occasionally. For some reasons I don't want to use 
 3.8.* 
  kernels. Can you recommend me some of these new kernel that do not 
 replicate 
  the issue? I am thinking of giving a try to the latest 3.16-rc5... 

 Well, I added that patch in 3.15.4-bone4 so 3.15.0-rc8-bone1 
 doesn't include it.  The latest from that branch is 3.15.6-bone5 

 Regards, 

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



 I updated my kernel to 3.15.6-bone5, just as you've said. But, as it 
 seems, this does not fix the issue completely. What I'm observing is lack 
 of ethernet connection after some boots. They characterise with initial 
 hangup, I can see 'C' being put on the console until a watchdog located on 
 cape connected to my BBB reboots the BBB. It happens on its own, without 
 any extraordinary operation being run on this system. For example two times 
 last night. I have to plug out and in the power cable to fix the issue, SW 
 reboot doesn't help. Power is delivered to BBB via our cape. Another way to 
 reproduce it is to plug out the sd card and wait for watchdog to reboot 
 BBB. After that, 'C' are printed to the console(OS on eMMC is not 
 bootable), and when I insert back the sd it instantly boots from it. No 
 connection after that too. Do you have any ideas on what's going on and how 
 to fix this?

 Below I'm attaching the log from this:

 Welcome to minicom 2.7

 OPTIONS: I18n 
 Compiled on Jan  1 2014, 17:13:19.
 Port /dev/ttyUSB0, 14:22:11

 Press CTRL-A Z for help on special keys

 CCC
 U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
 reading args
 spl_load_image_fat_os: error reading image args, err - -1
 reading u-boot.img
 reading u-boot.img


 U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

 I2C:   ready
 DRAM:  512 MiB
 NAND:  0 MiB
 MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
 *** Warning - readenv() failed, using default environment

 Net:   ethaddr not set. Validating first E-fuse MAC
 Could not get PHY for cpsw: addr 0
 cpsw, usb_ether
 Hit any key to stop autoboot:  0 
 gpio: pin 53 (gpio 53) value is 1
 mmc0 is current device
 gpio: pin 54 (gpio 54) value is 1
 SD/MMC found on device 0
 reading uEnv.txt
 1696 bytes read in 6 ms (275.4 KiB/s)
 gpio: pin 55 (gpio 55) value is 1
 Loaded environment from uEnv.txt
 Importing environment from mmc ...
 using: am335x-boneblack.dtb...
 Checking if uenvcmd is set ...
 gpio: pin 56 (gpio 56) value is 1
 Running uenvcmd ...
 reading zImaget it. After that, 'C' are printed to the console(OS on eMMC 
 is not bootable), and when i insert back the sd it instantly boots from it. 
 No ethernet after that too. Below I'm attaching the log f
 6224648 bytes read in 343 ms (17.3 MiB/s)
 reading initrd.img
 2957458 bytes read in 218 ms (12.9 MiB/s)
 reading /dtbs/am335x-boneblack.dtb
 31128 bytes read in 11 ms (2.7 MiB/s)
 Kernel image @ 0x8200 [ 0x00 - 0x5efb08 ]
 ## Flattened Device Tree blob at 8800
Booting using the fdt blob at 0x8800
Using Device Tree in place at 8800, end 8800a997

 Starting kernel ...

 [0.581100] omap_init_mbox: hwmod doesn't have valid attrs
 [2.361161] ti_reset_probe: missing 'resets' child node.
 [2.381165] pinctrl-single 

[beagleboard] Re: Bricked board! Completely erased NAND!

2014-07-24 Thread catherinepavlov
Hi guys, 

I doubt any of you still check this thread, but on the off chance you do, 
does anyone have a copy of whatever used to be on the page at 
http://beagleboard.googlegroups.com/web/beagle_recover.tar.bz2?gda=ZEX02kgAAACYfRbpt_Clu5uUeTNxK00uiu_n15XuftRjC6kM5T6NA4WelqDvQlqTcTCLuOf46WcfMjfA1Yet-dba5SzCQKbSGjVgdwNi-BwrUzBGT2hOzg
?
I have similarly messed up my board, and it seems most helpful pages are no 
longer existent.

Thanks!

- Catherine

On Friday, April 17, 2009 2:06:18 PM UTC-7, Hurdy wrote:

 Hi everyone, 

 Can someone please direct me to a page describing how to unbrick a 
 beagle board? 
 I accidently erased all NAND and when I boot my board I get nothing 
 via the minicom! 

 Thank you, 

 Rob

-- 
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: Bricked board! Completely erased NAND!

2014-07-24 Thread Gerald Coley
Your link gives me an error. None of the boards have NAND per se. The
either have eMMC (BeagleBone Black) or an SD card.

Which board do you have?

Gerald



On Wed, Jul 23, 2014 at 5:09 PM, catherinepav...@gmail.com wrote:

 Hi guys,

 I doubt any of you still check this thread, but on the off chance you do,
 does anyone have a copy of whatever used to be on the page at
 http://beagleboard.googlegroups.com/web/beagle_recover.tar.bz2?gda=
 ZEX02kgAAACYfRbpt_Clu5uUeTNxK00uiu_n15XuftRjC6kM5T6NA4WelqDvQlqTc
 TCLuOf46WcfMjfA1Yet-dba5SzCQKbSGjVgdwNi-BwrUzBGT2hOzg
 ?
 I have similarly messed up my board, and it seems most helpful pages are
 no longer existent.

 Thanks!

 - Catherine


 On Friday, April 17, 2009 2:06:18 PM UTC-7, Hurdy wrote:

 Hi everyone,

 Can someone please direct me to a page describing how to unbrick a
 beagle board?
 I accidently erased all NAND and when I boot my board I get nothing
 via the minicom!

 Thank you,

 Rob

  --
 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] JTAG Header Connection

2014-07-24 Thread Gerald Coley
It cannot be fixed if you rip pads off the board.

Gerald



On Thu, Jul 24, 2014 at 4:36 AM, ksathish...@gmail.com wrote:

 Hi,
 I have tried to solder my BBB with Jtag Connector on my own. But while
 soldering,  the copper pads from Pin 3 and 5 came off from the BBB header.
 How can I fix it?
 Can anyone help me out please? I am new to electronics..

 --
 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] HELP. dead beagleboneblack

2014-07-24 Thread Gerald Coley
Yes it does sound like it is dead. If the power LED does not come on,
that indicates that it has an issue. I suggest you try getting an RMA.

http://www.elinux.org/Beagleboard:BeagleBoneBlack#RMA_Support


Gerald



On Thu, Jul 24, 2014 at 4:29 AM, ksathish...@gmail.com wrote:

 Hi,

 The problem is the same after JTAG header soldered. But Power LED not
 lighting up while powered up through USB cable from laptop.
 Is my BBB dead?


 On Tuesday, 25 March 2014 09:53:03 UTC, Tsan-Ming Chou wrote:

 If Power LED still lights up, that means no short happens. JTAG header
 has two reset signals: nSRST (system reset) and nTRST (JTAG reset). I
 believe one of these two pins must be connected incorrectly. You might try
 to dis-soldered the header first and see whether the BBB can work then.


 2014-03-24 1:52 GMT+08:00 dd ddlaw...@rocketmail.com:

 Hi.  I bought BBB A6A new, 1 month ago.  It worked OK out-of-the-box.
 I power it from the USB from a windows laptop and poke around with a
 browser.  No problems.
 I soldered on the proper JTAG header very carefully and now it is dead.
 The Power LED lights up, but nothing else happens.
 I am handy with electronics, programming and linux.
 What can I do to troubleshoot the BBB?
 Is there a DIY procedure?
 I did not reflash the eMMC or a SDcard.

 thanksdd

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


[beagleboard] Re: TFTP from u-boot: slow and buggy

2014-07-24 Thread Tom Rini
On Wednesday, July 23, 2014 4:02:42 PM UTC-4, Brendan Bleker wrote:

 Have you got this to work?

 I've been working on a very similar thing, only I'm trying to load u-boot 
 through TFTP. You may find the following TI wiki useful:


 http://processors.wiki.ti.com/index.php/Ubuntu_12.04_Set_Up_to_Network_Boot_an_AM335x_Based_Platform

 At this point I have not got a Network Bootable img file, that is where 
 I'm stuck...


Using mainline U-Boot you will want to build for 'am335x_evm_usbspl' and 
use the 'spl/u-boot-spl.bin' and 'u-boot.img' files as what your TFTP 
server sends out in reply to the BOOTP requests.  The trickiest part here, 
generally, is having the host machine bring up USB networking in time as 
that is when you need to start working with Network Manager or similar and 
I've had reports, but not had time to dig up a fresh installed box or VM, 
that what's on the TI wiki page isn't quite right anymore.
 
-- 
Tom

-- 
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: TFTP from u-boot: slow and buggy

2014-07-24 Thread Tom Rini
On Wednesday, July 23, 2014 4:25:03 PM UTC-4, William Hermans wrote:

 Yeah, but I'm not loading uboot over the network. Just the kernel and file 
 system. Plus that is a guide using Ubuntu for which my instructions wont 
 work on. As I used Debian.

 One curious thing however, and perhaps I am wrong for loading uboot via a 
 network. I do not use or need a dhcp server for my instructions, and am 
 thinking a dhcp server is not necessary if you use static IP's. But I am 
 not 100% sure where, or how uboot would get its IP from if you're loading 
 it via network.


Yes, if you set 'serverip' and 'ipaddr' you do not need to run dhcp once 
U-Boot is running.  When AM335x SoCs boot from the network (which is the 
case for when it's a USB gadget device) a DHCP server _is_ required.
 

 Anyhow, having multiple dhcp servers on the same network can cause 
 problems which may be difficult to trace down. Even if they are technically 
 on different subnets, Hence why I do not use a BOOTP/DHCP server.


This is not true, if you configure the dhcp server on your host correctly 
(which is to say, not to do anything on your normal eth interfaces and only 
look at the usb network device).

-- 
Tom

-- 
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] JTAG Header Connection

2014-07-24 Thread John Syn

From:  ksathish...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Thursday, July 24, 2014 at 2:36 AM
To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Subject:  [beagleboard] JTAG Header Connection

 Hi,
 I have tried to solder my BBB with Jtag Connector on my own. But while
 soldering,  the copper pads from Pin 3 and 5 came off from the BBB header. How
 can I fix it?
 Can anyone help me out please? I am new to electronics..
Those are two important pins. Soldering these SMD connectors to the board is
pretty simple and the PCB is good quality so I don¹t understand how you
could pull off those pads. There are plenty of examples of PCB repairs and
installing SMD connectors on youtube. Looking at the board, I think it is
going to be extremely difficult to repair those pads without a decent
stereoscope and fine pitch soldering iron.

Regards,
John
 -- 
 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.


[beagleboard] SDcard is dead?

2014-07-24 Thread kthabc2002
hi everyone. i have a question.
i'm following this site.

http://adis.ca/post/debian-wheezy-beaglebone-black/

but while rebooting. sdcard boot do not working  appearance emergencymode.

how can i fix it?

https://lh3.googleusercontent.com/-zCeAUJfMV0Q/U9EmIdYoYQI/AAM/ZpyHpsjZHfI/s1600/sdfs.bmp
//==

*U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)*
*reading args*
*spl_load_image_fat_os: error reading image args, err - -1*
*reading u-boot.img*
*reading u-boot.img*


*U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)*

*I2C:   ready*
*DRAM:  512 MiB*
*NAND:  0 MiB*
*MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1*
 Warning - readenv() failed, using default environment*

*Net:   ethaddr not set. Validating first E-fuse MAC*
*cpsw, usb_ether*
*Hit any key to stop autoboot:  0*
*gpio: pin 53 (gpio 53) value is 1*
*mmc0 is current device*
*gpio: pin 54 (gpio 54) value is 1*
*SD/MMC found on device 0*
*Failed to mount ext2 filesystem...*
*** Unrecognized filesystem type ***
*Checking if uenvcmd is set ...*

*uenvcmd was not defined in uEnv.txt ...*
*gpio: pin 56 (gpio 56) value is 0*
*gpio: pin 55 (gpio 55) value is 0*
*gpio: pin 54 (gpio 54) value is 0*
*mmc1(part 0) is current device*
*gpio: pin 54 (gpio 54) value is 1*
*SD/MMC found on device 1*
*reading uEnv.txt*
*1699 bytes read in 7 ms (236.3 KiB/s)*
*gpio: pin 55 (gpio 55) value is 1*
*Loaded environment from uEnv.txt*
*Importing environment from mmc ...*
*Checking if uenvcmd is set ...*
*gpio: pin 56 (gpio 56) value is 1*
*Running uenvcmd ...*
*reading zImage*
*4103240 bytes read in 280 ms (14 MiB/s)*
*reading initrd.img*
*2952586 bytes read in 169 ms (16.7 MiB/s)*
*reading /dtbs/am335x-boneblack.dtb*
*25926 bytes read in 11 ms (2.2 MiB/s)*
*Kernel image @ 0x8200 [ 0x00 - 0x3e9c48 ]*
*## Flattened Device Tree blob at 8800*
*   Booting using the fdt blob at 0x8800*
*   Using Device Tree in place at 8800, end 88009545*

*Starting kernel ...*

*Uncompressing Linux... done, booting the kernel.*
*[0.378192] omap2_mbox_probe: platform not supported*
*[0.532827] tps65217-bl tps65217-bl: no platform data provided*
*[0.596617] bone-capemgr bone_capemgr.9: slot #0: No cape found*
*[0.633725] bone-capemgr bone_capemgr.9: slot #1: No cape found*
*[0.670831] bone-capemgr bone_capemgr.9: slot #2: No cape found*
*[0.707941] bone-capemgr bone_capemgr.9: slot #3: No cape found*
*[0.722633] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN 
conflict P8.45 (#5:BB-BONELT-HDMI)*
*[0.732256] bone-capemgr bone_capemgr.9: slot #6: Failed verification*
*[0.739001] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 
BB-BONELT-HDMIN:00A0 (prio 2)*
*[0.756546] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' 
failed*
*[0.819548] pinctrl-single 44e10800.pinmux: pin 44e10854 already 
requested by 44e10800.pinmux; cannot claim for gpio-leds.8*
*[0.831226] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status 
-22*
*[0.838513] pinctrl-single 44e10800.pinmux: could not request pin 21 on 
device pinctrl-single*
*Loading, please wait...*
*Scanning for Btrfs filesystems*
*systemd-fsck[212]: rootfs: clean, 15082/04 files, 79776/444160 blocks*
*[6.125184] EXT2-fs (mmcblk0p1): error: can't find an ext2 filesystem 
on dev mmcblk0p1.*
*[6.143156] EXT4-fs (mmcblk0p1): VFS: Can't find ext4 filesystem*
*[6.158794] FAT-fs (mmcblk0p1): bogus number of reserved sectors*
*[6.172894] FAT-fs (mmcblk0p1): bogus number of reserved sectors*
*[6.189982] F2FS-fs (mmcblk0p1): Can't find a valid F2FS filesystem*
*Welcome to emergency mode. Use systemctl default or ^D to enter default 
mode.*
*Press enter for maintenance(or type Control-D to continue):*
*root@beaglebone:~#*
//==

-- 
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] SDcard is dead?

2014-07-24 Thread Robert Nelson
On Thu, Jul 24, 2014 at 10:29 AM, kthabc2...@gmail.com wrote:

 hi everyone. i have a question.
 i'm following this site.

 http://adis.ca/post/debian-wheezy-beaglebone-black/

 but while rebooting. sdcard boot do not working  appearance emergencymode.

 how can i fix it?



Well, you can either contact the author of that page ^ and find out where
he messed up.

Or actually follow, the page I wrote that he half ass copied ;)

http://eewiki.net/display/linuxonarm/BeagleBone+Black

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: TFTP from u-boot: slow and buggy

2014-07-24 Thread William Hermans

 *This is not true, if you configure the dhcp server on your host correctly
 (which is to say, not to do anything on your normal eth interfaces and only
 look at the usb network device).*

Tom, whats the point of having a PC on a network that you can't access ?
Anyhow, what I stated is *fact*, but do not take my word for it, give it a
try yourself..


On Thu, Jul 24, 2014 at 7:40 AM, Tom Rini tom.r...@gmail.com wrote:

 On Wednesday, July 23, 2014 4:25:03 PM UTC-4, William Hermans wrote:

 Yeah, but I'm not loading uboot over the network. Just the kernel and
 file system. Plus that is a guide using Ubuntu for which my instructions
 wont work on. As I used Debian.

 One curious thing however, and perhaps I am wrong for loading uboot via a
 network. I do not use or need a dhcp server for my instructions, and am
 thinking a dhcp server is not necessary if you use static IP's. But I am
 not 100% sure where, or how uboot would get its IP from if you're loading
 it via network.


 Yes, if you set 'serverip' and 'ipaddr' you do not need to run dhcp once
 U-Boot is running.  When AM335x SoCs boot from the network (which is the
 case for when it's a USB gadget device) a DHCP server _is_ required.


 Anyhow, having multiple dhcp servers on the same network can cause
 problems which may be difficult to trace down. Even if they are technically
 on different subnets, Hence why I do not use a BOOTP/DHCP server.


 This is not true, if you configure the dhcp server on your host correctly
 (which is to say, not to do anything on your normal eth interfaces and only
 look at the usb network device).

 --
 Tom

 --
 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] SDcard is dead?

2014-07-24 Thread William Hermans
Now, to fix your font size.


On Thu, Jul 24, 2014 at 8:41 AM, Robert Nelson robertcnel...@gmail.com
wrote:




 On Thu, Jul 24, 2014 at 10:29 AM, kthabc2...@gmail.com wrote:

 hi everyone. i have a question.
 i'm following this site.

 http://adis.ca/post/debian-wheezy-beaglebone-black/

 but while rebooting. sdcard boot do not working  appearance
 emergencymode.

 how can i fix it?



 Well, you can either contact the author of that page ^ and find out where
 he messed up.

 Or actually follow, the page I wrote that he half ass copied ;)

 http://eewiki.net/display/linuxonarm/BeagleBone+Black

 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: Can't connect to Beagelbone Black with mac terminal...

2014-07-24 Thread William Hermans
Any modern ssh client should be able to use either. SO search the web on
how to change the ssh protocol version for your ssh client, and do so.


On Wed, Jul 23, 2014 at 9:43 PM, Troy Dack t...@dack.com.au wrote:

 Remove the -1, or change it to -2

 I'd guess that the BBB is only supporting SSH Protocol V2


 On Sunday, 20 July 2014 05:46:40 UTC+10, rcr...@mac.com wrote:

 When I enter ssh 192.168.7.2 -1 root I get: Protocol major versions
 differ: 1 vs. 2

 Thoughts?

  --
 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] JTAG Header Connection

2014-07-24 Thread William Hermans

 *PCB is good quality so I don’t understand how you could pull off those
 pads.*


By applying too much heat. . .


On Thu, Jul 24, 2014 at 8:00 AM, John Syn john3...@gmail.com wrote:


 From: ksathish...@gmail.com
 Reply-To: beagleboard@googlegroups.com beagleboard@googlegroups.com
 Date: Thursday, July 24, 2014 at 2:36 AM
 To: beagleboard@googlegroups.com beagleboard@googlegroups.com
 Subject: [beagleboard] JTAG Header Connection

 Hi,
 I have tried to solder my BBB with Jtag Connector on my own. But while
 soldering,  the copper pads from Pin 3 and 5 came off from the BBB header.
 How can I fix it?
 Can anyone help me out please? I am new to electronics..

 Those are two important pins. Soldering these SMD connectors to the board
 is pretty simple and the PCB is good quality so I don’t understand how you
 could pull off those pads. There are plenty of examples of PCB repairs and
 installing SMD connectors on youtube. Looking at the board, I think it is
 going to be extremely difficult to repair those pads without a decent
 stereoscope and fine pitch soldering iron.

 Regards,
 John

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


-- 
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: Bricked board! Completely erased NAND!

2014-07-24 Thread catherinepavlov
Yeah, I get an error from the link as well. It was posted to this thread a 
while ago, and I was hoping to find what it used to link to. I am using a 
BeagleBoard Rev D. I was trying to set it up to boot Ubuntu from an SD when 
I messed it up, and now when I run a serial connection I just get garbage.

Thanks for your help!

- Catherine

On Thursday, July 24, 2014 6:11:01 AM UTC-7, Gerald wrote:

 Your link gives me an error. None of the boards have NAND per se. The 
 either have eMMC (BeagleBone Black) or an SD card.

 Which board do you have?

 Gerald



 On Wed, Jul 23, 2014 at 5:09 PM, catheri...@gmail.com javascript: 
 wrote:

 Hi guys, 

 I doubt any of you still check this thread, but on the off chance you do, 
 does anyone have a copy of whatever used to be on the page at 
 http://beagleboard.googlegroups.com/web/beagle_recover.tar.bz2?gda=
 ZEX02kgAAACYfRbpt_Clu5uUeTNxK00uiu_n15XuftRjC6kM5T6NA4WelqDvQlqTc
 TCLuOf46WcfMjfA1Yet-dba5SzCQKbSGjVgdwNi-BwrUzBGT2hOzg
 ?
 I have similarly messed up my board, and it seems most helpful pages are 
 no longer existent.

 Thanks!

 - Catherine


 On Friday, April 17, 2009 2:06:18 PM UTC-7, Hurdy wrote:

 Hi everyone, 

 Can someone please direct me to a page describing how to unbrick a 
 beagle board? 
 I accidently erased all NAND and when I boot my board I get nothing 
 via the minicom! 

 Thank you, 

 Rob

  -- 
 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-07-24 Thread mbbackus
I was using the March 31st image (I think) up until yesterday when I 
updated to the most recent image. One thing I liked about the march image 
is that it automatically booted to the sd card (no need to press the boot 
button). How can I implement this functionality with the newer image?

-- 
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] -bash: opkg: command not found When trying to set-up for and install i2c

2014-07-24 Thread yourbindingsarebroken
Hello,

   I am fairly new to BBB and intermediate with Linux. I am trying to get a 
TMP006 to work over i2c on my BBB. I am following the instructions on the 
following site:

https://www.npmjs.org/package/i2c

Under the Beaglebone instructions when I get to:

$ opkg update

This is what my terminal says:

root@beaglebone:~# opkg update
-bash: opkg: command not found

Can anyone help me. Im sure Im missing something painfull simple...( al 
least I hope!)

Thank you to anyone who can help me!!!

-Noah

-- 
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] USB Powered Hub and Beaglebone Black

2014-07-24 Thread gobbligook . we
I have a beaglebone black.  the challenge I face is that I require multiple 
powered USB devices to be connected to it while only using one power source 
- the BBB 5V DC connector

1 - USB Camera - Logitech C920
1 - USB GPS Antenna
1 - USB WiFi Adaptor
1 - USB Bluetooth Adaptor

Clearly the onboard USB port cannot supply enough power using an unpowered 
hub to bring these devices up.

How would I wire the external powered hub to the Beaglebone Black to 
satisfy the single power source requirement?  
1) Would I tie +/- to the same DC power source before the BB and somehow 
adapt the USB cable for TX/RX only thus bypassing the board for the power 
on the hub?


hub | ===tx/rx USB===|bbb 5v|==+/-
  | +5V-|  |
  | gnd|

2) Would I use the +/-5V expansion header and somehow adapt the USB cable 
for TX/RX only? thus using the BB to supply power?

hub | ===tx/rx USB===BBBUSB
  | +/---| bbb expansion header 5v |==+/-

I tried scenario 1 already and somehow destroyed my BB (won't boot, no LEDs 
- looks like a brick), bit hesitant to try 2) as I don't want to brick 
another.

I am not an electrical engineer.




Thanks-Wesley



-- 
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] USB Powered Hub and Beaglebone Black

2014-07-24 Thread Gerald Coley
Plug in a power supply to the external HUB.

Gerald



On Thu, Jul 24, 2014 at 11:32 AM, gobbligook...@gmail.com wrote:

 I have a beaglebone black.  the challenge I face is that I require
 multiple powered USB devices to be connected to it while only using one
 power source - the BBB 5V DC connector

 1 - USB Camera - Logitech C920
 1 - USB GPS Antenna
 1 - USB WiFi Adaptor
 1 - USB Bluetooth Adaptor

 Clearly the onboard USB port cannot supply enough power using an unpowered
 hub to bring these devices up.

 How would I wire the external powered hub to the Beaglebone Black to
 satisfy the single power source requirement?
 1) Would I tie +/- to the same DC power source before the BB and somehow
 adapt the USB cable for TX/RX only thus bypassing the board for the power
 on the hub?


 hub | ===tx/rx USB===|bbb 5v|==+/-
   | +5V-|  |
   | gnd|

 2) Would I use the +/-5V expansion header and somehow adapt the USB cable
 for TX/RX only? thus using the BB to supply power?

 hub | ===tx/rx USB===BBBUSB
   | +/---| bbb expansion header 5v |==+/-

 I tried scenario 1 already and somehow destroyed my BB (won't boot, no
 LEDs - looks like a brick), bit hesitant to try 2) as I don't want to brick
 another.

 I am not an electrical engineer.




 Thanks-Wesley



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


[beagleboard] Hardware and Software Integration - Ethernet/LCD Modules To Drivers To Usage In Programs

2014-07-24 Thread tonofsteel
Can anyone offer any insight into how this works?
 
In general for all embedded dev you typically have hardware (for the sake 
of discussion lets say a Ethernet or LCD module), drivers for the specific 
hardware, a way to hook it into the OS if you are using one (or a 
graphics/windows library) and finally a way to call at a higher level 
methods to run the hardware.
 
I received a 4D systems display with my beagleboard and it magically 
works.  If I plug it into the headers on the board and power it on then the 
display works.  If I disconnect it and use the onboard HDMI connector then 
magically the video shows up on my monitor.
 
For Ethernet you can have a processor with an on-board MAC and external PHY 
or a module that uses SPI/Serial for example.  Those are two very different 
methods of connecting Ethernet but magically in the demos for development 
boards it all works and you use libraries at a much higher level to create 
sockets, communicate, handle requests etc.
 
While I have been able to find a lot regarding TCP/IP stacks, graphics 
libraries, and wiring diagrams for modules I have not been able to find 
much that explains this magic
 
I did find that the board I have has a EEPROM on it that as part of the 
BeagleBoard firmware it will question what the cape is and wire up the 
driver to the display output (frame buffer?)
 
I don't think this is necessarily specific to just the BeagleBone, since in 
development you are always trying to mix together 
hardware/modules/processors/Operating Systems/Bare Metal code.
 
My question is there any good books/documentation/web sites/tutorials that 
show in more detail how you take a piece of hardware, a processer and 
optionally an operating system and get them working together?  But more on 
the details of the magic and not hey look here is a LCD, plug it in here 
and write this python script and bam you got a picture?
 
If I had a FPGA that implemented a MAC and had an external PHY and 
connected it to the Beaglebone Black or other processor running a TCP/IP 
stack how would I go about telling the OS or library this is the physical 
communication piece and here is the driver to run it?  I know there has to 
be some hooks somewhere to connect the pieces it is just not clear where 
they are.
 
On a PIC32 dev board I worked with you had to tell it which MAC/PHY driver 
you wanted to use by using #defines.  It would include the code but I 
believe it was all a standard interface that each driver implemented.  So 
the stack would just call methods/functions at the lowest level and this 
driver would do the actual sending/receiving of bits.
 
There has to be a book(s) that explain the magic better.  Correct me if I 
am wrong but the general concept is the same across all types of systems 
whether you are using Debian, a RTOS or a stack on bare metal.  The higher 
level abstracts the hardware/functionality to an interface and you write 
the code for this interface so it communicates with whatever specific 
hardware/communication protocol you are using?

-- 
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-07-24 Thread Robert Nelson
On Thu, Jul 24, 2014 at 10:02 AM,  mbbac...@gmail.com wrote:
 I was using the March 31st image (I think) up until yesterday when I updated
 to the most recent image. One thing I liked about the march image is that it
 automatically booted to the sd card (no need to press the boot button). How
 can I implement this functionality with the newer image?

Rename bbb-uEnv.txt in the boot partition

mkdir disk
sudo mount /dev/mmcblk0p1 ./disk
sudo mv ./disk/bbb-uEnv.txt ./disk/uEnv.txt
sync
sudo umount ./disk
sudo reboot

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-07-24 Thread Robert Nelson
On Thu, Jul 24, 2014 at 1:59 PM, Robert Nelson robertcnel...@gmail.com wrote:
 On Thu, Jul 24, 2014 at 10:02 AM,  mbbac...@gmail.com wrote:
 I was using the March 31st image (I think) up until yesterday when I updated
 to the most recent image. One thing I liked about the march image is that it
 automatically booted to the sd card (no need to press the boot button). How
 can I implement this functionality with the newer image?

 Rename bbb-uEnv.txt in the boot partition

 mkdir disk
 sudo mount /dev/mmcblk0p1 ./disk
 sudo mv ./disk/bbb-uEnv.txt ./disk/uEnv.txt
 sync
 sudo umount ./disk
 sudo reboot

Note, by doing this, it'll only support the mainline dtb location:

http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0#Rootfs_Partition

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: Beaglebone Black Ethernet Phy Not Detected on Boot.

2014-07-24 Thread Loren Amelang
On Wednesday, July 23, 2014 3:54:00 PM UTC-7, cmid...@gmail.com wrote:

 The davinci mdio driver should report a phymask and that value is used to 
 update the device tree.


Back when I had this problem I tried hard to find out where the phymask 
comes from, and never succeeded. At that time people who received a phymask 
of fffe booted successfully, those with fffb failed. Do you know 
where the mask is found and how to change it? 

I also remove the second phy slave from the device tree.


That seems like a great idea, if only to stop all the useless messages 
about it never being found. Can that be done in the uEnv.txt, like when you 
disable HDMI, or do you have to rebuild the device tree binary? Would 
setting the phymask to  accomplish the same thing?

Loren 

-- 
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] SDcard is dead?

2014-07-24 Thread Chad Baker

A bit of google-ing brings you to https://github.com/nmenon/beagle-recover

Enjoy
Chad

On 7/24/2014 11:04 AM, William Hermans wrote:

Now, to fix your font size.


On Thu, Jul 24, 2014 at 8:41 AM, Robert Nelson 
robertcnel...@gmail.com mailto:robertcnel...@gmail.com wrote:





On Thu, Jul 24, 2014 at 10:29 AM, kthabc2...@gmail.com
mailto:kthabc2...@gmail.com wrote:

hi everyone. i have a question.
i'm following this site.

http://adis.ca/post/debian-wheezy-beaglebone-black/

but while rebooting. sdcard boot do not working  appearance
emergencymode.

how can i fix it?



Well, you can either contact the author of that page ^ and find
out where he messed up.

Or actually follow, the page I wrote that he half ass copied ;)

http://eewiki.net/display/linuxonarm/BeagleBone+Black

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
mailto:beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google 
Groups BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to beagleboard+unsubscr...@googlegroups.com 
mailto:beagleboard+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups BeagleBoard group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Problems for flashing BeagleBone Black

2014-07-24 Thread jesus2142
Hi everyone, I'm trying to flash my beaglebone black. It has installed 
Debian, since it's not mine, but I need to reset it to Angstrom to work 
with it. I'm following the guide to do it, but it says it's about 30-45 
minutes, but it never gets the four leds on. Only d3 and d4 are flashing 
and nothing happens.

I want to know what can be the issue, I'm powering it by the 5v pin not by 
usb, and I'm using latest update of angstrom in the official website from 
Beagelbone. I'm sure it is properly powered, since it looks is the most 
common  trouble, and I'm using a 4gb SD card.

Thanks in advance

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Problems for flashing BeagleBone Black

2014-07-24 Thread William Hermans
I think the only way you're truly going to know whats going on is get
access to the console. One way to do this would be by buying a serial debug
cable as described here:
http://elinux.org/Beagleboard:BeagleBone_Black_Accessories#Serial_Debug_Cables

But perhaps if you give us the exact steps you've taken to try and achieve
what you want. *Maybe* someone can spot what is going wrong.


On Thu, Jul 24, 2014 at 12:24 PM, jesus2...@gmail.com wrote:

 Hi everyone, I'm trying to flash my beaglebone black. It has installed
 Debian, since it's not mine, but I need to reset it to Angstrom to work
 with it. I'm following the guide to do it, but it says it's about 30-45
 minutes, but it never gets the four leds on. Only d3 and d4 are flashing
 and nothing happens.

 I want to know what can be the issue, I'm powering it by the 5v pin not by
 usb, and I'm using latest update of angstrom in the official website from
 Beagelbone. I'm sure it is properly powered, since it looks is the most
 common  trouble, and I'm using a 4gb SD card.

 Thanks in advance

 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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] Is a Minimal install of Wheezy possible?

2014-07-24 Thread vmtech2007


On Monday, July 7, 2014 8:00:14 AM UTC-5, RobertCNelson wrote:

 On Thu, Jul 3, 2014 at 11:54 PM,  vmtec...@gmail.com javascript: 
 wrote: 
  
  Looking to build a BBB setup and would like to start with a basic Net 
 type 
  build of Debian Wheezy running from the SD card and then simply add the 
  pieces I need. I was looking at using the 
 debian-7.5.0-armhf-netinst.iso. 
  Since I believe the iso would normally be put onto a CD and the netinst 
 run 
  from there, to install the OS onto a hard drive I was wondering if it 
 would 
  be possible to expand the iso onto a USB flash, boot the BBB from USB 
 and 
  run the install onto a bare SDHC card in the SD card slot of the BBB. 
 Can 
  someone tell me if this is possible? I looked at Robert Nelson's page 
  describing how to build a Tiny boot disk but am not sure I have either 
 the 
  knowledge or the hardware to do it. After it is all done, I plan to have 
 the 
  machine booting  running from the SD card, at least for a while. Any 
 help 
  appreciated. 

 https://github.com/RobertCNelson/netinstall 

 This will boot debian's netinstall and allow you to setup the rootfs 
 on either the mmc or external usb media. 

 Regards, 

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


I used git to get netinstall. When I run mk_mmc I get 
 
Downloading Device's Bootloader
-
2014-07-24 19:55:55 URL:https://rcn-ee.net/deb/tools/latest/bootloader-ng 
[3754/3754] - /tmp/tmp.79ybb6Jm8k/dl/bootloader-ng [1]
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

Looks like there is some sort of mis-match in the script?

-- 
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] SDcard is dead?

2014-07-24 Thread William Hermans
Now that I've had my morning coffee( long time ago , heh ), and read that
persons instructions. I have to say there are many points of interest.
 Mostly, his / her instructions are all jacked up.

From the looks of it this person was copying Roberts instructions from last
year, with *many* deviations from Roberts original instructions. The lack
of use of parted to set the boot partition active ( yes I saw that in fdisk
but afaik that does not work in our case). fstab is also completely whack.
Then last but not least, there is no mention of sudo in those instructions,
for which I have to assume these instructions were performed as root. Bad
mojo . . .

Anyway, in your shoes I'd do as Robert suggests, follow his latest
instructions, and you should not have any issues.







On Thu, Jul 24, 2014 at 1:26 PM, Chad Baker cmbak...@gmail.com wrote:

  A bit of google-ing brings you to
 https://github.com/nmenon/beagle-recover

 Enjoy
 Chad

 On 7/24/2014 11:04 AM, William Hermans wrote:

 Now, to fix your font size.


 On Thu, Jul 24, 2014 at 8:41 AM, Robert Nelson robertcnel...@gmail.com
 wrote:




 On Thu, Jul 24, 2014 at 10:29 AM, kthabc2...@gmail.com wrote:

 hi everyone. i have a question.
 i'm following this site.

  http://adis.ca/post/debian-wheezy-beaglebone-black/

  but while rebooting. sdcard boot do not working  appearance
 emergencymode.

  how can i fix it?



  Well, you can either contact the author of that page ^ and find out
 where he messed up.

  Or actually follow, the page I wrote that he half ass copied ;)

  http://eewiki.net/display/linuxonarm/BeagleBone+Black

  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.



 --

   --
 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] SDcard is dead?

2014-07-24 Thread William Hermans
Oh, and should I have mentioned that a journaling file system on a sd card
is not exactly the best idea ?


On Thu, Jul 24, 2014 at 6:24 PM, William Hermans yyrk...@gmail.com wrote:

 Now that I've had my morning coffee( long time ago , heh ), and read that
 persons instructions. I have to say there are many points of interest.
  Mostly, his / her instructions are all jacked up.

 From the looks of it this person was copying Roberts instructions from
 last year, with *many* deviations from Roberts original instructions. The
 lack of use of parted to set the boot partition active ( yes I saw that in
 fdisk but afaik that does not work in our case). fstab is also completely
 whack. Then last but not least, there is no mention of sudo in those
 instructions, for which I have to assume these instructions were performed
 as root. Bad mojo . . .

 Anyway, in your shoes I'd do as Robert suggests, follow his latest
 instructions, and you should not have any issues.







 On Thu, Jul 24, 2014 at 1:26 PM, Chad Baker cmbak...@gmail.com wrote:

  A bit of google-ing brings you to
 https://github.com/nmenon/beagle-recover

 Enjoy
 Chad

 On 7/24/2014 11:04 AM, William Hermans wrote:

 Now, to fix your font size.


 On Thu, Jul 24, 2014 at 8:41 AM, Robert Nelson robertcnel...@gmail.com
 wrote:




 On Thu, Jul 24, 2014 at 10:29 AM, kthabc2...@gmail.com wrote:

 hi everyone. i have a question.
 i'm following this site.

  http://adis.ca/post/debian-wheezy-beaglebone-black/

  but while rebooting. sdcard boot do not working  appearance
 emergencymode.

  how can i fix it?



  Well, you can either contact the author of that page ^ and find out
 where he messed up.

  Or actually follow, the page I wrote that he half ass copied ;)

  http://eewiki.net/display/linuxonarm/BeagleBone+Black

  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.



 --

   --
 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] Is a Minimal install of Wheezy possible?

2014-07-24 Thread Robert Nelson
 I used git to get netinstall. When I run mk_mmc I get

 Downloading Device's Bootloader
 -
 2014-07-24 19:55:55 URL:https://rcn-ee.net/deb/tools/latest/bootloader-ng
 [3754/3754] - /tmp/tmp.79ybb6Jm8k/dl/bootloader-ng [1]
 wget: missing URL
 Usage: wget [OPTION]... [URL]...

 Try `wget --help' for more options.

 Looks like there is some sort of mis-match in the script?

That's odd.. I've been rewriting parts of the mk_mmc.sh script today,
but i haven't touched that..

try a git pull and rerun it..

Otherwise, what version of 'wget' do you have installed?

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] PRU IEP interrupt example

2014-07-24 Thread jstampfl
Full code at:  https://github.com/jstampfl/PruIEP_Int

Also for example of using PRU IEP see:

https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/configs/ARM/PRU-Debugger/pruexample.p

Here is the p code:

//iepx.p   -  set up IEP interrupt on CMP0 hitting compare value.
//toggles pin p9.31 -  attached to r30.t0 - mode 5 output
//
//Depends on call linux program to initialize the INTC 
//
.setcallreg r2.w0  //  Going to use r30
.origin 0
.entrypoint TB
TB:
   set r30,r30, 0 //turn on 
   jmp ISET//this is the routine to setup

TB1:
   ldi r17,0 // init loop counter
   call RSET // routine to clear  enable interrupts

TB2:
   qbbc TB2,r31.t30 // spin here for interrupt
   xor r30,r30,1//toggle
   call RSET// clear, enable
   add r17,r17,1//loop counter
   qblt TB9,r17,50  //loop 50 times
   jmp TB2


TB9://  exit point 
   mov r31,35  //trigger host interrupt for Linux
   HALT

ISET: //  This section is to initialize the interrupts

//INITIALIZE IEP INTERRUPTS

   mov r14,0xFF   //For CMP0, compare trigger
   sbco r14,c26,0x48,4
   mov r14,0x3// enable CMP0, and enable
   sbco r14,c26,0x40,4// counter reset on event
   mov r14,0x1
   sbco r14,c26,0x44,4// clear status for CMP0
   lbco r14,c26,0x4,4
   sbco r14,c26,0x4,4 // clear GLOBAL status, overflow
   mov r14,0x111  // enable IEP counter, inc 1
   sbco r14,c26,0,4

//DONE WITH IEP SETUP

//SETUP CHANNEL MAP
//map SysEvent to Channel 0, leave 16 - 23 alone set by Linux
   mov r15,0x400//set up Channel map
   mov r14,0x09090909   // first map all unused events to
   sbco r14,c0,r15,4//  Channel 9
   mov r15,0x408
   sbco r14,c0,r15,4
   mov r15,0x40C// skiping offsets 410  414, they
   sbco r14,c0,r15,4// were set by the C program via prussdrv
   mov r18,0x43C// end for loop
   mov r15,0x414// start -4 for loop
TB43:
   add r15,r15,4
   sbco r14,c0,r15,4
   qbgt TB43,r15,r18
   mov r14,0x00090909   // map SysEvt 7 to channel 0
   mov r15,0x404// now do 404, which has the
   sbco r14,c0,r15,4// entries for 4,5,6,7

//   Done with Channel Map, Host Interrupt Map now
   // Host Interrupt 0 - 3 were setup by Linux   

   mov r14,0x09090909   // map channels 4,5,6,7 to Host Int 9 
   mov r15,0x804
   sbco r14,c0,r15,4
   mov r14,0x0909   // map channel 8  9 to Host Int 9
   mov r15,0x808
   sbco r14,c0,r15,4

   ldi r15, 0x24 //clear all events
   call ALLEVT


   ldi r15,0x28  // enable all events
   call ALLEVT
   jmp TB1

RSET:  // Routine to clear  enable system events, also host interrupts
   mov r24,r2   // Save return address
// so can call ALLEVT
   lbco r14,c26,0x4,4   // clear GLOBAL_STATUS
   sbco r14,c26,0x4,4
   lbco r14,c26,0x44,4  // clear CMP_STATUS
   sbco r14,c26,0x44,4
   lbco r14,c26,0x44,4
   mov r15,0x24 //  to clear system event
   call ALLEVT
   mov r15,0x28 //  to enable system event
   call ALLEVT

   mov r2,r24// restore return address
   ret
   
ALLEVT:  //Insert the system envent in the proper INTC register
 // register r15 must have the register offset
 // will only work with registers that take the event number
 // if you want to handle multiple events, just add 
 //   ldi r14,sys event no.
 //   sbco r14, c0 ,r15,4

   ldi r14,0x7
   sbco r14, c0 ,r15,4
   ret

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