aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/image/.svn/text-base
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/at91/image/.svn/text-base')
-rw-r--r--target/linux/at91/image/.svn/text-base/Config.in.svn-base37
-rw-r--r--target/linux/at91/image/.svn/text-base/Makefile.svn-base38
2 files changed, 75 insertions, 0 deletions
diff --git a/target/linux/at91/image/.svn/text-base/Config.in.svn-base b/target/linux/at91/image/.svn/text-base/Config.in.svn-base
new file mode 100644
index 0000000..917398f
--- /dev/null
+++ b/target/linux/at91/image/.svn/text-base/Config.in.svn-base
@@ -0,0 +1,37 @@
+config AT91_DFBOOT
+ bool "Build dataflashboot loader"
+ depends TARGET_at91
+ default n
+
+config AT91_UBOOT
+ bool "Build U-Boot bootloader"
+ depends TARGET_at91
+ default n
+
+config UBOOT_TARGET
+ string "U-Boot target board"
+ depends AT91_UBOOT
+ default "netusg20"
+ help
+ For all supported boards there are ready-to-use default
+ configurations available; just type "<board_name>".
+
+config UBOOT_IPADDR
+ string "IP Address for U-Boot"
+ depends AT91_UBOOT
+ default "192.168.0.178"
+ help
+ IP address of device to be used in U-Boot
+
+config UBOOT_SERVERIP
+ string "IP Address of TFTP server"
+ depends AT91_UBOOT
+ default "192.168.0.232"
+ help
+ IP address of TFTP server for U-Boot
+
+config FLEXIBITY_ROOT
+ bool "Build Flexibity RootFS (with embedded kernel)"
+ depends TARGET_at91_flexibity
+ default n
+
diff --git a/target/linux/at91/image/.svn/text-base/Makefile.svn-base b/target/linux/at91/image/.svn/text-base/Makefile.svn-base
new file mode 100644
index 0000000..97723bb
--- /dev/null
+++ b/target/linux/at91/image/.svn/text-base/Makefile.svn-base
@@ -0,0 +1,38 @@
+#
+# Copyright (C) 2006-2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/image.mk
+
+define Build/Clean
+ $(MAKE) -C u-boot clean
+endef
+
+define Build/Compile
+ if [ $(CONFIG_AT91_UBOOT) ]; then \
+ $(MAKE) -C u-boot compile; \
+ fi
+endef
+
+define Image/Prepare
+endef
+
+define Image/BuildKernel
+ mkdir -p $(BIN_DIR)
+ mkimage -A arm -T kernel -C none -a 0x20008000 -e 0x20008000 -n linux-2.6 \
+ -d $(LINUX_DIR)/arch/arm/boot/Image $(BIN_DIR)/$(IMG_PREFIX)-uImage
+ if [ $(CONFIG_FLEXIBITY_ROOT) ]; then \
+ $(INSTALL_BIN) $(BIN_DIR)/$(IMG_PREFIX)-uImage $(TARGET_DIR)/uImage ; \
+ fi
+endef
+
+define Image/Build
+ $(call Image/Build/$(1),$(1))
+ mkdir -p $(BIN_DIR)
+ cp $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-root.$(1)
+endef
+
+$(eval $(call BuildImage))