**** BEGIN LOGGING AT Wed Nov 27 02:59:57 2019 Nov 27 07:40:07 Hello fellow scholars of the Beagle. Perchance, do any of you know the origins of the name Beagle Bone? Ho Ho Ho and have a Holly Jolly Christmas! Nov 27 08:37:37 jolly-ole-saint[: it's a more barebone successor of the original beagleboards... but I don't know where they got their name from Nov 27 19:43:09 rcn-ee[m]: I think my uio pinctrl patch is in a reasonable state now, I've generalized it to all uio drivers (i.e. not just uio_pdrv_genirq but also uio_pruss) and I've added locking. => https://github.com/dutchanddutch/bb-kernel/tree/am33x-v4.14/patches/drivers/uio Nov 27 19:45:11 allowing userspace to select the pinctrl state of an uio device via an ioctl(), e.g. to be able to initialize r30 before configuring pins to pruout, to prevent random values from being driven Nov 27 21:01:16 beaglebone black - 9.9 does not boot? Any ideas. Nov 27 21:02:02 Also, are serial ports finally working? Nov 27 21:09:53 Anyone hearing me? Nov 27 21:25:55 JohnNH: "finally working" ? I'm not aware of them ever having been broken Nov 27 21:26:36 and I'm not sure how you think anyone could possibly help you based on a problem description as terse as "beaglebone black - 9.9 does not boot?" Nov 27 21:28:11 describe precisely 1. what you did, which steps you followed and 2. what problem or behaviour you observed Nov 27 21:36:58 I have a BBB and a seed studio version of BBB. Nov 27 21:37:18 Previously I was unable to get any serial ports other than Nov 27 21:37:32 with the latter you probably mean a BBG Nov 27 21:37:38 main one working. Seemed to require some special stuff. Nov 27 21:37:42 Yup. BBG Nov 27 21:37:57 I am looking into the problem again. Nov 27 21:38:05 did you configure the pins? Nov 27 21:38:32 It was quite a while ago. I tried as much as I could figure Nov 27 21:38:48 out. Eventually plugged in a USB to serial adapter which is Nov 27 21:38:52 still running. Nov 27 21:39:01 e.g. config-pin P9_11 uart && config-pin P9_13 uart for uart4 (/dev/ttyS4) Nov 27 21:39:28 Wow. News to me. Is there a tutorial somewhere. Sounds like Nov 27 21:39:31 it might work. Nov 27 21:40:06 which file does that need to be in? Nov 27 21:40:09 I also have a utility that can give you a detailed overview of your current pin configuration: https://github.com/mvduin/bbb-pin-utils/#show-pins Nov 27 21:40:33 Ah. Sounds most helpful. Nov 27 21:41:08 Right now 9.9 boots on neither board. Maybe burn problem? Nov 27 21:41:15 those are commands you'd need to execute before you can use ttyS4. you can also change the pin configurations programmatically (it's just a matter of writing "uart" into the appropriate sysfs attributes) Nov 27 21:41:33 or you can configure an overlay in /boot/uEnv.txt to ensure the pins are configured right away from early boot Nov 27 21:42:11 did you verify the sd card after writing it? (or write the sd card using a program that does so automatically, like Etcher) Nov 27 21:42:27 At this moment I am trying to get BBG working but have forgotten Nov 27 21:42:36 what's the name of the image file you wrote to sd card? Nov 27 21:42:50 root password.... I will mount it and try to get into root Nov 27 21:42:57 so I can see uEXT. Nov 27 21:43:29 uext? Nov 27 21:43:47 The file I wrote is the one on the web-latest for 9.9 with lxqt Nov 27 21:43:56 and for BBB Nov 27 21:44:05 ew, lxqt Nov 27 21:44:16 yup Nov 27 21:45:03 unless you really need a desktop environment running on your bbb (which is uncommon) you may want to consider the iot image, which requires less space and boots faster Nov 27 21:45:05 I use Linux. I did not check file for correct download, but will. Nov 27 21:45:06 but that aside Nov 27 21:45:36 Good idea. I will do that. Takes a while to download. Slow DSL line. Nov 27 21:45:51 well, it takes less time than the lxqt one :) Nov 27 21:46:20 For sure. I have a faster line at the factory and normally download there. But still DSL. Nov 27 21:46:29 Not much fiber around here yet. Nov 27 21:46:40 jkridner, rcn-ee[m]: the flasher image at https://beagleboard.org/latest-images is still outdated Nov 27 21:47:08 Oh. Where is latest image? Nov 27 21:47:46 on that page, second big blue link from the top (Debian 9.9 2019-08-03 4GB SD IoT) Nov 27 21:48:00 yup. I remember that. Nov 27 21:48:27 I was just reminding them that the flasher image on that page is still the previous image Nov 27 21:48:55 You are MOST helpful!!!! Nov 27 21:48:58 (that's not a biggie, it's trivial to turn a normal image into a flasher image if you want to flash it to eMMC, which is certainly recommended) Nov 27 21:49:41 I would rather run from SD if I can reliably. Easy to fix bad filesystem that way. Nov 27 21:49:44 anyway, if you have the right image and write it properly to sd card (using Etcher is recommended), it should just boot... Nov 27 21:50:17 I am excited to learn how to get serial ports running. That would be a big help. Nov 27 21:50:55 if there's a really ancient bootloader on eMMC then to boot from sd card you may need to power on with the S2 button held down (the one closest to the sd card slot, hold it while connecting power and release it after the power led turns on) Nov 27 21:51:26 yeah in general most pins have multiple functions, they default to gpio and if you want a different mode then you need to explicitly select it Nov 27 21:51:35 It does boot 9.4 OK which makes me suspect a bad burn or download. Nov 27 21:51:47 seems plausible enough Nov 27 21:52:02 and eMMC filesystem is also prettty easy to recover, I just boot from an sd card and then mount the eMMC Nov 27 21:52:42 I am not a big fan of eMMC. Rather have dual SD. Another story. Nov 27 21:53:07 If fact this box runs off SD plugged into USB2 adapter. Nov 27 21:53:13 I wouldn't want to use SD for primary storage in typical applications Nov 27 21:53:25 Because?? Nov 27 21:54:41 SD has poor reliability and lifetime (unless you get industrial sd cards), and on the AM335x the max transfer speed of eMMC is twice that of SD cards Nov 27 21:55:13 (not that eMMC has infinite lifetime, it certainly doesn't, but it should at least be better than typical SD cards) Nov 27 21:55:16 Thanks. Real data. I design test equipment so ability Nov 27 21:55:26 to easily change modes seems important. Nov 27 21:56:29 plus I'd be concerned about the SD card coming dislodged due to vibration/shock (e.g. when shipping a product with a BBB integrated) or the contacts going bad over time Nov 27 21:56:33 I have found SD easier to back up. Copy image to backup, etc. Nov 27 21:57:18 I have not seen that yet. Good points. Nov 27 21:57:32 to make a full backup of a BBB I just boot from SD card and create an image file of the eMMC Nov 27 21:57:43 Makes sense. Nov 27 21:57:48 or just rsync over the network Nov 27 21:58:15 Can BBB or BBG boot with no eMMC? if it goes bad for example. Nov 27 21:58:36 sure, from SD card... or netbooting if you're feeling very adventurous Nov 27 21:58:55 I have tried net booting. Didn't work very well. Nov 27 21:59:09 Most people want test equipment to be stand alone. Nov 27 21:59:45 I have not tried disabling eMMC to see if it really still boots. Nov 27 22:00:21 it really still boots, I can tell you that Nov 27 22:00:41 Glad you were on-line. You have gotten me to look carefully Nov 27 22:00:55 at BBB and BBG again!! Very much appreciated!!! Nov 27 22:00:56 we have BBBs with eMMC destroyed due to wear-out, they boot fine from SD card Nov 27 22:01:10 Ah. Very nice to know. Nov 27 22:01:38 (we don't really have further use for those, but we donate them to a hackerspace so they can have a second chance at being useful) Nov 27 22:02:14 Yup. I too have a pile of cards. No local hackerspace here though. Nov 27 22:04:11 btw, "22:09 < JohnNH> Anyone hearing me?" was a fairly silly thing to say :P in general, when trying to get help here, state your problem/question clearly so someone knowledgable who glances at chat can perhaps answer it without having to pry more details out of you, and then have patience since most people here only glance at chat occasionally so it can easily take quite a while to get a response Nov 27 22:04:48 Yup. Good point. I am using irssi and wondered if I was Nov 27 22:05:11 write blocked. Didn't see my stuff on web log. Nov 27 22:05:34 Glad this resource is here!!! Nov 27 22:05:52 I am going to try your suggestions now. Back in a bit. Nov 27 22:50:32 zmatt: Got your program. Got into BBG. Not sure where in Nov 27 22:51:48 in sysfs to put config-pin P9_11 uart config-pin P9_13 uart Nov 27 22:52:11 or where format is detailed. But may become clear as I read more. Nov 27 23:36:23 JohnNH: config-pin is just a command Nov 27 23:36:34 see config-pin --help Nov 27 23:47:56 zmatt: have you actually measured the eMMC speed vs a fast microSD card? Nov 28 00:06:44 ^ interesting... Nov 28 00:36:42 ds2: the fastest interface supported by SD cards and the AM335x is 48 MHz 4-bit SDR hence the theoretical absolute maximum transfer speed is 24MB/s (that's power-of-ten MB), while reading from eMMC gives me around 43 MB/s *in practice* Nov 28 00:37:35 zmatt: does writing come out comparable? Nov 28 00:37:52 iirc both are 4-bit interfaces :sadpanda: Nov 28 00:37:58 eMMC is 8-bit Nov 28 00:38:06 (thugh I don't recall any 8-bit uSD ones fitted) Nov 28 00:38:10 ah thats nice Nov 28 00:38:22 SD is never 8-bit Nov 28 00:38:27 oh ok. Nov 28 00:38:34 not enough pads I guess Nov 28 00:38:40 my bad. Nov 28 00:39:41 write speed depends a lot on which eMMC chip you have (the BBB has switched a number of times), and it's also improved a lot when the eMMC is reconfigured to SLC mode Nov 28 00:39:59 ah how does that occur (reconfiguration) ? Nov 28 00:40:21 or rather, how is that defined? Nov 28 00:40:56 there's a bunch of settings you can configure, once (OTP), all at the same time, and then you power-cycle the eMMC and it will wipe and reconfigure itself Nov 28 00:41:36 ah so not something that can be done on an 'existing' board Nov 28 00:41:52 I mean, you can, if you then reflash it :) Nov 28 00:43:11 well, yes .. you say its a OTP thing though .. does that mean it doesn' get factory set? Nov 28 00:43:18 nope Nov 28 00:43:35 the BBB has 'em in pristine unconfigured state Nov 28 00:43:48 ooh, shiny :D Nov 28 00:44:05 that warrants a wiki article :D Nov 28 00:44:27 although .. possibly not a public one, else everyone go prom'ing andn whining :D Nov 28 00:45:55 8 bit is not supported for SD Nov 28 00:47:35 SD has only 4 data lines Nov 28 00:48:44 that's part of the SD spec Nov 28 00:49:46 zmatt: so you have measured the read speed on the emmc? Just to confirm your earlier statement Nov 28 00:49:54 yes Nov 28 00:51:17 don't uSD have more 'pins' though? I didn't think BBB had a physical SD slot (like the Old Pi's) .. Nov 28 00:51:32 or is the spec generic across all *SD permutations? Nov 28 00:51:33 microSD has only 8 contacts total: gnd, vdd, clk, cmd, 4x data Nov 28 00:51:39 gotcha, OK Nov 28 00:51:49 plain SD has a 9th contact which is an extra GND Nov 28 00:51:53 my recollection of spec is vague since I only skimmed it Nov 28 00:52:11 UHS-II added additional bits, but that's a completely different bus stuck on the side (like USB3 did) Nov 28 00:52:15 *additional pins Nov 28 00:53:46 ah **** ENDING LOGGING AT Thu Nov 28 02:59:57 2019