ramdisk

Hava flash memory layout

Redboot divides the Hava Titanium HD flash memory (a Spansion S29GL128P90TFCR2) into nine images. Three of them are for Redboot itself, RedBoot, FIS directory, and RedBoot config.

Image Contains
RedBoot the loader itself
FIS directory the directory of the images
RedBoot config RedBoot’s configuration
zImage the Linux kernel
ramdisk root filesystem, contains almost everything but /usr/local/
local contains /usr/local/
sysconfig ???
hwconfig hardware config, serial numbers, ip addresses, etc
extended appears unused, filled with 0xFF chars

During boot up RedBoot loads the ramdisk image and zImage. It then transfers control to the Linux kernel in zImage. The kernel initializes some things and then runs the script /etc/rc in the ramdisk image.

RedBoot> fis listName              FLASH addr  Mem addr    Length      Entry pointRedBoot           0x50000000  0x50000000  0x00060000  0x00000000zImage            0x50060000  0x01600000  0x00100000  0x01600000ramdisk           0x50160000  0x00800000  0x00380000  0x00800000local             0x504E0000  0x00800000  0x00200000  0x00800000sysconfig         0x506E0000  0x506E0000  0x000E0000  0x00800000hwconfig          0x507C0000  0x507C0000  0x00020000  0x00800000extended          0x507E0000  0x507E0000  0x00800000  0x00800000FIS directory     0x50FE0000  0x50FE0000  0x0001F000  0x00000000RedBoot config    0x50FFF000  0x50FFF000  0x00001000  0x00000000

  Posted by Hank - June 26, 2009 at 6:00 pm

Categories: RedBoot, flash, hwconfig, local, ramdisk   Tags:

Next Page »