**** BEGIN LOGGING AT Thu Oct 06 02:59:58 2016 Oct 06 07:15:20 hi all Oct 06 07:15:47 I want to start learning how to build the yocto onto TI AM57x platform. Oct 06 07:16:04 anyone can guide me how to do this? Oct 06 07:18:30 Hi anyone can guide me how to build the yocto onto TI AM57x? Oct 06 07:27:09 you start with very very tiny tweezers Oct 06 07:55:33 hi. i am working on duplicating the setup of bbb. for this i inserted new micro sdcard in bbb and after login i run this script: /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh . its libararies are generating in var folder by default and now i am having space issues due to which it is unable to complete. i am using rev C 4gb bbb. Oct 06 08:03:56 what do you mean by "its libraries ar generating in var"? Oct 06 08:12:27 tlab: I had some issues with my irc client, so I have not got any messages since the last time i wrote something here. Are there any developments? Oct 06 08:17:08 tbr : bash script is generating mkinitramfs_XXXXXX in var/tmp. but it is unable to cmplete due to space issues Oct 06 08:17:51 mkinitramfs honours the TMPDIR environment variable. it uses /var/tmp as default value for that purpose. Oct 06 08:18:43 you can either adjust that or you can (bind) mount /dev/shm or some other tempfs there. Oct 06 08:20:46 error look something like this :install: cannot create directory /var/tmp/mkinitramfs_xG9l7d//lib/modules/4.1.15-ti-rt-r40/kernel/drivers/net: No space left on device Oct 06 11:40:10 I am currently using 4.4 ti rt kernel and cannot get the PRU's working. I have tried to change from rproc to uio_pruss, but the prussdrv is not appearing when I load the DTO.. Oct 06 11:44:11 Zeek__Huge I see that you use the rproc driver, an my current userspace program using uio_pruss only loads the firmware and writes to a piece of pru memory.. Would that be simple to make using rproc ? Oct 06 11:58:22 hi tommer ! loading firmware - definitely very easy, but writing onto the PRU memory will be easy, but yeah .. I havent tried ... you can probably use resource_table for that .. Oct 06 12:00:57 Zeek__Huge nice! There might be a better way of doing it though.. The only thing my firmware does is enable shift out, and shifts out a 0xAAAA pattern with a certain settings on the clock dividers.. Im using one whole PRU to generate a clock signal. And from my userspace code I need to enable/disable this clock as well as be able to change the clockdiv settings Oct 06 12:01:38 tommer: just a second .. Oct 06 12:02:50 tommer: you see these 2 lines - https://github.com/ZeekHuge/BeagleScope/blob/port_to_4.4.12-ti-r31%2B/firmware/resource_table_pru1.h#L68 Oct 06 12:04:00 so, you can use resource table to map the location where the data structure is to be saved. Oct 06 12:04:19 and this file provides with those mappings - https://github.com/ZeekHuge/BeagleScope/blob/port_to_4.4.12-ti-r31%2B/firmware/AM335x_PRU.cmd#L85 Oct 06 12:04:52 So, you just need to specify these things correctly, and rproc will do the rest for you. Oct 06 12:05:39 ZeekHuge: You're using remoteproc? How do you get around having to reboot the machine every time you want to load different code? Oct 06 12:07:19 Ragnorok: thats quite easy actually - https://www.zeekhuge.me/post/ptp_docs_commands_and_tools/ Oct 06 12:08:14 Six months ago this information appeared to be inaccessible. Oct 06 12:08:37 Nice page. Oct 06 12:09:41 :) Oct 06 12:10:11 I wound up using uio-pruss because it was vastly simpler, back then. I always figured I was simply missing something, and this shows what. Oct 06 12:11:50 Hi. A quick question, does git-over-https work with git.ti.com? I'm having some trouble with: git config --global url."https://".insteadOf git:// ; git clone git://git.ti.com/wilink8-wlan/crda.git Oct 06 12:12:19 It seems that the uio-pruss is simpler to use? one library and a couple of includes and you were up and running in no time. I would really like to see an example showing how to reset and start the pru and load a binary into it Oct 06 12:12:37 ZeekHuge: Am I missing how to tell it what to execute? Oct 06 12:13:16 tommer: uio-pruss is teletebbie simple, as you have described, and telling it what to load is as simple as a library call and done. Oct 06 12:13:29 tommer: is this what you looking for ? Oct 06 12:13:38 https://www.zeekhuge.me/post/ptp_blinky/ Oct 06 12:13:53 oh .. okay .. you were probably saying about uio. Oct 06 12:14:02 tommer: ZeekHuge's page looks like it covers everything using remoteproc except how to tell it what to run. Oct 06 12:14:25 Ragnorok: you mean the firmware to load ? Oct 06 12:14:29 Yeah. Oct 06 12:14:42 Yup, I get: fatal: repository 'https://git.ti.com/wilink8-wlan/crda.git/' not found Oct 06 12:14:43 And a memory footprint. Oct 06 12:17:38 Ragnorok: Okay, I think I mentioned it somewhere, but unable to find it. So the rproc searches for am335x-pru1-fw and am335x-pru0-fw inside the /lib/firmware/ and if present, loads them onto the corresponding PRU Oct 06 12:18:33 Ragnorok: thats what this script does - https://github.com/ZeekHuge/BeagleScope/blob/port_to_4.4.12-ti-r31%2B/examples/firmware_exmples/pru_blinky/deploy.sh#L60 Oct 06 12:18:57 So one is forced to use those well-known names? That's uncool. Oct 06 12:19:20 ZeekHuge: Im writing a C userspace application and I want to load my asm firmware from that application into the PRU Oct 06 12:20:38 I was hoping for some other more flexible scenario than a fixed name for each firmware and no memory footprint. Still and all, great leaps forward for remoteproc usage. Well done! Oct 06 12:20:50 I have to drop off for a bit. Have an IP thing to resolve. Oct 06 12:21:12 tommer: try follow this blinky example and that will be easy then .. Oct 06 12:22:38 tommer: And feel free to report if you find something wrong or do not understand any of those things .. Oct 06 12:22:54 Great! I'll give it a go :) Oct 06 12:34:16 ZeekHuge: Maybe you could write something about the makefile and resource table as you pointed out in the post? Oct 06 12:37:29 Well that was fun. Oct 06 12:38:03 tommer: yeah .. will take 3-4 days probably .. Oct 06 12:38:22 * ZeekHuge adding 'Write those posts' to todo list Oct 06 13:06:34 pfft, how the fuck is it national news that justin bieber was spotted doing groceries in a supermarket in amsterdam Oct 06 13:08:48 Wut? Where?!? (wink) Oct 06 13:16:08 :P Oct 06 22:05:20 just got a beaglebone black, installed the Mac OS X drivers, can not get to beaglebone on http://192.168.7.2/ Oct 06 23:08:40 yo jkridner: how did ya conf thingy go? I got lost in a sea of 'other crap' not helped by sick puter syndrome ... Oct 07 00:06:51 laurittr, I haven't had time to work on it on my end. But I'm working on adding more dyn_dbg() to the mcp251x.c and recompile the kernel/module and see if I can get more info out of it **** ENDING LOGGING AT Fri Oct 07 02:59:58 2016