[fpga-miniconf] FPGA Miniconf Set Up Instructions

Matt Ames mames at aconex.com
Fri Jan 12 16:04:05 AEDT 2018


Perfect, that did the trick, thanks!


________________________________
From: Tim 'mithro' Ansell <me at mith.ro>
Sent: Friday, 12 January 2018 2:11:05 PM
To: Matt Ames
Cc: fpga-miniconf at lists.lca2018.linux.org.au; jason at ball.net
Subject: Re: [fpga-miniconf] FPGA Miniconf Set Up Instructions

Hi Matt,

There are "make tftpd_start" and "make tftpd_stop" commands which can be used to manually start / stop the tftp server.

Tim 'mithro' Ansell

On 10 January 2018 at 14:12, Matt Ames <mames at aconex.com<mailto:mames at aconex.com>> wrote:

Hi All,


I have gotten the pre-work completed, and I get the following prompt after running build-qemu, however, I can't see an obvious way to log out, and when I exit using "Ctrl-C" it appears to kill atftp as well and it doesn't restart - the only way I can get build-qemu to run again is to reboot my machine. It's probably something simple that I have missed - can someone help?

Login prompt:-

Welcome to Buildroot
buildroot login: root
Jan  1 00:00:07 login[63]: root login on 'console'
#


(I press Ctrl-C to exit here, and here is the output)


Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]: SIGINT received, stopping threads and exiting.
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]: tftpd.c: 444: select: Interrupted system call
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]: atftpd terminating
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:   Load measurements:
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    User:    0.000s  Sys:   0.000s
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    Total: 137.215s  CPU:   0.262%
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:   Time between connections:
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    Min: 0.001s Max: 1.219s
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:   Thread stats:
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    simultaneous threads:     1
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    number of servers:        1
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    number of aborts:         0
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    number of errors:         2
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    number of files sent:     1
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]:    number of files received: 0
qemu-system-or32: terminating on signal 2
Jan 10 14:09:10 <hostname here> atftpd[2112.139912238200576]: Main thread exiting



________________________________
From: fpga-miniconf <fpga-miniconf-bounces at lists.lca2018.linux.org.au<mailto:fpga-miniconf-bounces at lists.lca2018.linux.org.au>> on behalf of Jason Ball <jason at ball.net<mailto:jason at ball.net>>
Sent: Sunday, 7 January 2018 11:02:54 AM
To: fpga-miniconf at lists.lca2018.linux.org.au<mailto:fpga-miniconf at lists.lca2018.linux.org.au>
Subject: Re: [fpga-miniconf] FPGA Miniconf Set Up Instructions

Hi Tim,

I finally got around to completing the setup and running through all sections.

The only note of any import is I found I needed to change the default tftp path so the images could be loaded by qemu.

update: /etc/inetd.conf and change:

tftp        dgram    udp    wait    nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=7 /srv/tftp

to

tftp        dgram    udp    wait    nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=7 /home/jball/FPGA/litex-buildenv/build/tftpd

Obviously changing for the relevant path.

Thanks and looking forward to the session.

Cheers
Jason.



On Fri, Jan 5, 2018 at 10:44 AM, Duncan Roe <duncan_roe at optusnet.com.au<mailto:duncan_roe at optusnet.com.au>> wrote:
Hi Tim,

On Thu, Jan 04, 2018 at 02:53:12AM +0000, Tim Ansell (via Google Docs) wrote:
> I've shared an item with you:
>
> FPGA Miniconf Set Up Instructions
> https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63Pe-pnBaziJXZNY/edit?usp=sharing&ts=5a4d9718
>
> It's not an attachment ??? it's stored online. To open this item, just click
> the link above.
>
> Hi!
>
> This is the initial attempt at set up instructions for the LCA2018 FPGA
> Miniconf. Please attempt to follow these instructions and add comments where
> you encounter issues and we will try to update the instructions with fixes.
>
> Looking forward to seeing everyone at an awesome Linux.conf.au<http://Linux.conf.au> 2018!
>
> Thanks!
>
> Tim 'mithro' Ansell

I can't seem to be able to select & paste from this. Any ideas how to fix?

Cheers ... Duncan.
--
fpga-miniconf mailing list
fpga-miniconf at lists.lca2018.linux.org.au<mailto:fpga-miniconf at lists.lca2018.linux.org.au>
http://lists.lca2018.linux.org.au/mailman/listinfo/fpga-miniconf



--
--
Teach your kids Science, or somebody else will :/

jason at ball.net<mailto:jason at ball.net>
vk2vjb at google.com<mailto:vk2flnx at google.com>
callsign: vk2vjb


--
fpga-miniconf mailing list
fpga-miniconf at lists.lca2018.linux.org.au<mailto:fpga-miniconf at lists.lca2018.linux.org.au>
http://lists.lca2018.linux.org.au/mailman/listinfo/fpga-miniconf


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lca2018.linux.org.au/pipermail/fpga-miniconf/attachments/20180112/4020e0be/attachment-0001.html>


More information about the fpga-miniconf mailing list