LinuxBIOS SDK, Flashing LinuxBIOS Next Previous Contents

LinuxBIOS SDK

6. Flashing LinuxBIOS


6.1 Switching to DiskOnChip Mode

To enhance the flashing process, LinuxBIOS SDK comes with a BIOS backup hardware. The original BIOS is stored in the flash memory and DiskOnChip is installed in the BIOS backup hardware. In order to flash images into DiskOnChip, the BIOS backup hardware has to be in the DIP BIOS position.

6.2 Flashing IPL and Kernel

Assuming IPL and LinuxBIOS has been created at /usr/src/linuxbios/buildrom/k7sem.

$ cd /usr/src/linuxbios/buildrom/k7sem
$ flash_bios.sh

6.3 Creating NFTL area

In order to put root filesystem in the DiskOnChip, a NFTL area has to be defined after Linux Kernel. It can be done by init_ntfl.sh which is provided by LinuxBIOS SDK. Normally the upper 1MB is reserved for LinuxBIOS and Kernel, so NFTL area will start from 1MB to the end of the DiskOnChip.

$ init_nftl.sh 0x100000

6.4 Flashing Root Filesystem

Assuming rootfs.cramfs is created at /usr/src/linuxbios/buildroot.

$ cd /usr/src/linuxbios/buildroot
$ flash_root.sh rootfs.cramfs



Next Previous Contents