Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Rockbox Development
New Ports
SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain Mingw32ce
« previous
next »
Print
Pages: [
1
]
Author
Topic: SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain Mingw32ce (Read 6892 times)
BenBrown
Member
Posts: 41
foolsh
SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain Mingw32ce
«
on:
October 28, 2013, 10:55:30 PM »
A WinCE SDL app port of rockbox via CEgcc's mingw32ce. Using arm-mingw32ce toolchain and sdl libraries for wince. Gerrit #656 is where the port, the toolchain builds and the configure script works. Next task is to get a wince SDL port into the tools, and see what happens when I issue 'make'. The build arch is armv4 so it should run on most any Windows Mobile with an arm processor when it's done.
http://creativepc.no-ip.org/projects/wince-rock/wiki/Wiki
«
Last Edit: September 15, 2014, 04:08:41 PM by BenBrown
»
Logged
foolsh
BenBrown
Member
Posts: 41
foolsh
Re: SDL app for "WinCE/PPC/Windows Mobile" with mingw32ce toolchain
«
Reply #1 on:
October 30, 2013, 03:37:47 PM »
I have a few question about assembly function /arm/fft.S
First question: I'm cross compiling with mingw32ce, should I just try using gcc's built in function for "find-first-bit-set" which is " __builtin_ffs"?
I'll probably try this.
Second question: Or add an assembly instruction for armv4.
Might try however unlikely to succeed, but good excuse to learn assembly.
Wait this may be gcc related, working on installing 4.4.1
«
Last Edit: October 30, 2013, 09:24:32 PM by BenBrown
»
Logged
foolsh
saratoga
Developer
Member
Posts: 9308
Re: SDL app for "WinCE/PPC/Windows Mobile" with mingw32ce toolchain
«
Reply #2 on:
October 30, 2013, 03:39:49 PM »
Initially I would simply use the c version of those routines. Once the target it working, you can figure out which assembly you need.
Logged
BenBrown
Member
Posts: 41
foolsh
Re: SDL app for "WinCE/PPC/Windows Mobile" with mingw32ce toolchain
«
Reply #3 on:
October 30, 2013, 04:21:20 PM »
Thanks,
that was my first impression. There is evidence that gcc 4.4.0 maybe to blame. So, I'm off to rewrite the the build script to use 4.4.1 and see if this just goes away.
Logged
foolsh
saratoga
Developer
Member
Posts: 9308
Re: SDL app for "WinCE/PPC/Windows Mobile" with mingw32ce toolchain
«
Reply #4 on:
October 30, 2013, 08:40:52 PM »
Have you been active in IRC? My advice would be to talk to people there before diving too deep into the guts of rockbox.
Logged
BenBrown
Member
Posts: 41
foolsh
Re: SDL app for "WinCE/PPC/Windows Mobile" with mingw32ce toolchain
«
Reply #5 on:
October 30, 2013, 09:22:08 PM »
Yeah, lately I have been on IRC everyday foolsh is my handle.
After some digging, turns out cegcc/mingw32ce doesn't come in a 4.4.1 flavor. But it appears to be that all arch specific asm found in /firmware/asm/$arch has a generic function to go with it in /firmware/asm/. I just have to discover how to set the proper flag in /firmware/asm/asm.make when it's called.
The learning, struggling to understand and getting frustrated at the code, before I make a discovery is part of the discovery. If the developers handed over all the answers, yeah I would have a working port, but I wouldn't know anymore about it than I do now. So, yeah if I get stuck for too long, be all means I'll readily ask. But, I don't want to sound as if no one else is welcome to jump in and help out. Also I don't expect to many to be interested in this, I admit it's not a very exciting target, and I don't imagine much needs to be done to get it to run.
«
Last Edit: October 30, 2013, 09:43:55 PM by BenBrown
»
Logged
foolsh
gbl08ma
Member
Posts: 249
Re: SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain
«
Reply #6 on:
November 03, 2013, 02:35:56 PM »
I have five (perhaps more) Windows Mobile devices laying around unused, one of them with superb audio quality, and I'm watching the progress of this very closely.
Windows Mobile is an "exciting target" because many of the devices powered by it don't have the horsepower to do certain tasks most smartphones do today, also the amount of software to choose from is reduced, but they can still play music perfectly - it's just that the music players aren't too good. Most WM phones also have removable storage in the form of SD or microSD cards, so in that aspect they are even more expandable than certain dedicated music players.
Tell me if you need help with testing. I'll try to build something out of the gerrit you posted.
Logged
http://gbl08ma.com
|
http://i.tny.im
BenBrown
Member
Posts: 41
foolsh
Re: SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain
«
Reply #7 on:
November 03, 2013, 09:20:35 PM »
Well I'm glad to hear that
I meant "not exciting" as in nitty gritty bare metal *ASM all the things* excitement!! But there might be only a few who call that excitement, good thing they all hang out here
Right now I'm trying to gain confidence in a few toolchain builds I worked up. One does assembly just fine but chokes on some built in functions, the other build environment chokes on the assembly side and plows through built in functions. I'm hoping to find a happy place between them.
Logged
foolsh
gbl08ma
Member
Posts: 249
Re: SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain
«
Reply #8 on:
November 09, 2013, 06:55:13 AM »
So it appears that what you're doing involves not only porting Rockbox, but first and foremost trying to fix ceGCC to a point where one can use it to compile Rockbox for WinCE?
I think that makes it more challenging than other RaaA ports, where SDKs (that integrated more or less well with GCC) were available and proven to work. Good luck
Logged
http://gbl08ma.com
|
http://i.tny.im
LADave
Member
Posts: 9
Re: SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain Mingw32ce
«
Reply #9 on:
May 04, 2015, 05:34:11 AM »
Windows Mobile 5 and 6 smartphones are roadkill on the information highway, but that has advantages. They are expendably cheap at around five bucks if you buy several at a time. They also have attractive hardware: no-tool battery replacement, 1,000 to 2,000 mAh, removeable SD flash cards to 32GB, jacks for microphones as well as headphones, more screen real estate than many players, virtual and even physical QWERTY keyboards, 32M up to 128M RAM plus some built-in flash memory, still and video camera, and sometimes Bluetooth, GPS and WiFi. For recording, the biggest shortcoming seems to be microphone equalization de-emphasizing frequencies outside voice range. Can this be defeated?
Logged
[Saint]
Rockbox Expert
Member
Posts: 1662
Hayden Pearce
Re: SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain Mingw32ce
«
Reply #10 on:
May 04, 2015, 10:34:05 PM »
For what it's worth, I don't believe there is any such limit on the upper value of the size of an sdcard in Windows Mobile devices.
Such "limitations" are almost always the result of brain dead marketing.
It is incredibly rare to find devices that actually have an artificial (because it would be entirely artificial) limitation on how much storage it can address embedded in their firmware. Off the top of my head, I can only think of a few examples.
The whole "supports up to N GB sdcard" thing is usually just the highest capacity sdcard available at the time the product was launched. Unless they actually made an effort to specifically artificially limit the amount of storage these devices can address, it should be perfectly capable of addressing (even though such a card does not {and likely never will} exist) up to 2TB of storage, as the sd specification allows.
[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.
gbl08ma
Member
Posts: 249
Re: SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain Mingw32ce
«
Reply #11 on:
May 06, 2015, 09:55:54 AM »
I can tell things are not as straightforward and there's definitely a limit on many Windows Mobile devices. One of my phones doesn't support SDHC or higher due to driver incompatibility (the hardware itself allows for it, as was discovered when Linux was ported to the thing). Another only supports SDHC with some driver patching or registry hacking (can't remember), and then you need to "fix" the hack for each kind of SD card (i.e., when it is in high-capacity mode it won't read older non-HC cards). Others support SDHC but not SDXC, which effectively yields the 32 GB limit, the highest a SDHC card can have.
Still this is a minor issue (I'd much prefer a 32 GB flash to a 4 GB one as found on many iPods...) and I keep hoping that some day, we'll see Rockbox running on WM. I wouldn't mind porting it myself, but the issue appears to be more of a toolchain one than anything else (no good GCC is available for WM) and I don't have patience for this sort of problems. The batteries on my WM devices are also dying one by one...
Logged
http://gbl08ma.com
|
http://i.tny.im
Print
Pages: [
1
]
« previous
next »
Rockbox Technical Forums
Rockbox Development
New Ports
SDL app for "WinCE/PPC/Windows Mobile" with CEgcc toolchain Mingw32ce
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.112 seconds with 21 queries.