cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
haichithunta
Observer
Observer
3,824 Views
Registered: ‎03-02-2010

problem in booting linux from cf card for XUPV2p board

 

Hi i am trying to boot linux fro cf card

i partition the cf card into 3 part

1 fat 16

2 linux swap

3 linux ext2

 i also generate the .ace file using download.bit and simpleInage.virtex405-xup.elf

and copy the linux.ace file in to fat16 partiton.

and root foles in linux ext2 partion.

when i inserted cf card in cf card sloat the D11 (error) LED always on

and no outpot............

when i manualy download simpleImage.virtex405-xup.elf throug jtag i got this error msg

 

 

zImage starting: loaded at 0x00400000 (sp: 0x00599eb0)                                                      
Allocating 0x35c594 bytes for kernel ...                                        
gunzipping (0x00000000 <- 0x0040d000:0x0059845c)...done 0x33c02c bytes                                                                      

Linux/PowerPC load: console=ttyUL0,9600 root=/dev/sda3 rw                                                         
Finalizing device tree... flat tree at 0x5a6300                                               
Using Xilinx Virtex machine description                                       
Linux version 2.6.33 (root@localhost.localdomain) (gcc version 4.2.2) #1 PREEMPT                                                                                
 Thu Sep 2 08:02:54 EDT 2010                            
Zone PFN ranges:                
  DMA      0x00000000 -> 0x00010000                                   
  Normal   0x00010000 -> 0x00010000                                   
Movable zone start PFN for each node                                    
early_node_map[1] activ                      
    0: 0x00000000 -> 0x00010000                               
MMU: Allocated 1088 bytes of context maps for 255 contexts                                                          
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024                                                                          
Kernel command line: console=ttyUL0,9600 root=/dev/sda3 rw                                                          
PID hash table entries: 1024 (order: 0, 4096 bytes)                                                   
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)                                                               
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)                                                             
Memory: 256128k/262144k available (3204k kernel code, 5720k reserved, 112k data,                                                                                
 125k bss, 152k init)                     
Kernel virtual memory layout:                             
  * 0xfffdf000..0xfffff000  : fixmap                                    
  * 0xfde00000..0xfe000000  : consistent mem                                            
  * 0xfde00000..0xfde00000  : early ioremap                                           
  * 0xd1000000..0xfde00000  : vmalloc & ioremap                                               
Hierarchical RCU implementation.                                
RCU-based detection of stalled CPUs is enabled.                                               
NR_IRQS:512 nr_irqs:512                       
clocksource: timebase mult[2800000] shift[22] registered                                                        
Console: colour dummy device 80x25                                  
Mount-cache hash table entries: 512                                   
NET: Registered protocol family 16                                  
bio: create slab <bio-0> at 0                             
Switching to clocksource timebase                                 
NET: Registered protocol family 2                                 
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)                                                              
TCP established hash table entries: 8192 (order: 4, 65536 bytes)                                                                
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)                                                         
TCP: Hash tables configured (established 8192 bind 8192)                                                        
TCP reno registered                   
UDP hash table entries: 256 (order: 0, 4096 bytes)                                                  
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                                       
NET: Registered protocol family 1                                 
RPC: Registered udp transport module.                                     
RPC: Registered tcp transport module.                                     
RPC: Registered tcp NFSv4.1 backchannel transport module.                                                         
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                                                        
ROMFS MTD (C) 2007 Red Hat, Inc.                                
msgmni has been set to 500                          
io scheduler noop registered                            
io scheduler deadline registered                                
io scheduler cfq registered (default)                                     
84000000.serial: ttyUL0 at MMIO 0x84000003 (irq = 16) is a uartlite                                                                   
console [ttyUL0] enabled                        
brd: module loaded                  
loop: module loaded                   
xsysace 83600000.sysace: Xilinx SystemACE revision 1.0.12                                                         
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0                                                                        
xsysace 83600000.sysace: kicking stalled fsm; state=2 task=0 iter=1 dc=0            

 

********************once i remove the cf card  then i got this

 

                                                          
xsysace 83600000.sysace: No CF in slot                                      
Xilinx SystemACE device driver, major=254    xilinx_emaclite 81000000.ethernet: Device Tree Probing
xilinx_emaclite 81000000.ethernet: MAC address is now  0: a:35:20:af: 0
xilinx_emaclite 81000000.ethernet: Xilinx EmacLite at 0x81000000 mapped to 0xD10
40000, irq=18
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 17
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda3" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Call Trace:
[cf821ed0] [c0006ec8] show_stack+0x44/0x16c (unreliable)
[cf821f10] [c00307f4] panic+0x9c/0x180
[cf821f60] [c02fbd7c] mount_block_root+0x12c/0x244
[cf821fb0] [c02fc120] prepare_namespace+0x17c/0x208
[cf821fd0] [c02fb23c] kernel_init+0x120/0x14c
[cf821ff0] [c000eb4c] kernel_thread+0x4c/0x68
Rebooting in 180 seconds..
INFO: RCU detected CPU 0 stall (t=2500 jiffies)    

 

****************************virtex405-xup .dts

                   /*
 * Device Tree Generator version: 1.3
 *
 * (C) Copyright 2007-2008 Xilinx, Inc.
 * (C) Copyright 2007-2009 Michal Simek
 *
 * Michal SIMEK <monstr@monstr.eu>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 * MA 02111-1307 USA
 *
 * CAUTION: This file is automatically generated by libgen.
 * Version: Xilinx EDK 10.1.03 EDK_K_SP3.6
 *
 * XPS project directory: sanjeev_virtex2pro
 */

/dts-v1/;
/ {
    #address-cells = <1>;
    #size-cells = <1>;
    compatible = "xlnx,virtex405", "xlnx,virtex";
    model = "testing";
    DDR_SDRAM: memory@0 {
        device_type = "memory";
        reg = < 0x0 0x10000000 >;
    } ;
    aliases {
        ethernet0 = &Ethernet_MAC;
        serial0 = &RS232;
    } ;
    chosen {
        bootargs = "console=ttyUL0 root=/dev/ram";
        linux,stdout-path = "/plb@0/serial@84000000";
    } ;
    cpus {
        #address-cells = <1>;
        #cpus = <0x1>;
        #size-cells = <0>;
        ppc405_0: cpu@0 {
            clock-frequency = <100000000>;
            compatible = "PowerPC,405", "ibm,ppc405";
            d-cache-line-size = <0x20>;
            d-cache-size = <0x4000>;
            dcr-access-method = "native";
            dcr-controller ;
            device_type = "cpu";
            i-cache-line-size = <0x20>;
            i-cache-size = <0x4000>;
            model = "PowerPC,405";
            reg = <0>;
            timebase-frequency = <100000000>;
            xlnx,dcr-resync = <0x0>;
            xlnx,deterministic-mult = <0x0>;
            xlnx,disable-operand-forwarding = <0x1>;
            xlnx,fastest-plb-clock = "DPLB0";
            xlnx,generate-plb-timespecs = <0x1>;
            xlnx,mmu-enable = <0x1>;
        } ;
    } ;
    plb0: plb@0 {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "xlnx,plb-v46-1.03.a", "xlnx,plb-v46-1.00.a", "simple-bus";
        ranges ;
        DDR_SDRAM: mpmc@84800000 {
            #address-cells = <1>;
            #size-cells = <1>;
            compatible = "xlnx,mpmc-4.03.a";
            reg = < 0x84800000 0x10000 >;
        } ;
        Ethernet_MAC: ethernet@81000000 {
            compatible = "xlnx,xps-ethernetlite-2.00.b", "xlnx,xps-ethernetlite-1.00.a";
            device_type = "network";
            interrupt-parent = <&xps_intc_0>;
            interrupts = < 2 0 >;
            local-mac-address = [ 00 0a 35 20 af 00 ];
            reg = < 0x81000000 0x10000 >;
            xlnx,duplex = <0x1>;
            xlnx,family = "virtex2p";
            xlnx,rx-ping-pong = <0x0>;
            xlnx,tx-ping-pong = <0x0>;
        } ;
        LEDs_4Bit: gpio@81400000 {
            compatible = "xlnx,xps-gpio-1.00.a";
            reg = < 0x81400000 0x10000 >;
            xlnx,all-inputs = <0x0>;
            xlnx,all-inputs-2 = <0x0>;
            xlnx,dout-default = <0x0>;
            xlnx,dout-default-2 = <0x0>;
            xlnx,family = "virtex2p";
            xlnx,gpio-width = <0x4>;
            xlnx,interrupt-present = <0x0>;
            xlnx,is-bidir = <0x0>;
            xlnx,is-bidir-2 = <0x1>;
            xlnx,is-dual = <0x0>;
            xlnx,tri-default = <0xffffffff>;
            xlnx,tri-default-2 = <0xffffffff>;
        } ;
        RS232: serial@84000000 {
            clock-frequency = <100000000>;
            compatible = "xlnx,xps-uartlite-1.00.a";
            current-speed = <9600>;
            device_type = "serial";
            interrupt-parent = <&xps_intc_0>;
            interrupts = < 3 0 >;
            port-number = <0>;
            reg = < 0x84000000 0x10000 >;
            xlnx,baudrate = <0x2580>;
            xlnx,data-bits = <0x8>;
            xlnx,family = "virtex2p";
            xlnx,odd-parity = <0x0>;
            xlnx,use-parity = <0x0>;
        } ;
        SysACE_CompactFlash: sysace@83600000 {
            compatible = "xlnx,xps-sysace-1.00.a";
            interrupt-parent = <&xps_intc_0>;
            interrupts = < 1 2 >;
            reg = < 0x83600000 0x10000 >;
            xlnx,family = "virtex2p";
            xlnx,mem-width = <0x10>;
        } ;
        xps_bram_if_cntlr_1: xps-bram-if-cntlr@ffffc000 {
            compatible = "xlnx,xps-bram-if-cntlr-1.00.a";
            reg = < 0xffffc000 0x4000 >;
            xlnx,family = "virtex2p";
        } ;
        xps_intc_0: interrupt-controller@81800000 {
            #interrupt-cells = <0x2>;
            compatible = "xlnx,xps-intc-1.00.a";
            interrupt-controller ;
            reg = < 0x81800000 0x10000 >;
            xlnx,kind-of-intr = <0xc>;
            xlnx,num-intr-inputs = <0x4>;
        } ;
        xps_timer_0: timer@83c00000 {
            compatible = "xlnx,xps-timer-1.00.a";
            interrupt-parent = <&xps_intc_0>;
            interrupts = < 0 2 >;
            reg = < 0x83c00000 0x10000 >;
            xlnx,count-width = <0x20>;
            xlnx,family = "virtex2p";
            xlnx,gen0-assert = <0x1>;
            xlnx,gen1-assert = <0x1>;
            xlnx,one-timer-only = <0x1>;
            xlnx,trig0-assert = <0x1>;
            xlnx,trig1-assert = <0x1>;
        } ;
    } ;
    ppc405_0_dplb1: plb@1 {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "xlnx,plb-v46-1.03.a", "xlnx,plb-v46-1.00.a", "simple-bus";
        ranges ;
    } ;
}  ;

          

0 Kudos
Reply
2 Replies
haichithunta
Observer
Observer
3,808 Views
Registered: ‎03-02-2010

please help me

 

0 Kudos
Reply
Anonymous
Not applicable
3,708 Views

  • SystemAce problems mostly due to the reason of System-ACE controller don’t recognize the CF card format. That is due to the CF card not formatted correctly. Please follow the instructions in relevant user guide:
  • Also there could be possibility of switches and jumper settings are not proper in the board. Please check all the jumpers and switches in the board. If still problem exists Please verify the below things
  1. Did you use MKDOSFS to format the card (as a FIRST step)?
  2. Did you then use the command line utility "dd ..." to copy the image onto the CF
  3. Did you mount / un-mount the CF card properly in your computer OS?
  4. Did you EJECT the CF card from your computer as per the instructions
  5. Did you plug the CF card the wrong way into the ocket
  6. If everything fails you should get another 32 MB card and try it again. Perhaps you do have a bad card.
0 Kudos
Reply