Re: [beagleboard] Cannot update Kernel on BBAI by running update_kernel.sh

2019-08-29 Thread Ivan Milojevic
Me too :)

Regards

On Fri, Aug 2, 2019 at 5:13 PM Matwey V. Kornilov 
wrote:

>
> Me too.
>
> пятница, 7 июня 2019 г., 23:44:19 UTC+3 пользователь Alex Hayman написал:
>>
>> Is it possible for me to get hands on a Beaglebone AI?  I would be very
>> interested in trying it out.
>>
>> On Thursday, June 6, 2019 at 12:14:21 PM UTC-4, Jason Kridner wrote:
>>>
>>> On Thu, Jun 6, 2019 at 12:00 PM ScoreCan 
>>> wrote:
>>> >
>>> > yup. Tried that. No luck.
>>> >
>>> > Already up-to-date.
>>>
>>> It is on the wrong branch by default.
>>>
>>> Try:
>>>
>>> git remote update
>>> git checkout -b rcn-master origin/master
>>>
>>> >
>>> > --
>>> > For more options, visit http://beagleboard.org/discuss
>>> > ---
>>> > You received this message because 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/97967023-00b9-4095-adaf-f2860d089dc9%40googlegroups.com.
>>>
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> --
>>> https://beagleboard.org/about - a 501c3 non-profit educating around
>>> open hardware computing
>>>
>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you 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/4eb93d35-2afe-4bf7-8f7a-a8e1542b8ffd%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/CAL5fGGobd1s%3Du%2Bxk9xBC5%2BjmCtupv-YjM7J4UV2-B52%3DpZiy%3DA%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] 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.


[beagleboard] Re: 192.168.7.2 connection timeout error and disappearance of E drive within a few minutes

2019-08-29 Thread debounce
Hi User PC,

You did not need to install any drivers that require disabling driver 
signature verification.  As a matter of fact you do not need to install any 
drivers on Windows 10.  The instructions that you probably followed are not 
100% correct.  I know this because I ran into the same confusion when I 
first got my BBB a few months ago.

Basically, all you need to do is set your static IP address to 
192.168.7.1.  The beaglebone black has it's subnet set up so that the IP 
address range is 192.168.7.1 through 192.168.7.2.  Obviously, with the BBB 
being ".2", your PC must be on ".1"  Once you to this, try to connect again 
using firefox, it will go right through.  Note that if you are using MAC or 
LINUX, your static IP should be 192.168.6.1, with the subnet mask on the 
BBB only allowing IP address ranges of 192.168.6.1 through 192.168.6.2.

When you set up the static IP, make sure you do it for the beaglebone 
network card that shows up, not your PC's physical network card.  If you 
installed any drivers, I would remove them.  The new BBB boards do not 
require drivers.

On Thursday, August 29, 2019 at 2:23:37 PM UTC-5, user pc wrote:
>
> Hi, I got BeagleBone Black Wireless. I connected it to my PC running 
> Windows 10 64-bit. After spending lots of time to find that I needed to 
> disable Driver Signature Verification, I installed the drivers successfully 
> from the E drive by running BONE_D64. After installation, I typed 
> 192.168.7.2 under Firefox and got the connection timeout error. Could you 
> please let me what to do to resolve this issue? 
>
> Also, after I pressed the reset button, the 4 LEDs near the microusb 
> connector blinked. Then, E drive showed up on the screen. However, after a 
> minute or so, the E drive disappeared from Windows and all those four LEDs 
> were turned off. Is this normal? Why the E drive disappeared from Windows. 
> Could it be that the usb cable does not supply enough power to the board? 
> Should I use a 5VDC 2A to supply power source?
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/574c7c2f-7a39-4043-ad8f-2ec2168b634f%40googlegroups.com.


Re: [beagleboard] Prevent OS damage

2019-08-29 Thread Robert Nelson
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.


Re: [beagleboard] config-pin lacking

2019-08-29 Thread Robert Nelson
On Thu, Aug 29, 2019 at 2:23 PM  wrote:
>
> config-pin does not have the functionality necessary, especially for the PRU 
> pins. We lack the ability to allow pull ups and pull downs with the pin 
> functions. In general, I believe it would make more sense to allow or-ing of 
> speed | input | up/down | enable pull | mode.
>
> Should config-pin be changed to allow more flexibility?

