nparafe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nparafe has joined #beagle
TheConceptBoy has quit [Quit: Client closed]
TheConceptBoy has joined #beagle
<TheConceptBoy> Good evening, everyone.
<TheConceptBoy> I've gotten a fresh installation of beaglebone black debian
<TheConceptBoy> I went with the website advertised version instead of the nightly builds this time due to a library dependency being made for that version
<TheConceptBoy> I need to grant debian user permissions to gpio
<TheConceptBoy> I'm not sure why it's not already there by default
<TheConceptBoy> The reason I suspect it's the permissions is because of a python error
<TheConceptBoy> ValueError: Set gpio mode failed, missing file or invalid permissions.
<TheConceptBoy> it mentions permissions so that's what I'm on to checking first
<TheConceptBoy> Also, on an unrelated question
<TheConceptBoy> what's the point of root if everything can be sudo overwritten
<TheConceptBoy> hmm... I'm honestly this close to just abandoning linux altogether, going back to esp32, slapping a big ass spi ram chip so I can work with json data and stick wit the land where everything... just... works...
vagrantc has joined #beagle
TheConceptBoy has quit [Quit: Client closed]
starblue has quit [Ping timeout: 264 seconds]
starblue has joined #beagle
<set_> Hello!
<set_> Do not give up on Linux.
<set_> Use udev rules instead.
<set_> TheConceptBoy: I think the missing permissions are due to an error in udev or the older firmware that one may be using.
<set_> Anyway, w/ power comes responsibility. Right!
<zmatt> sounds like it failed changing the pin mode, which suggests to me maybe he was trying to use a pin that was already in use e.g. for hdmi
<set_> oh!
<set_> That makes sense.
<set_> he seems agitated. Linux can get the best of 'em!
<set_> Maybe some cool soothing music?
<set_> hummmmm. Clank but w/out the bang, bang?
<set_> Soothing music calms the calamity of Linux when things get adjusted in a manner in which needs special attention.
<set_> @zmatt: I thought you already told him about the uEnv.txt file that is available on the beagleboard.org images?
<set_> is pathlib broken w/ the newer images?
<set_> never mind me.
<set_> It seems w/ the newer images, blah.
buzzmarshall has quit [Quit: Konversation terminated!]
<zmatt> no?
<set_> no?
<set_> @zmatt: Today was Thanksgiving. I am thankful for you and our kind words.
<set_> Yes. our.
<set_> Ha.
<set_> Anyway, I was using libgpiod again on the newer images w/ a .dts file but the .dts file was a sysfs file.
<set_> So, things broked.
<set_> Blah.
<set_> I was using the RelayCape and found that the CIS (Cape Interface Spec) is using sysfs instead of libgpiod for writing a .dts file.
<set_> Anyway, this is common still! Phew.
<set_> At least the libgpiod file I wrote does not keep the gpio high now when the file exits/ends.
<set_> It used to keep the pin high. Now, it just breaks the gpio pin, still, but not as a floating high pin.
<set_> It returns low.
ikarso has joined #beagle
<ds2> happy thanksgiving!
<zmatt> set_: it sounds like all of your problems are caused by using libgpiod... have you considered the simple fix of not using libgpiod ?
<set_> Yes
<set_> I have considered it.
<set_> Hey ds2.
<set_> Happy thanksgiving.
vagrantc has quit [Quit: leaving]
rob_w has joined #beagle
otisolsen70 has joined #beagle
ft has quit [Quit: leaving]
Guest9165 has joined #beagle
<Guest9165> i want to start internet on BBB connected to ubuntu 18.04
<Guest9165> what steps i have to perfrom
Guest9165 has quit [Ping timeout: 260 seconds]
florian has joined #beagle
starblue has quit [Ping timeout: 265 seconds]
starblue has joined #beagle
otisolsen70 has quit [Quit: Leaving]
rob_w has quit [Remote host closed the connection]
ft has joined #beagle
Guest9196 has joined #beagle
<Guest9196> hi
<Guest9196>  i want to connect to internet from BBB
<Guest9196> internet running on ubuntu Linux 18.08
<Guest9196> 18.04
<Guest9196> please reply , what the steps i have to perfrom
<set_> Hello.
<set_> Guest9196: I think the beagleboard.org people have shied away from Ubuntu to dive deeper in Debian for their images.
<set_> Let me see if I can find something.
<set_> Here is a wishbone: https://repos.rcn-ee.com/ubuntu/
<set_> Now, I cannot tell you that will work b/c I have not tested it recently.
<zmatt> he meant ubuntu on his host pc I'm pretty sure, not on the bbb
<zmatt> Guest9196: if the bbb is connected via ethernet to your pc, and your pc has internet via wifi, then you need to enable internet sharing to share your pc's internet to the bbb
<zmatt> I'm off to work, afk
Guest9196 has quit [Ping timeout: 260 seconds]
Parduz has joined #beagle
<Parduz> Hello, i'm struggling with a BBB which does not reads some USB drives (or better, reads only the one i've shipped with it, and not any of the drives the Korean customer tried)
<Parduz> I've found this very old thread:
<zmatt> are you actually seeing babble errors in the kernel log?
<Parduz> i would like to know if the USB problem discussed there is still an issue or was solved.
<zmatt> babble is generally a hardware issue
<zmatt> but I haven't really heard people talking about it in many years, I'm pretty sure the current kernel driver recovers from them
<zmatt> what are you actually seeing in the kernel log?
<Parduz> zmatt: i dont have ANY access to the BBB there. All i know is that my kiosk app does not automatically shows the drive content, which to me means that the sda1 was not mounted by the system
<zmatt> is the usb stick FAT-formatted?
<zmatt> (and not exFAT or NTFS)
<Parduz> yes, FAT32
<Parduz> but mine here works also with NTFS.
<zmatt> k
<Parduz> anyway, we told the customer to format with Fat32
<Parduz> there's this line in FSTAB: /dev/sda1 /media/usb auto user,uid=1000,gid=1000,fmask=0137,dmask=0027,noauto 0 0
<Parduz> and my app check for the media folder every second and shows the content when the folder exists.
<Parduz> "but I haven't really heard people talking about it in many years, I'm pretty sure the current kernel driver recovers from them"
<Parduz> I found that thread 'cause i've see the word "babble" in dmesg on my BBB here. It happened when i removed the USB drive, so i'd say that it should not be related to the old babble issue. Am i right?
<zmatt> that just sounds like an electrical glitch as you removed the usb drive
<Parduz> yup.
<Parduz> but i'm still unable to think at any cause of my problem there in Korea.
<Parduz> the kernel for Debian 10 was already patched for the "babble" problem?
<zmatt> that's going to be very hard to debug without having one of 1. access to the bbb, 2. access to logs, or 3. access to an usb stick that exhibits the problem
<zmatt> I have no idea, but the babble issue was afaik limited to fairly specific hardware scenarios, I don't think it ever happened simply with a usb stick
<Parduz> ues, i see. what i meant is if you never heard of the problem from before Debian 10 or after
<zmatt> I don't remember
<Parduz> kk
<Parduz> thanks
Guest20 has joined #beagle
<Guest20> Hi everyone! I'm new to Beagle and am now working with a BeagleBoneBlack. My beagle was shipped with Debian 10 on the eMMC and what it seems like there is no FAT partition so the SPL and U-Boot would be written in RAW somewhere on the eMMC. Does anyone have a memory layout for the eMMC, i.e. where are SPL, U-Boot and (especially) U-Boot enviroments
<Guest20> written on the eMMC? I cannot find this information anywhere online. Must urgently I now need to configure /etc/fw_env.config so I can use fw_setenv. Later on I will also need to overwrite SPL as well as U-Boot (using dd). Any help would be greatly appreciated!
<zmatt> Guest20: why not just completely reflash eMMC with a new image?
<zmatt> and the default u-boot on beagleboard.org images do not support persistent environment
<Guest20> Aaah ok well that explains a lot already
<zmatt> oh wait you have the latest image, I keep thinking debian 10 is older than buster
<zmatt> SPL with configuration header is at sector offset 256, u-boot.img is at sector offset 768
<Guest20> I cannot do a complete eMMC reflash as I will use my own custom Linux rootfs that I have cross-compiled and my eMMC will be divided into two partitions and to support system update. Then after every update I will use fw_setenv to set a persistens variable that U-Boot will use to know which partition to boot.
<zmatt> I see, then you may need to build u-boot yourself
<Guest20> zmatt thanks! So in the latest Debian image (U-boot is at U-Boot 2019.04-00002-g31a8ae0206 (May 13 2020 - 09:26:17 -0500), Build: jenkins-github_Bootloader-Builder-139) there is no support to for persisting U-boot enviroment?
<zmatt> correct, it only supports the built-in environment
<Guest20> Ok thanks once again! Saved me a lot of trouble trying to find what cannot be found :) I will tweak my own SPL and U-Boot binaries a bit still to make sure the will support persistent variables and then dd them into the memory sectors and hope for the best that it will boot
Parduz has quit [Ping timeout: 260 seconds]
starblue has quit [Quit: WeeChat 3.0]
buzzmarshall has joined #beagle
starblue has joined #beagle
florian has quit [Ping timeout: 264 seconds]
florian has joined #beagle
jfsimon1981_b has joined #beagle
jfsimon1981_b has quit [Read error: Connection reset by peer]
florian has quit [Quit: Ex-Chat]
ikarso has quit [Quit: Connection closed for inactivity]
Posterdati has quit [Read error: Connection reset by peer]
vagrantc has joined #beagle
Posterdati has joined #beagle
vagrantc has quit [Quit: leaving]
jfsimon1981_b has joined #beagle
jfsimon1981_b has quit [Quit: Leaving]
vagrantc has joined #beagle
renrelkha has quit [Quit: bye]
renrelkha has joined #beagle
demirok has joined #beagle
vagrantc has quit [Quit: leaving]
Shadyman has joined #beagle
buckket has quit [Remote host closed the connection]