This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Arago Demo does not load :(

I load arago base ramdisk and I get this

avinci_emac_probe: using random MAC addr: 2a:9d:da:88:85:14                                             
emac-mii: probed                                                                                         
IP-Config: Guessing netmask 255.255.255.0                                                                
IP-Config: Gateway not on directly connected network.                                                    
RAMDISK: gzip image found at block 0                                                                     
VFS: Mounted root (ext2 filesystem) on device 1:0.                                                       
Freeing init memory: 144K                                                                                
INIT: version 2.86 booting                                                                               
Please wait: booting...                                                                                  
Starting udev                                                                                            
Populating dev cachetar: short write                                                                     
                                                                                                         
Remounting root file system...                                                                           
WARNING: Couldn't open directory /lib/modules/2.6.32.17-davinci1: No such file or directory              
FATAL: Could not open /lib/modules/2.6.32.17-davinci1/modules.dep.temp for writing: No such file or direcy
modprobe: FATAL: Could not load /lib/modules/2.6.32.17-davinci1/modules.dep: No such file or directory   
                                                                                                         
modprobe: FATAL: Could not load /lib/modules/2.6.32.17-davinci1/modules.dep: No such file or directory   
                                                                                                         
root: mount: mounting rootfs on / failed: No such file or directory                                      
Setting up IP spoofing protection: rp_filter.                                                            
Configuring network interfaces... done.                                                                  
Wed Mar  9 16:19:00 UTC 2011                                                                             
INIT: Entering runlevel: 5                                                                               
Starting telnet daemon.                                                                                  
modprobe: FATAL: Could not load /lib/modules/2.6.32.17-davinci1/modules.dep: No such file or directory   
                                                                                                         
Starting syslogd/klogd: done                                                                             
                                                                                                         
 _____                    _____           _         _                                                    
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                                                  
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                                                 
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                                                   
              |___|                    |___|                                                             
                                                                                                         
Arago Project http://arago-project.org arago ttyS0                                                       
                                                                                                         
Arago 2009.11 arago ttyS0                                                                                
                                                                                                         
arago login:

but when I load the demo I get this:

davinci_emac_probe: using random MAC addr: a2:34:0a:e1:4f:61                                             
emac-mii: probed                                                                                         
IP-Config: Guessing netmask 255.255.255.0                                                                
IP-Config: Gateway not on directly connected network.                                                    
RAMDISK: gzip image found at block 0                                                                     
RAMDISK: EOF while reading compressed data                                                               
uncompression error                                                                                      
VFS: Mounted root (ext2 filesystem) on device 1:0.                                                       
Freeing init memory: 144K                                                                                
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #7268: : rec_len is smaller than min0
Remounting filesystem read-only                                                                          
INIT: version 2.86 booting                                                                               
INIT: /etc/inittab[1]: missing action field                                                              
INIT: /etc/inittab[2]: missing action field                                                              
INIT: /etc/inittab[3]: missing action field                                                              
INIT: /etc/inittab[4]: missing action field                                                              
INIT: /etc/inittab[5]: missing action field                                                              
                                                                                                         
Enter runlevel:

is there some setting I miss?

also whats the difference between the demo and the base?

 

  • Which devices are you seeing this issue?

     

    Also can you specify the software package/release (i.e DVSDK version or argo git repo) that 's associated with the term "demo" and "base"?

     

     

  • This is with the DM365, the DVSDK is version 3, and the source code is R38 with some modifications,  and the demo is from here:

    http://arago-project.org/files/releases/davinci-psp_03.01.01.39/images/dm365-evm/

    and the base from here:

    http://arago-project.org/files/releases/davinci-psp_03.01.01.39/images/arago/

  • my mistake before I was loading the arago demo file for the DM355 but now I load for the DM365 and I get this

     

    davinci_emac_probe: using random MAC addr: 66:7f:96:ec:f5:94                                             
    emac-mii: probed                                                                                         
    IP-Config: Guessing netmask 255.255.255.0                                                                
    IP-Config: Gateway not on directly connected network.                                                    
    RAMDISK: gzip image found at block 0                                                                     
    RAMDISK: EOF while reading compressed data                                                               
    uncompression error                                                                                      
    VFS: Mounted root (ext2 filesystem) on device 1:0.                                                       
    Freeing init memory: 144K                                                                                
    INIT: version 2.86 booting                                                                               
    EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #7169: : rec_len is smaller than min0
    Remounting filesystem read-only                                                                          
    EXT2-fs error (device ram0): ext2_readdir: bad page in #7169                                             
    Remounting filesystem read-only                                                                          
    EXT2-fs error (device ram0): ext2_readdir: bad page in #7169                                             
    Remounting filesystem read-only                                                                          
    EXT2-fs error (device ram0): ext2_readdir: bad page in #7169                                             
    Remounting filesystem read-only                                                                          
    INIT: Entering runlevel: 5                                                                               
    Starting telnet daemon.                                                                                  
    Starting thttpdNET: Registered protocol family 10                                                        
    .                                                                                                        
                                                                                                             
    192.168.1.123 login: root                                                                                 
    login[1014]: root login  on `ttyS0'                                                                       
                                                                                                              
    EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #7193: : rec_len is smaller than min0
    Remounting filesystem read-only                                                                           
    root@192:~#

     

    what does this error means?

    EXT2-fs error (device ram0): ext2_readdir: bad page in #7169                                             
    Remounting filesystem read-only

  • anyone has any idea what that means?

  • The RAMDISK uncompression error doesn't look good. Probably means that the EXT2 image in RAM is not complete. The error implies that that the compressed FS image is not all there. I assume that the compressed FS image is TFTPed and programmed into NAND. Double check the the TFTP size is less than NAND programing size.

  • yes it was this are my setting

    setenv bootcmd 'nand read 0x82000000 0x1000000 0x1b00000; nboot 0x80700000 0 0x400000; bootm'

    tftp 0x82000000 arago-demo-image-dm365-evm.ext2.gz ; nand erase 1000000 1b00000 ; nand write 82000000 1000000 1b00000

     

    what it should be?

     

  • Your commands specify 0x1b00000 or 27MiB. The size of the file arago-demo-image-dm365-evm.ext2.gz must be less than that.

    I can't remember what the default base is on  the nand commands. You are missing the "0x" prefix on "nand erase" and "nand write".