summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-09 17:16:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-09 17:16:02 +0200
commit7bc5febec0c2eb5ba9f905487a2d487c9c1fa007 (patch)
tree3f307ace8739c8be705ab34e7838b8a60aefe6a6
parent97699dc7ce7ec5a35f562581e259dda6503c577a (diff)
only support ext4 kernel support for rootfs, I can not get ext2 rootfs working on the rpi
-rw-r--r--Config.in4
-rw-r--r--target/config/Config.in14
-rw-r--r--target/linux/config/Config.in.fs2
3 files changed, 16 insertions, 4 deletions
diff --git a/Config.in b/Config.in
index 2209b5c62..e1436e1b6 100644
--- a/Config.in
+++ b/Config.in
@@ -95,7 +95,7 @@ prompt "Kernel Version"
depends on ADK_TOOLCHAIN_ONLY
config ADK_KERNEL_VERSION_TOOLCHAIN
- prompt "3.9.8"
+ prompt "3.9.9"
boolean
depends on ADK_TOOLCHAIN_ONLY
@@ -122,7 +122,7 @@ config ADK_KERNEL_VERSION
default "3.4.51" if ADK_KERNEL_VERSION_3_4_51
help
-config ADK_KERNEL_COMP_GZIP
+config ADK_KERNEL_COMP_GZIP_RASPBERRY_PI
depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
boolean
select ADK_KERNEL_RD_GZIP
diff --git a/target/config/Config.in b/target/config/Config.in
index 14d2ad814..6466b7c9e 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -654,6 +654,7 @@ config ADK_TARGET_ROOTFS_INITRAMFS
ADK_LINUX_X86_64 || \
ADK_LINUX_NATIVE
depends on !ADK_HARDWARE_VBOX
+ depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
select ADK_KERNEL_BLK_DEV_INITRD
select ADK_KERNEL_RD_XZ
help
@@ -672,6 +673,7 @@ config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
ADK_LINUX_X86_64 || \
ADK_LINUX_NATIVE
depends on !ADK_HARDWARE_VBOX
+ depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
select ADK_KERNEL_EXT2_FS
help
create an read-only initramfs system.
@@ -704,6 +706,7 @@ config ADK_TARGET_ROOTFS_NFSROOT
select ADK_KERNEL_IP_PNP
select ADK_KERNEL_IP_PNP_DHCP
depends on !ADK_HARDWARE_QEMU && !ADK_HARDWARE_VBOX
+ depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
help
Root filesystem mounted via NFS. (DHCP)
@@ -745,6 +748,7 @@ config ADK_TARGET_ROOTFS_MMC
depends on ADK_TARGET_WITH_MMC
select ADK_KERNEL_EXT2_FS
select ADK_KERNEL_SCSI
+ depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
help
Use this option if you have a MMC/SDCARD based system.
(ext2 filesystem is used.)
@@ -756,9 +760,17 @@ config ADK_TARGET_ROOTFS_ARCHIVE
endchoice
+config ADK_TARGET_ROOT_EXT4_RASPBERRY_PI
+ boolean
+ depends on ADK_TARGET_SYSTEM_RASPBERRY_PI && ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_EXT4_FS
+ default y
+ help
+ Compile EXT4 filesystem into kernel and use it as root filesystem.
+
choice
prompt "Root filesystem type"
-depends on ADK_TARGET_ROOTFS_ARCHIVE
+depends on ADK_TARGET_ROOTFS_ARCHIVE && !ADK_TARGET_SYSTEM_RASPBERRY_PI
default ADK_TARGET_ROOT_EXT2_FS
config ADK_TARGET_ROOT_EXT2
diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs
index 47723651b..5fddf472d 100644
--- a/target/linux/config/Config.in.fs
+++ b/target/linux/config/Config.in.fs
@@ -53,7 +53,7 @@ config ADK_KERNEL_SQUASHFS
config ADK_KERNEL_EXT2_FS
boolean
default y if ADK_TARGET_WITH_CF
- default y if ADK_TARGET_WITH_MMC
+ default y if ADK_TARGET_WITH_MMC && !ADK_TARGET_SYSTEM_RASPBERRY_PI
default n
config ADK_KPACKAGE_KMOD_EXT2_FS