Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sleep_Walker

Pages: [1] 2
1
Sharp PC-Z1 NetWalker / Simple Script For Preparing Debian
« on: July 02, 2010, 03:29:14 am »
Hi,

(mainly) P3T3 and I made script for preparing clean Debian system on card. Still in development but already usable. You can find it here:
http://netwalker.p3t3.org/build_minidebian.sh

Comments, bugfixes and request are welcome.

2
Quote from: ptoki
If not then Maybe someone will compile it for us all

We should definitely have our repository... Anyone has Debian packaging abilities?

3
Sharp PC-Z1 NetWalker / Netwalker's Kernel
« on: June 18, 2010, 09:44:27 am »
Hi,

Quote from: propofol
How do you set up the cross compile for the netwalker? I found one or two Japanese websites however even with Google translate I could not quite sort it out.

I'm not completely sure what you mean, but installation of cross compiler is distro dependand. In my openSUSE I have it as package in openSUSE Buildservice. In Gentoo I build it with crossdev tool...

Or you may be asking about cross compilation of kernel. I invoke make with this call:
make INSTALL_MOD_PATH="/Devel/netwalker/modules" CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm

If it is not, what you meant, please, ask again.

4
Sharp PC-Z1 NetWalker / Netwalker's Kernel
« on: June 15, 2010, 03:32:28 am »
Quote from: propofol
Hi Netwalker,
hehe, Sleep_Walker is nick, Netwalker is device

Quote from: propofol
Thanks for the info on getting the cursor back. I also found this very annoying. It seems somewhat  painful compiling the kernel from scratch on the Netwalker. Do you use a cross compile environment or virtual machine or did you just do it on the Netwalker?

Well, I'm mostly compiling on Netwalker since it is comfortable and I can do it everywhere (doctor, shopping, etc  and I'm not making big differences so it takes seconds. I have also cross compilation environment on my notebook so I can use it too.

5
Sharp PC-Z1 NetWalker / Netwalker's Kernel
« on: June 14, 2010, 06:20:53 pm »
I posted "patches" here.

6
Sharp PC-Z1 NetWalker / Netwalker's Kernel
« on: June 13, 2010, 05:33:10 am »
Quote from: ptoki
Quote from: Sleep_Walker
Ok, there are also some positives of this digging. I found that LED currently controlled by WiFi driver can be reused for other tasks - I missed monitoring access to SD card or WiFi activity - this would be easy with slight kernel changes
I admire your efforts. I do not know almost anything about kernel programming but Im aware how complicated it is.
Is it very hard to make patch for blinking wifi led?

And another question: is it possible to get any sort of remote for netwalker (BT solution is known to me)? Zaurus has such solution (resistors in audio jack).
LED - it depends on your approach - mac80211 provides these LED triggers already, but ks7010_sdio doesn't use it. If you hardcode such change, it should be doable quite simply, but it would be better choice to fix this driver and merge upstream

I'm not sure what do you mean, but you have USB port to do anything you want...

UPDATE: Ok, you can enable LED during compilation in 2.6.28 kernel and use mmc1 trigger (where SDIO WiFi is connected), but you need to disable LED handling in WiFi. I tried to do it quickly during shopping but probably missed something so I got to oops quickly.

UPDATE2: I'm pretty sure that my modifications are quite clear so I suspect that weird sdio detection handling (used way of WiFi on/off). Harder to spot :/

7
Sharp PC-Z1 NetWalker / Netwalker's Kernel
« on: June 11, 2010, 03:55:43 pm »
Ok, there are also some positives of this digging. I found that LED currently controlled by WiFi driver can be reused for other tasks - I missed monitoring access to SD card or WiFi activity - this would be easy with slight kernel changes

8
Sharp PC-Z1 NetWalker / Netwalker's Kernel
« on: June 11, 2010, 03:35:56 pm »
Hi,

as I had Hackweek 5 at work, I had a look into Netwalker's kernel a bit. My aim was to port latest Netwalker's coe which can be found in Ubuntu 2.6.28 araneo kernel sources to latest 2.6.31 Freescale kernel. I'm not telling I'm kernel  expert but I gave a try. At the end of this week I abandoned this idea

