| [00:12:40] |
*** |
GPSFan has quit IRC |
| [01:39:06] |
*** |
Rossimo has quit IRC |
| [01:39:51] |
*** |
Rossimo has joined #zipit |
| [02:40:38] |
*** |
Rossimo has quit IRC |
| [03:38:40] |
*** |
Rossimo has joined #zipit |
| [03:58:51] |
*** |
Magon has joined #zipit |
| [06:34:06] |
<Magon> |
doest anyone have a hint where to get full datasheet for PXA270 ? |
| [06:34:20] |
<Magon> |
and how long it may take to get approved to zipit group at yahoo? |
| [09:24:09] |
*** |
GPSFan has joined #zipit |
| [09:44:48] |
<Magon> |
GPSFan: hi, are you in yahoo groups? |
| [09:44:51] |
<Magon> |
in zipit yahoo group |
| [09:44:55] |
<GPSFan> |
Magon: yes |
| [09:44:59] |
<Magon> |
i tried to join but my aproval is pending for 3 day now |
| [09:50:00] |
<Magon> |
do you know how to get in ? |
| [09:50:41] |
<GPSFan> |
Magon: hmm, that must be something new. I joined in Jan 2005, and don't remember how long it took. |
| [09:50:51] |
<Magon> |
it seems like there have to be approval of owner..but i have no idea who is owner |
| [09:51:00] |
<GPSFan> |
dspyder |
| [09:51:17] |
<Magon> |
can you take the files for booting off SD and having dropbear run and put them somewhere..maybe to linux.wipitwireless.com |
| [09:51:58] |
<GPSFan> |
I don't have access to linux.zipitwireless.com. I have not, and probably will not sign the eula. |
| [09:52:16] |
<Magon> |
ok..you still dont like it |
| [09:52:21] |
<GPSFan> |
has it changed in the last few days? |
| [09:52:22] |
<Magon> |
do you have somewhere else to put that? i cannot access the group files |
| [09:52:25] |
<Magon> |
dont know...but there is pending reguest for change in zipit |
| [09:52:26] |
<GPSFan> |
I could dcc it to you. |
| [09:52:35] |
<Magon> |
have never used dcc but try |
| [09:52:55] |
<Magon> |
ok i have it..worked like a charm :-) |
| [09:53:02] |
<GPSFan> |
when dcc works it's great. there can be firewall issues though. |
| [09:53:11] |
<Magon> |
not a problem at my current location |
| [09:53:16] |
<GPSFan> |
indeed |
| [09:53:37] |
<GPSFan> |
the script works ok. you need to read its readme, there are things you need to change so it works on your system. |
| [09:53:51] |
<Magon> |
done |
| [09:53:53] |
<GPSFan> |
it takes a while to generate the keys. but that only has to happen once, then they are there on the sd card. |
| [09:53:55] |
<Magon> |
i dont have mini SD right now |
| [09:54:04] |
<GPSFan> |
I have a mini sd -> transflash adapter. |
| [09:54:17] |
<Magon> |
i found a shop where to get it cheap...just dont have time right now, i have an examp in 3 days |
| [09:54:55] |
<Magon> |
the keyboard issue is solvable....mike will release some driver code... |
| [09:54:57] |
*** |
redhomey has joined #zipit |
| [10:05:58] |
<GPSFan> |
Magon: depending on how the keyboard is setup with the PXA's gpio pins one might even use the driver I wrote for the Z1 keyboard. |
| [10:06:07] |
<Magon> |
that is chance...maybe we will just rewrite the first driver |
| [10:06:08] |
<GPSFan> |
or at least a modification of it, since it's for kernel 2.4 |
| [11:51:21] |
<Magon> |
GPSFan: found my problem..i was in wrong group |
| [11:54:46] |
<GPSFan> |
Magon: ah good. |
| [11:54:56] |
<GPSFan> |
Magon: Have you looked at the connector pinnout yet? Is there anything interesting? |
| [12:04:45] |
<Magon> |
there is USB |
| [12:04:49] |
<Magon> |
that is the only interesting thing |
| [12:05:48] |
<Magon> |
but i need to get the connector |
| [12:06:00] |
<GPSFan> |
figured that USB would be brought out. I was hoping for jtag. Without it someone will have to wipe the board to find whare/if the jtag pads are accessible. |
| [12:06:19] |
<GPSFan> |
ah, another question, will zipitwireless make the mating connector part available? |
| [12:06:26] |
<Magon> |
mike told me that it is quite standard connector |
| [12:06:42] |
<GPSFan> |
really... must be the same as an iPod or some other similar device. |
| [12:07:31] |
<GPSFan> |
no serial? |
| [12:07:35] |
<Magon> |
no |
| [12:07:50] |
<Magon> |
just USB, audio and something else |
| [12:07:59] |
<Magon> |
ok i have the connector |
| [12:08:04] |
<GPSFan> |
hmmm, blob and the kernel send their startup messages out a serial port. |
| [12:08:22] |
<Magon> |
i want to replace blob by u-boot if possible |
| [12:08:42] |
<GPSFan> |
u-boot is far larger than blob. you will probably have to change the mtd partitioning to make that happen, and without a serial port, debugging will be "challenging" |
| [12:09:01] |
<Magon> |
i know |
| [12:09:24] |
<GPSFan> |
"friends don't let friends flash bootloader code without proven jtag capability" Quote from the NSLU2 folks. |
| [12:09:38] |
<Magon> |
:-) |
| [12:09:44] |
<Magon> |
problem is that jtag is hidden |
| [12:19:16] |
<GPSFan> |
if there are pads accessible from either side of the board, it can be found by wipeing all the parts from th board and tracing out the pins from the CPU. btdt. |
| [12:19:33] |
<Magon> |
meaning destroing unit |
| [12:19:42] |
<GPSFan> |
T0mw has one he plans to do that with. |
| [12:19:52] |
<Magon> |
:-) |
| [12:20:00] |
<Magon> |
there is always someone like that..but i hope it wouldnt be needed |
| [12:22:03] |
<GPSFan> |
both he and & I have "cleaned" Z1 boards. |
| [12:22:06] |
<Magon> |
nothing original in it? |
| [12:22:15] |
<Magon> |
i hope i will find a way how to boot custom kernel safely |
| [12:22:21] |
<Magon> |
meaning i need to change bootloader |
| [12:22:24] |
<GPSFan> |
Z1 is a bit more innovative than the Z2 seems to be. but it differs very little from the Cirrus Logic 7312 reference design. |
| [12:22:42] |
<Magon> |
what you mean by innovative? |
| [12:22:44] |
<GPSFan> |
without access to a serial port that blob listens to you can only try to boot a cuatom kernel once. If it bricks you need a new Z2 if it runs, you get another chance. |
| [12:22:49] |
<Magon> |
i know..that is what i need to solve first |
| [12:23:01] |
<Magon> |
that is that cirris logic thing? |
| [12:23:02] |
<GPSFan> |
innovative in how they handled the power management with a small micro, and how the wireless was connected to the bus. It was really the first low cost handheld wireless device of its kind. |
| [12:23:16] |
<GPSFan> |
the Z1 was based on a cirrus 7312 cpu, with abn Agere wireless module. |
| [12:23:20] |
<Magon> |
i have not opened it yet..so i know nothing about how it is wired |
| [12:23:22] |
<Magon> |
ok |
| [12:23:31] |
<GPSFan> |
the 7312 had a built-in bootloader that listened on one of the serial ports before booting from the flash. |
| [12:23:46] |
<Magon> |
that is nice one |
| [12:23:48] |
<Magon> |
but all new chips just use jtag |
| [12:24:09] |
<Magon> |
the connector seems a bit complicated |
| [12:24:17] |
<Magon> |
you need ST40X-36S by hirose |
| [12:24:58] |
<GPSFan> |
~USD5.00 from digikey.. http://parts.digikey.com/1/parts/328595-conn-plug-36pos-solder-pcb-st40x-36s-cv-80.html |
| [12:32:03] |
<Magon> |
i am from europe :-) |
| [12:32:07] |
<GPSFan> |
of course it is a very fine pitch connector so you would need to do a custom pcb for it. |
| [12:32:14] |
<Magon> |
and 5$ seems a bit much |
| [12:32:18] |
<Magon> |
there is also cabel version |
| [12:32:21] |
<Magon> |
ST40X-36S-CV(80) |
| [12:32:25] |
<Magon> |
i found some pdf file about that |
| [12:32:42] |
<GPSFan> |
not for a single piece. in quantity they are much cheaper. |
| [12:32:48] |
<Magon> |
yes |
| [12:33:07] |
<GPSFan> |
T0mw does lots of small pcb's for his business, he did the backlight/mmc/serial port board for the Z1. he has done fine pitch stuff before. |
| [12:33:24] |
<Magon> |
i can do that kind of board also |
| [12:33:26] |
<GPSFan> |
I've assembled 1mm pitch parts on pcbs |
| [12:33:29] |
<Magon> |
just need to find local distributor for that connector |
| [12:42:50] |
<Rossimo> |
Magon: I just joined the yahoo group immediately, no activation for me |
| [12:43:12] |
<Magon> |
Rossimo: i had been trying wrong group..now i am also there |
| [12:43:14] |
<Rossimo> |
cool |
| [12:43:18] |
<Magon> |
btw: if any of you finds out a way how to open Z2 safely let me know |
| [12:43:36] |
<Rossimo> |
yeah, the closest i've gotten to that its just taking the battery out, nothing crazy there |
| [12:43:55] |
<Magon> |
i got out the screws but it stucked somehow |
| [12:44:02] |
<Rossimo> |
ah |
| [12:54:00] |
<GPSFan> |
I had mine open, but there wasn't too much interesting inside that I couldn't see from the FCC pix. |
| [12:54:33] |
<GPSFan> |
Magon: looking at the pdf for that connector, it is a cable end. so maybe no pcb is neccessary. you might be able to solder the usb wires right to the pins. |
| [12:54:45] |
<GPSFan> |
http://www.hirose.co.jp/cataloge_hp/e24100015.pdf |
| [12:58:53] |
<Rossimo> |
ah, the ssh server from the yahoo group works pretty nice |
| [12:59:05] |
<Rossimo> |
i was having the same screen rotation issues when I was playing around with some framebuffer coding a couple weeks ago |
| [13:08:59] |
<GPSFan> |
Rossimo: that's because the lcd is physically installed sideways, ie. the normal "top row" is on the right side. it's actually a 240 x 320 panel |
| [13:09:56] |
<Rossimo> |
oh |
| [13:18:59] |
<GPSFan> |
others have done this before. the iPhone can be rotated and have the display change from portrait to landscape, so a fb driver that handles that kind of rotation is not especially new. |
| [13:24:05] |
<Magon> |
GPSFan: how did you opened it? |
| [13:24:08] |
<Magon> |
do you have some instruction? |
| [13:31:21] |
<GPSFan> |
Magon: remove battery, remove screws in battery area, carefullt insert small flat-blade screwdriver between top & bottom case parts, wiggle as required, don't force it. |
| [13:31:38] |
<Magon> |
ok so just the screws and no suprices |
| [13:31:43] |
<GPSFan> |
not as easy to open as the Z1. no hidden screws. |
| [13:31:59] |
<Magon> |
ok |
| [13:32:00] |
<GPSFan> |
just plastic snap things that hold the top & bottom together. |
| [13:32:07] |
<Magon> |
but nothing special..simply unscrew and open |
| [13:32:08] |
<GPSFan> |
eaisly broken |
| [13:32:13] |
<GPSFan> |
no magic |
| [13:32:18] |
<Magon> |
but will something break? |
| [13:32:21] |
<GPSFan> |
be firm but careful. |
| [13:32:27] |
<GPSFan> |
you can eaisly break the little plastic parts |
| [13:32:33] |
<GPSFan> |
I didn't break anything. |
| [13:32:35] |
<GPSFan> |
YMMV |
| [13:32:48] |
<Magon> |
ok |
| [13:33:53] |
<Magon> |
the part around volume buttons seems hard |
| [13:34:47] |
<Magon> |
GPSFan: really just the 3 screws? i cannot get open the sides |
| [13:43:45] |
<GPSFan> |
the linux fbconsole allegledly supports display rotation. that's all to get it apart. The pcb is held onto one of the sides by another screw, but you have to get it apart to even see that screw. |
| [13:44:14] |
<Magon> |
you have been opening the main 2 plactic parts apar? |
| [13:44:15] |
<Magon> |
apart |
| [13:44:51] |
<Magon> |
the bottom plastic have nothing on it? all connectors are on top part? |
| [13:59:36] |
<Magon> |
problem is i dont know which parts are mounted where |
| [14:04:38] |
<GPSFan> |
Magon: I should have taken pictures while I was doing it. sorry. |
| [14:19:13] |
*** |
redhomey has quit IRC |
| [14:24:40] |
*** |
redhomey has joined #zipit |
| [14:43:24] |
<Magon> |
GPSFan: that is ok |
| [14:43:31] |
<Magon> |
just it really all is on the top part and i can take the bottom off firmly |
| [15:10:31] |
*** |
Rossimo has quit IRC |
| [15:11:24] |
*** |
Rossimo has joined #zipit |
| [15:24:30] |
*** |
yellowcap has joined #zipit |
| [15:24:36] |
<yellowcap> |
drmike are you awake |
| [16:07:34] |
<GPSFan> |
Magon: I rebuilt the framebuffer modules with rotation enabled and I can get a nice normal looking console. It takes several more modules though. |
| [16:08:02] |
<redhomey> |
Can you post the binaries? |
| [16:08:08] |
<redhomey> |
did you use crosstool to build |
| [16:08:13] |
<redhomey> |
tring to set up a cross env now |
| [16:09:15] |
<GPSFan> |
redhomey: I just used a generic arm toolchain I had for another project. probably not optimized. I'm just finsihing up a new script. it will be a few minutes till I'm done. |
| [16:16:39] |
<redhomey> |
no probs... trying to use crosstool here to build... all day to be honest. Ive built something similar for nslu2 before but to be honest im out of mydepth if i dont have a nice how-to the likes of that found on nslu2-linux.org |
| [16:16:51] |
<redhomey> |
i have created a nice arm-xscale toolchain but for a different kernel version |
| [16:17:18] |
<redhomey> |
so when i copy over the binaries (hello world types) i get no output from ssh to the zipit |
| [16:19:42] |
<ethicalclone> |
Has anyone been working on getting the keyboard working? |
| [16:26:13] |
<GPSFan> |
ethicalclone: not yet, I just got a toolchain working and got the framebuffer rotating. |
| [16:26:16] |
<ethicalclone> |
The pxa270 has a built-in keyboard, but I am not sure if is was used. |
| [16:26:23] |
<GPSFan> |
hard to say without some pokeing around. |
| [16:26:26] |
<ethicalclone> |
built-in keyboard controller |
| [16:26:41] |
<ethicalclone> |
Newer linux kernels have an input driver for it. |
| [16:27:25] |
<GPSFan> |
Magon: I uploaded a new startup script & modules to the Yahoo group files section. |
| [16:27:30] |
<GPSFan> |
redhomey: ^^^ |
| [16:27:49] |
<GPSFan> |
thanks to ethicalclone for the original. |
| [16:27:55] |
<redhomey> |
GPSFan: Thanks a million and also to ethicalclone! |
| [16:28:04] |
<redhomey> |
(that was me who replied to you in groups) |
| [16:28:19] |
<GPSFan> |
redhomey: it works like the original just change the wpa_supplicant.conf and possibly the startup script. |
| [16:28:22] |
<GPSFan> |
for your network |
| [16:28:41] |
<redhomey> |
cool |
| [16:38:22] |
<GPSFan> |
ethicalclone: if you boot up, ssh in and cat /proc/interrupts you will see several sources that update each time you cat it. GPIO-IRQ does not. Untill you press a key on the keyboare. then you get more and more GPIO-IRQ interrupts. |
| [16:38:31] |
<GPSFan> |
I was hoping that you would just get one, but not so. |
| [16:38:50] |
<GPSFan> |
so it looks like the keyboard is involved with the GPIO's. |
| [16:39:28] |
<ethicalclone> |
That is what I was guessing, my plan is the add debug info to the gpio_driver and spy on the Zipit2 app. |
| [16:45:14] |
<redhomey> |
GPSFan: yeah boots - can ssh in but just see the zipit logo - NO TEXT. am if ogetting something |
| [16:45:15] |
<redhomey> |
(forgetting) |
| [16:45:27] |
<GPSFan> |
redhomey: type lsmod and see what modules are loaded |
| [16:45:30] |
<redhomey> |
Module Size Used by Not tainted |
| [16:45:31] |
<redhomey> |
gspi8xxx 254492 1 |
| [16:45:31] |
<redhomey> |
softcursor 1760 0 |
| [16:45:36] |
<redhomey> |
(that's greek to me mate) |
| [16:45:36] |
<GPSFan> |
that's it? |
| [16:45:45] |
<GPSFan> |
ok did you use your old z2script.sh or the new one? |
| [16:45:48] |
<redhomey> |
eh yeah ... i'll prepare the SD again |
| [16:45:51] |
<redhomey> |
old one couldnt edit the new one |
| [16:45:56] |
<GPSFan> |
you need the new script to insmod the new modules. |
| [16:46:02] |
<GPSFan> |
you may need to edit it if you edited the orig. |
| [16:46:16] |
<GPSFan> |
there is a new modules.km directory which can co-exist with the orig. |
| [16:46:19] |
<redhomey> |
ok |
| [16:46:27] |
<GPSFan> |
the new script points to modules.km |
| [16:46:57] |
<GPSFan> |
you may need to change the permissions on the new script. |
| [16:47:19] |
<GPSFan> |
since the files are all stored on the sd card on a vfat filesystem, copying from it to a linux ext filesystem can result in permission oddities. |
| [16:47:59] |
<redhomey> |
yeah more problems ... will fix permissions first |
| [16:49:25] |
<GPSFan> |
redhomey: yeah I see in the .zip archive that the z2script.sh file is read/write only by it's owner and not executable. I don't know how that translates onto the vfat filesystem on the card. I tend to just tweak the permissions as neccessary |
| [17:00:31] |
<redhomey> |
chowned and chmodded to 777 when i try to gedit it says something about character encoding |
| [17:01:13] |
<GPSFan> |
uh, it's just a text file. if you can't edit it, try catting it in a terminal window then copy and past the text from that window to the gedit window. |
| [17:01:29] |
<ethicalclone> |
There are a string of nulls at the end of the new z2script.sh, that is causing an error. |
| [17:02:02] |
<GPSFan> |
redhomey: I can't edit it with gedit either. use vi |
| [17:02:04] |
<redhomey> |
lk |
| [17:02:05] |
<redhomey> |
k |
| [17:02:08] |
<GPSFan> |
or vim, or emacs or..... ;>) |
| [17:02:20] |
<GPSFan> |
ethicalclone: probably came from copying it back and forth to the sd card vfat filesystem |
| [17:02:22] |
<redhomey> |
yeah can see it in vi as ethical says theres a string of nulls at the end |
| [17:02:30] |
*** |
Crofton has quit IRC |
| [17:02:35] |
<GPSFan> |
sorry. |
| [17:02:40] |
<redhomey> |
no probs at all |
| [17:02:58] |
<GPSFan> |
I gotta run off for a while, bbl |
| [17:03:00] |
<redhomey> |
bye and thx |
| [17:24:31] |
<redhomey> |
ehicalclone: I have just created an arm-xscale tool chain using crosstool. When i take a binary over to the zipit i get no output when running does that mean my toolchin is ballsed? |
| [17:35:01] |
<ethicalclone> |
Is the binary staticlly linked? |
| [17:57:18] |
<redhomey> |
its a really basic c program |
| [17:57:24] |
<redhomey> |
effectively a hello world |
| [17:57:49] |
<redhomey> |
basically prints a message and writes a file. |
| [17:57:56] |
<redhomey> |
but when i run it nothing happens |
| [17:58:24] |
<redhomey> |
do you use open embedded buildroot or something different? |
| [18:03:39] |
<ethicalclone> |
I am using buildroot. |
| [18:04:03] |
<redhomey> |
wasn't linking statically will recompile the crosstool and try again. thanks for you help. |
| [18:04:57] |
<ethicalclone> |
If it is not static the C lib and some support tools would need to be copied to the zipit. |
| [18:07:28] |
<ethicalclone> |
I have not tried setting up a full system yet. |
| [18:19:19] |
<Magon> |
what toolchains do you use for userspace apps? |
| [18:19:23] |
<Magon> |
OE buildroot? |
| [18:19:33] |
<Magon> |
i am able to simply build kernel but have big problems with simple user-space apps |
| [18:23:40] |
<ethicalclone> |
I used: http://buildroot.uclibc.org/ I'm looking at switching to OE when I figure it out. |
| [18:27:48] |
<Magon> |
i used to use OE but that is like a beast |
| [18:28:19] |
<Magon> |
what system do you use? |
| [18:33:43] |
*** |
Rossimo has quit IRC |
| [18:39:27] |
<ethicalclone> |
magon: the system I am building on? |
| [18:39:33] |
<Magon> |
yes |
| [18:39:35] |
<Magon> |
distribution |
| [18:39:41] |
<ethicalclone> |
Gentoo Linux |
| [18:39:53] |
<Magon> |
ok |
| [18:47:58] |
<Magon> |
GPSFan: i have problem with jack connector while opening |
| [18:49:15] |
<Magon> |
good night |
| [19:09:28] |
*** |
Magon has quit IRC |
| [20:16:58] |
<redhomey> |
GPSFan: Trimmed the nulls at end of z2script.sh and everything worked. framebuffer rotation works fine. |
| [20:17:48] |
<redhomey> |
Although unit powered off after about 10 mins. Might be some kind of suspend. |
| [20:18:08] |
*** |
redhomey has quit IRC |
| [20:19:21] |
*** |
Crofton has joined #zipit |
| [22:34:24] |
*** |
drmikecrowe has quit IRC |