x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Minimo on HPC - status report

[Frozen]
Frozen
chiark Page Icon Posted 2005-07-22 8:31 AM
#
Avatar image of chiark
H/PC Sensei

Posts:
1,330
Location:
North of England
Status:
Minimo appears to be going great guns on Windows CE. This thread is intended as a repository of all information, and current progress on porting to HPC machines given that minimo currently requires a CE 4.2 PocketPC.

Just so people know what we're up against, the size of Mozilla's source tree stands at 214 MB (224,667,277 bytes), with 36,319 file in 5698 folders.

...however, the minimo side of things is only 116 files, with the WinCE stuff being 20 files, and 50KB.

Of course, minimo wince links to the other stuff , but the vast majority of work appears already done: the build environment has been configured to add Windows CE conditional targets throughout: that must have been no small task! Doug Turner deserves a huge amount of praise for his work so far.

The job suddenly seems slightly more manageable...

...but again, things may not be that simple. EVC++ 4 is currently used, and, guess what? That doesn't support HPC2k sdks.

Step 0: See what Mozilla is like!
You need:
- PocketPC 2003 Emulator (available in the Microsoft SDK) or PocketPC 2003
- Minimo Build ( available here

Instructions
-Download the build for emulator or device
-For Emulator, extract all files into a directory, start up emulator, click on "Folder sharing" from the menu, point to the folder you extracted to, then in emulator explore to storage card and call minimo. Wait, and it'll appear.
-For device, copy all files into a single directory, then doube click minimo. Again, wait...
-Try it. Build 006 for the device is significantly more usable than 004...!

Step 1: download and install what you need to build

You need all stuff listed for Windows CE specifically - http://www.mozilla.org/projects/minimo/WinCE/build.html
and stuff for Win32, too, including VC++(!). You could try GCC, but I haven't...
http://www.mozilla.org/build/win32.html
You may be able to use the free VC++ compiler - see http://whereswalden.com/mozilla/msvcfree/

Set up your environment, and try to build for either the device or emulator.

There's a few "gotchas" that I found when building:
- Read the instructions carefully! You need to add a few things to the default CygWin install such as make, perl, ...
- The include file in c:\program files\windows ce tools\wce420\pocket pc 2003\include\armv4\rasdlg.h has an error - it needs the comment on line 12
modifying to actually open the comment. Convert the ** to /*. (Shame on you microsoft)
- The standard BAT file provided by Microsoft sets SDK_ROOT incorrectly. This was monumentally annoying to diagnose because everything looked right. Anyhow, change the bat file's %SDK_ROOT% variable to point at c:\program files\Windows CE Tools (it omits program files by default) ARGGH!

I have had a build succeed, but the resulting executable does not run on the WM2003SE device that I have. I get a splash screen, and that's it. The main developer has been asked for input here.

Step 2: Expectation management!

Minimo is currently quite large. The resulting build directory is over 12MB, with the executable being a behemoth: it's 8MB in size. It should be possible to get this down somewhat, especially seeing as Firefox is smaller

Realistically, I am aiming to:
- Get it working on ARM WinCE 4.x devices happily without requiring aygshell.dll. This should be straightforward-ish.
- Get it working on ARM WinCE 3.0 devices. This will be more of a challenge due to the different build tools required, and the reduced memory available on the machines.

The minimum spec I see this even potentially working on is a Jornada 720.

Step 3: Planning our Attack!

Please, if you can help develop, drop me a mail or a PM. I'd like to get a core team together so we can work out what needs to be done, and get things split into manageable chunks then allocated to people.

We really don't need offers of beta testers right now, as soon as we do, the news will be here.

This thread is frozen; as and when we have news (such as a team is put together) then it'll get updated!
Nick.
 Top of the page
corporate
corporate Page Icon Posted 2005-07-22 1:19 PM
#
Status:
Looks very promising!

I'm slowly bringing myself up to speed, I've been brushing up on my c++ over the last week or so and I just have to teach myself API (ugh) and I should be in a good position.

I'd love to see this on the MIPS CPU, and if I have to do it myself so be it
 Top of the page
C:Amie Page Icon Posted 2005-07-22 1:58 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,028
Location:
United Kingdom
Status:
I looked in on this when you first posted it... and I look in on it now... it seems you forgot to make good on your freezing.
So I took the liberty.
 Top of the page
chiark Page Icon Posted 2005-07-25 3:47 AM
#
Avatar image of chiark
H/PC Sensei

Posts:
1,330
Location:
North of England
Status:
Thanks Chris

Still no word from Doug regarding the development approach he'd prefer to take

Thanks to those that have responded. Looks like there's about 4 of us able to work on this, which is great

Corporate, the MIPS port will need someone who knows (or wants to learn) MIPS assembler code, as part of the glue that makes all this magic work needs to be low level.
 Top of the page
Frozen
Jump to forum:
Seconds to generate: 0.140 - Cached queries : 61 - Executed queries : 8