**** BEGIN LOGGING AT Mon Oct 03 02:59:58 2016 Oct 03 06:47:40 morning Oct 03 08:33:28 I'm wondering if this will be a suitable PSU for beaglebone black? http://www.jaycar.com.au/5vdc-1000ma-ultra-slim-switchmode-power-adaptors/p/MP3144 Oct 03 08:33:51 I'm using this page as guide: http://elinux.org/Beagleboard:BeagleBone_Black_Accessories#Power_Supplies Oct 03 08:34:54 this is list of output plugs that it comes with: http://www.jaycar.com.au/medias/sys_master/images/he8/h36/8838467452958/MP3144-dataSheetMain.pdf it has a 2.1mm but I'm not sure if this is "CENTER POSITIVE" which is needed. Oct 03 08:44:10 @clean1 Oct 03 08:44:26 You'll need 2A minimum Oct 03 08:44:35 oh oops wrong board my b Oct 03 08:48:51 Velsiol_: I think I'll just have to go down to store and see output plugs polarity. Oct 03 09:02:19 best way to make sure Oct 03 10:21:05 hi... i want to dulicate identical BeagleBone Black setups. for this, i am following this link: http://stackoverflow.com/questions/17834561/duplicating-identical-beaglebone-black-setups . now the problem is in the  initial step i.e; i have to boot bbb. my bbb is not powering on with s2 boot button. and without booting it is working fine. i have also attached UART adapter to debug port to inspect messages. there were few errors re Oct 03 10:22:10 and netwrok time synchronization compatability. i have resolved them but but boot issue is still the same. now what should i do? kindly help Oct 03 10:49:13 mk___, the console errors should be your lead i guess Oct 03 10:55:22 failed to start network time synchronization, failed to start /etc/rc.local/ compatibility and failed to start ISP: DHCP server. these were the three error. only dhcp server failure is left Oct 03 10:56:19 so ur eth is kinda your culprit ? Oct 03 10:57:09 no. i think this is happening beacuse i have not attach dongle with it. Oct 03 10:57:47 to inspect messages i just connected the 5v adapter and ttl adapter Oct 03 10:58:04 via usb port Oct 03 13:11:44 what are the Kernel scripts for? Anyone know? Oct 03 13:14:13 *the* kernel scripts? which *the* kernel scripts are you refering to? Oct 03 13:14:58 the script in /opt/scripts/tools called update_kernel.sh Oct 03 13:15:29 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Kernel_Options Oct 03 13:25:21 Hi guys, any thoughts about the recommdended OS on the BBB? Debian?Ubuntu? Oct 03 13:28:12 gorba_scp: try linux Oct 03 13:29:11 what? Oct 03 13:30:14 the official debian images are the best supported linux distribution for the BBB Oct 03 13:31:49 thanks for the answer Oct 03 13:52:51 tommer, the linux kernel source code also has scripts e.g. to extract an uncompressed kernel image of the running kernel for debugging. the scripts in /ope/scripts/tools are afaik from your linux distro and do things like update your kernel to the latest one available Oct 03 15:00:42 ok, I just tried out the newest RT kernel, but now SPI1 wont work again.. It shows up in /dev/, but not in the pinmux.. Oct 03 15:14:31 solution: get overlays from bb-overlays and add BB-SPIDEV0 and BB-SPIDEV1 to capemgr_enable.. in boot/uenv.txt Oct 03 15:15:15 zmatt: with the RT kernel I can now use both spi's simultaneously, works like a charm! Now I just need an efficient way to awaken the threads.. Oct 03 15:22:38 ' Oct 03 15:22:38 hello Oct 03 15:23:32 first time BBB user here. how can I run simple if/then functios on the BBB? Oct 03 15:26:06 thepancakechair: the same you run them on your pc: you write them in your programming language of choice Oct 03 15:47:53 I have experience in writing programs on arduino and pics - uCs - and they use a loop function that I can program straight into and it begins executing that as soon as it turns on. What would be the equivalent of this setup for a BBB? If I want to push a button and send an email, how do I go about calling that function? Oct 03 15:48:01 (on a high level) Oct 03 16:18:13 has anyone successfully installed the firmware for BBGW and HDMI cape? Oct 03 16:20:48 I have just started looking at gpio on jessie and have found it has a number of pins exported, on wheezy I had to export the ones I needed Oct 03 16:21:17 Anyone know why its changed? Oct 03 17:36:26 I'm selling 20 beagle clones for $250 Oct 03 17:41:40 spamalot Oct 03 20:22:02 I'm using a 4.4 TI kernel with Jessie and I'm unable to get the capemgr to load my overlays at boot. Dmesg doesn't snow anything interesting and when I manually load the overlays, there is no conflict in dmesg. Relevant info: http://c96941bfeefbded0.paste.se/ Oct 03 20:48:36 Does anyone know my beagle says "unable to access dpkg status area: Read-only file system" after I ran update and upgrade? Oct 03 21:11:33 hi, I am having problems with my BBB using tftp on u-boot: Oct 03 21:12:43 my u-boot tftp problem: I can't download files, the connection seems correctly setup, it even sees that the file existis in the tftp server but it doesn't download Oct 03 21:12:56 has anybody seen anything similar? thank you Oct 03 21:13:58 Unee0x: Run mount and see how / is mounted. The dpkg stuff lives in /var, iirc. Oct 03 21:42:16 who wants 20 beaglebone black clones? Oct 03 22:05:01 I retract my question. Oct 03 22:10:33 Does anyone know if the beagle will still boot from sdcard if emmc is damaged? Oct 03 22:13:06 Unee0x: yes, though depending on the nature of "damaged" you may need to force it by holding down the S2 button during power-on Oct 03 22:13:42 p99_: please just use the chat, not private messages Oct 03 22:13:57 ah ok sure Oct 03 22:14:14 zmatt: thanks Oct 03 22:14:24 I made few progress on using the wm8974 codec Oct 03 22:14:39 but still not able to hear any sound ;-( Oct 03 22:14:54 and it seems, at least I could not find a way Oct 03 22:15:28 to output MCLK derived from the main oscillator when the beagle is slave Oct 03 22:16:00 what do you mean? Oct 03 22:16:20 I can do it by hacking the code in davinci_mcasp.c Oct 03 22:16:43 are you a hacker ? Oct 03 22:16:45 you shouldn't need to Oct 03 22:16:54 but otherwise I cannot acheive this by just defining something in the device tre overlay Oct 03 22:17:25 can you show your current DT attempt in a pastebin or so? Oct 03 22:17:36 sure Oct 03 22:17:59 ok so now I have the beagle as master Oct 03 22:18:18 just a sec... sorry Oct 03 22:18:27 based on a quick browse of the linux wm8974 codec driver it looks like it should support both master and slave mode Oct 03 22:20:10 (near the top of wm8974_set_dai_fmt, http://lxr.free-electrons.com/source/sound/soc/codecs/wm8974.c#L460 ) Oct 03 22:20:47 zmatt: after trying to update and upgrade a new install, I got a dpkg error for read-only file system . Any ideas? Oct 03 22:21:09 did you check kernel log? Oct 03 22:21:27 read-only file system typically means something went horribly horribly wrong Oct 03 22:22:39 I got it once during an upgrade because the kernel managed to run out of memory while trying to allocate a dma descriptor for mmc Oct 03 22:22:42 zmatt: my thoughts exactly, but I'm not sure if it's the image or hardware causing it. Oct 03 22:23:24 the kernel... I really hope it has been fixed somehow in later kernels Oct 03 22:23:59 though since then I try to avoid doing very big upgrades all at once :P Oct 03 22:24:42 I still feel I should yell at the people who wrote the mmc driver... even if dma descriptor allocation failed it should just have continued without dma Oct 03 22:25:11 since once a block driver returns -EIO you can be pretty sure there's loss of data Oct 03 22:25:22 and quite possibly a corrupt filesystem Oct 03 22:25:35 and that's really not okay Oct 03 22:26:30 zmat: my overlay for wm8974.c http://pastebin.com/EQwKdcNv Oct 03 22:27:53 zmatt: so I got to a point where I see some data output on DACDAT line Oct 03 22:28:01 but still no sound Oct 03 22:28:30 zmatt: maybe a fresh download and install of a reputable kernel should fix it? Oct 03 22:28:48 well now that the upgrade failed the system will be pretty hosed... mine was Oct 03 22:29:05 I did manage to recover but it required some advanced apt-fu Oct 03 22:29:58 initially I couldn't even spawn a shell in it using systemd-nspawn since libc had been corrupted Oct 03 22:29:59 zmatt: I'm open to any suggestions? Oct 03 22:32:35 i mounted it as mass storage device (e.g. using BBBlfs). iirc the apt log was still intact so I could see which packages were part of the upgrade that failed. once I replaced the libc by an intact one I could use systemd-nspawn --bind-ro=/usr/bin/qemu-arm-static to spawn a shell inside it Oct 03 22:33:01 then apt-get --reinstall install all packages that were part of the failed upgrade, since anything they wrote could potentially have been corrupted Oct 03 22:34:40 p99_: which interconnections exist on the board exactly? Oct 03 22:35:45 I have 4 lines for audio + I2c bus Oct 03 22:36:08 setting the beaglebone as master with system-clock-direction = "out" definitely looks wrong Oct 03 22:37:23 zmatt: yes sure, ok I think this was an attempt to use it as slave Oct 03 22:37:33 well no, you marked the cpu as master Oct 03 22:38:03 the clocks property also belongs to the master Oct 03 22:38:30 zmatt: yes cpu as master for now! Oct 03 22:38:33 and where/how is clk_mcasp1 defined? the clocks node should refer to the oscillator (alternatively you can use system-clock-frequency) Oct 03 22:40:49 ah wait mclk is connected to tx hclk of the beaglebone? Oct 03 22:41:00 zmatt: mcasp1 clock dervied from sysclk http://pastebin.com/evcTGxE7 Oct 03 22:41:38 yeah, ok, I see the problem now Oct 03 22:41:47 zmatt: yes mclk <-> ahclkx Oct 03 22:42:56 ok then I suppose that might be okay, but the codec should still be sound_master Oct 03 22:45:13 yes but inside davinci-mcasp.c line 496 it explicitely clear AHCLKX bit Oct 03 22:45:36 lemme see, it could easily just be a bug in that driver Oct 03 22:45:39 say when the mode is set to SND_SOC_DAIFMT_CBM_CFM Oct 03 22:45:52 zmatt: never mind Oct 03 22:46:09 ok Oct 03 22:46:22 you found the problem? Oct 03 22:46:25 zmatt: I need to debug amixer now because it give some error ;-( Oct 03 22:46:41 >>>> amixer: Mixer default load error: Input/output error Oct 03 22:46:49 the hell! Oct 03 22:46:58 isn't alsa-for-socs fun! Oct 03 22:47:00 -.- Oct 03 22:47:20 zmatt: I have a minimum file system based on buildroot Oct 03 22:47:52 maybe consider a more generous system while you're doing initial development? Oct 03 22:48:03 zmatt: it is fun just I am running out of time now Oct 03 22:48:30 I still have unfinished fights with alsa too Oct 03 22:48:42 zmatt: very true ;-) at least I learn sonething here Oct 03 22:50:47 by the way I was wondering why we can use fsx / fsr the same way Oct 03 22:51:27 hclkr, clkr, and fsr are for the receive section when it is configured to be asynchronous to the transmit section Oct 03 22:51:40 afaict the linux driver currently doesn't support that Oct 03 22:51:53 zmatt: I was thinking x means send so to use whan the cpu is master and fsr used when codec in master? Oct 03 22:51:59 no Oct 03 22:52:12 x means it's associated with data transmission Oct 03 22:52:18 r with data reception Oct 03 22:52:20 zmatt: sorry if the question fells stupid... Oct 03 22:52:30 it does not imply anything about the direction of the clk/fs signals themselves Oct 03 22:52:52 ok Oct 03 22:53:07 when the transmit and receive sections are configured to run synchronously, the tx clk/fs is used for both Oct 03 22:53:22 zmatt: cheers, keep you posted Oct 03 22:59:57 Hi Oct 03 23:04:57 I'm currently working with a Beaglebone Green and I'm searching how I could encrypt/decrypt the rootfs at startup. Does any of you have any pointers ? I currently see a catch-22 situation where the linux kernel is found only on the partition that would be encrypted ... Oct 04 00:42:20 laurittr, https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/j4JSF6rKW4g Oct 04 01:05:30 tlab: Do you know exactly what, "the SPI buses don't work," means? I am having trouble with SPI on a 4.4 kernel that might fit this issue. Oct 04 01:07:05 I'm not sure exactly what he means, but there have been others having issues with SPI. Seems the edma-fix might be causing it Oct 04 01:07:35 try updating to the kernel RCN mentions in the thread and try again? Oct 04 01:08:19 Sure. I'll give it a try at work tomorrow. Oct 04 01:22:23 zmatt, I tried the kernel pointed to by RCN and here is what I have now for show-pins http://pastebin.com/JVY1gHiQ Oct 04 01:22:46 it seems the spi is almost up by I think the irq is not working Oct 04 01:23:54 the dtbsi you made shows P9.27 (gpio3_19) and P9.25 (gpio3_21) being used for irq, but show-pins doesn't seem to show it Oct 04 01:26:28 or maybe I'm looking at it wrong... Oct 04 01:36:14 does anyone want 20 beaglebone black clones Oct 04 01:36:23 http://pastebin.com/TjP7XjxX Oct 04 01:46:03 can0 shows up, but still no can1 and can2 Oct 04 02:35:29 How to use BBB P8 header Pins P8_3 P8_4 P8_5 P8_6 as GPIO input Pins? Oct 04 02:38:18 Does anybody can help me out? Oct 04 02:38:40 How to use Beaglebone Black P8 header Pins P8_3 P8_4 P8_5 P8_6 as GPIO input Pins? **** ENDING LOGGING AT Tue Oct 04 02:59:58 2016