**** BEGIN LOGGING AT Fri Jun 08 03:00:18 2018 Jun 08 04:16:03 e Jun 08 09:34:35 i have mistakenly formatted boot partition, since then my beagle bone black is not booting. Jun 08 09:39:35 boot partition? you still had some ancient system that used a boot partition? Jun 08 09:40:23 well regardless, you can always boot from sd card to recover anything you need to recover and reflash the eMMC Jun 08 09:40:47 or, you could just leave after stating your problem Jun 08 12:50:34 I have an epcq128-a programmable nor connected to the QSPI peripheral of an X15. How do I note this in the device tree? Jun 08 13:06:05 stash: hmm, it shouldn't be that hard to find examples for qspi I think? have you tried grepping the various am57* and dra7* dts files? Jun 08 13:17:51 zmatt: oh, I see. dra7xxx has a qspi driver that looks like the right thing Jun 08 13:25:49 the qspi device itself is of course defined in dra7.dtsi, but I'd expect there are probably also examples for using it Jun 08 13:26:46 see e.g. dra76-evm.dts Jun 08 13:27:23 ah never mind, I mean dra7-evm-common.dtsi Jun 08 13:27:36 it seems dra76-evm.dts is just a small patch on top of that Jun 08 13:27:44 (to adjust the max frequency) Jun 08 13:34:34 Hello, quick question.. the AM335X datasheet shows dcan0_rx and tx have multiple pads assigned.. (section 4.3.6.1).. Which pad should I use? Jun 08 13:36:25 doesn't matter as long as you make sure rx and tx belong to the same ioset Jun 08 13:37:37 only one set is available on the expansion headers of the beaglebone though Jun 08 13:38:01 that is fine, this is my own PCB.. Jun 08 13:38:36 do I need to do anything more then set them up correctly in the overlay pinmux? Jun 08 13:39:56 sorry.. I should be more clear.. I think I have the pinmux setup, and the dcan section of the overlay set up.. Jun 08 13:40:28 I just am wondering.. is there something more to set up to select the correct pin pair? Jun 08 13:45:03 if you're making a custom pcb you should probably make a custom dt and not merely an overlay Jun 08 13:45:38 but no, the pinmux setup is what selects which pin pair is used Jun 08 13:46:03 "both ways" (i.e. both which function is used for those pins, and which pins are used for that function) Jun 08 13:46:43 oh.. sorry.. yes.. I am not making an overlay.. I have my own dt.. I have all my other hardware peripherals working great.. I saved CAN for last, and got confused on the multiple pads Jun 08 13:46:54 err Jun 08 13:47:13 yeah.. that is right.. no overlay.. just a dt Jun 08 13:47:50 lots of things are available on multiple pads Jun 08 13:48:32 the Signals tab of my pins spreadsheet ( https://goo.gl/Jkcg0w ) lists all (signal, pin) pairs sorted by signal Jun 08 13:48:52 (or typically sorted by peripheral, then ioset, then signal) Jun 08 13:49:23 I will check that out.. I just had a moment of panic when I was looking at the datasheet, thinking I messed up my PCBA Jun 08 13:52:24 some peripherals have only one set of pins, but most of them have multiple options for increased flexibility Jun 08 15:23:26 follow up question.. Looks like the dcan0 pins I pick are also used for mii1 which I do not need.. if I change the mac node to status='disabled' will the pinmux for that node be ignored.. or should I just comment out the conflicting pinctrl lines? Jun 08 15:27:03 disabling it should suffice, but if your board doesn't use mii then you shouldn't enable it in the first place nor include pinmux for it Jun 08 15:27:15 your dt should describe your hardware Jun 08 15:30:07 yes, you're right.. modify an existing dt. I should clean it up Jun 08 15:35:16 zmatt, I think a while ago, I saw you mention something on prolonging the emmc life.. besides mounting as read-only.. something like SPL? was that you? Jun 08 15:35:27 SLC mode Jun 08 15:35:40 cool, where does that get implemented? Jun 08 15:37:11 is that hardware? or filesystem? or setting someplace? Jun 08 15:38:20 (sorry for slow reponse time, I'm multitasking atm) Jun 08 15:38:30 it's one-time-programmable configuration of the eMMC Jun 08 15:38:41 note that SLC mode sacrifices 50% space Jun 08 15:41:03 no worries on the slow response :) any reply is greatly appreciated Jun 08 15:44:18 does SLC mode only help increase number of write cycles? Jun 08 15:49:07 it increases the number of write cycles about 10 fold, and almost certainly also helps with other reliability characteristics Jun 08 15:49:35 e.g. the headaches with paired pages also isn't applicable to SLC Jun 08 15:49:48 as a nice bonus, I noticed it also greatly improves write performance Jun 08 15:51:22 ok thanks, that helps I will monkey around with it when I get a chance. Jun 08 15:52:17 see the 'custom' branch of https://github.com/dutchanddutch/mmc-utils for a convenient command for it Jun 08 15:52:26 be sure to read the latest command on that branch Jun 08 15:52:30 *commit Jun 08 18:14:28 Hi Jun 08 18:16:23 Hello Jun 08 18:17:58 Hello Jun 08 18:23:31 I guess he just really wanted to say hello Jun 08 19:09:19 hello Jun 08 19:09:24 debian@beaglebone:/var/lib/cloud9$ rc_test_drivers Kernel: 4.9.82-ti-r102 BeagleBoard.org Debian Image 2018-03-05 Debian: 9.4 PASSED: gpio 0 PASSED: gpio 1 PASSED: gpio 2 PASSED: gpio 3 PASSED: pwm1 PASSED: pwm2 PASSED: eqep0 PASSED: eqep1 PASSED: eqep2 PASSED: pru-rproc PASSED: uart1 PASSED: uart2 PASSED: uart4 PASSED: uart5 PASSED: i2c1 PASSED: i2c2 PASSED: spi PASSED: LED ERROR: ADC iio driver not loaded Jun 08 19:09:36 why ERROR: ADC iio driver not loaded ?? Jun 08 19:09:41 plz help me... Jun 08 19:10:03 debian@beaglebone:/var/lib/cloud9$ rc_test_servos -c 5 -p 1.2 ERROR in rc_adc_init, failed to open iio adc interface : No such file or directory Perhaps kernel or device tree is too old ERROR: failed to run rc_adc_init() Jun 08 19:10:37 I don't know what the problem is. Jun 08 23:40:14 zz: are you booting from sd card or eMMC ? Jun 08 23:40:46 zz: if booting from sd card: assuming you don't care about the contents of eMMC, try wiping it with: sudo blkdiscard /dev/mmcblk1 and reboot Jun 08 23:40:57 an old bootloader on eMMC can cause problems like these Jun 09 02:05:59 Hi I am using Beaglebone black Rev c Jun 09 02:07:17 And I am trying to install Angstrom Distribution (BeagleBone Black - 2GB eMMC) 2013-09-04 image using micro sdcard Jun 09 02:07:39 Its been like more then 60 mins but all the 4 leds and not lit yet Jun 09 02:07:49 anything wrong that I am doing? Jun 09 02:22:57 Using rc_test_servos, BUS ERROR is appears. What is this? Jun 09 02:22:58 Using rc_test_servos, BUS ERROR is appears. What is this? **** ENDING LOGGING AT Sat Jun 09 03:00:06 2018