TS-4710 Web Interface

From Technologic Systems Manuals
Revision as of 10:23, 27 February 2013 by Mark (talk | contribs) (Created page with "This macrocontroller includes a web interface that can be used to simplify common tasks when working with our embedded systems. Uploading files ---- On the main page you can ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This macrocontroller includes a web interface that can be used to simplify common tasks when working with our embedded systems.

Uploading files


On the main page you can select a file and upload. These have various functions depending on the file extensions:

Filename/Extension Function
*.vme.bz2 Upload FPGA to be soft reloaded automatically on startup. This will be copied to "/ts/" path in the linux root filesystem.
ko.tar.bz2 While most kernel modules will be loaded automatically when needed, if you include a ko.tar.bz2 this will insmod each file in the archive automatically on startup. This will be copied to the "/ts/" path in the linux root filesystem.
init If this file exists and the JP1 is not set, the board will boot to the initramfs and execute this script. This can be used to have an application automatically run on startup without a Debian startup. This does not support any of the normal debian init at this point, but you can run most Debian applications.
Image, zImage, kernel*.dd This will automatically replace the first partition containing the Kernel.
root*.dd This will completely replace the second partition with the uploaded dd file.
mbr.dd|mbr*.dd Replace the MBR on the current boot image.
*.dd Any file not caught by one of the previous "*.dd" filenames will entirely replace the SD image.
*.sh Any file named *.sh will automatically be copied to /tmp, set as executable and run.
root*.tar This will remove all data from the linux root filesystem and replace it with the contents of the uploaded root*.tar file.
src*.tar This will extract the contents to the "/ts/" directory in the Linux rootfilesystem and if present, execute the "Makefile". This could be used to build a project, and automatically install it.
*.c *.cpp Any uploaded c/cpp file will automatically be compiled and executed. The applications "stdout" will be printed out to the web page.
* Any other files not captured by a previous pattern will be copied to the "/ts/" path in the Linux root filesystem.

Any uploaded file can be compressed with bzip2 or gzip before uploading. The file will be decompressed and then processed as normal as described in the above table.