Re: [beagleboard] CAN1 does not work BBB

2019-09-26 Thread Jacob J. Morales Argumedo
Did you try using config-pin instead of the overlay?

See my post regarding a similar issue i had and see if it helps you:
https://groups.google.com/forum/#!msg/beagleboard/uCzaLNgAJks/-4OJkhgDBgAJ

On Thu, Sep 26, 2019 at 2:08 PM hanswurst663 via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Hello,
> I have a problem with the CAN1 interface on my Beaglebone Black.
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> [sudo] password for debian:
> git:/opt/scripts/:[8f20cac93cbbec2ab705333a543903287ff9e7d4]
> eeprom:[A335BNLT00C02017BBBK05D5]
> model:[TI_AM335x_BeagleBone_Black]
> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
> 2019.04-2-gbb4af0f   50f]:[location: dd MBR]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> 2019.04-2-gbb4af0f50f]:[l   ocation: dd MBR]
> UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
> UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-14-TI-00A0]
> UBOOT: Loaded Overlay:[BB-ADC-00A0]
> UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
> UBOOT: Loaded Overlay:[BB-CAN1-00A0]
> UBOOT: Loaded Overlay:[BB-I2C2-00A0]
> UBOOT: Loaded Overlay:[BB-NHDMI-TDA998x-00A0]
> UBOOT: Loaded Overlay:[BB-SPIDEV0-00A0]
> kernel:[4.14.108-ti-r118]
> nodejs:[v6.17.0]
> /boot/uEnv.txt Settings:
> uboot_overlay_options:[enable_uboot_overlays=1]
>
> uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo]
> uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/BB-I2C2-00A0.dtbo]
> uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/BB-CAN1-00A0.dtbo
> ]
> uboot_overlay_options:[disable_uboot_overlay_audio=1]
> uboot_overlay_options:[disable_uboot_overlay_wireless=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.20190922.0-0rcnee0~stretch+20190922]
> pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227]
> pkg:[kmod]:[23-2rcnee1~stretch+20171005]
> pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~stretch+20190327]
> pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video
> plugdev us   ers systemd-journal i2c bluetooth netdev cloud9ide gpio pwm
> eqep admin spi tisdkweston-launch xenomai autologin]
> cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1
> root=/dev/m   mcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M
> net.ifnames=0 quiet]
> dmesg | grep remote
> [1.244859] remoteproc remoteproc0: wkup_m3 is available
> [1.464098] remoteproc remoteproc0: powering up wkup_m3
> [1.464219] remoteproc remoteproc0: Booting fw image
> am335x-pm-firmware.elf,size 217168
> [1.468443] remoteproc remoteproc0: remote processor wkup_m3 is now up
> [   10.159438] remoteproc remoteproc1: 4a334000.pru is available
> [   10.179638] remoteproc remoteproc2: 4a338000.pru is available
> dmesg | grep pru
> [   10.135980] pruss 4a30.pruss: creating PRU cores and other child
> platformdevices
> [   10.159438] remoteproc remoteproc1: 4a334000.pru is available
> [   10.159565] pru-rproc 4a334000.pru: PRU rproc node
> /ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@34000 probed successfully
> [   10.179638] remoteproc remoteproc2: 4a338000.pru is available
> [   10.179757] pru-rproc 4a338000.pru: PRU rproc node
> /ocp/pruss_soc_bus@4a32600   4/pruss@0/pru@38000 probed successfully
> dmesg | grep pinctrl-single
> [0.943534] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800
> size 568
> dmesg | grep gpio-of-helper
> [0.955505] gpio-of-helper ocp:cape-universal: ready
> lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> END
>
>
>
> debian@beaglebone:~$ cat
> /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
> ...
> pin 96 (PIN96): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins
> group pinmux_dcan1_pins
> pin 97 (PIN97): 481d.can (GPIO UNCLAIMED) function pinmux_dcan1_pins
> group pinmux_dcan1_pins
> ...
>
>
> debian@beaglebone:~$ sudo ip link set can1 up type can bitrate 125000
>
> everythings fine with no Error or Warning.
>
> and then i try:
> debian@beaglebone:~$ cansend can1 07f#4004
> Nothing happens at the CAN bus
>
>
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ cansend can1 07f#4004
> debian@beaglebone:~$ ip -details -statistics link show can1
> 3: can1:  mtu 16 qdisc pfifo_fast state DOWN
> mode DEFAULT   group default qlen 10
> link/can  promiscuity 0
> can state BUS-OFF (berr-counter tx 248 rx 0) restart-ms 0
>   bitrate 125000 sample-point 0.875
>   tq 500 prop-seg 6 phase-seg1 7 

