Bonfs and SMC
Selmeci, Tamas
tamas.selmeci at siemens.com
Fri Mar 10 03:16:49 EST 2006
Hello!
I'm working with a developer board (Embest S3CEB2410 with S3C2410
processor) which has a SmartMedia Card
interface and is able to boot from it. Embest supplied a boot manager
called Vivi with the board, and this boot manager can make BonFS
partitions/fs.
I'm quite confused, because I don't know what bonfs is: I could locate
no documentation on the web.
This command is used to create bonfs partitions on the SMC: (after
booting from the SMC)
vivi> bon part 0 192k 1M
creates three partitions for vivi+param, kernel and the root filesystem.
According to vivi, this is the bonfs partition table: (on a 64MB SMC)
vivi> bon part info
BON info. (3 partitions)
No: offset size flags bad
---------------------------------------------
0: 0x00000000 0x00030000 00000000 0 192k
1: 0x00030000 0x000d0000 00000000 0 832k
2: 0x00100000 0x03efc000 00000000 0 62M+1008k
But Vivi also has an other set of tools, called "part". These tools are
for manipulating MTD partitions:
vivi>part show
mtdpart info. (4 partitions)
name offset size flag
------------------------------------------------
vivi : 0x00000000 0x00020000 0 128k
param : 0x00020000 0x00010000 0 64k
kernel : 0x00030000 0x000c0000 0 768k
root : 0x00100000 0x00140000 4 1M+256k
This has four partitions: the vivi and param partitions are merged in
the list of bonfs. Partition sizes don't match: vivi+param=192k, but
kernel is smaller than 832 (the difference is 64KB), and root partition
is extremely small. Now I can't see the relationship between between
Bonfs and mtd partitions. Is anybody here who 's seeing?
I would be very grateful if someone could tell me what are bonfs and mtd
partitions meaning, what are the differences between them, and a few
links on bonfs and/or mtd partitions are also welcome. Why do we need to
use bonfs on SMC, if is it needed? My goal is to create such a bootable
SMC which mounts its root filesystem from the root partition of the SMC,
and this partition should be either JFFS(2) or cramfs. cramfs is now
mounted perfectly, but I want to avoid using bonfs (since I don't what
it's all about). Is it possible to simply partition (mtd) the SMC and to
boot from that and mount a root filesystem?
Many thanks
Bye
--
Tamas Selmeci
Siemens PSE HU
Tel. : +36-1-471-3861
Email : tamas.selmeci at siemens.com
Address: H-1143 Budapest, Gizella ut 51-59
More information about the linux-mtd
mailing list