full ack, will be interested too![]()
nice work!!! when will you be able to share your package?
full ack, will be interested too![]()
Aleksei, can you explain how to to this?
WOW...
i'll b waiting 2 get my hands on it.
--------------------
-->E680i... ROX.
--------------------
You need to get the latest kernel source and to setup the cross-compiler.
First you need add support for JFFS2 and loop device. Modify ezx-680i (or ezx-780 (not sure ezx-780.ramdisk is for)) config file in def-configs: CONFIG_JFFS2_FS=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_NLS_CODEPAGE_936=n
Modify cfi_cmdset_0001_mp.c :
#define L18_RW_REGION_START 0x00020000
Make the zImage (see E680 REAME.txt) and flash it. Reboot phone.
Add rootfs flash partition to mtd map. To do that you have to edit bulverde.c in maps dir:
static struct mtd_partition bulverde_partitions[] = {
{
name: "Bootloader",
size: 0x00020000,
offset: 0,
mask_flags: MTD_WRITEABLE /* force read-only */
},{
name: "Kernel",
size: 0x000E0000,
offset: 0x00020000,
},{
name: "VFM_Filesystem",
size: 0x00580000,
offset: 0x01A00000,
},{
name: "Logo",
size: 0x00020000,
offset: 0x01FC0000, //Logo size is 1 EB
},{
name: "RootFS",
size: 0x018E0000,
offset: 0x00120000,
}
};
After that modify config file again:
CONFIG_CMDLINE="root=1f04 rootfstype=jffs2 ip=off"
Make the zImage and copy it to /mmc/mmca1 (DONT flash it). Also copy original rootfs cramfs image to the same place.
Run miniroot from cyph flashkit. Erase rootfsflash partition (mtd-debug will help you). Mount original rootfs image (dont forget -oloop
) and mount the erased rootfs partition as jffs2. Copy all from rootfs image to jffs2 except mountpoint/usr/SYSqtapp (because jffs2 cant store all stuff). Copy SYSqtapp to /diska/.system or to anywhere you want and make symlink to it. Copy /diska/.system/SYSqtapp/opera/launcher to /diska/.system/SYSqtapp/opera/browser. Now the rw rootfs is made. Flash kernel and reboot.
sounds very easy 8O
rwflash source
Some bad news:
1. Cant switch to MassStorage mode. The phone is buzz.
2. Bluetooth cant switch on.
This is likely due to having important sysqtapp stuff moved to diska. Try creating a jffs2 image from the files in the original cramfs root, and use -e 131072 -s 131072 with mkfs.jffs2. I got all of the original root to fit in such an image, with 2MB to spare, but I haven't put it on my phone yet. It mounts on a RAM-based test MTD device, though. I'll try it on the phone this weekend.
Should I provide any options when I mount a JFFS2 filesystem?
A useful mount option for a read-write JFFS2 filesystem is ‘noatime’. The ‘noatime’ option turns off the updating of file access times, which would cause a flash write every time a file is read. If the filesystem is the root filesystem, the option can be supplied one of two ways:
1) Pass the following parameter to the kernel command line:
rootflags=noatime
2) Remount the root filesystem with the noatime option:
mount –t jffs2 –o remount,noatime /dev/mtdblock4 /