**** BEGIN LOGGING AT Mon Feb 24 02:59:57 2020 Feb 24 03:01:30 Forget it. I will figure it out. Feb 24 03:01:36 I know stuff, man. Feb 24 03:01:41 Ha. Feb 24 03:05:14 Anyone used the CoolGear USB-2COM-BB? Feb 24 03:16:39 Not me. Feb 24 03:16:59 Have you "re-set up" the bonescript and cloud9 ide on the boards? Feb 24 03:21:11 Maybe GenTooMan is around and he can check. Feb 24 03:25:04 KenUnix: I think @zmatt and GenTooMan had a conversation while you were away. It was about that thing they were discussing. Feb 24 03:26:09 Oh, the CoolGear USB-2COM-BB cap? Feb 24 03:26:35 I am not sure. It was about something like a Power Adapter to another thing. Feb 24 03:26:42 It was for your issue earlier. Feb 24 03:26:51 Let me check the logs. Feb 24 03:27:49 Well I do know now adding a "cap" you definitely want an external 5V supply. Feb 24 03:27:56 POE splitter w/ barrel connect came up (b/c supposedly they come w/ barrel jack connects). Feb 24 03:28:19 Did you see the logs? Feb 24 03:28:58 It may be easier to just use a 5V supply and not *muck* with POE. Feb 24 03:29:51 Well, anyway. I was asking about something earlier but I guess i lost some attention b/c of my issues. Feb 24 03:30:14 Anyway...wait around or not. I have to add text to my site. Be around later. Feb 24 03:30:14 KenUnix: that "cape" looks weird, I don't understand why it's a cape Feb 24 03:30:18 Ethernet to router, power, perhaps the "cap" and remote serial via header. Feb 24 03:30:26 since it sounds like it's just a usb device Feb 24 03:31:24 (specifically, a usb hub with some random shit connected to it) Feb 24 03:31:31 Hi. Well it's dual USB, dual RS-232 via DB-9 and an additional SD-Card slot. Feb 24 03:32:02 yeah, so it's a 5-port usb hub with two usb ports, two usb-serial converters, and an sd card reader Feb 24 03:32:20 the bbb won't be able to boot from that sd card, so it's not a replacement for your broken one Feb 24 03:32:49 I like the additional SD-Slot for storage and read/writes/backups Feb 24 03:33:05 why not use an usb stick? Feb 24 03:33:39 Then I would loose the USB mini-port, no? Feb 24 03:34:01 or, when you have a bbb without broken sd card slot, boot from internal eMMC and use the sd card slot for whatever Feb 24 03:34:09 the mini-USB is the device port, not the host port Feb 24 03:34:37 the BBB has only one host port, so if you want to connect multiple devices you'd need to attach a usb hub... which is exactly what this weird thing does Feb 24 03:35:06 note that usb performance is crap on the BBB (mostly due to the kernel driver being crap), so I don't know what sort of performance you'll get Feb 24 03:36:02 (and usb traffic causes high cpu load) Feb 24 03:36:17 Oh, rite, it's late, here is the site for that cap https://www.coolgear.com/product/beaglebone-black-usb-expansion-rs232-module Feb 24 03:37:27 self-powered? really? I don't see any power connector on this thing Feb 24 03:38:07 no schematic Feb 24 03:38:35 Using USB Flash on one of the host ports WOULD allow me to save/read data from it. No more broken SD pins. I promise. Feb 24 03:39:49 I don't get a good feeling from this thing, and it looks weird... I'd just go with a normal usb hub and attach whatever devices you want Feb 24 03:40:08 It obtains power via the BBB headers. Not separate power. Feb 24 03:41:11 The BBB has 3 USB ports. Can't I use one for the flash drive? Feb 24 03:41:11 okay, so either they're effectively bus-powered but without the protection (if they draw from sys_5v) or the cape won't work if the BBB is powered via usb (if they draw from vdd_5v) Feb 24 03:41:20 3? since when? Feb 24 03:41:47 OK, 2 sorry. Feb 24 03:41:52 the BBB has one device port (mini-B) and one host port (A) Feb 24 03:42:36 So can't I plus flash into host port A? Feb 24 03:42:42 what device (or devices, when using a hub) you attach to it is entirely up to you... as long as you keep into mind that performance is meh Feb 24 03:42:50 what? why not? Feb 24 03:44:16 the only sort of usb devices that might pose a problem are those that draw a lot of power, especially peak power (e.g. some wireless transmitters), in which case inserting a self-powered usb hub between the BBB and the device should help Feb 24 03:45:15 Manuals are at https://www.coolgear.com/product/beaglebone-black-usb-expansion-rs232-module Feb 24 03:46:11 I don't see any Feb 24 03:46:40 ah now I do Feb 24 03:47:06 which doesn't contain anything useful Feb 24 03:48:45 definitely nothing that would change my opinion that this product is not worth getting Feb 24 03:50:01 To change subject do you know anything about the ODROID-HC1? Feb 24 03:51:27 KenUnix: Stick around, man. I think it is neat you know how to do stuff. Feb 24 03:51:35 I am still just learning. Feb 24 03:51:55 KenUnix: nope, looks like one of the many random boards based on cellphone SoCs Feb 24 03:54:39 i.e. often decent performance and low cost, but questionable long-term support and often poor or mediocre mainline linux support Feb 24 03:54:56 but that's just some generalizations, I don't know anything specific about this board Feb 24 03:56:18 Yes, especially considering only supports kernel to 4.14 Feb 24 03:57:12 Personally I don't like the ratsberry... Feb 24 03:58:06 Seems to me the BBB is fine for many projects. Feb 24 03:58:53 yeah, that's what you often see... vendor gives you some old heavily-patched kernel and says "here ya go", and then you hope volunteers manage to rewrite the necessary drivers bit by bit to get it into mainline Feb 24 03:59:56 while TI is actively involved in getting their SoCs supported in mainline Feb 24 04:00:20 and with TI SoCs you can just go to the website and download the 5000+ page technical reference manual of the SoC Feb 24 04:01:15 while broadcom's website doesn't even have any evidence than the SoC on the rpi exists at all Feb 24 04:06:33 like, literally: https://www.google.com/search?q=bcm2837+site:broadcom.com&tbs=li:1 Feb 24 04:08:13 Well I inserted flash on BBB and did a fdisk /dev/sda as a Linux partition w it but can't mount it? Feb 24 04:08:31 why not? Feb 24 04:09:25 debian@beaglebone:~$ sudo mount /dev/sda sda[22067.095538] F2FS-fs (sda): Can't find valid F2FS filesystem in 1th superblock[22067.105965] F2FS-fs (sda): Can't find valid F2FS filesystem in 2th superblock[22067.115500] F2FS-fs (sda): Can't find valid F2FS filesystem in 1th superblock[22067.124341] F2FS-fs (sda): Can't find valid F2FS filesystem in Feb 24 04:09:26 2th superblockmount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error Feb 24 04:10:06 you tried to mount the whole disk instead of the partition Feb 24 04:10:25 and it seems it misdetected it as f2fs Feb 24 04:10:55 (probably because you tried to mount the whole disk instead of the partition, but even then it seems weird) Feb 24 04:12:30 I'll try 0ne partition, wait. Feb 24 04:13:24 Same error. Feb 24 04:14:04 what filesystem did you format it as? Feb 24 04:15:20 Only choice was Linux. Maybe format it with 2 partitions? Feb 24 04:15:29 "linux" is not a filesystem type Feb 24 04:15:48 I suspect you're talking about partition type in fdisk, but fdisk doesn't format filesystems Feb 24 04:16:07 it just creates partitions Feb 24 04:16:31 Device Boot Start End Sectors Size Id Type/dev/sda1 2048 61800447 61798400 29.5G 83 Linux Feb 24 04:16:39 something called mkfs from my memory Feb 24 04:16:43 yeah that's just the partition type Feb 24 04:16:52 mkfs.ext4 yeah Feb 24 04:17:15 OK, wait. Feb 24 04:17:24 which is better for a flash file system ext3 or ext4? Feb 24 04:17:25 mkfs.ext4 /dev/sda1 .. and maybe some more options are desirable, or maybt not... Feb 24 04:17:45 ext4 Feb 24 04:18:51 I think they're the same kernel driver anyway nowadays? it's just that formatting as ext3 disables some newer options, most notably journaling Feb 24 04:20:12 OK, sudo mkfs.ext4 /dev/sda1 worked. Can now mount. Thanks. Wonder is Windoze can read this drive? Feb 24 04:21:39 I think with the introduction of wsl2 it should be possible, but dunno about any details Feb 24 04:22:22 article https://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows/ Feb 24 04:22:56 No Windoze no like. Wants to reformat drive. Feb 24 04:23:08 yeah it won't be as simple as stick it in Feb 24 04:23:17 that would be too convenient Feb 24 04:24:18 Any ideas? Feb 24 04:24:54 the ideas I had are what I just said, and GenTooMan clearly had additional ones Feb 24 04:24:59 no doubt, google can get you even more Feb 24 04:25:24 I'm not a windows user so you'll have to evaluate these options for their merit yourself Feb 24 04:30:40 I tried "windows read ext4" in google Feb 24 04:33:54 maybe "windows wsl2 read ext4"? Feb 24 04:34:46 well wsl2 is just a possible means to an end, not the ultimate goal Feb 24 04:35:11 Oh. oh...you are trying to make it possible w/in a Win desktop env? Feb 24 04:37:42 https://superuser.com/questions/37512/how-to-read-ext4-partitions-on-windows is something that is brief. Feb 24 04:38:12 I found some software sources too but nothing in the realm of 100% workage. Feb 24 04:38:35 Something called disk"" something or other. Feb 24 04:39:55 I would esp. be careful w/ dealing w/ those sources. I am sure there is a reason these two OSs are different. Feb 24 04:41:05 Oh and Linux allows for reading the Win files when you dual-boot. Feb 24 04:41:59 You can install files directly into linux from win when dual-booting. Feb 24 04:44:45 No. Feb 24 04:50:38 From what I read, win (ntfs) does not provide support for linux (ext4). Feb 24 04:50:48 Third-party software may help, though. Feb 24 04:56:33 did anyone try wine on arm? Feb 24 05:03:40 OK installed Diskinternals package and can read Thumb drive from BBB. Very handy. Shame you can't write to it. Windoze too stupid? I tried WSL but only sees C: as /mnt/c. Feb 24 05:06:15 God it's midnight. Hurry up and get the magic shoe. Feb 24 05:08:09 Got a lot accomplished tonight. Thanks guys! Feb 24 05:10:38 There is a long line of people in line to figure it out. Godspeed. Feb 24 05:11:14 Oh! Feb 24 05:11:33 There are only so many types of cards that can be read. Feb 24 05:11:40 Not all but some. Feb 24 05:12:49 Which ones? I do not know. Feb 24 05:14:58 Paragon Software software claims read/write but it's $20 bucks. Feb 24 05:16:01 At https://www.paragon-drivers.com/en/lfswin/ Feb 24 05:17:02 https://www.diskgenius.com/how-to/ext4-windows.php is the other one I found that I mentioned earlier but beware. Feb 24 05:17:49 Does setting up UEFI boot help at all? Feb 24 05:20:33 https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions is some general info. from their docs. for UEFI boot. Enjoy! Feb 24 05:23:41 DiskGenius is $70 bucks. Feb 24 05:23:47 One more link about that Pi thing w/ Win, if anyone is interested: https://docs.microsoft.com/en-us/windows/iot-core/manage-your-device/windowsfilesharing. Feb 24 05:23:50 Oh. Feb 24 05:24:12 That is as much info. is they are giving out for now. Feb 24 05:25:49 Gotta go, bed time. Good night... Feb 24 05:26:54 Is that info. you are requesting b/c of a need to put the Core on a BBB? Feb 24 05:48:35 https://uefi.org/specifications is a start. Test all of them. Feb 24 05:54:51 One last link here and then good day: https://uefi.org/learning_center/industryresources. Feb 24 06:19:19 https://lists.01.org/hyperkitty/ is something else I found. Not very open but informational. Feb 24 08:40:46 rcn's latest images have many precompiled dtbo in /lib/firmware, how to check their content ? Feb 24 08:50:14 https://github.com/RobertCNelson/linux-dev Feb 24 08:54:42 veremitz: I mean the original dtsi of those dtbos, perhaps these ? https://github.com/beagleboard/bb.org-overlays/tree/master/src/arm Feb 24 08:55:23 there could be a combination possibly Feb 24 08:56:03 but they do have to match running kernel version Feb 24 09:19:20 right Feb 24 12:08:44 https://github.com/RobertCNelson/linux-stable-rcn-ee/tree/4.14.108-ti-r120/arch/arm/boot/dts (replace kernel version in the url by the kernel version of interest) Feb 24 12:09:08 @ fred__tv_ Feb 24 16:11:09 m Feb 24 16:14:31 hello!! Feb 24 16:55:29 zmatt if you are "there" how do identify the eMMC fs that has the boot from SD bug (IE one holds the user key to boot from SD once and thereafter it won't boot from eMMC) and how does correct it? Feb 24 16:55:53 how does one identify (incomplete... sentence king) Feb 24 17:09:46 I have no idea what you're referring to Feb 24 17:10:01 I've never heard of any such bug Feb 24 17:13:50 nor would I even have a hypothesis on how such a thing could happen Feb 24 17:16:38 unless you're talking about the fact that if you power up with the S2 button held down that it will boot from SD instead of eMMC until next power cycle.. which isn't a bug but intended behaviour, and has nothing to do with eMMC contents Feb 24 18:35:07 good to hear Feb 24 18:38:58 it was something I remembered likely from years ago with the early BBB, I was concerned about updating my BBB.B units because one has to flash a new image from SD Feb 24 19:34:39 if you boot from a flasher card using the S2 button then it should always reflash eMMC with no regard to its current contents Feb 24 19:35:10 (the S2 button is often unnecessary, but it avoids the potential for issues if the bootloader on eMMC is severely old) Feb 24 19:50:06 hmm hopefully I won't have to do something more draconian. the uboot settings are in the eMMC or someplace else? (I likely would put them some place else but that's me). Feb 24 19:52:04 for rcn's u-boot builds, its settings are embedded in the binary, augmented by whatever it loads from /boot/uEnv.txt (if the typical boot process is followed) Feb 24 19:52:41 not sure what you mean by "something more draconian" Feb 24 19:53:24 the normal reflashing process fully wipes eMMC and creates a new partition table and filesystem and installs a fresh bootloader Feb 25 00:31:26 zmatt? Feb 25 01:39:07 Anyone know if Debian 9 has the driver built in for Realtek RTL8192CUS USB WiFi adapter?? Feb 25 01:46:08 Hey KenUnix: Hello! Feb 25 01:46:31 I do not know but stick around. Someone should show their mug at some point. Feb 25 01:49:22 "mug" Ha! I'll be around off to another screen for a couple Feb 25 02:17:08 I'm back Feb 25 02:17:20 Okay. Feb 25 02:17:44 So, Realtek RTL8192CUS? Feb 25 02:17:54 Did you look up the idea online yet? Feb 25 02:19:22 https://askubuntu.com/questions/246236/compile-and-install-rtl8192cu-driver shows some people talking about the driver at hand. Feb 25 02:19:52 Are you using Debian? Feb 25 02:19:58 https://wiki.debian.org/rtl819x Feb 25 02:20:10 On that debian link, there is a long list of what is available. Feb 25 02:20:48 Well yea, but all old references. BBB appears to have driver at /lib/modules/4.14.71-ti-r80/kernel/drivers/net/wireless/realtek/rtl8xxxu Feb 25 02:22:25 Leme check that link Feb 25 02:23:08 Yes BBB out of the box is Debian 9 Streach Feb 25 02:24:17 Right. Feb 25 02:26:25 I see the cu driver is available. https://wiki.debian.org/rtl819x#supported-rtl8192cu. Feb 25 02:26:49 That last link shows the supported devices. Feb 25 02:28:39 https://wiki.debian.org/HowToIdentifyADevice/USB shows further down the page a BBB reference! Feb 25 02:28:50 Please hold. taco time! Feb 25 02:30:09 No body appears to have the RTL8192CUS just the RTL8188CU. Not a good sign. Feb 25 02:32:55 Oh, I got the flash USB working and loading fine. Comand follows: Feb 25 02:35:27 Do once: fdisk /dev/sda it as a Linux partition. Thensudo mkfs.ext4 /dev/sda1mkdir sda Then after to mount: sudo mount --make-shared /dev/sda1 sda Feb 25 02:36:30 When done before shutdown do a: sudo umount sda Feb 25 02:36:54 the --make-shared makes no sense Feb 25 02:37:05 Oh. You need the CUS. Sorry. Feb 25 02:37:33 If I don't do that then folder sda is owned by root Feb 25 02:39:10 zmatt, Ever added WiFi to a BBB? If so what product did you use? Feb 25 02:43:05 KenUnix: You are going to need the barrel jack for use when adding WiFi. Feb 25 02:43:12 set_: ??? Feb 25 02:43:22 Forget it. I did it again without --make-shared now it owned by debian??? Feb 25 02:43:26 For powering the BBB! Feb 25 02:43:26 KenUnix: not really, though I've done some testing with the BBBW Feb 25 02:43:35 KenUnix: --make-shared does not do what you think it does Feb 25 02:43:46 nor should it do anything in this context I think, but I'm not sure Feb 25 02:43:54 honestly I would have assumed that command is a syntax error Feb 25 02:44:13 I should put something together for Mardi Gras. Fat Tue. is tomorrow! Feb 25 02:44:31 BBB Mini Float? Feb 25 02:45:02 (since --make-shared can normally only be done on an existing mountpoint. for new mounts there's the "shared" mount option, but I'm pretty sure that's the default anyway) Feb 25 02:45:10 set_, blinking blue leds and all Feb 25 02:45:31 Ya' know! Feb 25 02:45:44 I need Green, Gold, and Purple. Feb 25 02:46:34 Trump's visit to India all those folks were wearing all kinds of colors. Feb 25 02:46:46 KenUnix: if you add a suitable line to fstab with the "users" mount option then you can mount and unmount it as normal debian user (no sudo) when you want Feb 25 02:47:38 Oh. Feb 25 02:47:54 ownership and permissions inside the mountpoint are just those of the root directory of the mounted filesystem, so you'd need to set those (once) with sudo chown and chmod Feb 25 02:48:27 Here is whats what debian@beaglebone:~$ cat /etc/fstab# /etc/fstab: static file system information.#/dev/mmcblk1p1 / ext4 noatime,errors=remount-ro 0 1debugfs /sys/kernel/debug debugfs defaults 0 0 Feb 25 02:48:46 KenUnix: please don't try to paste multiline output into irc, it doesn't work Feb 25 02:48:54 use a paste service like pastebin.com to share it Feb 25 02:49:15 if your bbb has internet you can just do pastebinit /etc/fstab Feb 25 02:50:01 debian@beaglebone:~$ cat /etc/fstab Feb 25 02:50:52 .. /dev/mmcblk1p1 / ext4 noatime,errors=remount-ro 0 1 Feb 25 02:50:57 please read what I just said Feb 25 02:51:13 debugfs /sys/kernel/debug debugfs defaults 0 0 Feb 25 02:51:16 instead of continuing to attempt to paste stuff into chat like this Feb 25 02:51:57 OK. Do you have a line to add to fstab? Feb 25 02:52:18 didn't you have unix experience? :P Feb 25 02:54:15 OK did the paste thing and got http://paste.debian.net/1132064/ Feb 25 02:54:49 oh that's just the default fstab, I thought you intended to share your attempt or something Feb 25 02:54:55 Yes, Unix & Hp-UX and AIX but ts been some time. Feb 25 02:55:20 /dev/sda1 /path/to/mountpoint ext4 users,noauto 0 0 Feb 25 02:55:33 might be a suitable begin Feb 25 02:56:17 it may be wise to use a match on UUID instead of "/dev/sda1" since that device name might not be stable for usb devices Feb 25 02:57:10 Please cut me some slack. After my stroke & forced to retire & now eye problems I'm doing the best I can. Feb 25 02:57:53 (but just using /dev/sda1 suffices for a first test) Feb 25 02:59:51 to use the UUID, determine what it is for your filesystem using sudo blkid /dev/sda1 and then use an fstab line similar to: **** ENDING LOGGING AT Tue Feb 25 02:59:57 2020