**** BEGIN LOGGING AT Tue May 29 03:00:04 2018 May 29 04:27:39 e May 29 07:10:29 woo, I made my code 3x faster! ... it's also now completely broken and produces garbage output, but that's just a minor detail I need to fix May 29 07:16:05 fast, maintainable, correct. pick 2 out of 3 ;-) May 29 07:21:18 okay, fixed the bug, but performance also dropped by a factor of two. time to dig into the disassembly I guess since I don't understand why this has such huge impact May 29 07:22:48 ahhh, it's preventing auto-vectorization May 29 07:22:53 so its (3 / 2) right now? if you can do floating point then its ok. :) May 29 07:23:35 35% speed boost yeah... which is nice, but doesn't have quite the same ring to it as "3x as fast" May 29 07:24:26 okay so the big difference is that gcc isn't smart enough to auto-vectorize the correct version. time to manually vectorize I guess May 29 07:24:31 yes of course, more is more. May 29 07:26:17 yeah and this is a small loop that's currently responsible for around 20% of total cpu load iirc, so it deserves getting some personal attention May 29 07:54:02 hi May 29 07:54:47 i am using beaglebone black, by default DHCP is running in beaglebone May 29 07:55:12 i want to disable the dhcp ..plz provide steps to disable May 29 07:55:16 zmatt: actually, i was referring to https://www.youtube.com/watch?v=QHZ48AE3TOI May 29 07:55:51 akshay: standard debian mechanisms should apply -> /etc/network/interfaces May 29 07:56:04 no May 29 07:56:09 default network manager is connman May 29 07:56:30 configuring stuff in /etc/network/interfaces without disabling connman will result in problems May 29 07:56:35 ah! nvm then. May 29 07:57:40 connman can no doubt be configured to use a static ip rather than dhcp, but I don't really know how connman works May 29 07:57:51 there's a utility 'connmanctl' you can use for configuration May 29 07:57:56 iirc May 29 07:58:48 i gone through some links..they suggested to change interface file as u said May 29 08:14:52 hi May 29 08:19:39 hieeee May 29 08:19:52 try waving your arms, maybe it helps May 29 08:20:05 how i can disable the dhcp in beaglebone.. May 29 08:20:25 you asked that already, you received a fair bit of information in return, you didn't ask any follow-up questions May 29 08:21:40 previous replies are not clear.. May 29 08:24:09 well perhaps if you have patience someone shows up who knows connman well enough to be able to give you exact steps. have you tried googling how to use connmanctl to configure a static ip ? May 29 08:24:23 I'm getting plenty of results that look useful May 29 09:19:03 hello May 29 09:25:10 Hello, we are looking for a low cost linux board (we are using Armbian) with 2 x Ethernet ports and a mPCIe data card slot, any thoughts? May 29 09:31:27 2x ethernet and mpcie sounds pretty much like the exact opposite of "low cost". you need a rather beefy soc, mobile socs don't apply, and mechanics and magnetics are always expemnsive May 29 09:32:07 "I want everything, the kitchen sink, and a puppy. but it has to be cheap" May 29 09:34:05 yea. I Think I might do a project around pine some day https://www.pine64.org/ they have smaller ARM based boards https://www.pine64.org/?page_id=1491 and base board with more functionality May 29 09:34:38 well if you order like 500kU every month, i'm sure some chinese sweatshop will offer a good deal. for anything in more sane ("realistic") ranges, probably you have to either fix the requirements, or the low cost tag. May 29 09:35:42 https://www.pine64.org/?product_cat=clusterboard May 29 09:35:58 or you could even go ballistic and request industrial range and 10yrs supply guarantee :-P May 29 09:36:30 keesj: whew, they call 5yrs supply LTS May 29 09:37:26 the A64 doesn't have pcie May 29 09:37:53 afaik? May 29 09:38:08 I really don't know May 29 09:38:36 and only one eth, and.... May 29 09:38:45 at work we also played with the odroid boards. those are quite decent power houses but I keep geeting back to beaglebone for experiment May 29 09:39:33 that pine stuff looks like "yet another mobile/media soc slapped onto cheap board." make work, sell fast, cancel. May 29 09:40:01 if you want the A64, olimex has a board with it May 29 09:40:24 still no pcie May 29 09:42:45 sorry for the confusion, the requirements are 2 x ethernet, pcie slot to a min price May 29 09:43:16 Ben__: no confusion at all, the discussion still applies. May 29 09:43:38 my best guess would be: something x86_64-ish May 29 09:43:40 pcie or mpcie May 29 09:43:53 (a rather bit difference) May 29 09:43:56 *big May 29 09:44:05 or even M2 May 29 09:46:20 something from the network/routing crowd possibly. May 29 09:46:56 but basically this sounds a lot like either get a big board that just has everything, or do a custom one if the numbers permit. May 29 09:47:27 x15 + expansion board could do the job, or at the very least serve as prototype for a custom board May 29 09:47:59 Ben__: what expected price and numbers are we talking about anyways? May 29 09:48:03 dual ethernet and pcie, that's something that could apply to a few routers. Some have the wifi card mounted via mpcie May 29 09:50:25 phyCORE®-AM57x as som + custom baseboard, for example May 29 09:52:15 below usd 50 in qty 100 pcs May 29 09:52:29 Phytec is just 20min drive form us coool May 29 09:53:01 alternative is that we do an extension board for the wireless connectivity May 29 09:53:07 insetad of pcie May 29 10:14:34 Ben__: you can probably get phytecs wega for about 50usd. May 29 10:15:08 tht has at least 2x eth, but certainly no mpcie. if you cn work around this, then there's your option. May 29 10:24:20 Cheeers May 29 10:24:44 Ben__: if you get in touch with their sales, tell them #beagle directed you :) hopefully they'll remember us :) May 29 10:42:00 hi.. May 29 10:42:24 can anyone help in disabling the DHCP in beaglebone May 29 10:47:37 look at the scripts in /opt May 29 10:53:42 tbr: there's a relevant script in /opt ? May 29 10:54:43 kalyan: if none of the google results for using connmanctl to configure a static ip were useful, explain what you tried and what problems you encountered May 29 10:55:24 zmatt: AFAIU one of the scripts brings up all the usb networking and mmight also touch ethernet May 29 10:55:34 ethernet is handled by connman May 29 10:56:36 https://github.com/RobertCNelson/boot-scripts/tree/master/boot - not sure which one runs on the BBB, probably am335x_evm May 29 10:56:51 yeah the usb networking setup mess is in there May 29 10:56:53 for some reason May 29 10:57:24 but that's not what akshay/kalyan is asking about (I think?) May 29 10:57:27 it would of course help to know what specific aspect of DHCP was meant May 29 10:58:51 Hi I'm trying to upgare the OS on a BBB. I've copied the latest image to the micro CD card and booted from it. I've edited uEnV to make it flash the eMCC and the lights are flickering but the process doesn't seem to stop May 29 10:59:27 "flickering" sounds like it's simply running rather than flashing May 29 10:59:54 flashing has a very recognizable "cylon" / "knight rider" led pattern May 29 11:00:19 while a system running normally has various activity leds, including a "heartbeat" on the usr0 led May 29 11:01:57 zmatt - thanks. The inside LED is flickering hast and the outside one is doing a heartbeat May 29 11:02:03 zmatt: here, to get in the groove: https://www.youtube.com/watch?v=JDs3GItNPo8 May 29 11:02:47 Guest67238: then either it hasn't booted from sd card or you failed to turn the sd card into a flasher May 29 11:03:12 (if you log into the system it should be easy enough to verify which of the two is the case) May 29 11:03:32 @LetoThe2nd: will do! May 29 11:03:54 Ben__: :-) May 29 11:03:58 zmatt - ok I'm logged in - how do I tell? May 29 11:04:36 uhh, at the very least /etc/dogtag should be able to tell you if this is the old system or a new one May 29 11:05:38 (cat /etc/dogtag) May 29 11:05:42 Image 2018-03-05 the one I downloaded May 29 11:06:01 does findmnt / show the source to be /dev/mmcblk0p1 or mmcblk1p1 ? May 29 11:06:51 /dev/mmcblk0p1 ext4 rw,noatime,errors=remount-ro,data=ordered May 29 11:06:54 you've simply booted from sd card, i.e. you somehow messed up editing /boot/uEnv.txt May 29 11:09:18 that's possible. in uEnv.txt: ##enable BBB: eMMC Flasher: cmdline=init=/opt/scripts/tools/eMMC-flasher-v3.sh May 29 11:10:34 uhh, that's odd, I'm pretty sure the comment above that line doesn't normally look quite like that in current images May 29 11:10:43 what did you do *exactly* ? May 29 11:12:20 What you see is a copy of my uEnv.txt. There's a line break after Flasher: May 29 11:12:33 please use pastebin.com for multiline pastes May 29 11:13:29 when you say "uEnv.txt" you mean /boot/uEnv.txt right? May 29 11:14:46 yes, /boot.uEnv.txt. this is the line in uEnv.txt after I removed the leading #: cmdline=init=/opt/scripts/tools/eMMC-flasher-v3.sh May 29 11:15:01 that should be fine May 29 11:15:23 maybe there's something weird going on with the bootload process, is the old system on your bbb *very* old? May 29 11:15:52 Indeed. As I understand it I need to wait 45 minutes and then the 5 LEDS should all turn on. May 29 11:16:00 if you don't care about the old system, try wiping it with: sudo blkdiscard /dev/mmcblk1 May 29 11:16:07 and then boot again May 29 11:16:30 I don't think it takes 45 minutes, also the bbb will power off when flashing is complete May 29 11:17:10 during the flashing the leds light in a sequence: 0 1 2 3 2 1 0 1 2 3 2 1 0 etc May 29 11:18:42 It was 2015. I'm not seeing that sequence. I'll try sudo blkdiscard /dev/mmcblk1 Thanks May 29 12:51:28 hello May 29 12:52:44 Anyone to help me? May 29 12:52:58 Plz... May 29 12:53:22 aingseop: you didn't even ask a question, how should anybody help you? May 29 12:55:16 Thank you. First, I will use Bluetooth communication with two beagle patterns. I do not know how to use Bluetooth communication with two beagle patterns. May 29 12:56:51 I will eventually use one of the Beagle bones to communicate with the other Beagle bones using Bluetooth and then control the robot. May 29 12:57:59 If you help me, god bless you May 29 12:58:04 Plz... May 29 12:59:16 there still was no question. May 29 13:00:20 the spice must flow May 29 13:00:44 I'm wondering how to communicate using Bluetooth with two Beagle bones May 29 13:00:45 thinkfat: absolutely. May 29 13:00:51 aingseop: you may benefit from reading http://www.catb.org/esr/faqs/smart-questions.html May 29 13:01:24 aingseop: so what do expect, a step-by-step servce to make your thing work? May 29 13:02:09 aingseop: 1) read up on how bluetooth works 2) design the communication scheme according to your needs. 3) implement both ends, in whatever way you like May 29 13:02:37 the only thing that generally applies is that bluez can probably help you in some management tasks. May 29 13:03:16 Where does Bluetooth works? May 29 13:03:34 I am installing bluez now. May 29 13:03:50 *sigh* blindly installing things will not make anything work May 29 13:04:30 Where does Bluetooth works? May 29 13:06:59 ?? May 29 13:07:56 i'm really sorry, but we cannot help you with that question/conversation way May 29 13:08:16 is there maybe a local user group or friend that you can ask for help? May 29 13:09:08 No.. Is my question strange? May 29 13:09:30 your question does not make sense at all. May 29 13:10:16 "where does bluetooth work", you probably mean "how does bluetooth work". but that still is extremely generic, and my impression is that you are lacking the basics. May 29 13:11:38 i think you might want to start here https://beagleboard.org/black-wireless May 29 13:12:04 and here https://beagleboard.org/p/guycole/android-beaglebone-interaction-via-bluetooth-rfcomm-da8dcf May 29 13:12:27 Do you have a Beagle Blue Blue Guidebook? May 29 13:13:01 we do have https://beagleboard.org/blue May 29 13:13:07 and everything that is linked from there. May 29 13:13:53 Thank you. May 29 13:13:56 God bless you . May 29 13:27:31 Hi! Any ideas on how to power (any special adapter needed?) an x-15 in a car? May 29 14:29:39 can anyone tell me how to change the pwm settings i.e the period and duty cycle settings. I know to use config-pin to configure the pin for pwm. I am using kernel version 4.9.78. ive read to go into /sys/devices/ocp.3 and then pwm_test directory but I do not have the ocp.3 directory. May 29 14:49:44 nvm. /sys/class/ -> find your chip that corresponds to pin and export May 29 15:20:00 what are the right arguments to chang the polarity for pwm. right now its set to normal. May 29 15:23:35 1 and 0 do not work May 29 15:35:16 anyone? May 29 15:40:56 https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/pwm/pwm.txt perhaps? May 29 15:41:06 PWM_POLARITY_INVERTED: invert the PWM signal polarity May 29 16:11:31 I still get invalid argument May 29 17:06:24 can anyone tell me the process that they use for using pwm?? I have tried and tried but cannot get my littler servo to turn. I use config-pin then go into /sys/class/pwm and enable. I have also gone through /sys/devices/platform/ocp May 29 18:48:25 swaine: after you use config-pin to set the pin to pwm mode, the stuff in /sys/class/pwm is all you should need May 29 18:50:04 in case of ehrpwm 0/1/2 a/b outputs, be aware that frequency is per pwmchip (ehrpwm0/1/2) and not per pwm output (a/b), and can only be changed when both outputs are disabled May 29 19:02:06 the polarity attribute accepts "normal" and "inversed" (with or without trailing newline) ... or at least, it should. I'm getting EINVAL no matter what I try to write to it, and I have no idea why May 29 19:04:29 found it! the period was set to 0 and this was causing pwm_apply_state() in the kernel to fail. the fix was to first set the period to something valid May 29 19:05:22 the documentation for the pwm sysfs interface is: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-pwm May 29 19:58:24 thanks for the replies im going to give it another shot soon. **** ENDING LOGGING AT Wed May 30 03:00:02 2018