Difference between revisions of "Current system images"

From University of Washington - Ubicomp Research Page
Jump to: navigation, search
m
 
m
Line 1: Line 1:
 +
== Overview ==
 +
To avoid problems with repeatability and deployments this page hosts the default images to be used for the various projects. If you make modifications to your image you should create new patches, update .tgz files, etc. rather than simply creating new images so we have a way of getting from one image to another. For example, 'take the current image, run this patch on it, and copy these files to it'.
 +
 +
 
== Current Image ==
 
== Current Image ==
The recomended system image:
+
The recommended system image:
 
{| class="wikitable"
 
{| class="wikitable"
 
!style="width:300px"| Description !! style="width:100px"| Bootloader !!style="width:100px" |Kernel Image !!style="width:100px"|Filesystem
 
!style="width:300px"| Description !! style="width:100px"| Bootloader !!style="width:100px" |Kernel Image !!style="width:100px"|Filesystem
Line 27: Line 31:
  
  
 +
</ul>
 +
 +
 +
== Comparing two filesystem images ==
 +
To compare two, fs.jffs2, file system images you can simply mount both images on a machine and do a diff on them:
 +
<bash>
 +
mkdir /mnt/jffs2ImageA
 +
losetup /dev/loop1 fs.jffs2_A
 +
mknod /dev/mtdblock1 b 31 1
 +
modprobe blkmtd device=/dev/loop1
 +
mount -t jffs2 /dev/mtdblock1 /mnt/jffs2ImageA
 +
 +
mkdir /mnt/jffs2ImageB
 +
losetup /dev/loop2 fs.jffs2_B
 +
mknod /dev/mtdblock2 b 31 2
 +
modprobe blkmtd device=/dev/loop2
 +
mount -t jffs2 /dev/mtdblock2 /mnt/jffs2ImageB
  
</ul>
+
diff -urN /mnt/jffs2ImageA /mnt/jffs2ImageB</bash>

Revision as of 23:37, 24 January 2007

Overview

To avoid problems with repeatability and deployments this page hosts the default images to be used for the various projects. If you make modifications to your image you should create new patches, update .tgz files, etc. rather than simply creating new images so we have a way of getting from one image to another. For example, 'take the current image, run this patch on it, and copy these files to it'.


Current Image

The recommended system image:

Description Bootloader Kernel Image Filesystem
Console on STD UART
Windows Ethernet Gadget
blob zImage fs.jffs2


Other Image Builds


Comparing two filesystem images

To compare two, fs.jffs2, file system images you can simply mount both images on a machine and do a diff on them: <bash> mkdir /mnt/jffs2ImageA losetup /dev/loop1 fs.jffs2_A mknod /dev/mtdblock1 b 31 1 modprobe blkmtd device=/dev/loop1 mount -t jffs2 /dev/mtdblock1 /mnt/jffs2ImageA

mkdir /mnt/jffs2ImageB losetup /dev/loop2 fs.jffs2_B mknod /dev/mtdblock2 b 31 2 modprobe blkmtd device=/dev/loop2 mount -t jffs2 /dev/mtdblock2 /mnt/jffs2ImageB

diff -urN /mnt/jffs2ImageA /mnt/jffs2ImageB</bash>