UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor hana
Visitor
3,547 Views
Registered: ‎02-26-2010

embedded linux on ML410

Hi,

 

I am a beginner and i am supposed to boot up linux for a specific hardware architecture on ML410. In order to get a better picture, i decided to use Xilinx files on http://www.xilinx.com/products/boards/ml410/

I used the elf file from ml410_bsb_linux_bsp.zip and the project file from ml410_bsb_linux.zip . The i downloaded the bootloop file and verified it. afterwards, I downloaded the elf file

cd ppc405_0/default
rst
rwr 68 0x50700000
dow zImage.elf

 

till now everything was like what was given in the presentation file (ml410_bsb_linux_bsp_proj_creation)

but when I wrote con in xmd and the linux kernel started to uncompress, the following problem happened:

 

...source@mvista.com)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 ip=off root=/dev/xsysace/disc0/part2 rw
Xilinx INTC #0 at 0x41200000 mapped to 0xE7FEC000
Console: colour dummy device 80x25
Calibrating delay loop... 299.82 BogoMIPS
Memory: 62224k available (1808k kernel code, 596k data, 120k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
ppc405_map_irq: bus 0 idsel 1 pin 1, res = 31
ppc405_map_irq: bus 0 idsel 2 pin 1, res = 31
ppc405_map_irq: bus 0 idsel 3 pin 1, res = 31
ppc405_map_irq: bus 0 idsel 9 pin 1, res = 28
ppc405_map_irq: bus 0 idsel 11 pin 1, res = 31
ppc405_map_irq: bus 0 idsel 12 pin 1, res = 31
ppc405_map_irq: bus 0 idsel 15 pin 1, res = 31
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
OCP uart ver 1.6.2 init complete
LSP Revision 42
ikconfig 0.5 with /proc/ikconfig
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
initialize_kbd: Keyboard reset failed, no ACK
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xe7fff003 (irq = 21) is a 16550A
Redundant entry in serial pci_table.  Please send the output of
lspci -vv, this message (10b9,5457,10b9,5457)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
register_serial(): autoconfig failed
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller on PCI bus 00 dev 58
ALI15X3: chipset revision 196
ALI15X3: 100% native mode on irq 31
    ide0: BM-DMA at 0xdfd0-0xdfd7, BIOS settings: hda:pio, hdb:pio
ali15x3: isa_dev = -1070264320
ali15x3: hwif->irq = 31
    ide1: BM-DMA at 0xdfd8-0xdfdf, BIOS settings: hdc:pio, hdd:pio
ali15x3: isa_dev = -1070264320
ali15x3: hwif->irq = 31
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Partition check:
 xsysacea: p1 p2
System ACE at 0x41800000 mapped to 0xC5011000, irq=24, 509544KB
XTemac: Device instance #0 found
Data machine check in kernel mode.
Oops: machine check, sig: 7
**bleep**: C0010BF8 XER: E0000017 LR: C010BC20 SP: C0359F10 REGS: c0359e60 TRAP: 0200
   Not tainted
MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0358000[1] 'swapper' Last syscall: 120
last math 00000000 last altivec 00000000
GPR00: 00000000 C0359F10 C0358000 C01CAD0C 0000005C C5026200 81200000 C5026010
GPR08: 11111111 C0240000 C03E0634 0000000A 55000053 FFFFADB0 FFFF0000 FFFF0000
GPR16: FFFF0000 FFFF3D38 FFFF0000 FFFF3D58 FFFF0000 FFFF0000 FFFF0000 FFFF0000
GPR24: 00000000 426F6F74 20205869 C0211534 00000000 C5024000 C0211534 C03E05F8
Call backtrace:
000007C7 C010BC20 C010B6E8 C022B940 C022BDA4 C021F634 C000244C
C0006C9C
Kernel panic: Attempted to kill init!
 <0>Rebooting in 180 seconds..

 

the board halts here and I do not know what to od. I have followed the exact procedure and used the exact xilinx files,I do not know the cause and I do not know if I cannot use this, how i can use myown .bit file

please help me with this

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
3,521 Views
Registered: ‎09-10-2008

Re: embedded linux on ML410

I don't really see what kernel you're using, but some of that ML410 stuff is really old and you'll have problems getting people in the open source to support you on arch/ppc if that's true.

 

The kernel for ppc moved from arch/ppc to arch/powerpc quite a while ago so you really need to start there.  For a newbie this will be pretty challenging.

 

The wiki, http://xilinx.wikidot.com, has information about running the kernel on the ML405 board which is very similar without PCI.  I would start there, but you'll need a new bitstream to do that.  I would use Base System Builder in the EDK to create an ML410 system if it supports that (don't remember).

 

The ML410 is an old board so that's not going to help much either.

 

Thanks and good luck, you have a  lot of work to do.

 

0 Kudos