Ok, I have no idea. Maybe you can try this (works for me):
download untar and dd this sd image:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/binaries/ts-images/512mbsd-aug252008.dd.bz2
It will generate a 4 partition card 1-vfat, 2-kernel, 3-initrd, 4-debian.
download and install the crosstool:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/cross-toolchains/crosstool-linux-gnueabi-2005q3-2.tar.gz
download and untar kernel source:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/sources/linux-2.6.21-ts-src-aug252008.tar.gz
Change the Makefile to match your crosstool path, then change
yourkernelsource/arch/arm/configs/ts7300_defconfig to disable sd-card
module. Maybe you want to change console=none to console=ttyAM0,115200.
$ make ts7300_defconfig
$ make
$dd if=yourkernelsource/arch/arm/boot/zImage of=/dev/your_sd_partition_2
$sync
Download and compile load_ts7300 (for loading fpga)
mount the 3rd partition (i supose you mount in /media/disk/)
change the rclinux link to rclinux-sdroot:
/media/disk$ rm linuxrc; ln -fs linuxrc-sdroot linuxrc; sync
Download ts7300_cyclone2.rbf
Add this line to your rclinux (just after echo ">> Booting to SD
Card..." > $CONSOLE):
load_ts7300 -v ts7300_cyclone2.rbf
Again in rclinux, change the line:
insmod /tsuart7350.ko
to:
insmod /tsuart7300.ko
/media/disk/$ mv /yourdownloaddir/tssdcard-ts7300.ko tssdcard.ko
/media/disk/$ cp /yourkernelsource/drivers/serial/tsuart7300.ko ./
/media/disk/$ cp /yourkernelsource/load_ts7300/load_ts7300 ./
umount, put into ts7000 and turn on.
i hope it works.
--- In "ljkenny" <> wrote:
>
> UPDATE:
>
> I just tried to use the 'initrd-busybox-rootfs-aug252008.dd' image
> from the ts-7350-linux's FTP site.
>
> 1. I managed to get up a shell.
> 2. insmod'ed the original tssdcard.ko that was in there, but it didn't
> even see the card:
>
> / # insmod tssdcard.ko
> tssdcard: Technologic Systems SD card controller, address 0x600ff000
> tssdcard: no card found.
>
> 3. Tried to insmod my previous drivers.
> 3.1 The first crashed and seg' faulted.
> 3.2 The second did the same as last time:
>
> / # insmod tssdcard-7300.ko
> tssdcard: Technologic Systems SD card controller, address 0x13000000
> tssdcard: card /dev/tssdcarda has 1999872 sectors (LUN 0)
> tssdcarda: unknown partition table
>
> I have full EXT2 support compiled into the kernel too.
>
> #
> # File systems
> #
> CONFIG_EXT2_FS=y
> CONFIG_EXT2_FS_XATTR=y
> CONFIG_EXT2_FS_POSIX_ACL=y
> CONFIG_EXT2_FS_SECURITY=y
> CONFIG_EXT2_FS_XIP=y
>
> I don't understand what it doesn't like about my SD card file system.
> I think it's fairly a fairly standard one. Perhaps it doesn't like the
> RAW zImage file in the first partition? To be honest with you, I'm
> just grasping at straws. I don't actually have any idea why it's not
> working!
> --- In "ljkenny" <ljkenny@> wrote:
> >
> > Thank you for your reply Adriano.
> >
> > Well, I did have limited support from EXT2 compiled in the kernel;
> > however, I just re-compiled it with full EXT2 support (i.e. every
> > option) and nothing's changed.
> >
> > Some details:
> >
> > Device Boot Start End Blocks Id System
> > /dev/sde1 1 9 2288 da Non-FS data
> > /dev/sde2 10 20 2816 da Non-FS data
> > /dev/sde3 30 983 244224 83 Linux
> >
> > Partition one : Kernel : RAW (compressed zImage)
> > Partition two : initrd : EXT2
> > Partition three : rootfs : EXT2
> >
> > I'm still receiving the same output as before.
> >
> > I understand that Eddie and Ronald had a hand in writing the driver. A
> > little help from them certainly wouldn't go a miss here. =;-)
> >
> > Kind regards,
> > Lee
>
------------------------------------
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/
|