| [00:29:53] |
*** |
GPSFan has quit IRC |
| [00:44:47] |
*** |
rkdavis has left #zipit |
| [07:31:52] |
*** |
Mathman952 has joined #zipit |
| [07:48:11] |
*** |
Limp_Trizkit has quit IRC |
| [07:48:11] |
*** |
Mathman952 is now known as Limp_Trizkit |
| [08:23:13] |
*** |
Crofton|laptop has quit IRC |
| [08:27:43] |
*** |
Crofton|laptop has joined #zipit |
| [09:28:06] |
*** |
GPSFan has joined #zipit |
| [12:46:49] |
*** |
sweetlilmre has joined #zipit |
| [12:47:41] |
<sweetlilmre> |
anyone awake that can help me with booting a custom kernel via xdownload? Kernel boots, but I can't seem to get it to see /dev/mmcblk0p2 as root= |
| [12:48:10] |
<sweetlilmre> |
I have added ext3 and recompiled. testing now to see if that is the issue |
| [12:48:48] |
<sweetlilmre> |
VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2) |
| [12:56:04] |
*** |
rkdavis has joined #zipit |
| [12:56:15] |
<sweetlilmre> |
hi |
| [13:06:00] |
<rkdavis> |
hi |
| [13:06:17] |
<sweetlilmre> |
you have any advise on booting a custom kernel through blob? |
| [13:06:39] |
<sweetlilmre> |
I can't seem to get my ext3 partition on my SD card recognised :) |
| [13:07:20] |
<sweetlilmre> |
boot console=ttyS2,115200 root=/dev/mmcblk0p2 rootfstype=ext3 rootdelay=5 |
| [13:07:57] |
<rkdavis> |
sorry i'm still learning about the zipit myself |
| [13:08:11] |
<sweetlilmre> |
no worries. got far enough, just stuck at this bit. ;) |
| [13:08:17] |
<rkdavis> |
i haven't tried a custom kernel because of the device driver for wifi |
| [13:08:30] |
<GPSFan> |
sweetlilmre: can you pastebin the messages that come out the serial port during the kernel startup? |
| [13:08:37] |
<sweetlilmre> |
sure |
| [13:08:56] |
<sweetlilmre> |
http://zipit.pastebin.com/d32037b6 |
| [13:08:59] |
<GPSFan> |
I had a custom kernel booting, but it was a long time ago, basically just after dave found where ther werial port connections were. |
| [13:09:03] |
* |
GPSFan looks |
| [13:09:06] |
<sweetlilmre> |
I followed your trail :) |
| [13:09:38] |
<sweetlilmre> |
basically I have the SD card set up as per the shell boot hack. with a kernel based on the stock + zipit patches and ext3 enabled. so sd partition2 is rootfs |
| [13:16:52] |
<GPSFan> |
are you building with initramfs in ../rfs ? |
| [13:16:58] |
<GPSFan> |
can you boot the original kernel? |
| [13:17:02] |
<GPSFan> |
via xdownload |
| [13:17:09] |
<sweetlilmre> |
original kernel as in OE original kernel? |
| [13:17:11] |
<sweetlilmre> |
(that is what I am using) |
| [13:17:29] |
<GPSFan> |
as in the one that is in mtd1 |
| [13:17:35] |
<sweetlilmre> |
no, haven't copied that out. I am sure it would work. |
| [13:17:43] |
<sweetlilmre> |
what do I have to do with ../rfs? it is there as per the build patch / .bb file |
| [13:17:50] |
<GPSFan> |
I've never had any luck with OE doing anything except wasting time. |
| [13:17:59] |
<sweetlilmre> |
I've used it with the beagle a lot. a bit complex in the begining, but a good system :) |
| [13:18:04] |
<rkdavis> |
sweet: know the feeling :) |
| [13:18:11] |
<GPSFan> |
for rfs, you basically put a mini root file system there, ther kernel does some cpio magic |
| [13:18:25] |
<rkdavis> |
although i am beginning to think that buildroot should be the /standard/ dev environment :) |
| [13:18:28] |
<GPSFan> |
it boots to that and then you mount the mtd stuff from there, |
| [13:18:42] |
<GPSFan> |
don't get me wrong, I have wasted vast amounts of time with buildroot too ;>) |
| [13:18:48] |
<rkdavis> |
gps: know that feeling too :) |
| [13:18:52] |
<sweetlilmre> |
was trying to get away from mounting mtd and booting straigt to ext3 on SD. Then I can flash the kernel and play :) |
| [13:19:02] |
<GPSFan> |
I'm trying to dig up my notes on when I worked on that. give me a few minutes... |
| [13:19:06] |
<sweetlilmre> |
ta :) |
| [13:36:22] |
<GPSFan> |
sweetlilmre: would you like to try booting one of my kernel images? I don't have my test Z2 setup atm. I can dcc it to you, it's about 1.8Mbytes. |
| [13:36:33] |
<GPSFan> |
I haven't had any luck finding any useful notes yet. |
| [13:36:45] |
<sweetlilmre> |
that would be interesting :) |
| [13:37:15] |
<sweetlilmre> |
sorry bloody filter, please resend |
| [13:37:46] |
<sweetlilmre> |
arrgh, once more please, sorry again |
| [13:38:17] |
<GPSFan> |
I can put it somewhere if dcc fails. |
| [13:38:22] |
*** |
drmikecrowe_ has joined #zipit |
| [13:38:26] |
<sweetlilmre> |
that would be better my firewall is blocking now |
| [13:38:28] |
<GPSFan> |
k |
| [13:38:32] |
<rkdavis> |
morning drmike |
| [13:38:42] |
<rkdavis> |
gps: what was the buildroot revision you mentioned yesterday? |
| [13:39:30] |
<GPSFan> |
22549 |
| [13:39:33] |
<rkdavis> |
thnx |
| [13:39:52] |
<GPSFan> |
sweetlilmre: http://www.paonia.com/~kenm/Z2/zImage.2 |
| [13:47:14] |
<sweetlilmre> |
got it, thanks, will give it a go |
| [13:47:37] |
<GPSFan> |
sweetlilmre: good luck, can you pastebin the output when you get it? tnx... |
| [13:47:42] |
<sweetlilmre> |
no worries :) |
| [13:49:23] |
<GPSFan> |
I gotta run off for a while, bbl... |
| [13:49:30] |
<sweetlilmre> |
okay xmodem'ing now. your kernel is somewhat larger than mine... by about 600KB |
| [13:49:36] |
<sweetlilmre> |
I suppose that might be gadget stuff? |
| [13:49:46] |
<rkdavis> |
ooo that never happened before :) it asked me a question about what cpu :) |
| [13:56:27] |
*** |
drmikecrowe has quit IRC |
| [13:56:27] |
*** |
drmikecrowe_ is now known as drmikecrowe |
| [13:58:21] |
<sweetlilmre> |
GPSFan: Your kernel output is here: http://zipit.pastebin.com/mbe509da, boots 100% :) |
| [13:58:37] |
<sweetlilmre> |
GPSFan: don't suppose you have a .config for that do you (and rfs archive handy :)) |
| [13:59:57] |
<rkdavis> |
gps: that revision with the .config is looking good so far building :) |
| [14:06:29] |
<rkdavis> |
just a pity the box i was going to use as a dev box isn't as good as i thought it was -- uses rdram for a start which i don't have any extra off :( -- going to see if the ultrasparc would make a better dev box :) |
| [14:08:37] |
<sweetlilmre> |
GPSFan: gotta go. if you have anything for me, msg me a link and I'll pick it up tomorrow. thanks for the help :) |
| [14:25:52] |
<rkdavis> |
ugh failed on coretils |
| [14:25:54] |
<rkdavis> |
coreutils even' |
| [14:26:10] |
<rkdavis> |
the same error i got originally -- wants a newer uClibc |
| [14:48:46] |
*** |
drmikecrowe has quit IRC |
| [15:26:55] |
<rkdavis> |
oy vey this is driving me nutz -- blooming br |
| [15:29:40] |
<GPSFan> |
rkdavis: just got back in.. paste the error please. |
| [15:35:19] |
<rkdavis> |
mompls |
| [15:35:56] |
<nsfx> |
hello |
| [15:36:24] |
<nsfx> |
someone told me that you can't buy a zipit in stores without also buying a plan now |
| [15:36:27] |
<nsfx> |
is that true? |
| [15:36:30] |
<GPSFan> |
sweetlilmre: yes I have the .config & rfs, I'll put a tarball of the rfs directory up: http://www.paonia.com/~kenm/Z2/rfs.tar.bz2 & http://www.paonia.com/~kenm/Z2/dot_config |
| [15:36:31] |
<rkdavis> |
ugh it's out of buffer -- but the error was about busybox this time not being in the project_build_arm.... dir |
| [15:36:38] |
<rkdavis> |
last time it was coreutils needing at least .30 for id to be built |
| [15:36:42] |
<rkdavis> |
i'm cleaning out the buildroot dir again to restart from scratch again |
| [15:38:00] |
<GPSFan> |
rkdavis: the problem is that busybox is configured to be the latesst snapshot. so what I built ages ago is now out of date, have it select vers 1.10.x of busybox and it should build with uclibc 0.9.29 |
| [15:38:23] |
<rkdavis> |
i tried that afterwards and got another error -- i've just rechecked out the revision |
| [15:38:28] |
<rkdavis> |
copied the .config from misc |
| [15:38:33] |
<rkdavis> |
now about to start make menuconfig |
| [15:38:45] |
<rkdavis> |
going to not change anything other than the busybox option |
| [15:38:50] |
<GPSFan> |
IIRC busybox is the only package configured for snapshot. |
| [15:38:50] |
<rkdavis> |
yup |
| [15:39:03] |
<rkdavis> |
the later svn buildroots have extra options but this doesn't |
| [15:39:17] |
<rkdavis> |
ok 3 versions plus snapshot |
| [15:39:52] |
<rkdavis> |
what did you have for the busybox.config ? |
| [15:40:01] |
<rkdavis> |
it's showing target/device/x86/i386/busybox.config here |
| [15:48:13] |
<GPSFan> |
yeah, that's what it shows in the .config but it built ok for me. it was originally set for bb 1.5.1 but I changed it to snapshot in july which is when I was mucking around with bb last |
| [15:48:39] |
<rkdavis> |
i'm trying it wirh bb .10 see how it goes this time |
| [15:48:59] |
<rkdavis> |
as it was scrolling passed i did see it say it couldn't find a few files but couldn't read it it went so fast so i'll see how far it gets |
| [16:16:55] |
<rkdavis> |
new error this time :) |
| [16:17:24] |
<rkdavis> |
http://zipit.pastebin.com/m5f4a437b |
| [16:17:36] |
<rkdavis> |
make clean ; make menuconfig yet again :) |
| [17:05:40] |
<rkdavis> |
ooooo think it might have succeeded this time -- it just stopped but no error message i can see |
| [17:05:44] |
<rkdavis> |
last line is an rm command |
| [18:27:39] |
<GPSFan> |
rkdavis: back now, the error you pasted is beacuse somehow iwmmxt got set in the .config. it shouldn't be. make clean on earlier versions of buildroot has been know to have problems (not that recent ones are problem free) ;>) |
| [18:29:21] |
<rkdavis> |
heh |
| [18:29:36] |
<rkdavis> |
looks like i do have a partially working buildroot unless i start adding stuff to it :) and can't build native toolchain |
| [18:29:43] |
<rkdavis> |
but i have a bit of a stupid question :) |
| [18:32:55] |
<rkdavis> |
ok built it and i have a ext2 disk image -- what do i do with it? use it with fatroot as the linux partition or copy the stuff from the /bin dir in staging_dir :) |
| [18:53:35] |
<GPSFan> |
well, I used the stuff from project_build_arm/Z2BR/root/ to populate the rfs dir for my kernel build. I've never tried to build a native toolchain. There are probably settings in the uClibc build that will cause havoc with some package builds, like those requiring wchar support. |
| [18:54:22] |
<GPSFan> |
I also copy some bins & libs to an nfs share that I used for testing the alsa sound stuff. I hardly ever use the prebuilt file systems. but that's just my 1/2assed way of doing things. ;>) |
| [18:54:57] |
<GPSFan> |
staging_dir/bin is a mix of host & native stuff, I never use what's there. I use the toolchain to build other stuff out of the buildroot tree, like the kernel. |
| [18:58:57] |
<rkdavis> |
ok |
| [18:59:08] |
<rkdavis> |
sorry was stuffing my face with roast beef and yorkshire pudding |
| [18:59:14] |
<rkdavis> |
back now |
| [18:59:30] |
<GPSFan> |
yumm, no dinner for a while yet here... |
| [18:59:54] |
<GPSFan> |
what are you looking to build a naiive toolchain for? |
| [18:59:58] |
<rkdavis> |
well i'll also havr a sandwich later need to soak up the wine from last nihht |
| [19:03:45] |
<rkdavis> |
just thought it'd make it easier to compile some stuff on the zipit |
| [19:03:59] |
<rkdavis> |
and well i'll do it using buildroot but for quick hacks it might be useful |
| [19:04:18] |
<rkdavis> |
at the moment i'm really just playing with toolchains and the like -- trying to get familar with them and how to use them |
| [19:04:35] |
<rkdavis> |
once the wife goes back to work on monday and the kids next semester starts i'll be left in peace during the day again and can really play with the zipit |
| [19:04:55] |
<GPSFan> |
you should follow rob landley's FWL http://www.landley.net/code/firmware/ he intends to replace the basic buildroot functionality. it uses native tools running under qemu. cool stuff, but not ready for prime time (but neither is buildroot) |
| [19:06:57] |
<rkdavis> |
yup i was looking at using qemu |
| [19:07:04] |
<rkdavis> |
to emulate a zipit |
| [19:07:58] |
<rkdavis> |
by the way what's the correct info from file on the binaries? i get lsb 32bit elf .....arm version 1 |
| [19:08:00] |
<GPSFan> |
there is pxa270 qemu support for the spitz platform (sharp zaraus something) |
| [19:08:12] |
<rkdavis> |
yup i was looking at it some stuff very close to the zipit but not quite 100% |
| [19:08:15] |
<rkdavis> |
some dog named things |
| [19:08:20] |
<rkdavis> |
mompls bathroom |
| [19:08:21] |
<GPSFan> |
alsamixer: ELF 32-bit LSB executable, ARM, version 1 (ARM), dynamically linked (uses shared libs), not stripped |
| [19:08:41] |
<GPSFan> |
I used the spitz sound driver as a base for the z2 one. |
| [19:14:00] |
<rkdavis> |
yup that's what mine say so thats ok |
| [19:14:08] |
<GPSFan> |
that was from alsa-utils-1.0.18/alsamixer/ build dir. I'll usually hand strip if required during debugging. I also often rebuild in the build dir's doing make clean -> make during debugging, then take the final debugged binary from project_build_arm/Z2BR/root/ which is stripped. |
| [19:14:14] |
<rkdavis> |
k |
| [19:14:27] |
<rkdavis> |
i'll do some more testing then start working on the loudmouth lib |
| [19:14:38] |
<GPSFan> |
good luck, good progress today ;>) |
| [19:14:40] |
<rkdavis> |
an older version is in oe so i'll see what info i can steal from it |
| [19:14:57] |
<rkdavis> |
fwl looks interesting |
| [19:17:03] |
<GPSFan> |
often I'll build stuff out of the buildroot tree by adding a short pre-configure script that sets stuff up. very hackish and probably not reproducable for many. but I'm not really a sw person, just a frustrated hardware guy. |
| [19:17:30] |
<rkdavis> |
heh i'm just a frustrated ideasman :) |
| [19:18:04] |
<rkdavis> |
i'm not sure if i can even wield a soldering iron any more it's been so long |
| [19:18:31] |
<rkdavis> |
and the wife threw it out so it's hard to hold a nonexistant item |
| [19:18:44] |
<GPSFan> |
hehe, need to get another!! |
| [19:19:03] |
<rkdavis> |
yup |
| [19:19:22] |
<rkdavis> |
got alot to rebuy now they have stapled me back up again and don't need to go digging in my innerds again |
| [19:24:31] |
<GPSFan> |
it's aways good to not have other peoples mits pokeing inside one. |
| [19:24:57] |
<rkdavis> |
yup but at least they sliced me open rather than using existing orifaces |
| [19:26:54] |
<rkdavis> |
pxa270 in the zipit is armv4l isn't it? |
| [19:34:47] |
<GPSFan> |
pxa27x is xscale which will run all armv4l inst's but I'm no expert in specific arm versions. |
| [19:36:13] |
<rkdavis> |
k |
| [19:37:02] |
<GPSFan> |
http://en.wikipedia.org/wiki/ARM_architecture |
| [19:37:07] |
<rkdavis> |
thnx |
| [21:07:47] |
*** |
drmikecrowe has joined #zipit |
| [21:17:04] |
<rkdavis> |
GPSFan: still around? |
| [21:17:14] |
<GPSFan> |
for a bit |
| [21:17:29] |
<rkdavis> |
just wondered if you'd ever looked at skyeye |
| [21:17:47] |
<rkdavis> |
looks like it might be interesting for testing kernels (although no sound support that i can find so far) |
| [21:18:25] |
<GPSFan> |
yes, when it was very new, I had great hopes for it, actaully it helped a lot in the early days of the Z1. haven't looked at it lately, although I have seen that there has been a lot of developnment, and it is no longer a .cn only project. |
| [21:26:50] |
*** |
FireEgl has quit IRC |
| [21:44:34] |
*** |
FireEgl has joined #ZipIt |