| [00:04:48] |
*** |
GPSFan has quit IRC |
| [00:38:47] |
*** |
Rossimo has joined #zipit |
| [00:48:50] |
*** |
Rossimo has quit IRC |
| [02:09:00] |
*** |
Rossimo has joined #zipit |
| [06:13:12] |
*** |
nhoman_ has joined #zipit |
| [06:13:16] |
*** |
nhoman has quit IRC |
| [06:13:47] |
*** |
nhoman_ is now known as nhoman |
| [08:14:17] |
*** |
T0mW has joined #zipit |
| [08:29:59] |
*** |
FireEgl has quit IRC |
| [08:44:31] |
*** |
FireEgl has joined #ZipIt |
| [09:06:52] |
*** |
Rossimo has quit IRC |
| [09:09:06] |
*** |
GPSFan has joined #zipit |
| [09:48:52] |
*** |
T0mW is now known as T0mW`gone |
| [10:19:34] |
*** |
Rossimo has joined #zipit |
| [10:47:46] |
<Rossimo> |
does anyone know if I have to get bryank's OE patches before the latest SVN revision will work? |
| [10:48:33] |
<drmikecrowe> |
Rossimo: I know magon had OE building a root image (and he should have saved it). however, I think he checked in, but am not sure |
| [10:57:17] |
<Rossimo> |
oh, also, drmikecrowe, i'm getting an error while searching the IRC logs |
| [10:58:25] |
<Rossimo> |
http://zipit.pastebin.com/m468b74b9 |
| [11:09:50] |
<drmikecrowe> |
Rossimo: I'm about to head out to a meeting. I'll have to get back to you later on this. |
| [11:17:00] |
*** |
Crofton has joined #zipit |
| [11:19:13] |
<nhoman> |
Rossimo: no. Magon's last checkin works fine... You must apply a patch to org.openembedded only. |
| [11:27:29] |
<nhoman> |
Rossimo: that's Magon's patch at http://72.233.35.82/attachment.cgi?id=5384 |
| [11:33:06] |
<Rossimo> |
ok, thanks |
| [11:33:20] |
<Rossimo> |
ah, bryank's stuff was only some software he wrote in python, i misread and thought he was patching OE |
| [11:33:56] |
<drmikecrowe> |
Rossimo: but he did get x running rotated, iirc |
| [11:38:51] |
<Rossimo> |
which is awesome. |
| [11:38:58] |
<Rossimo> |
:) |
| [12:03:38] |
*** |
FireEgl has quit IRC |
| [12:08:17] |
*** |
Rossimo has quit IRC |
| [12:18:54] |
*** |
T0mW`gone has quit IRC |
| [12:19:03] |
*** |
Magon has joined #zipit |
| [12:29:52] |
*** |
Crofton has quit IRC |
| [12:34:42] |
*** |
Rossimo has joined #zipit |
| [13:12:31] |
*** |
Rossimo has quit IRC |
| [14:43:57] |
*** |
Rossimo has joined #zipit |
| [14:53:25] |
*** |
Rossimo has quit IRC |
| [15:07:04] |
*** |
Rossimo has joined #zipit |
| [15:07:55] |
<Rossimo> |
hey, i'm running into a problem with bitbake, can anyone help? |
| [15:08:13] |
<Rossimo> |
http://zipit.pastebin.com/m27b8f47a |
| [15:14:46] |
<Rossimo> |
nvm, just fixed it by reading the README in the build folder |
| [15:15:00] |
<Rossimo> |
also, Magon: it seems the second command doesn't work |
| [15:16:42] |
<Rossimo> |
there is no distro directory |
| [15:17:14] |
<nhoman> |
Rossimo: did you apply to org.openembeded instead of openembedded |
| [15:17:37] |
<nhoman> |
org.openembedded needs to be a subdir of openembedded |
| [15:17:52] |
<nhoman> |
no need for distro |
| [15:17:56] |
<nhoman> |
(in openembedded) |
| [15:18:25] |
<Rossimo> |
i copied the command the second command directly from http://linux.zipitwireless.com/browser/openembedded/build/README while i was in the build folder |
| [15:18:52] |
<nhoman> |
oh i get ya |
| [15:19:11] |
<nhoman> |
no need for that distro folder after patching org.openembedded |
| [15:19:13] |
<Rossimo> |
ok |
| [15:19:31] |
<Rossimo> |
alright, if i'm doing OE completely from scratch, I'm guessing I need to do 3 things in this order: |
| [15:19:37] |
<Rossimo> |
run the Makefile in a new directory |
| [15:19:42] |
<Rossimo> |
then, update from the Zipit SVN |
| [15:19:47] |
<Rossimo> |
and then run those commands the the readme file |
| [15:19:57] |
<Rossimo> |
is that correct? |
| [15:24:46] |
<nhoman> |
Rossimo: I never ran the makefile... just a sec |
| [15:32:06] |
<nhoman> |
back |
| [15:32:24] |
<nhoman> |
yeah that should do it.... although the commands that refer to distro are out of date |
| [15:33:52] |
<Rossimo> |
alright, i'll try again |
| [15:35:01] |
<nhoman> |
you will need to setup the following vars: (before bitbaking) |
| [15:37:18] |
<nhoman> |
export PATH=/home/neil/stuff/bitbake/bin:$PATH |
| [15:37:19] |
<nhoman> |
export BBPATH=/home/neil/stuff/openembedded/build:/home/neil/stuff/openembedded/org.openembedded.dev |
| [15:37:22] |
<Rossimo> |
ok |
| [15:37:34] |
<nhoman> |
note the directory structure : adjust for your own env. |
| [15:37:45] |
<Rossimo> |
yeah |
| [15:40:01] |
<Rossimo> |
i'm getting this error: |
| [15:42:05] |
<Rossimo> |
ERROR: opening /home/rossimo/oe/zipit2-packages/*/*.bb: [Errno 2] No such file or directory: '/home/rossimo/oe/zipit2-packages/*/*.bb' |
| [15:42:20] |
<nhoman> |
ok softlink to zipitZ2BBfiles |
| [15:42:57] |
<nhoman> |
ln -s zipit2-packages zipitZ2BBfiles |
| [15:43:04] |
<nhoman> |
or whatev |
| [15:43:15] |
<Rossimo> |
ok |
| [15:43:34] |
<Rossimo> |
alright, no error this time |
| [15:43:46] |
<Rossimo> |
now, i'm building base-image. do i have to have base-image to get other software running? |
| [15:43:47] |
<Rossimo> |
like kdrive? |
| [15:44:41] |
<nhoman> |
I dont know exactly im trying to get kdrive working myself.... |
| [15:44:50] |
<Rossimo> |
seems bryank from earlier got it to work |
| [15:47:46] |
<Rossimo> |
http://linux.zipitwireless.com/irclogs/2008/02/21 |
| [15:47:47] |
<nhoman> |
Im new to OE |
| [15:47:49] |
<nhoman> |
I read the log |
| [15:47:55] |
<Rossimo> |
ok |
| [15:48:11] |
<nhoman> |
when i build the base-image and tried kdrive from ipkg it said it was installed and up to date... |
| [15:48:20] |
<nhoman> |
TBH i'm trying to get wireless working |
| [15:53:09] |
<Rossimo> |
wow, this is going to take a while |
| [15:53:26] |
<Rossimo> |
158 of 1644 |
| [16:33:31] |
*** |
FireEgl has joined #ZipIt |
| [18:02:29] |
*** |
Magon has quit IRC |
| [18:24:04] |
*** |
Rossimo has quit IRC |
| [19:03:48] |
*** |
Fire_Egl has joined #ZipIt |
| [19:04:05] |
*** |
Fire_Egl has quit IRC |
| [19:08:03] |
*** |
T0mW has joined #zipit |
| [19:13:17] |
*** |
Rossimo has joined #zipit |
| [20:02:48] |
*** |
bryank has joined #zipit |
| [20:03:27] |
<bryank> |
nhoman: i see you were working on wireless in the irc logs; did you get it working? |
| [20:04:21] |
<SB-Zipit> |
New news from http://linux.zipitwireless.com/timeline?milestone=on&ticket=on&wiki=on&max=50&daysback=90&format=rss: OpenEmbedded edited by bryank |
| [20:48:15] |
<bryank> |
oh, and Rossimo (when you get back): the only required patch to OE anymore is Magon's |
| [20:48:35] |
<bryank> |
and bitbaking base-image gets you (a) the tar file, and (b) built dependencies for lots of later stuff -- but is not strictly required |
| [22:29:24] |
*** |
mi_dave has joined #zipit |
| [22:33:42] |
<mi_dave> |
bryank: saw the stuff in the svn... looks good. the OE wiki additions should be helpful |
| [22:38:36] |
<bryank> |
yeah, hopefully |
| [22:38:46] |
<bryank> |
i was looking at web browsers too, a bit, but didn't find a ton |
| [22:39:11] |
<bryank> |
firefox will apparently compile, but takes 46 megs of ram when running |
| [22:39:30] |
<bryank> |
and there are alternates in OE, but most look like a mouse is better (if not required) |
| [22:40:01] |
<mi_dave> |
slightly more than the 32MB if ran the Z2 has I guess... |
| [22:42:19] |
<mi_dave> |
that should be "of ram" |
| [22:42:27] |
<bryank> |
yeah, slightly more |
| [22:42:30] |
<bryank> |
and since it has no disk, paging isn't going to work either |
| [22:43:44] |
<mi_dave> |
any idea how much ram is left after starting up everything you have running? |
| [22:43:54] |
<bryank> |
there are probably ways to find out, but i haven't looked; let me see... |
| [22:47:46] |
<mi_dave> |
i picked up another micro/mini SD card (1GB). What was the reason you suggested ext2 instead of ext3 for the 2nd partition? |
| [22:47:53] |
<bryank> |
fewer writes (no journal) |
| [22:48:03] |
<bryank> |
although jffs2's native support for wear-leveling is probably even better |
| [22:49:43] |
<bryank> |
on memory: it looks like python is taking up 20 megs on its own (!), and there's about 1 meg free right now (!!) |
| [22:49:57] |
<bryank> |
though i'm not sure how much of that is cached-up SD-card contents |
| [22:52:38] |
<mi_dave> |
hmmmm... |
| [22:54:08] |
<bryank> |
oh, hang on -- 17 megs (of the 28 megs in use) are "Cached:", so the 20-meg python usage isn't so bad |
| [22:54:57] |
<mi_dave> |
so only 11MB are in use and python is some portion of that? |
| [22:54:59] |
<bryank> |
yep |
| [22:56:09] |
<mi_dave> |
whew |
| [22:56:33] |
<mi_dave> |
any ideas on the strange keyboard response we saw in kdrive? |
| [22:56:35] |
<bryank> |
the 20meg number on python is the VSZ (total virtual-memory size), some of which is a read-only map of the sd card files |
| [22:56:42] |
<bryank> |
keyboard: haven't looked into it yet |
| [22:57:01] |
<bryank> |
i did see a few messages logged from the kernel when the screen goes into its weird mode, though |
| [22:57:14] |
<bryank> |
"Set Zipit2 lcd power 0..." for instance |
| [22:57:36] |
<mi_dave> |
did i understand that the framebuffer could be using some ram too (if the CPU/display hardware does not have its own buffer)? |
| [22:57:55] |
<bryank> |
if you're double-buffering, certainly; otherwise, depends on the display hardware, yeah |
| [22:58:16] |
<mi_dave> |
"Set Zipit2 lcd power 0" sounds like it perhaps should be powering down the lcd and backlight. strange that it doesn't work. |
| [22:58:21] |
<bryank> |
or at least the kernel is trying to. yeah, strange |
| [22:58:50] |
<mi_dave> |
any corresponding messages when you kit a key and it cames back? |
| [22:58:58] |
<bryank> |
yep: "Set Zipit2 lcd power 1..." |
| [22:59:50] |
<mi_dave> |
so the kernel is generating those messages/commands? any chance it is looking for programs on the unmounted OEM jffs2 filesystem? |
| [23:03:38] |
<bryank> |
possibly, but there isn't much there that it could be looking for |
| [23:03:44] |
<bryank> |
there's also info in the kernel logs about the mtd partitioning, that explains mtdblock0/1/2 |
| [23:03:54] |
<bryank> |
block0 is the bootloader, and 1 is the kernel; that's why they didn't mount when we were trying it the other day |
| [23:04:09] |
<bryank> |
2 is the only real FS; it contains some kind of initramfs file somewhere that contains /lib (and the other stuff) |
| [23:04:30] |
<mi_dave> |
so block2 mounted but we didn't see where /lib was... so its a ram fs that gets populated from some source? |
| [23:04:34] |
<bryank> |
looks that way, yeah |
| [23:06:37] |
<bryank> |
though now that i look, i don't see any files that look like an initramfs image; maybe that's in the mtdblock1 kernel image somewhere |
| [23:07:19] |
<mi_dave> |
would that be one of the filesystems that gets unmounted when the sd card script runs? |
| [23:07:41] |
<bryank> |
probably when it runs switch_root (or whatever the program was), eyahg |
| [23:07:42] |
<bryank> |
er, |
| [23:07:43] |
<bryank> |
"yeah" |
| [23:09:30] |
<bryank> |
on the initramfs itself, you can build those images directly into the kernel; maybe that's what they did |
| [23:09:45] |
<mi_dave> |
if you get a chance, e-mail me (at work) with what you would suggest for partioning the new sd card and how to do it |
| [23:13:17] |
<bryank> |
i |
| [23:13:21] |
<bryank> |
jeez, i can't type today |
| [23:13:33] |
<mi_dave> |
was part of the reason the initial filesystems had to be unmounted was their paths would be invalid after the switch_root? |
| [23:13:35] |
<bryank> |
i'd suggest the same partitioning as what the prepSDcard script does, but it uses ext3, so i'd say maybe do that manually |
| [23:13:49] |
<bryank> |
their paths would only be invalid from processes that got forked off the switch_root |
| [23:13:53] |
<mi_dave> |
with ext2 or is it worth trying jffs2? |
| [23:14:05] |
<bryank> |
jffs2 would require changes to z2script.sh, so ext2 is easier |
| [23:14:12] |
<mi_dave> |
check |
| [23:14:36] |
<bryank> |
on the path thing: but it's a good idea to unmount an initramfs anyway (when possible), to free up the memory |
| [23:16:54] |
<mi_dave> |
yeah, i was just curious to look around |
| [23:17:37] |
<bryank> |
one way to do that might be to stuff a "/bin/sh </dev/tty0 >/dev/tty0 2>/dev/tty0" in the z2script before it runs restart.sh |
| [23:18:22] |
<mi_dave> |
to fire up a shell? and then when you exit the shell it would continue on? |
| [23:18:24] |
<bryank> |
yep |
| [23:18:29] |
<mi_dave> |
i see |
| [23:18:33] |
<bryank> |
it'd be worth a try, at least |
| [23:18:59] |
<mi_dave> |
no wlan and no ssh but enough to look around |
| [23:19:02] |
<bryank> |
right |
| [23:19:07] |
<bryank> |
actually, let me see if that ends up working... |
| [23:19:26] |
<mi_dave> |
well if/when i get some hardware i'll be able to see what i can blow up i guess ;-) |
| [23:19:36] |
<bryank> |
seeing as i have yours at the moment... ;-) |
| [23:19:55] |
<ethicalclone> |
jffs2 is not really needed because the sd card does wear leveling internally. |
| [23:23:14] |
<mi_dave> |
makes sense i guess |
| [23:23:21] |
<bryank> |
assuming the card's leveling is good enough, yeah. ok, never mind then. |
| [23:23:59] |
<mi_dave> |
well, i think it is about late enough for me. talk to you later |
| [23:24:00] |
<bryank> |
oh dear -- the keyboard appears to be nonfunctional in that shell... time to pull out the usb sd card writer again... |
| [23:24:07] |
<mi_dave> |
uh oh |
| [23:24:12] |
<bryank> |
yeah, it's fixable, just slightly disconcerting |
| [23:24:23] |
<mi_dave> |
is the screen rotated as well? |
| [23:24:29] |
<bryank> |
it's normal |
| [23:24:29] |
<bryank> |
so yes |
| [23:27:30] |
<mi_dave> |
well have fun. talk to you later |
| [23:27:42] |
<bryank> |
see ya |
| [23:27:56] |
*** |
mi_dave has quit IRC |
| [23:38:08] |
*** |
bryank has quit IRC |