Current system images: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 16: | Line 16: | ||
<ul> | <ul> | ||
=== February 27, 2007 === | === February 27, 2007 === | ||
Built using the following two scripts [{{SERVER}}/files/imote2/images/ | Built using the following two scripts [{{SERVER}}/files/imote2/images/backup_2_24_2007/build build command] and [{{SERVER}}/files/imote2/images/backup_2_24_2007/buildScript build helper script]. | ||
* Filesystem was changed to support multiroute wifi units (a new fs.jffs2 image was created) | * Filesystem was changed to support multiroute wifi units (a new fs.jffs2 image was created) | ||
* Changes disable www access via the usb gadget (under linux only because network bridges don't appear to work in Windows) | * Changes disable www access via the usb gadget (under linux only because network bridges don't appear to work in Windows) |
Revision as of 06:51, 25 February 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
- Filesystem was changed to support multiroute wifi units (a new fs.jffs2 image was created)
- Changes disable www access via the usb gadget (under linux only because network bridges don't appear to work in Windows)
- removed "gateway 192.168.99.100" from /etc/network/interfaces
- Added PPP and advanced routing to linux kernel image
- Changed Zydas driver to build for revB boards
- Added lib bluetooth
- Gadget driver only affects the zImage
- console/no console affects all 3 files
February 27, 2007
Built using the following two scripts build command and build helper script.
Description | Bootloader | Kernel Image | Filesystem |
---|---|---|---|
Console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
Console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
February 6, 2007
Built using the following two scripts build command and build helper script.
Description | Bootloader | Kernel Image | Filesystem |
---|---|---|---|
Console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
Console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
January 26, 2007
Built using the following two scripts build command and build helper script.
Description | Bootloader | Kernel Image | Filesystem |
---|---|---|---|
Console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
Console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
January 24, 2007
Built using the following two scripts build command and build helper script.
Description | Bootloader | Kernel Image | Filesystem |
---|---|---|---|
Console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
Console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Windows Ethernet Gadget |
blob | zImage | fs.jffs2 |
No console on STD UART Unix Ethernet Gadget |
blob | zImage | fs.jffs2 |
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 mkdir /mnt/jffs2ImageB mknod /dev/mtdblock0 b 31 0 mknod /dev/mtdblock1 b 31 1
echo "Change fs.jffs2 to point to your images" losetup /dev/loop0 fs.jffs2_A losetup /dev/loop1 fs.jffs2_B
modprobe blkmtd device=/dev/loop0,/dev/loop1 mount -t jffs2 /dev/mtdblock0 /mnt/jffs2ImageA mount -t jffs2 /dev/mtdblock1 /mnt/jffs2ImageB
diff -urN /mnt/jffs2ImageA /mnt/jffs2ImageB</bash>
To remove the mounted images: <bash>sync umount /dev/mtdblock0 umount /dev/mtdblock1 modprobe -r blkmtd losetup -d /dev/loop0 losetup -d /dev/loop1</bash>
Script to update new images
<bash>mkdir -p /var/www/files/imote2/images/backup_2_6_2007/Console_nixGadget/ mkdir -p /var/www/files/imote2/images/backup_2_6_2007/Console_winGadget/ mkdir -p /var/www/files/imote2/images/backup_2_6_2007/noConsole_nixGadget/ mkdir -p /var/www/files/imote2/images/backup_2_6_2007/noConsole_winGadget/ cp -a /projects/builds/buildDir/Console_nixGadget/images /var/www/files/imote2/images/backup_2_6_2007/Console_nixGadget/ cp -a /projects/builds/buildDir/Console_winGadget/images /var/www/files/imote2/images/backup_2_6_2007/Console_winGadget/ cp -a /projects/builds/buildDir/noConsole_nixGadget/images /var/www/files/imote2/images/backup_2_6_2007/noConsole_nixGadget/ cp -a /projects/builds/buildDir/noConsole_winGadget/images /var/www/files/imote2/images/backup_2_6_2007/noConsole_winGadget/ cp -a /var/www/files/imote2/patches /var/www/files/imote2/images/backup_2_6_2007/ cp /projects/builds/build /var/www/files/imote2/images/backup_2_6_2007/ cp /projects/builds/buildScript /var/www/files/imote2/images/backup_2_6_2007/ cd /var/www/files/imote2/images/current rm ./blob rm ./fs.jffs2 rm ./zImage ln -s ../backup_2_6_2007/Console_winGadget/images/blob ./blob ln -s ../backup_2_6_2007/Console_winGadget/images/fs.jffs2 ./fs.jffs2 ln -s ../backup_2_6_2007/Console_winGadget/images/zImage ./zImage cd /var/www/files/imote2/images/current/backup_2_6_2007/ find ./ -type f -exec chmod 444 {} \; find ./ -type d -exec chmod 755 {} \; </bash>