So wie es aussieht, wird der var-Bereich nicht gemountet.
Daher fehlen beim Start einige Dateien.
Hier mal meine Dateien :
.dbox2-flash.c
Code: Alles auswählen
static struct mtd_partition partition_info[]= {
{
.name = "BR bootloader",
.size = 128 * 1024,
.offset = 0,
.mask_flags = MTD_WRITEABLE
},
{
.name = "root (squashfs)",
.size = 4096 * 1024,
.offset = MTDPART_OFS_APPEND,
.mask_flags = 0
},
{
.name = "var (jffs2)",
.size = 3840 * 1024,
.offset = MTDPART_OFS_APPEND,
.mask_flags = 0
},
{
.name = "flfs (u-boot)",
.size = 128 * 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
}
};
flashmanage.pl
Code: Alles auswählen
my %partdef =
(
0 => [ "root", 0, 0x400000 ],
1 => [ "var", 0x400000, 0x3c0000 ],
2 => [ "ppcboot", 0x7c0000, 0x20000 ],
);
fstab
Code: Alles auswählen
proc /proc proc defaults 0 0
tmpfs /tmp ramfs defaults 0 0
/dev/mtdblock/2 /var jffs2 defaults 0 0
findet da wer einen Fehler ?