On 08/20/2012 04:04 AM, Harri Haataja wrote:
On 20 August 2012 09:08, Yamandu Ploskonka <yamap...@gmail.com> wrote:
Question: any ideas on a simple OS that would fit in a USB and have the
basic MSP toolchain?
...
They have access to standard PCs, and it would be neat they
could run their own system on a USB, so each has his own files, etc.
Any suggestions?
My level is noob-ish. I guess I could design my own distro off Puppy or
something, but I really do not know how. If y'all could point me to
something out there that I'd simply download and copy to a USB fob...
There must be easy ways to generate live images from any real Linux
distribution these days. Or pick an existing one and rebuild it to
contain an extra package. I haven't tried, though. CD images can also
usually be turned into USB images.
Quickly looking around, http://live.debian.net should work, for example.
http://live.debian.net/manual/html/live-manual/toc.en.html
There's tutorial examples in the manual for creating custom images. If
someone bothered to hack together a live image to boot from USB or in
a virtual machine, it could be published as a demo or portable
environment. It might even be feasible to have a few configurations,
e.g. one with a clean simple wm, editor and toolchain and another with
full desktop env, web browser and every piece of software that someone
will suggest to be added.
And Debian has nice 430 toolchain packages available, I believe ;)
Since there seem to be a million useless Knoppix forks, that might be
another thing to look at.
Now, actually flashing any particular microcontroller off such a thing
might be tricky since it requires the hardware drivers to work on any
given machine as well. I think that with a modern modular Linux and
mspdebug, at least some options (like Launchpad) would be quite
doable.
You could also throw in a full load of datasheets, examples and
appnotes to pad the image to a suitable size, but there might be
licensing issues with distributing them like that. Alternatively, it
should be easy to download and place them in a given (home) dir on the
device after the image has been written.
I have not done much testing, but I threw together an arch-based image.
It's a 2gb disk image, compressed down to less than 400 mb. Just unpack
it with 7zip and write it directly to a 2gb or bigger usb stick (using
dd or rawwrite).
It's just the command line with a few utilities to assist (nano, vim,
tmux, and wicd as a network manager). It is not a live boot disk (runs
in ram) but rather a regular full blown install that uses the usb drive
as root.
I included mspdebug, but forgot to throw in msp430-jtag stuff.
Here's a torrent for it: http://vay8.net/txt/MSP430_Linux.torrent
Sorry about the slow speed, I can only seed this from my home internet
connection.
If you try it out, let me know if you have any trouble booting.
~Matthew
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users