[beagleboard] Can I get some help with getting started with the pocket beagle

2018-03-08 Thread Tony Giaccone
I thought I posted here once before but I don't see the posting or any 
replies so if this is a dup my apologies. 

I'm trying to set up a pocket beagle with my Mac and I can't seem to get 
USB networking up. 

When I connect the device to my mac is shows up on the networking tab as 
BeagleBone, and BeagleBone2. And I can ssh into the dvice. However as soon 
as I turn on network sharing everything blows up. The devices go from being 
useable network entries to one being "red" and the other going to a self 
assigned IP address.  The ssh connection is broken and the only recovery is 
to turn off shared networking and disconnect the cable and then reconnect 
it. 

I've made atempts on the board side to set up a default route.  And enable 
dhcp, which actually seems to be running already. If I try to ping from the 
pocket to the outside world it either fails to work or I get network 
unavailable. 

The mac is a macbook pro running sierra.  Any additional suggestions would 
be greatly appreciated. 


Tony 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/aacd9b41-873e-4176-bfe1-60eb3fef8688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] introduction

2018-03-08 Thread Deepanshu
hello everyone,

I am Deepanshu Gajbhiye. I am a 3rd-year computer science student. I would 
like to work in beagle board as my GSoC project. I have been working with 
hardware hacking and IOT for 3 months now. I have done firmware emulation, 
extraction of firmware, extracting sensitive information, etc. I have 
extensively worked  on kankun smart plug and found some new hacks with 
writing my own python script. 

Also for gsoc I studied all the beagleboards. Saw how to do network 
configuration on beagleboard black. I would love to contribute to this 
project.
  

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6a665a3a-ebda-4455-909f-0ddc0abe6142%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Can I get some help with getting started with the pocket beagle

2018-03-08 Thread Chris Green
Tony Giaccone  wrote:
> 
> When I connect the device to my mac is shows up on the networking tab as 
> BeagleBone, and BeagleBone2. And I can ssh into the dvice. However as soon 
> as I turn on network sharing everything blows up.

I'm not clear - where are you turning on "network sharing" and *why*
are you turning it on?

-- 
Chris Green
·

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/17s7ne-tcf.ln1%40esprimo.zbmc.eu.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Can I get some help with getting started with the pocket beagle

2018-03-08 Thread Robert Nelson
On Thu, Mar 8, 2018 at 6:35 AM, Tony Giaccone  wrote:
> I thought I posted here once before but I don't see the posting or any
> replies so if this is a dup my apologies.
>
> I'm trying to set up a pocket beagle with my Mac and I can't seem to get USB
> networking up.
>
> When I connect the device to my mac is shows up on the networking tab as
> BeagleBone, and BeagleBone2. And I can ssh into the dvice. However as soon
> as I turn on network sharing everything blows up. The devices go from being
> useable network entries to one being "red" and the other going to a self
> assigned IP address.  The ssh connection is broken and the only recovery is
> to turn off shared networking and disconnect the cable and then reconnect
> it.
>
> I've made atempts on the board side to set up a default route.  And enable
> dhcp, which actually seems to be running already. If I try to ping from the
> pocket to the outside world it either fails to work or I get network
> unavailable.
>
> The mac is a macbook pro running sierra.  Any additional suggestions would
> be greatly appreciated.

Uninstall the horndis driver. The reason you are seeing two
interfaces, we have rndis for windows, and a cdc interface for mac.

Regards,

-- 
Robert Nelson
https://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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYg1y8sGGRTg_auw3Upmp4gEAUkZuNXAG3FRYAyEG9P1-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2018-03-08 Thread lolo sami
YouTube videos of



 U.S. Congress money laundering hearing


of

Saudi Billionaire  " Maan  Al sanea"

 with *bank of America*


and  The  owner of Saad Hospital and  Schools

 in the Eastern Province in *Saudi Arabia*



and the Chairman of the Board of Directors of Awal Bank  in *Bahrain*


With Arabic Subtitles


http://www.youtube.com/watch?v=mIBNnQvhU8s





*موقع اليوتيوب الذي عرض جلسة استماع الكونجرس الأمريكي *

* لمتابعة نشاطات غسل الأموال ونشاطات*



*السعودي معن عبدالواحد الصانع*



*مالك مستشفى  وشركة سعد  ومدارس سعد بالمنطقة الشرقية بالسعودية   ورئيس مجلس
ادارة بنك اوال البحريني*



*مترجم باللغة العربية*



http://www.youtube.com/watch?v=mIBNnQvhU8s

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CACfCHjHUN8Bc%2BTWFQm7ap3Wu8XwFEWNDxNh84itRZTk56KD-4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] I2S interface on BBB

2018-03-08 Thread Yiling Cao
By noise, do you mean analog background noise or digital related noise?

