yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] sjs:
ok, this is what i suspected. i've been reading more on the himalaya as that is what is supported by the current hh.org kernel. i'm hoping to have success running one of those kernels on my device as soon as i get it to compile. since they both have a pxa263 i think it should work. (famous last words)

thank you for this info. i will have to start reading a lot. i'm currently reading the intel dev manual for the pxa processors... unfortunately between school and work there's not a lot of time for this but as they say, Rome wasn't built in a day. 8)
[Windows Mobile Development and Hacking General] cr2:
Qtopia works off the raw framebuffer.

If you have the working framebuffer driver,

then yes.
[Windows Mobile Development and Hacking General] cr2:
Here is some more info.
[Windows Mobile Development and Hacking General] sjs:
thank you again. i think once i grasp how the kernel boots this device (first time hacking on a kernel) and familiarize myself with the dev manual i'm going to attempt to get a console on the device. i still have to see how far the lcd and keyboard drivers are.

have you had any success booting a kernel on this device? i have gotten as far as haret showing me a fully red thermometer and the penguin's eyes changing but then it freezes, every time. the only kernel i have attempted so far is the 2.6.3 one for the himalaya on the wiki. i would be happy to even see a kernel panic. :) i haven't used linexec yet, but i don't think haret is the problem here.

there is lots that can be done with haret but i'd rather start debugging the current code to get a feel for it before i jump in and write my first kernel code.
[Windows Mobile Development and Hacking General] cr2:
No. Buggy haret freezes during boot.

Don't waste your time on linexec, because haret is its derivative.

Haret is a nice piece of software, but it has some major problems in linboot.cpp

that should be fixed first.

The booting fails for me here:

preloader = (uint8 *)((mem + 0xfff) & ~0xfff);

preloaderPA = memVirtToPhys ((uint32)preloader);

Output (L"TMP Preloader physical/virtual address: %08x %08x", preloaderPA, preloader);

so i have replaced memVirtToPhys (returning -1) with LockPages, get the "real" physical addresses, but it still doesn't boot.

I don't really get it WTF is this garbage collector stuff doing there. Maybe we

can rewrite it completely, but i don't have

time right now :(
[Windows Mobile Development and Hacking General] buzz_lightyear:
hi there,

this stuff is really interesting...

may I join you somehow?

buzz
[Windows Mobile Development and Hacking General] cr2:
From atihwtbl0.txt

[USB] //USB

"HostClk"=dword:0x1 // enable function clock if there is a host port

"Port0Mode"=dword:0x2 // 0 disable, 1 host, 2 function, 3 OTG

ATI integrates TransDimension's USB On-The-Go OTG Core into new Imageon display co-processor for handheld devices.

http://www.us.design-reuse.com/news/news4636.html

There are a lot of datasheets on interfacing to PXA* here

http://www.transdimension.com/downloads/index.html
[Windows Mobile Development and Hacking General] cr2:
You can start a blueangel hardware wiki :)
[Windows Mobile Development and Hacking General] cr2:
ATI Imageon has hardware 2D acceleration,

MPEG decoder (betaplayer

source code shows how to use it),

USB OTG (as i have mentioned it is enabled in the "function" mode), video capture port

(also can be used), SDIO port (not yet clear if it is used). If we will trust the atihwtbl0.txt

there is an I^2C port (unused) and some

GPIO lines (unused).
[Windows Mobile Development and Hacking General] cr2:
The SDIO and VIDCAP sections are missing in the atihwtbl0.txt file.

The video capture is working...

[SDIO]

SDIOEnable

CardDetectEnable

ControllerEnable

InvertSDClock

[VIDCAP]

DeviceConnected

ITUFormat
[Windows Mobile Development and Hacking General] sjs:
of course! i myself am still getting my feet wet here. currently i'm reading the following intel documents:

