Add basic framework for the openmoko platform. The kernel does build and boot, but the rootfs build process is not completely implemented, yet.

SVN-Revision: 13605
This commit is contained in:
Michael Büsch 2008-12-11 22:20:51 +00:00
parent 1e9300de8b
commit e2fb36c865
7 changed files with 133894 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=openmoko
BOARDNAME:=Openmoko
FEATURES:=squashfs usb
LINUX_VERSION:=2.6.24.7
include $(INCLUDE_DIR)/target.mk
KERNELNAME:="uImage"
define Target/Description
Build fimware images for the Openmoko Smartphone.
endef
$(eval $(call BuildTarget))

View File

@ -0,0 +1,6 @@
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop
tts/0::askfirst:/bin/ash --login
ttyS0::askfirst:/bin/ash --login
ttyS2::respawn:/sbin/getty -L ttyS2 115200 vt100

View File

@ -0,0 +1,3 @@
src snapshots http://vlink.guthrie.homedns.org/vlink3
dest root /
dest ram /tmp

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,28 @@
#
# Copyright (C) 2008 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
endef
define Build/Compile
endef
define Image/Prepare
cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage
endef
define Image/BuildKernel
cp $(KDIR)/uImage $(BIN_DIR)/openwrt-$(BOARD)-uImage
endef
define Image/Build
endef
$(eval $(call BuildImage))

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/openmoko-gta02
NAME:=Openmoko GTA-02 (default)
endef
define Profile/openmoko-gta02/Description
Package set compatible with the Openmoko GTA-02 hardware
endef
$(eval $(call Profile,openmoko-gta02))