9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9bitsy partitions
@ 2003-05-17 16:48 kazumi iwane
  2003-05-19  9:02 ` Fco.J.Ballesteros
  0 siblings, 1 reply; 2+ messages in thread
From: kazumi iwane @ 2003-05-17 16:48 UTC (permalink / raw)
  To: 9fans

Hello 9fans,

About 9bitsy's partitions. There are two docs (Booting101
and a Wiki page) about the subject, and they differ with
each other. And then, source files (paq.c and cpurc) say
something entirely different.

/sys/src/9/bitsy/Booting101:
	partition define bootldr 0x000000 0x040000 2
	partition define params  0x040000 0x040000 0
	partition define kernel  0x080000 0x0c0000 0
	partition define user    0x140000 0x0c0000 0
	partition define ramdisk 0x200000 0xa00000 0
	partition define fs      0xc00000 0x400000 0

Wiki:
	partition define bootldr 0x000000 0x040000 2
	partition define params  0x040000 0x040000 0
	partition define kernel  0x080000 0x0c0000 0
	partition define user    0x140000 0x0c0000 0
	partition define ramdisk 0x200000 0x600000 0
	partition define fs      0x800000 0x800000 0

/sys/src/9/boot/paq.c:
	char *fparts[] =
	{
		"add bootldr	0x0000000 0x0040000",
		"add params	0x0040000 0x0080000",
		"add kernel	0x0080000 0x0140000",
		"add user	0x0140000 0x0200000",
		"add ramdisk	0x0200000 0x0800000",
	};

/sys/src/9/bitsy/paqfiles/cpurc:
	echo -n add fs 0x0800000 0x1000000 > /dev/flash/flashctl

Should I trust paq.c & cpurc?

-- kazumi



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] 9bitsy partitions
  2003-05-17 16:48 [9fans] 9bitsy partitions kazumi iwane
@ 2003-05-19  9:02 ` Fco.J.Ballesteros
  0 siblings, 0 replies; 2+ messages in thread
From: Fco.J.Ballesteros @ 2003-05-19  9:02 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

I'll update Booting101 an a couple of other files  in a while.
Trust paq.c in the mean time.

[-- Attachment #2: Type: message/rfc822, Size: 2890 bytes --]

From: kazumi iwane <kiwane@mx6.ttcn.ne.jp>
To: 9fans@cse.psu.edu
Subject: [9fans] 9bitsy partitions
Date: Sun, 18 May 2003 01:48:01 +0900
Message-ID: <20030517164801.SXVE20751.fvc2-p@ISABELLA>

Hello 9fans,

About 9bitsy's partitions. There are two docs (Booting101
and a Wiki page) about the subject, and they differ with
each other. And then, source files (paq.c and cpurc) say
something entirely different.

/sys/src/9/bitsy/Booting101:
	partition define bootldr 0x000000 0x040000 2
	partition define params  0x040000 0x040000 0
	partition define kernel  0x080000 0x0c0000 0
	partition define user    0x140000 0x0c0000 0
	partition define ramdisk 0x200000 0xa00000 0
	partition define fs      0xc00000 0x400000 0

Wiki:
	partition define bootldr 0x000000 0x040000 2
	partition define params  0x040000 0x040000 0
	partition define kernel  0x080000 0x0c0000 0
	partition define user    0x140000 0x0c0000 0
	partition define ramdisk 0x200000 0x600000 0
	partition define fs      0x800000 0x800000 0

/sys/src/9/boot/paq.c:
	char *fparts[] =
	{
		"add bootldr	0x0000000 0x0040000",
		"add params	0x0040000 0x0080000",
		"add kernel	0x0080000 0x0140000",
		"add user	0x0140000 0x0200000",
		"add ramdisk	0x0200000 0x0800000",
	};

/sys/src/9/bitsy/paqfiles/cpurc:
	echo -n add fs 0x0800000 0x1000000 > /dev/flash/flashctl

Should I trust paq.c & cpurc?

-- kazumi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-19  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-17 16:48 [9fans] 9bitsy partitions kazumi iwane
2003-05-19  9:02 ` Fco.J.Ballesteros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).