All times are UTC




Post new topic Reply to topic  [ 103 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7
Author Message
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Sun Aug 08, 2010 12:11 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
Well looks that I was right that gsm module is connected to pxa's serial port. Quote from old maui project page:

Quote:
It would be of great help, if we could see the kernel booting on a serial console. Info's on this are highly needed.
Update: I found the wiring for the serial interface! Here the link to the at-gm40x.pdf :-))


The only problem is that link is not working (file doesn't exist). On hpcfactor i found that somebody got it from Ubinetics (gsm module manufacturer), but this company doesn't exist anymore... It was bougt by CSR a few years ago. I'll try to contact them.

Module is Ubinetics GM404.
Without having any docs, we can guess that it could be a standard rs232 "at" gsm modem

From other point of view - if we'll get these docs, we'll probably get pxa serial port for debugging.


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Fri Oct 01, 2010 4:03 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
I just bought spare device, this time with docking station, so maybe we'll get usb port for ssh console (i guess). So I hope I'll be 'back in buisness' soon...


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Tue Oct 05, 2010 11:11 am 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
Great. Please keep our wiki updated with the progress you make (new hardware info...and so on).

I will take another stab at compiling a kernel. But without serial output its always alot harder.


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Fri Oct 08, 2010 2:05 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
If GSM is standard AT modem connected to PXA serial port as I guess, I'll try to trace right pins for RS232 port, but first I'll try to talk with it using AT commands.

Is pxa's serial enabled by default in mp900 kernel config?


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Fri Oct 08, 2010 5:48 pm 
Administrator
Administrator
User avatar

Joined: Wed Feb 22, 2006 12:49 pm
Posts: 1137
Location: Sweden
yes all kernels should have serial output by default (its always a good thing).


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Wed Oct 13, 2010 4:44 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
Ok, got everything working again. Is there a way to use old graphics driver (from 2.6.24) in 2.6.32? I didn't want to disassemble device after every linux boot :wink: (at least until we've got more things working)

I'll put some info on wiki, just tell me where can I add maui?

btw, yeah:

Image


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Sat Oct 30, 2010 8:25 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
So I added new video, screenshots and hi-res motherboard photos (with uC's names visible) to my page:
http://pdasite.pl/kitor/maui_linux/media.html

I want to move everything to jlime's wiki, just tell me where i can add maui section (current page layout looks pretty good so i don't want to modifiy it myself :wink: )

Also I'm uploading rootfs image to my server, but I think I should also move it here.

Question about epson driver is not actual anymore because I can't get sd/mmc and initrd working on 2.6.32 - but if it's possible I want to use full featured driver on 2.6.24...


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Sun Oct 31, 2010 3:02 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
Ok, got working 2.6.32 (both initrd and pxa mmc host :) ) but touchscreen is not working... I'll try to catch you on IRC later to commit changes in git tree.

---
just disassembled device looking for serial... and found usb host :shock: fully powered (using max890l) connected to pins 50/51 of isp1161a1 (downstream port 1), works out of the box in wince (yes, there's driver in os although bsquare never told us about that), but seems that it uses other gpios that 900c - linux driver failed to initialize...

anyway, it's a big chance for this device as it doesn't have wifi/bt and cf/pcmcia and SDIO is used for memory card


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Sat Nov 06, 2010 12:03 am 
JLime Newbie
JLime Newbie

Joined: Fri Nov 05, 2010 11:43 pm
Posts: 7
Just a quick message of thanks to both of you, kristoffer and kitor, for your great work on this Jlime development for Maui.
While I love JLime on my Jornada 680, it will be great to carry around a smaller more powerful unit like the Maui able to do things like streaming BBC radio, leaving the Jornada for more typing intensive tasks.
The only thing I wonder about is how to use an SD wifi card on the Maui if its SD slot is used to hold JLime on an SD flash storage card ...


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Sat Nov 06, 2010 8:31 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
Hi gio!

Well, the only problem is that jlime is already using SD slot for memory card with rootfs on it. I remember that there were some SD "combo" cards (memory + wifi) but I have no idea will them work under Linux. But now some good news - Maui has got full USB Host* (by the way, working out of the box in WinCE) and it's using the same uC as Nec mp900/c, so it may be possible in future to use it to connect bluetooth/wifi card.

I'm very begginer in programming, without any experience before in such things (only few 'hello world' style apps in past), and nobody other here has Maui, so it may take ages (if ever) to get everything working.

Anyway, I learned here a couple of things and don't want to stop working on it (at least for now) :wink:

*Here's USB Connector added to docking station: LINK, Maui provide power for USB devices, but for now I don't know how to turn it on, so I use external power from chager.


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Tue Nov 16, 2010 9:46 pm 
JLime Newbie
JLime Newbie

Joined: Fri Nov 05, 2010 11:43 pm
Posts: 7
Hey kitor, that's good news about your progress with the USB port - I'll try and use it in Win CE. So yes that could be the answer for wifi in jlime. I guess another might be to load jlime into RAM to free up the SD slot, if that were possible ...? Am afraid I don't know about linux programming, so I am amazed at all the stuff you've done with jlime for the Maui if you are a novice programmer yourself.

I look forward to more good news from you and Kristoffer!


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Thu Nov 18, 2010 12:29 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
About USB Host, here are my notes about Maui dock connector pinout: LINK. I'm not sure about USB Power (there's power here if charger is connected, I have no idea now how to get it on battery power).

About WiFi and other accesories on SDIO slot - I bought Toshiba SDIO BT Card and it works out of the box in WinCE, but it appears that Linux PXA SD driver doesn't support SDIO cards :( Anyway, loading jLime into RAM may be possible, but basic rootfs (IceWM and some basic stuff) weights about 120-130MB, so it's too big to fit it in RAM...

Now we're looking to get keyboard and touchscreen working on 2.6.32 - there's new driver here that needs to be adjusted for Maui (again, driver from Nec MP900 ;-) )


Top
Offline Profile  
 
 Post subject: Re: Kernel for Bsuqare Power Handled (Maui)
PostPosted: Mon Jan 10, 2011 2:19 pm 
JLime Guru User
JLime Guru User

Joined: Sat Nov 28, 2009 12:52 pm
Posts: 64
Location: Poland
Good news!

After some harware reverse engineering, with big help from Yulayr, we've got:

Jtag. It's located on "A" testpoints above LCD (right to IrDA). Pinout:
Code:
1 - 3,3v
2 - 3,3v
3 - GND
4 - TCK
5 - TDO
6 - GND
7 - nTRST
8 - TMS
9 - ? (should be TDI)


Pin 9 is uknown, if somebody wants to use jtag, then take TDI directly from CPU.
You may ask "What? From CPU?". Yes, exactly. Here's photo: LINK

Then we realized that there's acces to all balls of cpu! After some ohming i've made a nice GPIO table:
http://www.jlime.com/wiki/documentation ... /pin_setup

What does it mean? As I written before, Maui has got USB host, it uses the same chip as mp900c. Not far ago Yulayr found all GPIOs for it (guess what... the same are used here), and now he's working on new USB driver. It will be nice for mp900c, but here it will be great - we'll have interface to connect BT, WiFi, 3G or something :D

And as i thought, GSM is connected to Serial (FFUART). I'll check it in near future, is it standard GSM AT modem, or something's different. Anyway, that also means that we can easily build RS232 port if needed (well, who needs GPRS if we can connect 3G to USB? :wink: But e.g serial GPS would be nice)

Audio controller (again, same in mp900c) is controlled by the same GPIOs. GSM audio is connected directly to it.

And we switched to kernel 2.6.34 - config files for mp900c and maui platforms will be merged as they are almost identical.

About keyboard/ts - Touchscreen is working 'out of the box', there's some progress with keyboard :wink:


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 103 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron