Re: [beagleboard] BeagleBone Black: eMMC reads back Erroneous, Changing Data

2019-09-24 Thread Yiling Cao
gleBoard" 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/fea7bb5c-f39f-458e-a359-8752f8b6c143%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/fea7bb5c-f39f-458e-a359-8752f8b6c143%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Yiling Cao
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/CAMMUdpJVgAGrJGe3Lwu%3DLBpe5sqRqcyBjYK%2BYHrLSfspRij9Ug%40mail.gmail.com.


Re: [beagleboard] Prevent OS damage

2019-08-29 Thread Yiling Cao
or you can use buildroot with read-only fs.

but ultimately we have made one 18650 lithium battery-backed UPS.

when power is out, gracefully shutdown and when power is good, start the
am335x. giving us peace of mind.

On Fri, Aug 30, 2019 at 4:23 AM Robert Nelson 
wrote:

> On Thu, Aug 29, 2019 at 2:23 PM  wrote:
> >
> > Dear sirs,
> >
> > We are working in a new project with a beaglebone black as main control
> system.
> >
> > Our first difficult is wich OS or software arquitecture used to prevent
> system corruption for multiple "not controlled shutdowns" (the system will
> work inside a machine and the way to turn it off is cut electrical source)
> Battery backup system is not a valid choice for us.
> > RAM OS? More ideas?
> >
>
> Yeah use a little pacakge called "overlayroot" newer image have it
> installed by default..
>
> If you dont:
>
> sudo apt update
> sudo apt install overlayroot
>
> Then make sure to regenerate the initrd..
>
> sudo update-initramfs -uk `uname -r`
>
> Then in /boot/uEnv.txt append this variable to your existing cmdline
> settings.
>
> cmdline=(existing settings) overlayroot=tmpfs
>
> Then reboot, your system is now "Read Only"..
>
>
> So Beyond that, what's really really nice about overlayroot, you can
> login and actually write stuff to the drive by doing:
>
> sudo overlayroot-chroot
>
> 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/CAOCHtYjEhoi2Xc0oe23WnhHjmNox1%3DZSp%3DAvU5pnj85tbQvxMg%40mail.gmail.com
> .
>


-- 
Yiling Cao
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/CAMMUdp%2BK7RbJg_BesowOb9UL-g%2B4zhCpOmLj3YUA-VAf%2BRTi%2BA%40mail.gmail.com.


Re: [beagleboard] No I2S signals from the BeagleBone Black

2019-08-18 Thread Yiling Cao
Which image are you using? if you can find its kernel source?

On Mon, Aug 19, 2019 at 1:35 PM Vinay Divakar 
wrote:

> Hi,
>
> Thanks for the links.
>
> When I check the /lib/firmware directory I don't see any .dtbo for
> am335x-evm. So to start with,  I believe I have to find the am335x-evm.dts,
> compile it using dtc and put the .dtbo into the /lib/firmware. And then add
> it to the uEnv.txt boot file. Is my understanding correct?
>
> And where can I get the .dts source with the patch shared in your link? I
> did a google search to find the source and found this
> <https://github.com/opennetworklinux/linux-3.8.13/blob/master/arch/arm/boot/dts/am335x-evm.dts>,
> which I think is not the right one.
>
> If not, please guide me on where to go from here.
>
> Kind Regards
> *Vinay Divakar*
> Firmware Engineer at Adroit, New Zealand
> LinkedIn <http://www.linkedin.com/in/vinaydivakar> | Website
> <https://deeplyembedded.org/> | Github
> <https://github.com/deeplyembeddedWP> | Freelance
> <https://www.freelancer.in/u/deeplyembedded>
>
> On Mon, 19 Aug 2019 at 14:53, Yiling Cao  wrote:
>
>> sure, you can have a look at this diff, I found by googling:
>>
>>
>> https://github.com/qdk0901/openwrt-mt7620/blob/master/target/linux/omap/patches-3.12/410-ARM-dts-am335x-evm-Add-audio-support-for-am335x-evm.patch
>>
>> and some guide:
>>
>> http://processors.wiki.ti.com/index.php/AM335x_Audio_Driver%27s_Guide
>>
>> On Thu, Aug 15, 2019 at 4:22 PM Vinay Divakar 
>> wrote:
>>
>>> How do I make a device in the kernel? Could you please shed some light?
>>>
>>> When you say"I2S and I2C are correctly connected", do you mean that I
>>> need to have the audio codec chip connected to these lines in order for the
>>> I2S to work? Can't I just pump out I2S signals by playing some wav file and
>>> capture it via the logic analyzer?.
>>>
>>> Kind Regards
>>> *Vinay Divakar*
>>> Firmware Engineer at Adroit, New Zealand
>>> LinkedIn <http://www.linkedin.com/in/vinaydivakar> | Website
>>> <https://deeplyembedded.org/> | Github
>>> <https://github.com/deeplyembeddedWP> | Freelance
>>> <https://www.freelancer.in/u/deeplyembedded>
>>>
>>> On Wed, 14 Aug 2019 at 21:02, Yiling Cao  wrote:
>>>
>>>> You need to make a device in the kernel, to initialize/register the
>>>> audio codec, given I2S and I2C are correctly connected.
>>>>
>>>> On Wed, Aug 14, 2019 at 2:03 PM Vinay Divakar <
>>>> vinaydivakar1...@gmail.com> wrote:
>>>>
>>>>> I am using BeagleBone Green. I don't have anything connected to the
>>>>> i2s signals except for the logic analyzer.
>>>>>
>>>>> Nope, haven't modified the kernel. Using the same one got from the IoT
>>>>> Debian Flasher image from the latest image on beagleboard.org.
>>>>>
>>>>> Kind Regards
>>>>> *Vinay Divakar*
>>>>> Firmware Engineer at Adroit, New Zealand
>>>>> LinkedIn <http://www.linkedin.com/in/vinaydivakar> | Website
>>>>> <https://deeplyembedded.org/> | Github
>>>>> <https://github.com/deeplyembeddedWP> | Freelance
>>>>> <https://www.freelancer.in/u/deeplyembedded>
>>>>>
>>>>> On Wed, 14 Aug 2019 at 17:49, Yiling Cao  wrote:
>>>>>
>>>>>> can you send us the audio part of schematics?
>>>>>>
>>>>>> have you modified kernel? 2018-oct-5 says kernel not modified.
>>>>>>
>>>>>> On Wed, Aug 14, 2019 at 12:16 AM  wrote:
>>>>>>
>>>>>>>
>>>>>>> I am unable to get the I2S signals from the beaglebone. Below are
>>>>>>> the things I did.
>>>>>>>
>>>>>>>1. I first disabled the HDMI audio as described here
>>>>>>><https://github.com/beagleboard/linux/issues/101>.
>>>>>>>2. I am using the P9.31 (SCLK), P9.28 (Data0) and P9.29(FSX/WS).
>>>>>>>Running sudo /opt/scripts/tools/version.sh gives the following.
>>>>>>>
>>>>>>> debian@beaglebone:/boot$ sudo /opt/scripts/tools/version.sh
>>>>>>> [sudo] password for debian:
>>>>>>> git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
>>>>>>> eeprom:[A335BN

Re: [beagleboard] No I2S signals from the BeagleBone Black

2019-08-18 Thread Yiling Cao
sure, you can have a look at this diff, I found by googling:

https://github.com/qdk0901/openwrt-mt7620/blob/master/target/linux/omap/patches-3.12/410-ARM-dts-am335x-evm-Add-audio-support-for-am335x-evm.patch

and some guide:

http://processors.wiki.ti.com/index.php/AM335x_Audio_Driver%27s_Guide

On Thu, Aug 15, 2019 at 4:22 PM Vinay Divakar 
wrote:

> How do I make a device in the kernel? Could you please shed some light?
>
> When you say"I2S and I2C are correctly connected", do you mean that I need
> to have the audio codec chip connected to these lines in order for the I2S
> to work? Can't I just pump out I2S signals by playing some wav file and
> capture it via the logic analyzer?.
>
> Kind Regards
> *Vinay Divakar*
> Firmware Engineer at Adroit, New Zealand
> LinkedIn <http://www.linkedin.com/in/vinaydivakar> | Website
> <https://deeplyembedded.org/> | Github
> <https://github.com/deeplyembeddedWP> | Freelance
> <https://www.freelancer.in/u/deeplyembedded>
>
> On Wed, 14 Aug 2019 at 21:02, Yiling Cao  wrote:
>
>> You need to make a device in the kernel, to initialize/register the audio
>> codec, given I2S and I2C are correctly connected.
>>
>> On Wed, Aug 14, 2019 at 2:03 PM Vinay Divakar 
>> wrote:
>>
>>> I am using BeagleBone Green. I don't have anything connected to the i2s
>>> signals except for the logic analyzer.
>>>
>>> Nope, haven't modified the kernel. Using the same one got from the IoT
>>> Debian Flasher image from the latest image on beagleboard.org.
>>>
>>> Kind Regards
>>> *Vinay Divakar*
>>> Firmware Engineer at Adroit, New Zealand
>>> LinkedIn <http://www.linkedin.com/in/vinaydivakar> | Website
>>> <https://deeplyembedded.org/> | Github
>>> <https://github.com/deeplyembeddedWP> | Freelance
>>> <https://www.freelancer.in/u/deeplyembedded>
>>>
>>> On Wed, 14 Aug 2019 at 17:49, Yiling Cao  wrote:
>>>
>>>> can you send us the audio part of schematics?
>>>>
>>>> have you modified kernel? 2018-oct-5 says kernel not modified.
>>>>
>>>> On Wed, Aug 14, 2019 at 12:16 AM  wrote:
>>>>
>>>>>
>>>>> I am unable to get the I2S signals from the beaglebone. Below are the
>>>>> things I did.
>>>>>
>>>>>1. I first disabled the HDMI audio as described here
>>>>><https://github.com/beagleboard/linux/issues/101>.
>>>>>2. I am using the P9.31 (SCLK), P9.28 (Data0) and P9.29(FSX/WS).
>>>>>Running sudo /opt/scripts/tools/version.sh gives the following.
>>>>>
>>>>> debian@beaglebone:/boot$ sudo /opt/scripts/tools/version.sh
>>>>> [sudo] password for debian:
>>>>> git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
>>>>> eeprom:[A335BNLT00C02315BBBK4ACD]
>>>>> model:[TI_AM335x_BeagleBone_Black]
>>>>> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
>>>>> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
>>>>> 2018.09-2-g0b54a51eee]:[location: dd MBR]
>>>>> kernel:[4.14.71-ti-r80]
>>>>> nodejs:[v6.14.4]
>>>>> uboot_overlay_options:[enable_uboot_overlays=1]
>>>>> uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/BB-BONE-AUDI-02.dtbo]
>>>>> uboot_overlay_options:[disable_uboot_overlay_audio=1]
>>>>> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
>>>>> uboot_overlay_options:[enable_uboot_cape_universal=1]
>>>>> pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
>>>>> ]
>>>>> pkg:[bb-cape-overlays]:[4.4.20180928.0-0rcnee0~stretch+20180928]
>>>>> pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
>>>>> pkg:[kmod]:[23-2rcnee1~stretch+20171005]
>>>>> pkg:[librobotcontrol]:[1.0.3-git20181005.0-0rcnee0~stretch+20181005]
>>>>> pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
>>>>> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
>>>>> plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm 
>>>>> eqep admin spi tisdk weston-launch xenomai]
>>>>> cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
>>>>> root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
>>>>> net.ifnames=0 quiet]
>>>>> dm

Re: [beagleboard] No I2S signals from the BeagleBone Black

2019-08-14 Thread Yiling Cao
You need to make a device in the kernel, to initialize/register the audio
codec, given I2S and I2C are correctly connected.

On Wed, Aug 14, 2019 at 2:03 PM Vinay Divakar 
wrote:

> I am using BeagleBone Green. I don't have anything connected to the i2s
> signals except for the logic analyzer.
>
> Nope, haven't modified the kernel. Using the same one got from the IoT
> Debian Flasher image from the latest image on beagleboard.org.
>
> Kind Regards
> *Vinay Divakar*
> Firmware Engineer at Adroit, New Zealand
> LinkedIn <http://www.linkedin.com/in/vinaydivakar> | Website
> <https://deeplyembedded.org/> | Github
> <https://github.com/deeplyembeddedWP> | Freelance
> <https://www.freelancer.in/u/deeplyembedded>
>
> On Wed, 14 Aug 2019 at 17:49, Yiling Cao  wrote:
>
>> can you send us the audio part of schematics?
>>
>> have you modified kernel? 2018-oct-5 says kernel not modified.
>>
>> On Wed, Aug 14, 2019 at 12:16 AM  wrote:
>>
>>>
>>> I am unable to get the I2S signals from the beaglebone. Below are the
>>> things I did.
>>>
>>>1. I first disabled the HDMI audio as described here
>>><https://github.com/beagleboard/linux/issues/101>.
>>>2. I am using the P9.31 (SCLK), P9.28 (Data0) and P9.29(FSX/WS).
>>>Running sudo /opt/scripts/tools/version.sh gives the following.
>>>
>>> debian@beaglebone:/boot$ sudo /opt/scripts/tools/version.sh
>>> [sudo] password for debian:
>>> git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
>>> eeprom:[A335BNLT00C02315BBBK4ACD]
>>> model:[TI_AM335x_BeagleBone_Black]
>>> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
>>> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
>>> 2018.09-2-g0b54a51eee]:[location: dd MBR]
>>> kernel:[4.14.71-ti-r80]
>>> nodejs:[v6.14.4]
>>> uboot_overlay_options:[enable_uboot_overlays=1]
>>> uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/BB-BONE-AUDI-02.dtbo]
>>> uboot_overlay_options:[disable_uboot_overlay_audio=1]
>>> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
>>> uboot_overlay_options:[enable_uboot_cape_universal=1]
>>> pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
>>> ]
>>> pkg:[bb-cape-overlays]:[4.4.20180928.0-0rcnee0~stretch+20180928]
>>> pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
>>> pkg:[kmod]:[23-2rcnee1~stretch+20171005]
>>> pkg:[librobotcontrol]:[1.0.3-git20181005.0-0rcnee0~stretch+20181005]
>>> pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
>>> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
>>> plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep 
>>> admin spi tisdk weston-launch xenomai]
>>> cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
>>> root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
>>> net.ifnames=0 quiet]
>>> dmesg | grep pinctrl-single
>>> [1.107553] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 
>>> 568
>>> dmesg | grep gpio-of-helper
>>> [1.119437] gpio-of-helper ocp:cape-universal: ready
>>> END
>>>
>>>
>>>1. Running perl /opt/scripts/device/bone/show-pins.pl gives the
>>>following.
>>>
>>> debian@beaglebone:/boot$ perl /opt/scripts/device/bone/show-pins.pl
>>> P8.25 / eMMC d00  U7 fast rx  up  1 mmc 1 d0 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.24 / eMMC d11  V7 fast rx  up  1 mmc 1 d1 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.05 / eMMC d22  R8 fast rx  up  1 mmc 1 d2 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.06 / eMMC d33  T8 fast rx  up  1 mmc 1 d3 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.23 / eMMC d44  U8 fast rx  up  1 mmc 1 d4 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.22 / eMMC d55  V8 fast rx  up  1 mmc 1 d5 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.03 / eMMC d66  R9 fast rx  up  1 mmc 1 d6 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.04 / eMMC d77  T9 fast rx  up  1 mmc 1 d7 
>>> mmc@481d8000 (pinmux_emmc_pins)
>>> P8.19  8 U10 fast rx down 7 gpio 0.22
>>> ocp/P8_19_p

Re: [beagleboard] No I2S signals from the BeagleBone Black

2019-08-13 Thread Yiling Cao
(pinmux_P9_31_default_pin)
> P9.29 / hdmi audio fs101 B13 fast rx down 7 gpio 3.15
> ocp/P9_29_pinmux (pinmux_P9_29_default_pin)
> P9.30102 D12 fast rx down 7 gpio 3.16
> ocp/P9_30_pinmux (pinmux_P9_30_default_pin)
> P9.28 / hdmi audio data  103 C12 fast rx down 7 gpio 3.17
> ocp/P9_28_pinmux (pinmux_P9_28_default_pin)
> P9.42b   104 B12 fast rx down 7 gpio 3.18
> ocp/P9_92_pinmux (pinmux_P9_92_default_pin)
> P9.27105 C13 fast rx down 7 gpio 3.19
> ocp/P9_27_pinmux (pinmux_P9_27_default_pin)
> P9.41106 D13 fast rx down 7 gpio 3.20
> ocp/P9_91_pinmux (pinmux_P9_91_default_pin)
> P9.25 / audio osc107 A14 fast rx down 7 gpio 3.21
> ocp/P9_25_pinmux (pinmux_P9_25_default_pin)
> P9.41 / jtag emu3109 D14 fast rx down 7 gpio 0.20
> ocp/P9_41_pinmux (pinmux_P9_41_default_pin)
>
>
>1. I have hooked my beaglebone's i2s signals to a logic analyzer and
>use aplay to play a .wav file as shown below.
>
> debian@beaglebone:~/UnoExampleTracks$ aplay 001_Sweeper.wav
>
> When I try playing the track, I get the following errors and no signals on
> the i2s bus:
>
> debian@beaglebone:~/UnoExampleTracks$ aplay 001_Sweeper.wav
> ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
> ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver 
> returned error: No such file or directory
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned 
> error: No such file or directory
> ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned 
> error: No such file or directory
> ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or 
> directory
> ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
> aplay: main:788: audio open error: No such file or directory
>
> Below is the kernel version I am using:
>
> debian@beaglebone:~/UnoExampleTracks$ uname -a
> Linux beaglebone 4.14.71-ti-r80 #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018 
> armv7l GNU/Linux
>
> Also, when I run aplay -l, I get the following:
>
> debian@beaglebone:~/UnoExampleTracks$ aplay -l
> aplay: device_list:270: no soundcards found...
>
>
> My intent is to connect a pcm5102 DAC module to the i2s lines and go from
> there. Before moving to the pcm5102, I decided it would be a good idea to
> first get the i2s bus up and running. Could someone please provide insights
> o what I may be doing wrong.
>
> --
> 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/76a210cd-bb53-451f-8234-1cb3ebaa87e1%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/76a210cd-bb53-451f-8234-1cb3ebaa87e1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Yiling Cao
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/CAMMUdpJ-OLtRnBm-OjiPwu8hNN5m8wSZt-ugoZ0tySdEirvbOA%40mail.gmail.com.


Re: [beagleboard] ENC28j60 connection

2019-03-24 Thread Yiling Cao
can't give you a comprehensive tutorial here. your can google spidev stuff,
have a look how other's git diff have done it  (DTS or board file diff).
read: http://linux-sunxi.org/SPIdev

BTW Can't you use a usb ethernet?

On Fri, Mar 22, 2019 at 5:26 PM  wrote:

> Hello,
> I want to interface ENC28j60 ethernet module with beaglebone green. Is
> there any user level library or example for it?
> I have worked with SPI on linux before, while googling I found  driver for
> the same
> https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/microchip/enc28j60.c
> but I don't have any idea about how to use it,can you please guide me
> through this?or is there any other way to do the same?any userlevel library
> reference,which will not make me to do changes in kernel module.I am
> looking for c references.
> following are the details of my beaglebone
>
> cat /etc/dogtag
> BeagleBoard.org Debian Image 2018-10-07
> cat /etc/debian_version
> 9.7
> uname -a
> Linux beaglebone 4.14.71-ti-r80 #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018
> armv7l GNU/Linux
>
> any kind of help is highly appreciated
>
> Thanks & 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/db5ab55d-b3cb-4d44-bff2-70eb81b57b05%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/db5ab55d-b3cb-4d44-bff2-70eb81b57b05%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdpJGyGoeVjugXMcFqLrku_Me%3DzPb6DYviFa%3DcJAt8VzNgA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BeagleBone - eth0 not coming up automatically

2019-01-23 Thread Yiling Cao
no sure your init sequence, and your OS, if ifup works for you, just add it
to the init.d or systemd...

On Wed, Jan 23, 2019 at 9:09 PM  wrote:

>
>
> On Sunday, December 11, 2011 at 5:27:37 PM UTC+5:30, sjmelhuish wrote:
>>
>> My BeagleBone has hit a snag - eth0 is no longer being started
>> automatically at boot.
>>
>> If I log in through the serial console I can start it manually with
>> "ifup eth0"
>>
>> All I've changed is to opkg update/upgrade and added a couple of
>> packages
>>
>> Any idea what's upset the boot sequence? I have not changed /etc/
>> network/interfaces
>>
>> Thanks
>>
>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/87fdf131-031a-4fd4-bd8f-dd7401132a19%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/87fdf131-031a-4fd4-bd8f-dd7401132a19%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdp%2BiWaY1_Nkn81LhxteN%3D1DuueORd4OQoFY2xMFv54iMBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBB Clone change UART0 to UART4

2019-01-23 Thread Yiling Cao
code in uboot? uEnv.txt? kernel cmdline?

On Thu, Jan 24, 2019 at 3:10 PM Dave  wrote:

> The BBB Clone board I am trying to get working has had sufficient work
> that it is now trying to load Linux.
>
> I have u-boot patched to use UART4 as the console.  I have tried to make
> changes to pass UART4 to linux as the console, without success.
>
> I still get
>
> debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1
> root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M
> net.ifnames=0] ...
>
> from uboot on UART4 just before starting the kernel when I lose output
>
> Where is the console getting set to ttyO0 ?
>
>
>
>
>
>
>
>
> --
> 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/204cfe7f-c2ed-432d-ae33-1763ab214c46%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/204cfe7f-c2ed-432d-ae33-1763ab214c46%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdpJFG2Uiv_ywd1u3SyR%2Bt1jGCkyAZ4pbv7N%3DnJc60XS0-g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: boot from eMMC while sd card inserted

2019-01-23 Thread Yiling Cao
You can hack the u-boot source code, basically detect how many
mmc interfaces you have found, and choose according to your needs.

On Mon, Jan 21, 2019 at 4:32 PM Tarmo Kuuse  wrote:

> Hi Markus,
>
> On Saturday, 19 January 2019 20:53:56 UTC+2, maram@googlemail.com
> wrote:
>>
>> Hallo,
>>
>> I would like to use the sd card as extended harddrive to keep data on it.
>> But, whenever I reboot the BBB (Debian 9) it will try to boot from sd card,
>> even if this is not marked as bootable. How to solve the problem?
>>
>> Kind regards
>> Markus
>>
>
> You haven't described how "try to boot" does not work for you. Does the SD
> boot succeed or does it fail, are there any error messages, etc.
>
> Do you have a bootable image on the eMMC? In my experience U-Boot is
> configured to attempt to boot from SD card whenever it finds anything
> bootable on it. This happens regardless of the state of the Boot button. I
> also suspect partition flags (bootable, non-bootable) are not honored.
>
> Anyway, I've re-partitioned and formatted my SD cards - after that my BB-s
> happily boot from eMMC.
>
> --
> Kind regards,
> Tarmo
>
> --
> 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/eda29260-4da7-405b-ac15-172645226651%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/eda29260-4da7-405b-ac15-172645226651%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdp%2Bisv4sAnQPWyROkUWA8Wwbz3e_4R8Qu6OQ9WO5K00E_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: How can I write custom image to eMMC ?

2019-01-15 Thread Yiling Cao
many ways, you can smt the emmc off the pcba, and soldering it back. lol


but you can also boot with SD, copy img into your rootfs, or wget it, then
use dd


*dd if=/path/to/your_image.img of=/dev/mmcblk0 bs=1M*

where mmcblk0 or 1 depending on your kernel.

On Wed, Jan 16, 2019 at 3:06 PM Mala Dies  wrote:

> Hello,
>
> I found a couple of sites that may interest you.
> https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black.
>
> Seth
>
> P.S. I know you already got the image you want. This may be a way out of
> not having to get new images. Enjoy.
>
> On Sunday, January 13, 2019 at 1:45:58 AM UTC-6, Talha Ayrancı wrote:
>>
>>
>> Hi,
>> I created a Linux System with Buildroot. And I want write this image to
>> Beaglebone Black's eMMC. I can write sdcard.img to a SD card and BBB is
>> running whit this card.
>>
>> How I can write this image to Beaglebone Black's eMMC?
>>
> --
> 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/7c4776fa-8625-4a9b-b6f8-8665cad54006%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/7c4776fa-8625-4a9b-b6f8-8665cad54006%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdpLJzXtuBnRGGiw4c63twzBCsA5_c43ehrWWEu_VuR%3DOiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] I need your help for my project

2019-01-06 Thread Yiling Cao
RT linux is just scheduler difference? more frequent switching?

if this is what you mean, you can still optimize to 5 sec.

On Fri, Jan 4, 2019 at 11:05 PM Talha Ayrancı  wrote:

> Thanks for answer.
>
> I don't want use Qt. Do you have information about FLTK?
>
> 4 Ocak 2019 Cuma 05:45:27 UTC+3 tarihinde c2h2 yazdı:
>>
>> I managed to make QT appear in 6 seconds, cold boot on 800mhz AM3352.
>>
>> Basically uboot 1 sec. kernel 2 sec. and init 2 sec and app.
>>
>> need to strip some drivers, verification and use init
>>
>> On Fri, Jan 4, 2019 at 4:14 AM Robert Nelson  wrote:
>>
>>> On Thu, Jan 3, 2019 at 2:07 PM Talha Ayranci  wrote:
>>> >
>>> > Hello everyone! Fİrst I am sorry for my bad English.
>>> > I want to make a project with Beaglebone Black. My project is a GUI
>>> app with Real-Time Kernel based Linux. And i want to run this app in 5 sec.
>>> For example : https://www.youtube.com/watch?v=vm3Gp9KEs1w
>>> >
>>> > I flashed a Debian image ( 1GB console image )
>>> > PREEMPT_RT applied and kernel is RT kernel. ( 4.14.79-ti-rt-r84 )
>>> > I deactivate some services for fast open.
>>> >
>>> > I want to develope a GUI app now. What should i do?
>>>
>>> For a 5 second bootup time, your going to have to do a lot of work..
>>>
>>> I'd first start with buildroot and make sure to use u-boot in falcon
>>> mode..
>>>
>>> https://git.buildroot.net/buildroot/
>>>
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/beagleboard/CAOCHtYihou7HKLPfiHwjrfzfr%2BjvAsT%3DACcFVvr4UQLHbB%2BdzA%40mail.gmail.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>> Yiling Cao
>> 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/1b64d877-3963-4b57-882b-8b83a68a5340%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/1b64d877-3963-4b57-882b-8b83a68a5340%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdpKTJey0RaKFNMDSFKzEouHpe6MfhSMj%2B7pXJVxk20HCeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] I need your help for my project

2019-01-03 Thread Yiling Cao
I managed to make QT appear in 6 seconds, cold boot on 800mhz AM3352.

Basically uboot 1 sec. kernel 2 sec. and init 2 sec and app.

need to strip some drivers, verification and use init

On Fri, Jan 4, 2019 at 4:14 AM Robert Nelson 
wrote:

> On Thu, Jan 3, 2019 at 2:07 PM Talha Ayranci 
> wrote:
> >
> > Hello everyone! Fİrst I am sorry for my bad English.
> > I want to make a project with Beaglebone Black. My project is a GUI app
> with Real-Time Kernel based Linux. And i want to run this app in 5 sec. For
> example : https://www.youtube.com/watch?v=vm3Gp9KEs1w
> >
> > I flashed a Debian image ( 1GB console image )
> > PREEMPT_RT applied and kernel is RT kernel. ( 4.14.79-ti-rt-r84 )
> > I deactivate some services for fast open.
> >
> > I want to develope a GUI app now. What should i do?
>
> For a 5 second bootup time, your going to have to do a lot of work..
>
> I'd first start with buildroot and make sure to use u-boot in falcon mode..
>
> https://git.buildroot.net/buildroot/
>
> 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/CAOCHtYihou7HKLPfiHwjrfzfr%2BjvAsT%3DACcFVvr4UQLHbB%2BdzA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdpKGiCG5c7aT8zs3fNf-PefH4rD2wJOhfkH%3DR7jpT3XWjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] UART0 garbage characters

2019-01-03 Thread Yiling Cao
correct UART rate and good ground connection?

On Thu, Jan 3, 2019 at 5:37 AM Sebastián Sáez  wrote:

> Hi everyone!
>
> after install the last linux image in the emmc I can't use the UART0
> anymore (screenshot attached )
>
> All other function are working, I can do SSH using the softAP interface.
>
> Any suggestions?
> I already tried deleting uboot in emmc without lucky
>
> This is my system:
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
>> git:/opt/scripts/:[0ca42da8c7e3d81e9cbab71b1e2b0fad00bf79ca]
>> eeprom:[A335BNLTGW1ABBGW16063691]
>> model:[TI_AM335x_BeagleBone_Green_Wireless]
>> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
>> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
>> 2018.09-2-g0b54a51eee]:[location: dd MBR]
>> kernel:[4.14.79-ti-r86]
>> nodejs:[v6.16.0]
>> uboot_overlay_options:[enable_uboot_overlays=1]
>>
>> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
>> uboot_overlay_options:[enable_uboot_cape_universal=1]
>> pkg check: to individually upgrade run: [sudo apt install --only-upgrade
>> ]
>> pkg:[bb-cape-overlays]:[4.4.20190102.0-0rcnee0~stretch+20190102]
>> pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
>> pkg:[kmod]:[23-2rcnee1~stretch+20171005]
>> pkg:[librobotcontrol]:[1.0.4-git20181227.0-0rcnee0~stretch+20181228]
>> pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
>> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video
>> plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep
>> admin spi tisdk weston-launch xenomai]
>> cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1
>> root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M
>> net.ifnames=0 quiet]
>> dmesg | grep pinctrl-single
>> [1.063909] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800
>> size 568
>> dmesg | grep gpio-of-helper
>> [1.075590] gpio-of-helper ocp:cape-universal: ready
>> END
>
>
>
> garbage characters
>
> [image: uart0.png]
>
> --
> 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/49ca35c1-8281-49f3-ba81-d1be214158b2%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/49ca35c1-8281-49f3-ba81-d1be214158b2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdpKhnYp%2B%2B8xQRySK8DbsAu_Y10Lkpu9ud2Y6Om7_1CkjWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Please help me

2019-01-03 Thread Yiling Cao
No, AM335x doesn't have an analog video input and hardware encoder by
itself. It can only handle network forwarding job.

also plz improve your title.

On Wed, Jan 2, 2019 at 8:45 PM ARASH FAHIM  wrote:

> HI
> I am a computer student
> I want to change analog video (PAL/NTSC) to mpeg 2 realtime and send
> output stream to another system
> Can I use BeagleBoard for this subject
>
> thank you for help me
>
> --
> 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/CALKJfmvCNsJ4WmaE9hrjVzy9FBSfpzhg3CPkTCT9O8wqw6kkqQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CALKJfmvCNsJ4WmaE9hrjVzy9FBSfpzhg3CPkTCT9O8wqw6kkqQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
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/CAMMUdpJYHfV%3D8PAdRE9ZnJEv745NZ53103BWUtLvnxBUqtBWYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] memory expansion

2018-12-10 Thread Yiling Cao
via spi interface? not sure if there is a cape, but surely other boards.

On Mon, Dec 10, 2018 at 12:11 AM Eran Gil  wrote:

> Hi,
>
>
>
> I’d like to use an expansion pcb for controlling external Nor/Nand Memory
> device.
>
> Is there any EVB that one can purchase?
>
>
>
> Thanks,
>
> Eran
>
> --
> 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/bd06b362f70eb4fb099c9a8a9ca2c196%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/bd06b362f70eb4fb099c9a8a9ca2c196%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
http://umine.io/ <http://umie.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/CAMMUdpLkVSLnGhunXC84z6JcDDBxf1-tzyuVhTkfv_RvO3YLMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] GPIO failed: No such file or directory

2018-11-03 Thread Yiling Cao
Have you turned off GPIO options in kernel settings?

This is the TI official guide (assuming you are running Linux):
http://processors.wiki.ti.com/index.php/Linux_PSP_GPIO_Driver_Guide

On Sat, Nov 3, 2018 at 6:48 PM not you  wrote:

> I keep running into this error when running a code after booting up.  The
> code write to certain GPIO under /sys/class/gpio.  It complains:
>
> No such file or directory
>
> I reset the BBB and run `ls` inside /sys/class/gpio.  Apparently, the
> selected GPIO's are not there.  After the aforementioned code is executed
> (and the same errors are thrown), I run `ls` again.  This time, the
> required GPIO's are there.  Could someone explain to me why they do not
> initially exist, and what makes them show up afterwards?  Thank you 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/aa24f687-2c91-40c6-a1b2-023660306104%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/aa24f687-2c91-40c6-a1b2-023660306104%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
http://umine.io/ <http://umie.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/CAMMUdpJCOGuZvk4vNdtwMykjSS8knzsxNcaSnJAZtZ15SrKFYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Custom board with AM335x PHY not found

2018-08-15 Thread Yiling Cao
hardware side: is your REFCLK connected to PHY and am335x? 25MHz clock can
be detected? and 2 PHY ADDR pins stable while mdio probing?

uboot toggle reset example can be found here:
https://github.com/c2h2/aria-uboot/blob/7504def7830aaf4e8478ad098d8eec1951d5ccb6/board/ti/am335x/board.c#L505

On Wed, Aug 15, 2018 at 4:27 AM Robert Nelson 
wrote:

> On Tue, Aug 14, 2018 at 3:24 PM  wrote:
> >
> > Hi Frank,
> >
> > Actually I am able to toggle GPIO now, but the GPIO is getting reset at
> Kernel. PHY reset is suppose to happen at startup on u-boot. How can I
> toggle GPIO at startup?
>
> No the dts file your tweaking would cause the phy reset to occur in
> the kernel startup..
>
> For u-boot, you need to modify the u-boot sources..
>
> 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/CAOCHtYgWnyZH9yk0XX6GYkuwotOGv9%3DX%2BTV3htmy%2BhQ7VtR6qw%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Yiling Cao
http://umine.io/ <http://umie.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/CAMMUdpL201Vy26bCNS1Q5MPS0_LKArSnUe6fYwo5jzHKLdwZDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] 4 GByte RAM?

2018-05-17 Thread Yiling Cao
It is a Micron 256M * 16bit DDR3 chip

On Thu, May 17, 2018 at 8:06 PM, Gerald Coley 
wrote:

> That is correct.
>
> Gerald
>
>
> -Original Message-
> From: 'Roger Quadros' via BeagleBoard [mailto:beagleboard@googlegroups.com]
>
> Sent: Thursday, May 17, 2018 7:05 AM
> To: beagleboard@googlegroups.com; Mike Maikaefer  >
> Subject: Re: [beagleboard] 4 GByte RAM?
>
> It probably is 4Gb (Gigabit) which means 512MB.
>
> --
> cheers,
> -roger
>
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
>
> On 17/05/18 13:19, Mike Maikaefer wrote:
> > No, when you check out the BOM or the schematic, you will find 4GB DDR3
> RAM (which is not the eMMC).
> >
> > On Thu, May 17, 2018 at 10:47 AM, Rick Mann  <mailto:rm...@latencyzero.com>> wrote:
> >
> > That's eMMC flash, not RAM. It's accessed like a disk.
> >
> > > On May 16, 2018, at 22:44 , mike.maikae...@gmail.com  mike.maikae...@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > according to the schematics there is a RAM-module with 4 GByte
> available on the BBB (and also on the BBG). Why are there only 512 MBytes
> available for the CPU - aren't enough address lines used? Or what else is
> the reason?
> > >
> > > Kind regards
> > >
> > > 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  beagleboard%2bunsubscr...@googlegroups.com>.
> > > To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/ebee7080-
> b740-42a2-a3ae-a23416241487%40googlegroups.com <
> https://groups.google.com/d/msgid/beagleboard/ebee7080-
> b740-42a2-a3ae-a23416241487%40googlegroups.com>.
> > > For more options, visit https://groups.google.com/d/optout <
> https://groups.google.com/d/optout>.
> >
> >
> > --
> > Rick Mann
> > rm...@latencyzero.com <mailto:rm...@latencyzero.com>
> >
> >
> > --
> > 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/hM3a_5_dsk8/unsubscribe <https://groups.google.com/d/
> topic/beagleboard/hM3a_5_dsk8/unsubscribe>.
> > To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com <mailto:beagleboard%
> 2bunsubscr...@googlegroups.com>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/D8F82C5D-
> 6936-400C-93FC-0A83412DCFF0%40latencyzero.com <
> https://groups.google.com/d/msgid/beagleboard/D8F82C5D-
> 6936-400C-93FC-0A83412DCFF0%40latencyzero.com>.
> > For more options, visit https://groups.google.com/d/optout <
> 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>.
> > To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/CAG%3DKTcn6Bf1GxhKbvoU1vg1er%2BvxK0JoExeOus-21cQQf138vA%
> 40mail.gmail.com <https://groups.google.com/d/msgid/beagleboard/CAG%
> 3DKTcn6Bf1GxhKbvoU1vg1er%2BvxK0JoExeOus-21cQQf138vA%
> 40mail.gmail.com?utm_medium=email&utm_source=footer>.
> > 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/459f

Re: [beagleboard] Re: How to Autorun application at the start up in BeagleBone

2018-04-14 Thread Yiling Cao
crontab log can be specified if your /etc/rc.local is not existent or
executed.

https://stackoverflow.com/questions/4883069/debugging-crontab-jobs

depend on you linux distro also have a look like /etc/init.d/



On Sat, Apr 14, 2018 at 1:18 AM, Przemek Klosowski <
przemek.klosow...@gmail.com> wrote:

> On Fri, Apr 13, 2018 at 9:07 AM,   wrote:
> >
> > /etc/rc.local directory not available
> It's a file, not a directory. Just try it:
>
> echo touch /tmp/testRClocal > /etc/rc.local
>
> and reboot the system. You should see the newly created file
> /tmp/testRClocal when you login into the running system.
>
>
> > also write script file in rc5d ,rc3.d directory but not working.
> What did you write into those files? which OS version are you running?
> Need more detail to help you.
> Most new systems use systemd rather than the old SysV /etc/rc* files,
> so this may not work (but /etc/rc.local is actually emulated by
> systemd so that should be OK).
>
> --
> 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/CAC%3D1GgEPWy9Nd%2BffMy%2BMr5917de%3DrYgRdR2%
> 3D8LYRzcnY%2BP%2BUSQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
http://umine.io/ <http://umie.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/CAMMUdpKuYiP6h%3Dg4bK8C4Hy0eg7RtJN9oU2ZQQEZLNxV28rgZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBB with MT41K256M16TW-107 uboot issue

2018-03-15 Thread Yiling Cao
Have you changed ddr timing settings? follow the manual and change the
timing.

http://processors.wiki.ti.com/index.php/AM335x_EMIF_Configuration_tips

http://processors.wiki.ti.com/index.php/AM335x_DDR_PHY_register_configuration_for_DDR3_using_Software_Leveling

+ your DDR spec sheet.

On Thu, Mar 15, 2018 at 4:53 PM, 'Eric Schm.' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Hello everyone,
>
> I have a custom board similar to the beaglebone Black but without eMMC and
> without HDMI and I replaced the Kingston DDR with Micron MT41K256M16TW-107.
> I use the uboot version 2017.11 and create the uboot with the following
> commands:
>
> - make CROSS_COMPILE=arm-linux-gnueabihf- distclean
> - make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
> am335x_boneblack_defconfig
> - make CROSS_COMPILE=arm-linux-gnueabihf- -j4
>
> I've tried to bring up the board and calculate the DDR values and add them
> to the ddr_defs.h. After enter "#define DEBUG" to the file
> ti_am335x_common.h, I see that the bootup stops at the DDR. Here a output
> from the booting and where it stops.
>
> ...
> I2C:   omap24_i2c_findpsc: speed [kHz]: 100 psc: 0xb sscl: 0xd ssch: 0xf
> ready
> initcall: 8080ce1d
> DRAM:  initcall: 80801f79
> initcall: 8080cbf7
> initcall: 8080cbf7
> initcall: 8080cbf7
> initcall: 8080cf19
> Monitor len: 000BA7E8
> Ram size: 2000
> Ram top: A000
> initcall: 8080cbd1
> initcall: 8080cc01
> TLB table from 9fff to 9fff4000
> initcall: 8080cbe5
> initcall: 8080ce7f
> initcall: 8080ccfd
> Reserving 745k for U-Boot at: 9ff35000
> initcall: 8080ccd5
> Reserving 32896k for malloc() at: 9df15000
> initcall: 8080cde5
> Reserving 80 Bytes for Board Info at: 9df14fb0
> initcall: 8080cbe9
> initcall: 8080ccad
> Reserving 216 Bytes for Global Data at: 9df14ed8
> initcall: 8080cc5d
> initcall: 8080ce83
> initcall: 8080ce8f
> initcall: 8080cf75
> initcall: 80801f8f
> initcall: 8080cea5
>
> RAM Configuration:
> Bank #0: 8000 512 MiB
>
> DRAM:  512 MiB
> initcall: 8080cc49
> New Stack Pointer is: 9df14eb0
> initcall: 8080cbf7
> initcall: 8080cdb9
> initcall: 8080ce87
> initcall: 8080cd61
> Relocation Offset is: 1f735000
> Relocating to 9ff35000, new gd at 9df14ed8, sp at 9df14eb0
> initcall: 9ff41fb5
> initcall: 9ff41fb9
> initcall: 8080d0e1 (relocated to 9ff420e1)
> dram_bank_mmu_setup: bank: 0
> initcall: 8080d0b9%(relocated to 9ff420b9)
> efi_runtime_relocate: Relocating to offset=9ff35000
> ...
>
> Has someone an idea what I forget to modify?
> I've also tried to bring up the board with an old angström image. There it
> stops in the bootup of angström. Therefore I think that it has to be a
> wrong configuration in the software/uboot.
> Thank you for your help.
>
> Best regards
> eric
>
>
>
>
> --
> 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/f1a27310-586b-4cd6-8535-e601d581d1a0%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/f1a27310-586b-4cd6-8535-e601d581d1a0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
http://umine.io/ <http://umie.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/CAMMUdpK3vRdDWvBsp88oktO05n%3DpT172yQC1KFBCOPUZTEvK9Q%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://umie.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.


Re: [beagleboard] CCCC and beagle can not boot?

2017-08-18 Thread Yiling Cao
 means no content in SD CARD and trying uart boot I think*

U have a correct SD card? and is it a BBB or BB White?

On Sat, Aug 19, 2017 at 11:57 AM, Riko  wrote:

> Dear Beagleboard Members,
>
> I got CCC and keep going, and beagle can not boot at all,
>
> how can I fix it ?
>
> Thanks
>
> --
> /*
> Sent By
> Ubuntu 16.04 LTS
> Kernel 4.4.0-92-generic
> Regards,
> Riko H
> */
>
> --
> 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/ms
> gid/beagleboard/d88a1e85-5585-9b55-a38a-179e04b684fb%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
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/CAMMUdp%2BS4xwoN-D%2BucJjMSa5UE%2BC1owqfrHP-Mk0UgrB5iuhhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: 'apt-get update' error

2017-04-25 Thread Yiling Cao
what's the `date` on the board?

On Tue, Apr 25, 2017 at 9:20 PM, Graham  wrote:

> You did not say which version of wheezy (Debian 7) he is running.
> The last stable release of Debian 7 was 2015.
> Maybe he should consider upgrading to Debian 8. (jessie)
> Debian 8.7 is the most recent stable release.
>
> --- Graham
>
> ==
>
> On Tuesday, April 25, 2017 at 5:03:47 AM UTC-5, Chris Green wrote:
>>
>> A friend is trying to 'apt-get update' his BBB running wheezy:-
>>
>> root@beaglebone:~# apt-get update
>> Get:1 http://security.debian.org wheezy/updates Release.gpg [1554 B]
>> Get:2 http://security.debian.org wheezy/updates Release [39.0 kB]
>> Get:3 http://ftp.us.debian.org wheezy Release.gpg [2373 B]
>> Get:4 http://debian.beagleboard.org wheezy-bbb Release.gpg [490 B]
>> Get:5 http://ftp.us.debian.org wheezy-updates Release.gpg [1554 B]
>> Get:6 http://debian.beagleboard.org wheezy-bbb Release [3403 B]
>> W: There is no public key available for the following key IDs:
>> 9D6D8F6BC857C906
>> E: Release file for
>> http://security.debian.org/dists/wheezy/updates/Release is expired
>> (invalid since 1086d 21h 50min 48s). Updates for this repository will
>> not be applied.
>> root@beaglebone:~#
>>
>> So, what should he do?
>>
>> --
>> 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/02afd7b3-2b5c-4599-8c90-454697d78d01%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/02afd7b3-2b5c-4599-8c90-454697d78d01%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
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/CAMMUdpLk1AYZK70WTUjU%3DgS8mLPYL5QNF_WfuL6e0CxTxmJpVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: 802.11s mesh networking with Beaglebone Black

2017-04-18 Thread Yiling Cao
Hi Utku,

very interesting project, have you tried to use mesh supported wifi
adapters?

for the kernel, you will need kernel + modules + firmware all installed.



On Tue, Apr 18, 2017 at 1:40 PM, Ying-Ju Chen  wrote:

> I'm trying to get 802.11s mesh networking running on the "beaglebone green
> wireless (AM335x)" by the step on WL18xx System Build Scripts (
> processors.wiki.ti.com/.../WL18xx_System_Build_Scripts).
> <http://processors.wiki.ti.com/index.php/WL18xx_System_Build_Scripts).>
>
> I will use the 802.11s on "beaglebone green wireless (AM335x)". But I
> tried the steps on the desktop pc (64 bits) with Ubuntu 14.04.5 LTS. Kernel
> version is 4.4.0-72-generic
>
> 1. First, I downloaded "ti-processor-sdk-linux-am335x-evm-03.02.00.05" to
> follow the setting steps in the webside, but it didn't work.
>
> *After   "./build_wl18xx.sh update R8.7"*, the console appeared "your
> kernel headers are incompletee/not installed" . (Please refer the next
> picture.)
>
> I tried to use the command "*apt-get install build-essential
> linux-headers-$(uname -r)* ", but it did not work.
>
>
> <https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/354/0383.1.jpg>
>
>
>
> 2. Then I download "ti-sdk-am335x-evm-07.00.00.00-Linux-x86" to follow
> the setting steps.
>
> *After   "./build_wl18xx.sh update R8.7"*, the console appeared
>
> "Kernel configuration is invalid. include/generated/autoconf.h or
> include/config/auto.conf are missing."(Please refer the next picture.)
>
> I tried to use the command " sudo apt-get install autoconf", but it did
> not work.
>
>
> <https://www.google.com/url?q=https%3A%2F%2Fe2e.ti.com%2Fcfs-file%2F__key%2Fcommunityserver-discussions-components-files%2F354%2F2450.2.jpg&sa=D&sntz=1&usg=AFQjCNHKAXjDDP3lJXSlVsrnG_pEaIVlPw>
>
> Should I use "ti-processor-sdk-linux-am335x-evm-03.02.00.05" or
> "ti-sdk-am335x-evm-07.00.00.00-Linux-x86"?
>
> And how can I fix the problems to get 802.11s mesh networking running on
> the "beaglebone green wireless (AM335x)" ?
>
> --
> 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/0ca054a2-f8d3-4913-b301-a52f7d8c0082%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/0ca054a2-f8d3-4913-b301-a52f7d8c0082%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
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/CAMMUdpLsQiBc%2B4jJFSmE1rHGfqAyvMLbFDkHcfeZzwJKCfS4OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Black won't boot sometimes

2017-01-26 Thread Yiling Cao
If you still want to use the same pins, you can create an extra enable pin,
after everything boots up into the kernel, use gpio_request and gpio_output
to enable to the (EN pin) of power supply of your motor.

In this way you prevent SYSBOOT affected and other voltage flows in, to
affect power up sequence.

On Fri, Jan 27, 2017 at 7:44 AM, Justin Pearson 
wrote:

> On Thursday, January 26, 2017 at 12:34:54 PM UTC-8, RobertCNelson wrote:
>>
>> See Page 106/107 of:
>>
>> https://github.com/beagleboard/BeagleBone-Black/blob/master/BBB_SRM.pdf
>>
>
> Thanks Robert. For our viewers at home, the BBB uses pins lcd_data0 thru
> 15 as "SYSBOOT" pins that configure where the device boots from.
>
> Derek Molloy's table
> <http://exploringbeaglebone.com/wp-content/uploads/resources/BBBP8Header.png>
> shows that those correspond to header pins P8_31 thru P8_46 (not
> necessarily in that order).
>
> My rotary encoder may have been asserting a voltage on some of those pins.
> Next time I'll try unplugging it.
>
> Thanks very much!
> -Justin
>
>
>
>
>> 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/f4954c13-91b3-4bb7-82e4-7282aaaddd6a%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/f4954c13-91b3-4bb7-82e4-7282aaaddd6a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
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/CAMMUdpKwvQ1frCkh40ABkb67mh3b%3DT56uhXptJnBUbO02kf1%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] GPRS/GSM shield

2016-12-19 Thread Yiling Cao
I used 4g modem usb based. (via pcie typed usb) or normal usb b4. works
fine.

On Sun, Dec 18, 2016 at 10:26 PM, Lloyd Bailey 
wrote:

> Hi All,
>
> Has anyone any experience with this company YANTRR http://yantrr.co/index.
> php?route=common/home
> I am looking to buy a GPRS/GSM shield for the Beaglebone black for a
> weather project.
>
> Any information would be appreciated.
>
>
> --
> 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/250d9b10-6fd2-4c87-aa73-fd9a0cd337aa%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/250d9b10-6fd2-4c87-aa73-fd9a0cd337aa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
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/CAMMUdpJzJJcQ1Jp6Ein7-f0UxMS4p3Tx_iK5SKxqvOSp%2BXXMKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Access EEPROM of BBB

2016-12-17 Thread Yiling Cao
consider it as a file at:

/sys/bus/i2c/drivers/at24/1-0050/eeprom


On Mon, Dec 12, 2016 at 3:27 PM, Ankita Thummar 
wrote:

> New with BBB. I want to know how to access EEPROM (4KB) of BBB and read
> and write a data structure into it.
> Please suggest me some documents or codes from which I can make my
> concepts clear.
> Thank You.
>
> --
> 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/a76c52f2-1eeb-4fba-81f6-fffa1da8e3a6%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/a76c52f2-1eeb-4fba-81f6-fffa1da8e3a6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Yiling Cao
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/CAMMUdpK%3DWMpx6m8_jEanzRJsHnBrONHPRUcW-w%3DF6GuA%3DDnspg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] ssd2828 mipi converter

2016-11-18 Thread Yiling Cao
sevgi aydın:

I have a working copy sd2828 800x1280 with 8inch screen.

On Fri, Nov 18, 2016 at 9:13 PM, Gerald Coley 
wrote:

> You are loading down the boot pins with your design. .
>
> http://www.elinux.org/Beagleboard:BeagleBoneBlack#
> Expansion_Header_Pin_Usage
>
>
> Gerald
>
> On Fri, Nov 18, 2016 at 5:21 AM, sevgi aydın 
> wrote:
>
>>
>>  Dear beaglebone black users;
>>
>> I am working to on convert RGB to MIPI ..
>> I design PCB for beaglebone black .
>> But when I connected PCB of convert RGB to MIPI, Beagleboneblack board is
>> not work . User leds on beaglrbone board  is not emitting..
>> I used to SSD2828  integrated for convert RGB to MIPI ..
>>
>> If you have an idea about cause ,Could you help me?
>> İf you need to schematic  of converter board (RGB to MIPI ), I can share
>> you...
>>
>> I m looking forward to hearing your answer..
>> Best 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.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/beagleboard/97ef079d-f885-4e4f-b84f-8db2880e8f8d%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Gerald
>
> ger...@beagleboard.org
> http://beagleboard.org/
> gcol...@emprodesign.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/CAHK_S%2BcCk1%2B8Pvt12u0DE%3D%
> 3D11kdQj3Sxy1Y3tpqeo-MK11-gxQ%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMMUdpLZ3yQwXS%3D7Vh3vrw%2BXQnHf56k4B_3f9pK-FYC%3DuYjRXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Eth0 up/network issues

2016-11-14 Thread Yiling Cao
looks like a hardware issue, could be:


   - improper power sequence (maybe BBB-red powers up too early... I dunno
   what is bbb red)
   - not enough power delivery/ or sudden power spike




On Mon, Nov 14, 2016 at 7:30 PM, Guru raj.M  wrote:

>
> hi,
> i am currently using BBB-Red board which as industrial grid..
> with Debian GNU/Linux 7.8 (wheezy) os and made to boot from SDcard and
> image date is BeagleBoard.org Debian Image 2015-03-01.
>
>  lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:Debian GNU/Linux 7.8 (wheezy)
> Release:7.8
> Codename:   wheezy
>
> i try to power up this bbb with my own carrier card with external power
> supply, it is (carrier card with external power supply) absolutely working
> with BBB-balck board and having same OS. if i connect this board to BBB-red
> board and powered on but eth0 doesn't came up, but in BBB-black board its
> working fine..
> i tried with dmesg and i found below mesg...
>  dmesg | grep eth0
> [5.623106] net eth0: initializing cpsw version 1.12 (0)
> [5.628425] net eth0: phy found : id is : 0x7c0f1
> [5.633516] net eth0: phy 4a101000.mdio:03 not found on slave 1
> [5.665388] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>
>
> so there is no ethernet connection up.
> The carrier card with external power supply have 4 RS485 with serial
> digital isolator Si8422..
>
> plz can any one tell what was the issues... even i thought of loading
> issues but its not..
>
> --
> 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/81ec0484-9ddd-4836-874a-bdcfa574768f%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMMUdp%2B-CvrqgrZXgmavq_VknMZv86XunFdWKr28RZwm62ALsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: external RTC chip recommandation?

2015-12-11 Thread Yiling Cao
AM335x has an onboard RTC, drains battery like crazy...

Thanks for the suggestions.

On Fri, Dec 11, 2015 at 5:00 AM, William Hermans  wrote:

> *onboard RTC? What board are you using? I'm familiar with the BBB not
>> having any onboard RTC.*
>>
>
> It's actually on die, and it's pretty much useless, as there is no way to
> battery back it.
>
> On Thu, Dec 10, 2015 at 11:20 AM, R Miloh  wrote:
>
>>
>>
>> On Wednesday, December 9, 2015 at 10:39:49 PM UTC-8, c2h2 wrote:
>>>
>>> Hi all,
>>>
>>> onboard RTC draws too much current,
>>>
>>>
>> onboard RTC? What board are you using? I'm familiar with the BBB not
>> having any onboard RTC.
>>
>>
>>
>>> need to have low current RTC chip, no need to be super accurate, low
>>> cost is the prime concern. has suggestions?
>>>
>>>
>>
>> you could evaluate the following for use:  MAXIMIC DS1307, MAXIMIC
>> DS3231, TI BQ32000, and NXP PC85063TP
>>
>> --
>> 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.


[beagleboard] external RTC chip recommandation?

2015-12-09 Thread Yiling Cao
Hi all,

onboard RTC draws too much current,


need to have low current RTC chip, no need to be super accurate, low cost
is the prime concern. has suggestions?

-- 
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 RTC?

2015-12-03 Thread Yiling Cao
in my custom board, i used an external i2c RTC chip, proven to be reliable
and inexpensive.

On Fri, Dec 4, 2015 at 6:17 AM, Robert Nelson 
wrote:

>
>
> On Thu, Dec 3, 2015 at 4:06 PM, Fidel Alejandro Rodriguez <
> alek@gmail.com> wrote:
>
>> did you manage to implement RTC whith BBB regards
>>
>
> This is one way:
>
> http://elinux.org/CircuitCo:RTC_Cape
>
> Otherwise grab any i2c/rtc adapter board off sparkfun, (3.3v) and wire to
> the i2c..
>
> 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.
> 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] How many cameras could the BBB handle at once?

2015-02-22 Thread Yiling Cao
proper IP camera/ mobile phone camera dont use USB, they use MIPI or CSI2
to interface with MPU.

USB webcam is just for some hobby/demo use.

On Mon, Feb 23, 2015 at 1:23 PM, William Hermans  wrote:

> id imagije if you used IP cameras, You could do a couple more. The BBB's
> Ethernet port is as fast as fast Ethernet gets to theoretical.
>
> On Sun, Feb 22, 2015 at 6:00 PM, Alvaro Garcia  wrote:
>
>> The max framerate you will get is 15 fps, no matter about USB speed. It
>> is because of DMA problem or something. I tried several cameras and could
>> get more than 15 fps (trying yuv, mjpeg, x264...)
>>
>> 2015-02-23 1:19 GMT+01:00 Alex de Geofroy :
>>
>>> Thanks Robert,
>>>
>>> As a side note, thank you for all the help you provide people here and
>>> elsewhere. I haven't been very active in this group, but I've been
>>> subscribing and reading for a while. I guess the phrase "Long time
>>> listener, first time caller" would be appropriate.
>>>
>>> Anyway, USB 2.0 will transfer at 480 Mbps (in the best case) which is
>>> twice the bandwidth I'd need to run four 1080p30 cameras streaming MJPEG at
>>> approximately 60 Mbps, or roughly four times the bandwidth I'd need for
>>> 720p30.
>>>
>>> So let's assume that we won't have a bottleneck on the USB, and I'll
>>> save the videos to a NAS over Ethernet (USB & Ethernet are not shared,
>>> right?) so we won't have a bandwidth issue there either. If this is true,
>>> would the BBB have the horsepower to run motion detection on all four
>>> streams and output to a NAS reliably? If not four cameras, how about 3, or
>>> 2?
>>>
>>> I understand that this is a pretty specific case and I might just have
>>> to try it out to see what it can handle, I'm just trying to get a feel for
>>> whether or not it's even worth trying with a BBB, or if I should look for a
>>> higher-end board and cough up the extra cash.
>>>
>>> Thanks again!
>>>
>>> On Sun, Feb 22, 2015 at 6:56 PM, Robert Nelson 
>>> wrote:
>>>
 On Sun, Feb 22, 2015 at 5:48 PM, Alex DG  wrote:
 > I've been playing around with my BBB for a couple months now and I
 love it.
 > I've currently got it set up streaming video to my website 24/7.
 >
 > I'm now wondering how many USB cameras I could reasonably expect to
 use on
 > this thing at one time, because I want to set up a sort of improved IP
 > camera system. Essentially I want to create a networked array of HD
 cameras,
 > so I'm trying to decide which SBC would be able to reliably record
 720p or
 > 1080p video from as many cameras as possible. The cameras need to run
 24/7,
 > detect motion, perform some CV tasks (using opencv, presumably), and
 save
 > the resulting clips to a NAS, or even just to a USB hard drive.
 >
 > So let's say I want to set up an array of 720p30 cameras and record
 and
 > process video from them. Using a USB hub, would the BBB handle 2, 3,
 or even
 > 4 cameras? What if the frame rate was 60 fps? Or what about 2, 3, or 4
 > 1080p30 cameras?
 >
 > I'm just trying to get a feel for how capable the BBB is, or if I
 should
 > look toward a different, more powerful SBC.
 >
 > Thanks in advance for any advice you can offer!

 Remember, usb is a shared resource.  With only one port on the BBB,
 depending on how much bandwidth the first camera takes will let you
 know how many you can have plugged in.

 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 a topic in the
 Google Groups "BeagleBoard" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/beagleboard/a3-AuBq9eyo/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.
>>>
>>
>>  --
>> 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

Re: [beagleboard] What is this warnings?

2015-02-03 Thread Yiling Cao
i think as name suggest, u dont have power management firmware, i dont run
them too

hdmi needs specify device

On Tuesday, February 3, 2015, Metin KOÇ  wrote:

>
> I made a system with Buildroot. System warn me with this messages. What is
> problem? And hdmi not working , May be about this warns?
>
> /etc/init.d/S93-am335x-pm-firmware-load: line 4: can't create
> /sys/devices/ocp.2/44d0.wkup_m3/firmware/am335x-pm-firmware.bin/loading:
> nonexistent directory
> /etc/init.d/S93-am335x-pm-firmware-load: line 5: can't create
> /sys/devices/ocp.2/44d0.wkup_m3/firmware/am335x-pm-firmware.bin/data:
> nonexistent directory
> /etc/init.d/S93-am335x-pm-firmware-load: line 6: can't create
> /sys/devices/ocp.2/44d0.wkup_m3/firmware/am335x-pm-firmware.bin/loading:
> nonexistent directory
>
> --
> 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] Boot Problem eMMC

2015-01-27 Thread Yiling Cao
common problem with am335x and BB, just crap cpu, i just throw them away...

On Wed, Jan 28, 2015 at 9:14 AM, liyaoshi  wrote:

> Boot with sd card and run fsck /dev/mmc1p2 ?
>
> 2015-01-27 17:09 GMT+08:00 :
>
>> Hi
>>
>> Yesterday I was using my BBB and everything was working fine. But this
>> morning when I launched it, a lot of errors showed up..
>> I'm running Debian, which was already on the BBB when I bought it.
>> This is what I see on my monitor.
>>
>>
>> 
>>
>>
>> 
>>
>> After few researches, it seems that the eMMC is corrupted... but i'm not
>> sure.
>>
>> Anyone know what's going on ? And how to fix it ?
>>
>>
>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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] make menuconfig when compiling kernel

2015-01-19 Thread Yiling Cao
do it on ur pc linux and setup cross platform gcc. i wouldnt waste my time
do it on bbb

On Mon, Jan 19, 2015 at 4:20 PM, 鄭功蔚  wrote:

>
> Yes, I have.
> But the problem is still there
> BTW, I am running the menuconfig directly on the BBB.
> Does it still need to "env ARCH=arm"?
> Thanks!
>
> c2h2於 2015年1月18日星期日 UTC+8上午2時03分37秒寫道:
>>
>> Do you have env ARCH=arm ?
>>
>> or:
>> make ARCH=arm?
>>
>> On Fri, Jan 16, 2015 at 10:10 AM, 鄭功蔚  wrote:
>>
>>> Dear All
>>>
>>> I am having this trouble that when I finished selecting the menuconfig
>>> exit and type in command "make".
>>> It will have an error like bellow.
>>>
>>> root@beaglebone:/usr/src/kernel# make
>>>   CHK include/generated/uapi/linux/version.h
>>>   CHK include/generated/utsrelease.h
>>> make[1]: `include/generated/mach-types.h' is up to date.
>>> make[1]: *** No rule to make target `kernel/bounds.c', needed by
>>> `kernel/bounds.s'.  Stop.
>>> make: *** [prepare0] Error 2
>>>
>>> I am using a BBB with Angstrom.
>>> Does anyone know what is the problem of this?
>>> Thank!
>>>
>>> --
>>> 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] make menuconfig when compiling kernel

2015-01-17 Thread Yiling Cao
Do you have env ARCH=arm ?

or:
make ARCH=arm?

On Fri, Jan 16, 2015 at 10:10 AM, 鄭功蔚  wrote:

> Dear All
>
> I am having this trouble that when I finished selecting the menuconfig
> exit and type in command "make".
> It will have an error like bellow.
>
> root@beaglebone:/usr/src/kernel# make
>   CHK include/generated/uapi/linux/version.h
>   CHK include/generated/utsrelease.h
> make[1]: `include/generated/mach-types.h' is up to date.
> make[1]: *** No rule to make target `kernel/bounds.c', needed by
> `kernel/bounds.s'.  Stop.
> make: *** [prepare0] Error 2
>
> I am using a BBB with Angstrom.
> Does anyone know what is the problem of this?
> Thank!
>
> --
> 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] Beaglebone Black Ethernet Phy Not Detected on Boot.

2014-12-16 Thread Yiling Cao
Hi Alex,

We have also made many variation boards, including 2 PHY design, dual
gigabit phy, etc.

We massively produce our own core boards www.ariaboard.com, We found out on
some early revision of our boards there may exist strange "PHY not found"
and "PHY 0:0x" jumping issue, the audio (TLV320AIC3106) has strange issue
as well after long time uptime.

We found that the RESET pin on both chips (8710A and TLV320AIC3106) are too
close to the MCLK pins. which is a 25MHz and 24MHz clock source
receptively. The RESET pins are directly connected to AM335x SYS_RESET pin.
Our design was the SAME with BB and BBB.

We suspected the high frequency CLK signal generated by crystals have
effect on RESET pin, therefore we used external RESET mechanism. used an RC
circuit to connect to the RESET of both chips.

The phenomenon seemed went away for us so far (1k boards made, all good),
we are going to produce another 2k boards very soon to verify this and 1mil
boards next year.

On Tue, Dec 16, 2014 at 8:38 PM,  wrote:
>
> c2h2,
>
> Could you please tell us what change you did in your design to make it
> better?
>
> Regards
>
> Alex
>
> --
> 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] Beaglebone Black Ethernet Phy Not Detected on Boot.

2014-12-16 Thread Yiling Cao
http://e2e.ti.com/support/arm/sitara_arm/f/791/t/335017

i have same issue, sometimes jump phy id, sometimes no detection. on my
custom board with 8710A.

suspect interference with RESET pin. I have altered my design, everything
is better now.

correct:
[ 1.206085] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.253601] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.260040] davinci_mdio davinci_mdio.0: detected phy mask fffe
[ 1.267333] davinci_mdio.0: probed
[ 1.270874] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC
LAN8710/LAN8720

wrong:
[ 1.186248] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.233612] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.240051] davinci_mdio davinci_mdio.0: detected phy mask fffb
[ 1.247283] davinci_mdio.0: probed
[ 1.250823] davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver SMSC
LAN8710/LAN8720

On Tue, Dec 16, 2014 at 5:41 PM,  wrote:
>
> Once in a while this happens too soon and the PHY doesn't come out of
>> reset correctly.
>>
>
> Then, without capacitors C24 and C30, things would get only worse, because
> nRESET_INOUT is released even earlier without those caps. On the contrary,
> removing caps helps. It looks like the slope of the reset pulse matters.
>
> Alex
>
> --
> 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] How to connect PPPOE

2014-07-14 Thread Yiling Cao
linux support PPPoE I have tested before, works very well.


On Mon, Jul 14, 2014 at 3:55 AM, tarun mishra 
wrote:

> Hi,
>
> I recently boughtBeagleBone Black.
> I need it to connect to internet.
> After searching on internet,I am able to share my laptop's internet to the
> BeagleBone .
> I am also able to SSH using putty.
> But now I need to connect BBB directly to the internet for my project.
>
> My ISP provides me internet using PPPOE.
> How can I make PPPOE connection ing BBB?
> Please help me.
>
> Thanks
> Tarun Mishra
>
> --
> 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] SPI in 48MHz

2014-07-11 Thread Yiling Cao
to what? setting SPI to higher clock?


On Fri, Jul 11, 2014 at 2:46 PM, ES  wrote:

> Hi
> Am using Beagle Bone balck with angstrom.  Working with SPI in 48MHz as a
> master.
> if i send bytes am getting the following issues
> 1. Delay between the first byte and second byte  is around 18us
> 2. Inter byte delay around 400ns
> 3. cs hold time is around 127us
>
> can someone please help me to reduce this
>
>
>
>
>
> --
> 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] Multiple touch screens on BeagleBone Black

2014-06-23 Thread Yiling Cao
I have done Multi touch (5 points) captive touch screen last year, working
smoothly, it's based on a GPIO interrupt + I2C.

need to import/ write your own driver. There are many different chip
providers too.


On Sat, Jun 21, 2014 at 3:45 PM,  wrote:

> Hi.
> I am about to start an embedded research and development project where we
> will need a bit more processing power and the use of multiple touch screens
> connected to the same device.
> Therefor I would like to know if it is possible somehow to connect
> multiple touch screens, fx the LCD Capes, to the BeagleBone Black.
>
> This might not be supported/enabled in the Kernel right now, but I am
> curious if it is possible to enable the support at all?
>
> Best regards
> Thomas Jespersen
>
> --
> 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] Custom BB cape affecting kernel boot

2014-04-29 Thread Yiling Cao
How are you powering up your board?
Is booting fine without cape?


On Wed, Apr 30, 2014 at 11:26 AM, Udayanto Dwi Atmojo <
udayanto.atm...@gmail.com> wrote:

> Hi all,
>
> I have a custom cape made for BB black, and when I have the cape plugged
> in to the BB and turning my BB on, it seems to stop the kernel from booting
> properly. I have Linux angstrom installed.  Im attaching the kernel trace
> here so that everyone knows what happens (I got this using FTDI to USB
> connection, that we know what process being performed during boot up). Can
> anyone help in identifying the cause of this?
>
> Cheers!
>
> --
> 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] Running BeagleBone without MicroSD: Need quick reply

2014-04-14 Thread Yiling Cao
maybe not.


On Sat, Apr 12, 2014 at 7:37 PM, Anon123  wrote:

> I forgot to buy a microSD
>
> Can and how do i run angstrom without MicroSD? I have microUSB.
>
> --
> 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] Form factor

2014-04-08 Thread Yiling Cao
5cm x 5cm stamp board similar to BBB designs  + (integrated Ti audio chip)
http://ariaboard.com/


On Tue, Apr 8, 2014 at 1:48 PM, John Syn  wrote:

>
>
> From: Ronny Julian 
> Reply-To: 
> Date: Monday, April 7, 2014 at 6:14 PM
> To: beagleboard 
> Subject: [beagleboard] Form factor
>
> Ever think BBB will be in this form factor?
>
> http://www.raspberrypi.org/raspberry-pi-compute-module-new-product/
>
> Ronny
>
> Not going to happen. A few months ago I asked Gerald to look at making a
> module version of BBB for a while and he is dead set against it. I always
> thought it would be better to have a module and a range of of base boards
> rather than capes. It would be quite simple to create a custom base board
> with all the features you need, but Gerald didn’t agree. In the end, he has
> been very successful at designing products that have been very successful,
> so I deferred to his expertise. Remember, Gerald is highly focused on the
> hobbyist and doesn’t want his boards to be sucked up by companies for their
> production.
>
> 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: CONFIG_WATCHDOG_NOWAYOUT => How ?

2014-04-08 Thread Yiling Cao
I have done this months ago, and very useful.

this is under kernel config, .config file,

so:
 make menuconfig ARCH=arm

search for nowayout

 │ Symbol: WATCHDOG_NOWAYOUT [=n]  │
  │ Type  : boolean
│
  │ Prompt: Disable watchdog shutdown on close
 │
  │   Defined at drivers/watchdog/Kconfig:39
 │
  │   Depends on: WATCHDOG [=y]
│
  │   Location:
│
  │ -> Device Drivers
│
  │   -> Watchdog Timer Support (WATCHDOG [=y])



u need to change it to enable and recompile the kernel. good luck



On Tue, Apr 8, 2014 at 2:43 PM, Micka  wrote:

> I just installed the package :
>
>
> insserv: warning: script 'K01script-initd-' missing LSB tags and overrides
> insserv: warning: script 'script-initd-' missing LSB tags and overrides
> insserv: warning: script 'K02script-initd-' missing LSB tags and overrides
> insserv: warning: script 'script-initd-' missing LSB tags and overrides
> insserv: warning: script 'K01script-initd-' missing LSB tags and overrides
> insserv: warning: script 'script-initd-' missing LSB tags and overrides
> insserv: warning: script 'K02script-initd-' missing LSB tags and overrides
>
>
> . I hope that it's ok
>
>
> On Mon, Apr 7, 2014 at 10:06 PM, AndrewTaneGlen 
> wrote:
>
>> To get the hardware watchdog working (on Debian) I just installed the
>> watchdog package (sudo apt-get install watchdog), then set the correct
>> device in the config file: in '/etc/watchdog.conf' set 'watchdog-device
>> = /dev/watchdog'
>>
>> I'm fairly certain that's all I needed to do.
>>
>> On Tuesday, 8 April 2014 05:14:44 UTC+12, Mickae1 wrote:
>>>
>>> Hi,
>>>
>>> I would like to activate the watchdog in the beagle.
>>>
>>> I recompiled the beagle with the flag watchdog software. but how can i
>>> activate the flag CONFIG_WATCHDOG_NOWAYOUT ???
>>>
>>>
>>> Thx,
>>>
>>  --
>> 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.


[beagleboard] Anyone successfully used squashfs as rootfs? or other ro fs?

2014-03-27 Thread Yiling Cao
Due to potential write caused SD/eMMC corruption issue we are facing, has
anyone successfully used read-only fs?

I have used AUFS under x86 with ubuntu, proven to be rock solid. But had no
luck with ARM due to some OS+package issue.

-- 
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] eMMC data corruption due to power removal?

2014-03-27 Thread Yiling Cao
When there are very small time window to update the content in flash. do
you choose to:

1. initially mount as ro, remount as rw, write your changes and remount
back to ro? OR
2. just mount as rw to boot up?






On Thu, Mar 27, 2014 at 8:47 PM, Yiling Cao  wrote:

> Thanks for your reply.
>
> On Thu, Mar 27, 2014 at 8:41 PM, Charles Steinkuehler <
> char...@steinkuehler.net> wrote:
>
>> On 3/26/2014 10:22 PM, Yiling Cao wrote:
>> > Thanks Brandon for your experience. I do agree with that better to put
>> > whole disk read only.
>> >
>> > But how do iPhone and Android survive? Esp for those Android phones?
>> They
>> > are very prone to sudden power removal as well.
>>
>> What?  These devices are battery powered, and other than opening the
>> case and physically removing the battery they are guaranteed enough
>> power to do a proper and orderly shutdown.
>>
>> What I mean is you can take out battery at back very easily as well.
>
>
>>  > How do routers handle this issue? they save the settings on different
>> > devices?
>>
>> Routers save a very small amount of setup data, and either have a very
>> small window when they are writing updates to the filesystem, or in some
>> cases can store the configuration in EEPROM.
>>
>> > I have a SQLite db around 1-2M and data will be written to them. Would
>> like
>> > to have some easy and quick solution to make it absolutely stable.
>>
>> I don't think "easy and quick" go together with "absolutely stable" in
>> this context.  You're looking at solutions like adding a backup battery,
>> migrating your SQLite db to a different storage device, or other
>> solutions that do not fit the "easy and quick" description.
>>
>> I think about the simplest thing you can do is add a uSD card and
>> separate the OS from the data storage.  This gets you around the problem
>> of corrupting the OS when writing to the data, but you can still run
>> into problems because the uSD card need to have specific boot files
>> present or the BBB won't boot.  That problem can be fixed by updating
>> the u-boot configuration on the eMMC so it ignores the uSD card and
>> always boots from eMMC.
>>
>> You'll still need to be able to deal with data corruption in your db
>> files, but that's a solvable software problem if the system reliably
>> boots.
>>
>>
> I have already minimized data writes. I hope by next version I will write
> stuff to eeprom.
>
>>  --
>> Charles Steinkuehler
>> char...@steinkuehler.net
>>
>> --
>> 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] eMMC data corruption due to power removal?

2014-03-27 Thread Yiling Cao
Thanks for your reply.

On Thu, Mar 27, 2014 at 8:41 PM, Charles Steinkuehler <
char...@steinkuehler.net> wrote:

> On 3/26/2014 10:22 PM, Yiling Cao wrote:
> > Thanks Brandon for your experience. I do agree with that better to put
> > whole disk read only.
> >
> > But how do iPhone and Android survive? Esp for those Android phones? They
> > are very prone to sudden power removal as well.
>
> What?  These devices are battery powered, and other than opening the
> case and physically removing the battery they are guaranteed enough
> power to do a proper and orderly shutdown.
>
> What I mean is you can take out battery at back very easily as well.


> > How do routers handle this issue? they save the settings on different
> > devices?
>
> Routers save a very small amount of setup data, and either have a very
> small window when they are writing updates to the filesystem, or in some
> cases can store the configuration in EEPROM.
>
> > I have a SQLite db around 1-2M and data will be written to them. Would
> like
> > to have some easy and quick solution to make it absolutely stable.
>
> I don't think "easy and quick" go together with "absolutely stable" in
> this context.  You're looking at solutions like adding a backup battery,
> migrating your SQLite db to a different storage device, or other
> solutions that do not fit the "easy and quick" description.
>
> I think about the simplest thing you can do is add a uSD card and
> separate the OS from the data storage.  This gets you around the problem
> of corrupting the OS when writing to the data, but you can still run
> into problems because the uSD card need to have specific boot files
> present or the BBB won't boot.  That problem can be fixed by updating
> the u-boot configuration on the eMMC so it ignores the uSD card and
> always boots from eMMC.
>
> You'll still need to be able to deal with data corruption in your db
> files, but that's a solvable software problem if the system reliably boots.
>
>
I have already minimized data writes. I hope by next version I will write
stuff to eeprom.

> --
> Charles Steinkuehler
> char...@steinkuehler.net
>
> --
> 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] eMMC data corruption due to power removal?

2014-03-26 Thread Yiling Cao
Anyway to make monuting do fsck before mounting? Shall I edit fstab command
line or ?


On Thu, Mar 27, 2014 at 11:22 AM, Yiling Cao  wrote:

> Thanks Brandon for your experience. I do agree with that better to put
> whole disk read only.
>
> But how do iPhone and Android survive? Esp for those Android phones? They
> are very prone to sudden power removal as well.
>
> How do routers handle this issue? they save the settings on different
> devices?
>
> I have a SQLite db around 1-2M and data will be written to them. Would
> like to have some easy and quick solution to make it absolutely stable.
>
>
>
> On Thu, Mar 27, 2014 at 9:46 AM, Brandon I wrote:
>
>> Here's a good read:
>> http://www.embeddedarm.com/about/resource.php?item=459
>>
>> I had a lng discussion about this with a colleague of mine after
>> we started seeing boards die.
>>
>> Basically you're eventually doomed unless you mount the whole disk as
>> read only since the wear leveling algorithms in the flash have no knowledge
>> of what a partition is and will eventually end up with
>> suppesed-to-be-read-only data mixed in with the writable partition erase
>> blocks. If you're writing to flash, it will eventually fail by unfortunate
>> design.
>>
>> It tooks his previous company 6 months of fighting to come to terms with
>> this in their last product. They had to write data, so eventually used usb
>> flash that the customer could easily replace when things eventually died.
>> They tried every flash card they could get their hands on, read only
>> partitions, etc and eventually had to give up.
>>
>> Use the SD card you say! Any micro SD card you can put in the slot is
>> absolutely not meant for continuous writing. The SD card spec has a very
>> specific use case in mind (video and images), and logging or using it as a
>> sparse write file system goes completely against the intended SD card
>> design specs. Industrial grade write-tolerant flash will cost you hundreds
>> of dollars more than something on Amazon.
>>
>> With our current product, I told my boss that I was worried about
>> corruption and that we would eventually go to read only once we debugged
>> the boards. Within two weeks of only log messages, all of our boards
>> started dyeing. The next day, all disks were mounted as read only and
>> issues are debugged with the in-memory log files. We haven't seen any
>> failures in 6 months now.
>>
>> The easy solution is trying to force the answer of "why are you writing
>> anything to persistent storage?" to be "there's no good reason since it
>> eventually bricks our product". If you want something that will last
>> forever, you will not write to standard flash media. If you can't, then
>> maybe use a usb flash drive (MUCH better life than a micro sd card) and
>> count the days until it corrupts or someone pulls the power at an
>> inopportune time. You could always use a battery backup to get rid of the
>> power off issue. :-\
>>
>> This is all doom and gloom, but it's a consequence of inconsistent power,
>> buffers, and the destruction nature of quantum tunneling.
>>
>> -Brandon
>>
>> On Wednesday, March 26, 2014 2:45:57 PM UTC-7, Sungjin Chun wrote:
>>
>>> How about making system partition be mounted as read-only and data
>>> partition be mounted after booting and checking? In this case, only data
>>> partition has possibility of corruption.
>>>
>>> Sent from my iPad
>>>
>>> On Mar 26, 2014, at 9:53 PM, Yiling Cao  wrote:
>>>
>>> Hi I have some my products deployed with am335x with Micron eMMC 2GB,
>>> but my products allow users to unplug power as they wish.
>>>
>>> My linux app very rarely writes to the eMMC. and my /etc/fstab specifies
>>> /var/log and /tmp to tempfs; fstab mount all partitions with "noatime"
>>> properties.
>>>
>>> But around 2 months of deployment, I found that around 1-2% am335x
>>> machines, have some sort of data corruption, resulting fail to boot up.
>>>
>>> Can anyone share some thoughts/ experience about how to resolve this
>>> issue? In real life product, whats the best practice?
>>>
>>> --
>>> 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

Re: [beagleboard] eMMC data corruption due to power removal?

2014-03-26 Thread Yiling Cao
Thanks Brandon for your experience. I do agree with that better to put
whole disk read only.

But how do iPhone and Android survive? Esp for those Android phones? They
are very prone to sudden power removal as well.

How do routers handle this issue? they save the settings on different
devices?

I have a SQLite db around 1-2M and data will be written to them. Would like
to have some easy and quick solution to make it absolutely stable.



On Thu, Mar 27, 2014 at 9:46 AM, Brandon I  wrote:

> Here's a good read: http://www.embeddedarm.com/about/resource.php?item=459
>
> I had a lng discussion about this with a colleague of mine after
> we started seeing boards die.
>
> Basically you're eventually doomed unless you mount the whole disk as read
> only since the wear leveling algorithms in the flash have no knowledge of
> what a partition is and will eventually end up with
> suppesed-to-be-read-only data mixed in with the writable partition erase
> blocks. If you're writing to flash, it will eventually fail by unfortunate
> design.
>
> It tooks his previous company 6 months of fighting to come to terms with
> this in their last product. They had to write data, so eventually used usb
> flash that the customer could easily replace when things eventually died.
> They tried every flash card they could get their hands on, read only
> partitions, etc and eventually had to give up.
>
> Use the SD card you say! Any micro SD card you can put in the slot is
> absolutely not meant for continuous writing. The SD card spec has a very
> specific use case in mind (video and images), and logging or using it as a
> sparse write file system goes completely against the intended SD card
> design specs. Industrial grade write-tolerant flash will cost you hundreds
> of dollars more than something on Amazon.
>
> With our current product, I told my boss that I was worried about
> corruption and that we would eventually go to read only once we debugged
> the boards. Within two weeks of only log messages, all of our boards
> started dyeing. The next day, all disks were mounted as read only and
> issues are debugged with the in-memory log files. We haven't seen any
> failures in 6 months now.
>
> The easy solution is trying to force the answer of "why are you writing
> anything to persistent storage?" to be "there's no good reason since it
> eventually bricks our product". If you want something that will last
> forever, you will not write to standard flash media. If you can't, then
> maybe use a usb flash drive (MUCH better life than a micro sd card) and
> count the days until it corrupts or someone pulls the power at an
> inopportune time. You could always use a battery backup to get rid of the
> power off issue. :-\
>
> This is all doom and gloom, but it's a consequence of inconsistent power,
> buffers, and the destruction nature of quantum tunneling.
>
> -Brandon
>
> On Wednesday, March 26, 2014 2:45:57 PM UTC-7, Sungjin Chun wrote:
>
>> How about making system partition be mounted as read-only and data
>> partition be mounted after booting and checking? In this case, only data
>> partition has possibility of corruption.
>>
>> Sent from my iPad
>>
>> On Mar 26, 2014, at 9:53 PM, Yiling Cao  wrote:
>>
>> Hi I have some my products deployed with am335x with Micron eMMC 2GB, but
>> my products allow users to unplug power as they wish.
>>
>> My linux app very rarely writes to the eMMC. and my /etc/fstab specifies
>> /var/log and /tmp to tempfs; fstab mount all partitions with "noatime"
>> properties.
>>
>> But around 2 months of deployment, I found that around 1-2% am335x
>> machines, have some sort of data corruption, resulting fail to boot up.
>>
>> Can anyone share some thoughts/ experience about how to resolve this
>> issue? In real life product, whats the best practice?
>>
>> --
>> 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] eMMC data corruption due to power removal?

2014-03-26 Thread Yiling Cao
Hi I have some my products deployed with am335x with Micron eMMC 2GB, but
my products allow users to unplug power as they wish.

My linux app very rarely writes to the eMMC. and my /etc/fstab specifies
/var/log and /tmp to tempfs; fstab mount all partitions with "noatime"
properties.

But around 2 months of deployment, I found that around 1-2% am335x
machines, have some sort of data corruption, resulting fail to boot up.

Can anyone share some thoughts/ experience about how to resolve this issue?
In real life product, whats the best practice?

-- 
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] Why is a SN74LVC1G06 connected between emmc and AM3359 on Beaglebone black?

2014-03-26 Thread Yiling Cao
This design might have NO effect!

on Micron datasheet it says:

RST_n
Input Reset: The RST_n signal is used by the host for resetting the device,
moving the device to the preidle
state. By default, the RST_n signal is temporarily disabled in the device.
The host must set ECSD
register byte 162, bits[1:0] to 0x1 to enable this functionality before the
host can use it.


Does this mean this design doesn't affect anything, unless we change ECSD
register byte 162, bits[1:0] to 0x1 ?




On Wed, Mar 26, 2014 at 7:11 PM, Charles Steinkuehler <
char...@steinkuehler.net> wrote:

> On 3/26/2014 2:22 AM, Eldwin Xiao wrote:
> > Thanks for your reply.
> > Could you show me the specific page of AM3359's datasheet where describes
> > the default state of the pin?I have read the datasheet,but found nothing.
> > I'm new here and appreciate your kind help.
>
> Section 2.2 starting on page 16 lists the Ball (pin) Characteristics of
> the AM335x, including available pin multiplexing modes, reset states,
> driver strength, availability of pull-up/down resistors, etc.
>
> --
> Charles Steinkuehler
> char...@steinkuehler.net
>
> --
> 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] Beaglebone Black ... What a Bull Shit !!!

2013-09-26 Thread Yiling Cao
bbb is just a dev board, not an iphone.


On Thu, Sep 26, 2013 at 5:09 PM,  wrote:

> We have tested BBB with LCD7 cape and Unbuntu 12.04 & 13.04.
> Nothing does work as expected!!!
> Use of Touchscreen is hawfully slow and use of ADC with this screen hangs
> up the system!
>
> How to get a such bad system. It is the same with angstrom distrib!!!
>
> We had developp a specific cape and we can put it in garbage!!!
>
> Forget this board and chose other one.
>
> Regards to all!
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] Re: uSD (mmc0) not active when eMMC (mmc1) being used

2013-09-26 Thread Yiling Cao
is there a fix?

I found out this is caused by uboot passing the boot arguments to kernel
with rootfs=/dev/mmcblk0, while sd is inserted, the emmc actually became
/dev/mmcblk1, therefore kernel unable to find rootfs.


On Tue, May 7, 2013 at 1:10 AM, Venkat Bommakanti wrote:

> Hi,
>
> In this scenario, where you boot from mSD but have a "cleared up" eMMC,
> can the eMMC still be used ?
> Read somewhere that SD's in general are error-prone over a period, after
> numerous writes. If that is the case, can run-time generated data (like in
> a MySQL database) be written to the eMMC and shipped off from there on a
> periodic basis...
>
> thanks,
> /venkat
>
> On Monday, May 6, 2013 9:57:42 AM UTC-7, origi...@yahoo.com wrote:
>>
>> ... To do that I boot from the SD card and once into the OS I mount the
>> 1st partition of the eMMC and delete the files it contains.  From then on
>> it will always boot to my SD card which is 8G or 32G.  Plenty of space
>>
>  --
> 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/groups/opt_out.
>
>
>

-- 
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/groups/opt_out.


Re: [beagleboard] How can I improve processing time on BB?

2013-09-26 Thread Yiling Cao
to answer simply: mhz != performance, (like pentium4 vs ivy bridge)


A coretex-a8 is diff to current mainline x64 arch, different pipelines,
memory/cache hierarchy, huge memory bandwidth difference

for mem bandwidth theoretical beagle is 16bit * 800MHz = 1.6GiB/s (also
need to share with display and blah) , tested in real life is about 300MiB/s
for a pc dual ch pc12800:  1600MHz *  64bit * 2 (ch) = 25.6GiB/s, tested
real life is about 20GiB/s



On Thu, Sep 26, 2013 at 4:54 PM, Jack Mitchell wrote:

> On 26/09/13 09:47, 서재필 wrote:
> > I'm trying to use Beagle Board for real-time audio-processing.
> >
> > I bought this one because of these clock speed(1Ghz).
> >
> > My algorithm running time is about 0.6 ms for one frame in my
> > computer(window7, 2.6Ghz Quad-core).
> >
> > But when I run my algorithm on BB(Angstrom, 1Ghz), it spends about
> > 40ms for one frame.
> >
> > Isn't it ridiculous? Because clock speed defference is just 2 or max 3
> > times. But measuring processing speed is not.
> >
> > Wha'ts wrong with it?
> >
> > Please let me know I didn't notice something.
> >
> > I have to running my algorithm in at least 6ms for one frame.
> >
> > All the best.
> >
> >
>
> For a start, your 2.7GHz Windows machine is _not_ an ARM architecture so
> comparing the two is useless. Secondly, processor speed is not linear,
> 1Ghz is not always worse than 2GHz, and something running in 10seconds
> at 1Ghz, will not always run in 5 seconds at 2Ghz.
>
> I suggest you read up processor architectures and understand some of the
> basics of CPUs. As for speeding up your algorithm, try using the NEON
> instructions available on this ARM chip, however your code will then not
> run on Windows PC. I also assume you're using C, and not
> Python/Java/Javascript.
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.