**** BEGIN LOGGING AT Mon Nov 29 02:59:56 2021 Nov 29 08:21:45 hello Nov 29 08:22:13 do graphical image do something more to enable HDMI output? I had a flashed a non-graphical image and definitely HDMI signal is off completely Nov 29 08:22:21 (buster version) Nov 29 11:49:16 markand: pretty sure even the console image should have hdmi output, even if it's just a terminal, unless video has been disabled in /boot/uEnv (but it is enabled by default) Nov 29 11:56:32 markand: be mindful of automatic screen blanking though, some keyboard input may be needed to wake up the screen. adding consoleblank=0 to the kernel parameters ('cmdline' in /boot/uEnv.txt) should prevent automatic blanking (although I'm reading mixed results about that, it seems on some systems it's getting changed by something at runtime) Nov 29 12:10:10 let me try all of that Nov 29 15:52:01 did the service generic-board-startup.service moved into a different package from wheezy to buster? on buster it seems to be in bb-customizations, not on wheezy Nov 29 17:08:10 you're doing archeology? Nov 29 18:54:28 Hi! I want to build BuildRoot for PocketBeagle, but i can't find any pocketbeagle_defconfig in https://github.com/beagleboard/buildroot/tree/master/configs Nov 29 18:55:51 Should I use beaglebone_defconfig instead? Nov 29 19:08:45 Siegurd, yeap.. Nov 29 19:23:48 Should I follow this tutorial https://bootlin.com/pub/conferences/2018/elce/petazzoni-buildroot-tutorial/petazzoni-buildroot-tutorial.pdf ?  It uses 0001-Stripped-back-pocketbeagle-devicetree.patch, 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch, 0002-U-Boot-BeagleBone-Cape-Manager.patch and 0003-pocketbeagle-tweaks.patch in /patches directory. Nov 29 19:23:48 Patch files I found here: https://github.com/mixaz/buildroot-pocketbeagle/tree/master/board/pocketbeagle. Or this isn't a good idea to follow this instruction? My goal is to run my C++ program as soon as possible after power up with UART, SPI and USB interfaces using. With official Debian Image and systemd service magic I can run my program 30 Nov 29 19:23:49 seconds after power up. The Ideal result I want to reach is 10-15 seconds or less if possible. So I want to try BuildRoot or Yocto systems but I'm not sure with is better in this situation. Nov 29 21:00:59 Siegurd: you don't need yocto/buildroot to boot quickly, I got this boot time on a debian system after putting a bit of effort into optimizing it: https://liktaanjeneus.nl/boot.svg Nov 29 21:05:39 zmatt can you tell what changes do you made? I Suppose you were editing kernel's *_defconfig file and build the kernel? Nov 29 21:07:44 shrinking the kernel will help (mine is under 4MB) since it's just less data for u-boot to load into memory Nov 29 21:08:28 getting rid of initramfs (it's normally not needed) helps for the same reason Nov 29 21:08:52 getting rid of unnecessary services helps Nov 29 21:09:26 I also switched the network manager from connman to systemd-networkd Nov 29 21:10:05 I made instructions for radxa zero to reduce some boot time, but its not suitable for pocketbeagle :)    https://forum.radxa.com/t/instruction-how-to-update-debian-kernel-with-a-deb-patch-remove-raid6-bench-at-boot-1-sec/7903 and https://forum.radxa.com/t/instruction-of-how-to-fix-2-seconds-delay-at-boot-and-not-working-reboot/7898 Nov 29 21:10:22 I should note this is on a beaglebone black, you'll always get a slower boot on a pocketbeagle since it doesn't have eMMC and can only boot from SD card Nov 29 21:10:49 oh yeah I also built u-boot without the boot delay Nov 29 21:11:22 I disabled RAID entirely in the kernel config Nov 29 21:11:55 though I think rcn's kernel already disables the RAID benchmarking anyway, iirc Nov 29 21:12:45 note that if you want to build customized version of rcn's debian kernel packages, he has tools that make it quite easy and convenient to do so Nov 29 21:13:32 my notes on doing so: https://pastebin.com/eLhrp1Hg Nov 29 21:14:29 (the kernel series in the current stable images is 4.19-ti, which is the ti-linux-4.19.y branch of https://github.com/RobertCNelson/ti-linux-kernel-dev/ ) Nov 29 21:16:05 yeah, look, the raid benchmarking is already disabled in the 4.19-ti kernel series: https://pastebin.com/raw/yQpPp2Jz Nov 29 21:19:33 zmatt ok, i got the point. What exactly can I "safely" disable? Nov 29 21:19:51 zmatt thanks by the way! Nov 29 21:21:14 I mean, that's kinda unanswerable since it depends on your situation... Nov 29 21:22:27 like, normally one of the first things I'd disable is generic-board-startup since nothing it does is useful to me, however you're using a pocketbeagle which doesn't have ethernet so you're presumably relying on usb networking, which by default is getting setup by that service Nov 29 21:22:48 what can I start with? I need only UARTs SPIs USB (for external RNDA modem) things for my C++ program. Nov 29 21:27:09 getting rid of initramfs is a start Nov 29 21:28:04 i.e. remove /boot/initrd.* and to make sure they don't get regenerated "sudo apt remove initramfs-tools-core" Nov 29 21:30:20 I also have these notes on how to use systemd-networkd as network manager on beagleboard.org images: https://pastebin.com/3tjj3v3R ... which includes removing generic-board-startup and will definitely improve boot time. Nov 29 21:31:52 note however that the replacement setup only has an RNDIS gadget (supported by Linux and Windows, except whenever microsoft breaks it again on windows), as opposed to the default setup which has RNDIS (but setup differently I think) but also CDC-ECM or CDC-NCM (supported by Mac and linux) Nov 29 21:32:32 on the pocketbeagle you should obviously omit the eth0.network config file since it doesn't have ethernet Nov 29 21:36:15 disabling cape-universal and using an overlay to enable the peripherals you need and setup gpios also reduces boot time (by avoiding loading drivers you're not using and also reducing the amount of devices to be scanned by udev), though I think on the pocketbeagle you can't actually disable cape-universal Nov 29 21:51:40 upd: just finished compilation of a buildroot. The final sdcard.img does not boot. Only the power led is flashing on the board... that's sad... Nov 29 21:52:13 flashing? o.O Nov 29 21:54:21 sorry its just in ON state ) Nov 29 21:57:05 ah Nov 29 21:57:16 well, can't help you with that, I know nothing about buildroot Nov 29 22:01:29 I will try few things with buildroot and report on success. Maybe it will help someone.) Nov 29 22:52:57 I wondering is there some utility that you can specify all your #define's and it will generate list of system services required. Or it's some kind of magic? Nov 30 00:17:27 OK, BuildRoot starts 9 seconds from power up to login. That's amazing! Nov 30 00:30:30 Buildroot! Nov 30 00:30:34 Dang it. Nov 30 00:41:48 Morti: You are a terrible person but good a programming. Nov 30 00:42:19 * set_ says Morti is terrible. Do not trust Morti. Nov 30 00:53:31 Just playin' Morti. Sorry. Nov 30 00:53:39 :) Nov 30 00:54:09 Siegurd: Did it boot? Nov 30 00:54:20 yes Nov 30 00:54:24 nice! Nov 30 00:54:47 I struggled w/ the WiFi on the BBBW before today. Nov 30 00:55:09 Some said do this, I tried "this," and guess what happened? Nov 30 00:55:19 THat happened and not this. Nov 30 00:55:23 Blah. Nov 30 00:55:36 Heh) Nov 30 00:55:53 I am going to try again. Nov 30 00:56:00 I do not quitter it. Nov 30 00:57:03 I believe in you! Nov 30 00:57:19 Thank you. Nov 30 00:57:49 I cannot wait to try the new commands from the .org. Nov 30 00:58:09 I can update new kernels and images just from the command line! Nov 30 00:58:18 That is neat. Nov 30 00:59:09 No reinstalling new SD Cards and images burning. Does that sound right? Nov 30 00:59:23 yep Nov 30 00:59:28 Double nice. Nov 30 01:01:03 Siegurd: I have a couple BBB.io/.org boards and I want to build w/ them...cough. What step(s) should I take to initialize this quest? Nov 30 01:01:51 Not joking here...I just know the boards already work b/c of the BBB.io peoples. But! I want them to work b/c of me. Nov 30 01:04:24 I am building, trying to build, a Cape or smaller attachment board for the BBBW/BBB. This is my way of giving back to the community. People made this available. This is the first gift given but w/out proper reciprocation, I am just using. Nov 30 01:05:10 Using is for abusers. I do not abuse the community (usually I do not these days). Nov 30 01:06:29 Siegurd: Look at this >>> https://forum.beagleboard.org/t/debian-10-x-11-x-kernel-updates/30928 . Nov 30 01:06:34 Nice! Nov 30 01:07:28 Nice Nov 30 01:11:07 Yep. Siegurd: Did you already review the buildroot process from Bootlin? They have an enormous amount of detail in the docs. section of buildroot. Nov 30 01:11:30 I think they just updated it too! Nov 30 01:11:59 No, the manual is old. I go my way to build it Nov 30 01:12:38 Oh. That was my mistake. I saw it said 2021 on it. I just guessed they were updating it. DANG! Nov 30 01:12:58 Nice looking out old fried. Nov 30 01:13:05 fried = friend Nov 30 01:13:08 Blah. Nov 30 01:14:25 I had to update the old manual up to the point it calls for WiFi. Then, I got busted losing. No WiFi! Nov 30 01:15:13 Now, this may not be smart but it is fun. GEt this. Nov 30 01:15:57 So, I want to try to run through the manual w/ my specific updates, get the board booted, and then add whatever whenever w/out stopping. Nov 30 01:16:21 It is not easy. In one hour and 45 minutes, I lose it on WiFi access. Nov 30 01:16:38 I know GenTooMan, take notes. Nov 30 01:16:42 But! Nov 30 01:17:17 Runnin' through the entire process on the fly is signifying excitement. That is all. Nov 30 01:18:16 Seriously. When I push the last button before failure at WiFi access, I am basically slamming my tiny pointer finger down as hard as the key can bear w/out it crackin'! Nov 30 01:19:34 Anyway...enough of success and failure. Back to the BBB! Nov 30 01:19:54 yep Nov 30 01:23:17 buildroot is so empty inside... Strange feeling. It reminds me QNX4 Nov 30 01:26:15 Oh. on this chat thing they call IRC? Nov 30 01:26:50 or...w/ the actual installed sections that get plastered to the BBB? Nov 30 01:27:54 What? Nov 30 01:28:11 "buildroot is so empty inside..." Nov 30 01:28:23 THat line made me type what I typed. Nov 30 01:28:54 ah Nov 30 01:31:03 I see their docs. are lengthy, e.g. nice docs. It is hard not to miss one simple snippet to make things work. I miss them all the darn time. Nov 30 01:31:06 Is this what you mean? Nov 30 01:32:53 I am learning about MCU stuff now, i.e. M4. I might place one of those suckers on a Cape one day. It is so difficult w/ the technology around the MCU M4. Nov 30 01:33:14 Some people have been studying them for years. I am just starting! Nov 30 01:33:24 TIVA! Nov 30 01:34:28 I mean that /bin and /dev folders have  only few files and you now how things are working. Nov 30 01:44:50 Right-o! **** ENDING LOGGING AT Tue Nov 30 02:59:57 2021