ts-7000
[Top] [All Lists]

[ts-7000] Problems booting from the SD card using TS7260 board

To:
Subject: [ts-7000] Problems booting from the SD card using TS7260 board
From: "jgarciallamas" <>
Date: Sat, 01 May 2010 20:15:44 -0000
Hi there,

 this is my first post in this forum so hi everybody. I have been reading your 
posts since years so thanks everybody for your contributions.

 I'm facing a problem regarding the boot process using the SD card, I know that 
I have not been the only one. I guess I have read all the posts regarding this 
issue and I have also tried different things but the question is that I am 
still on the same point, this is without being able to boot from the SD card.

 As I mentioned I'm using the TS7260. Following the instruccions on wiki what I 
have done till now is:

1. Using the kernel the board takes by default, this is:

Linux version 2.4.26-ts11  (gcc version 3.3.4) #22 Tue Jun 6 
12:23:09 MST 2006

2. Using the initrd I have found in the repositories:

ts7260-sdcard-initrd-1.03.gz

In order to load the initrd file I'm using a TFTP server.

3. The SD card I'm using is the default one, 256Mb, so that Debian is 
preinstalled on partition 3.

4. I have modified Redboot boot script so these are the instruccions:

RedBoot> fis load vmlinux
RedBoot> load -r -b 0x00600000 -h 10.0.0.34 ts7260-sdcard-initrd-1.03.gz
Using default protocol (TFTP)
Raw file loaded 0x00600000-0x0066d81d, assumed entry at 0x00600000
RedBoot> exec -r 0x00600000 -s 447849 -b 0x00218000 -l 0x000C0000 -c 
"console=ttyAM0,115200 root=/dev/ram0 init=/linuxrc rw"


 From this point on the board boots for the first time, where some kind of 
checking is done in the sdcard. Afterwards, a second boot process is taken but 
without success. This is the point where a kernel panic message is shown:
Kernel panic: VFS: Unable to mount root fs on 01:00

This is all the output of the whole process I mention above:

*********************OUTPUT**************************


RedBoot> fis load vmlinux
RedBoot> load -r -b 0x00600000 -h 10.0.0.34 ts7260-sdcard-initrd-1.02.gz
Using default protocol (TFTP)
Raw file loaded 0x00600000-0x0066d8f7, assumed entry at 0x00600000
RedBoot> exec -r 0x00600000 -s 448760 -b 0x00218000 -l 0x000C0000 -c 
"console=ttyAM0,115200 root=/dev/ram0 init=/linuxrc rw"
Linux version 2.4.26-ts11  (gcc version 3.3.4) #22 Tue Jun 6 
12:23:09 MST 2006
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 4 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 5 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyAM0,115200 root=/dev/ram0 init=/linuxrc rw
Console: colour dummy device 80x30
Calibrating delay loop... 99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 28184KB available (1208K code, 336K data, 72K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch 
devfs: boot_options: 0x1
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ enabled
Real Time Clock Driver v1.10f
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
Searching for NAND flash...
NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 
8-bit)
Scanning device for bad blocks
Using static partition definition
Creating 3 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x00004000 : "TS-BOOTROM"
0x00004000-0x01d04000 : "Linux"
0x01d04000-0x02000000 : "RedBoot"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 438K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 72K
Using sdcard.o
sdcard0: Technologic Systems SD card controller, address 0x13000000
sdcard0: card size 498176 sectors
Partition check:
 sdcard0a: p1 p2 p3
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
INIT: version 2.86 booting
Creating extra device nodes...done.  
Started device management daemon v1.3.25 for /dev
Checking root file system...
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
/dev/sdcard0/disc0/part3 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
/dev/sdcard0/disc0/part3: |=                                       |  2.3%   
/dev/sdcard0/disc0/part3: |==                                      /  4.7%   
/dev/sdcard0/disc0/part3: |===                                     -  7.0%   
/dev/sdcard0/disc0/part3: |====                                    \  9.3%   
/dev/sdcard0/disc0/part3: |=====                                   | 11.7%   
/dev/sdcard0/disc0/part3: |======                                  / 14.0%   
/dev/sdcard0/disc0/part3: |=======                                 - 16.3%   
/dev/sdcard0/disc0/part3: |=======                                 \ 18.7%   
/dev/sdcard0/disc0/part3: |========                                | 21.0%   
/dev/sdcard0/disc0/part3: |=========                               / 23.3%   
/dev/sdcard0/disc0/part3: |==========                              - 25.7%   
/dev/sdcard0/disc0/part3: |===========                             \ 28.0%   
/dev/sdcard0/disc0/part3: |============                            | 30.3%   
/dev/sdcard0/disc0/part3: |=============                           / 32.7%   
/dev/sdcard0/disc0/part3: |==============                          - 35.0%   
/dev/sdcard0/disc0/part3: |===============                         \ 37.3%   
/dev/sdcard0/disc0/part3: |================                        | 39.7%   
/dev/sdcard0/disc0/part3: |=================                       / 42.0%   
/dev/sdcard0/disc0/part3: |==================                      - 44.3%   
/dev/sdcard0/disc0/part3: |===================                     \ 46.7%   
/dev/sdcard0/disc0/part3: |====================                    | 49.0%   
/dev/sdcard0/disc0/part3: |=====================                   / 51.3%   
/dev/sdcard0/disc0/part3: |=====================                   - 53.7%   
/dev/sdcard0/disc0/part3: |======================                  \ 56.0%   
/dev/sdcard0/disc0/part3: |=======================                 | 58.3%   
/dev/sdcard0/disc0/part3: |========================                / 60.7%   
/dev/sdcard0/disc0/part3: |=========================               - 63.0%   
/dev/sdcard0/disc0/part3: |==========================              \ 65.3%   
/dev/sdcard0/disc0/part3: |===========================             | 67.7%   
/dev/sdcard0/disc0/part3: |============================            / 70.0%      
                                                                            
