| [00:04:06] |
*** |
GPSFan has quit IRC |
| [00:42:47] |
*** |
Limp_Trizkit is now known as TheFates |
| [00:42:58] |
*** |
TheFates is now known as Limp_Trizkit |
| [02:08:36] |
*** |
unrest has joined #zipit |
| [02:19:14] |
<crazymonkeypants> |
Has anyone tinkered with the .arl file in the firmware? |
| [02:20:59] |
* |
unrest yawns |
| [02:21:08] |
<unrest> |
which arl file? |
| [02:21:29] |
<crazymonkeypants> |
Resource.arl |
| [02:22:01] |
<crazymonkeypants> |
Unpacking it was easy |
| [02:22:12] |
<crazymonkeypants> |
But there's one header field I haven't worked out for putting it back together |
| [02:22:15] |
<unrest> |
and which firmware? |
| [02:22:28] |
<crazymonkeypants> |
Yes, sorry, it's late and I'm being sloppy |
| [02:22:38] |
<unrest> |
and i just crawled out of bed |
| [02:22:51] |
<crazymonkeypants> |
The Zipit application "Zipit2" has an associated "Resource.arl" file |
| [02:22:54] |
*** |
g1powermac has joined #zipit |
| [02:23:15] |
<crazymonkeypants> |
Said file seems to contain bitmaps, sounds, menu structures, text strings and fonts |
| [02:33:57] |
<crazymonkeypants> |
GPSFan: for what it's worth, the Zipit2 app does seem to contain a test for whether the miniSD is mounted |
| [02:34:46] |
*** |
g1powermac has quit IRC |
| [02:43:25] |
*** |
Mathman952 has joined #zipit |
| [03:01:14] |
*** |
Limp_Trizkit has quit IRC |
| [03:01:15] |
*** |
Mathman952 is now known as Limp_Trizkit |
| [03:23:54] |
<unrest> |
crazymonkeypants, how do you know that? |
| [03:24:36] |
<crazymonkeypants> |
unrest: There is a reference to /sd0mounted in the .rodata section of the Zipit2 application |
| [03:24:48] |
<crazymonkeypants> |
which is in turn referenced out of the code |
| [03:25:56] |
<crazymonkeypants> |
The code reference is hard to follow; I get the impression there is some sort of hard-coded "resource manager" data structure that they use to handle files |
| [03:26:00] |
<crazymonkeypants> |
So it's all very indirected |
| [03:28:14] |
<crazymonkeypants> |
Mostly I was just curious to understand what the app might be doing to the hardware |
| [03:37:06] |
<crazymonkeypants> |
unrest: (I am assuming you meant 'how do I know the Zipit2 app knows about the miniSD card was mounted') |
| [03:37:29] |
<crazymonkeypants> |
For all that, it knows how to mount/unmount it separately |
| [03:38:14] |
<unrest> |
nah, i was asking about the linked in files |
| [03:38:23] |
<unrest> |
and how you got hold of the app itself |
| [03:41:48] |
<crazymonkeypants> |
If you boot to the shell, the app is in /mnt/ffs |
| [03:42:58] |
<crazymonkeypants> |
As for the resource files... when you see a big file called "Resources.arl", it's hard not to be suspicious |
| [03:49:07] |
<crazymonkeypants> |
The filesystem is writable... |
| [03:59:47] |
*** |
unrest has quit IRC |
| [04:24:08] |
*** |
unrest has joined #zipit |
| [05:13:41] |
*** |
Mathiasdm has joined #zipit |
| [06:31:10] |
*** |
unrest has quit IRC |
| [06:59:50] |
*** |
g1powermac_PB has joined #zipit |
| [07:06:24] |
*** |
drmikecrowe_ has quit IRC |
| [07:53:59] |
*** |
unrest has joined #zipit |
| [07:54:06] |
<unrest> |
hello |
| [07:54:14] |
<unrest> |
you folks were right about encrypted networks not working.. |
| [07:54:33] |
<unrest> |
i just set up a ad-hoc network with my notebook and it works.. |
| [07:54:57] |
<unrest> |
haven't tried a open AP yet, because i haven't been home since thursday.. |
| [07:55:00] |
<g1powermac_PB> |
yup, WEP doesn't work |
| [07:55:42] |
<g1powermac_PB> |
WPA supposedly works |
| [07:55:48] |
<unrest> |
but i believe you that it'll work, too |
| [07:55:56] |
<unrest> |
well. WEP works in the original application.. |
| [07:56:04] |
<unrest> |
so idk why not from OE |
| [07:56:22] |
<g1powermac_PB> |
yea |
| [07:56:26] |
<g1powermac_PB> |
it doesn't work from the original linux system either, which is what I tried |
| [07:56:33] |
<g1powermac_PB> |
it only works from the zipit app |
| [07:57:01] |
<unrest> |
i'm wondering how and especially _why_ they restricted the WEPability of the zipit.. |
| [07:58:27] |
<g1powermac_PB> |
not sure if its restricted, it maybe a bug in the driver that was worked around in the zipit app |
| [07:58:59] |
*** |
unrest_ has joined #zipit |
| [07:59:08] |
<unrest_> |
my pppd died... ;/ |
| [07:59:18] |
* |
unrest_ is online via cellphone and laptop |
| [07:59:32] |
<g1powermac_PB> |
not sure if its restricted, it maybe a bug in the driver that was worked around in the zipit app |
| [08:00:44] |
<unrest_> |
did you answer my question about "getting in the system" i asked earlier? |
| [08:00:56] |
<unrest_> |
(shortly after asking my connection died.. ;/) |
| [08:01:09] |
<g1powermac_PB> |
about the WEP stuff, yea |
| [08:01:20] |
<unrest_> |
<unrest> how did you get to the original z2 system - as it got no shell..? |
| [08:01:22] |
<g1powermac_PB> |
ie, what I said above after you came back on :-) |
| [08:01:25] |
<g1powermac_PB> |
oh |
| [08:01:26] |
<g1powermac_PB> |
that, no |
| [08:01:30] |
<unrest_> |
ah |
| [08:01:38] |
<g1powermac_PB> |
you need the z2shell hack |
| [08:01:39] |
<unrest_> |
ok, so it didn't "get out".. |
| [08:01:43] |
<unrest_> |
ah k |
| [08:01:46] |
<unrest_> |
i was just wonderin' |
| [08:02:02] |
<g1powermac_PB> |
yea, once you get that on there, you'll get a shell and ssh access over the wifi connection |
| [08:02:12] |
<unrest_> |
uh huh |
| [08:02:36] |
<unrest_> |
i thought it was somewhat like OE, but it's more of a "hack" than a real operating system |
| [08:04:41] |
*** |
jhaluska has joined #zipit |
| [08:06:51] |
*** |
unrest has quit IRC |
| [08:11:39] |
*** |
unrest_ has quit IRC |
| [08:27:10] |
*** |
asantoni has quit IRC |
| [08:29:20] |
*** |
drmikecrowe has joined #zipit |
| [08:31:32] |
*** |
g1powermac has joined #zipit |
| [08:32:20] |
<jhaluska> |
Morning drmikecrowe and g1powermac |
| [08:32:44] |
<g1powermac> |
morning jhaluska |
| [08:33:21] |
<jhaluska> |
I'm having one of those Monday morning where I don't want to start cause I don't want to feel like my weekend is over. |
| [08:36:59] |
<drmikecrowe> |
jhaluska, hear ya. In the same boat, for sure |
| [08:37:07] |
<drmikecrowe> |
g1powermac, morning! |
| [08:37:28] |
<jhaluska> |
drmikecrowe: Who's in charge of deciding what list of internet radio stations are on the Z2? |
| [08:37:31] |
<g1powermac> |
heya drmikecrowe |
| [08:38:40] |
<drmikecrowe> |
jhaluska, hmmm, interesting question. Me, sort-a. We have a provider that gives us guaranteed quality stations, and we have a program which chooses the best out of the list. However, I'm looking into expanding that. Why? |
| [08:39:26] |
<jhaluska> |
drmikecrowe: Just wanted my local NPR feed added to the list. |
| [08:40:49] |
<drmikecrowe> |
Yeah, I'm a huge fan of radioparadise.com, and I've gotten their permission to add it to the list. The issue is we need to have a mechanism to insure that these stations don't go away, and the list is always valid. |
| [08:42:35] |
<drmikecrowe> |
send me an email to linux@zipitwireless.com with the station url and your Zipit username (login) and I'll add it to your available stations. |
| [08:42:54] |
<jhaluska> |
ok, give me a minute |
| [08:43:06] |
* |
jhaluska grumbles that it was a crappy day to leave the Z2 at home. |
| [08:43:11] |
<drmikecrowe> |
tyt -- it will take me a bit to get there (later this morning, if you don't mind) |
| [08:43:12] |
<drmikecrowe> |
:D |
| [08:43:23] |
<jhaluska> |
If it happens in the next 7 hours I'm good. |
| [08:43:36] |
<jhaluska> |
I just hook the Z2 up to some speakers and stream internet when I work outside. |
| [08:44:07] |
<jhaluska> |
drmikecrowe: Do you know if the z2 supports SDHC (4gb+ cards)? |
| [08:44:08] |
<drmikecrowe> |
yeah, that's perfect. I was going to hook one up to my home sterio for the same purpose. Just haven't gotten around to it yet |
| [08:44:23] |
<drmikecrowe> |
No, just 2G atm |
| [08:44:24] |
<jhaluska> |
I have some old beefy computer speakers that work well. |
| [08:44:32] |
<drmikecrowe> |
(IIRC) |
| [08:44:35] |
<jhaluska> |
doh, that explains it. I need a new card. heh |
| [08:45:32] |
<jhaluska> |
I have a 4GB mini sd that I was using and couldn't hack it with it. |
| [08:45:54] |
<drmikecrowe> |
If I recall correctly, there's something about that SDHC spec that we couldn't support in hardware. However, that was several months ago that we looked into it, so the details are fuzzy. |
| [08:46:46] |
<jhaluska> |
Well, I've personally implemented SPI access to SDHC (well, I extended somebody elses code to access it) |
| [08:47:04] |
<jhaluska> |
If you're using the SPI interface, which I suspect you are, it's only software. |
| [08:47:18] |
<drmikecrowe> |
Could be. I can't remember the details |
| [08:47:49] |
<jhaluska> |
I only remember some of them. heh |
| [08:47:49] |
<jhaluska> |
I just remember once I understood it, it only took me about a day or two to add. |
| [08:48:57] |
*** |
unrest has joined #zipit |
| [08:49:19] |
<jhaluska> |
hey unrest |
| [08:49:20] |
* |
unrest returns |
| [08:49:25] |
<unrest> |
hey jeff |
| [08:49:47] |
<jhaluska> |
unrest: Mike just told me that the reason I'm having problems is probably because I have a SDHC card and its unsupported. |
| [08:50:49] |
<unrest> |
jhaluska, i told you to test it... |
| [08:51:07] |
<unrest> |
and i also told you that not all devices support sdhc, so you gotta try it out.. |
| [08:51:36] |
<unrest> |
but now we know for sure =) |
| [08:53:07] |
<drmikecrowe> |
hey, has anybody loaded the mplayer example that's on the wiki? tried to play a movie? I haven't tried it yet |
| [08:55:23] |
<unrest> |
drmikecrowe, i haven't downloaded it yet either, but i might try it out |
| [08:55:51] |
<drmikecrowe> |
If you have a chance, could you see if it plays youtube videos? that would be interesting |
| [08:56:00] |
<drmikecrowe> |
I think the standard mplayer does |
| [08:56:25] |
<unrest> |
first i gotta set up a second wireless ap here for the z2 to use.. |
| [08:56:33] |
<unrest> |
but, yeah, i'll try |
| [08:57:02] |
<drmikecrowe> |
no rush. just curious. |
| [08:57:19] |
<unrest> |
why don't you try it yourself then? ;) |
| [08:57:51] |
<drmikecrowe> |
time! I need more hours in the day |
| [08:57:53] |
<drmikecrowe> |
;) |
| [08:58:01] |
<jhaluska> |
I need more hours, or less work :P |
| [08:58:34] |
<jhaluska> |
My weekend consisted of me filtering dirt for about 14 hours |
| [08:58:46] |
<jhaluska> |
Doesn't feel much like a weekend now. |
| [09:07:27] |
*** |
unrest has quit IRC |
| [09:13:05] |
*** |
unrest has joined #zipit |
| [09:31:44] |
<unrest> |
does anyone in here like the idea of setting up an OE package repository? |
| [09:32:36] |
<jhaluska> |
Would it save time and make my life easier? :) |
| [09:33:09] |
<unrest> |
it'd save you compile time and allow you to install packages over the air... |
| [09:33:50] |
<drmikecrowe> |
unrest, I can host it for us, if you tell me what it takes. |
| [09:34:03] |
<unrest> |
i don't know atm |
| [09:34:18] |
<jhaluska> |
I think it's a good idea then |
| [09:34:19] |
<unrest> |
now that i finally got my wifi working i'm compiling and compiling and compiling.. |
| [09:34:36] |
<jhaluska> |
Yeah, duplicate compiling seems unnecessary. |
| [09:34:45] |
<unrest> |
the packages for the base-image are 22MB |
| [09:34:55] |
<jhaluska> |
Even though I love watching stuff compile. :) |
| [09:39:42] |
*** |
GPSFan has joined #zipit |
| [09:46:07] |
*** |
SB-Zipit` has joined #zipit |
| [09:46:08] |
*** |
SB-Zipit has quit IRC |
| [09:48:04] |
*** |
SB-Zipit` is now known as SB-Zipit |
| [09:48:37] |
*** |
drmikecrowe has quit IRC |
| [09:48:41] |
*** |
drmikecrowe_ has joined #zipit |
| [09:49:35] |
<unrest> |
wb mike |
| [09:52:09] |
<drmikecrowe_> |
jeez, ISP probs |
| [09:53:11] |
<jhaluska> |
:) |
| [09:54:57] |
<unrest> |
drmikecrowe_, i'd think of several hundred megabytes, if not gigabytes for all teh packages.. |
| [09:55:45] |
<drmikecrowe_> |
ugh, the space doesn't especially bother me, but maybe the bandwidth. Still, if you think it would help, we can prototype it and see |
| [09:58:16] |
* |
drmikecrowe_ »» WinAmp (Stopped) «» [timed out] http://206.71.145.10:8008 «» 00:00/00:00 «« |
| [10:03:57] |
<unrest> |
drmikecrowe_, we'll see. i'm gonna talk to to about this idea and then we'll see.. |
| [10:04:52] |
<drmikecrowe_> |
np -- ping me (or email linux@zipitwireless.com if I don't seem to be responding) |
| [10:07:17] |
<unrest> |
you're the only one behind linux.zipitwireless? |
| [10:07:31] |
<jhaluska> |
unrest: I think he is. |
| [10:07:49] |
<jhaluska> |
Since I sent him an email and he got it through it :P |
| [10:09:32] |
<unrest> |
drmikecrowe_, when will there be hardware for the expansion port? |
| [10:12:23] |
*** |
g1powermac_PB has joined #zipit |
| [10:13:10] |
<drmikecrowe_> |
unrest, I'm not sure. I know we had proposals out about that, but I haven't seen an update on times yet. |
| [10:13:47] |
<unrest> |
are there some plugs for the port lying around somewhere? ;) |
| [10:15:39] |
<drmikecrowe_> |
hmmm, I don't think so. I think there was only 1-2 prototypes using it, so not a lot of those parts were ordered. sorry |
| [10:17:12] |
<unrest> |
how does the app enable the keyboard backlight? |
| [10:18:01] |
<drmikecrowe_> |
you mean what control lines does it activate? I'm not sure. |
| [10:33:46] |
*** |
Mathiasdm has quit IRC |
| [10:38:07] |
* |
unrest tries to compile moon-buggy for the z2 on the z2 |
| [10:38:25] |
<jhaluska> |
What is moon-buggy? |
| [10:38:30] |
<jhaluska> |
unrest: Did you get your wifi working? |
| [10:38:45] |
<unrest> |
jhaluska, a small ncurses game |
| [10:38:57] |
<unrest> |
remake of "moonpatrol" from the c64 |
| [10:39:16] |
<unrest> |
yeah, got it working (ad-hoc to my notebook and bridged to the internet if i want) |
| [10:39:27] |
<unrest> |
brb |
| [10:54:18] |
* |
unrest returns |
| [10:54:43] |
<jhaluska> |
wb unrest |
| [10:57:27] |
* |
unrest forgot autoconf and some other likely needed things.. ^^ |
| [10:58:03] |
<unrest> |
e.g. libc6-dev... |
| [11:02:39] |
<crazymonkeypants> |
Dr Mike; would it be OK to mention that Digikey have stock of the expansion connector? |
| [11:03:52] |
<crazymonkeypants> |
Since I think unrest is just looking for that, not a whole device built around one... |
| [11:29:26] |
<drmikecrowe_> |
crazymonkeypants, sure |
| [11:32:17] |
<crazymonkeypants> |
Ok - given that it's listed on a "proprietary info" page, I wasn't sure. It is "obvious to one skilled in the art" what the connector is, of course... |
| [11:33:09] |
<drmikecrowe_> |
Yeah, I think I got permission to move that generic BOM from the proprietary page, I just haven't had a chance to do it yet |
| [11:33:43] |
*** |
unrest has quit IRC |
| [11:38:00] |
*** |
unrest has joined #zipit |
| [11:38:30] |
<crazymonkeypants> |
Cool. To be honest, I was expecting a schematic at the very least when I signed up for that... |
| [12:05:55] |
*** |
alyawn has joined #zipit |
| [12:14:46] |
<jhaluska> |
hi alyawn |
| [12:14:55] |
<alyawn> |
hey |
| [12:16:14] |
<alyawn> |
finally got my z2 & mini sd card today!!! |
| [12:16:21] |
<jhaluska> |
yey! |
| [12:17:01] |
<alyawn> |
so now, I can actually try to load one of my builds on it!!! |
| [12:17:21] |
<alyawn> |
first things first... getting my machine to recognize the card reader... |
| [12:37:52] |
* |
unrest got moon-buggy running! =) |
| [12:37:59] |
<jhaluska> |
Impressive |
| [12:58:14] |
<unrest> |
does audio in OE work out of the box? |
| [13:09:42] |
*** |
Mathiasdm has joined #zipit |
| [13:52:28] |
*** |
g1powermac_PB has quit IRC |
| [14:00:49] |
*** |
Magon has joined #zipit |
| [14:33:39] |
<unrest> |
can anyone tell me how to enable audio? |
| [14:38:27] |
<Magon> |
unrest: probably write driver :-( |
| [14:44:17] |
<alyawn> |
I thought I saw instructions for audio somewhere |
| [14:45:42] |
<alyawn> |
don't know if this helps: http://linux.zipitwireless.com/projects/z2kernel/wiki/WikiStart#AudioRegisterSetup |
| [14:45:53] |
<alyawn> |
looks like fun |
| [14:58:25] |
<unrest> |
so no sound for me ^^ |
| [15:33:57] |
*** |
drmikecrowe has joined #zipit |
| [15:34:34] |
*** |
[1]drmikecrowe has joined #zipit |
| [15:37:46] |
*** |
[1]drmikecrowe has quit IRC |
| [15:51:29] |
*** |
drmikecrowe_ has quit IRC |
| [16:26:10] |
*** |
Mathiasdm has quit IRC |
| [16:49:56] |
*** |
Magon has quit IRC |
| [17:06:08] |
*** |
jhaluska has quit IRC |
| [18:26:13] |
*** |
g1powermac_PB has joined #zipit |
| [19:49:18] |
*** |
g1powermac_PB has quit IRC |
| [19:56:18] |
*** |
asantoni has joined #zipit |
| [20:05:57] |
*** |
drmikecrowe has joined #zipit |
| [20:06:02] |
<alyawn> |
hmm... I've attempted to load my OE on my SD card, and boot... nothing happened |
| [20:10:27] |
<alyawn> |
what is supposed to happen ? |
| [20:11:19] |
<bryguy[lap]> |
black screen, bunch of text, maybe some rotation, and a login prompt |
| [20:12:36] |
*** |
drmikecrowe has quit IRC |
| [20:12:39] |
*** |
[1]drmikecrowe has joined #zipit |
| [20:12:45] |
<alyawn> |
hmm.. I get the same old zipit stuff.. I guess something is wrong with my card |
| [20:13:25] |
<alyawn> |
the zipit firmware just boots and says SD card ready, something about a database |
| [20:13:53] |
<bryguy[lap]> |
What partitions do you have on your card? |
| [20:14:28] |
<alyawn> |
let me check... I simply ran prepSDcard.pl |
| [20:15:00] |
<alyawn> |
oh.. I did get a warning about the number of cylinders on the disk |
| [20:19:26] |
<alyawn> |
here is the output from my prepSDcard.pl: http://zipit.pastebin.com/d483258b6 |
| [20:21:08] |
<alyawn> |
partitions: sdc: sdc1(FAT16) sdc2 (ext3) |
| [20:26:23] |
<bryguy[lap]> |
hmm it could be the cylinders stuff messing it up |
| [20:26:36] |
<bryguy[lap]> |
I don't think I got that message when I used it |
| [20:31:29] |
<[1]drmikecrowe> |
bryguy[lap], how big is this disk? 2G? |
| [20:32:54] |
<alyawn> |
yes... 2g |
| [20:33:15] |
<alyawn> |
is there a way to downsize the partition? |
| [20:35:42] |
<[1]drmikecrowe> |
you could run fdisk again and reove the partitions |
| [20:37:55] |
<[1]drmikecrowe> |
Just make sure you create fat partition first (or I always do). I generally make it 128M or so |
| [20:39:27] |
<alyawn> |
from what I can see the partitions are right... is the issue simply that the driver can't handle the 2G disk? |
| [20:40:42] |
<alyawn> |
here is the output from fdisk -l /dev/sdc : http://zipit.pastebin.com/m1606c5df |
| [20:41:40] |
<[1]drmikecrowe> |
2G are fine. When you insert the disk into your existing computer, what is on that partition? |
| [20:42:28] |
<[1]drmikecrowe> |
(do an ls -l and pastebin it, please) |
| [20:44:08] |
<alyawn> |
http://zipit.pastebin.com/d66c9ca9e |
| [20:44:12] |
<alyawn> |
everything looks correct |
| [20:44:18] |
<alyawn> |
2 partitions |
| [20:46:14] |
<[1]drmikecrowe> |
yeah, it does. |
| [20:46:33] |
<alyawn> |
do I need to pull the battery on the z2 to fully restart it? |
| [20:46:40] |
<alyawn> |
after the card is in? |
| [20:47:37] |
<[1]drmikecrowe> |
yes, or use a paperclip on the left-hand side |
| [20:48:15] |
<Limp_Trizkit> |
i just had to power the thing off, stick the card in, and power it back up, no battery or reset button |
| [20:48:17] |
<[1]drmikecrowe> |
If your charger is plugged up, it goes into a a soft-sleep, so you need to reset it |
| [20:48:26] |
<[1]drmikecrowe> |
If you were in the Zipit application, that is |
| [20:48:39] |
<alyawn> |
hmm... let me try |
| [20:50:52] |
*** |
unrest has quit IRC |
| [20:51:12] |
<alyawn> |
inserted the card, did a reset, turned on the power... zipit app booted and said Mini SD Card Inserted Database Ready |
| [20:53:09] |
<[1]drmikecrowe> |
That means either it doesn't recognize the FAT partition, or it doesn't find the z2script.sh file |
| [20:53:28] |
<[1]drmikecrowe> |
You may want to remove the partitions and try again. |
| [20:53:38] |
<alyawn> |
ok... will try again |
| [20:53:53] |
<alyawn> |
does z2script.sh have to be executable? |
| [20:59:28] |
<[1]drmikecrowe> |
no |
| [21:05:38] |
<alyawn> |
still no luck... |
| [21:06:00] |
<alyawn> |
this time, the prepSDcard.pl script didn't complain about cylinders |
| [21:06:12] |
<alyawn> |
I did reset, pulled battery, no luck |
| [21:06:55] |
<[1]drmikecrowe> |
weird, are you developing in linux or do you have a windows machine? |
| [21:10:37] |
*** |
g1powermac_PB has joined #zipit |
| [21:10:46] |
<alyawn> |
in linux |
| [21:12:57] |
<alyawn> |
I do recall that unrest was not able to boot using a kingston card, which is what mine is. but I wouldn't think that mattes |
| [21:13:11] |
<alyawn> |
*matters |
| [21:13:49] |
<alyawn> |
oh wait... mine is a sandisk, nvm |
| [21:23:01] |
<[1]drmikecrowe> |
This would be weird, but try creating the ext2 partition first, then the fat. and, I assume that the mkfs.fat works fine? |
| [21:30:34] |
<alyawn> |
so you want me to try and make the ext2 partition first? how big? |
| [21:32:04] |
<alyawn> |
hmm this is odd... I tried only creating a single fat16 partition and now the zipit app doesn't give me the "it's ready" message when inserted |
| [21:34:55] |
<[1]drmikecrowe> |
well, from a high level, you need a fat partition that the Zipit recognizes (resized to the size you want). once the zipit recognizes that, then you can create the ext2 with the leftover space |
| [21:36:21] |
<[1]drmikecrowe> |
but, that's what the prepSDcard.pl script does (in theory). |
| [21:39:34] |
<alyawn> |
right... |
| [21:39:44] |
<alyawn> |
I'm trying to do it by hand nwo |
| [21:39:46] |
<alyawn> |
*now |
| [21:40:32] |
<[1]drmikecrowe> |
just focus on fat. don't do the ext2 until you have a partition the zipit recognizes |
| [21:40:57] |
<alyawn> |
ok |
| [21:42:20] |
<alyawn> |
hah... |
| [21:42:46] |
<alyawn> |
I've got it recognizing the FAT16 partition that an old digital camera of mine created on the disk |
| [21:43:25] |
<alyawn> |
I wonder if mkdosfs is to blame here |
| [21:43:36] |
<[1]drmikecrowe> |
could be. |
| [21:43:51] |
<alyawn> |
but everyone else's works |
| [21:44:22] |
<[1]drmikecrowe> |
yeah, I don't understand the diff. |
| [21:44:42] |
<alyawn> |
well, one thing is that the old camera only recogines 1G |
| [21:44:58] |
<alyawn> |
so the card has a single FAT16 partition with !G |
| [21:45:01] |
<alyawn> |
*1G |
| [21:45:37] |
<[1]drmikecrowe> |
use fdisk and check the partition types. |
| [21:45:43] |
<[1]drmikecrowe> |
is it a 6 as well? fat16? |
| [21:45:50] |
<alyawn> |
let me check |
| [21:46:33] |
<crazymonkeypants> |
unrest |
| [21:46:54] |
<crazymonkeypants> |
You were asking about audio; the Aeronix kernel patches include their pxa audio driver. |
| [21:47:13] |
<alyawn> |
/dev/sdd1 * 1 31015 992464 6 FAT16 |
| [21:47:34] |
<crazymonkeypants> |
I cleaned up their patches (they diffed a pre-config kernel against a post-config kernel so the diffs are a mess) and they're actually pretty minimal |
| [21:47:47] |
<crazymonkeypants> |
But there are some crufty hacks in there |
| [21:48:41] |
<alyawn> |
the cylinder/block size seems completely different than what fdisk created |
| [21:48:45] |
<[1]drmikecrowe> |
alyawn, your original pastebin seemed strange, but I couldn't pin why. it *appears* that your original sdc1 size was really small. Could it have been too small? |
| [21:48:45] |
<crazymonkeypants> |
alyawn: I think there is a timing issue |
| [21:48:49] |
<[1]drmikecrowe> |
yeah, that's what I was looking at |
| [21:48:58] |
<crazymonkeypants> |
I have to reset my Z2 to get it to recognise the card |
| [21:49:12] |
<crazymonkeypants> |
The first mount pass fails, but the second one succeeds |
| [21:49:16] |
<[1]drmikecrowe> |
crazymonkeypants, I posted some info on the register settings to use the audio on the wiki, but I don't know if anybody has actually used it |
| [21:49:32] |
<crazymonkeypants> |
I haven't got that far yet |
| [21:49:50] |
<crazymonkeypants> |
I had actually just assumed you talked IIS to the Wolfson |
| [21:50:30] |
<crazymonkeypants> |
With the usual 8750 setup mess |
| [21:50:31] |
<[1]drmikecrowe> |
http://linux.zipitwireless.com/projects/z2kernel/wiki/WikiStart#AudioRegisterSetup |
| [21:50:45] |
<crazymonkeypants> |
Ah, roght |
| [21:50:49] |
<alyawn> |
I notice that the boot flag is set now on my card, would that make the difference? |
| [21:50:55] |
<crazymonkeypants> |
No |
| [21:51:01] |
<crazymonkeypants> |
alyawn: it's a timing thing |
| [21:51:12] |
<alyawn> |
what do you mean timing? |
| [21:51:20] |
<crazymonkeypants> |
Try hitting the reset button and then immediately powering the z2 on again |
| [21:52:09] |
<crazymonkeypants> |
I would have to pull the unit apart and put an analyser on it, but I suspect that your and my miniSD cards are too slow waking up |
| [21:52:33] |
<crazymonkeypants> |
If you power-cycle quickly enough they are still awake the second time around |
| [21:52:39] |
<crazymonkeypants> |
or enough awake or something like that |
| [21:53:34] |
* |
alyawn is reflashing card now... |
| [21:53:38] |
<[1]drmikecrowe> |
hmmm, that's interesting. I haven't heard of that yet. I guess it doesn't really matter for playing music, so we haven't seen it yet |
| [21:53:39] |
<crazymonkeypants> |
e.g. I just booted |
| [21:54:04] |
<crazymonkeypants> |
mmc_rescan... |
| [21:54:04] |
<crazymonkeypants> |
Freeing init memory: 808K |
| [21:54:04] |
<crazymonkeypants> |
init started: BusyBox v1.5.1 (2007-08-10 11:24:28 EDT) multi-call binary |
| [21:54:04] |
<crazymonkeypants> |
starting pid 165, tty '': '/etc/rc.d/rc.sysinit' |
| [21:54:04] |
<crazymonkeypants> |
mount: mounting /dev/mmcblk0p1 on /mnt/sd0 failed |
| [21:54:04] |
<crazymonkeypants> |
mount: mounting /dev/mmcblk0 on /mnt/sd0 failed |
| [21:54:06] |
<crazymonkeypants> |
unmount SD card |
| [21:54:07] |
<crazymonkeypants> |
umount: cannot umount /mnt/sd0: Invalid argument |
| [21:54:09] |
<crazymonkeypants> |
... |
| [21:54:11] |
<crazymonkeypants> |
mmc0: SCR structure version 0 |
| [21:54:12] |
<crazymonkeypants> |
Executing /etc/hotplug/mmc.agent action=add, media= () |
| [21:54:14] |
<crazymonkeypants> |
mmcblk0: mmc0:0007 SD02G 1992704KiB |
| [21:54:18] |
<crazymonkeypants> |
mmcblk0:Chan1 = 9, Chan2 = 10, 00 |
| [21:54:20] |
<crazymonkeypants> |
p1 |
| [21:54:22] |
<crazymonkeypants> |
Mounted SD0 Partition 1 |
| [21:54:47] |
<crazymonkeypants> |
Then I green-button power off and power on again immediately: |
| [21:55:27] |
<crazymonkeypants> |
mmc_rescan... |
| [21:55:27] |
<crazymonkeypants> |
Freeing init memory: 808K |
| [21:55:27] |
<crazymonkeypants> |
init started: BusyBox v1.5.1 (2007-08-10 11:24:28 EDT) multi-call binary |
| [21:55:27] |
<crazymonkeypants> |
starting pid 165, tty '': '/etc/rc.d/rc.sysinit' |
| [21:55:27] |
<crazymonkeypants> |
mmc0: SCR structure version 0 |
| [21:55:28] |
<crazymonkeypants> |
mmcblk0: mmc0:0007 SD02G 1992704KiB |
| [21:55:29] |
<crazymonkeypants> |
mmcblk0: p1 |
| [21:55:31] |
<crazymonkeypants> |
Executing /etc/hotplug/mmc.agent action=add, media= () |
| [21:55:33] |
<crazymonkeypants> |
Mounted SD0 Partition 1 |
| [21:56:35] |
<[1]drmikecrowe> |
interesting. I wonder if we should start a wiki page with cards which are "fast" and which are "slow". so we distinguish in the future. |
| [21:57:06] |
<crazymonkeypants> |
If I could build the kernel on my Mac, I'd try adding a few delays |
| [21:58:08] |
<alyawn> |
heh... that seemed to have workedf |
| [21:58:29] |
<alyawn> |
I'm on Please wait: booting... |
| [21:58:31] |
<crazymonkeypants> |
I see some linux kernel discussions about mmc_detect_change delay = 0 |
| [21:58:39] |
<crazymonkeypants> |
Specifically that a value other than zero might be useful |
| [21:58:48] |
<alyawn> |
I can build the kernel here, maybe worth a try |
| [21:59:13] |
<alyawn> |
base image worked!!! |
| [21:59:55] |
<alyawn> |
I'm using a SanDisk 2.0GB miniSD card, FYI |
| [22:00:48] |
<bryguy[lap]> |
:) |
| [22:01:06] |
<bryguy[lap]> |
I was using firefox on my Z2 earlier |
| [22:01:15] |
<bryguy[lap]> |
it was painful |
| [22:01:26] |
<crazymonkeypants> |
DrMike; can you tell us what the LPC915 is doing in the system? Is it just running the battery charger? |
| [22:02:22] |
<[1]drmikecrowe> |
crazymonkeypants, keyboard and other i/o, I think. I'm not that low-level |
| [22:03:04] |
<crazymonkeypants> |
Ok, no worries. |
| [22:03:09] |
<[1]drmikecrowe> |
bryguy[lap], somebody had built dillo, and that was actually ok. I want to dig into that some more, so if you are willing to help, we'd appreciate it |
| [22:03:22] |
<crazymonkeypants> |
Interesting. The mainstone mci platform data says that the detect delay should be 100ms |
| [22:03:32] |
<crazymonkeypants> |
I wonder why it shows as zero |
| [22:07:24] |
<bryguy[lap]> |
[1]drmikecrowe, I have dillo on here too, I was just using firefox for the novelty of it |
| [22:07:46] |
<bryguy[lap]> |
now if only would could get a working pointing device.... |
| [22:08:05] |
<[1]drmikecrowe> |
Have you looked at http://www.netsurf-browser.org/? |
| [22:09:33] |
<[1]drmikecrowe> |
I mentioned to somebody that magon had built dillo in gpe and somehow, gpe mapped the arrow keys to the mouse. Press the Z, and it toggled between keyboard/mouse |
| [22:13:11] |
<bryguy[lap]> |
yeah, now we have to figure out that "somehow" |
| [22:13:46] |
*** |
g1powermac has quit IRC |
| [22:22:25] |
*** |
g1powermac_PB has quit IRC |
| [22:48:56] |
<Limp_Trizkit> |
my zipit boots from the memory card on cold boot, but i'm using a 2gb patriot microsd (formatted with the perl script and stuck in a minisd adapter) |
| [22:59:08] |
<alyawn> |
funny, mine now seems to work on cold boot |
| [23:04:30] |
*** |
asantoni has quit IRC |
| [23:25:22] |
<crazymonkeypants> |
<decoding GPIO configs> |
| [23:32:24] |
<crazymonkeypants> |
Bleh. I can't seem to use /dev/mem to read the GPIO config registers once the kernel is up |
| [23:42:45] |
<crazymonkeypants> |
Interesting. The GPIO config registers I'm reading bear no resemblance to those in the blob source diffs |
| [23:46:58] |
*** |
alyawn has quit IRC |
| [23:49:50] |
<crazymonkeypants> |
either of them |
| [23:50:46] |
*** |
GPSFan has quit IRC |