Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread evilwulfie
the EMMC can also suffer from the plug being pulled On 3/19/2018 5:59 PM, Troy Weber wrote: > probably not! I'll have to look into flushing buffers, I've never > heard of that. > > Troy Weber > Mechatronics / Software Developer > troywwe...@gmail.com > 707-761-1644 >

[beagleboard] Enhance U-boot to provide console over USB serial?

2018-03-19 Thread Rick Mann
Is it possible to enhance U-boot such that (or does it already support) it presents as USB CDC class peripheral, so that standard OS drivers can connect, and get to the boot console that way? This has the disadvantage that you probably can't attach to the console until after boot is underway, s

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Troy Weber
probably not! I'll have to look into flushing buffers, I've never heard of that. Troy Weber Mechatronics / Software Developer troywwe...@gmail.com 707-761-1644 sent from mobile On Mon, Mar 19, 2018, 5:55 PM Graham wrote: > As a matter of buffer hygiene, are you flushing the buffers to the sd ca

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Graham
As a matter of buffer hygiene, are you flushing the buffers to the sd card after every time you write to it? Something like the equivalent of the 'sync' command? If there is still unwritten info in the buffers when the power gets pulled, bye-bye data. In Linux, when the mounted drive is suddenly

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread evilwulfie
I dont know if its for sale there was a battery cape or you can go with custom hardware On 3/19/2018 4:56 PM, Troy Weber wrote: > Well we need to be able to pull the plug without damaging things. Is > the best option then to have a battery system that allows BBB to > listen for loss of power and

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Troy Weber
Well we need to be able to pull the plug without damaging things. Is the best option then to have a battery system that allows BBB to listen for loss of power and gracefully shut down? Are there alternative methods? Troy Weber Mechatronics / Software Developer troywwe...@gmail.com 707-761-1644 sen

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread evilwulfie
Well yes if you fail to unmount a file system you can have issues. On my systems i designed a battery backup system to prevent just the issues you are seeing now. It does not happen all the time but one time is unacceptable. Beaglebone is a live filesystem and you cant just pull the plug. -- For

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Troy Weber
I failed to attach it. It would not download the file (due to an io error). So the file I just attached is empty. When I cat the file on the linux system I get the following: # cat /media/sd/config/WaterfallDiceGame.json { "_id": 302, "name": "diceGamePrototype", "type": "system", "labe

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Troy Weber
I should also say that adding noatime does not appear the solve the issue. One configuration file in particular that is on the card appears somehow corrupted after the aforementioned reboots. It's attached. On Monday, March 19, 2018 at 4:03:23 PM UTC-7, Troy Weber wrote: > > Probably not. I shou

Re: [beagleboard] Wrong SPI configurations when using config-spi??!

2018-03-19 Thread John Syne
When configured for a function like SPI or I2C, the mux pins are configured as inputs. Regards, John > On Mar 19, 2018, at 2:04 AM, salahuddin...@gmail.com wrote: > > Hi all, > > I'm trying to configure SPI using config-pin tool. > The tool only changes the mode and set it to SPI. However

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Troy Weber
Probably not. I should clarify that by a "hard reboot" I mean that essentially someone pulls the plug (or toggles a switch in the back). So no effort (to my knowledge) is made to unmount the micro SD card. On Monday, March 19, 2018 at 3:53:29 PM UTC-7, Wulf Man wrote: > > does it unmount properl

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread evilwulfie
does it unmount properly every time on reboot ? On 3/19/2018 3:43 PM, Troy Weber wrote: > I will try that. I read up on *noatime*. > > *noatime* > Do not update inode access times on this filesystem (e.g., for > faster access on the news spool to speed up news serve

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Troy Weber
I will try that. I read up on *noatime*. *noatime* Do not update inode access times on this filesystem (e.g., for faster access on the news spool to speed up news servers). This works for all inode types (directories too), so implies

Re: [beagleboard] SD card errors on hard reboot

2018-03-19 Thread Robert Nelson
On Mon, Mar 19, 2018 at 4:55 PM, Troy Weber wrote: > Hello! > > I have an application running on the Beaglebone Black. It runs from the eMMC > because we need to mount a blank SD card and occasionally store data or > video on the external SD card. Here are some details to jog ideas: > > using a Be

[beagleboard] SD card errors on hard reboot

2018-03-19 Thread Troy Weber
Hello! I have an application running on the Beaglebone Black. It runs from the eMMC because we need to mount a blank SD card and occasionally store data or video on the external SD card. Here are some details to jog ideas: - using a Bealgebone black - connected to a powered hub and runnin

Re: [beagleboard] Ethernet fails 3% of the time

2018-03-19 Thread Robert Nelson
On Mon, Mar 19, 2018 at 3:47 PM, Dave Tucker wrote: > Ethernet on my Beaglebone Black is failing to come online about 3% of the > time after power up. Attached are dmesg output from times when ethernet > works (good_dmesg.txt) and the more rare times when it fails > (bad_dmesg.txt). I've also at

[beagleboard] Re: Ethernet fails 3% of the time

2018-03-19 Thread Dave Tucker
Oh, and I should note kernel is 4.12.12-yocto-standard. -- 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 t

[beagleboard] Ethernet fails 3% of the time

2018-03-19 Thread Dave Tucker
Ethernet on my Beaglebone Black is failing to come online about 3% of the time after power up. Attached are dmesg output from times when ethernet works (good_dmesg.txt) and the more rare times when it fails (bad_dmesg.txt). I've also attached full_bad_boot.txt which is the debug serial output

[beagleboard] Bonescript Visual Blocks Editor : Suggestions

2018-03-19 Thread Vaishnav Ma
Hi, I am Vaishnav, an undergraduate student from Kerala,India, I would like to know the opinion of fellow group members about a project idea i have i my mind : I would like to develop a Blocks Editor(similar to MIT App Inventor/Microsoft Blocks Editor:for micro:bit) for , i am planning to bu

Re: [beagleboard] Re: Cape Manager for U-Boot

2018-03-19 Thread lgilbert
Thanks for responding! Sorry for the delay in my reply, I did not have access to my BBB over the weekend. One interesting note is that not only do our dts files work individually, but they also work when combined into one giant dts, so I don't believe there is any issue with their formatting.

Re: [beagleboard] POCKET BEAGLE - HOWTO CONFIGURE & COMPILE KERNEL?

2018-03-19 Thread Robert Nelson
On Mon, Mar 19, 2018 at 9:12 AM, wrote: > Hello all! I've got a Pocket Beagle running "Linux beagle bone > 4.9.83-ti-r104 #1 SMP PREEMP", I would like to change the kernel > configuration to include support for the Realtek RTL8821AE WiFi driver. I > see the option to load the driver in the Networ

[beagleboard] POCKET BEAGLE - HOWTO CONFIGURE & COMPILE KERNEL?

2018-03-19 Thread joekouyoumjian
Hello all! I've got a Pocket Beagle running "Linux beagle bone 4.9.83-ti-r104 #1 SMP PREEMP", I would like to change the kernel configuration to include support for the Realtek RTL8821AE WiFi driver. I see the option to load the driver in the Network Device Support section of the kernel config

[beagleboard] Does not detect RTC (ds1307)

2018-03-19 Thread Paco Velasco
When I connect the rtc it does not detect the 68 address (I2C Tool). I have test with 2 RTC diferent,and with the BBB I have no problem. Anybody knows what could be the problem? Thanks -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subsc

[beagleboard] Re: BeagleBone Black Wireless with UBUNTU 16.04 Xenial Wi-Fi not working

2018-03-19 Thread Chrysomallis Iason
UPDATE: After trying several suggestions, I have ended up in the following situation; I've set up an ad-hoc connection (I chose "Shared to other computers" method in the IPv4 setting tab) on my UBUNTU laptop (device A). https://www.dropbox.com/s/qpb3ggutgos9jfd/scrnshot_19-3_HOSTPC.png?dl=0 Then,

[beagleboard] Wrong SPI configurations when using config-spi??!

2018-03-19 Thread salahuddinash
Hi all, I'm trying to configure SPI using config-pin tool. The tool only changes the mode and set it to SPI. However, all the SPI pins configured by config-pin are configured to be INPUT. This should not be like this. How can I fix it? uname -a Linux beaglebone 4.9.82-ti-r102 #1 SMP PREEMPT Th