Skip to contentSkip to conversation

full5 with elksnet

PATCH Tommy McCabe 4 participants 10 messages Jun 3, 2004 – Jun 9, 2004

lore
Share & tools
lore
#0 lore raw

This patch:

1. Includes ktcp in full5.

2. Makes sure there is a /bin directory to put ktcp into in both comb_net and full5 (yes, I did use the -p option, though I don't know why).

__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

elks/elkscmd/Makefile renamed from elkscurr/elkscmd/Makefile +5 -0
@@ -224,6 +224,10 @@
 	dd if=$(FD_BSECT) of=$(FULL3_TARGET_FS) bs=512 count=2 conv=notrunc
 
 full5: mount_full3fs $(ELKS_DIR)/arch/i86/boot/Image $(FD_BSECT) $(KHELPER)
+	cd $(ELKSNET_DIR)/ktcp ; \
+	make ; \
+	mkdir -p $(TARGET_MNT)/bin
+	cp -p -f ktcp $(TARGET_MNT)/bin
 	@for i in $(DIRS); do make -C $$i rfs ; done
 	cp $(ELKS_DIR)/arch/i86/boot/Image $(TARGET_MNT)/boot/linux
 	cp $(KHELPER) $(TARGET_MNT)/boot/boot
@@ -237,6 +241,7 @@
 comb_net: mount_rootnetfs $(ELKS_DIR)/arch/i86/boot/Image $(FD_BSECT) $(KHELPER)
 	cd $(ELKSNET_DIR)/ktcp ; \
 	make ; \
+	mkdir -p $(TARGET_MNT)/bin
 	cp -p -f ktcp $(TARGET_MNT)/bin
 	@for i in $(DIRS); do make -C $$i net_rfs ; done
 	cp $(ELKS_DIR)/arch/i86/boot/Image $(TARGET_MNT)/boot/linux
#1 lore raw
Quoted 3 lines · Tommy McCabe

2. Makes sure there is a /bin directory to put ktcp into in both comb_net and full5 (yes, I did use the -p option, though I don't know why).

Perhaps we could add /bin (and /boot, /lib, /home and /mnt) to the rootfs template? Then it would work for all images. I added them to mine when rebuilding full3.

#2 lore raw
Quoted 5 lines · --- [email protected] wrote:
Quoted 1 line · Tommy McCabe

2. Makes sure there is a /bin directory to put

ktcp

Quoted 1 line

into in both comb_net and full5 (yes, I did use

Quoted 8 lines

the -p

Quoted 1 line

option, though I don't know why).

Perhaps we could add /bin (and /boot, /lib, /home
and /mnt) to
the rootfs template? Then it would work for all
images. I added
them to mine when rebuilding full3.

1. Okay.

2. Where is the rebuild of full3?

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

#3 lore raw
In reply to [email protected]

Greetings.

Quoted 9 lines · On Thu, 2004-06-03 at 15:26, [email protected] wrote:
Quoted 3 lines · Tommy McCabe

2. Makes sure there is a /bin directory to put ktcp into in both comb_net and full5 (yes, I did use the -p option, though I don't know why).

Perhaps we could add /bin (and /boot, /lib, /home and /mnt) to the rootfs template? Then it would work for all images. I added them to mine when rebuilding full3.

Well the only one of this fellow dirs missing was /lib so i just added it.

Also rootfs_template.tar was quite updated.. and consuming up to 40k of space there.. so i removed it.. it doesn't really make sence at all to have a tared copy of rootfs_template there.

I removed the mkdir commands added to sys_utils/Makefile from Tommy's patch #9 as this is not required now that bin in in rootfs_temaplate.

best wishes

Mike

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 6 lines
--------------------miguel bolanos, systems administrator, linuxlabs
... ........ ..... ....                 230 peachtree st nw ste 2701
the original linux labs                          atlanta.ga.us 30303
       -since 1995                          http://www.linuxlabs.com
                                office 404.577.7747 fax 404.577.7743
--------------------------------------------------------------------
#4 lore raw
Quoted 8 lines · Miguel Bolanos
Quoted 4 lines · On Thu, 2004-06-03 at 15:26, [email protected] wrote:

Perhaps we could add /bin (and /boot, /lib, /home and /mnt) to the rootfs template? Then it would work for all images. I added them to mine when rebuilding full3.

Well the only one of this fellow dirs missing was /lib so i just added it.

I think /boot is needed when installing the bootloader (minix_elks.bin et al).

#5 lore raw
Quoted 11 lines · --- [email protected] wrote:
Quoted 1 line · Miguel Bolanos

On Thu, 2004-06-03 at 15:26, [email protected]

Quoted 2 lines · wrote:
Quoted 2 lines

Perhaps we could add /bin (and /boot, /lib,

/home and /mnt) to

Quoted 1 line
Quoted 1 line

the rootfs template? Then it would work for all

images. I added

Quoted 2 lines
Quoted 1 line

them to mine when rebuilding full3.

Quoted 7 lines
Quoted 1 line

Well the only one of this fellow dirs missing was

/lib so i just added

Quoted 1 line

it.

I think /boot is needed when installing the
bootloader (minix_elks.bin
et al).

WHY can't the bootloader be included in the source tree?

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#6 lore raw
In reply to Tommy McCabe

Tommy McCabe wrote:
[...]

Quoted 1 line

1. Includes ktcp in full5.

Hmm.

What *is* ktcp? Is it a user space TCP/IP stack? If so, how does it work?

One of the things I've always thought would be a good idea was to move the TCP/IP stack out of the limited kernel space into user space... has someone already done this? If so, very nice --- how big is the kernel binary without the TCP/IP code? How does it talk to the frame driver?

Signature · 1 line
[insert interesting .sig here]
#7 lore raw
Quoted 1 line · David Given

What *is* ktcp? Is it a user space TCP/IP stack? If so, how does it work?

Yes. elks/Documentation/Text/networking.txt has a good overview.

Quoted 4 lines

One of the things I've always thought would be a good idea was to move the TCP/IP stack out of the limited kernel space into user space... has someone already done this? If so, very nice --- how big is the kernel binary without the TCP/IP code? How does it talk to the frame driver?

It uses /dev/tcpdev.

#8 lore raw
In reply to Tommy McCabe

Hi Tommy,

Quoted 4 lines · Tommy McCabe

This patch:

1. Includes ktcp in full5.

Good.

Quoted 4 lines

2. Makes sure there is a /bin directory to put ktcp into in both comb_net and full5 (yes, I did use the -p option, though I don't know why).

Actually i'm starting to think that we should just add /bin and missing friend to rootfs_template... this will for sure remove several lines in the code.

best wishes

Mike

Quoted 30 lines

__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

______________________________________________________________________

elks/elkscmd/Makefile renamed from elkscurr/elkscmd/Makefile +5 -0
@@ -224,6 +224,10 @@
 	dd if=$(FD_BSECT) of=$(FULL3_TARGET_FS) bs=512 count=2 conv=notrunc
 
 full5: mount_full3fs $(ELKS_DIR)/arch/i86/boot/Image $(FD_BSECT) $(KHELPER)
+	cd $(ELKSNET_DIR)/ktcp ; \
+	make ; \
+	mkdir -p $(TARGET_MNT)/bin
+	cp -p -f ktcp $(TARGET_MNT)/bin
 	@for i in $(DIRS); do make -C $$i rfs ; done
 	cp $(ELKS_DIR)/arch/i86/boot/Image $(TARGET_MNT)/boot/linux
 	cp $(KHELPER) $(TARGET_MNT)/boot/boot
@@ -237,6 +241,7 @@
 comb_net: mount_rootnetfs $(ELKS_DIR)/arch/i86/boot/Image $(FD_BSECT) $(KHELPER)
 	cd $(ELKSNET_DIR)/ktcp ; \
 	make ; \
+	mkdir -p $(TARGET_MNT)/bin
 	cp -p -f ktcp $(TARGET_MNT)/bin
 	@for i in $(DIRS); do make -C $$i net_rfs ; done
 	cp $(ELKS_DIR)/arch/i86/boot/Image $(TARGET_MNT)/boot/linux
Signature · 6 lines
--------------------miguel bolanos, systems administrator, linuxlabs
... ........ ..... ....                 230 peachtree st nw ste 2701
the original linux labs                          atlanta.ga.us 30303
       -since 1995                          http://www.linuxlabs.com
                                office 404.577.7747 fax 404.577.7743
--------------------------------------------------------------------
#9 lore raw

** Applied ** Re: full5 with elksnet

In reply to Tommy McCabe

Removed the mkdir lines and applied. thanks.

Mike

Quoted 38 lines · Tommy McCabe

This patch:

1. Includes ktcp in full5.

2. Makes sure there is a /bin directory to put ktcp into in both comb_net and full5 (yes, I did use the -p option, though I don't know why).

__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

______________________________________________________________________

elks/elkscmd/Makefile renamed from elkscurr/elkscmd/Makefile +5 -0
@@ -224,6 +224,10 @@
 	dd if=$(FD_BSECT) of=$(FULL3_TARGET_FS) bs=512 count=2 conv=notrunc
 
 full5: mount_full3fs $(ELKS_DIR)/arch/i86/boot/Image $(FD_BSECT) $(KHELPER)
+	cd $(ELKSNET_DIR)/ktcp ; \
+	make ; \
+	mkdir -p $(TARGET_MNT)/bin
+	cp -p -f ktcp $(TARGET_MNT)/bin
 	@for i in $(DIRS); do make -C $$i rfs ; done
 	cp $(ELKS_DIR)/arch/i86/boot/Image $(TARGET_MNT)/boot/linux
 	cp $(KHELPER) $(TARGET_MNT)/boot/boot
@@ -237,6 +241,7 @@
 comb_net: mount_rootnetfs $(ELKS_DIR)/arch/i86/boot/Image $(FD_BSECT) $(KHELPER)
 	cd $(ELKSNET_DIR)/ktcp ; \
 	make ; \
+	mkdir -p $(TARGET_MNT)/bin
 	cp -p -f ktcp $(TARGET_MNT)/bin
 	@for i in $(DIRS); do make -C $$i net_rfs ; done
 	cp $(ELKS_DIR)/arch/i86/boot/Image $(TARGET_MNT)/boot/linux
Signature · 6 lines
--------------------miguel bolanos, systems administrator, linuxlabs
... ........ ..... ....                 230 peachtree st nw ste 2701
the original linux labs                          atlanta.ga.us 30303
       -since 1995                          http://www.linuxlabs.com
                                office 404.577.7747 fax 404.577.7743
--------------------------------------------------------------------