Results 1 to 4 of 4

Thread: Small version of mados?

  1. #1

    Small version of mados?

    Hi i was wondering if anyone out there had made a smaller version of mados, perhaps without the test menu and some of the apps? Just wondering cos i wanna do this for an 8210. Otherwise, does anyone know the best way to go about achieving this?

  2. #2

    small MADos

    Hi there.

    I have made it for Nokia 5110. It's easy. Just take whole MADos. And cut off what you don't need. I have taken the main.c and removed all menu stuff from it (So I my mados I don't have menu). So I took that main and added other HW stuff. I have take led.c, lcd.c, keyboard, sim, DSP. And from core I have taken memory management, IPC stuff and scheduler. Than I taken a look at the sources, Edit crt0_loader. Edited some bugs (for N5110 another memory map). Then I tried to compile it. I have edited compile.conf (There are written file which must be complied. So I removed the file that I don't need (Menu, test apps and so on). A compile was OK. And builded flash.elf and objdumped it to loader.fls -> 24652 bytes in size. I have uploaded it (via flasher so my build is MODEL_LOADER). I voile. It has worked (Some problem were there but I have fixed it. And it works). I have IRQs, tried DSP stuff and it works. For N5110 i had to modify keyborad layout. Because some keys were not working. But you can take that test part from main.c and there are test case for keyboard, IRQs (you see timer, And all IRQ, FIQ and their calling count). And it's working. And then when you got this. You can take what app you need and compile it with this.

    So that's it.

  3. #3

    ...

    can u attach that MADos flash here?!
    [URL=http://www.gsmcyber.com]MADos, N-Gage, Comic, etc...[/URL]
    Loading a great idea to write here :D

  4. #4

    MADOS n5110 minimal

    Hi there.

    I have uploaded here two versions (including source code).
    mados_5110_min.zip (loader.fls = 24652 bytes)
    mados_5110_DSP_MBUS.zip (loader.fls = 35716 bytes).

    But the DSP_MBUS version is newer. I have added there source for DSP and MBUS. There is MDI also and 3 dsp blocks added.

    But most important is that I have fixed there bug with stacks. Just do diff of that my two versions. It is in include/code/sched.h
    :
    unsigned char stack_buffers[THREAD_STACK_SIZE*SCHED_THREADS];

    unsigned int sched_stacks[SCHED_THREADS] = {
    // what the hack is this ????
    // RAM get's rewritted by stack and we have exception
    //0x00110000, 0x00111000, 0x00112000, 0x00113000,
    //0x00114000, 0x00115000, 0x00116000, 0x00117000
    (unsigned int)(stack_buffers+THREAD_STACK_SIZE),
    (unsigned int)(stack_buffers+2*THREAD_STACK_SIZE),
    (unsigned int)(stack_buffers+3*THREAD_STACK_SIZE),
    (unsigned int)(stack_buffers+4*THREAD_STACK_SIZE),
    (unsigned int)(stack_buffers+5*THREAD_STACK_SIZE),
    (unsigned int)(stack_buffers+6*THREAD_STACK_SIZE),
    (unsigned int)(stack_buffers+7*THREAD_STACK_SIZE),
    (unsigned int)(stack_buffers+8*THREAD_STACK_SIZE)
    };
    #endif

    So in that non DSP version, that bug is present (but it's working)
    And in that DSP version i am using my own block for stack.

    I don't know if this bug is already fixed in CVS. So I will check it.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [MadOS] Installation and compiling instructions
    By BOEBOE in forum G3n0lite & MADos section
    Replies: 143
    Last Post: 26-04-2005, 02:47 PM
  2. English version of videomessaging
    By mydonnay in forum Nokia Symbian General forum
    Replies: 9
    Last Post: 17-04-2004, 11:01 PM
  3. can't check sw version using *#0000#
    By fun-ist in forum Nokia DCT3 & DCT2 General sections
    Replies: 4
    Last Post: 27-01-2004, 01:42 AM
  4. plz can i add arabic language to mados latest 3310 moded flash
    By anyaddress in forum DCT 3 Flashing / Upgrading / Modding
    Replies: 1
    Last Post: 10-01-2004, 02:18 AM
  5. some useful stuff concerning communication portable<->pc
    By ||Joe in forum DCT 3 Flashing / Upgrading / Modding
    Replies: 3
    Last Post: 19-05-2003, 01:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •