All Forums
 Embedded Linux
 Linux Downloads and Documents
 Debian JFFS2 2009-03-09 (armel)
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

jhess

135 Posts

Posted - 11 Mar 2009 :  15:12:11  Show Profile  Email Poster

Debian JFFS2 2009-03-09 (armel)

Debian JFFS2 (armel) 2009-03-09 is a root file system that is derived from the Debian (armel) 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.

EABI is a new application binary interface (ABI) for Linux that offers performance improvements over the old ABI through use of softfloat instructions for floating point arithmetic, a more efficient syscall convention, and the option to use VFP hardware if the CPU has it. See the EABI FAQ for details.

The EuroTech Debian JFFS2 root uses x11 (XFree86) as its GUI and includes several demo programs that run under x11. The media files for several of these demos are stored in the /usr/share/ads/demo_media directory. Many common x11 shared libraries are included in the JFFS2 root, including those necessary to run gtk programs.

The JFFS2 filesystem is a persistent flash filesystem that keeps changes across reboots - it is not always the same on each boot (like the ramdisk). Although it is designed to be resilient in the case of power loss and unclean shutdown/dismount, you should shut down your JFFS2 system properly (using the 'shutdown' command) to cleanly unmount the root filesystem.

The following files are included in this release:
flashfs1 - flash filesystem
flashfs1 (128k) - flash filesystem for systems using 128k flash
flashfs1 (128k NAND) - flash filesystem for systems using 128k NAND flash
snapshot.txt - output on debug port of a booting system
cmdline.txt - used to boot on systems not using the u-boot bootloader
cmdline_bitsyx.txt - used to boot the BitsyX
register.txt for PXA frame buffer and LQ64343 LCD (BitsyX, GCX, or AGX without an Epson chip)
register_agxepson.txt for Epson frame buffer and LQ64343 LCD (AGX with an Epson chip)
register_vgx.txt for SM501 frame buffer and LCD or CRT (VGX)
debian-jffs2.tar.gz - tar archive of the contents of the JFFS2 images
MD5SUMS - checksums of files in this release


Usage
Download the flashfs1 image and copy it to an ATA flash card.

If your flash has 128k blocks (most of our systems have 32 bit wide flash from 2 chips in parallel; these boards have 256k blocks, but a few systems like the BitsyG5 and Portal have 16 bit wide flash and a block size if 128k), download the flashfs1-128k image instead.

If your flash has 128k blocks and is NAND flash (ie, the GCM), download the flashfs1-128k-nand image instead.

Also copy onto the card the kernel zImage file for the kernel you want to use. Note that you must use an EABI version of the kernel, such as the one provided here.

For systems such as the BitsyXb, BitsyG5, TurboXb, Sphere, VIX, Portal, and VGX, which use the u-boot bootloader, a set of u-boot configuration files is needed. See this topic for all the available files, download the appropriate files and copy them to the card. Note that you will need at a minimum start.txt, jffs2 root_config.txt, and a tty_config.txt file for your system. A hw_config.txt file for your system's frame buffer is recommended for best performace of the video demonstration programs included in this distribution.

For PXA systems such as the BitsyX, AGX, and GCX, which do not use the u-boot bootloader, a kernel command line is required to direct the kernel to mount this file system during start up. Download a cmdline.txt file as shown below and copy it to the card, then create a file named ProgramFlash.ads! on 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.

Now 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 JFFS2 root file system will be mounted when Linux starts.

Note that the first boot of a JFFS2 filesystem includes a delay at the beginning when the kernel initialises the flash memory. This is a one-time delay, subsequent boots will be faster.

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.


Command lines
These command lines will eliminate the ramdisk partition and direct the kernel to mount the JFFS2 root file system in the third partition. See the bootloader manual for more examples.

On the BitsyX, use this cmdline.txt.

On AGX and GCX use this cmdline.txt.


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)


Verification
MD5SUMS, and MD5SUMS (128k) MD5SUMS (128k NAND) provide MD5 checksums for all files in this release.


History
This release of our JFFS2 root filesystem is derived from the Debian armel port and superscedes our previous 2008-11-21 release. This is the first release in which the armel port is considered stable and ready for use.

  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.02 seconds. Snitz Forums 2000