From cd945e49e76927a4c2924523458ceebfc2f859d6 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sun, 21 Feb 2010 23:34:33 +0100
Subject: rename ext2-cf target rootfs to ext2-block

- add a foxg20 adkinstaller (not working yet)
- rename ext2-cf target rootfs to ext2-block
---
 target/Config.in                         |  8 ++++----
 target/alix1c/Makefile                   |  2 +-
 target/alix2d/Makefile                   |  4 ++--
 target/alix2d13/Makefile                 |  2 +-
 target/foxg20/Makefile                   | 10 ++++++++++
 target/linux/config/Config.in.debug      |  2 +-
 target/linux/config/Config.in.fs         |  2 +-
 target/linux/config/Config.in.multimedia |  2 +-
 target/rb532/Makefile                    |  2 +-
 target/wrap/Makefile                     |  2 +-
 10 files changed, 23 insertions(+), 13 deletions(-)

(limited to 'target')

diff --git a/target/Config.in b/target/Config.in
index 8361234a2..c3ea51f5a 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -866,8 +866,8 @@ config ADK_TARGET_ROOTFS_NFSROOT
 	help
 	  Root filesystem mounted via NFS. (DHCP)
 
-config ADK_TARGET_ROOTFS_EXT2_CF
-	bool "read-write filesystem for compact flash (ext2)"
+config ADK_TARGET_ROOTFS_EXT2_BLOCK
+	bool "read-write filesystem for block devices with ext2"
 	depends on \
 		ADK_LINUX_X86_ALIX1C || \
 		ADK_LINUX_X86_ALIX2D || \
@@ -878,8 +878,8 @@ config ADK_TARGET_ROOTFS_EXT2_CF
 	select ADK_KERNEL_EXT2_FS
 	select ADK_KERNEL_SCSI
 	help
-	  Use this option if you have a compact flash reader
-	  inside your hardware and want to boot from it.
+	  Use this option if you have a compact flash or mmc/sd card 
+	  reader inside your hardware and want to boot from it.
 
 config ADK_TARGET_ROOTFS_ARCHIVE
 	bool "Archive usable for different filesystems"
diff --git a/target/alix1c/Makefile b/target/alix1c/Makefile
index c17a1ef8a..da95587ed 100644
--- a/target/alix1c/Makefile
+++ b/target/alix1c/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/mk/image.mk
 kernel-install:
 	cp $(LINUX_DIR)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/vmlinuz-adk
 
-ifeq ($(FS),ext2-cf)
+ifeq ($(FS),ext2-block)
 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
 	@echo
 	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
diff --git a/target/alix2d/Makefile b/target/alix2d/Makefile
index 404cc5bbd..932c81109 100644
--- a/target/alix2d/Makefile
+++ b/target/alix2d/Makefile
@@ -8,9 +8,9 @@ include $(TOPDIR)/mk/kernel-build.mk
 include $(TOPDIR)/mk/image.mk
 
 kernel-install:
-	cp $(LINUX_DIR)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/vmlinuz-adk
+	@cp $(LINUX_DIR)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/vmlinuz-adk
 
-ifeq ($(FS),ext2-cf)
+ifeq ($(FS),ext2-block)
 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
 	@echo
 	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
diff --git a/target/alix2d13/Makefile b/target/alix2d13/Makefile
index c17a1ef8a..da95587ed 100644
--- a/target/alix2d13/Makefile
+++ b/target/alix2d13/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/mk/image.mk
 kernel-install:
 	cp $(LINUX_DIR)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/vmlinuz-adk
 
-ifeq ($(FS),ext2-cf)
+ifeq ($(FS),ext2-block)
 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
 	@echo
 	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
diff --git a/target/foxg20/Makefile b/target/foxg20/Makefile
index 1d07f9db6..804236f9b 100644
--- a/target/foxg20/Makefile
+++ b/target/foxg20/Makefile
@@ -20,3 +20,13 @@ imageinstall: ${BIN_DIR}/${ROOTFSUSERTARBALL}
 	@echo 'After that type bootm to load the kernel'
 	@echo 'Login as user root with password linux123 via ssh or console'
 endif
