ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: [TS-SUPPORT] Manually (re)partitioning the flash on th

To: Eddie Dawydiuk <>
Subject: Re: [ts-7000] Re: [TS-SUPPORT] Manually (re)partitioning the flash on the TS-7200
From: Kaiwan NB <>
Date: Fri, 20 Oct 2006 16:45:03 +0530
>Hello,

>> I have the TS-7200 board. Which version would be best for it? Or do all
>> support it?

>All of our kernel versions support the TS-7200.

Okay, great.

>Please post your redboot commands as well as your bootmessages. It
>doesn't appear that you have booted to the CF card. It looks like you
>are booted to the onboard flash.

Okay, here goes:
RedBoot commands issued:

RedBoot> load -b 0x00218000 vmlinux
(yes i understand that this is the kernel image on int. flash; that's ok. i want the root file system (RFS)
on CF).

RedBoot> exec -c "console=ttyAM0,115200 root=/dev/hda2"

<Note "root=/dev/hda2" in my case>

after login, dmesg o/p shows:
---
Linux version 2.4.26-vrs1-cirrus-1-2-1-ts8 (gcc version 3.3.4) #2 Mon Mar 7 10:59:07 MST 2005
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.
Kernel command line: console=ttyAM0,115200 root=/dev/hda2
Relocating machine vectors to 0xffff0000
Calibrating delay loop... 99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 28656KB available (1236K code, 298K data, 56K 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
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
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
rtc: no TS-5620 RTC detected.
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
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: SanDisk SDCFB-32, CFA DISK drive
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: 62720 sectors (32 MB) w/1KiB Cache, CHS=490/4/32
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2
TS-7200 flash: Found 1 x16 devices at 0x0 in 16-bit bank
TS-7200 flash: Found an alias at 0x800000 for the chip at 0x0
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x20000,blocks=64
Creating 3 MTD partitions on "TS-7200 flash":
0x00000000-0x00020000 : "TS-BOOTROM"
0x00020000-0x00620000 : "Linux"
0x00620000-0x00800000 : "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)
/dev/ide/host0/bus0/target0/lun0: p1 p2
/dev/ide/host0/bus0/target0/lun0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 56K
enable_irq(39) unbalanced from c02c2b18
---

Now the init messages show up:
---
INIT: version 2.85-ts1.00 booting

http://www.embeddedarm.com
email:

devfsd v1.3.25  started for /dev
now mounting /proc
mounting local filesystems (in fstab)
INIT: Entering runlevel: 3
Setting hostname....
Bringing up interface eth0..
enable_irq(39) unbalanced from c02c2b18
Bringing up interface lo..
setting kernel IP routing tables
Starting portmap...
Starting INETD...
Starting telnetd...
Starting apache.../www/apache/bin/apachectl start: httpd started
Remounting "/" as rw...

Technologic Systems TS-LINUX/arm 7.0
ts7200 login:
---
Also, I (slightly) modified /etc/rc.d/rcS
to remount "/" as rw, by adding this line:
mount -o remount,rw /

to it.

>> My qs are:
>> a) Therefore it's ok to use a VFAT format on root? Any issues? (I did
>> see a few warnings)
>> as it's "trying" to treat it as ext2 though..
>> So would you recommend I reformat the RFS as ext2?
> b) How come I also see "/" mounted on /dev/mtdblock/1 as:
>> --snip--
>> /dev/mtdblock/1 on / type jffs2 (rw)
>> --snip--
>> What am i missing here?

>It doesn't look like you booted to the CF card.

So, now what do you think?
TIA,
- Kaiwan.

//Eddie

__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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