All Forums
 Embedded Linux
 Linux Downloads and Documents
 Debian CRAMFS 2005-04-26-B
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

jlackey

213 Posts

Posted - 19 Aug 2005 :  11:42:32  Show Profile  Email Poster
Debian CRAMFS 2005-04-26-B (Sarge)


Debian CRAMFS 2005-04-26-B [MD5] is a root file system that is derived from the Debian (Sarge) distribution and is trimmed down to fit (compressed) in a partition in on-board flash as small as 15MB. This size can be reduced further by removing the demo programs and associated data that are included in this distribution.

Debian CRAMFS-flashfs2 2005-04-26-B [MD5] is a second partition, in JFFS2 format, used for persistant storage of selected files. See the README.txt for the 2005-04-26-B release for information on using this JFFS2 partition to store persistant changes using 'altshadow'.

Usage
    Download the cramfs.img and flashfs2 images from the link above and copy them to an ATA flash card. Also copy onto the card, the kernel zImage file for the kernel you want to use.

    A kernel command line is required to direct the kernel to mount this file system during start up. Download or create a cmdline.txt file as shown below and copy it to the card.

    A register.txt file is recommended for best performace of the video demonstration programs included in this distribution. Download the register.txt file for your system's frame buffer as shown below and copy it to the card.

    Create a file named ProgramFlash.ads! on the card.

    On your ADS System, set the first dip switch to ON (Flash Update Mode), insert the card, and boot your system. The bootloader will erase everything in on-board flash (except the bootloader itself) and program (copy) the images on the ATA card to on-board flash. The kernel will be loaded from on-board flash and the CRAMFS root file system will be mounted when Linux starts.

    Delete the ProgramFlash.ads! file and remove the ATA flash card to prevent an unnecessary erase/reprogramming of on-board flash the next time you reboot. See the bootloader manual for more information on the dip switch settings and boot options.
Command lines
    These command lines will eliminate the ramdisk partition and direct the kernel to mount the CRAMFS root file system in the third partition. See the bootloader manual for more examples.

    On the BitsyX, use this cmdline.txt:
    console=ttyS1,38400 SERIALGETTY=ttyS1 ro mtdparts=pxa:256k(adslinux.rom),1536k(zImage),14848k(cramfs.img),-(flashfs2) root=/dev/mtdblock2 rootfstype=cramfs noinitrd quiet_console=null
    On AGX, GCX, and VGX, use this cmdline.txt:
    console=ttyS0,38400 SERIALGETTY=ttyS0 ro mtdparts=pxa:256k(adslinux.rom),1536k(zImage),14848k(cramfs.img),-(flashfs2) root=/dev/mtdblock2 rootfstype=cramfs noinitrd quiet_console=null
Register Settings
    These register.txt files will change the default 8bpp color depth to 16bpp. The bootloader reads the register.txt file and changes the registers before the kernel starts. Download the one for the frame buffer that is used by your board.

      register.txt for PXA frame buffer and LQ64343 LCD (BitsyX, GCX, or AGX without an Epson chip)

      register.txt for Epson frame buffer and LQ64343 LCD (AGX with an Epson chip)

      register.txt for SM501 frame buffer and LCD or CRT (VGX)
Tar Archive
    Here [MD5] is a tar archive of this file system.
History
    This release of our CRAMFS root file system is derived from Debian and supersedes our previous 2004-04-26 release. This release and the previous one have the same date because they are based on the same 2005-04-26 Debian distribution, however, this release (2005-04-26-B) has updated ADS modifications. Our CRAMFS distribution is similar to our Debian JFFS2 root file system but stored in a non-writeable CRAMFS filesystem instead of JFFS2.
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000