Re: [beagleboard] Reduce Boot time for Ubuntu 18.04 LTS Image

2019-08-29 Thread Jacob J. Morales Argumedo
Deepak,

Adding a GUI to a device such as the BB will have slow boot time versus a
purely "server" configuration that does not .  Check that the GRUB
bootloader is not taking up time.  Sometimes the GRUB boot loader takes up
to 30 seconds.  If that is not the case,you need to see what software
packages you have installed on your Ubuntu image.  Where did you get your
Ubuntu image from?

The BB may not be the best application for you if you want faster than 1
minute boot time to the GUI.



On Thu, Aug 29, 2019 at 2:23 PM  wrote:

> Hi,
>
> we are using beaglebone black board with Installed Ubuntu 18.04 image on
> this board and kernel version is  4.14.108-ti-r104.
> we installed LXDE GUI on this image. We want reduce boot time to show GUI
> within min time .. Currently GUI start up time is 1 min approximate.. so we
> want as early as possible ..
>
> please send us the procedure to reduce device boot up time ...
>
>
>
> Regards,
> Dipak Shetye
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to 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/d294d5dd-dd75-40dd-9e20-75393b318edb%40googlegroups.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/CAB5vWettCEJP5LLUhyi9sp7MHUysq4amjzRKfXWhw5gLSW6AnQ%40mail.gmail.com.


Re: [beagleboard] BBB wrong keyboard layout

2019-08-29 Thread Jacob J. Morales Argumedo
Hello,

This sounds like a similar problem to what is here:
https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/beagleboard/1ujDNZIr9Cc/lf14DDtjCgAJ

Please follow that thread.

On Thu, Aug 29, 2019 at 2:23 PM Jaume F  wrote:

> Hello,
>
> I just installed the official debian image and open a vpn connection.
> If I open chromium and I type into browsing bar, keyboard keys are sent as
> expected. However, in the terminal or in the main menu search bar, I've got
> all wrong keys without any sense...
> I am trying to set a keyboard layout in the settings but, once I add it
> properly a UK layout for example, I close the window (no accept or save
> button) and open again and the layout is empty!
> How to set a proper layout? 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/dd621b45-8bcb-4afd-83b0-6b79a2b793a6%40googlegroups.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/CAB5vWesAWhouhaOB98CHdk3dF3ku-BZQRNX0YS-_SPrtc40vGg%40mail.gmail.com.


Re: [beagleboard] Antenna that come with BeagleBone Black Wireless

2019-08-29 Thread Jacob J. Morales Argumedo
My beaglebone black enhanced only has provisions for one antenna.  i think
this depends on how they designed your board and what wifi chipset they
used.  I would ask this question directly to Newark.

On Thu, Aug 29, 2019 at 2:23 PM user pc  wrote:

> Hi, I posted yesterday but it looks like it didn't go through.
>
> I bought a BeagleBone Black Wireless from Newart. When I opened the box, I
> found only one antenna. However, on the box and in the quick setup guide,
> the photo shows that there are two antennas. Newart told me that I have to
> pay separately to buy the two antennas. Before purchase, they also told me
> that the USB cable is sold separately but we all know that it comes with
> the board. So, what is going on with the antenna? Has beagleboard.org
> changed it to one antenna recently or the one I got has a missing antenna?
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to 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/4053ee2d-af54-4a6f-aa58-d986d40f8bf9%40googlegroups.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/CAB5vWeuyJjHKZogP%2BANjfaVX6B_jrSQ%2BvBq6DySpg9DTgAe0hg%40mail.gmail.com.


Re: [beagleboard] How to correctly power down BeagleBoard-xM ?

2019-08-06 Thread Jacob J. Morales Argumedo
Just type:
“Sudo shutdown now”

“Sudo reboot” reboots the system.

If the BB has a power button on it, you can just press that and it will
properly shut down.

It will power off the system.

On Monday, August 5, 2019, Jani  wrote:

> How to proceed from here?  LED D5 and D14 are still ON.
>
> Do I just close the PC Console terminal?
>
> [image: halt.PNG]
>
>
> On Monday, August 5, 2019 at 3:18:02 PM UTC-4, Robert Heller wrote:
>>
>> At Mon, 5 Aug 2019 23:18:31 +0530 beagl...@googlegroups.com wrote:
>>
>> >
>> >
>> > Interesting. I thought shutdown command was the way to do it.
>>
>> /sbin/halt === /sbin/shutdown -h now
>> /sbin/reboot === /sbin/shutdown -r now
>>
>> /sbin/halt and /sbin/reboot are "shortcuts" for common shutdown cases.
>>
>> Feel free to type all of '/sbin/shutdown -h now' if you prefer...
>>
>> >
>> >
>> > On Mon, Aug 5, 2019 at 6:22 PM Robert Heller 
>> wrote:
>> >
>> > > At Sun, 4 Aug 2019 21:25:19 -0700 (PDT) beagl...@googlegroups.com
>> > > wrote:
>> > >
>> > > >
>> > > >
>> > > >
>> > > > I have my BeagleBoard-xM connected to Windows 10 Laptop.  They are
>> > > > communicating over serial console.
>> > > > I logged out and closed serial console.
>> > > >
>> > > > How should I correctly power down my board?
>> > >
>> > > *Before* you logout, run this command:
>> > >
>> > > sudo /sbin/halt
>> > >
>> > > This will cleanly shut the BeagleBoard down.
>> > >
>> > > >
>> > >
>> > > --
>> > > Robert Heller -- 978-544-6933
>> > > Deepwoods Software-- Custom Software Services
>> > > http://www.deepsoft.com/  -- Linux Administration Services
>> > > hel...@deepsoft.com   -- Webhosting Services
>> > >
>> > >
>> > > --
>> > > For more options, visit http://beagleboard.org/discuss
>> > > ---
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "BeagleBoard" group.
>> > > To unsubscribe from this group and stop receiving emails from it,
>> send an
>> > > email to beagl...@googlegroups.com.
>> > > To view this discussion on the web visit
>> > > https://groups.google.com/d/msgid/beagleboard/20190805125147
>> .BCF6926C009B%40sharky3.deepsoft.com
>> > > .
>> > >
>> >
>> >
>>
>> --
>> Robert Heller -- 978-544-6933
>> Deepwoods Software-- Custom Software Services
>> http://www.deepsoft.com/  -- Linux Administration Services
>> hel...@deepsoft.com   -- Webhosting Services
>>
>>
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to 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/230cc004-5173-499c-98e4-c30451d84f7f%40googlegroups.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/CAB5vWevtbWGVJVRsoU4AVBcdcgah-_-O9YwT9BxFkL%2BSBx8W8g%40mail.gmail.com.


Re: [beagleboard] Having Troubles Getting Started - Keyboard Config & Radios

2019-08-01 Thread Jacob J. Morales Argumedo
Hi Justin,

I think the RDP issue with the keyboard layout you are having is a tightVNC
issue.  Does the information in the following link describe what you are
experiencing?  Do you absolutely need a graphical session to the beaglebone?
https://unix.stackexchange.com/questions/346107/keyboard-mapping-wrong-only-in-specific-applications-under-tightvnc
https://www.reddit.com/r/BeagleBone/comments/a9122q/incorrect_keyboard_mapping_with_tightvnc/
https://groups.google.com/forum/#!topic/beagleboard/YCiECD0fiII

Regarding wifi and bluetooth, you would need to manually set up the
networks using "connmanctl" which is already installed, or uninstall
"connmanctl" and opt for using the network-manager package which has a nice
cursors interface GUI for setting up ethernet or wifi networks.  If you
install network-manager, run "nmtui" for the network manager text user
interface which is very nice.
https://www.digikey.com/en/maker/blogs/2017/how-to-setup-wifi-on-the-beaglebone-black-wireless
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_ip_networking_with_nmtui

For creating users, all Linux distributions will be very similar and you
can find lots of tutorials online such as this one:
https://linuxize.com/post/how-to-add-and-delete-users-on-debian-9/

On Thu, Aug 1, 2019 at 9:14 PM Justin Reina  wrote:

> Hi,
>  I have just purchased a Seeed Beaglebone Green Wireless and am having
> difficulties getting it up. I see the following problems -
>
> *   Remaining Problems*
>
>1. RDP Keyboard layout is wrong
>2. Add a new admin user ('Justin')
>3. Enable WiFi
>4. Enable Bluetooth
>
> I have spent much more time than expected at this, see attached for
> detailed description of procedure. I have found instructions for each
> (#1-#4), but have failed to get these completed.
>
> To start small, if possible, how can I correct #1? PuTTy works just fine
> (Serial & SSH).
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to 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/b72d8395-0a73-445d-a805-097f29bbbd98%40googlegroups.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/CAB5vWeucx3jCVOs%3Dcp5VV34xa%3DPNMF-o_nc3kDnW-Z%3DzkHOVpA%40mail.gmail.com.