Newbie questions on Running Linux - JASJAR, XDA Exec, MDA Pro General

hi,
i'm very interested in this project. may i ask a few basic questions as i can't find the faq section.
1. the linux will be booted from the SD/MMC card and won't replace the windows mobile 2005, right? that means it's possible to have dual boot?
2. can i install the linux applications on the device? if yes, installed to the SD/MMC card?
3. do i need to use some special installation packages, e.g. ipk at the zaurus? or just can install any desktop application on it?
thanks a lot!

I'd love to know as well...
It'd be good to see other alternatives OSes and software on the Universal as well as seeing how they perform on the same hardware. Playing smooth VGA DivX is a high priority need for me, and right now, WM5 with TCPMP doesn't offer the smoothness I need.

Chatbox said:
WM5 with TCPMP doesn't offer the smoothness I need.
Click to expand...
Click to collapse
It can be a hardware limitation
and was discussed here many times.
The LCD on universal is great, but the video
subsystem is not good compared to Blueangel
or, better, ipaq hx470x.

mullin said:
1. the linux will be booted from the SD/MMC card and won't replace the windows mobile 2005, right?
Click to expand...
Click to collapse
Yes. Currently there is no linux driver for the M-Systems DoC G3, where the bootloader and wince are located.
You will have hard time destroying them by your actions
that means it's possible to have dual boot?
Click to expand...
Click to collapse
Yes.
2. can i install the linux applications on the device? if yes, installed to the SD/MMC card?
Click to expand...
Click to collapse
Yes. You can consider the MMC/SD card as if it was a hard disk on
your desktop computer.
3. do i need to use some special installation packages, e.g. ipk at the zaurus?
Click to expand...
Click to collapse
Yes. The Linux installation image is compiled with OpenEmbedded, and is the Openzaurus in some
sense.
or just can install any desktop application on it?
Click to expand...
Click to collapse
You can install any "desktop" applications
from Debian for ARM CPU, if you will also install all
the dependencies. *.ipk is the debian package format.

Related

How To Download CE 6 OS design

