**** BEGIN LOGGING AT Mon Aug 14 03:00:01 2017 Aug 14 03:18:17 mithro: yes you might want to look at nios2 as an example Aug 14 03:18:24 look into meta-altera and oe-core Aug 14 04:32:32 khem: is there a minimal oe example repo somewhere? Aug 14 04:38:26 khem: I'm still struggling to understand how to "start" since I'm not really trying to build a Linux distro Aug 14 04:41:21 mithro: what is end output do you need, is it a SDK ? Aug 14 04:42:52 In image file which has a FPGA gateware + bare metal firmware running on that gateware. Aug 14 04:43:18 To get to that stage I guess I need to generate an sdk? Aug 14 04:45:12 s/w wise whats running on box ? Aug 14 04:45:23 is there any linux on it ? Aug 14 04:45:28 I guess no Aug 14 04:45:40 Currently we have a mishmash of python, shell and make which builds you an environment that lets you generate such images Aug 14 04:46:17 ok, thats your build env, I am asking about target Aug 14 04:47:04 khem: at the moment there are 3 different possible "firmware" - custom bare metal, micropython (on bare metal or maybe zeyphr) and hopefully in the near future Linux Aug 14 04:47:23 if you want to use OE/Yocto for baremetal then zephyr is best example Aug 14 04:48:12 they do not use OE to build zephyr but they use OE to generate SDKs for zephyr Aug 14 04:48:22 We have multiple arch's that can run inside our FPGA Aug 14 04:48:41 yes ok Aug 14 04:48:49 Okay, that might be interesting to look at.. Aug 14 04:49:21 if you want to run linux then OE is prebuilt for you. Its easy enough for you Aug 14 04:50:03 but to accomodate other two types of images you cant use OE directly as of now, although it could be done, we have done uclinux in past Aug 14 04:50:06 in OE Aug 14 04:50:23 so tentacles are there may be a bit rusted Aug 14 04:52:01 you might want to redesign your build system a bit, where OE serves as your base infra and then you build another smaller build system may be like zephyr to accomodate baremetal usecase Aug 14 04:52:11 apache newt is another option Aug 14 04:53:23 zephyr is based on kconfig which is good too Aug 14 04:53:43 for componentization point of view. Aug 14 04:55:01 m4t: delete your tmp/ dir and restart after inheriting rm_work Aug 14 04:55:47 m4t: you will start from where you left ( it will reuse sstate cache) Aug 14 04:56:26 khem: thanks Aug 14 13:56:19 Im trying to auto start a gui application on boot using systemd on a waylad/weston system but when i start the service it complains about error: XDG_RUNTIME_DIR not set in the environment. Aug 14 21:40:35 What's wrong with this in a recipe? `do_patch_append() {\n echo "Hello"\n}` The '\n's are real newlines. I get a syntax error on the last double quote. Aug 14 21:40:52 It says it is parsing it as python Aug 14 21:43:56 sr105: do_patch is a python function, so if you want to append to it like that you have to be appending python Aug 14 21:44:27 sr105: an alternative would be to add a postfunc to do_patch, then that function can be either shell or python Aug 14 21:45:37 oh... Aug 14 21:46:15 I want to patch a file using `sed` rather than a patch file because the source file is always changing and I'm tired of keeping the patch up to date. Aug 14 21:46:51 So, I'm just trying to run one command. I guess I could `system("command")` Aug 14 21:47:26 sr105: https://pastebin.com/a26w68KU Aug 14 21:47:58 sr105: right, some recipes use do_configure_prepend to do exactly that kind of thing Aug 14 21:48:58 Thanks for the help. The syntax error was misleading. Aug 14 21:55:43 Worked perfectly, thanks again. Aug 14 22:09:08 sr105: no worries **** ENDING LOGGING AT Tue Aug 15 03:00:01 2017