<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><BR> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV>I have a custom Xilinx FPGA board which is similar to ML300 but uses
Uartllite and does not have disk or display.<BR>When I start the Linux kernel
I end up with an exception during the probe for Flash - I think. <BR>I have
added a bunch of printk lines in order to see what is happening but I am a
little stuck at the moment. <BR>The Flash chip is an AM29LV320D 4Mbyte in
16-bit access mode, and it sits on address 0xFF80'0000<BR>This is what I get
on my terminal. I would be happy to hear your
advice.<BR>Peter<BR><BR><BR><BR>loaded at: 00400000
004CF1E0 <BR>board data at: 004CC138 004CC150<BR>relocated to: 004052F4
0040530C<BR>zimage at: 00405801 00472CFB<BR>initrd
at: 00473000 004CB2FF<BR>avail
ram: 004D0000 02000000<BR><BR>Linux/PPC load:
root=/dev/ram rw console=ttl0 <BR>Uncompressing Linux...done.<BR>Now booting
the kernel<BR><BR>id mach(): done<BR>MMU:enter<BR>MMU:hw
init<BR>MMU:mapin<BR>MMU:mapin_ram done<BR>MMU:setio<BR>MMU:exit<BR><BR>Linux
version 2.4.26 (pna@glazedevel) (gcc version 3.4.1) #50 Wed Sep 20 11:06:12
CEST 2006<BR>setup_arch: enter<BR>setup_arch: bootmem<BR>Xilinx Virtex-II Pro
port (C) 2002 MontaVista Software, Inc. (<A
href="mailto:source@mvista.com">source@mvista.com</A>)<BR>arch: exit <BR>On
node 0 totalpages: 8192<BR>zone(0): 8192 pages.<BR>zone(1): 0
pages.<BR>zone(2): 0 pages.<BR>Kernel command line: root=/dev/ram rw
console=ttl0<BR>(start) init/main.c: parse_options<BR>(end)
parse_options<BR>(start) arch/ppc/mm/pgtable.c: __ioremap <BR>(end)
arch/ppc/mm/pgtable.c: __ioremap<BR>Xilinx INTC #0 at 0x81200000 mapped to
0xFDFFF000<BR>(start) arch/ppc/mm/pgtable.c: __ioremap<BR>(end)
arch/ppc/mm/pgtable.c: __ioremap<BR>Calibrating delay loop... 287.53 BogoMIPS
<BR>Memory: 30924k available (776k kernel code, 276k data, 44k init, 0k
highmem)<BR>Dentry cache hash table entries: 4096 (order: 3, 32768
bytes)<BR>Inode cache hash table entries: 2048 (order: 2, 16384
bytes)<BR>Mount cache hash table entries: 512 (order: 0, 4096 bytes)
<BR>Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)<BR>Page-cache
hash table entries: 8192 (order: 3, 32768 bytes)<BR>POSIX conformance testing
by UNIFIX<BR>(start) init/main.c: init<BR>(start) init/main.c: do_basic_setup
<BR>
<BR>Linux NET4.0 for Linux 2.4<BR>Based upon Swansea University Computer
Society NET3.039<BR>Initializing RT netlink socket<BR>(start) init/main.c:
do_initcalls<BR>Starting kswapd<BR>devfs: v1.12c (20020818) Richard Gooch ( <A
href="mailto:rgooch@atnf.csiro.au">rgooch@atnf.csiro.au</A>)<BR>devfs:
boot_options: 0x1<BR>JFFS version 1.0, (C) 1999, 2000 Axis
Communications AB<BR>JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by
Axis Communications AB. <BR>Generic RTC Driver v1.07<BR>RAMDISK driver
initialized: 16 RAM disks of 4096K size 1024 blocksize<BR>loop: loaded (max 8
devices)<BR>(start) drivers/mtd/maps/physmap.c: init_physmap<BR>physmap flash
device: 4000000 at ff800000 <BR>(start) arch/ppc/mm/pgtable.c:
__ioremap<BR>(end) arch/ppc/mm/pgtable.c: __ioremap<BR>(start)
drivers/mtd/chips/chipreg.c: do_map_probe<BR>(start)
drivers/mtd/chips/chipreg.c: get_mtd_chip_driver<BR>(end)
drivers/mtd/chips/chipreg.c: get_mtd_chip_driver <BR>(after
get_mtd_chip_driver) drivers/mtd/chips/chipreg.c: do_map_probe<BR>(start)
drivers/mtd/chips/gen_probe.c: mtd_do_chip_probe<BR>(start)
drivers/mtd/chips/gen_probe.c: genprobe_ident_chips<BR>Instruction machine
check in kernel mode. <SPAN class=416583103-21092006><FONT face=宋体
color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006><FONT face=宋体 color=#0000ff
size=2>^^^^^^^^^</FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006><FONT face=宋体 color=#0000ff size=2>You
should make sure if it is instruction or
data machinecheck.</FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006><FONT face=宋体 color=#0000ff size=2>The
kernel you using is very old.</FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006> </SPAN><BR>Oops: machine check, sig:
7<BR>NIP: C00A2960 XER: 40000000 LR: C009CBD8 SP: C04D9D90 REGS: c04d9ce0
TRAP: 0200 Not tainted<SPAN class=416583103-21092006><FONT
face=宋体 color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006><FONT face=宋体 color=#0000ff
size=2> ^^^^^^^^^^^</FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006><FONT face=宋体 color=#0000ff size=2>It has
really machinecheck.</FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006> </SPAN><BR>MSR: 00009030 EE: 1 PR: 0
FP: 0 ME: 1 IR/DR: 11<BR>TASK = c04d8000[1] 'swapper' Last syscall: 120
<BR>last math 00000000 last altivec 00000000<BR>GPR00: C00A2958 C04D9D90
C04D8000 C00DC1C8 000000F0 00400000 C04D9DD0 C00DB387 <BR>GPR08: 00000002
C307D000 C0176360 00000001 C00F0000 000057E0 80001040 80000820 <BR>GPR16:
00001020 00000840 10021000 08040800 C00D0000 C00EAC18 C00D0000 00000000
<BR>GPR24: C00C0000 00000001 C04D9DD0 C04D9E10 C04D9E10 00400000 C04D9DD0
C00DC1C8 <BR>Call backtrace: <BR>C009CE80 C00A26D0 C009D3A0 C009C750 C00E9BB0
C00024F4 C0005ED4 <SPAN class=416583103-21092006><FONT face=宋体
color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006><FONT face=宋体 color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=416583103-21092006><FONT face=宋体 color=#0000ff size=2>You
need dump more register to find the cause. eg. ESR.
MCSR...</FONT></SPAN></DIV>
<DIV><SPAN class=416583103-21092006> </SPAN><BR>Kernel panic: Attempted
to kill init!<BR> <0>Rebooting in 180 seconds..
<BR><BR></DIV></BLOCKQUOTE></BODY></HTML>