[Swansea Hackspace] Re: Hackspace Digest, Vol 11, Issue 1
Justin Mitchell
justin at discordia.org.uk
Thu Nov 7 15:13:33 GMT 2013
On Thu, 2013-11-07 at 10:22 +0000, Tim Moore wrote:
> The file I'm trying to get work is 'boot_linux.x_64' : Now here
comes a string of questions:-
>
>
> The suggestion is to start with:- boot -v myproject.hex
>
>
> 1_ is best in a folder called 'bin' ? in the root directory ? or
> in the 'home' directory ?
Either just leave a copy in the directory you like working in, or
install it for the whole system by putting it in /usr/local/bin/
> 2_ does 'boot_linux.x_64' need renaming 'boot' for ease of use ?
whatever you want to call it, just dont name it after an existing
command on your system or itll be very confusing.
> 3_ using bash with sudo invoked , is it best to be in the 'bin'
> folder ?
doesnt matter what directory you are in when you do a sudo
if you add your username to whatever group owns /dev/ttyUSB0 which is
often the 'dialout' group, then you wont need sudo.
also make sure you dont have modemmanager installed, (an optional part
of NetworkManager) as it will keep grabbing the serial port and sending
it gibberish (AT modem commands).
> 4_ does its properties need changing for it to execute ? If so
> what is the command and syntax ?
it needs to have the execute bits set, yes.
eg chmod a+x ./boot_linux.x86_64
Hope that addresses everything
More information about the Hackspace
mailing list