**** BEGIN LOGGING AT Sun Nov 12 03:00:03 2017 Nov 12 06:02:42 I have a mystery I'm trying to understand. I download a linux distro – a .img.xz which expands to 3.57 GB. I use DD to put it on an SD card. I don't make any modifications and use dd to make a backup image. The new image expands to 3.98 GB. Why? I have tried conv=sparse with dd Nov 12 06:05:10 writing the .img to card left the remaining 0.41 GB of the card unchanged, while your backup is a backup of the entire card Nov 12 06:06:58 you'll need to explicitly specify the amount of data to copy (covering all partitions) Nov 12 06:09:35 zmatt I sort of understand but would love to learn more Nov 12 06:10:02 I realize that the linux image contains multiple images, or at least I think so – is that right? Nov 12 06:11:40 storage media such as hard disks and sd cards usually have a partition table that carves one or more partitions out of the total storage of the disk Nov 12 06:11:56 each partition typically holds a filesystem Nov 12 06:12:34 in some cases, especially on embedded systems, there may also be bootloader-related data in the space between the partition table and the first partition Nov 12 06:13:27 right ok cool Nov 12 06:14:12 you can use fdisk -l file_or_device_path to view the partition table on a disk or image file of a disk Nov 12 06:15:31 what's the best way to back up the beaglebone sd card to an image of a similar size to that of the official image then? My problem is that due to not all SD cards being the same exact size (even if labeled so), my source SD card image is about 10mb larger than the destination card so I can't clone it properly. Nov 12 06:15:33 or at all Nov 12 06:15:57 so I'm thinking if I could back up an img that is a comparable size to the original downloaded image I'd be better off Nov 12 06:16:22 do I start by figuring out the data size based on fdisk info and then use dd some some other params? Nov 12 06:16:35 yes Nov 12 06:17:28 gonna try fdisk now Nov 12 06:17:48 which params might I be missing for dd then. I have been using conv=sparse, if, of and bs Nov 12 06:21:01 fdisk -l (lowercase L?) doesn't work on OS X Nov 12 06:24:45 found it, 'diskutil list' Nov 12 06:25:06 @zm Nov 12 06:25:10 @zmatt Nov 12 06:25:10 #: TYPE NAME SIZE IDENTIFIER Nov 12 06:25:12 0: FDisk_partition_scheme *4.0 GB disk2 Nov 12 06:25:12 1: Linux 3.6 GB disk2s1 Nov 12 06:25:43 so do I use dd to copy 3.6 GB somehow, is that the general insight I glean from this? ^^ Nov 12 06:35:17 looks like I'll need the 'count' param for dd but I feel like 3.6 GB might not be specific enough Nov 12 06:44:44 correct, you should get the exact block count Nov 12 06:45:44 I can't really help you with figuring out how to do that on osx Nov 12 06:45:59 I haven't been a mac user for a long long time now Nov 12 07:36:00 zmatt learned a lot since I was gone! I've also solved the problem, you gave me a good start Nov 12 07:36:43 "diskutil info" gives you the partition table, from there you can see the block count of the partition that matters (vs overall sd capacity). Then I just added bs=512 and the count=x and boom! all good Nov 12 07:36:55 so thanks! Nov 12 11:33:29 hi Nov 12 14:28:20 hi Nov 12 14:28:54 has the beagle bone black the sound chipset? Nov 12 14:29:13 no Nov 12 14:29:20 it support audio output via hdmi Nov 12 14:29:24 *supports Nov 12 14:31:20 about hdmi https://www.defectivebydesign.org/search/node/Hdmi Nov 12 14:31:56 what about hdmi? Nov 12 14:32:58 the hdmi framer on the beaglebone does not use hdcp if that's what you're trying to say Nov 12 14:34:08 I aom interested to do my smart tv and I need audio to hear tv Nov 12 14:34:51 trust me, you don't want to hear what they are saying Nov 12 14:35:32 I am buying rtl-sdr 2832u, dish antenna, and now the transverter from 12ghz to 1.7ghz Nov 12 14:36:01 remember that the bbb does not have any video decoder Nov 12 14:36:10 the beaglebone is not really a good choice for audio/video application Nov 12 14:36:12 s Nov 12 14:36:31 and few other parts, then is all available to be mounted Nov 12 14:37:23 infact I solved the problem with rtl-sdr 2832u for video application Nov 12 14:39:12 https://www.rtl-sdr.com/analogue-tv-with-rtl-sdr/ Nov 12 14:40:44 pavlx: but why? Nov 12 14:48:12 I've just run the ./build_deb script from RCN and now i've got some files in the /deploy/ folder. Can someone tell me how I can turn this into an image for my sd card? Nov 12 14:56:50 an image obviously involves a lot more than a kernel Nov 12 14:57:27 easiest is probably to install your custom kernel onto a beaglebone and then make an image of that beaglebone Nov 12 14:58:49 to install the kernel, copy the linux-image-$whatever.deb file onto the beaglebone and install it using sudo dpkg -i linux-image-$whatever.deb Nov 12 14:59:11 ohh, I thought I needed to make a clean image or something. Nov 12 15:00:18 ? Nov 12 15:01:15 never mind, I will try to install the linux-image as you suggested Nov 12 15:11:37 I have the image and the linux headers in the same folder on the BBB, but I get this error when using dpkg -i linux-image...deb: "Error! Your kernel headers for kernel 4.9.61-bone-rt-r8 cannot be found." Nov 12 15:22:12 huh, what needs kernel headers? Nov 12 15:22:28 anyway, then just also install the linux-headers-$whatever.deb Nov 12 15:22:51 I guess you're using dkms or so? Nov 12 15:23:11 dpkg -i linux-image..deb Nov 12 15:25:45 not sure about dkms. I just copied the files over to the beaglebone, ssh in and ran the dpkg command. Nov 12 16:24:39 I mean, the thing that was complaining about the missing headers Nov 12 16:24:51 having dkms installed is the only reason I can think of Nov 12 17:18:07 So I got the 4.9.61-bone-rt working, but im not sure if my scheduler is set correctly, especially the "CONFIG_PREEMPT_LAZY=y" https://codepaste.net/qephkc Nov 12 17:27:15 why do you think anything is wrong with that? Nov 12 17:42:58 Lazy preemption doesnt really sound like a very eager scheduler Nov 12 17:54:27 or, you could google what it does and find it was added to the -rt patchset to increase the throughput of non-realtime processes Nov 12 17:54:47 it has no effect on realtime processes/threads Nov 12 19:27:39 hello - I've got a question about the X15 - anyone around? Nov 13 00:47:09 Hello... Nov 13 00:48:02 Well...I got the Motor Bridge Cape working on the BBG and BBGW only so far. More testing will ensue! Nov 13 00:48:14 ... Nov 13 00:48:27 I found someone that says they got the MBC working on the Rev. C BBB. Nov 13 00:52:33 I only have noticed one difference in configurations. The BBG/BBGW do not have the SD Card in the slot. The two, different revisions of the BBB have the SD Card for memory. Nov 13 00:52:34 ... Nov 13 00:52:44 Should this affect the Capes at all? Nov 13 01:01:48 no. SD card only tells you whether they've bothered to put their OS on the EMMC instead of the SD card, or if they need it for extra storage, or... Nov 13 01:03:27 That is what I thought. Nov 13 01:36:41 Well hell, this fellow told me about the way to make it work. It did not make sense to me but it works. Nov 13 01:37:16 ...The Motor Bridge Cape works w/ the BBB. Cool! **** ENDING LOGGING AT Mon Nov 13 03:00:00 2017