(this is roughly the list over at http://zap.eltrast.ru/en/haret.html )

http://www.intel.com/design/pca/applicationsprocessors/manuals/278638.htm

http://www.intel.com/design/pca/applicationsprocessors/manuals/278639.htm

http://www.intel.com/design/pca/applicationsprocessors/manuals/278641.htm

http://www.intel.com/design/intelxscale/273473.htm

http://www.intel.com/design/pca/applicationsprocessors/applnots/278786.htm

These are somewhat in order of decreasing importance (according to HaRET's author). I'm just past pg. 100 of the first one listed, PXA26x developer's manual.

As cr2 said, a page for the Blue Angel's hardware on the wiki here would be useful.

I haven't found any sites with anything really useful apart from on www.handhelds.org and this website here (obviously excluding intel's documentation), but perhaps someone else knows of some other fruitful sources.
[Windows Mobile Development and Hacking General] cp15:
Re: gomunicator bugs.

Well, I wantet to reach a state where I can use the device as phone.

This state is now reached (for me at least...)

But since it is an open project: Volunteers are still very welcome.
[Windows Mobile Development and Hacking General] JuNu_KN:
I am shure, you know it already, but I saw today, that someone

has started to insert Blueangel-Support into OpenEmbedded .... Great!

http://www.handhelds.org/hypermail/oe/40/date.html

... starting to search a used Blueangel ... ;o)
[Windows Mobile Development and Hacking General] cr2:
I was told yesterday, that the Blueangel LCD

will be delivered in the end of October.

It is probably easier for me to switch to Universal.

Is somebody who is reading this thread

using Himalaya, and is interested to run Linux

on it ?
[Windows Mobile Development and Hacking General] cr2:
Re: gomunicator bugs.

I'm interested in WIFI, BT GPS, GPRS, SDIO GPS, power management (decreasing order). I would also

like to document the things in a user-friendly

manner.

BTW, how can i (test) run wifi ?
[Windows Mobile Development and Hacking General] cp15:
Why does it take so long?

How many phones do you have?
[Windows Mobile Development and Hacking General] cp15:
Re: gomunicator bugs.

Well WIFI might be a small step, It might also take a lot of work.

Since bluez is working this should work.

Should work as soon as the dpram driver works.

This will be a hard thing. There is no infrastructure in Linux for SDIO devices (as far as I know) and no SDIO driver and how the SDIO in ASIC3 works is also unknown.

I think here we can get a lot of improvements over windows. All the drivers I have seen do a timed wait in a tight loop without reducing cpu speed/power.

That would be fine.

Keep wathing the xanadux cvs and BlueangelProgress. I will checkin my incomplete work to cvs soon.
[Windows Mobile Development and Hacking General] cr2:
That's how the "new economy" functions. They

claim in internet having it in stock, you transfer

the money, they ask to wait for a week, then

one week more. Finally they tell you that

your LCD is ordered in Taiwan and will come later...

One half-dead Blueangel, but i'm interested in

a Universal because of the VGA screen.

The maps look better when you use GPS.
[Windows Mobile Development and Hacking General] cr2:
Re: gomunicator bugs.

If it will work in a half of the year i'll be happy.

There is such a driver in the Universal, so we

can politely ask him (if it works). The manufacturer-provided wince driver

doesn't work for me in Blueangel (!)

Ok. I will be also asking dumb questions about

other things to put them into wiki 8)
[Windows Mobile Development and Hacking General] cp15:
Do you know a good program for linux?
[Windows Mobile Development and Hacking General] cp15:
Re: gomunicator bugs.

Oh...

The SDIO protocol doesn't seem to be that complicated, it is quite similar to SD.

There are also parts of PCMCIA used (each card has a CIS area).

I guess you will find a standard uart on the GPS receiver.

A good description of the procotcol is available at http://www.sandisk.com/oem/manuals.asp

But what I really like to see is a GPS receiver with integrated storage card or an additional slot for a SD card.

The SD protocol supports multiple cards on one bus, and there is a combined WIFI/SD card available from sandisk.

Because without a SD card, the storage for maps is very limited.

And with a BT GPS receiver, you have both hands full of devices.
[Windows Mobile Development and Hacking General] cr2:
There are only three of them (IMHO):

qpegps (opie,raster maps)

http://qpegps.sf.net

gpsdrive (gtk,raster+hacks)

http://gpsdrive.kraftvoll.at

and

roadmap (everything,vector maps of USA+DCW hack for the rest of the world)

http://roadmap.digitalomaha.net

I can write a lot about all of them, but they are

suffering from one thing: they are not ready for a Joe average user. One must really know what

he is doing to use them with high quality maps.

Vector maps is also a never ending story:

for more information on a good open format look here

http://gps.chrisb.org/en/main.htm

and for the free maps here

http://mapcenter.cgpsmapper.com

Unfortunately, there is no converter

for roadmap (though it is relatively easy to write one).

The last problem is the route planning:

http://gps.chrisb.org/en/main.htm

supports the required road graph information,

and there is a free library at

http://grass.itc.it/dglib

to use this information.

IMHO, it takes 1-2 motivated people and a good

project management to finish a free navigation

system.

Currently i'm using a wince program written

by one obscure company, which is accepts the

