Configuring Root File System

From RCSWiki

Jump to: navigation, search

Get started

This chapter assumes that a root file system has been created under readers' project directory. If the reader just get started with Linux system , it is recommended to refer to previous detailed tutorial (Linux 2.6 on ML-410) for general guidelines of building the root file system .

Setting file system support in BusyBox

  1. As we will later mount a Minix file system on a ATA hard drive, minix file system support is required in our Busybox.
  2. To make changes in in the Menu, change directories into busy box directory
    • make menuconfig
  3. In a typical Busybox configuration menu, BusyBox 1.10.2 i.e., make sure these supports are check:
    • Linux System Utilities
      • Check fdisk
      • Check fsck_minix
      • Check mkfs_minix
      • Check mount
      • Check umount

Adding "lspci" command to Root File system

  1. An important command that helps verify PCI device in the system is called lspci. Usually Busybox does not provide this utility within its command set.
  2. We need to download it from other source and cross-compile it for ppc405. A pre-built executable file can be downloaded from this link lspci command for PCI & Super I/O tutuorial.
    • Copy pre-built executable file to <Root File System Directory>/user/bin/
    • Rename "lspci.extention" to "lspci"

Continue on with the Implementing Virtex-4 Erratas for Linux 2.6

Personal tools