summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-05-20 18:55:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-05-20 18:55:17 +0200
commit896b6bb853f900eaebd56447df16958bf15916db (patch)
tree49f3c2c7a949b9f233375a890e5752aab4a87d6a /mk
parent8a325b2af866300353e500e9693fc08991df52b7 (diff)
activate and refresh support for rb411/rb433
after n0-1 helped to find a way to fix my broken rb433 by using the primary bootloader via shortening a jumper I got the motivation to get this target working again. Summarize both targets to newly created rb4xx target.
Diffstat (limited to 'mk')
-rw-r--r--mk/rootfs.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/rootfs.mk b/mk/rootfs.mk
index b91a58629..2e3bd52b0 100644
--- a/mk/rootfs.mk
+++ b/mk/rootfs.mk
@@ -10,6 +10,11 @@ endef
ifeq ($(ADK_LINUX_MIPS_RB532),y)
ROOTFS:= root=/dev/sda2
+MTDDEV:= root=/dev/mtdblock1
+endif
+
+ifeq ($(ADK_LINUX_MIPS_RB433),y)
+MTDDEV:= root=/dev/mtdblock2
endif
ifeq ($(ADK_LINUX_ARM_FOXBOARD),y)
@@ -22,7 +27,7 @@ $(eval $(call rootfs_template,archive,ARCHIVE))
$(eval $(call rootfs_template,initramfs,INITRAMFS))
$(eval $(call rootfs_template,initramfs-piggyback,INITRAMFS_PIGGYBACK))
$(eval $(call rootfs_template,squashfs,SQUASHFS))
-$(eval $(call rootfs_template,yaffs,YAFFS,root=/dev/mtdblock1 panic=3))
+$(eval $(call rootfs_template,yaffs,YAFFS,$(MTDDEV) panic=3))
$(eval $(call rootfs_template,nfsroot,NFSROOT,root=/dev/nfs ip=dhcp init=/init))
$(eval $(call rootfs_template,encrypted,ENCRYPTED))