**** BEGIN LOGGING AT Tue Jun 12 03:00:05 2018 Jun 12 03:52:17 e Jun 12 04:22:59 Question: I'm running Robert Nelson's BBB build and I'm getting an error at patch.sh:rt() ...looks like it's trying to apply a runtime patch to the kernel and it gets an error so it exits. Anyone have any insight into this? Jun 12 04:28:53 are you referring to bb-kernel or ti-linux-kernel-dev ? and which branch? Jun 12 04:29:54 "rt" refers to the preempt_rt patch. the rest of your problem description is unintelligible to me Jun 12 04:30:29 oh never mind, I misread it. it's intelligible, just not very meaningful. "an error" is not useful information Jun 12 04:45:14 maybe you should change your name to patrick_not_here :P Jun 12 07:14:44 @zmatt: On an x15, how do we check if it is LPAE kernel and from U-boot , what commands set to HYP mode ? Jun 12 07:15:33 even if "dmesg | grep -i hyp" returns "All CPUs in HYP mode, do we have to still set from U-Boot ? Jun 12 08:21:58 09:09 < zmatt> so it seems the default u-boot for bbx15 should already be fine Jun 12 08:23:51 an lpae kernel has CONFIG_ARM_LPAE enabled in the kernel config Jun 12 08:24:56 I'm not sure if rcn builds any lpae kernels. the usual -ti kernels definitely are not, since they're intended to work on multiple boards including the beaglebones Jun 12 08:25:21 (an LPAE kernel will not work on a cortex-a8 or cortex-a9) Jun 12 08:28:20 I seem to have shortened the power of a BBW, it boots from SD-card, but it does not recognize the emmc any more. Is there any way I can reset this somehow? Jun 12 08:32:10 BBBW you mean probably Jun 12 08:32:28 and that rather depends on what the actual problem is Jun 12 08:32:31 Indeed. BeagleBone Black Wireless Jun 12 08:32:38 zmatt: if there is no eemc there, it cannot be recognized... :) Jun 12 08:32:53 johanhenselmans: when you boot from sd card, does /dev/mmcblk1 exist? Jun 12 08:33:25 and what exactly do you mean by "I seem to have shortened the power" Jun 12 08:33:42 Yes, that is the strange thing: first it recognizes it, but when I try to initalize it, it gives all kinds of errors. Jun 12 08:35:02 namely? (copy-paste the errors you're getting to a paste service like pastebin.com) Jun 12 08:36:37 Shortening: I have some Molex mini connector transferring the power from an external pcb to the BBBW, I somehow misplaced that a bit, which caused the connected LEDS and relays to flicker and make their noises. I then disconnected it from the PCB, and hooked it up to a USB connection and console, just to see if it was running. I booted into uboot, but then stopped at the kernel. Just a sec, I’ll make some dumps. Jun 12 08:37:44 misplaced where? on the beaglebone side? Jun 12 08:40:20 No, on the power-out side, which connects to the BBBW via a cape. Jun 12 08:40:58 https://pastebin.com/mKHYC51M Jun 12 08:43:08 https://pastebin.com/r9VGZfRf Jun 12 08:46:41 fdisk: https://pastebin.com/EpMtdzHF Jun 12 09:03:13 sorry, there was distraction for a bit Jun 12 09:05:14 soo... what exactly happened with the power? what touched what? Jun 12 09:06:07 these kinds of errors would definitely make me nervous. have you tried erasing eMMC (sudo blkdiscard /dev/mmcblk1) and reinstalling an image? Jun 12 09:11:17 I tried to an erase from /boot/uEnv.txt, with cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbbw.sh Jun 12 09:11:44 That resulted in the second PasteBin. Jun 12 09:12:45 I’ll see what what happens with blkdiscard /dev/mmcblk1. Jun 12 09:14:28 I'm a bit confused what you mean, your second pastebin just seems to show a system booting from sd card Jun 12 09:15:18 also, 11:05 < zmatt> soo... what exactly happened with the power? what touched what? Jun 12 09:15:34 because so far this looks like hw damage to me Jun 12 09:15:44 I think V5 touched ground, ground touched 5V Jun 12 09:16:17 that wouldn't cause any problem other than triggering poweroff Jun 12 09:18:15 Yes, second Pastebin is booting off sdcard and flashing the eMMC, trying to create a new partition on /dev/mmcblk1. These are all the errors you see on lines 138-148. Jun 12 09:19:54 I am now trying to do a blkdiscard /dev/mmcblk1. This are console message I get: https://pastebin.com/yQk1nRDZ Jun 12 09:19:57 no, the second pastebin is showing a system booting normally from sd card, no attempt was made to flash eMMC Jun 12 09:20:43 yeah okay, your hw is damaged Jun 12 09:22:10 OK, so now I have to check what is still working and what is not. Does anyone created scripts to check if stuff like I2C, PWM and other stuff is still working? Jun 12 09:23:10 s/Does/Did/ Jun 12 09:24:41 that would be rather difficult Jun 12 09:28:59 Hmm, perhaps a test cape with some PWM powered leds, I2C BME280 to make sure I2C in works, I2C powered restistor, UARTS hooking up to one another, HDMI screen and a default connection to a Wifi/Ethernet network, and EQEP measuring from some PWM connected thingie. I think I might design something like that… Jun 12 09:30:33 Oh, and 32 relays making noises when GPIO works. Jun 12 12:23:38 Hi! Could someone please direct me to info on how to permanently set the BBBW's nameserver in resolv.conf to 8.8.8.8? Every reboot it goes back to 127.0.0.1 Jun 12 13:24:51 normally resolv.conf is auto-managed, but I don't know what is auto-managing it on the default image. I'd need to flash an sd card and check, and I'm too lazy for that right now Jun 12 13:32:37 is dnsmasq running? Jun 12 13:34:22 I think it is by default. but surely dnsmasq doesn't meddle with /etc/resolv.conf normally? rather, it presumably needs a sane /etc/resolv.conf to forward non-local dns requests to? Jun 12 13:36:18 well if dnsmasq is runnig I would expect the libc dns server to be configured to perform lookup requests to localhost Jun 12 13:37:06 hmm I see this is not the case on my desktop Jun 12 17:09:07 hello Jun 12 17:09:20 someone here? Jun 12 19:26:03 zmatt good afternoon. I was going to try and fix the rtc service. You mentioned I will need something like this: Jun 12 19:26:05 https://github.com/mvduin/overlay-utils/blob/master/i2c1-mcp7940x.dtsi Jun 12 19:26:47 would it be lines 7-11 that I need? Would the address need to change? not sure what the 'compatible' value should be Jun 12 19:27:08 and once I have that right would it be inserted here? https://github.com/abcd-ca/dtb-rebuilder/blob/4.9-ti/src/arm/am335x-pocketbeagle-common.dtsi#L1027 Jun 12 19:47:39 I am not able to install the usb driver Jun 12 19:47:48 I have searched alot of forums Jun 12 19:47:55 but no one can give me the answer Jun 12 19:48:15 I also cant find the driver in my network drivers as some advised Jun 12 19:48:25 help? Jun 12 19:48:46 djalberts os x? Jun 12 19:52:36 what OS? **** ENDING LOGGING AT Wed Jun 13 03:00:01 2018