IMMR for fads mpc860/problems to boot linux version 2.4.4
rekha gvv
rekhagvvc at yahoo.co.in
Fri Oct 18 15:12:43 EST 2002
Hello,
I had read this from the readme file
CFG_IMMR: Physical address of the Internal Memory
Mapped Register; DO NOT CHANGE! (11-4)
[MPC8xx systems only]
and found that in file
/ppcboot /include/ config_FADS860T.h
#define CFG_IMMR 0xFF000000
#define CFG_IMMR_SIZE ((uint)(64 * 1024))
and linux-kernel/include/asm-ppc/fads.h
#define IMAP_ADDR ((uint)0xff000000)
#define IMAP_SIZE ((uint)(64 * 1024))
Are the values 0xff000000 okay for fads board..
I am sure the above #defines satisfies the rule
Just make sure your machine specific header file (for
instance
include/asm-ppc/tqm8xx.h) includes the same definition
of the Board
Information structure as we define in
include/ppcboot.h, and make
sure that your definition of IMAP_ADDR uses the same
value as your
PPCBoot configuration in CFG_IMMR.
MY main problem is that the fadsboard is not booting
up
it hangs after "Uncompressing Kernel Image OK"
I have checked the faq at the denx site ..and have
done those changes also but of no use...I have
attatched the config file after doing menuconfig ..if
there is any errors possibly please let me know..
also after the kernel compiles i opened the vmlinux
file and saw somwhere in the middle i found these
warnings..
******************************************************
*/usr/src/linux-2.4.4-2002-03-21/include/linux/mount.h.../usr/src/linux-2.4.4-2002-03-21/include
.init=...Kernel command line: %s
....<2>initrd overwritten (0x%08lx < 0x%08lx) -
disabling it.
..POSIX conformance testing by UNIFIX
....linuxrc./dev/console..../linuxrc..../initrd.<3>Change
root to /initrd: error %d
....Warning: unable to open an initial console.
..../sbin/init../etc/init.../bin/init.../bin/sh.No
init found. Try passing init= option to kernel
..........kernel BUG at %s:%d!
.../usr/src/linux-2.4.4-2002-03-21/include/linux/mount.h.../usr/src/linux-2.4.4-2002-03-21/includ............
****************************************************
there is a warning unable to open initial console...
could u strees on that warning ..and tell me if i
shoul create any /dev/console device in the
kernel...before compiling..
these are the problems ....so hopefully expecting some
hints .
thankyou!
bye!!!!
--- Wolfgang Denk <wd at denx.de> wrote:
> In message
>
<20021017100442.71539.qmail at web8005.mail.in.yahoo.com>
> you wrote:
> >
> > I would like to know what is the physical address
> of
> > Internal memory mapped register for the fads
> mpc860
> > board ..
>
> As the name says, the IMMR is a _register_ and as
> such it has no
> address, neither a phyical or a virtual one. The
> IMMR contains (among
> some other bits) the physical address of the
> internal memory of the
> MPC8xx. We do not know which value you load into
> this register (or
> how you initialize your CPU), so which sort of
> answer do you expect?
>
> > and please verify if the values of the registers
> are
> > correct in the file
>
> These are no register values, but just some
> #define'd constants. I
> see no problems here.
>
>
> Ummm... what is your real problem?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime
> Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88
> Email: wd at denx.de
> core error - bus dumped
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20021017/afb14a8c/attachment.txt
More information about the Linuxppc-embedded
mailing list