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.
Assuming IPL and LinuxBIOS has been created at
/usr/src/linuxbios/buildrom/k7sem.
$ cd /usr/src/linuxbios/buildrom/k7sem
$ flash_bios.sh
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
Assuming rootfs.cramfs is created at /usr/src/linuxbios/buildroot.
$ cd /usr/src/linuxbios/buildroot
$ flash_root.sh rootfs.cramfs