<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=ICE_Help_IceOS</id>
	<title>ICE Help IceOS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=ICE_Help_IceOS"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Help_IceOS&amp;action=history"/>
	<updated>2026-08-20T16:07:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=ICE_Help_IceOS&amp;diff=562&amp;oldid=prev</id>
		<title>ConvertBot: Linux micro kernel to run a srvIce on a devIce</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=ICE_Help_IceOS&amp;diff=562&amp;oldid=prev"/>
		<updated>2020-04-27T18:33:01Z</updated>

		<summary type="html">&lt;p&gt;Linux micro kernel to run a srvIce on a devIce&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;background-color: #eef9ff; border: 1px solid #999; padding: 10px;&amp;quot;&amp;gt;[[ICE_Help|&amp;amp;uarr; ''Go to the full list of ICE Help pages'']].&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;onlyinclude&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
'''Summary:''' Linux micro kernel to run a srvIce on a devIce&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Motivation: &lt;br /&gt;
&lt;br /&gt;
The ICE-PAC and ICE-SuperPAC use an Intel CPU in the Q-Seven form factor for &lt;br /&gt;
control and configuration.  While these are capable processors, they only &lt;br /&gt;
draw 5-8 watts and are not high end servers.  The internal M.2 drive holds &lt;br /&gt;
128GBy and will max out at about 120MBy/s. The Ice-OS is a linux kernel &lt;br /&gt;
with a stripped down set of GNU utilities and the ICE software framework &lt;br /&gt;
designed to focus on devIce specific tasks including the ICE web services.&lt;br /&gt;
&lt;br /&gt;
== Includes ==&lt;br /&gt;
&lt;br /&gt;
krn : linux 4.4.27-2 kernel&lt;br /&gt;
gnu : busybox and other GNU linux utilities&lt;br /&gt;
gcc : GNU C and C++ compilers&lt;br /&gt;
gfc : GNU Fortran compiler&lt;br /&gt;
jdk : Java JRE and JDK&lt;br /&gt;
nxm : NeXtMidas framework&lt;br /&gt;
xm  : XMidas framework&lt;br /&gt;
ice : ICE framework &amp;amp; web server&lt;br /&gt;
ssh : Secure login and copy&lt;br /&gt;
vnc : VNC server on :1&lt;br /&gt;
&lt;br /&gt;
== Excludes ==&lt;br /&gt;
&lt;br /&gt;
wm : Window manager&lt;br /&gt;
wb : Web Browser&lt;br /&gt;
sd : SystemD&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
The Q-Seven CPU has an HDMI, 1GbE, and two USB ports available on the chassis.&lt;br /&gt;
It boots up for 3 seconds at the network address 192.168.0.123 before moving to&lt;br /&gt;
its configured address.  The network configuration can be changed from the &lt;br /&gt;
console, an ssh session to root, or via a special ping while booting.&lt;br /&gt;
&lt;br /&gt;
== Console ==&lt;br /&gt;
&lt;br /&gt;
After booting, the system console port at tty7 switches to tty3 and runs the ICE &lt;br /&gt;
console application.  It is prompting for status, software installation, network &lt;br /&gt;
configuration, server applicaion start &amp;amp; stop, system reboot &amp;amp; poweroff, or VNC&lt;br /&gt;
display on the HDMI port.  With a monitor and keyboard plugged into the HDMI and USB&lt;br /&gt;
ports, this interface is always available.  This is also the system monitor&lt;br /&gt;
displaying boot progress and other system messages.&lt;br /&gt;
&lt;br /&gt;
If you know the current address of a devIce, ssh to the root account and run&lt;br /&gt;
&amp;quot;ice console&amp;quot; from there.  If you do not know the current address, connect the&lt;br /&gt;
devIce's ethernet to another computer running the ICE software tree.  From &lt;br /&gt;
that node, run &amp;quot;nM&amp;gt; iceconsole/sendping/addr=x/mask=y/gw=z&amp;quot; to start the special &lt;br /&gt;
boot ping, and then boot the target devIce to configure it with the x, y, and z &lt;br /&gt;
addresses for x=IPAddr, y=netMask, and z=Gateway. Make sure the sending machine &lt;br /&gt;
can see the 192.168.0.x network.&lt;br /&gt;
&lt;br /&gt;
== Application ==&lt;br /&gt;
&lt;br /&gt;
The script /home/iceman/iceserver is run at boot time after all resources are &lt;br /&gt;
enabled.  The default script starts the iceserver using the file icebox.tbl as&lt;br /&gt;
the configuration file.  This file determines whether the application starts&lt;br /&gt;
on its own or waits for controls to be sent over the web interface.&lt;br /&gt;
&lt;br /&gt;
To view the running iceman application, open a web browser to http://&amp;lt;addr&amp;gt;:8080 &lt;br /&gt;
or a VNC client session to &amp;lt;addr&amp;gt;:1.  &lt;br /&gt;
&lt;br /&gt;
If the application is not a SNAPAPP table configured application and you need&lt;br /&gt;
it to start automatically at boot, modify this script to include your startup.&lt;br /&gt;
&lt;br /&gt;
== Accounts ==&lt;br /&gt;
&lt;br /&gt;
The IceOS is preconfigured with 1 root and 3 user accounts:&lt;br /&gt;
&lt;br /&gt;
The iceman account automatically starts a VNC session and runs the NeXtMidas &lt;br /&gt;
iceserver application on bootup.  This is configured by the icebox.tbl file &lt;br /&gt;
in /home/iceman/icebox.tbl.  To change the configuration, use scp to copy over &lt;br /&gt;
this file and reboot the devIce, or use stop/start from the console. To disable &lt;br /&gt;
the automatic startup rename or remove the iceserver script from the iceman &lt;br /&gt;
login directory.  This account runs entirely off of the readonly partition.  &lt;br /&gt;
It cannot be damaged by inadvertant power-offs.&lt;br /&gt;
&lt;br /&gt;
The xmidas account runs the cshell for a user supplied XMidas application.  XMidas&lt;br /&gt;
is started by xms.  The xmidas build uses gcc and gfortran.  The user option trees &lt;br /&gt;
should be added under /user/opt/ with the proper adjustments to xmstartup.  &lt;br /&gt;
The xmidas software is entirely on the writable partition /user.&lt;br /&gt;
&lt;br /&gt;
The icemkr account is used to build NeXtMidas or XMidas software.  The trees are &lt;br /&gt;
owned by this user and will err if either iceman or xmidas attempt to build there.  &lt;br /&gt;
Do not change permissions to these trees.  To start NeXtMidas, type nms. To start &lt;br /&gt;
xmidas from the icemkr account, you will need to type csh first, then type xms.&lt;br /&gt;
&lt;br /&gt;
The user accounts all default their DISPLAY variable to :1 which is where the web&lt;br /&gt;
server gets its displays.  If you ssh into the devIce you should set your display&lt;br /&gt;
variable to the address you are ssh'ing from such as DISPLAY=192.168.0.70:0 for &lt;br /&gt;
example.&lt;br /&gt;
&lt;br /&gt;
== Terminals ==&lt;br /&gt;
&lt;br /&gt;
The inittab is configured to launch 4 TTYs.  The system console boots up on TTY7 then &lt;br /&gt;
switches to the Ice Console program on TTY3.  TTY's 1-2 are open for user logins.  &lt;br /&gt;
To switch between TTYs, use Alt F1-3 or Alt F7.&lt;br /&gt;
&lt;br /&gt;
== Rebuild ==&lt;br /&gt;
&lt;br /&gt;
If your devIce's disk becomes corrupt, insert a USB stick containing IceOS and&lt;br /&gt;
select that UEFI partition as the first position in the boot order in the BIOS. &lt;br /&gt;
Then boot the device.  It should show as booting from MD_BOOT_ (usb drive) not &lt;br /&gt;
MD_BOOT (internal drive).  If this succeeds, it should boot to the ICE console:&lt;br /&gt;
Select INSTALL from the menu.  When completed, select POWEROFF.  When powered &lt;br /&gt;
off, remove the USB stick and press the reset button or cycle the power.&lt;br /&gt;
At this point any user configuration changes will need to be redone.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/onlyinclude&amp;gt;&lt;br /&gt;
[[Category:ICE_Help]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>