From: Stefan E. <se...@us...> - 2002-07-25 14:21:05
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv22289 Modified Files: system3.c Log Message: - split up cramfs.img in root and data filesystems Index: system3.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/system3.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- system3.c 25 Jul 2002 14:06:12 -0000 1.22 +++ system3.c 25 Jul 2002 14:21:02 -0000 1.23 @@ -130,8 +130,9 @@ 0x00040000 CONFIG 256k 0x00080000 KERNEL 1024k 0x00180000 INITRD 1536k -0x00300000 CRAMFS 13312k -0x01000000 +0x00300000 ROOT 6M +0x00900000 DATA 7M +0x01000000 total 16M Note: - system3 partitions are named like the files they're flashed @@ -191,9 +192,18 @@ /* root (cramfs) */ magic: BLOB_PART_VALID_MAGIC, next: sizeof(blob_partition_t), - offset: CRAMFS_FLASH_BASE, - size: CRAMFS_FLASH_LEN, - name: "cramfs.img", + offset: ROOTFS_FLASH_BASE, + size: ROOTFS_FLASH_LEN, + name: "root.img", + flags: BLOB_PART_FLAG_CRAMFS, + }, + { + /* data (cramfs) */ + magic: BLOB_PART_VALID_MAGIC, + next: sizeof(blob_partition_t), + offset: DATAFS_FLASH_BASE, + size: DATAFS_FLASH_LEN, + name: "data.img", flags: BLOB_PART_FLAG_CRAMFS, }, { @@ -453,7 +463,7 @@ { int ret; char *update_files[] = { "blob", "config.tar", "zImage", "initrd.gz", - "cramfs.img", NULL }; + "root.img", "data.img", NULL }; char *image = NULL; int i=0; char *source = "CF"; |