Hi
I want to transfer my own windows ce 6.0 os design to a htc prophet ?
Is it possible?
I found a nk.bin file in os release dir. is it the same as nk.nbf or it needs something to be added to it like ipl/spl?
No.
Let me just verify that I understand you correctly:
You have Platform Builder for Windows CE (not Mobile) 6 and you compiled and OS.
Now you want to put it on your Prophet?
Here is why this can not work:
a) You do not have the hardware drivers. Even if by some miracle you got the Prophet BSP (board support package) from HTC, because CE 6 architecture is so different from CE 5 on which the BSP is based you would have to rewrite them.
b) The nk.bin Platform Builder produces is in plain binary format. The nk.nbf which the Prophet bootloader can recognize is in HTC's special encrypted format so the bootloader will not read the bin.
Yes. You get it right. I know if I want to use phone features completely I need BSP. But what if I want just use some standard features? just LCD and phone features.
Also I saw nbftool that decrypt and encrypt nbf files. Can I use it to encrypt files for prophet?
You need BSP for everything, not just "full features". Every little bit of hardware that connects to the CPU requires a driver unique for your device, that includes the screen, the digitizer (touch screen), hardware keys, USB port, SD card, etc.
This is why the Linux project for these devices hasn't moved beyond booting the kernel.
There are tons of work to be done (not to say it is impossible).
I am not sure about the nbftool but even if you manage to create an image that boots best case scenario is you will see something on the screen.
But you will have no way of controlling the device - no touch screen or keys, and no way to connect to it from windows since you do not have USB drivers.
Then what are the BSPs which exist in Wince by default. There is a ARMv4. How can I use it? Can you help me?
There is ARMv4 and there is Samsung, TI, Xscale, etc. Unlike x86 - all are different. Different memory map, different GPIO, different periferials.
Better waste your time on something else. Anyway CE 6 does not have phone features at all. Compile it for your PC and see that yourself.
mamaich said:
There is ARMv4 and there is Samsung, TI, Xscale, etc. Unlike x86 - all are different. Different memory map, different GPIO, different periferials.
Better waste your time on something else. Anyway CE 6 does not have phone features at all. Compile it for your PC and see that yourself.
Click to expand...
Click to collapse
I think ARMv4 BSP in Platform Builder already have enough driver for this type of CPUs. And HTC phones are ARMv4. So normaly I should be able to build and transfer my OS to there. CE 6 have buitin drivers for modem,LCD and so on. But there is no phone. Because phone is an app that runs on CE. So if I just want to use devices like modem It is enough. The problem is nbf files ae encrypted and os.bin file should encrypt to os.nb and then transfer to device.
shariat said:
I think ARMv4 BSP in Platform Builder already have enough driver for this type of CPUs. And HTC phones are ARMv4. So normaly I should be able to build and transfer my OS to there. CE 6 have buitin drivers for modem,LCD and so on. But there is no phone. Because phone is an app that runs on CE. So if I just want to use devices like modem It is enough. The problem is nbf files ae encrypted and os.bin file should encrypt to os.nb and then transfer to device.
Click to expand...
Click to collapse
you dont really understand the problem.
ARMv4 is not a cpu, it is the ARM version 4 instruction set ....
afaik your phone has some kind of OMAP.
i don't know if CE6 has a BSP for that, but even if it does, it will still not work without modifications.
a recent example. a friend of mine wanted to download a generix xscale 25x eboot (bootloader) to a device that had xscale 255. he almost killed the whole device because the RAM memory map of this generic eboot managed to overlap with the device's original bootloader memory space in ROM. (the virtual memory mapping differed in such an unlucky way.) and so the device's own bootloader thought it had to flash it in instead of loading it into RAM and it overwrote part of itself. luckily only the splashscreen got damaged...
(and of course the device would not boot this eboot.)
that's what happens when someone who has not ever dealt with hardware and memory mappings (i.e. you) tries to play with platform builder and flashing.
also, what is this about CE6 having built in drivers for the modem (you mean GPRS?) and LCD. it doesn't have the correct ones for your device.
and, the phone is more than just an app, it also needs drivers. the modem needs it too.
all in all...i strongly discourage you trying to flash that nk.bin.
it is not even in a format that your bootloader will understand, it is MS BIN format. the nk.nb0 in same release dir (or if there is none then cvrtbin will convert it) will be the raw format that needs to be encoded for nbf, but that is far from enough because it will never boot anyway. so forget this info.
cmonex said:
you dont really understand the problem.
ARMv4 is not a cpu, it is the ARM version 4 instruction set ....
afaik your phone has some kind of OMAP.
i don't know if CE6 has a BSP for that, but even if it does, it will still not work without modifications.
Click to expand...
Click to collapse
But at least the way of using loader is possible. Like how Linux is loaded
shariat said:
But at least the way of using loader is possible. Like how Linux is loaded
Click to expand...
Click to collapse
loader, for what purpose?
cmonex said:
loader, for what purpose?
Click to expand...
Click to collapse
For running WinCE , like Linux. Am i right? Linux devs uses Loader to load Linux on Mobile devices. I think I am confused. Help me on this. My purpose is to use my own OS design.
shariat said:
For running WinCE , like Linux. Am i right? Linux devs uses Loader to load Linux on Mobile devices. I think I am confused. Help me on this. My purpose is to use my own OS design.
Click to expand...
Click to collapse
well, for linux, the drivers have to be written too. (most of the time there are existing ones with source available that can be modified, though.)
so it is more complicated than that.
shariat: writing your own OS for this hardware is not impossible, but is not easy.
I suggest you go away for a while and get hold of platform builder and an arm reference guide and read everything you can about the device, the memory structure, your dedicated hardware structure, and then start writing.
Knowing how the hardware and CPU operate is fundamental to the OS you will write. Platform Builder will give you some source code access and help give you some ideas.
This is a nearly impossible task for a hobbyist coder. I'm sure people will help you, but you need to discuss what you have in mind.
Have a look here for some other easier ideas:
http://simpleos.iroot.ca/index.php
V

