Pyramid Newbie.

10 views
Skip to first unread message

Rakesh

unread,
Feb 14, 2009, 11:15:47 PM2/14/09
to pyramidlinux
Hello All,

I just flashed a 256 MB CF Card with Pyramid 1.05b. Booted nicely with
my Soekris board.

There are some issues I am encountering:

1. It throws an error on root saying 'read-only file system' and only
a few directories /rw/root is accessible for read-write. Any specific
reason for having it like this and should I want to change it, it
currently does not allow me to modify fstab, what is the other way to
do it, if any?

2. Apparently it does not have GNU build system. I tried to make my
LanCard drivers but could not do it. It cannot find 'make'. Again, why
is make not included and how can I get it running so that I enable
myself to build stuff on that machine.


Thanks

-
Rakesh

JohnC

unread,
Feb 15, 2009, 8:49:40 AM2/15/09
to pyramidlinux
Rakesh,

1. The file system after startup is intentionally read only. If you
read right after you log in to the shell is states to mount the file
system in read/write use the command #/sbin/rw and after changes are
made # /sbin/ro to revert back to read only

<qoute>
login as: root
ro...@192.168.91.1's password:
Pyramid - Embedded Linux for wireless networks.

http://metrix.net/support/dist/

<b>/sbin/rw - remount the file system read-write
/sbin/ro - remount the file system read-only<b>

Please use the SSL web interface unless you know what you're doing.

Thank you for choosing .\\etrix!
</qoute>

2. There is no build system to conserve space on the drive. Pyramid
was designed to fit on a 64mb CF card. If you need to compile a driver
module I would suggest installing ubuntu 5.10 on a system or find
someone to compile the driver for you. There are instructions on the
pyramid wiki on how to set up a pyramid build environment.

John

Rakesh Kumar

unread,
Feb 15, 2009, 5:32:43 PM2/15/09
to pyrami...@googlegroups.com
Thanks for your reply John. Tried the rw/ro scripts.

I was compiling the kernel version as per instructions on  http://pyramid.metrix.net/trac/wiki/PyramidKernel/AddingModules and I hit into these error messages:

  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
kernel/built-in.o: In function `timespec_add_ns':
/home/rakesh/Desktop/linux-2.6.19.2/linux/include/linux/time.h:173: undefined reference to `__umoddi3'
/home/rakesh/Desktop/linux-2.6.19.2/linux/include/linux/time.h:173: undefined reference to `__udivdi3'
kernel/built-in.o: In function `timespec_add_ns':
/home/rakesh/Desktop/linux-2.6.19.2/linux/kernel/timer.c:651: undefined reference to `__udivdi3'
/home/rakesh/Desktop/linux-2.6.19.2/linux/kernel/timer.c:651: undefined reference to `__umoddi3'
kernel/built-in.o: In function `timespec_add_ns':
/home/rakesh/Desktop/linux-2.6.19.2/linux/include/linux/time.h:173: undefined reference to `__umoddi3'
/home/rakesh/Desktop/linux-2.6.19.2/linux/include/linux/time.h:173: undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1


Any ideas why that might be happening?

Also, are there any plans to incorporate more recent kernel version (e.g. 2.6.27.8 ) in Pyramid any time soon? If not, is there a way I could change the kernel version in the latest Pebble release? If so, what are the implications of that on other programs? Will I require to rebuild everything?

-
Rakesh
Reply all
Reply to author
Forward
0 new messages