[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: Re: [uClinux-dev] problems with romfs
From: David McCullough <davidm () snapgear ! com>
Date: 2001-12-21 21:03:29
[Download RAW message or body]
Jivin Matjaz Jakljevic lays it down ...
[...]
> 1998,1999 Kenneth Albanowski, D. Jeff Dionne
> Modified for M68302 Binar CPU16 by Asist d.o.o (MJ,SG),2001
>
> Console driver (without boot console): mono mc68328 40x26, 1 virtual console
> (max 63)
> Calibrating delay loop.. ok - 1.25 BogoMIPS
>
> Memory available: 1756k/1964k RAM, 1795k/2048k ROM (212k kernel data, 253k
> code)
>
> Swansea University Computer Society NET3.035 for Linux 2.0
> ~NET3: Unix domain sockets 0.13 for Linux NET3.035.
>
> uClinux version 2.0.38.1pre3 (matjaz@linux) (gcc version 2.7.2.3) #314 Fri
> Dec 21 06:42:37 CET 2001
>
> Ramdisk driver initialized : 16 ramdisks of 4096K size
>
> Blkmem copyright 1998,1999 D. Jeff Dionne
> Blkmem copyright 1998 Kenneth Albanowski}Blkmem 1 disk images:
>
> 0: 24BEB4-2B3EB3 (RO)
> loop: registered device at major 7
>
> Open of blkmem arena 0 at 24beb4, length 68000
>
> VFS: Mounted root (romfs filesystem) readonly.
>
> bad magic/rev (4, need 2)
> zbad magic/rev (4, need 2)
> bad magic/rev (4, need 2)
> zbad magic/rev (4, need 2)
> bad magic/rev (4, need 2)
> zbad magic/rev (4, need 2)
The file fs/binfmt_flat.c in your kernel is old. The elf tools produce
version 4 flat files, your kernel can only handle version 2.
Get the following files from CVS and add them to your kernel source tree:
include/linux/flat.h
fs/binfmt_flat.c
lib/inflate2.c
And you should be on your way, although I don't guarantee it. You may
be better off merging the 68302 changes into the 20011112 dist,
Cheers,
Davidm
--
David McCullough: Ph: +61 7 3435 2815 http://www.SnapGear.com
davidm@snapgear.com Fx: +61 7 3891 3630 825 Stanley St., W'gabba QLD 4102, Oz
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic