{"id":4266,"date":"2017-02-14T17:26:17","date_gmt":"2017-02-14T07:26:17","guid":{"rendered":"https:\/\/www.flamingspork.com\/blog\/?p=4266"},"modified":"2017-02-14T17:26:17","modified_gmt":"2017-02-14T07:26:17","slug":"j-core-numato-spartan-6-board-fedora-25","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2017\/02\/14\/j-core-numato-spartan-6-board-fedora-25\/","title":{"rendered":"j-core + Numato Spartan 6 board + Fedora 25"},"content":{"rendered":"<p>A couple of changes to <a href=\"http:\/\/j-core.org\/#download_bitstream\">http:\/\/j-core.org\/#download_bitstream <\/a>made it easy for me to get going:<\/p>\n<ul>\n<li>In order to make ModemManager not try to think it&#8217;s a &#8220;modem&#8221;, create <tt>\/etc\/udev\/rules.d\/52-numato.rules<\/tt> with the following content:\n<pre># Make ModemManager ignore Numato FPGA board\r\nATTRS{idVendor}==\"2a19\", ATTRS{idProduct}==\"1002\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"<\/pre>\n<\/li>\n<li>You will need to install python3-pyserial and minicom<\/li>\n<li>The minicom command line i used was:\n<pre>sudo stty -F \/dev\/ttyACM0 -crtscts &amp;&amp; minicom -b 115200 -D \/dev\/ttyACM0<\/pre>\n<\/li>\n<\/ul>\n<p>and along with the instructions on j-core.org, I got it to load a known good build.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of changes to http:\/\/j-core.org\/#download_bitstream made it easy for me to get going: In order to make ModemManager not try to think it&#8217;s a &#8220;modem&#8221;, create \/etc\/udev\/rules.d\/52-numato.rules with the following content: # Make ModemManager ignore Numato FPGA board ATTRS{idVendor}==&#8221;2a19&#8243;, &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2017\/02\/14\/j-core-numato-spartan-6-board-fedora-25\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-4266","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-16O","jetpack-related-posts":[{"id":3991,"url":"https:\/\/www.flamingspork.com\/blog\/2015\/08\/28\/running-opal-in-qemu-the-powernv-platform\/","url_meta":{"origin":4266,"position":0},"title":"Running OPAL in qemu &#8211; the powernv platform","author":"Stewart Smith","date":"2015-08-28","format":false,"excerpt":"Ben has a qemu tree up with some work-in-progress patches to qemu to support the PowerNV platform. This is the \"bare metal\" platform like you'd get on real POWER8 hardware running OPAL, and it allows us to use qemu like my previous post used the POWER8 Functional Simulator - to\u2026","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1405,"url":"https:\/\/www.flamingspork.com\/blog\/2009\/02\/18\/fun-with-387\/","url_meta":{"origin":4266,"position":1},"title":"Fun with the 387","author":"Stewart Smith","date":"2009-02-18","format":false,"excerpt":"Filed\u00c2\u00a0 GCC bug 39228: #include <stdio.h> #include <math.h> int main() { \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 double a= 10.0; \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 double b= 1e+308; \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 printf(\"%d %d %dn\", isinf(a*b), __builtin_isinf(a*b), __isinf(a*b)); \u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0\u00c2\u00a0 return 0; } mtaylor@drizzle-dev:~$ gcc -o test test.c mtaylor@drizzle-dev:~$ .\/test 0 0 1 mtaylor@drizzle-dev:~$ gcc -o test test.c -std=c99 mtaylor@drizzle-dev:~$ .\/test 1 0\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":367,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/03\/01\/building-the-mysql-gui-tools-on-debian\/","url_meta":{"origin":4266,"position":2},"title":"Building the MySQL GUI tools on Debian","author":"Stewart Smith","date":"2005-03-01","format":false,"excerpt":"sudo apt-get install libgtkmm2.0-dev libglade2-0 \\ libglade2-dev libgtkhtml3.0-4 libgtkhtml3.0-dev \\ libxml2 libxml2-dev uuid-dev libuuid1 Then, grab the source trees (mysql-gui-common, mysql-administrator, mysql-query-browser). You should probably grab source tarballs rather than using the BK trees... I had to edit some files to get it to build - but that's probably just\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":364,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/02\/17\/mdadm-build-saves-the-day\/","url_meta":{"origin":4266,"position":3},"title":"mdadm &#8211;build saves the day!","author":"Stewart Smith","date":"2005-02-17","format":false,"excerpt":"yes, this made my \/home on my desktop mountable again! mdadm --build -c8 --level=0 --raid-devices=2 \/dev\/md1 \/dev\/hda5 \/dev\/hde5 Debian or Ubuntu overwrote the RAID superblock obviously. It's funny how it really doesn't work well when you silently change the stripe size of a raid volume.","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1193,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/09\/05\/openofficeorg-3-dev-release\/","url_meta":{"origin":4266,"position":4},"title":"OpenOffice.org 3 dev release","author":"Stewart Smith","date":"2008-09-05","format":false,"excerpt":"So after seeing Paul Fenwick rave about the presenter screen for OO 3, I decided to grab the debs and give it a go. It still is very slow opening large presentations (i.e. mine), but it does look nicer at least... well... at least some of the widgets do. Will\u2026","rel":"","context":"In &quot;sun&quot;","block_context":{"text":"sun","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/sun\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":391,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/04\/14\/binstat\/","url_meta":{"origin":4266,"position":5},"title":"~\/bin\/stat","author":"Stewart Smith","date":"2005-04-14","format":false,"excerpt":"What have you always wanted on the command line? stat? i: hear; you cry! (insert more [silly] {punctuation} around 'ere!) I present, to you, my ~\/bin\/stat #!\/usr\/bin\/perl use POSIX qw(strftime); my $FORMAT=\"%H:%M %a, %e %b %y\"; foreach(@ARGV) { my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat($_); print $_.\"\\n\"; print \"Dev: $dev\\n\"; print \"inode:\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=4266"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4266\/revisions"}],"predecessor-version":[{"id":4267,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/4266\/revisions\/4267"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=4266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=4266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=4266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}