• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2 3
1  General Category / Application ideas and development Q/A / Re: how about Zoneminder? on: September 30, 2009, 02:56:02 PM
I am trying to install zoneminder (from source) to my sheevaplug without success. I installed all the required packages/modules following http://www.thinkdebian.org/archives/50, ./configure runs without error but when running make, I got the following error:

Code:
...
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare   -g -O2 -MT zm_jpeg.o -MD -MP -MF .deps/zm_jpeg.Tpo -c -o zm_jpeg.o zm_jpeg.c
zm_jpeg.c: In function ‘zm_jpeg_error_exit’:
zm_jpeg.c:42: warning: implicit declaration of function ‘exit’
zm_jpeg.c:42: warning: incompatible implicit declaration of built-in function ‘exit’
mv -f .deps/zm_jpeg.Tpo .deps/zm_jpeg.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare   -g -O2 -MT zm_regexp.o -MD -MP -MF .deps/zm_regexp.Tpo -c -o zm_regexp.o zm_regexp.cpp
mv -f .deps/zm_regexp.Tpo .deps/zm_regexp.Po
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare   -g -O2 -MT zm_signal.o -MD -MP -MF .deps/zm_signal.Tpo -c -o zm_signal.o zm_signal.cpp
zm_signal.cpp: In function ‘void zm_die_handler(int, sigcontext)’:
zm_signal.cpp:95: error: ‘struct sigcontext’ has no member named ‘cr2
make[2]: *** [zm_signal.o] Error 1
make[2]: Leaving directory `/home/sysuser/dl/ZoneMinder-1.23.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sysuser/dl/ZoneMinder-1.23.3'
make: *** [all] Error 2

Any ideas? I also tried ZoneMinder 1.24.2 with the same error.
2  Hardware and U-Boot firmware / U-Boot stuff / Re: Problem flashing u-boot.kwb (solved) on: September 21, 2009, 11:33:52 AM
1abc2,
Is booting from mmc card supported on this u-boot?
3  Hardware and U-Boot firmware / U-Boot stuff / u-boot alternative, anybody? on: September 17, 2009, 08:42:24 AM
While searching for a touch screen/monitor system to be used with my openrd client project, I came across this interesting product from Technologic Systems:

http://www.embeddedarm.com/products/board-detail.php?product=TS-TPC-7395

It's based on a 200MHz ARM9 CPU. What interests me the most is the boot-up time - 1 second to a linux prompt. Wow, that's way faster than what the u-boot does. They are able to achieve this via Linux-boots-linux method [ http://www.embeddedarm.com/software/solutions-arm.php#linux-bootloader ]. It would be nice if sheevaplug and openrd base/client can use this approach. I wonder if there's such project aiming at replacing the default u-boot with linux boot loader. Any pointers are welcome.
4  General Category / General Discussion / Re: Post your working SD cards here! on: September 03, 2009, 10:51:28 AM
Kingston 2G: works flawlessly. Running debian lenny and boot from SD card.

Sandisk 16GB Ultra II: Very hard to get it to work --- so far I am only succeeded with 2.6.30-rc1 kernel (in which iptables NAT is missing). 2.6.30-rc2, rc3, rc4, rc5 all failed, either compiled by myself or download from http://sheeva.with-linux.com/sheeva/

Sandisk 2GB SD card (http://www.amazon.com/SanDisk-Memory-SDSDB-2048-A11-Retail-Package/dp/B0009RGLSE) works as well.
5  Linux Stuff / Linux distributions / Re: Gentoo Support on: August 13, 2009, 02:53:32 PM
Hi all,
I am using gentoo_sheevaplug_70M_selinux.jffs2 (with NAND as the only storage) and it's been great except I can't install packages such as mysql, netdate, ntp (also tried ntpd)

I got the following when trying to install mysql
Code:
PlugGentoo ~ # emerge --ask --getbinpkg mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-db/mysql-init-scripts".
(dependency required by "dev-db/mysql-5.0.60-r1" [binary])
(dependency required by "mysql" [argument])

for netdate (same problem with ntp or ntpd) I got
Code:
PlugGentoo ~ # emerge --ask --getbinpkg netdate

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "netdate".
I have no clue how to get the above packages installed. [ I do have packages such as vim, php, apache2 installed just fine. ]
6  Linux Stuff / Kernel / Re: compiling 2.6.30 kernels for openrd on: July 30, 2009, 07:57:01 AM
@Dhaval Vasa
Thanks for the info. I have joined the openrd group [ http://groups.google.com/group/openrd ].
7  Linux Stuff / General Linux questions / Re: Kernels on: July 24, 2009, 10:47:29 AM
What's your printenv output before auto boot?
8  General Category / General Discussion / Re: Tally of Open RD Client Owners on: July 23, 2009, 11:07:30 AM
I received my openrd client early this month. I have been trying to recompile the newer version of the kernel for it without success (see http://plugcomputer.org/plugforum/index.php?topic=486.0 for details). I wonder - has anyone customized their openrd client kernel yet?
9  Linux Stuff / Kernel / Re: compiling 2.6.30 kernels for openrd on: July 09, 2009, 09:19:56 AM
With the onboard nand as the root fs, my openrd client hangs at
Quote
UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs", error -19
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0030a64>] (unwind_backtrace+0x0/0xd8) from [<c0369f78>] (panic+0x40/0x108)
[<c0369f78>] (panic+0x40/0x108) from [<c0008e40>] (mount_block_root+0x1d0/0x210)
[<c0008e40>] (mount_block_root+0x1d0/0x210) from [<c0009000>] (prepare_namespace+0x8c/0x1c0)
[<c0009000>] (prepare_namespace+0x8c/0x1c0) from [<c0008400>] (kernel_init+0xb8/0xe4)
[<c0008400>] (kernel_init+0xb8/0xe4) from [<c003d2c8>] (do_exit+0x0/0x5ac)
[<c003d2c8>] (do_exit+0x0/0x5ac) from [<00000000>] (0x0)
I have ubifs support enabled in the kernel.

My env settings are
Quote
setenv console 'console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw'
setenv bootargs $(console) ubi.mtd=1,2048 root=ubi0:rootfs rootfstype=ubifs fb=xgifb
setenv bootcmd 'nand read.e 0x800000 0x100000 0x400000; bootm 0x800000'
saveenv

I also have set mainlineLinux to yes.
10  Linux Stuff / Kernel / compiling 2.6.30 kernels for openrd on: July 08, 2009, 10:02:40 PM
I'm not sure this is the right place to post question regarding the openrd rd client (Marvell 88F6281) but anyway I have been trying to recompile a customize kernel for openrd client without success yet. The kernel I've tried is the kernels downloaded from kernel.org, versions 2.6.30 and 2.6.30.1.  The doc on the dvd provides procedures on how to recompile the onboard version of the kernel (2.6.22.18) which does not support uvcvideo hence I'm trying the new versions. I have been following instructions from http://computingplugs.com/index.php/Building_a_custom_kernel. I'm not able to boot with the onboard nand as roootfs either with ubifs support enabled or not but I am able to boot debian lenny [ following http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html ] off a usb disk with non-working network interfaces, could see the eth0 interface, set ip address to it but not able to communicate with other lan devices, but uvcvideo works. I've noticed there's a Yukon device found under "devices/network device support/ethernet (1000 Mbit)" in the patched 2.6.22.18 kernel but found SysKonnect Yukon2 in the 2.6.30 kernels
I have changed the uImage size in arch/arm/mach-kirkwood/rd88f6281-setup.c from 2M to 4M before compiling (this should only make difference when booting off the NAND) but still I am getting not able to open the ubifs root fs (I remember the message said couldn't open ubifs on unknown device XX with an error code 19) I'm now getting the kernel tree from marvel and see if it makes a difference. In the meantime I wonder if anyone has successfully built a customized kernel for their openrd client yet. If so would you please share how you did it? Thanks in advance.
11  Linux Stuff / General Linux questions / Re: Why it takes so long to mount the onboard nand fs? on: July 07, 2009, 12:32:57 PM
Very useful information! Thanks semery. I tried ubifs with the built-in kernel on the openrd and it's way faster (at least in booting). I'm compiling 2.6.30 kernel with ubifs support and see how it goes.
12  Hardware and U-Boot firmware / U-Boot stuff / Re: MMC/SD support in u-boot on: July 07, 2009, 11:18:56 AM
Thanks user_plug, it works great!
13  Linux Stuff / Linux distributions / Re: Gentoo Support on: July 06, 2009, 05:07:06 PM
Thanks for the info, karurosu. I am using 2.6.30.1 kernel (vanilla-sources), do you know where I can get the power stat patch?

 I solved the "no login prompt" problem by changing
Code:
s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
in /etc/inittab
into
Code:
s0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100

I think the reason why the default baud rate is set to 9600 instead of 115200 is because Gentoo runs on a number of ARM-based devices with sheevaplug being just one of them.
14  Linux Stuff / Linux distributions / Re: ubuntu 9.04 boots slow on sheevaplug and openrd client on: July 06, 2009, 02:47:17 PM
I just noticed that Fedora distro on the openrd client has the same problem (using jffs2 image) after a fresh restore to the original. It seem the problem is kernel related.
15  Linux Stuff / General Linux questions / Re: Booting entirely off an external USB device on: July 06, 2009, 02:44:36 PM
Have you tried
Quote
mount -t jffs2 /dev/mtdblock1 /mnt/mtdroot
?
Pages: [1] 2 3