Daniel Rindt wrote:
> Am Freitag, 8. Juni 2007 18:20 schrieb Eddie Dawydiuk:
> Hello Eddie,
>
>> The easiest way to create a custom filesystem or modify the existing
>> filesystem is to mount the Yaffs partition and read/write as you need.
>> e.g. Mount the partition and tar up the contents of the filesystem to
>> backup the filesystem.
>>
> Sorry Eddie but how to mount?
>
>> You can then create a new tarball with a modified
>> filesystem(or new filesystem). Then simply mount the Yaffs partition,
>> recursively remove everything, then untar your new filesystem to the
>> Yaffs mount point.
>>
> The thing i need is a YAFFS Image to quick boot my small system, and after i
> want to write some log and database to the sdcard. But my kernel needs
> bluetooth Support compiled into the kernel. So was my idea to place a kernel
> into the YAFFS Image.
>
Hi Daniel,
That is not quite how it works: The kernel is loaded from a special
partition by the nand flash loader, and control is passed to it.
I use my own nand flash loader, so I cannot really comment with
authority TS's; however, I think the basic procedure is roughly:
1) Boot of the TS9441 (You will need one of these if you don't have
one).
2) insmod ts7xxx_nand.o (Install the nand flash driver)
3) mtdcp myNewKernel /dev/mtd1
4) mtdcp myNewRamdisk /dev/mtd2
5) mtdcp myYAFF2Image /dev/mtd3
Basically, you're writing the nand flash image onto /dev/mtd3 that
you made on your pc using the yaffs tools. Your ramdisk image should be
a compressed ext2 filesystem, and at the end of its startup scripts, you
would mount /dev/mtd3 and chroot to it.
Good luck!
-Brett
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/
|