On Thu, Mar 8, 2018 at 6:17 AM, Stuart Longland 
wrote:

> On 07/03/18 21:52, h...@olli-ai.com wrote:
> > I'm try to use TVL320AIC3254 Codec with Beaglebone Black via I2S bus. At
> > present, I can play music but it hear noise. Attached is script to set
> > up this codec with these setting: WCLK=44.1Khz, BCLK=1.4112 Mhz, MCLK=24
> > Mhz.
>
> It's been a long time since I had anything to do with the TLV320AIC32x4
> driver in the kernel, I actually wrote the very first open-source one
> back in 2010.
>
> Without going into detail of what settings you've selected, my first
> thought would be to get the oscilloscope out and verify that the bit
> patterns are what you expect.
>
> Maybe try triggering on WCLK and monitor BCLK; you should see 32
> transitions between each transition of WCLK.
>
> Also, double check the 'AIC32x4 datasheet and the TI Sitara docs, and
> make sure one end is master, the other is slave.  I'd recommend the
> AIC32x4 is master, since it's usually easier to set to a given sample rate.
>
> I vaguely recall some code that would figure out what PLL settings to
> use in the AIC32x4 to generate the right sample rate for the given MCLK;
> but whether that's in the current driver, I cannot be certain.
>
> Regards,
> --
> Stuart Longland (aka Redhatter, VK4MSL)
>
> I haven't lost my mind...
>   ...it's backed up on a tape somewhere.
>
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/28be6f9f-364d-55ef-17f8-e600c2283de0%
> 40longlandclan.id.au.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
http://umine.io/ 
http://ariaboard.com/
http://shanghainovotech.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMMUdpJdKnQybQB1nH6Dr1_OPZ_7a%2B_StVR4hgYY-g6z8s9ezg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Reading Image with Win32 Disk Imager - Why Does Boot Get Copied with Read Only Allocated Partitions

2018-03-08 Thread Jeff Andich
Hi,

I was needing a utility to read/clone an SD card without copying all of the 
additional wasted space on an SD card like the original Win32 Disk Imager 
Does.  From what I can tell, the latest Etcher for Windows only writes to 
SD card.

So I just tried the latest Win32 Disk Imager which now has a checkbox, 
"Read Only Allocated Partitions."  With the beaglebone/beagleboard images, 
I thought (in order to clone an SD card image without wasted space) for 
sure that with the structure of the BeagleBone/BeagleBoard images having a 
single ext4 partition and then MLO/u-boot in the "holes" below the 
partition somewhere, I would have to:

1) upload/read just the ext4 partition, clicking the Read Only Allocated 
Partition checkbox with Win32 Disk Imager
2) Write that uploaded partition to the target SD card.
3) Re-'dd' MLO and u-boot to the target SD card.

But low and behold, I tried booting my board after step #2, and it boots 
with my modified MLO..

Either Win32 Disk imager, when you click that checkbox, is reading from the 
start of the SD card to the end of the ext4 partition (and not reading past 
that point), or something else is going on. 

Why is the MLO/u-boot which reside in the "holes" copied as well?


Granted, I didn't google this in advance, so if this has already been 
discussed somewhere, then please don't answer...

Thanks!

Jeff

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d2dfa178-f6a4-45a8-b086-8e86cb263d56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Reading Image with Win32 Disk Imager - Why Does Boot Get Copied with Read Only Allocated Partitions

2018-03-08 Thread Robert Nelson
On Thu, Mar 8, 2018 at 1:58 PM, Jeff Andich  wrote:
> Hi,
>
> I was needing a utility to read/clone an SD card without copying all of the
> additional wasted space on an SD card like the original Win32 Disk Imager
> Does.  From what I can tell, the latest Etcher for Windows only writes to SD
> card.
>
> So I just tried the latest Win32 Disk Imager which now has a checkbox, "Read
> Only Allocated Partitions."  With the beaglebone/beagleboard images, I
> thought (in order to clone an SD card image without wasted space) for sure
> that with the structure of the BeagleBone/BeagleBoard images having a single
> ext4 partition and then MLO/u-boot in the "holes" below the partition
> somewhere, I would have to:
>
> 1) upload/read just the ext4 partition, clicking the Read Only Allocated
> Partition checkbox with Win32 Disk Imager
> 2) Write that uploaded partition to the target SD card.
> 3) Re-'dd' MLO and u-boot to the target SD card.
>
> But low and behold, I tried booting my board after step #2, and it boots
> with my modified MLO..
>
> Either Win32 Disk imager, when you click that checkbox, is reading from the
> start of the SD card to the end of the ext4 partition (and not reading past
> that point), or something else is going on.
>
> Why is the MLO/u-boot which reside in the "holes" copied as well?
>
>
> Granted, I didn't google this in advance, so if this has already been
> discussed somewhere, then please don't answer...

>From their readme:

"Read Only Allocated Partitions - Option to read only to the end of
the defined partition(s).  Ex:  Write a 2G image to a 32G device,
reading it to a new file will only read to the end of
the defined partition (2G)."

My guess, it starts from zero -> end of partition... Not the start of
the partition..

Regards,

-- 
Robert Nelson
https://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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjqeoKfKJr2vtPr9hpbpiv5mZeJtmpZ8BpNufTtwSpD5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] I2S interface on BBB

2018-03-08 Thread Stuart Longland
On 09/03/18 05:24, Yiling Cao wrote:
> By noise, do you mean analog background noise or digital related noise?

If your BCLK and WCLK are up the spout, then the CODEC will not be
synchronised to the audio stream and you'll get something that sounds
like static instead of the intended waveform.

Take a 16-bit signed PCM stereo audio file; and try playing it as 8-bit
unsigned PCM mono, and you'll get an idea of what I'm talking about.

-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/44a9be73-09bf-fffc-d0ab-4cafe742f6ca%40longlandclan.id.au.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Weird behaviour: input/output error and no commands after few minutes

2018-03-08 Thread meglickib
I have tried:
- 4 distinct power supplies (3 x 5V, 1x 12V)
- SD card and built in memory
- 3 different OS images 
-- latest 'iot' image from https://beagleboard.org/latest-images
-- image referenced in BeagleBoneBlue FAQ, 
https://debian.beagleboard.org/images/bone-debian-8.7-iot-armhf-2017-03-19-4gb.img.xz.
-- image referenced on Straswon Design,  
https://rcn-ee.com/rootfs/bb.org/testing/2017-03-07/iot/bone-debian-8.7-iot-armhf-2017-03-07-4gb.img.xz
 

Nothing helped. The input/output errors show usually after some writes to 
mmc and dmesg is flooded with errors.

I have also found on StrawsonDesign github this thread: 
https://github.com/StrawsonDesign/Robotics_Cape_Installer/issues/87 and 
StrawsonDesign mentioning that:

I've found this on about 10 out of 70 beaglebone blues, many of those 
> boards also show flash errors when running badblocks. I think it's a 
> hardware issue with the emmc as I don't see it when running off an SD card.


In my case it also doesn't work with SD cards. I concluded that my BBBL is 
faulty and returned it.

Kind regards

On Tuesday, March 6, 2018 at 10:46:25 PM UTC+1, megl...@gmail.com wrote:
>
> Same problems on new Beagle Bone Blue.
> Unpacked, powered up, worked like 5 minutes until IO errors.
>
> Kind regards,
>
> Bm
>
> On Wednesday, August 23, 2017 at 11:49:22 PM UTC+2, Jeffrey Obadal wrote:
>>
>> I don't have my logs with me, but I believe mine looked pretty much just 
>> like that. Unfortunately both of mine spits out errors just trying to 
>> update Debian. Using an SD Card delays the error a little longer, but 
>> eventually it gets some disk access errors and goes into read only mode. I 
>> wonder if there is a way to slow down read/write and if that would fix it. 
>> I mean, besides updating it I don't really care about writing much after 
>> that.
>>
>> I contacted the RMA email on the beagleboard site, and Arrow. Never heard 
>> back from beagleboard. Arrow said they would have the RMA people contact 
>> me, been a week already. I bought this for testing until their new X15 
>> comes out, but at this rate I think I'll wait a major revision of X15 after 
>> it first comes out.
>>
>> Jeff
>>
>> On Tue, Aug 22, 2017 at 7:34 PM,  wrote:
>>
>>> I also am having the same issue. I thought it was broken hardware so I 
>>> bought a new one and the same thing happened again. I found that I can 
>>> usually induce the errors by transferring a large amount of files using 
>>> scp. 
>>>
>>> I'm going to check UART0 for additional information once I get the 
>>> cabling set up. I really hope this gets patched soon, it's a very 
>>> irritating bug.
>>>
>>> One time I was able to get some debug information before the I/O errors 
>>> consumed everything, not sure if it's helpful in any way.
>>>
>>> Here's the last few lines given from dmesg
>>>
>>> [14188.582576] wlan0: RX AssocResp from 06:18:d6:57:8c:90 (capab=0x431 
>>> status=0 aid=2)
>>> [14188.593611] wlan0: associated
>>> [14188.641133] wlcore: Association completed.
>>> [25043.096569] hrtimer: interrupt took 136276 ns
>>> [30864.563462] mmcblk1: error -110 sending status command, retrying
>>> [30864.597101] mmcblk1: error -110 sending status command, retrying
>>> [30864.638167] mmcblk1: error -110 sending status command, aborting
>>> [30864.644451] blk_update_request: I/O error, dev mmcblk1, sector 3487760
>>> [30864.651172] blk_update_request: I/O error, dev mmcblk1, sector 3487768
>>> [30864.657840] blk_update_request: I/O error, dev mmcblk1, sector 3487776
>>> [30864.664510] blk_update_request: I/O error, dev mmcblk1, sector 3487784
>>> [30864.671146] blk_update_request: I/O error, dev mmcblk1, sector 3487792
>>> [30864.677767] blk_update_request: I/O error, dev mmcblk1, sector 3487800
>>> [30864.684382] blk_update_request: I/O error, dev mmcblk1, sector 3487808
>>> [30864.690996] blk_update_request: I/O error, dev mmcblk1, sector 3487816
>>> [30864.697652] blk_update_request: I/O error, dev mmcblk1, sector 3487824
>>> [30864.708291] Aborting journal on device mmcblk1p1-8.
>>> [30864.769510] mmcblk1: error -110 sending status command, retrying
>>> [30864.817684] mmcblk1: error -110 sending status command, retrying
>>> [30864.865245] mmcblk1: error -110 sending status command, aborting
>>> [30864.871498] blk_update_request: I/O error, dev mmcblk1, sector 8192
>>> [30864.877900] Buffer I/O error on dev mmcblk1p1, logical block 0, lost 
>>> sync page write
>>> [30864.886607] EXT4-fs error (device mmcblk1p1): 
>>> ext4_journal_check_start:56: Detected aborted journal
>>> [30864.895940] EXT4-fs (mmcblk1p1): Remounting filesystem read-only
>>> [30864.902042] EXT4-fs (mmcblk1p1): previous I/O error to superblock 
>>> detected
>>> [30865.101035] mmcblk1: error -110 sending status command, retrying
>>> [30865.115710] mmcblk1: error -110 sending status command, retrying
>>>
>>>
>>> And here are the last few lines of /var/log/syslog
>>>
>>>
>>> Aug  4 20:37:33 beaglebone connmand[794]: ntp: time slew -0.003904 s
>>> Aug  4

Re: [beagleboard] I2S interface on BBB

2018-03-08 Thread Graham
>>>  2, Can I change MCLK frequences to 12 MHz while frame rate is 44,1 Khz?

Do you really mean 12 MHz? or 24 MHz?

Normally systems running 44.1 kHz frame rates use an MCLK of 
44.1 kHz *  256 = 11.2896 MHz, or,44.1 kHz *  512 =  22.5792 MHz

--- Graham

==


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/179855ee-0aa1-43e5-8198-301a3c5e8c5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Can I get some help with getting started with the pocket beagle

2018-03-08 Thread Tony Giaccone
This was exactly the problem. Once I removed the horndis all was good. 


Thank you.


On Thursday, March 8, 2018 at 9:20:14 AM UTC-5, RobertCNelson wrote:
>
> On Thu, Mar 8, 2018 at 6:35 AM, Tony Giaccone  > wrote: 
> > I thought I posted here once before but I don't see the posting or any 
> > replies so if this is a dup my apologies. 
> > 
> > I'm trying to set up a pocket beagle with my Mac and I can't seem to get 
> USB 
> > networking up. 
> > 
> > When I connect the device to my mac is shows up on the networking tab as 
> > BeagleBone, and BeagleBone2. And I can ssh into the dvice. However as 
> soon 
> > as I turn on network sharing everything blows up. The devices go from 
> being 
> > useable network entries to one being "red" and the other going to a self 
> > assigned IP address.  The ssh connection is broken and the only recovery 
> is 
> > to turn off shared networking and disconnect the cable and then 
> reconnect 
> > it. 
> > 
> > I've made atempts on the board side to set up a default route.  And 
> enable 
> > dhcp, which actually seems to be running already. If I try to ping from 
> the 
> > pocket to the outside world it either fails to work or I get network 
> > unavailable. 
> > 
> > The mac is a macbook pro running sierra.  Any additional suggestions 
> would 
> > be greatly appreciated. 
>
> Uninstall the horndis driver. The reason you are seeing two 
> interfaces, we have rndis for windows, and a cdc interface for mac. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f99d08a1-f156-40bc-9b79-cecfa5e10537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Custom Board doesnt run with Angström Image

2018-03-08 Thread 'Eric Schm.' via BeagleBoard
I tried to build my own MLO and uboot.img with this commands:
- make CROSS_COMPILE=arm-linux-gnueabihf- distclean
- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 
am335x_boneblack_defconfig
- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4

I suppose that I have to build a custom MLO and uboot.img and put it on the 
boot partition. But after flashing the Debian Image9.3 I cant find a boot 
partition. And the only MLO and uboot.img I could find was under 
/opt/backup/uboot/
Could someone give an advise how I could boot the uboot?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ab7bd26b-5d31-4146-ada8-2438d939993c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.