ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7250, 2.6.27.4, root on CompactFlash problem

To:
Subject: [ts-7000] Re: TS7250, 2.6.27.4, root on CompactFlash problem
From: "s_ladendorf" <>
Date: Thu, 12 Feb 2009 13:53:14 -0000
Charlie,

Here is the boot log of the 2.4 kernel loading on this board.

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version current-TS_5 - built 14:58:24, Aug  3 2005

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

RAM: 0x00000000-0x02000000, [0x00052420-0x01ff9000] available
FLASH: 0x60000000 - 0x62000000, 2048 blocks of 0x00004000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load vmlinux
RedBoot> exec -c "root=/dev/hda1 console=ttyAM1,115200"
Using base address 0x00218000 and length 
0x00&#4196;&#65533;&#65533;&#65533;Linux version
2.4.26-vrs1-cirrus-1-2-1-ts8  (gcc version 3.3.5) #1
Tue Mar 29 16:21:29 C5
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 2 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 3 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.
On node 6 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 7 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 8 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 9 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 10 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 11 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 12 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 13 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 14 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 15 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda1 console=ttyAM1,115200
Calibrating delay loop... 99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB
8MB = 128MB total
Memory: 125808KB available (1296K code, 279K data, 60K init)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 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
Journalled Block Device driver loaded
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: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ enabled
ttyS00 at 0x8af00000 (irq = 40) is a 16550A
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
about to do sbc_setinfo
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
Technologic Systems TS-7XXX IDE initialization - driver version 1.3,
6/21/04. 
hda: probing with STATUS(0x50) instead of ALTSTATUS(0x54)
hda: SanDisk SDCFJ-512, CFA DISK drive
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x04)
hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x04)
ide0 at 0x8d000000-0x8d000007,0x88400006 on irq 32
hda: attached ide-disk driver.
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1
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
Bad eraseblock 1042 at 0x01048000
Bad eraseblock 1043 at 0x0104c000
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 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
 /dev/ide/host0/bus0/target0/lun0: p1
 /dev/ide/host0/bus0/target0/lun0: p1
 /dev/ide/host0/bus0/target0/lun0: p1
 /dev/ide/host0/bus0/target0/lun0: p1
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 60K
INIT: version 2.86 booting
Creating extra device nodes...done.  
Started device management daemon v1.3.25 for /dev
 /dev/ide/host0/bus0/target0/lun0: p1
Checking root file system...
fsck 1.37 (21-Mar-2005)
e2fsck 1.37 (21-Mar-2005)
/dev/hda1: clean, 14955/125488 files, 243912/500336 blocks
Cleaning up ifupdown...done.
Loading modules: af_packet usb-ohci usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci-ep93xx usb-ohci.c: USB OHCI at membase 0xe0020000, IRQ 56
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected

Checking all file systems...
fsck 1.37 (21-Mar-2005)
... done.
hub.c: new USB device not_pci-3, assigned address 2
usb.c: USB device 2 (vend/prod 0xc76/0x5) is not claimed by any active
driver.
Setting up networking...done.
Starting hotplug subsystem: usb isapnp ide scsi.
Setting up IP spoofing protection: rp_filter.
Enabling packet forwarding...done.
Configuring network interfaces...enable_irq(39) unbalanced from c02d3800
done.
Starting portmap daemon: portmap.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 2
Starting internet superserver: inetd.
Starting OpenBSD Secure Shell server: sshd.
Starting NFS common utilities: statd.
Starting periodic command scheduler: cron.
Starting web server: apache-ssl.
ttyAM0: 1 input overrun(s)

Debian GNU/Linux 3.1 ts7000 ttyAM1


--- In  "charliem_1216" <> wrote:
>
> Hi Steve --
> 
> --- In  "s_ladendorf" <s_ladendorf@> wrote:
> >
> > I've banged my head enough and now I need to ask.  How do I get the
> > 2.6.27.4 kernel with the matt-4 patch to recognize the CompactFlash as
> > a root partition?  I can load the kernel via tftp but when I execute
> > it the kernel panics as it never finds the /dev/sda1 partition.  Do I
> > need to use an initrd image with a kernel module?  Can the device
> > support be monolithic and what features do I need to turn on?  I did
> > use the ts7200_defconfig as my kernel config when building.
> 
> Please see the thread starting here for another person currently
> trying to do this (but with the 2.6.21-TS kernel):
> http://tech.groups.yahoo.com/group/ts-7000/message/13731
> 
> No feedback yet on whether it worked, but there are a few suggestions
> in there.  You shouldn't _need_ an initrd; a mostly monolithic kernel
> is a good approach in an embedded system IMHO.
> 
> > We have about 2 dozen of these units that were manufactured for a
> > company called JumpNode that is no longer in business.  We would like
> > to use them with the 2.6 kernel but I can't get past this one last
> issue.
> > 
> > I am more than willing to send one to who ever can provide a working
> > solution (you don't need to do the work - just tell me now ;-).
> > 
> > They are a variation of the ts7250 with a 512 Meg CF card, dual usb,
> > eth100, modem and 128 Meg (kernel ignores 8192K 8 times - a fix for
> > that would be nice as well ;-).
> 
> 128M RAM?  If so, then a full dmesg listing from a 2.4-TS kernel
> booting would be helpful, so we have a known-good memory layout
> listing.  The current discussion about getting Matt's 2.6.28.3 patch
> going with SPARSEMEM may help here too.  It seems to be almost there.
> 
> In fact posting a full 2.4-TS kernel dmesg or minicom boot log would
> probably be helpful in any case, showing any other non-standard
> features that need to be enabled in the 2.6 configs.
> 
> regards, ......... Charlie
> 
> > 
> > steve.ladendorf at spanlink.com if anyone is interested.
> > 
> > Thanks!
> >
>




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

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