free maps from http://mapcenter.cgpsmapper.com
[Windows Mobile Development and Hacking General] cr2:
Re: gomunicator bugs.

It must be like a mmaped PCMCIA UART, we only need

a mmc_serial module instead of mmc_block

to talk to it. I'm still not sure about the device naming, though.

I think there is one from Garmin, but it's $$$,

as everything from Garmin ;)

SD can also use the SPI as a transport protocol, so i'm unsure why there are no

SD/SPI GPS receivers. Looks much easier

for me than implementing a full-blown SDIO

control circuitry and paying $$$ for the

"intellectual property".

I have seen such an exciting hack, where

the guys added the SD/SPI port to a linux wifi Linksys router.

Don't forget about the power supplies for both,

and the car adapters!

Universal has 128MB flash, so if the microsoft crap will be removed from there, it can take the

the detailed maps of half Europe, which is more than enough.
[Windows Mobile Development and Hacking General] cr2:
opie.

It brings me to the logical question:

is it possible to use opie on Blueangel

right now ?
[Windows Mobile Development and Hacking General] cp15:
Maybe I should publish mine... Vector based, with routing, uses the Map&Guide data format (available with "Telefonbuch Map&Route" and "Marco Polo Großer Reiseplaner").

But it will still take some work til it is ready for end users and it is probably too ressource hungry for a pda.
[Windows Mobile Development and Hacking General] cp15:
Re: gomunicator bugs.

I would like to use the internal flash for operating system, essential applications and user data and the SD card for "bigger" applications which you can change as needed.

But 128MB should be still enough... For the Universal...
[Windows Mobile Development and Hacking General] cp15:
Re: opie.

I see no reason why it shouldn't work.

I have choosen gpe, even if its applications are not as good as the opie ones, because I like the concept of using sqlite for application storage and dbus for communication more than the opie xml thing and dcop.
[Windows Mobile Development and Hacking General] JuNu_KN:
@cp15

Hello again, hope, you have had a good rest of the night ...

... Yesterday I thought it was a joke of yours, that you have reused a Map-Data of a manufacturer!?

If it isn't so, I will insert my idea of an ideal routing software as well ...

!!! The Updateability of the maps by Users !!!!

Without it each software is a fake ... (at least after half of a year!)

So I thought on a Community, which is tracking all its routes, which are not found in the card data and synchronize to a central server. There the ammount of different car-drivers of the same route (street, or part of it) will be used as a rate level for the correctness of the given new road-info.

After a special level is reached, this new route information can be synced back into the Clients databases.

Nearly same way to delete no longer available routes, by a special button to press, if a driving advice of the navigation system is no longer be possible (perhaps the street is closed now).

Probably It may need a post processing step on the syn-tool to fill the rest of needed data by hand (wizard style), - and perhaps for some optimizations needs, to be done offline.

I am willing (and able) to help with such extensions.

But which toolset to use, to support all Client types?

Java / NET / wxWidgets / html ;o)

Who has a idea
[Windows Mobile Development and Hacking General] cr2:
you should visit http://www.openstreetmap.org

They have a qt-based osm-editor

http://www.openstreetmap.org/wiki/index.php/Osmeditor

and some java-1.5 program. Since i dislike java and

avoid it by all means, i use the first one :)

Unfortunately it has some bugs, but they

will be ironed out soon.

Qgis is also a very nice program that can

help with viewing/preparing maps

http://qgis.org
[Windows Mobile Development and Hacking General] cr2:
How do you know that ?

I'm also interested in the capabilities of

this data format.
[Windows Mobile Development and Hacking General] cr2:
UDA1380

What does it mean ?
[Windows Mobile Development and Hacking General] cp15:
Re: UDA1380

There is still some strange initialization missing which lets playback fail under linux. I have patched haret so it opens the sound device and plays a few seconds silence before booting linux.

Haret (including source information) is available at http://www.handhelds.org/moin/moin.cgi/BlueAngel
[Windows Mobile Development and Hacking General] cr2:
Re: UDA1380

Can you write a program that opens, plays some

white noise for 1 second and closes the device

in an endless loop ? I'd like to look for the changes in all known

locations.
[Windows Mobile Development and Hacking General] cr2:
BT ettercap.

I am looking for a program that will fully log

the BT command transactions. Is there any

"technical enough" hcitool manual available ?
[Windows Mobile Development and Hacking General] cr2:
USB monitor.

I can remember the GPLd windows driver, used

to develop the linux USB drivers, that was

similar to this software

http://www.hhdsoftware.com/usbmon.html

Does anybody know more about it ?
[Windows Mobile Development and Hacking General] cr2:
SD/SDIO base address.

Is there any "direct" way to find out where it is

located ?
[Windows Mobile Development and Hacking General] cr2:
Bluetooth is (big surprise!) connected to the BTUART, and GSM data (and probably UMTS) goes through USB (IMHO). The PXA270

USB host configuration needs some more research: one port is configured as a master for

an external OTG transceiver, one as a slave.

It is still unclear if the host is connected to the

mini-USB socket. The IrDA SIR is on STUART,

don't know how to activate FIR. Is it enough

to open COM3 and write some junk there ?
[Windows Mobile Development and Hacking General] cr2:
USB bugs.

In the kernel available for Blueangel from hh.org (and also with the compiled CVS version) USB is

still giving me a read error. Must be some timing or similar issue.

Synce crashes the ipaq kernel driver when running on Universal, gotta love this buggy software ;) I'm using telnet over wifi to run haret

on Universal.
[Windows Mobile Development and Hacking General] cr2:
LCD types.

There is an interesting post here:

http://xdaforums.com/viewtopic.php?p=169365
[Windows Mobile Development and Hacking General] JuNu_KN:
Just look into IRC from time to time!

Hello CR2,

I follow your commenst since weeks. Great job!

CP15 is often available on IRC and has made a lot of progress!

The device works meanwhile standallone, ... "final" Keyboarddriver is in work.

I think you know, but telephone is also working with the gominator.

So probably it may be good for you to look sometimes into IRC to got responses ;o)

By the way, I am still interrested in the progress of other devices like wallaby (my old device) and Himalaya, - my new one, which should be shipped within this week! Did you know any news about it?
[Windows Mobile Development and Hacking General] cr2:
Re: Just look into IRC from time to time!

I'm following the CVS, but my blueangel is

unusable in its current state, so i'm mainly

doing research on universal, when time allows.

Wallaby

you can have a haret for sa1100 to look into the

memory, you can also try to run gomunicator

using the right serial ports.

The

missing MMC/SD driver is your biggest problem.

Himalaya

a haret version that can watch the ASIC3 GPIOs is available. ASIC3 is not 16bit packed like on Blueangel, Alpine and Universal,

and is at a different location. With appropriate changes the asic3_mmc driver should work.

Magician

the hardware is more or less understood, the porting is beginning.

Alpine

the hardware is more or less understood,

but nobody has such a device, so no 'gpio dump' and asic3 gpio information so far.

Universal

I'm working on it, the most complicated phone setup.
[Windows Mobile Development and Hacking General] JuNu_KN:
cr2

Thanks for your answers ...

Why can you examine all those devices ! ?

Did you have most of them?

I tried to boot the Wallaby Port (kernel 2.4 and 2.6) with linexec and the BA-HaRET. But it only blanks the screen and gave unreadable charavters on Seriell line .... not on the screen!

But I thought, it will be better to forget this port.

I bought therefore a Himalaya, which will be shipped hopefully until end of this or next week.

When it arrives, you will be welcome to advice me to start the given Kernel and perhaps port everything from BA to Himalaya. I saw, that also a guy from IRC llange has started to port the kernel ... we will see!

I hope Sound, Phone and Touchscreen may be the same as in BA. noone reported in the wiki, that most of this things are done ... so I wonder, why they stopped to create a distribution out of it! Now with the telephone functionality of BA it shoul be minor effort! ?

So I will ask you again next week!
[Windows Mobile Development and Hacking General] cr2:
Normal haret is for the PXA processor, and

you have strongarm. The address space is

different and ,hmm, everything is different.

If you want to boot with linexec, take it

from hp jornada720 port.

Touchscreen is the same chip and SSP interface, phone uses different

serial ports

http://wiki.xda-developers.com/index.php?pagename=HTC_Serial

i have added something about sound at

http://wiki.xda-developers.com/index.php?pagename=HimalayaSound

They didn't have SD driver and M-Systems G3 flash driver! Without it, the port is just like Wallaby - the proof of concept.
[Windows Mobile Development and Hacking General] JuNu_KN:
For which purposes is the M-Systems G3 flash driver!

I understood, that the SD-Driver-Chip should be the same as with BA ...

I understand, that the same may be with the phone !?

Can you give me the link to the HaRET Version, to be used for booting the kernel? As I understood, you ment the one for the wallaby ....

The Himalaya HaRET should be the same as with BA ?

Otherwise ... can you please correct the links in the HaRET Download-Page of the wiki?

I thought the mmc_port driver should be the same as with BA !? Only the Port-Adresses should differ !? So it should be only a recompile to make the SD write and readable!?

Or are I am completely wrong ?

Wait until I got my Himalaya ... with your/my help, I/you will get it running!
[Windows Mobile Development and Hacking General] cr2:
To remove wince and use these 64MB for the real operating system :)

You can't boot the kernel with haret on older

wince versions, because of the somewhat different memory management. I still have

not found time to fix it. Once fixed, it can

be used on any wince version (if one wants it).

Yes. It works also on universal and magician, and should work on alpine.

mmc_block - yes. asic3 - no, see this page

http://wiki.xda-developers.com/index.php?pagename=ASIC3

You will have to do some work on the Himalaya wiki and hardware.

The asic3 stuff here (probably a lot of it comes

from asking the bootloader)

http://wiki.xda-developers.com/index.php?pagename=HimalayaEGPIO

disagrees with the dumped table here:

http://wiki.xda-developers.com/index.php?pagename=HimalayaLinuxBooting

The BOARDID pins are found on ASIC3 as i understand the wiki text, and there are 3 pins

and 3 boards. It seems that they are disabled

after being read.

It looks like the Universal, where there are 4 BOARDID pins on

ASIC3 and 2 boards (known to man now).

There is also a lot of redundant stuff and silly comments to be cleaned away.
[Windows Mobile Development and Hacking General] cr2:
Memory fragmentation

FYI, the AllocPhysMem() on universal (64MB RAM) was

able to allocate the 8.5MB continuous RAM buffer.

If haret will kill some redundant wince programs,

there should be more space. Sometimes later I'll try how many virtual memory can be

allocated, locked and transfered to linux.
[Windows Mobile Development and Hacking General] JuNu_KN:
Again, the question ... which devices do you own? I know the two BA and universal from your posts....

About M-Systems G3 flash I would say, ... equal to me at the moment ... lets have it like in the BA a special autostartup-Application on a big SD card, which will start Linux!

I have WinCe2003 first edition on my wallaby!

What means Asic3 no? For me the table looks, that only the second adress isn't known now .... again wait until I have my device ... than you can ask me to do some dumps you need.

Or do you have also a MDA2 ?

Here you next week and thanks for the infos.
[Windows Mobile Development and Hacking General] cr2:
Screenshots.

I'd like to see the opie, qpegps, gomunicator and roadmap screenshots on Blueangel. Can somebody upload them here or put them into wiki ?
[Windows Mobile Development and Hacking General] cr2:
BA with smashed LCD and Universal.

Should it be so complicated, as it is now ? Can

we simply rename haret.exe to autoboot.exe ?

The startup.txt is (in principle) redundant, since we boot only

on BA, and the kernel and ramdisk can be

put into COFF resource section and

copied into allocated RAM from there.

I have not done it, but it should work 8)

Then we can try to boot some time.
[Windows Mobile Development and Hacking General] cp15:
Doesn't work. Haret won't find it's startup.txt when used as autorun.exe.

I guess it is started without complete path to the executable.

You mean you want to integrate the kernel and ramdisk into haret?
[Windows Mobile Development and Hacking General] cr2:
I want to link them with haret and replace the

disk read routines with something like

kernel= (void *)LoadResource(NULL,FindResource(NULL, "zImage", RT_RCDATA ));

rdisk= (void *)LoadResource(NULL,FindResource(NULL, "ramdisk", RT_RCDATA ));

Combined with robust memory management, it will provide an ultimate plug-and-pray solution.

We can even make a cab file. Running Linux was never easier 8)
[Windows Mobile Development and Hacking General] cr2:
Re: UDA1380

We should make a closer look at

http://www.thb-service.de/download/MDAIII/Wavedev.dll
[Windows Mobile Development and Hacking General] cp15:
Re: UDA1380

Already done, found nothing unusual.

Wavedev.dll uses the following Adresses:

asic3 gpioa-d:

Differences should be detectable, none found

asic3 clock:

Differences should be detectable, none found

pxa gpio:

Differences should be detectable, none found

pxa dma:

Unimportant in this case, I think

pxa i2c:

Maybe some other device on the i2c bus?

pxa i2s:

Maybe some change in setup. It is still unknown where the framing signal for playback originates from. The SSP cannot generate it, but the UDA1380 doesn't work without it.

pxa os timer:

AFAIK just used for delays

pxa ssp:

Checked, no difference

pxa clock:

No difference in CKEN, AFAIK