+
+ifeq ($(FS),ext2-block)
+imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL)
+	@echo
+	@echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
+	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSUSERTARBALL)"
+	@echo "Boot the board via network and use adkinstall."
+	@echo "If you just want to update, use adkupdate."
+	@echo 'Login as user root with password linux123 via ssh or console.'
+endif
diff --git a/target/linux/config/Config.in.debug b/target/linux/config/Config.in.debug
index 9c876e205..57927f3ec 100644
--- a/target/linux/config/Config.in.debug
+++ b/target/linux/config/Config.in.debug
@@ -41,7 +41,7 @@ config ADK_KERNEL_DEBUG_WITH_KGDB
 	boolean
 	prompt "Enable remote kernel debugging using KGDB"
 	depends on ADK_TARGET_ROOTFS_NFSROOT || \
-		ADK_TARGET_ROOTFS_EXT2_CF || \
+		ADK_TARGET_ROOTFS_EXT2_BLOCK || \
 		ADK_TARGET_ROOTFS_EXT2
 	default n
 	select ADK_KERNEL_DEBUG_KERNEL
diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs
index dc417c146..1378c3528 100644
--- a/target/linux/config/Config.in.fs
+++ b/target/linux/config/Config.in.fs
@@ -30,7 +30,7 @@ config ADK_KPACKAGE_KMOD_EXT2_FS
 	prompt "kmod-fs-ext2...................... EXT2 filesystem support"
 	tristate
 	default n
-	depends on !ADK_TARGET_ROOTFS_EXT2_CF
+	depends on !ADK_TARGET_ROOTFS_EXT2_BLOCK
 	depends on !ADK_KERNEL_EXT2_FS
 	help
 	  Ext2 is a standard Linux file system for hard disks.
diff --git a/target/linux/config/Config.in.multimedia b/target/linux/config/Config.in.multimedia
index cb9de47af..01e837dca 100644
--- a/target/linux/config/Config.in.multimedia
+++ b/target/linux/config/Config.in.multimedia
@@ -44,7 +44,7 @@ config ADK_KPACKAGE_KMOD_SND
 	 Basic ALSA sound support.
 
 config ADK_KPACKAGE_KMOD_SND_OSSEMUL
-	prompt "kmod-sound-alsa-oss-emul........ ALSA OSS Emulation"
+	prompt "kmod-sound-alsa-oss-emul....... ALSA OSS Emulation"
 	depends on ADK_KPACKAGE_KMOD_SND
 	select ADK_KERNEL_SND_MIXER_OSS
 	select ADK_KERNEL_SND_PCM_OSS
diff --git a/target/rb532/Makefile b/target/rb532/Makefile
index b0c50dc5d..8568bb135 100644
--- a/target/rb532/Makefile
+++ b/target/rb532/Makefile
@@ -15,7 +15,7 @@ kernel-install:
 	@cp $(TARGET_DIR)/boot/kernel \
 		$(BUILD_DIR)/${ADK_TARGET}-${FS}-kernel
 
-ifeq ($(FS),ext2-cf)
+ifeq ($(FS),ext2-block)
 imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL)
 	@cp $(BUILD_DIR)/${ADK_TARGET}-${FS}-kernel \
 		$(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
diff --git a/target/wrap/Makefile b/target/wrap/Makefile
index 825b55175..e0cb894da 100644
--- a/target/wrap/Makefile
+++ b/target/wrap/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/mk/image.mk
 kernel-install:
 	@cp $(LINUX_DIR)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/vmlinuz-adk
 
-ifeq ($(FS),ext2-cf)
+ifeq ($(FS),ext2-block)
 imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
 	@echo
 	@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
-- 
cgit v1.2.3