summaryrefslogtreecommitdiffstats
path: root/target/linux/goldfish/image
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-18 17:53:53 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-18 17:53:53 +0000
commit13e1228de3690c8c831b9cccbe5a34674e743362 (patch)
tree0c747bbe3b9ccb30a4e4c5e277825d9a8ba914e4 /target/linux/goldfish/image
parent8f54e709747e711460f8a49acdcf86841920db8b (diff)
goldfish: R.I.P.
It is broken and it is not maintained by anyone since long time. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/goldfish/image')
-rw-r--r--target/linux/goldfish/image/Makefile40
-rw-r--r--target/linux/goldfish/image/run-emulator.sh3
-rw-r--r--target/linux/goldfish/image/ubinize.cfg14
3 files changed, 0 insertions, 57 deletions
diff --git a/target/linux/goldfish/image/Makefile b/target/linux/goldfish/image/Makefile
deleted file mode 100644
index 6cd57ba52..000000000
--- a/target/linux/goldfish/image/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# 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
-
-JFFS2_BLOCKSIZE=124k
-JFFS2OPTS += -n -s 2048
-
-define Image/BuildKernel
- $(TARGET_CROSS)objcopy -O binary -R .note -R .comment -S \
- $(LINUX_DIR)/arch/arm/boot/compressed/vmlinux $(BIN_DIR)/$(IMG_PREFIX)-kernel.bin
- $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS), \
- $(CP) $(LINUX_DIR)/usr/initramfs_data.cpio.gz, \
- gzip -c < $(LINUX_DIR)/usr/initramfs_data.cpio > \
- ) $(BIN_DIR)/$(IMG_PREFIX)-ramdisk.bin
- $(CP) ./run-emulator.sh $(BIN_DIR)/
-endef
-
-define Image/Build/jffs2-124k
- $(CP) ./ubinize.cfg $(KDIR)/
- (cd $(KDIR); \
- ubinize \
- -o $(BIN_DIR)/$(IMG_PREFIX)-$(1).img \
- -p 128KiB -m 2KiB -s 2KiB ubinize.cfg; \
- )
- nand_ecc \
- $(BIN_DIR)/$(IMG_PREFIX)-$(1).img \
- $(BIN_DIR)/$(IMG_PREFIX)-system.bin
-endef
-
-define Image/Build
- $(call Image/Build/$(1),$(1))
-endef
-
-
-$(eval $(call BuildImage))
diff --git a/target/linux/goldfish/image/run-emulator.sh b/target/linux/goldfish/image/run-emulator.sh
deleted file mode 100644
index c815a2313..000000000
--- a/target/linux/goldfish/image/run-emulator.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-PREFIX=openwrt-goldfish-
-touch ${PREFIX}data.bin
-./goldfish-qemu/emulator -skindir ./goldfish-qemu/skins -skin HVGA -sysdir . -ramdisk ${PREFIX}ramdisk.bin -kernel ${PREFIX}kernel.bin -system ${PREFIX}system.bin -data ${PREFIX}data.bin -show-kernel -partition-size 100 -qemu -append "console=ttyS0 ubi.mtd=0 root=/dev/mtdblock3 rootfstype=jffs2 bootdelay=1 init=/etc/preinit" -net nic,vlan=0,model=smc91c111 -net user,vlan=0,hostname=OpenWrt
diff --git a/target/linux/goldfish/image/ubinize.cfg b/target/linux/goldfish/image/ubinize.cfg
deleted file mode 100644
index d8d1fde01..000000000
--- a/target/linux/goldfish/image/ubinize.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-[rootfs]
-# Volume mode (other option is static)
-mode=ubi
-# Source image
-image=root.jffs2-124k
-# Volume ID in UBI image
-vol_id=0
-# Allow for dynamic resize
-vol_type=dynamic
-# Volume name
-vol_name=rootfs
-# Autoresize volume at first mount
-vol_flags=autoresize
-