I have never seen such mess. As some of you alrerady know, there is no machine ID dedicated to Netwalker. There is used one for Babbage board which is quite (but not completely) similar. Unfortunately this machine ID is used in RedBoot - the Netwalker's bootloader, so to do things correctly NOR flash where RedBoot is located need to be altered and you can brick your device when this is not done correctly. Great! When this is done, change in current kernel is quite cosmetic.

Unfortuinately - this is the lesser problem. Bigger problem is that board configuration is written in headers statically and #ifdefs are ensuring that right HW is used. This would mean maintaining separate kernel tree for Netwalker and porting to newer versions will be always pain. As the biggest pain I find fact that there are widespread #ifdefs in 46 files in different areas of kernel altering code slightly for Netwalker. That means a LOT of time to do things correctly and maintainable. It seems that these changes were done by Nissin Systems Co.,Ltd. - thanks for hardly maintainable code!

I abandoned porting code to Freescale's kernel but I hope there is way to do it correctly in upstream. That will be my long term focus.

Best regards,

Sleep_Walker


UPDATE: it seems that some files contain some partial backport of newer kernel features and statistic measurement so the count of files which needs to be reworked is a bit smaller. It also seems that hidden cursor in framebuffer console is ugly handled feature, not bug. Authors didn't want to have SHARP logo (which seems to be easily altered) disturbed by blinking cursor.

UPDATE2: Yes! Got blinking cursor - what a relief...

9
Sharp PC-Z1 NetWalker / Portabase
« on: June 11, 2010, 06:53:43 am »
IQNotes? Isn't it Qt2 based?

10
Sharp PC-Z1 NetWalker / Which Window Manager Do You Use?
« on: June 11, 2010, 06:51:53 am »
Quote from: RX Shorty
Are you running Debian or Ubuntu?
Ahh switched to wicd, no driver problems? I tried it before but somehow it deleted my Wireless driver.
Debian, I have Ubuntu only as fallback if I create some problem.

11
Sharp PC-Z1 NetWalker / Which Window Manager Do You Use?
« on: June 05, 2010, 03:23:56 pm »
Quote from: RX Shorty
With the default Sharp Ubuntu "Rom" which Window Manmager do you use?

And do you have some optimise tips?

Currently I am using XFCE, a bit faster as the default Gnome.
Though LXCE is faster, the Gnome network manager isn`t working.
I use XFCE and Enlightenment 17 on Debian. Speed is fine. I switched NetworkManager to wicd, Firefox to Midori, UBIFS in flash to EXT2 on class 6 microSDHC card and distribution kernel to my own build  Default Ubuntu ROM contents untouched :b

OK, probably not the answer you wanted...

12
Sharp PC-Z1 NetWalker / Kexec On Netwalker
« on: May 02, 2010, 08:43:19 am »
OS replacement is possible even now, I already had Gentoo on Netwalker and it worked quite well. But I was tired of compiling - I used external flash to prolong internal flash life and it was quite annoying
I also tried Debian, Karmic Koala and Lucid Lynx RC2. Karmic Koala worked but had some issues with sound, touchscreen etc. With Lucid I got just segfault of X server so no fun. I'm planning to try openSUSE when I have more time - openSUSE build service is really something I want to have and I'm used to have...

13
Sharp PC-Z1 NetWalker / Kexec On Netwalker
« on: May 02, 2010, 03:34:35 am »
Hmm, it seems that I'm only one interested in that :b

I created GIT repository for this:
http://git.hackndev.com/?p=netwalker/initr...l.git;a=summary

I also analysed ecos & redboot sources and initrd cannot be specified in boot.conf.

14
Sharp PC-Z1 NetWalker / Kexec On Netwalker
« on: April 22, 2010, 01:55:51 pm »
Hi,

I was thinking about creating second stage kexec based bootloader. I have it done completely (boot from internal flash, SD card, USB and set preffered way of boot) with plans to enhance in mind (like restoring flash without restore system on microSD card, creating backups, etc.), but I fail with booting through kexec. I'm using sources 2.6.28.10 (sources of linux-image-*-araneo19).

Was anyone successful in booting through kexec?

I know that kexec utils need to be patched and I got to new kernel I think, but it hangs with white screen and watchdog kill it in a minute.

And one question a bit offtopic - does anyone found the way how to boot initrd from card? I'm not sure, what to put into boot.conf so it loads also initrd...

Thanks!

15
I'd suggest to remove karmic repo after this. Last time I tried to migrate to karmic I had to restore whole OS after attempt to upgrade libc version.

Pages: [1] 2