**** BEGIN LOGGING AT Tue Sep 27 02:59:56 2022 Sep 27 06:49:53 can linux redhat be used for beaglebone green? Sep 27 07:21:12 Guest811131: I mean, technically you can any distro you want... I've never heard of anyone running redhat on a beaglebone though, nor do I have any idea how you'd install it Sep 27 07:25:18 red hat is a commercial product, so you should really ask them Sep 27 07:26:09 why would you even want to though? Sep 27 07:29:05 caught you! Sep 27 07:29:27 @zmatt: What are you doing this fine day (night here)? Sep 27 07:30:14 I usually would not interject when two people are chatting about installing distros on the am335x but... Sep 27 07:30:54 For one, I am annoyed. I get this way. When I get this way, the way of annoyment (probably not a word), I need to interrupt. Sep 27 07:31:35 So, @zmatt. Forget it. I am just desperate to figure out the source of the sysfs-gpio lib. Sep 27 07:32:33 I am getting assertion errors. I figured out the Makefile and the C source but it seems that my programming skills are lacking for now. Sep 27 07:32:37 So, I will keep trying! Sep 27 07:39:38 do I need to apply gpio_read when using an output on the am335x w/ sysfs-gpio? Sep 27 07:52:47 OutputGPIO: sysfs-gpio.c:146: gpio_write: Assertion `value == 0 || value == 1' failed. Sep 27 07:52:49 Aborted Sep 27 07:53:14 This is the error. What assertion should I look at in the lib. for using this value? Sep 27 07:54:34 So, neither of my operands are true for now but the LED lights up? Sep 27 08:19:45 pru __delay_cycles() only takes a constant... is there a equivalent function which would take a variable ? Sep 27 08:22:53 ah define solves ist .. nevermind Sep 27 12:10:30 hi Sep 27 12:12:08 Hi Sep 27 12:12:26 What is the operating temperature for BEAGLEBONE AI-64 Sep 27 12:12:30 Board Sep 27 12:13:46 https://beagleboard.org/ai-64 Sep 27 12:14:02 Please help me on this Sep 27 14:40:42 Hi Sep 27 14:41:21 zmatt, i plan on running brute force tests power on/off for filesystem stength test Sep 27 14:41:42 i'll report the results when i got ot have this done Sep 27 14:41:59 jfsimon1981_b: unless it's 'ro'... i predict filesystem will fail... Sep 27 14:42:53 Yes, ext4 is quite robust though, it does a journel pass on reboot when force unclean off Sep 27 14:43:28 i tweaked the FS biuld so it might not fail even in those conditions, but i want to check the percentage of fails though Sep 27 14:43:48 (but i need it rw) Sep 27 14:44:29 remember, your actually testing two things... ext4 on power on power off.. and the microSD, what does it do when power is yanked.. (no built-in caps, it just loses power).. Sep 27 14:44:47 nope, it don't use it Sep 27 14:45:30 ps, we do ship 'overlayroot' installed by default, this does help in cases power is yanked.. Sep 27 14:45:30 the slot is kept empty in normal application in this case i mean Sep 27 14:45:47 system is 'ro' changes are in memory (overlayfs).. Sep 27 14:46:00 yep though i mush write in this case Sep 27 14:46:21 there are persistent changes needed ie log of rs485 bus data in this case Sep 27 14:46:28 thanks for info though Sep 27 14:46:37 overlayroot allows you to sync... Sep 27 14:47:05 What's the overlay root you mentionned ? Sep 27 14:47:14 syn Sep 27 14:47:23 https://github.com/chesty/overlayroot Sep 27 14:48:05 you can keep the main OS protected by overlayroot, and your data to a 'rw' partition.. Sep 27 14:48:21 I formatted emmc with safewrite (one time config) and slc (2G out of the 4G emmc) Sep 27 14:48:59 that's emmc-utils specific config, but i haven't had time to run tests on it yet, though it seems be working fine Sep 27 14:49:34 I had 2 fs fail in recent past without that, which made me format that way (for production) Sep 27 14:49:42 (or planned production at this point) Sep 27 14:51:12 Your overlay seems very interesting approach Sep 27 14:51:27 How do you manage to store data on media ? Sep 27 14:58:23 I normally keep it in ram, and get it off the device asap.. i assume i'll reboot randomly and loose everything.. Sep 27 14:58:48 yep Sep 27 14:59:05 in my case though i log data, i'll need a way to permament store it Sep 27 14:59:12 for local storage... something with SLC Flash, and a battery backup is key... it's really a hard problem to solve on the BBB design without reworking the board.. Sep 27 15:00:04 i considered a small battery just powerful enough to make a safe shutdown, couple of seconds Sep 27 15:00:28 There is a reason, enterpise storage have ultra-caps or backup batteries in the hardware... Sep 27 15:00:45 although if it turns out the failure rate is about 10^-3 or less probably keep as is Sep 27 15:00:52 wonders, any usb-flash drives with built-in ultracaps? ;) Sep 27 15:01:39 idk, as long as you sense the power is removed, and you have a backup for a few seconds, just enoulgh to time to 'sync and lock' the media's filesystem.. Sep 27 15:02:01 oh like not even a complete shutdown ? Sep 27 15:02:12 interesting Sep 27 15:02:25 with overlayroot, a complete shutdown isn't required.. Sep 27 15:02:33 ok Sep 27 15:02:55 as long as you have enough time to sync, and umount your 'media'.. overlayroot would protect the os.. Sep 27 15:03:43 have you tried btrfs (ignoring the raid* problems..) Sep 27 15:03:47 Sync and unmount which one ? Sep 27 15:03:59 your data partition.. Sep 27 15:04:21 nope i haven't had time so far, i read it's more robst perhaps Sep 27 15:04:43 'copy on write' is more robst... some things in btrfs are iffy (raidx)... Sep 27 15:05:13 we have native btrfs 'booting' support in our images.. Sep 27 15:05:54 ok you mean the bbb image Sep 27 15:06:25 today by default it's ext4... but i added btrfs a few years back.. https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L1779 Sep 27 15:06:55 so u-boot will load everything from btrfs vs ext4.. Sep 27 15:08:18 Thanks for info Sep 27 15:08:50 Hi everybody! I am using BeagleBard-X15 and I have problems with the video acceleration: So when I cannot play a Video (VLC) nor in a webbrowser (Firefox+Youtube). Also Kodi works very slow...how to install the video acceletration drivers? Sep 27 15:08:50 recently I tried many firmware images (i. e. am57xx-debian-11.4-xfce-armhf-2022-09-02-4gb.img.xz) , but I got the same problem! Sep 27 15:08:51 any help? Sep 27 15:09:30 Guest11: i've seen you post this before... Are you offering to write that support? Because it's never exsisted.. Sep 27 15:10:35 Maybe driver support, i remind some applications use the opengl emulation which is indeed slow Sep 27 15:10:46 Hi rcn-ee I need help and I didnT get any support until yet! Do you have any idea to solve my problem? Sep 27 15:11:28 try run the needed apps with another graphic driver, it might do better on cpu without gl emulation Sep 27 15:11:42 all apps that play a video dont work well... Also using a webbrowser playing a video from youtube... same issue Sep 27 15:11:47 Guest11: yeah... it doesn't exist... TI wrote some gstreamer plugg'ins when the am57xx was the latest chip.. but never beyond gstreamer.. so if you want it, you'd need to extend that framework.. Sep 27 15:12:07 You're using btrfs by default right, rcn-ee ? Sep 27 15:12:43 jfsimon1981_b: i had a few test nodes with btrfs by default, but ext4 is our defualt.. to use btrfs you need to pass the option to our "setup_sdcard.sh"... Sep 27 15:12:54 ok Sep 27 15:13:15 was the test success ? Sep 27 15:16:32 jfsimon1981_b: pretty successful, ran into some compression issues, reported them to u-boot, they got fixed.. (so btrfs compression works too).. dpkg/apt was slower then ext4, but that's just the way btrfs is in debian.. Sep 27 15:17:07 at the time btrfs didn't support 'swap file'.. maybe it does now? Sep 27 15:17:28 ah 5.0.x added swap file support... https://wiki.archlinux.org/title/btrfs#Swap_file Sep 27 15:19:29 So you just tested for implementation but ext4 suffice for you case right Sep 27 15:19:58 for the general user, ext4 is fine for BeagleBoard.org offical images.. Sep 27 15:20:18 ok Sep 27 15:20:41 now that swap file is fixed in 5.0.x. i should add a btrfs varient of bullseye and retest more.. Sep 27 15:24:37 Only issues i've had with ext4 were not related to the fs but the way emmc firmware handles writes, apprently, we found discussing here with Matt who pointed that out Sep 27 15:25:01 Though i had 2 fails on poweroff shutdown, not a lot. Sep 27 15:25:05 jfsimon1981_b: and you switched it to slc mode, which should fix that.. Sep 27 15:25:57 I activated the safewrite at emmc level hence i need a more thorough test campaign now, see fail rate. I need to avoid requiring the fsck on reboot, that's the main point Sep 27 15:26:07 Yes both, slc and safewrite. Sep 27 15:27:10 (I remember checking the logs, hence fs was corrupt but ext4 should have handled that which led to this change) Sep 27 15:48:01 Really pleased with c++/cmake Sep 27 15:48:49 Awesome framework to work with, i just edit code through codeblocks and have it compile on the beagle directly through scripts, via make/cmake Sep 27 15:49:06 works well Sep 27 15:49:57 :-) **** ENDING LOGGING AT Wed Sep 28 02:59:57 2022