Pass 2: Checking directory structure
/dev/sdcard0/disc0/part3: |============================            - 70.4%   
/dev/sdcard0/disc0/part3: |============================            \ 70.9%   
/dev/sdcard0/disc0/part3: |=============================           | 71.4%   
/dev/sdcard0/disc0/part3: |=============================           / 71.8%   
/dev/sdcard0/disc0/part3: |=============================           - 72.4%   
/dev/sdcard0/disc0/part3: |=============================           \ 72.9%   
/dev/sdcard0/disc0/part3: |=============================           | 73.4%   
/dev/sdcard0/disc0/part3: |==============================          / 74.1%   
/dev/sdcard0/disc0/part3: |==============================          - 74.7%   
/dev/sdcard0/disc0/part3: |==============================          \ 75.1%   
/dev/sdcard0/disc0/part3: |==============================          | 75.6%   
/dev/sdcard0/disc0/part3: |==============================          / 76.1%   
/dev/sdcard0/disc0/part3: |===============================         - 76.6%   
/dev/sdcard0/disc0/part3: |===============================         \ 77.1%   
/dev/sdcard0/disc0/part3: |===============================         | 77.5%   
/dev/sdcard0/disc0/part3: |===============================         / 77.9%   
/dev/sdcard0/disc0/part3: |===============================         - 78.4%   
/dev/sdcard0/disc0/part3: |================================        \ 79.0%   
/dev/sdcard0/disc0/part3: |================================        | 79.4%   
/dev/sdcard0/disc0/part3: |================================        / 79.9%   
/dev/sdcard0/disc0/part3: |================================        - 80.4%   
/dev/sdcard0/disc0/part3: |================================        \ 80.9%   
/dev/sdcard0/disc0/part3: |=================================       | 81.3%   
/dev/sdcard0/disc0/part3: |=================================       / 81.9%   
/dev/sdcard0/disc0/part3: |=================================       - 82.4%   
/dev/sdcard0/disc0/part3: |=================================       \ 82.8%   
/dev/sdcard0/disc0/part3: |=================================       | 83.2%   
/dev/sdcard0/disc0/part3: |=================================       / 83.7%   
/dev/sdcard0/disc0/part3: |==================================      - 84.3%   
/dev/sdcard0/disc0/part3: |==================================      \ 84.9%   
/dev/sdcard0/disc0/part3: |==================================      | 85.4%   
/dev/sdcard0/disc0/part3: |==================================      / 86.1%   
/dev/sdcard0/disc0/part3: |===================================     - 86.5%   
/dev/sdcard0/disc0/part3: |===================================     \ 87.0%   
/dev/sdcard0/disc0/part3: |===================================     | 87.5%   
/dev/sdcard0/disc0/part3: |===================================     / 88.3%   
/dev/sdcard0/disc0/part3: |====================================    - 88.8%   
/dev/sdcard0/disc0/part3: |====================================    \ 89.3%   
/dev/sdcard0/disc0/part3: |====================================    | 89.8%      
                                                                            
Pass 3: Checking directory connectivity
/dev/sdcard0/disc0/part3: |=====================================   / 92.0%      
                                                                            
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sdcard0/disc0/part3: |======================================  - 95.1%      
                                                                            
Inode bitmap differences:  -39023
Fix? yes

/dev/sdcard0/disc0/part3: |========================================\ 98.8%   
/dev/sdcard0/disc0/part3: |========================================| 100.0%     
                                                                             
/dev/sdcard0/disc0/part3: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdcard0/disc0/part3: ***** REBOOT LINUX *****
/dev/sdcard0/disc0/part3: 15330/60000 files (3.0% non-contiguous), 
232624/239104 blocks

fsck corrected errors on the root partition, but requested that
the system be rebooted (exit code 3).

Automatic reboot in 5 seconds.

Restarting system.


>> TS-NANDBOOT, Rev 1.00 - built 10:14:31, Mar  7 2005
>> Copyright (C) 2004, Technologic Systems


>> TS-BOOTROM, Rev 1.08 - built 16:18:21, Jun  5 2006
>> Copyright (C) 2006, Technologic Systems
>> TS-7260: Rev E1 CPU, Rev E PLD, 32MB SDRAM, options ( SDCARD )
>> TS-5620: detected, battery OK, time ( 19:12:07, May  1 2010 )

+Ethernet eth0: MAC address 00:d0:69:40:6a:44
IP: 10.0.0.33/255.0.0.0, Gateway: 10.0.0.101
Default server: 10.0.0.101

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version current-TS_5 - built 10:49:48, Jun 19 2006

Platform: TS-7250 Board (ARM920T) Rev A
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x02000000, [0x00052ab0-0x01ff9000] available
FLASH: 0x60000000 - 0x62000000, 2048 blocks of 0x00004000 bytes each.
== Executing boot script in 0.100 seconds - enter ^C to abort
RedBoot> fis load vmlinux
RedBoot> load -r -b 0x00600000 -h 10.0.0.34 ts7260-sdcard-initrd-1.02.gz
Unable to reach host 10.0.0.34 (10.0.0.34)
RedBoot> exec -r 0x00600000 -s 448760 -b 0x00218000 -l 0x000C0000 -c 
"console=ttyAM0,115200 root=/dev/ram0 init=/linuxrc rw"
Linux version 2.4.26-ts11  (gcc version 3.3.4) #22 Tue Jun 6 
12:23:09 MST 2006
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 4 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 5 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyAM0,115200 root=/dev/ram0 init=/linuxrc rw
Console: colour dummy device 80x30
Calibrating delay loop... 99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 28184KB available (1208K code, 336K data, 72K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch 
devfs: boot_options: 0x1
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ enabled
Real Time Clock Driver v1.10f
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
Searching for NAND flash...
NAND device: Manufacturer ID: 0x20, Chip ID: 0x75 (ST Micro NAND 32MiB 3,3V 
8-bit)
Scanning device for bad blocks
Using static partition definition
Creating 3 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x00004000 : "TS-BOOTROM"
0x00004000-0x01d04000 : "Linux"
0x01d04000-0x02000000 : "RedBoot"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 438K
Kernel panic: VFS: Unable to mount root fs on 01:00
 
**************************END OF THE OUTPUT******************

Sorry for the long post and thank you in advance for any kind of feedback.

Kind regards.

Jose.





------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU