LinuxBIOS SDK, Using pre-configured images Previous Contents

LinuxBIOS SDK

8. Using pre-configured images


8.1 Introduction

LinuxBIOS SDK provides pre-configured LinuxBIOS, Kernel and root filesystem for those who want to use LinuxBIOS right away. All images are located at /usr/src/linuxbios/images.

8.2 Flashing LinuxBIOS and Kernel Images

First, go to the directory correspond to your motherboard, eg. k7sem.

$ cd /usr/src/linuxbios/images/k7sem

Second, turn the BIOS switch to DIP position.

Third, flash LinuxBIOS and Kernel into DiskOnChip.

$ flash_bios.sh linuxbios.block linux.bin.gz.block

8.3 Flashing Root Filesystem

All pre-configured root filesystem images are located at /usr/src/linuxbios/images/rootfs. minix filesystem format is recommended, since configuration can be modified in runt-time. Before flashing root filesystem on DiskOnChip, make sure nftl partition is created; otherwise, root filesystem will overwrite LinuxBIOS and kernel which will not be able to boot. The following steps show how to flash root filesystem into DiskOnChip.

First, go to root filesystem images directory

$ cd /usr/src/linuxbios/images/rootfs

Second, create nftl area. This step can be skipped if nftl area has already been created. init_nftl.sh takes one argument which specifies the starting blocking of nftl area, for example,
$ init_nftl.sh 0x100000

Third, flash root filesystem.

$ flash_root.sh rootfs.minix /dev/nftla



Previous Contents