hi
habe mir gerade aus dem aktuellen cvs-stand ein cramfs/jffs2 image erstellt.
laeuft auch alles soweit.
wenn ich allerdings auf der box in der console df -h eingebe kommt:
Filesystem Size Used Available Use% Mounted on
/dev/root 11.4M 11.4M 0 100% /
/dev/mtdblock/3 1.8M 948.0k 844.0k 53% /var
/dev/root = 11.4 MB gross, das kann doch nicht sein.
meine kernelpartitionen sehen so aus
static struct mtd_partition partition_info[]= {
{
.name = "BR bootloader",
.size = 128 * 1024,
.offset = 0,
.mask_flags = MTD_WRITEABLE
},
{
.name = "flfs (u-boot)",
.size = 128 * 1024,
.offset = MTDPART_OFS_APPEND,
.mask_flags = 0
},
{
.name = "root (cramfs)",
.size = 6144 * 1024,
.offset = MTDPART_OFS_APPEND,
.mask_flags = 0
},
{
.name = "var (jffs2)",
.size = 1792 * 1024,
.offset = MTDPART_OFS_APPEND,
.mask_flags = 0
},
{
.name = "flash without bootloader",
.size = MTDPART_SIZ_FULL,
.offset = 128 * 1024,
.mask_flags = 0
},
{
.name = "complete flash",
.size = MTDPART_SIZ_FULL,
.offset = 0,
.mask_flags = MTD_WRITEABLE
}
};
mein u-boot:
#define CONFIG_FS ( CFG_FS_CRAMFS | CFG_FS_JFFS2 )
#define CFG_FS_PART0_TYPE CFG_FS_CRAMFS
#define CFG_FS_PART0_OFFSET 0x10040000
#define CFG_FS_PART0_SIZE 0x600000
#define CFG_FS_PART1_TYPE CFG_FS_JFFS2
#define CFG_FS_PART1_OFFSET 0x10640000
#define CFG_FS_PART1_SIZE 0x1c0000
hat jemand eine idee was da schief laeuft?
nixxnutz
cvs und cramfs
-
- Neugieriger
- Beiträge: 4
- Registriert: Dienstag 11. Februar 2003, 16:29
-
- Oberlamer, Administrator & Supernanny
- Beiträge: 10532
- Registriert: Samstag 13. Juli 2002, 10:49
Code: Alles auswählen
dbox:/var # df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 13.5M 13.5M 0 100% /
/dev/mtdblock/3 768.0k 508.0k 260.0k 66% /var

There are 10 types of people in the world: those who know binary and those who don't
-
- Neugieriger
- Beiträge: 4
- Registriert: Dienstag 11. Februar 2003, 16:29