Hi,

I make my student research project my aim is running petalinux v0.40 on a 
microblaze XUPV2. My Hardware is running fine, but i have problems with my 
romfs.I start the board and push the image.elf in my ram and I get this 
KernelMessage:
Linux version 2.6.20-uc0 (t...@tool) (gcc version 3.4.1 ( PetaLinux 0.20 Build 
-rc1 050607 )) #8 Thu Oct 22 13:55:38 CEST 2009
setup_cpuinfo: initialising
setup_cpuinfo: No PVR support in CPU.  Using static compile-time info
set_cpuinfo_static: Using static CPU info.
setup_memory: max_mapnr: 0x9ffff
setup_memory: min_low_pfn: 0x90000
setup_memory: max_low_pfn: 0x10000
On node 0 totalpages: 65536
  DMA zone: 512 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 65024 pages, LIFO batch:15
  Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 65024
Kernel command line: root=/dev/ram console=ttyUL0,38400
OPB INTC #0 at 0x81800000
PID hash table entries: 1024 (order: 10, 4096 bytes)
TIMER at 0x83C00000
disabling early console
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 257920k/262144k available
Calibrating delay loop... 49.45 BogoMIPS (lpj=247296)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
uartlite.0: ttyUL0 at MMIO 0x84000000 (irq = 3) is a uartlite
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Microblaze FSL FIFO Driver. John Williams <jwilli...@itee.uq.edu.au>
FSL FIFO[0] initialised
eth0: using fifo mode.
eth0: No PHY detected.  Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x81000000 mapped to 0x81000000, irq=2
uclinux[mtd]: RAM probe address=0x901c6238 size=0x0
Creating 1 MTD partitions on "RAM":
0x00000000-0x00000000 : "ROMfs"
mtd: partition "ROMfs" is out of reach -- disabled
uclinux[mtd]: set ROMfs to be root filesystem index=0
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
No filesystem could mount root, tried:  ext3 ext2 cramfs msdos vfat romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
 <0>Rebooting in 120 seconds..

So I check if my romfs is in my image.elf

microblaze-uclinux-objcopy 
--add-section=.romfs=software/petalinux-dist/images/romfs.img 
--adjust-section-vma=.romfs=0x901ab000 --no-adjust-warnings 
--set-section-flags=.romfs=alloc,load,data 
software/petalinux-dist/linux-2.6.x/linux 
software/petalinux-dist/images/image.elf
BFD: software/petalinux-dist/images/image.elf: warning: allocated section 
`.romfs' not in segment

microblaze-uclinux-objdump -x software/petalinux-dist/images/image.elf |grep 
romfs
 32 .romfs        001e6c00  901ab000  901ab000  001a694d  2**0
00000000 l    d  .romfs    00000000
901656b4 l     O .text    00000004 __exitcall_exit_romfs_fs
901a7d34 l       .init.text    00000034 exit_romfs_fs
901a91d4 l     O .initcall.init    00000004 __initcall_init_romfs_fs6
901a2228 l       .init.text    00000084 init_romfs_fs
90188bf4 l     O .data    00000020 romfs_fs_type
900b3c78 l       .text    0000002c romfs_get_sb
90188c14 l     O .data    0000004c romfs_ops
900b3ba8 l       .text    00000038 romfs_alloc_inode
900b3be0 l       .text    00000030 romfs_destroy_inode
900b39a8 l       .text    00000200 romfs_read_inode
900b3008 l       .text    00000064 romfs_statfs
900b3c64 l       .text    00000014 romfs_remount
90177780 l     O .rodata    0000003c romfs_aops
900b37a4 l       .text    00000204 romfs_readpage
901777bc l     O .rodata    0000006c romfs_dir_operations
900b33c0 l       .text    000001d8 romfs_readdir
90188c60 l     O .data    00000054 romfs_dir_inode_operations
900b3598 l       .text    0000020c romfs_lookup
90188cb4 l     O .data    00000020 romfs_modemap
90188cd4 l     O .data    00000008 romfs_dtype_table
900b2e0c l       .text    000001fc romfs_fill_super
900b306c l       .text    000001a8 romfs_strnlen
900b3214 l       .text    000001ac romfs_copyfrom
901ba20c l     O .bss    00000004 romfs_inode_cachep
901ab000 l    d  .romfs    00000000
90000990 g       .text    000000a8 get_romfs_len
90000980 g       .text    00000010 get_romfs_base

Thank you for your help.

Greets,
Oliver
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to