**** BEGIN LOGGING AT Sat Oct 01 02:59:58 2016 Oct 01 03:17:17 Now that I'm using my bbb I keep running out of flash memory. :-P Oct 01 03:22:47 For desktop stuff, that is Oct 01 03:43:57 you use your bbb as a desktop!? Oct 01 04:31:42 ogres, yeah just started Oct 01 04:32:08 Wow lol Oct 01 04:32:14 Slow cpu Oct 01 04:33:18 My Raspberry Pi didn't work too bad for that purpose, and the bbb is faster, so why not? Oct 01 04:34:24 But tbo it's pretty hard to get used to. And I gotta figure out this space problem Oct 01 04:43:55 You can't afford a desktop? Oct 01 04:46:23 I have a nice laptop Oct 01 04:46:42 This is somewhat experimental Oct 01 04:47:41 Re: disk space. I'm resizing the filesystem now. Found some instructions Oct 01 04:57:29 I think I broke it. :-) Oct 01 06:40:45 normally a bbb has a single partition that is already max size that fits on the eMMC Oct 01 06:41:07 (assuming any remotely recent image is used) Oct 01 06:42:33 if you're using an SD card then you may indeed need to expand it, unless rcn already made images self-expanding Oct 01 06:45:49 e.g. use fdisk to delete and recreate the partition, making sure the start offset doesn't change, then run resize2fs on the partition without any size argument. this should even be safe to do on a mounted partition Oct 01 09:50:43 Hi, whats new about x15? Oct 01 09:55:43 nothing. All you can do is monitor the usual distributors for stock of Rev. B1 Oct 01 10:49:33 http://elinux.org/Beagleboard:BeagleBoard-X15 says shipping at 9/23/2016, but no announces stil then Oct 01 11:56:34 How is the code split between DSP and CPU? Oct 01 11:56:56 and are there any enclosures? Oct 01 12:18:58 laurittr, I have not gotten the tt3201 to work completely Oct 01 14:03:17 tlab: Do you have problems with the internal dcan or the mcp2515? I have been trying to get the mcp2515 to work for a couple of weeks now, but it doesn't seem to work :( Oct 01 14:03:48 yeah I had the internal dcan working, but not mcp2515 Oct 01 14:03:58 this is mainly due to the help of zmatt Oct 01 14:04:21 https://github.com/mvduin/overlay-utils Oct 01 14:04:32 a TT3201-001-01.dtsi is there to try Oct 01 14:04:38 Ye, i saw that one. doesnt work Oct 01 14:05:07 I have tried writing my own overlay, and also makeing a devicetree config, but it still doesnt seem to work Oct 01 14:05:31 What output from dmesg do you get when you are trying zmatts overlay? Oct 01 14:05:48 yeah zmatt said something along the line they changed something for spi and from what I understand that is what broke it Oct 01 14:05:50 The only thing i get is "CAN device driver interface" Oct 01 14:07:02 I wish I knew more about it, I'm just trying to learn devicetree Oct 01 14:07:42 Yeah, me too :( Oct 01 14:09:38 Does anyone know why I get this --> http://pastebin.com/mHWbTTbU error when I log in to my BBB. Oct 01 14:10:00 But I guess people are using other spi devices connected with BB, so in that case there seems to be something wrong with the mcp driver? Oct 01 14:11:20 Unee0x: Seems like a syntax error in /etc/bash_completion.d/git-prompt. Could you pastebin that file aswell? Oct 01 14:12:16 and .bashrc Oct 01 14:12:33 tlab: Do you still want to get it to work, or are you giving up on the module Oct 01 14:12:50 Maybe we could try to look at it together? Oct 01 14:13:57 we can try Oct 01 14:14:24 I contacted the support and heard nothing back, seems the guy has left tower tech that made the board Oct 01 14:15:02 Haha! ok, weird that they cannot support it even just because that guy quit Oct 01 14:15:22 I don't think that is the reason, but the ceo? has left Oct 01 14:15:26 I think small company Oct 01 14:15:38 Ah, ok Oct 01 14:15:38 Probably Oct 01 14:15:55 https://github.com/beagleboard/devicetree-source/blob/master/arch/arm/boot/dts/TT3201-001-01.dts Oct 01 14:16:04 this is old one, will not work.. but is from TT Oct 01 14:16:54 Is there anybody here using spi devices, with device drivers with recent kernels? Would be really nice to have a look at devicetree or dtoverlays files to try to get it to work Oct 01 14:17:28 Yeah, found that one a couple of weeks ago Oct 01 14:18:12 I did get a waveshare can board, and got it working, but only 1 can.. maybe that is all I should mess with lol Oct 01 14:19:05 I tried to make a devicetree file on thursday, but it didn't work either. I think the next step for me is to enable some debugging on the mcp251x kernel driver so I can see what actually goes wrong in the module Oct 01 14:19:12 What output did you get from dmesg and lsmod after enabling zmatt's overlay? Oct 01 14:19:47 laurittr: It figures, but when i try to use vi to edit or open the file i get "vi: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory".? Oct 01 14:19:49 I dont have my beagle here, right now, would have pastet the dt file if i had it. Will post it later on Oct 01 14:20:56 laurittr: but when I use cat, i got this --> http://pastebin.com/YwdAUT3D. Oct 01 14:21:14 Maybe python is not installed? Try nano Oct 01 14:21:27 tlab: https://groups.google.com/forum/#!searchin/beagleboard/mcp2515%7Csort:relevance/beagleboard/nyyq1wQtGQc/1q1ykPKoBQAJ Oct 01 14:21:28 Made that post a couple of weeks ago Oct 01 14:21:37 Updated it on thursday with my latest dt Oct 01 14:21:53 laurittr, I don't recall, I remember zmatt having me try to force it to work and kernel panic? (I think). It gave me a bunch of code and then logged me out Oct 01 14:22:30 Anyone know how I can find the latest RT kernel on Debian? Oct 01 14:22:46 Did you use query when talking to him? or here in chat? I would like to read what you where talking about. Think i have autlogging on my irssi Oct 01 14:23:15 Unee0x: If you dont neeed autocompletion on git, i would just uncomment the lines in .bashrc where it gets sourced Oct 01 14:24:39 laurittr, I don't know what query is? We just chatted here Oct 01 14:24:53 ok, il check my log then :) Oct 01 14:25:28 it was about 20 days ago, just look at age of his TT3201 file Oct 01 14:25:40 y, thanks Oct 01 14:27:25 zmatt, I was trying to do exactly that re: fdisk and resize2fs Oct 01 14:27:48 The waveshare can board, that is just a can transceiver? So you can use it with dcan[0-1] Oct 01 14:28:21 yeah that is all, and an rs485 Oct 01 14:28:30 Ok Oct 01 14:28:58 zmatt, I was using internal eMMC at first. That would be preferred. In that case its already expanded aka max size? Oct 01 14:29:52 I hooked up an oscilloscope, but there is literary no signals being sent over spi the the 2 mcp2515 chips, so it seems like some bug in linux, the driver, or the overlay Oct 01 14:31:45 well I have it all hooked up with the latest released image Oct 01 14:34:04 Could you pastebin your dmesg after enabeling it? Would like to see if you get something else than me Oct 01 14:34:35 laurittr: the biggest uncertainty is probably the DT nodes of the mcp chips since I don't have those to test with so I made those blindly hoping the binding documentation and my understanding thereof is right Oct 01 14:36:13 ericxdu: eh, the images are made (just under) 4 GB to fit on eMMC, obviously if you have a much larger SD card you can have much more space available Oct 01 14:37:14 laurittr, enabling what? a dtbo? which one? Oct 01 14:37:15 laurittr: you can check the spi definitions themselves by using compatible = "spidev"; and perform some manual transactions Oct 01 14:38:28 zmatt: I tested manually with spidev, and that works. mcp251x and can Oct 01 14:38:34 can_dev gets loaded Oct 01 14:38:48 but the device doesn't pop up in Oct 01 14:38:52 "ip a" Oct 01 14:39:16 tlab: Just try to enable zmatts overlay, its basically the same thing as I have Oct 01 14:39:31 and pastebin your dmesg output Oct 01 14:39:32 I'd suggest checking the driver source code, it's unfortunately not exactly very unusual for the DT binding documentation to be not quite right Oct 01 14:41:01 Yea, il check it out, I would like to enable some debuggin prints to it as well. Will have to find out how to do that, but a couple of hours of googling, il probably figure the debuging out Oct 01 14:41:15 https://www.kernel.org/doc/Documentation/dynamic-debug-howto.txt Oct 01 14:41:50 I sent a mail to the creator of the max310x driver, because I also need that chip for my project and he sent me his working overlay, which also contained a mcp2515 chip Oct 01 14:41:53 https://github.com/shcgit/barebox-github/blob/imx51/arch/arm/dts/mm_imx51_dt.dts Oct 01 14:42:21 zmatt: yea, I asked for that one yesterday :) Havent had any time to look at it yet ;) Oct 01 14:42:37 hi , anyone use the beaglebone green wireless ? Oct 01 14:42:53 And it seems like his configuration is just the same as I am trying to use Oct 01 14:42:53 dmesg doesn't show anything for spi when I load his dtbo using add-overlay Oct 01 14:43:06 tlab: Anything about can? Oct 01 14:43:09 or mcp2515 Oct 01 14:43:10 ? Oct 01 14:43:21 298.924837] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=198) Oct 01 14:43:35 c_can is probably the dcan Oct 01 14:43:38 ah right I remember now I noticed that the base dts you're using is crap Oct 01 14:43:52 and told you to complain about it on the mailing list, since rcn simply broke the main dts Oct 01 14:44:19 yeah I didn't do that :( Oct 01 14:44:56 it enables spi but without pinmux, which means that enabling it in the overlay does nothing and it doesn't also pick up the pinmux defined there Oct 01 14:46:16 does that mean spi is broke for all? Oct 01 14:47:11 maybe it works if you cape-universal for the pinmux and the overlay for the rest Oct 01 14:47:15 *you use Oct 01 14:48:14 So, enable cape-universal, and use an overlay with just the mcp2515 node and clock node? No spi pinmux? Oct 01 14:49:45 basically remove the pinctrl-* properties and the &am33xx_pinmux { ... }; fragment Oct 01 14:49:52 fragments Oct 01 14:50:06 Do wee need the pinmux fragments for the interrupts? Oct 01 14:50:58 you'll need to do those with cape-universal as well since it conflicts with doing any pinmux in the overlay Oct 01 14:51:00 https://github.com/cdsteinkuehler/beaglebone-universal-io Oct 01 14:51:29 though I still suggest you poke the mailing list to get rcn to fix this Oct 01 14:52:21 Ok, il do that if you send me the mailaddress Oct 01 14:53:40 But, lets say i am making my own dtb, should it work then or is it still affected by this? Oct 01 14:53:41 you posted there already Oct 01 14:54:02 if you make your own dtb then none of this mess applies Oct 01 14:54:29 ah, ok. Oct 01 14:55:16 Then I think il just go with making a DT, I need to use a lot of external devices and gpio so seems better to do that. Oct 01 14:55:59 And if I get it to work, I can show that it doesnt work with dts, and hopefully get somebody to fix it. Oct 01 14:56:03 dto* Oct 01 14:56:15 dtb Oct 01 14:56:31 y Oct 01 14:56:35 :) Oct 01 14:57:08 what is the difference between dts dtb dtbo dto? Oct 01 14:57:17 dtsi? Oct 01 14:57:29 if your dtb doesn't work it's actually more plausible the problem is in the dtb, since all ingredients have worked for other people. it could still be somewhere else but it'll be hard to get anyone to look at it unless you can localize it Oct 01 14:57:35 dts = device tree source Oct 01 14:57:43 dtsi = dts include file Oct 01 14:58:26 dtb = device tree blob/binary (not sure what the official expansion is), i.e. a compiled dts file Oct 01 14:58:35 Basically I could just copy the boneblack-emmc.dts and edit it to include one clock node, spi + mcp2515 and pinmuxes for them? Oct 01 14:58:56 dtbo = dtb overlay, a compiled device tree overlay Oct 01 14:58:59 dto doesn't exist Oct 01 14:59:43 laurittr: the one you posted on the mailing list doesn't look obviously wrong to me Oct 01 15:00:26 I'd suggest double-checking the pinmux at runtime using my show-pins utility Oct 01 15:00:34 I spotted a small error, the pinmux for cs1 is not enabled, but I tested with that enabled afterwards, and it still doesnt work Oct 01 15:01:24 Il try the show-pins, and see if I could get some more output from the driver when it loads so i can try to track down the error. Oct 01 15:02:06 yeah dyndbg can help with that Oct 01 15:02:48 Good Oct 01 15:03:13 Then I have a plan for what to do. Il try to spam some more on the mailinglist so that somebody will pick it up Oct 01 15:03:27 e.g. make a .conf file in /etc/modprobe.d/ containing the line: Oct 01 15:03:50 show-pins is in bb-pins-utils right? Oct 01 15:03:51 options mcp251x dyndbg=+pt Oct 01 15:04:12 bbb-pin-utils yes Oct 01 15:04:35 bbb* Oct 01 15:04:47 Sweet! Oct 01 15:04:53 oh +t isn't that relevant, dyndbg=+p may suffice Oct 01 15:05:00 Il try it when i get home tonight ;) Oct 01 15:05:05 good luck Oct 01 15:05:36 if you get something working let me know Oct 01 15:05:46 I might have to add the same thing for can_dev in modprobe. Il let you guys know how it goes. Thanks for helping ;) Oct 01 15:17:25 Now we need IP over can so we can run X over a can bus. That would be as slow as running X over a serial port (heh). Then again just because you can do something doesn't mean it makes sense too. Oct 01 15:19:52 https://groups.google.com/forum/#!category-topic/beagleboard/spi/zdzbqD4D6ow Oct 01 15:20:22 laurittr, did you try with spi0? Oct 01 16:06:42 Following the instructions to use fdisk and then resize2fs, I keep getting this error "resize2fs: Bad magic number in super-block while trying to open /dev/mmcblk0p2" "Couldn't find valid filesystem superblock" Oct 01 16:08:15 zmatt: "just under" 4G is right... there's only 26M left for me to install apps and such. Oct 01 16:09:33 0p2 ? why are there two partitions? Oct 01 16:10:02 26M left? I don't think I've seen any image that badly stuffed with crap Oct 01 16:11:15 zmatt, is it that bad? I don't think I've put anything on here yet. It's fresh Oct 01 16:11:19 From beagleboard.org Oct 01 16:15:05 The second partition is because of http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD Oct 01 16:17:01 the partition layout has changed since that page was edited last time... Oct 01 16:17:48 I figured Oct 01 16:17:58 elinux.org is so outdated on BBB stuff huh? Oct 01 16:19:31 s/elinux.org/wikis/ Oct 01 16:19:38 you should have checked the original layout; when resizing partitions by creating them you should always end up with the same number of partitions and the same start offset for each Oct 01 16:19:59 (actually normally you only remove and recreate the last partition) Oct 01 16:20:04 something like parted would be much saner... Oct 01 16:20:37 I was thinking of using gparted to expand the partition before even putting the card into the bbb Oct 01 16:20:40 dunno, using fdisk and resize2fs is quick and easy as long as you pay attention to what you do Oct 01 16:21:15 note that you may still be able to rerecreate the partition if you haven't done anything that demolished the data Oct 01 16:21:31 resize2fs will not have touched anything due to the error you showed Oct 01 16:25:07 Recreate which partition, zmatt? Oct 01 16:25:43 the only partition that was there :P start offset 1MB probably Oct 01 16:25:58 probably mmcblk0p1? Oct 01 16:26:38 That sounds like what you're referring to Oct 01 16:27:10 echo 'start=8192,bootable' | sfdisk /dev/mmcblk0 Oct 01 16:27:27 no Oct 01 16:27:29 start=2048 Oct 01 16:28:02 sorry copy-pasted that from my own flasher script forgetting that I use 4MB as start offset unlike rcn's images Oct 01 16:28:38 to make sure you are really really aligned with all possible geometries? Oct 01 16:28:52 tbr: 4MB is the allocation group size of the eMMC Oct 01 16:29:00 *nod* Oct 01 16:29:11 probably also for some SD cards Oct 01 16:29:26 I don't really care about SD cards personally though Oct 01 16:29:35 *nod* Oct 01 16:31:50 ericxdu: but really the wiki page instructs you to inspect your existing partitioning first... you didn't notice the little discrepancy of having only one instead of two partitions as shown on the wiki page? :P Oct 01 16:32:21 it has the exactsteps at the bottom, why look at the screen? SCNR Oct 01 16:32:57 why is there a reboot in the middle? ... Oct 01 16:36:30 so that the kernel updates the partition table Oct 01 16:36:37 it won't reread it if it's mounted Oct 01 16:36:49 partprobe? Oct 01 16:37:04 WARNING: Re-reading the partition table failed with error 16: Device or resource busy. Oct 01 16:37:07 The kernel still uses the old table. The new table will be used at Oct 01 16:37:17 does that reread on a mounted partition? Oct 01 16:37:17 weird Oct 01 16:37:36 well now that you ask I'm not sure Oct 01 16:37:52 I suspect it will also et an EBUSY Oct 01 16:38:13 I mean, the kernel doesn't have a problem with live resizing when you're using lvm, why would it prevent a normal partition from being live resized? Oct 01 16:38:27 I don't see an obvious obstacle Oct 01 16:38:36 probably if you tell the kernel to resize or such? Oct 01 16:38:49 as fdisk directly messes with disks Oct 01 16:39:12 yes you tell the kernel that, except you need to resize the partition first Oct 01 16:39:44 lvm also resizes it under the kernel's feet afaik... the kernel doesn't care as long as the block range currently covered by the existing fs is still there Oct 01 17:11:03 zmatt, I did notice lol. I'm just a noob trying to interpret it Oct 01 17:11:58 I'm afk right now... but I take it I should have resized p1 instead of creating p2 Oct 01 17:13:13 yes (and still can if you've only done partitioning and a failed attempt to resize2fs) Oct 01 17:27:57 That's where I'm at Oct 01 17:28:13 Thanks! I'll try ina few Oct 01 17:36:57 How do I run beaglebone Oct 01 17:37:10 How do I run code on beaglebone Oct 01 17:38:06 Anybody there Oct 01 17:39:53 Haha Oct 01 17:39:59 He gone already Oct 01 17:40:04 No? Oct 01 17:40:14 Back Oct 01 17:40:24 I just misspelle Barna79019 Oct 01 17:40:24 How do you run Linux on beaglebone Oct 01 17:40:33 Hi Barna79019 Oct 01 17:40:53 Hey I got a beaglebone black I need to know how to run Linux on it Oct 01 17:41:32 Barna79019: I'd flash the latest image from beagleboard.org to an SD card 4G or bigger Oct 01 17:41:37 Do you know how Oct 01 17:41:54 lmgtfy? Oct 01 17:41:57 Does it come with an ad card Oct 01 17:42:00 As Oct 01 17:42:02 As Oct 01 17:42:08 Sd Oct 01 17:43:08 Barna79019: well... it has internal memory that *should* already have a distro of Linux on it Oct 01 17:43:59 How what commands do I type to actually run code Oct 01 17:44:45 I think that depends on what environment you have running Oct 01 17:45:20 I'm looking op a link Oct 01 17:46:25 Barna79019: if you have a new bbb and haven't done anything to it yet, this should guide you: http://beagleboard.org/getting-started Oct 01 17:46:44 There's examples of how to code I think Oct 01 18:10:37 Hope they found what theyre looking for Oct 01 18:15:20 zmatt, I flashed the eMMC and df says I have 262M left. Does that seem better? Oct 01 18:18:41 Hello... Oct 01 18:19:10 Are Eagle files free, i.e. so I can view the BBB Wireless files? Oct 01 18:22:11 Do not fret, I will find out. Sorry for the odd question. Oct 01 18:27:56 I just downloaded the latest image on the Beagleboard.org website. I downloaded the Debian 8.5 2016-05-13 distro. Oct 01 18:28:25 I downloaded this distro and I got back Debian 8.4 instead of Debian 8.5. Oct 01 18:29:59 Someone should mention this incorrect info. Oct 01 18:32:31 I can check out the website if this is needed, rent free! Oct 01 18:32:52 I think I can work with 262M avail on emmc Oct 01 18:35:40 Rent free = clicking on hyperlinks and making sure that the listed links go where they say they go, i.e. respective sites/pages. Oct 01 18:38:24 ...the official Wiki page is down and/or has an incorrect linkage: https://elinux.org/Beagleboard:Updating_The_Software. Oct 01 18:48:37 Just for reference, I am not trying to point out things for fun. I can help, i.e. free-of-charge. I need extra things to do. Oct 01 19:03:25 tlab: Yeah, i tried with spi0 as well ;) Oct 01 19:07:17 okay...I quit. Oct 01 19:07:19 For now! Oct 01 19:18:17 Set_, I dunno who's in charge of that stuff, but if you keep asking here hopefully you can get it fixed. :-) Oct 01 19:24:50 ericxdu: I wouldn't settle for it, there's probably plenty of crap you can get rid of Oct 01 19:25:12 ericxdu: then again I wouldn't consider using a bbb (nor an rpi) as desktop either Oct 01 19:25:32 ericxdu: but if you do then it seems unlikely you need the webserver and cloud9 ide and stuff like that Oct 01 19:27:51 262M available seems like a recipe for trouble, e.g. when installing system updates Oct 01 20:04:27 zmatt, I agree. I ran into trouble just a day ago. I'll try partition-resizing on an sdcard instead Oct 01 20:07:50 how about one of the official debian images in the IoT version. that's much smaller, as it comes with no desktop environment, but has all the usb functionality etc Oct 01 20:09:51 tbr: he wants to use a bbb as desktop Oct 01 20:10:04 ah, well... Oct 01 20:10:12 yeah Oct 01 20:12:43 Just a little bit of web browsing, terminals, and maybe a chat app (pidgin) would be sufficient. Maybe even mplayer or vlc Oct 01 20:13:23 On top of that, I'm developing games for embedded computers so I gotta be able to test Oct 01 20:13:45 That's all I mean by "as a desktop" Oct 01 20:15:08 you can try to use the iot image as a start Oct 01 20:15:19 go with a very thin WM Oct 01 20:16:40 tbr, cool. Do you have a link? Oct 01 20:17:50 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot_iot Oct 01 20:18:35 Thx Oct 01 20:19:22 also regarding resizing: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD Oct 01 21:15:02 ok, I don't know exactly what happened since some upgrade not too long ago, but either compton has suddenly become much buggier, or awesome suddenly interacts very badly with compton Oct 01 23:22:02 I did it. Now have 3.8G free. tbr your last link did the trick Oct 01 23:33:37 Seems to be a bug in Kobodl that makes it segfault on arm Oct 02 00:44:05 But I am playing the HECK out of Solarwolf right now **** ENDING LOGGING AT Sun Oct 02 02:59:58 2016