Uploading Web Pages

Before web pages can be uploaded, they have to be compiled to a File System Image (*.img) file. A File System Image is a single file that contains all web pages. The File System Image can be uploaded to the target Ethernet Board by one of the following methods:

Creating and Uploading Web Pages

All web page files have to be comiled to a File System Image file. This file contains the entire file system that is present on the target board. This includes the File System Header, FAT entries and File Data. This File System Image is then uploaded to the target Ethernet board. Compiling and uploading web pages is a simple two stage process, and is done on the "Webpage Creation" tab of the Modtronix Network Bootloader program. Simply select all standard web page files that have to be uploaded, like HTML, JavaScript, Image files..., and then click the "Compile" and "Upload Webpages" buttons. Currently only two types of File Systems are supported, but there are plans to add more in the future. The currenly supported File Systems are:

The ../src/webpages/default folder in the source code available for most Modtronix Ethernet enabled boards will contain the default web pages that are present on the board. These web pages are in standard HTML format, and can be modified by the user. To create a File System Image that can be downloaded to the target board, do the following: