Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to build root filesystem for ixp425



Hi,

My main problem is that i am reading how tos  from an official site (Freebsd Arm) that are not working, at least for the moment, at all. I want to find out if i am doing something wrong or not.
Actually i think i know why i get this error. I am building executable for little-endian machine but ixp425 is big-endian. The problem is that when i am giving the TARGET_* options to the make command line the system uses i386 cc which is not capable of understanding -mbig-endian option.

Best Regards,

Stavros.
On Thu, 2008-08-14 at 13:21 +0300, Andy Shevchenko wrote:
On Thu, Aug 14, 2008 at 11:14 AM, Stavros Markou <stma%antcor.com@localhost> wrote:
> I am trying to build a root filesystem using the mini guide at
> http://people.freebsd.org/~cognet/freebsd_arm.txt but with no luck for
> IXP425.
NetBSD has its own mechanisms to build root file system by 'one click'.
Unfortunaly I don't know about FreeBSD cross-compilation technique.

> I have build the kernel which is loaded fine but when the root filesystem is
> mounted via NFS i get : exec /sbin/init : error 8 , so i think that maybe
> the root filesystem i 've built is not right.
Look to the /sbin/init source code. It should be somehow simple to
understand what the error code 8 means.

Stavros Markou
Senior Software Engineer
ANTCOR S.A.
Email: mailto:stma%antcor.com@localhost
Phone: +30 210 52 22 290
Fax: +30 210 52 22 254
Address: 52 Ag. Konstantinou, Athens 10437, GREECE


Home | Main Index | Thread Index | Old Index