config-pin is just a helper that reads these points from sysfs:

https://github.com/beagleboard/BeagleBoard-DeviceTrees/blob/v4.19.x-ti/src/arm/am335x-bone-common-univ.dtsi#L268-L271


For the PRU's would it actually be useful?  For pretty much for-ever,
we've had the pru output set as:

PIN_OUTPUT_PULLDOWN | INPUT_EN | MUX_MODE5

and pru input as:

PIN_INPUT | MUX_MODE6

Mark/Jason, would this make sense to extend it.. ?

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/CAOCHtYg-ksjOJ%3Dxt3i6Fv6JxYsKOSDhNNjVm7sChqc-SjEf66A%40mail.gmail.com.


Re: [beagleboard] SPI1 not working: 9_28 Pinmux file missing from ocp directory

2019-08-29 Thread Robert Nelson
On Thu, Aug 29, 2019 at 2:23 PM  wrote:
>
> While attempting to use the SPI1 pins, I have had trouble in configuring the 
> pins. I had it working after updating to the 4.19.50-ti-rt-r25 kernel, but 
> then it mysteriously stopped working. I believe it stopped when I included 
> the BB-I2C2-00A0.dtbo file in the uBoot, but I can't be sure.
>
> Here's where the error happens:
> debian@beaglebone:~$ config-pin -a 928 spi_cs
> P9_28 pinmux file not found!
> bash: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state: No such file or 
> directory
> Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state
>
> When I look for this P9_28 file in the ocp directory, I do not see 9_28, 
> 9_29, 9_30, nor 9_31 pinmux.
> drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_27_pinmux
> drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_41_pinmux
> It skips right over.
>
> debian@beaglebone:~$ uname -r
> 4.19.59-ti-rt-r25
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> [sudo] password for debian:
> git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
> eeprom:[A335BNLTEIA04218BBBK0D06]
> 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.19.59-ti-rt-r25]
> nodejs:[v6.14.4]
> uboot_overlay_options:[enable_uboot_overlays=1]
> uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo]

Well yeah... 9_28 is already CS..

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-SPIDEV1-00A0.dts

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/CAOCHtYh3G05fuGYEdh%2BtPsbEZ6JfFCOizeVaQdY%3Dz-DikG0sNg%40mail.gmail.com.


[beagleboard] Beaglebone Black as HID emulator from Laptop

2019-08-29 Thread d3dh via BeagleBoard
Hello, i want send packets from laptop via ethernet throught BBB to other 
PC USBlike HID emulator.
How possible to do 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a0a3b3b0-897f-4e28-985b-6561bec7d208%40googlegroups.com.


[beagleboard] config-pin lacking

2019-08-29 Thread gnorris
config-pin does not have the functionality necessary, especially for the 
PRU pins. We lack the ability to allow pull ups and pull downs with the pin 
functions. In general, I believe it would make more sense to allow or-ing 
of speed | input | up/down | enable pull | mode.

Should config-pin be changed to allow more flexibility?


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/77bbba31-1f3a-4652-b344-66ef7f051531%40googlegroups.com.


[beagleboard] Trouble writing to tty4

2019-08-29 Thread 8f3ce83498e833582895217584b537
I'm attempting to write to tty4 and the code I'm using is failing.

The simple test of 'echo asdf > /dev/ttyO4' gets the expected output on the 
CRO.

But the following segments of code result in a roughly appropriately sized 
dip in the TX line, but not data (the TX line goes low for long enough to 
have sent the 256 bytes it is trying to send, but it should be going up and 
down for that period).

int fd;
struct termios uart4, old;

void UART_Initialize()
{
char buf[30] = "/dev/ttyO4";
fd = open(buf, O_RDWR | O_NOCTTY);
int flags = fcntl(fd, F_GETFL, 0);
fcntl(fd, F_SETFL, flags | O_NONBLOCK);
if (fd < 0)
printf("port failed to open\n");
tcgetattr(fd, );
bzero(, sizeof(uart4));
uart4.c_cflag = B9600 | CS8 | CLOCAL | CREAD | PARENB;
uart4.c_iflag = IGNPAR | ICRNL;
uart4.c_oflag = 0;
uart4.c_lflag = 0;

uart4.c_cc[VTIME] = 0;
uart4.c_cc[VMIN] = 1;

tcflush(fd, TCIFLUSH);
tcsetattr(fd, TCSANOW, );
}

void UART_SendByteArray(uint8_t * byteArray, uint16_t size)
{
write(fd, byteArray, size);
}

void main()
{
  UART_Initialize();
  uint8_t password[256] = {0};
uint16_t loopIndex = 0;

for (loopIndex = 0; loopIndex < 256; loopIndex++)
{
password[loopIndex] = 0xFF;
}

UART_SendByteArray(password, 256);
}


I have read the definitions of each of the parameters used in the init 
function and they all make sense, so I'm at a lost to why the UART does not 
send the data correctly.

Any pointers will be very helpful.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/807d186a-25f4-40fd-ac94-164032544bdb%40googlegroups.com.


[beagleboard] building wifi ac driver/module for BBB issue

2019-08-29 Thread bernid111
HI, 
I use Beagle Bone Black (BBB) and Arch few days:
Linux BBB 5.2.10-2-ARCH #1 PREEMPT Tue Aug 27 13:54:27 UTC 2019 armv7l 
GNU/Linux

I would like to build  driver/module for Realtek RLT8821CU WIFI AC dongle. 

BBB has the same architecture as RPI armv7l/armhf so I thought I could use 
driver for RPI.
I found https://github.com/brektrou/rtl8821CU and adjusted for RPI. I've 
build it in the Rasbian environment (kernel 4.19.66-v7+) and works OK for 
my RPI2.
I have applied the same adjustments (marks green):
https://github.com/zebulon2/rtl8812au/commit/d80d907e84be6001edbc08f8f0d0b93be1538094
 to BBB but  unfortunately during building I receive:
gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together

This is strange because in the makefile I have only:
EXTRA_CFLAGS += -mfloat-abi=hard

see the  line 1180 of Makefile: 
http://paste.ubuntu.com/p/KYw5YQBk3C/
(which worked fine for RPI). 
What should I adjust in the Makefile (or somewhere else) to disable 
-mfloat-abi=soft?
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/114ba58e-e122-47eb-9632-af2f12416c85%40googlegroups.com.


[beagleboard] BBB wrong keyboard layout

2019-08-29 Thread Jaume F
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.


[beagleboard] Prevent OS damage

2019-08-29 Thread m . santiago . rico
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?

Thanks in advance!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8221dc56-2045-4c0b-8c6d-8549271f7f59%40googlegroups.com.


[beagleboard] BB black and lcd 7 inch

2019-08-29 Thread spidou60
Hello,

what software can I use to create screens on a 7 inch touchscreen?
Best regards
Sébastien

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/bb513b5e-443a-4964-be6f-3e102873d7bc%40googlegroups.com.


[beagleboard] Beaglebone Black EGL Screen rotation

2019-08-29 Thread zirexix
Hi,

Os: Linux beaglebone 4.14.108-ti-r108 #1 SMP PREEMPT Tue Jun 18 05:11:38 
UTC 2019 armv7l GNU/Linux
Egl :EGL vendor string: Imagination Technologies
EGL version string: 1.4 build 1.14@3699939 (MAIN)
EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base 
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image 
EGL_KHR_gl_renderbuffer_image E
GL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync 
EGL_IMG_context_priority EGL_IMG_hibernate_process 
EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_contex
t EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display 
EGL_EXT_image_dma_buf_import
EGL client APIs are: OpenGL_ES 
.. and much more





I cannot get over with display going in portrait mode when rendering EGL 
full screen.

I want to make the change permanent portrait mode.



 echo 1 > /sys/class/graphics/fbcon/rotate_all   


does rotate the fb as text and linux fb mode, but when using the QT on 
eglfs or EGL app;s like gles1test1 is allways landscape.

Though the

 export QT_QPA_EGLFS_ROTATION=90


does nothing.

Any help 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/d24b567e-2914-434c-ba21-c61e69b1e2c9%40googlegroups.com.


[beagleboard] Bluetooth - hcitool

2019-08-29 Thread dzhou . frc
Hi,
I have BeagleBone Black - wireless board. (Debian - stretch)

I run hcitool lescan command. It only displays at a rate of >30s of 
bluetooth beacon advertisements. But the actual beacon sends out an 
advertisement every 100ms. Is there a scan interval/duration setting, or it 
only displays at lower rate, or hardware scan problem? 

Thank you,

David 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/13a244de-320f-4ee7-9c68-cc5e58dfa21e%40googlegroups.com.


[beagleboard] RGB24 LCD - can't change the polarity of the DE signal?

2019-08-29 Thread Rasmus Backman
Hello,

I'm trying to add a E50RG84885LWAM520-CA 
TFT
 
LCD to my BeagleBone Black Wireless. It has an ILI9806E controller IC.

I can't seem to get the correct polarity for the DE signal. The controller 
is expecting an active LOW DE signal.

I have tried setting de-active = <0>; to my devicetree overlay, but it 
seems that setting is ignored. When I measure what the output of the BBBW 
is, all other control signals look correct except for that one.

My overlay is enabled in /boot/uEnv.txt: 

dtb_overlay=/lib/firmware/RB-TFT-PROTOTYPE-V1-00A1.dtbo

Apart from measuring the output, I can also see with fbset that the 
resolution and bpp settings have been accepted, so the .dtbo is definately 
loaded at boot...

My whole devicetree file is here: 
https://gist.github.com/RasmusB/cea0cb4c2f69259497b3e37ac0347e76


Any ideas on where I should look next?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/bf9cdfa8-ee20-47e1-98b1-424f2a0d4de5%40googlegroups.com.


[beagleboard] Inconsistently Booting Pocketbeagle

2019-08-29 Thread evan . a . craig
I have a pocketbeagle with a bela mini cape attached. I'm having an issue 
where the board will power up fine is left unplugged for 20-30 seconds but 
if it is plugged in before then the power led on the pocketbeagle just 
flashes. Does anyone know why this might be happening?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/9c0a3ba5-5771-48ce-8e4b-d1f8f3bf0a2a%40googlegroups.com.


[beagleboard] Missing antenna in BeagleBone Black Wireless

2019-08-29 Thread user pc
Hi, I bought BeagleBone Black Wireless from Newark. Both the box and the 
Quick start guide has a photo of the board with two antennas. However, mine 
only has one. What is happening? I checked with support and they said that 
it does not come with any antenna and I have to buy separately. This is 
strange. In the past, they also told me that the usb cable has to be 
ordered separately but it came with the board. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/53437945-7218-452f-ab29-8a540456af46%40googlegroups.com.


[beagleboard] SPI1 not working: 9_28 Pinmux file missing from ocp directory

2019-08-29 Thread britchie . ipa
While attempting to use the SPI1 pins, I have had trouble in configuring 
the pins. I had it working after updating to the 4.19.50-ti-rt-r25 kernel, 
but then it mysteriously stopped working. I believe it stopped when I 
included the BB-I2C2-00A0.dtbo file in the uBoot, but I can't be sure.

Here's where the error happens:
debian@beaglebone:~$ config-pin -a 928 spi_cs
P9_28 pinmux file not found!
bash: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state: No such file or 
directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state

When I look for this P9_28 file in the ocp directory, I do not see 9_28, 
9_29, 9_30, nor 9_31 pinmux.
drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_27_pinmux
drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_41_pinmux
It skips right over.

debian@beaglebone:~$ uname -r
4.19.59-ti-rt-r25

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
eeprom:[A335BNLTEIA04218BBBK0D06]
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.19.59-ti-rt-r25]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-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.20190812.0-0rcnee0~stretch+20190812]
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.315958] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[1.339726] gpio-of-helper ocp:cape-universal: ready
END




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/a9cbc5e9-efe8-468f-9001-426b8343bf8a%40googlegroups.com.


[beagleboard] 192.168.7.2 connection timeout error and disappearance of E drive within a few minutes

2019-08-29 Thread user pc
Hi, I got BeagleBone Black Wireless. I connected it to my PC running 
Windows 10 64-bit. After spending lots of time to find that I needed to 
disable Driver Signature Verification, I installed the drivers successfully 
from the E drive by running BONE_D64. After installation, I typed 
192.168.7.2 under Firefox and got the connection timeout error. Could you 
please let me what to do to resolve this issue? 

Also, after I pressed the reset button, the 4 LEDs near the microusb 
connector blinked. Then, E drive showed up on the screen. However, after a 
minute or so, the E drive disappeared from Windows and all those four LEDs 
were turned off. Is this normal? Why the E drive disappeared from Windows. 
Could it be that the usb cable does not supply enough power to the board? 
Should I use a 5VDC 2A to supply power source?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/8e210cf5-65a1-45a5-a9c6-eb3f23255b85%40googlegroups.com.


[beagleboard] Beaglebone green WiFi Hotspot/Tether disable

2019-08-29 Thread bharat
Beaglebone green has a WiFi Hotspot/Tether enabled by default
It has no password and so is unsecure
Is ther a way to set password or else disable this functionality

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/1a1633f1-11d2-47b7-a58a-d8a65e725150%40googlegroups.com.


[beagleboard] Really enjoyed your article

2019-08-29 Thread Katy Wilson
Hey just had a quick question to run by you,



Katy here from Education Unlimited. We are one of the largest student summer
camp organizers out here in the West Coast.



The reason I’m reaching out to you is because of your piece (which I really
enjoyed reading by the way): https://beagleboard.org/blog/2014-04-13-dude-
wheres-my-beaglebone-black. I also noticed that you referenced coursera.org.



Coincidently, I recently created a detailed resource on the same topic (Top
Colleges Offering Free Online Courses). I was wondering if you could reference
and link to my article as well (since it’s up to date and extensively
researched). I’m quite certain your readers will appreciate the updated
reference and it would be a great addition to your already fantasic piece.



Here’s my article:



https://www.educationunlimited.com/blog/what-universities-offer-free-online-
courses/



Let me know what you think.



Thanks,

Katy Wilson

Education Unlimited

![](https://nyl.as/open/19jcy23dwfhh6l9ctkonnprq/4evjdfp1nmzwlujyzcoiycegi?cache_buster=1567021382840)

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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/4evjdfp1nmzwlujyzcoiycegi-0%40mailer.nylas.com.


[beagleboard] Antenna that come with BeagleBone Black Wireless

2019-08-29 Thread user pc
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.


[beagleboard] Re: Beaglebone Black wake up from resume on GPIO event

2019-08-29 Thread zx . jerry
Hi, Sanchayan 

What HW version of bbb are you using to verify deep sleep?

Can you post the link? Since we are testing it also and from TR I saw that 
power management chip is needed to realize deep sleep, I guess the hw 
version of bbb matters.

Thanks in advance!


Regards
Tibalt

在 2018年2月10日星期六 UTC+8上午12:59:17,Sanchayan Maity写道:
>
> Stupid me for not consulting the TRM and thinking the hardware engineer 
> did his job. Only GPIO bank 0 allows wakeup and I only have pins from GPIO 
> banks 1 and 2 connected for wakeup.
>
> http://www.ti.com/lit/an/sprac74a/sprac74a.pdf
> Section 3.2.3 clarifies it.
>
> - Sanchayan.
>
> On Thursday, February 8, 2018 at 11:11:32 AM UTC+5:30, Sanchayan Maity 
> wrote:
>>
>> Hi Lloyd,
>>
>> The RTC wakeup is only useful for me from the point of view testing. For 
>> my project, I need wake up on GPIO state change and CAN.
>>
>> From your tests, it would seem "mem" suspend which is suspend to memory 
>> and the actual deep sleep mode, does not work on 4.9 kernel. "standby" mode 
>> is not that useful for me, since I want the deepest sleep mode possible.
>>
>> Thanks & Regards,
>> Sanchayan.
>>
>> On Wednesday, February 7, 2018 at 8:49:00 PM UTC+5:30, Lloyd Bailey wrote:
>>>
>>> Hi Sanchayan,
>>>
>>>
>>> Have you tried:-
>>> rtcwake -m standby -s 30 (the debian version I am using do not wake from 
>>> mem).
>>>
>>> This command never wakes up
>>> rtcwake -m mem -s 30
>>>
>>> This wakes up after 30 seconds or if I insert or remove the USB to 
>>> serial TTL cable
>>> rtcwake -m standby -s 30
>>>
>>> Linux arm 4.9.67-ti-r82 #1 SMP PREEMPT Fri Dec 8 02:39:42 UTC 2017 
>>> armv7l GNU/Linux
>>>
>>>
>>> Hope this helps,
>>>
>>> Lloyd.
>>>
>>>
>>> On Wednesday, 7 February 2018 02:35:38 UTC, Sanchayan Maity wrote:

 Hello,

 I am using a Beaglebone Black running the latest Debian Stretch on it.

 debian@beaglebone:~$ cat /etc/os-release 
 PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
 NAME="Debian GNU/Linux"
 VERSION_ID="9"
 VERSION="9 (stretch)"
 ID=debian
 HOME_URL="https://www.debian.org/;
 SUPPORT_URL="https://www.debian.org/support;
 BUG_REPORT_URL="https://bugs.debian.org/;

 debian@beaglebone:~$ uname -a
 Linux beaglebone 4.4.91-ti-r133 #1 SMP Tue Oct 10 05:18:08 UTC 2017 
 armv7l GNU/Linux

 I have downloaded the Linux kernel source from below to compile and use 
 custom device trees.
 https://github.com/beagleboard/linux.git

 diff --git a/arch/arm/boot/dts/am335x-boneblack-custom.dts 
 b/arch/arm/boot/dts/am335x-boneblack-custom.dts
 index 0c68a88..a85990d 100644
 --- a/arch/arm/boot/dts/am335x-boneblack-custom.dts
 +++ b/arch/arm/boot/dts/am335x-boneblack-custom.dts
 @@ -10,10 +10,49 @@
  #include "am33xx.dtsi"
  #include "am335x-bone-common-no-capemgr.dtsi"
  #include 
 +#include 
  
  / {
 model = "TI AM335x BeagleBone Black";
 compatible = "ti,am335x-bone-black", "ti,am335x-bone", 
 "ti,am33xx";
 +
 +gpio-keys {
 +compatible = "gpio-keys";
 +pinctrl-names = "default";
 +pinctrl-0 =  <_gpio_pins>;
 +
 +power1 {
 +label = "CAN1_WakeB";
 +gpios = < 2 GPIO_ACTIVE_HIGH>;
 +linux,code = ;
 +debounce-interval = <10>;
 +wakeup-source;
 +};
 +
 +power2 {
 +label = "CAN1_WakeA";
 +gpios = < 13 GPIO_ACTIVE_HIGH>;
 +linux,code = ;
 +debounce-interval = <10>;
 +wakeup-source;
 +};
 +
 +power3 {
 +label = "CAN0_WakeB";
 +gpios = < 15 GPIO_ACTIVE_HIGH>;
 +linux,code = ;
 +debounce-interval = <10>;
 +wakeup-source;
 +};
 +
 +power4 {
 +label = "CAN0_WakeA";
 +gpios = < 22 GPIO_ACTIVE_HIGH>;
 +linux,code = ;
 +debounce-interval = <10>;
 +wakeup-source;
 +};
 +};
  };
  
  _reg {
 @@ -52,6 +91,15 @@
  BONE_P9_17 (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3)
  >;
  };
 +
 +wakeup_gpio_pins: pinmux_wakeup {
 +pinctrl-single,pins = <
 +BONE_P8_07 (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE7)
 +BONE_P8_11 (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE7)
 +BONE_P8_15 (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE7)
 +BONE_P8_27 (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE7)
 +>;
 +};
  };

 I can see that the events are generated using "evtest".

 root@beaglebone:/home/debian# evtest
 No device specified, trying to scan all of /dev/input/event*
 Available devices:

[beagleboard] Reduce Boot time for Ubuntu 18.04 LTS Image

2019-08-29 Thread deepak
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.