[oe-commits] org.oe.dev merge of 'cf8866589186429f04cb84d5aa2437a100e6dcb9'
pfalcon commit
openembedded-commits at lists.openembedded.org
Sun Dec 16 16:36:45 UTC 2007
merge of 'cf8866589186429f04cb84d5aa2437a100e6dcb9'
and 'e52ae81072be7ee799a55832f18200f23bff5339'
Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: dee5d8b7b54d72358d0edb5fc940ae498a6b4939
ViewMTN: http://monotone.openembedded.org/revision/info/dee5d8b7b54d72358d0edb5fc940ae498a6b4939
Files:
1
packages/images/base-image.bb
conf/distro/include/moko-autorev.inc
conf/machine/hx4700.conf
conf/machine/magician.conf
packages/base-files/base-files/fic-gta01/fstab
packages/base-files/base-files/fic-gta02/fstab
packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb
classes/package_ipk.bbclass
Diffs:
#
# mt diff -rcf8866589186429f04cb84d5aa2437a100e6dcb9 -rdee5d8b7b54d72358d0edb5fc940ae498a6b4939
#
#
#
# add_file "packages/images/base-image.bb"
# content [b505988725f2bce81ebd364549ae0d4a1bcfca4f]
#
# patch "conf/distro/include/moko-autorev.inc"
# from [4134eefa163f900e3bbf5f1853477a6b6f109033]
# to [936fa5b0bafa49c816782957d4d6d7de12cee042]
#
# patch "conf/machine/hx4700.conf"
# from [1181931b2a5904b7567bc19b2442b84fec80033a]
# to [7073f22f2c781c6ef6eaf11fac2de5ae77d66f5b]
#
# patch "conf/machine/magician.conf"
# from [1ae98222e011e1527f45541f6e78db64c18e0824]
# to [4260af3d8d3a880db6afad5b346400cd59e1fd77]
#
# patch "packages/base-files/base-files/fic-gta01/fstab"
# from [c6da62315357051beef22facaa950d104eb7fd88]
# to [2fcbd6c217ae7674edb29400178b9a37722b27c5]
#
# patch "packages/base-files/base-files/fic-gta02/fstab"
# from [c6da62315357051beef22facaa950d104eb7fd88]
# to [2fcbd6c217ae7674edb29400178b9a37722b27c5]
#
# patch "packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb"
# from [9ca964cafabb093788ba8d42e42e6cd2c4c01437]
# to [e3fd4a716a5bcfff74dd72a3a454d8c2ce401e7d]
#
============================================================
--- packages/images/base-image.bb b505988725f2bce81ebd364549ae0d4a1bcfca4f
+++ packages/images/base-image.bb b505988725f2bce81ebd364549ae0d4a1bcfca4f
@@ -0,0 +1,76 @@
+# This image is intended to provide a basic configuration that allows
+# you to access a newly flashed device over the network or via the
+# native console, and use ipkg to install (from feeds accessible via
+# the network) any further features you require into internal flash
+# memory or onto attached storage.
+
+# It should be as small as possible, while still achieving that goal.
+
+# The rationale for naming it 'base-image' is that this image is the
+# base upon which you can install any other functionality you desire.
+
+# See the end of this file for further rationale and policy regarding
+# the contents of this image, and the criteria which are used to make
+# decisions about adding and removing packages from this image.
+
+# Although it is only fully tested with the Angstrom distro, this
+# image is intended to be distro-agnostic.
+
+DISTRO_SSH_DAEMON ?= "dropbear"
+DISTRO_PACKAGE_MANAGER ?= "ipkg ipkg-collateral"
+
+DEPENDS = "\
+ task-boot \
+ task-distro-base task-machine-base \
+ ${DISTRO_SSH_DAEMON} \
+ ${DISTRO_PACKAGE_MANAGER} \
+ task-base-usbhost task-base-ext2 \
+ "
+
+IMAGE_INSTALL = "\
+ task-boot \
+ task-distro-base task-machine-base \
+ ${DISTRO_SSH_DAEMON} \
+ ${DISTRO_PACKAGE_MANAGER} \
+ task-base-usbhost task-base-ext2 \
+ "
+
+export IMAGE_BASENAME = "base-image"
+IMAGE_LINGUAS = ""
+
+inherit image
+
+# Key features of this image are:
+
+# 1) Must be able to mount attached storage devices like SD cards, CF
+# cards, internal disks, external USB disks, etc. Should support
+# various filesystem choices, but ext2 at a minimum. The rationale
+# for this is that you need storage to be able to install significant
+# new functionality.
+
+# 2) Must be able to boot from internal flash, or directly from a
+# filesystem stored on the attached storage. The rationale for this
+# is that you will want to boot from attached storage instead of
+# messing around with ipkg-link.
+
+# Rationale and policy:
+
+# 'base-image' is the smallest possible image which allows you to ssh
+# into a device via it's native network interface, and install
+# packages from feeds across the network into internal flash or onto
+# an attached storage device.
+
+# It is "larger" than minimal-image (which is strictly only that which
+# is required to boot and get ssh access to the device, and nothing
+# else), but is "smaller" than console-image (which has a whole lot of
+# stuff in it which could easily be ipkg installed after boot rather
+# than being in the initial rootfs).
+
+# It is required to always be small enough to fit in the internal
+# flash rootfs partition of an NSLU2 (as an example of the smaller end
+# of flash sizes that OE supports), and features will be removed from
+# the image to ensure that this is always the case. Any feature that
+# can be installed over the network using the package manager after
+# the first boot is always fair game for removal at any time, and
+# patches are welcome to make base-image as small as possible while
+# still retaining the ability to subsequently install that feature.
============================================================
--- conf/distro/include/moko-autorev.inc 4134eefa163f900e3bbf5f1853477a6b6f109033
+++ conf/distro/include/moko-autorev.inc 936fa5b0bafa49c816782957d4d6d7de12cee042
@@ -27,8 +27,6 @@ SRCREV_pn-openmoko-panel-clock ?= "${AUT
SRCREV_pn-openmoko-panel-battery ?= "${AUTOREV}"
SRCREV_pn-openmoko-panel-bt ?= "${AUTOREV}"
SRCREV_pn-openmoko-panel-clock ?= "${AUTOREV}"
-SRCREV_pn-openmoko-panel-demo ?= "${AUTOREV}"
-SRCREV_pn-openmoko-panel-demo-simple ?= "${AUTOREV}"
SRCREV_pn-openmoko-panel-gps ?= "${AUTOREV}"
SRCREV_pn-openmoko-panel-gsm ?= "${AUTOREV}"
SRCREV_pn-openmoko-panel-mainmenu ?= "${AUTOREV}"
@@ -51,4 +49,3 @@ SRCREV_pn-usbpath-native ?= "${AUTOREV}"
SRCREV_pn-dfu-util-native ?= "${AUTOREV}"
SRCREV_pn-usbpath ?= "${AUTOREV}"
SRCREV_pn-usbpath-native ?= "${AUTOREV}"
-
============================================================
--- conf/machine/hx4700.conf 1181931b2a5904b7567bc19b2442b84fec80033a
+++ conf/machine/hx4700.conf 7073f22f2c781c6ef6eaf11fac2de5ae77d66f5b
@@ -1,5 +1,5 @@
#@TYPE: Machine
-#@NAME: iPAQ hx47xx
+#@NAME: HP iPAQ hx47xx
#@DESCRIPTION: Machine configuration for the hx4700 iPAQ with a pxa27x CPU
#
@@ -19,7 +19,9 @@ MACHINE_DISPLAY_HEIGHT_PIXELS = "640"
MACHINE_GUI_CLASS = "bigscreen"
MACHINE_DISPLAY_WIDTH_PIXELS = "480"
MACHINE_DISPLAY_HEIGHT_PIXELS = "640"
-MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usbgadget screen"
+MACHINE_DISPLAY_ORIENTATION = "0"
+MACHINE_DISPLAY_PPI = "200"
+MACHINE_FEATURES = "alsa apm bluetooth irda pcmcia screen touchscreen usbgadget wifi"
MACHINE_FEATURES += "iwmmxt"
#
@@ -35,13 +37,13 @@ MACHINE_EXTRA_RRECOMMENDS = "\
MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware"
MACHINE_EXTRA_RRECOMMENDS = "\
- kernel-module-i2c-pxa \
- kernel-module-pxa27x-voltage \
- kernel-module-pxa27x-voltage-max158xx \
- kernel-module-acx \
- kernel-module-hx4700-acx \
- kernel-module-hx4700-bt \
- kernel-module-snd-hx4700-audio"
+ kernel-module-i2c-pxa \
+ kernel-module-pxa27x-voltage \
+ kernel-module-pxa27x-voltage-max158xx \
+ kernel-module-acx \
+ kernel-module-hx4700-acx \
+ kernel-module-hx4700-bt \
+ kernel-module-snd-hx4700-audio"
#write out a reflash.ctl with the appriate entries for the rootfs, the ones for the kernel should already be there
EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
============================================================
--- conf/machine/magician.conf 1ae98222e011e1527f45541f6e78db64c18e0824
+++ conf/machine/magician.conf 4260af3d8d3a880db6afad5b346400cd59e1fd77
@@ -24,13 +24,7 @@ MACHINE_FEATURES += "iwmmxt"
MACHINE_FEATURES = "alsa apm bluetooth irda kernel26 phone screen touchscreen usbgadget usbhost"
MACHINE_FEATURES += "iwmmxt"
-
#
-# We don't support jffs2 installations (yet).
-#
-IMAGE_FSTYPES = "tar.bz2"
-
-#
# Software/packages selection
#
PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
@@ -44,17 +38,18 @@ MACHINE_EXTRA_RRECOMMENDS = " \
kernel-module-i2c-pxa \
kernel-module-pxa27x-voltage \
kernel-module-pxa27x-voltage-max158xx \
- kernel-module-leds-magician \
kernel-module-magician-ts \
- kernel-module-magician-flash \
- kernel-module-magician-ds1wm \
- kernel-module-magician-battery \
kernel-module-magician-phone \
kernel-module-magician-pm \
kernel-module-n-tihtc \
kernel-module-snd-soc-magician"
+#write out a reflash.ctl with the appriate entries for the rootfs, the ones for the kernel should already be there
+EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
+ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
+ -e 256KiB -p ; echo '${IMAGE_NAME} ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"
+
#
# Modules autoload and other boot properties
#
@@ -63,8 +58,6 @@ module_autoload_pxa27x_udc = "pxa27x_udc
module_autoload_snd-pcm-oss = "snd-pcm-oss"
module_autoload_snd-mixer-oss = "snd-mixer-oss"
module_autoload_pxa27x_udc = "pxa27x_udc"
-module_autoload_magician_ds1wm = "magician_ds1wm"
-module_autoload_magician-battery = "magician-battery"
module_autoload_magician_phone = "magician_phone"
module_autoload_magician_pm = "magician_pm"
module_autoload_n_tihtc = "n_tihtc"
============================================================
--- packages/base-files/base-files/fic-gta01/fstab c6da62315357051beef22facaa950d104eb7fd88
+++ packages/base-files/base-files/fic-gta01/fstab 2fcbd6c217ae7674edb29400178b9a37722b27c5
@@ -6,10 +6,8 @@ proc /proc proc defaults 0 0
# usb?
# Temporary
-tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/volatile tmpfs mode=0755 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
-tmpfs /media/ram tmpfs defaults 0 0
# microSD slot
/dev/mmcblk0p1 /media/card auto defaults,async,noauto 0 0
============================================================
--- packages/base-files/base-files/fic-gta02/fstab c6da62315357051beef22facaa950d104eb7fd88
+++ packages/base-files/base-files/fic-gta02/fstab 2fcbd6c217ae7674edb29400178b9a37722b27c5
@@ -6,10 +6,8 @@ proc /proc proc defaults 0 0
# usb?
# Temporary
-tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/volatile tmpfs mode=0755 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
-tmpfs /media/ram tmpfs defaults 0 0
# microSD slot
/dev/mmcblk0p1 /media/card auto defaults,async,noauto 0 0
============================================================
--- packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb 9ca964cafabb093788ba8d42e42e6cd2c4c01437
+++ packages/openmoko-spaces/openmoko-toolchain-scripts_svn.bb e3fd4a716a5bcfff74dd72a3a454d8c2ce401e7d
@@ -1,10 +1,10 @@ SRC_URI += "svn://svn.openmoko.org/trunk
DESCRIPTION = "Convenient scripts to be used with openmoko toolchain."
PACKAGE_ARCH = "all"
SRC_URI = "svn://svn.openmoko.org/developers/john_lee;module=toolkit;proto=http"
SRC_URI += "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/applications;module=openmoko-sample2;proto=http"
-SRCREV="3563"
+SRCREV="3630"
FILES_${PN} = "/"
do_install () {
#
# mt diff -re52ae81072be7ee799a55832f18200f23bff5339 -rdee5d8b7b54d72358d0edb5fc940ae498a6b4939
#
#
#
# patch "classes/package_ipk.bbclass"
# from [a8bf45567c155d0584cbfbffdacb48a0add41657]
# to [026a54435a436ef29405fa6b02afea519cc76ce7]
#
============================================================
--- classes/package_ipk.bbclass a8bf45567c155d0584cbfbffdacb48a0add41657
+++ classes/package_ipk.bbclass 026a54435a436ef29405fa6b02afea519cc76ce7
@@ -323,4 +323,5 @@ do_package_write_ipk[dirs] = "${D}"
bb.build.exec_func("do_package_ipk", d)
}
do_package_write_ipk[dirs] = "${D}"
+do_package_write_ipk[depends] = "ipkg-utils-native:do_populate_staging"
addtask package_write_ipk before do_package_write after do_package
More information about the Openembedded-commits
mailing list