Development for WM under Linux?

Hi all,
few weeks ago I deleted Windows and started using Ubuntu (nice OS), but it looks like it isn't possible to develop any applications for Windows Mobile.
Visual Studio 2005, Embedded VC++,... doesn't run under WINE.
I tried to use VirtualBox with WindowsXP, but it was terribly slow.
Is it possible to develop applications for WM under Ubuntu?
(Don't tell me to use dualboot, I want to have clean PC without some Windows sh*ts!)
Thanks
I would also like to know this.
you should trie Eclipse IDE!
If Eclipse doesn't fit, search for some of it's derivates.
There are several... many for Java, but also some for PHP (PDT) and
CSS/(x)HTML (Aptana Studio).
Hope I could help you!
If your VM is too slow,
start using a down-stripped version of WinXP!
(f.e. TinyXP -- nothing illegal, avail. via torrent -> u need a valid serial, of course!)
You can also create your own Tiny Xp..search fo a tool called
1. nLite For XP
2. vLite For Vista
ZaxXx said:
Is it possible to develop applications for WM under Ubuntu?
Click to expand...
Click to collapse
Check http://cegcc.sf.net
arm-wince-mingw32ce can be used to compile many wince programs
if you write/adapt the Makefiles
you can maybe make compact framework .net apps using http://www.mono-project.com/Main_Page
mono
Actually, you should think of downloading WM 5/6 SDK and... using it with right cross-GCC.
Yes, I was right: http://cegcc.sourceforge.net/

Windows 8 News

http://www.infoworld.com/d/microsoft-windows/windows-8-arm-chips-it-was-too-good-be-true-173265
Windows 8 can run on ARM processor, if you search windows 8 requierments, it sais 1 ghz procesor, we got 600mhz but maybe it could be enough, minimum ram requierment is 64 mb, so maybe there is a way to port the newly released Windows 8 to Mobile :> Can an dev say if it's possible to run it on X8 or not?
We can't run another OS on our X8
Chris95X8 said:
We can't run another OS on our X8
Click to expand...
Click to collapse
Are u sure?
Yeah it has been confirmed, you can find it in the X8 FAQ too.
Well, maybe they may find a way to do it in the future, who knows...
The Windows 8 will be the most "possible" OS that can be ported into android phone.
It is still unknown now.
edit:
http://forum.xda-developers.com/showthread.php?p=17628173#post17628173
Blagus said:
We have more chances porting Windows 8 ARM version instead of WP7.
Click to expand...
Click to collapse
Yes, we can run another OS on our X8 because now the bootloader is unlocked.
Please do not post ambiguous comments if you are not sure about them.
Chris95X8 said:
Yeah it has been confirmed, you can find it in the X8 FAQ too.
Well, maybe they may find a way to do it in the future, who knows...
Click to expand...
Click to collapse
CM-PRo said:
Yes, we can run another OS on our X8 because now the bootloader is unlocked.
Please do not post ambiguous comments if you are not sure about them.
Click to expand...
Click to collapse
Not only the bootloader.
We need the driver and hardware support too.
Yes is only for theory, still many things to do beside of these.
it will be great if we port Windows 8 to our phone but...
It's a really HARD WORK because we need to write all the drivers and probably it will not be as smooth as android because of our processor i think.
But we can run W8 on our device, but we will spend the same time porting it to our phone, as Microsoft creating the next Windows OS
Sorry for my bad english
btw,because win8 is big, it will have to run from sdcard, and also if the card is at least class 6, windows will run pretty fast on our device.. lets keep our ringers crossed
Sent from my X8 using XDA App
i remember there was an easy way of running ubuntu on android device maybe theres an similar solution for running w8...idk just thinking...
Sent from my X8 using XDA App
This is Windows. Not Linux. It means:
We have to take Linux drivers from kernel and rewrite them for Windows
We can't just run it from SD card by Linux-style chrooting. chroot changes root to specified directory, keeping the Linux architecture. That's how you run Ubuntu from SD card and you can't do that with Windows here.
Do we have enough memory? Do you know that loading Windows is different than loading kernel, unpacking which mounts "system", "data" and other partitions? Windows needs only one (1) partition which holds everything.
Of course, you all are invited to take a look at the_laser's boot loader unlock release and try to modify S1Boot calls and functions, to support, for example, booting from SD card as installation media, and merge all partitions into one (maybe exclude amss from that as we could still use radio?) for Windows. Then modify it to execute files from that partition instead of unpacking boot partition and starting Linux boot sequence there.
Do we have enough processing power? Will ARMv6 be supported at all?
And so on...
But still, we have bigger chances in porting Win8 than WP7, assuming that it'll have the standard Windows driver APIs.
Best regards,
Blagus
I think some developers will publish some w8 launchers,lockscreens and themes for theme chooser like we have it today with wp7
Blagus said:
This is Windows. Not Linux. It means:
We have to take Linux drivers from kernel and rewrite them for Windows
We can't just run it from SD card by Linux-style chrooting. chroot changes root to specified directory, keeping the Linux architecture. That's how you run Ubuntu from SD card and you can't do that with Windows here.
Do we have enough memory? Do you know that loading Windows is different than loading kernel, unpacking which mounts "system", "data" and other partitions? Windows needs only one (1) partition which holds everything.
Of course, you all are invited to take a look at the_laser's boot loader unlock release and try to modify S1Boot calls and functions, to support, for example, booting from SD card as installation media, and merge all partitions into one (maybe exclude amss from that as we could still use radio?) for Windows. Then modify it to execute files from that partition instead of unpacking boot partition and starting Linux boot sequence there.
Do we have enough processing power? Will ARMv6 be supported at all?
And so on...
But still, we have bigger chances in porting Win8 than WP7, assuming that it'll have the standard Windows driver APIs.
Best regards,
Blagus
Click to expand...
Click to collapse
Win8 has something like 20GB, if it's similar to Win7, and ARMv6 probably will NOT be supported, we can't have ICS because of the processor, and we are dreaming of having a SO that is, probably, even more heavy in processing.
Keep dreaming of having Win8 on your phones. Install Win8 on your computer to help you having better dreams. And use Teamviewer on X8 to see your Win8 Computer, it will give you a realistic dream.
EDIT: I've changed "W8" to "Win8" because in this foruns the W8 is the Walkman version of our phone, and some people will be confused
Blagus said:
This is Windows. Not Linux. It means:
We have to take Linux drivers from kernel and rewrite them for Windows
We can't just run it from SD card by Linux-style chrooting. chroot changes root to specified directory, keeping the Linux architecture. That's how you run Ubuntu from SD card and you can't do that with Windows here.
Do we have enough memory? Do you know that loading Windows is different than loading kernel, unpacking which mounts "system", "data" and other partitions? Windows needs only one (1) partition which holds everything.
Of course, you all are invited to take a look at the_laser's boot loader unlock release and try to modify S1Boot calls and functions, to support, for example, booting from SD card as installation media, and merge all partitions into one (maybe exclude amss from that as we could still use radio?) for Windows. Then modify it to execute files from that partition instead of unpacking boot partition and starting Linux boot sequence there.
Do we have enough processing power? Will ARMv6 be supported at all?
And so on...
But still, we have bigger chances in porting Win8 than WP7, assuming that it'll have the standard Windows driver APIs.
Best regards,
Blagus
Click to expand...
Click to collapse
well, on system requierments it sais that W8 will even run on an 64 mb ram system, so that's good, but, as you said the processor may be an problem..
Btw, Blagus, thanks for the info now i understand how much work is to do
Does it means Windows Mobile 8 or Windows 8 (computer??)
the requirements already said that we just need 60 mb ram to run win8, does we need the bigger of that? ( i mean does we need more internal memory??)
Also we can (maybe) make inter memory to be many parti and link the system to that part, isn't true?? Sorry newbie...
alvian matt said:
Does it means Windows Mobile 8 or Windows 8 (computer??)
the requirements already said that we just need 60 mb ram to run win8, does we need the bigger of that? ( i mean does we need more internal memory??)
Also we can (maybe) make inter memory to be many parti and link the system to that part, isn't true?? Sorry newbie...
Click to expand...
Click to collapse
Well, i was talking about windows 8, it has been released for PC's and Windows tablets, and will be released for ARM tablets too if it hasn't been already.
It needs minimum 64 mb RAM, and it's got around 4-8 gb so we need an big sdcard

Are there any images to NVFlash Ubuntu to my Transformer

I've looked and can't find a simple way to nvflash Ubuntu. Cause I don't have a microSDcard too.
Sustantivo said:
I've looked and can't find a simple way to nvflash Ubuntu. Cause I don't have a microSDcard too.
Click to expand...
Click to collapse
You do not need a microSD card to NVFlash...
Use frank123's 1 click ubuntu installer it is extremely easy
mrevankyle said:
You do not need a microSD card to NVFlash...
Use frank123's 1 click ubuntu installer it is extremely easy
Click to expand...
Click to collapse
Uhm yeah but there is a tutorial that you nvflash with a micro SD or something hahah thanks man I'll search it now
Sustantivo said:
Uhm yeah but there is a tutorial that you nvflash with a micro SD or something hahah thanks man I'll search it now
Click to expand...
Click to collapse
NVFlash is what you do when you plug your tablet into your computer in apx mode and run an exe it does not require a microsd
CWM which is the more common rom/kernal flasher is done from your tablet and the normal version for that requires a microSD. (There is a new one that allows you to flash from internal sd)
If you want full control over whats going on dont use windows or an exe do it through linux and use stevie's script if it screws out atleast you know what has happened and can hopefully fix it.
The process is pretty safe now but i still prefer to do anything concerning android in ubuntu on my pc.
Sent from my tf running krakd warped an twisted 1544mhz Blades kernel
Danzano said:
...use stevie's script...
Click to expand...
Click to collapse
what is that exactly? i am using the root toolkit on windows for now, worked wo. any problem so far. great tool!
i am having ubuntu on my laptop as well and want to use it more since a long time, but, to be honest, i am still a linux noob...unfortunately...
Petarsson said:
what is that exactly? i am using the root toolkit on windows for now, worked wo. any problem so far. great tool!
i am having ubuntu on my laptop as well and want to use it more since a long time, but, to be honest, i am still a linux noob...unfortunately...
Click to expand...
Click to collapse
If you have ubuntu on your laptop, the best you can do is look at the thread ubuntu emmc install in the other forum, [Q&A], you can look in my profile in statistics ---> find all my posts, to find the thread.

[Q] How to compile nitrogen for Win CE

This may be a rookie issue but i cant seem to get started here.
I need to compile nitrogen mp3 player, for Windows CE for my car audio (it runs WCE6.0).
I want to make some changes to the source, so therefore i cant just get a compiled copy.
I am using visual studio 2005. When i compile the solution, and try to run it on a Windows CE emulator, it doesnt open.
Running a download version, works fine, in the same emulator.
I think i maybe have the wrong SDK installed.
So my questios are, what SDKs i have to use, or do i have to use VS2008?
Or are the some other packages that i need to install, in order to make it work?
Why not simply use Pelles C instead of VS 2005?
jwoegerbauer said:
Why not simply use Pelles C instead of VS 2005?
Click to expand...
Click to collapse
It seems that Pelles C doesnt support compiling c++.
Im not able to open the .sln file provided with the nitrogen source code.
NeophyteDK said:
It seems that Pelles C doesnt support compiling c++.
Click to expand...
Click to collapse
Bingo.

Categories

Resources