Configuring Root File System
From RCSWiki
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
- As we will later mount a Minix file system on a ATA hard drive, minix file system support is required in our Busybox.
- To make changes in in the Menu, change directories into busy box directory
- make menuconfig
- 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
- Linux System Utilities
Adding "lspci" command to Root File system
- 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.
- 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
