Join Today
Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 45

Thread: New kernel

  1. #21

    Default Re: New kernel

    nice work!!! when will you be able to share your package?

  2. #22
    Join Date
    May 2005
    Location
    Germany, Hannover
    Posts
    289

    Default Re: New kernel

    full ack, will be interested too

  3. #23

    Default Re: New kernel

    Aleksei, can you explain how to to this?

  4. #24
    Join Date
    Nov 2005
    Location
    Pakistan
    Posts
    860

    Default Re: New kernel

    WOW...
    i'll b waiting 2 get my hands on it.
    --------------------
    -->E680i... ROX.
    --------------------

  5. #25

    Default Re: New kernel

    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.

  6. #26
    Join Date
    May 2005
    Location
    Germany, Hannover
    Posts
    289

    Default Re: New kernel

    sounds very easy 8O

  7. #27

    Default Re: New kernel

    rwflash source
    Attached Files Attached Files

  8. #28

    Default Re: New kernel

    Some bad news:
    1. Cant switch to MassStorage mode. The phone is buzz.
    2. Bluetooth cant switch on.

  9. #29

    Default Re: New kernel

    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.

  10. #30

    Default Re: New kernel

    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 /


 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. kernel
    By jendral_hxr in forum Indonesian Lounge
    Replies: 2
    Last Post: 04-04-2009, 03:05 PM
  2. Q: Kernel for e6
    By abdulkaderjeelani in forum E6 General Chat
    Replies: 14
    Last Post: 12-13-2008, 02:31 PM
  3. When will the Kernel Be released?
    By ftdn2006 in forum E6 General Chat
    Replies: 8
    Last Post: 08-16-2007, 11:12 PM
  4. E6 Booting a 2.6.21 Kernel
    By wyrm in forum E6 General Chat
    Replies: 2
    Last Post: 05-18-2007, 01:57 AM
  5. 2.6.xx kernel
    By Aleksei in forum Development
    Replies: 1
    Last Post: 02-02-2006, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1