Re: Hardware Packs v2
On 20 January 2011 05:15, Scott Bambrough scott.bambro...@linaro.orgwrote: On Wed, 2011-01-19 at 15:02 -0600, James Westby wrote: An illustration of what I mean: if we add linux_image and ignore it, and then use it within Android hwpacks, someone with the old code will try and use one of those new hwpacks, and get an unbootable Android image. When that happens someone will say we should have the tool warn people when it can't do what they ask, which we could have done now with a format bump, or by having a more complete plan than ignore the field. I have to jump in here. Hardware packs for Android or ChromeOS seem ridiculous to me. If we want to be accepted by mainstream developers for these OS, then we need to conform to the accepted norm for that community. Imposing hardware packs in these two projects is just likely to get our efforts ignored. Scott I agree with Scott. There is no such thing in Android. The Android build system creates a number of images. A boot image (depending of configuration), a system image and a user data image. A hardware pack would probably be a subset of the boot and system image. It would be hard to introduce a hardware pack for Android without doing major changes. We should not fork Android and become a new Android distribution. We should try to be as close to AOSP as possible. /Patrik -- Scott Bambrough Technical Director, Landing Teams ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [linaro-android][PATCH] device/linaro/u8500href: Install 0xbench native applications
Hi, Looks good to me. I will push it to git.linaro.org. /Patrik On 15 February 2011 05:30, Jeremy Chang jer...@0xlab.org wrote: From 78b170843eadf0e72d6b0d4cb0fc5f3be5edcae8 Mon Sep 17 00:00:00 2001 From: Jeremy Chang jer...@0xlab.org Date: Tue, 15 Feb 2011 12:17:16 +0800 Subject: [PATCH] Install 0xbench native applications Signed-off-by: Jeremy Chang jer...@0xlab.org --- ZeroXBenchmark.mk | 96 + u8500href.mk |5 ++- 2 files changed, 100 insertions(+), 1 deletions(-) create mode 100644 ZeroXBenchmark.mk diff --git a/ZeroXBenchmark.mk b/ZeroXBenchmark.mk new file mode 100644 index 000..e78047d --- /dev/null +++ b/ZeroXBenchmark.mk @@ -0,0 +1,96 @@ +UNIXBENCH_BENCH_APPS := \ +bench_ubench_hanoi \ +bench_ubench_syscall\ +bench_ubench_context1 \ +bench_ubench_pipe \ +bench_ubench_spawn \ +bench_ubench_execl \ +bench_ubench_looper \ +bench_ubench_fstime \ +bench_ubench_arithoh\ +bench_ubench_register \ +bench_ubench_short \ +bench_ubench_int\ +bench_ubench_long \ +bench_ubench_float \ +bench_ubench_double \ +bench_ubench_dhry2 \ +bench_ubench_dhry2reg \ +bench_ubench_whetstone-double + +LIBMICRO_BENCH_APPS := \ +bench_getpid\ +bench_bind \ +bench_cascade_mutex \ +bench_cascade_fcntl \ +bench_cascade_flock \ +bench_chdir \ +bench_close \ +bench_close_tcp \ +bench_connection\ +bench_dup \ +bench_exec \ +bench_exit \ +bench_exp \ +bench_fcntl \ +bench_fcntl_ndelay \ +bench_file_lock \ +bench_fork \ +bench_getenv\ +bench_gettimeofday \ +bench_getpeername \ +bench_getrusage \ +bench_getsockname \ +bench_isatty\ +bench_listen\ +bench_localtime_r \ +bench_log \ +bench_longjmp \ +bench_lrand48 \ +bench_lseek \ +bench_malloc\ +bench_memcpy\ +bench_memmove \ +bench_memrand \ +bench_memset\ +bench_mktime\ +bench_mprotect \ +bench_mmap \ +bench_msync \ +bench_munmap\ +bench_mutex \ +bench_nop \ +bench_open \ +bench_pipe \ +bench_poll \ +bench_pread \ +bench_pthread_create\ +bench_pwrite\ +bench_read \ +bench_realpath \ +bench_recurse \ +bench_select\ +bench_setsockopt\ +bench_sigaction \ +bench_siglongjmp\ +bench_signal\ +bench_sigprocmask \ +bench_socket\ +bench_socketpair\ +bench_stat \ +bench_strcasecmp\ +bench_strchr\ +bench_strcmp\ +bench_strcpy\ +bench_strftime \ +bench_strlen\ +bench_strtol\ +bench_system\ +bench_time \ +bench_times \ +bench_write \ +bench_writev + +ZEROXBENCHMARK_NATIVE_APPS := \ +$(UNIXBENCH_BENCH_APPS) \ +$(LIBMICRO_BENCH_APPS) diff --git a/u8500href.mk b/u8500href.mk index 3efd467..37a9eab 100644 --- a/u8500href.mk +++ b/u8500href.mk @@ -1,5 +1,7 @@ # The beagleboard product that is specialized for beagleboard. +include $(LOCAL_PATH)/ZeroXBenchmark.mk + PRODUCT_PACKAGES := \ ZeroXBenchmark \ libmicro \ @@ -22,7 +24,8 @@ PRODUCT_PACKAGES := \ Sync \ Updater \ CalendarProvider \ -SyncProvider +SyncProvider \ +$(ZEROXBENCHMARK_NATIVE_APPS) $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [linaro-android][PATCH] device/linaro/pandaboard: Install 0xbench native applications
Hi, Looks good to me. I will push it to git.linaro.org. /Patrik On 15 February 2011 05:28, Jeremy Chang jer...@0xlab.org wrote: From 8d63ba7ae90b3629dd60eeab12fdc28a8dcc58e7 Mon Sep 17 00:00:00 2001 From: Jeremy Chang jer...@0xlab.org Date: Tue, 15 Feb 2011 12:10:02 +0800 Subject: [PATCH] Install 0xbench native applications Signed-off-by: Jeremy Chang jer...@0xlab.org --- ZeroXBenchmark.mk | 96 + pandaboard.mk |5 ++- 2 files changed, 100 insertions(+), 1 deletions(-) create mode 100644 ZeroXBenchmark.mk diff --git a/ZeroXBenchmark.mk b/ZeroXBenchmark.mk new file mode 100644 index 000..e78047d --- /dev/null +++ b/ZeroXBenchmark.mk @@ -0,0 +1,96 @@ +UNIXBENCH_BENCH_APPS := \ +bench_ubench_hanoi \ +bench_ubench_syscall\ +bench_ubench_context1 \ +bench_ubench_pipe \ +bench_ubench_spawn \ +bench_ubench_execl \ +bench_ubench_looper \ +bench_ubench_fstime \ +bench_ubench_arithoh\ +bench_ubench_register \ +bench_ubench_short \ +bench_ubench_int\ +bench_ubench_long \ +bench_ubench_float \ +bench_ubench_double \ +bench_ubench_dhry2 \ +bench_ubench_dhry2reg \ +bench_ubench_whetstone-double + +LIBMICRO_BENCH_APPS := \ +bench_getpid\ +bench_bind \ +bench_cascade_mutex \ +bench_cascade_fcntl \ +bench_cascade_flock \ +bench_chdir \ +bench_close \ +bench_close_tcp \ +bench_connection\ +bench_dup \ +bench_exec \ +bench_exit \ +bench_exp \ +bench_fcntl \ +bench_fcntl_ndelay \ +bench_file_lock \ +bench_fork \ +bench_getenv\ +bench_gettimeofday \ +bench_getpeername \ +bench_getrusage \ +bench_getsockname \ +bench_isatty\ +bench_listen\ +bench_localtime_r \ +bench_log \ +bench_longjmp \ +bench_lrand48 \ +bench_lseek \ +bench_malloc\ +bench_memcpy\ +bench_memmove \ +bench_memrand \ +bench_memset\ +bench_mktime\ +bench_mprotect \ +bench_mmap \ +bench_msync \ +bench_munmap\ +bench_mutex \ +bench_nop \ +bench_open \ +bench_pipe \ +bench_poll \ +bench_pread \ +bench_pthread_create\ +bench_pwrite\ +bench_read \ +bench_realpath \ +bench_recurse \ +bench_select\ +bench_setsockopt\ +bench_sigaction \ +bench_siglongjmp\ +bench_signal\ +bench_sigprocmask \ +bench_socket\ +bench_socketpair\ +bench_stat \ +bench_strcasecmp\ +bench_strchr\ +bench_strcmp\ +bench_strcpy\ +bench_strftime \ +bench_strlen\ +bench_strtol\ +bench_system\ +bench_time \ +bench_times \ +bench_write \ +bench_writev + +ZEROXBENCHMARK_NATIVE_APPS := \ +$(UNIXBENCH_BENCH_APPS) \ +$(LIBMICRO_BENCH_APPS) diff --git a/pandaboard.mk b/pandaboard.mk index 2aca6a5..b7aab1c 100644 --- a/pandaboard.mk +++ b/pandaboard.mk @@ -1,5 +1,7 @@ # The pandaboard product that is specialized for pandaboard. +include $(LOCAL_PATH)/ZeroXBenchmark.mk + PRODUCT_PACKAGES := \ ZeroXBenchmark \ libmicro \ @@ -22,7 +24,8 @@ PRODUCT_PACKAGES := \ Sync \ Updater \ CalendarProvider \ -SyncProvider +SyncProvider \ +$(ZEROXBENCHMARK_NATIVE_APPS) $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [linaro-android][PATCH] Install 0xbench native applications
Hi, Looks good to me. I will push it to git.linaro.org. /Patrik On 14 February 2011 11:08, Jeremy Chang jer...@0xlab.org wrote: From 9a8781bb34fe1ff3463a1dc48f3b33b43e2f Mon Sep 17 00:00:00 2001 From: Jeremy Chang jer...@0xlab.org Date: Sun, 13 Feb 2011 20:49:26 +0800 Subject: [PATCH] Install 0xbench native applications Signed-off-by: Jeremy Chang jer...@0xlab.org --- ZeroXBenchmark.mk | 96 + beagleboard.mk|6 +++- 2 files changed, 101 insertions(+), 1 deletions(-) create mode 100644 ZeroXBenchmark.mk diff --git a/ZeroXBenchmark.mk b/ZeroXBenchmark.mk new file mode 100644 index 000..e78047d --- /dev/null +++ b/ZeroXBenchmark.mk @@ -0,0 +1,96 @@ +UNIXBENCH_BENCH_APPS := \ +bench_ubench_hanoi \ +bench_ubench_syscall\ +bench_ubench_context1 \ +bench_ubench_pipe \ +bench_ubench_spawn \ +bench_ubench_execl \ +bench_ubench_looper \ +bench_ubench_fstime \ +bench_ubench_arithoh\ +bench_ubench_register \ +bench_ubench_short \ +bench_ubench_int\ +bench_ubench_long \ +bench_ubench_float \ +bench_ubench_double \ +bench_ubench_dhry2 \ +bench_ubench_dhry2reg \ +bench_ubench_whetstone-double + +LIBMICRO_BENCH_APPS := \ +bench_getpid\ +bench_bind \ +bench_cascade_mutex \ +bench_cascade_fcntl \ +bench_cascade_flock \ +bench_chdir \ +bench_close \ +bench_close_tcp \ +bench_connection\ +bench_dup \ +bench_exec \ +bench_exit \ +bench_exp \ +bench_fcntl \ +bench_fcntl_ndelay \ +bench_file_lock \ +bench_fork \ +bench_getenv\ +bench_gettimeofday \ +bench_getpeername \ +bench_getrusage \ +bench_getsockname \ +bench_isatty\ +bench_listen\ +bench_localtime_r \ +bench_log \ +bench_longjmp \ +bench_lrand48 \ +bench_lseek \ +bench_malloc\ +bench_memcpy\ +bench_memmove \ +bench_memrand \ +bench_memset\ +bench_mktime\ +bench_mprotect \ +bench_mmap \ +bench_msync \ +bench_munmap\ +bench_mutex \ +bench_nop \ +bench_open \ +bench_pipe \ +bench_poll \ +bench_pread \ +bench_pthread_create\ +bench_pwrite\ +bench_read \ +bench_realpath \ +bench_recurse \ +bench_select\ +bench_setsockopt\ +bench_sigaction \ +bench_siglongjmp\ +bench_signal\ +bench_sigprocmask \ +bench_socket\ +bench_socketpair\ +bench_stat \ +bench_strcasecmp\ +bench_strchr\ +bench_strcmp\ +bench_strcpy\ +bench_strftime \ +bench_strlen\ +bench_strtol\ +bench_system\ +bench_time \ +bench_times \ +bench_write \ +bench_writev + +ZEROXBENCHMARK_NATIVE_APPS := \ +$(UNIXBENCH_BENCH_APPS) \ +$(LIBMICRO_BENCH_APPS) diff --git a/beagleboard.mk b/beagleboard.mk index c10e0fa..f810f36 100644 --- a/beagleboard.mk +++ b/beagleboard.mk @@ -1,5 +1,7 @@ # The beagleboard product that is specialized for beagleboard. +include $(LOCAL_PATH)/ZeroXBenchmark.mk + PRODUCT_PACKAGES := \ ZeroXBenchmark \ libmicro \ @@ -22,7 +24,9 @@ PRODUCT_PACKAGES := \ Sync \ Updater \ CalendarProvider \ -SyncProvider +SyncProvider \ +$(ZEROXBENCHMARK_NATIVE_APPS) + $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Android: [PATCH 1/2] Added generic hook for loading device specific tasks.
From 2198bdd81fff5e3878a9b2a0eed5c7b828114282 Mon Sep 17 00:00:00 2001 From: Patrik Ryd patrik@linaro.org Date: Mon, 14 Feb 2011 15:29:58 +0100 Subject: [PATCH 1/2] Added generic hook for loading device specific tasks. Change-Id: I98766a2f05ceda931fe94a668ef2950a79297ced Signed-off-by: Patrik Ryd patrik@linaro.org --- core/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/core/Makefile b/core/Makefile index d60723e..beb845d 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1402,4 +1402,5 @@ $(INTERNAL_FINDBUGS_HTML_TARGET): $(INTERNAL_FINDBUGS_XML_TARGET) # - # These are some additional build tasks that need to be run. include $(sort $(wildcard $(BUILD_SYSTEM)/tasks/*.mk)) --include $(sort $(wildcard vendor/*/build/tasks/*.mk)) +include $(sort $(wildcard vendor/*/build/tasks/*.mk)) +include $(sort $(wildcard device/*/build/tasks/*.mk)) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Android: [PATCH] Trigger build of tarballs for Linaro boards.
From f7f406cc3e6e3c477c5457b0fec00dad60568815 Mon Sep 17 00:00:00 2001 From: Patrik Ryd patrik@linaro.org Date: Thu, 17 Feb 2011 17:38:53 +0100 Subject: [PATCH] Trigger build of tarballs for Linaro boards. --- tasks/tarballs.mk | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 tasks/tarballs.mk diff --git a/tasks/tarballs.mk b/tasks/tarballs.mk new file mode 100644 index 000..b8b2f17 --- /dev/null +++ b/tasks/tarballs.mk @@ -0,0 +1,22 @@ +# +# Trigger build of tar balls for the linaro boards +# + +#Adding us as dependent on the main target. I bit ugly, but... +droidcore: linaro-tarballs + +#Adding some dependecies. Need all files before creatin tar balls +systemtarball-nodeps: $(BUILT_SYSTEMIMAGE) + +userdatatarball-nodeps: $(BUILT_USERDATAIMAGE_TARGET) + +boottarball-nodeps: $(INSTALLED_BOOTIMAGE_TARGET) + +linaro-tarballs: systemtarball-nodeps userdatatarball-nodeps + @echo Tarball for Linaro build + +ifneq ($(strip $(TARGET_NO_KERNEL)),true) +linaro-tarballs: boottarball-nodeps +endif + + -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Android: [PATCH 2/2] Create tarballs
From 2db23c765baa398e1eade847d0552cb1993b0ce9 Mon Sep 17 00:00:00 2001 From: Patrik Ryd patrik@linaro.org Date: Tue, 15 Feb 2011 14:49:12 +0100 Subject: [PATCH 2/2] Create tarballs Fixed unassiged varibles when creating tarballs. Change-Id: I73ff82e290041e848188c699edfbfb1c1c6de100 --- core/Makefile |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/Makefile b/core/Makefile index beb845d..7e9aa12 100644 --- a/core/Makefile +++ b/core/Makefile @@ -782,7 +782,7 @@ endif system_tar := $(PRODUCT_OUT)/system.tar INSTALLED_SYSTEMTARBALL_TARGET := $(system_tar).$(SYSTEM_TARBALL_FORMAT) -$(INSTALLED_SYSTEMTARBALL_TARGET): PRIVATE_SYSTEM_TAR := $(system_tar) +PRIVATE_SYSTEM_TAR := $(system_tar) $(INSTALLED_SYSTEMTARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_SYSTEMIMAGE_FILES) $(build-systemtarball-target) @@ -798,7 +798,7 @@ stnod: systemtarball-nodeps ### ## boot tarball define build-boottarball-target -$(hide) echo Target boot fs tarball: $(INSTALLED_BOOTTARBALL_TARGET) +$(hide) echo Target boot fs tarball: $(INSTALLED_BOOTTARBALL_TARGET) $(hide) mkdir -p $(PRODUCT_OUT)/boot $(hide) cp -f $(INTERNAL_BOOTIMAGE_FILES) $(PRODUCT_OUT)/boot/. $(hide) echo $(BOARD_KERNEL_CMDLINE) $(PRODUCT_OUT)/boot/cmdline @@ -813,7 +813,7 @@ endif boot_tar := $(PRODUCT_OUT)/boot.tar INSTALLED_BOOTTARBALL_TARGET := $(boot_tar).$(BOOT_TARBALL_FORMAT) -$(INSTALLED_BOOTTARBALL_TARGET): PRIVATE_BOOT_TAR := $(boot_tar) +PRIVATE_BOOT_TAR := $(boot_tar) $(INSTALLED_BOOTTARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_BOOTIMAGE_FILES) $(build-boottarball-target) @@ -872,7 +872,7 @@ endef userdata_tar := $(PRODUCT_OUT)/userdata.tar INSTALLED_USERDATATARBALL_TARGET := $(userdata_tar).bz2 -$(INSTALLED_USERDATATARBALL_TARGET): PRIVATE_USERDATA_TAR := $(userdata_tar) +PRIVATE_USERDATA_TAR := $(userdata_tar) $(INSTALLED_USERDATATARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_USERDATAIMAGE_FILES) $(build-userdatatarball-target) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH] Added generic hook for loading device specific tasks.
From 67fed63cd8449bea6f8704c66646ca9e26fe24e3 Mon Sep 17 00:00:00 2001 From: Patrik Ryd patrik@linaro.org Date: Mon, 14 Feb 2011 15:29:58 +0100 Subject: [PATCH] Added generic hook for loading device specific tasks. Change-Id: I6216195edd6a43e940b3d254256092aca98ca58d Signed-off-by: Patrik Ryd patrik@linaro.org --- core/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/core/Makefile b/core/Makefile index d60723e..8c50fb7 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1402,4 +1402,5 @@ $(INTERNAL_FINDBUGS_HTML_TARGET): $(INTERNAL_FINDBUGS_XML_TARGET) # - # These are some additional build tasks that need to be run. include $(sort $(wildcard $(BUILD_SYSTEM)/tasks/*.mk)) --include $(sort $(wildcard vendor/*/build/tasks/*.mk)) +include $(sort $(wildcard vendor/*/build/tasks/*.mk)) +include $(sort $(wildcard device/*/common/tasks/*.mk)) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Subject: [PATCH] Added target roottatball
From 0af38129a04da9c7b621ba0bde2bd90980ad9756 Mon Sep 17 00:00:00 2001 From: Patrik Ryd patrik@linaro.org Date: Mon, 21 Feb 2011 09:49:56 +0100 Subject: [PATCH] Added target roottatball The new taget roottarball creates a tarball of the root file system. --- tasks/tarballs.mk | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 tasks/tarballs.mk diff --git a/tasks/tarballs.mk b/tasks/tarballs.mk new file mode 100644 index 000..0c51644 --- /dev/null +++ b/tasks/tarballs.mk @@ -0,0 +1,25 @@ +# +# Trigger build of tar balls for the linaro boards +# + +### +## root tarball +define build-roottarball-target +$(hide) echo Target root fs tarball: $(INSTALLED_ROOTTARBALL_TARGET) +$(hide) $(MKTARBALL) $(FS_GET_STATS) \ + $(PRODUCT_OUT) root $(PRIVATE_ROOT_TAR) \ + $(INSTALLED_ROOTTARBALL_TARGET) +endef + +ifndef ROOT_TARBALL_FORMAT +ROOT_TARBALL_FORMAT := bz2 +endif + +root_tar := $(PRODUCT_OUT)/root.tar +INSTALLED_ROOTTARBALL_TARGET := $(root_tar).$(BOOT_TARBALL_FORMAT) + +$(INSTALLED_ROOTTARBALL_TARGET): PRIVATE_ROOT_TAR := $(root_tar) +$(INSTALLED_ROOTTARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_RAMDISK_FILES) + $(build-roottarball-target) + +roottarball: $(INSTALLED_ROOTTARBALL_TARGET) \ No newline at end of file -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH] [android/devices/linaro/common] Correct permission, owner and group on files in the root tarball
Fix for LP #731780. --- tasks/mktarball.sh | 60 tasks/tarballs.mk |4 ++- 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100755 tasks/mktarball.sh diff --git a/tasks/mktarball.sh b/tasks/mktarball.sh new file mode 100755 index 000..622ff47 --- /dev/null +++ b/tasks/mktarball.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +# This is a modified copy of build/tools/mktarball.sh + +# $1: path to fs_get_stats program +# $2: start dir +# $3: subdir to tar up (from $2) +# $4: target tar name +# $5: target tarball name (usually $(3).bz2) + +if [ $# -ne 5 ]; then +echo Error: wrong number of arguments in cmd: $0 $* +exit 1 +fi + +fs_get_stats=`readlink -f $1` +start_dir=`readlink -f $2` +dir_to_tar=$3 +target_tar=`readlink -f $4` +target_tarball=`readlink -f $5` + +cd $2 + +#tar --no-recursion -cvf ${target_tar} ${dir_to_tar} +rm ${target_tar} /dev/null 21 + +# do dirs first +subdirs=`find ${dir_to_tar} -type d -print` +files=`find ${dir_to_tar} \! -type d -print` +for f in ${subdirs} ${files} ; do +curr_perms=`stat -c 0%a $f` +[ -d $f ] is_dir=1 || is_dir=0 +f2=`echo ${f#*/}` +new_info=`${fs_get_stats} ${curr_perms} ${is_dir} ${f2}` +new_uid=`echo ${new_info} | awk '{print $1;}'` +new_gid=`echo ${new_info} | awk '{print $2;}'` +new_perms=`echo ${new_info} | awk '{print $3;}'` +#echo $f: dir: $is_dir curr: $curr_perms uid: $new_uid gid: $new_gid \ +# perms: $new_perms +tar --no-recursion --numeric-owner --owner $new_uid \ +--group $new_gid --mode $new_perms -p -rf ${target_tar} ${f} +done + +if [ $? -eq 0 ] ; then +case ${target_tarball} in +*.bz2 ) +bzip2 -c ${target_tar} ${target_tarball} +;; +*.gz ) +gzip -c ${target_tar} ${target_tarball} +;; +esac +success=$? +[ $success -eq 0 ] || rm -f ${target_tarball} +rm -f ${target_tar} +exit $success +fi + +rm -f ${target_tar} +exit 1 diff --git a/tasks/tarballs.mk b/tasks/tarballs.mk index e569e98..e6354fc 100644 --- a/tasks/tarballs.mk +++ b/tasks/tarballs.mk @@ -2,11 +2,13 @@ # Trigger build of tar balls for the linaro boards # +LINARO_MKTARBALL := device/linaro/common/tasks/mktarball.sh + ### ## root tarball define build-roottarball-target $(hide) echo Target root fs tarball: $(INSTALLED_ROOTTARBALL_TARGET) -$(hide) $(MKTARBALL) $(FS_GET_STATS) \ +$(hide) $(LINARO_MKTARBALL) $(FS_GET_STATS) \ $(PRODUCT_OUT)/root . $(PRIVATE_ROOT_TAR) \ $(INSTALLED_ROOTTARBALL_TARGET) endef -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions
Looks good to me. /Patrik On 14 March 2011 15:37, Jeremy Chang jeremy.ch...@linaro.org wrote: All partitions from mmc is expected. This depends on Jim Huang's patch init: support mmc device mount in android/system/core to work. Signed-off-by: Jeremy Chang jeremy.ch...@linaro.org --- init.rc | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/init.rc b/init.rc index b6a92c5..a3f72e1 100644 --- a/init.rc +++ b/init.rc @@ -90,12 +90,12 @@ loglevel 3 write /dev/cpuctl/bg_non_interactive/cpu.shares 52 on fs -# mount mtd partitions -# Mount /system rw first to give the filesystem a chance to save a checkpoint -mount yaffs2 mtd@system /system -mount yaffs2 mtd@system /system ro remount -mount yaffs2 mtd@userdata /data nosuid nodev -mount yaffs2 mtd@cache /cache nosuid nodev +# mount mmc partitions +mount ext4 mmc@blk0p3 /system +mount ext4 mmc@blk0p3 /system ro remount +mount ext4 mmc@blk0p5 /cache +mount ext4 mmc@blk0p6 /data +mount ext4 mmc@blk0p7 /sdcard on post-fs # once everything is setup, no need to modify / -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH 1/2 android/device/linaro/common] Add init.rc in common part of linaro devices
Looks good to me. /Patrik On 14 March 2011 15:37, Jeremy Chang jeremy.ch...@linaro.org wrote: Signed-off-by: Jeremy Chang jeremy.ch...@linaro.org --- init.rc | 410 +++ 1 files changed, 410 insertions(+), 0 deletions(-) create mode 100644 init.rc diff --git a/init.rc b/init.rc new file mode 100644 index 000..b6a92c5 --- /dev/null +++ b/init.rc @@ -0,0 +1,410 @@ +on early-init +start ueventd + +on init + +sysclktz 0 + +loglevel 3 + +# setup the global environment +export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin +export LD_LIBRARY_PATH /vendor/lib:/system/lib +export ANDROID_BOOTLOGO 1 +export ANDROID_ROOT /system +export ANDROID_ASSETS /system/app +export ANDROID_DATA /data +export EXTERNAL_STORAGE /mnt/sdcard +export ASEC_MOUNTPOINT /mnt/asec +export LOOP_MOUNTPOINT /mnt/obb +export BOOTCLASSPATH /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar + +# Backward compatibility +symlink /system/etc /etc +symlink /sys/kernel/debug /d + +# Right now vendor lives on the same filesystem as system, +# but someday that may change. +symlink /system/vendor /vendor + +# create mountpoints +mkdir /mnt 0775 root system +mkdir /mnt/sdcard system system + +# Create cgroup mount point for cpu accounting +mkdir /acct +mount cgroup none /acct cpuacct +mkdir /acct/uid + +# Backwards Compat - XXX: Going away in G* +symlink /mnt/sdcard /sdcard + +mkdir /system +mkdir /data 0771 system system +mkdir /cache 0770 system cache +mkdir /config 0500 root root + +# Directory for putting things only root should see. +#mkdir /mnt/secure 0700 root root + +# Directory for staging bindmounts +#mkdir /mnt/secure/staging 0700 root root + +# Directory-target for where the secure container +# imagefile directory will be bind-mounted +#mkdir /mnt/secure/asec 0700 root root + +# Secure container public mount points. +#mkdir /mnt/asec 0700 root system +#mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000 + +# Filesystem image public mount points. +#mkdir /mnt/obb 0700 root system +#mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000 + +write /proc/sys/kernel/panic_on_oops 1 +write /proc/sys/kernel/hung_task_timeout_secs 0 +write /proc/cpu/alignment 4 +write /proc/sys/kernel/sched_latency_ns 1000 +write /proc/sys/kernel/sched_wakeup_granularity_ns 200 +write /proc/sys/kernel/sched_compat_yield 1 +write /proc/sys/kernel/sched_child_runs_first 0 + +# Create cgroup mount points for process groups +mkdir /dev/cpuctl +mount cgroup none /dev/cpuctl cpu +chown system system /dev/cpuctl +chown system system /dev/cpuctl/tasks +chmod 0777 /dev/cpuctl/tasks +write /dev/cpuctl/cpu.shares 1024 + +mkdir /dev/cpuctl/fg_boost +chown system system /dev/cpuctl/fg_boost/tasks +chmod 0777 /dev/cpuctl/fg_boost/tasks +write /dev/cpuctl/fg_boost/cpu.shares 1024 + +mkdir /dev/cpuctl/bg_non_interactive +chown system system /dev/cpuctl/bg_non_interactive/tasks +chmod 0777 /dev/cpuctl/bg_non_interactive/tasks +# 5.0 % +write /dev/cpuctl/bg_non_interactive/cpu.shares 52 + +on fs +# mount mtd partitions +# Mount /system rw first to give the filesystem a chance to save a checkpoint +mount yaffs2 mtd@system /system +mount yaffs2 mtd@system /system ro remount +mount yaffs2 mtd@userdata /data nosuid nodev +mount yaffs2 mtd@cache /cache nosuid nodev + +on post-fs +# once everything is setup, no need to modify / +mount rootfs rootfs / rw remount + +# We chown/chmod /data again so because mount is run as root + defaults +chown system system /data +chmod 0771 /data + +# Create dump dir and collect dumps. +# Do this before we mount cache so eventually we can use cache for +# storing dumps on platforms which do not have a dedicated dump partition. + +mkdir /data/dontpanic +chown root log /data/dontpanic +chmod 0750 /data/dontpanic + +# Collect apanic data, free resources and re-arm trigger +copy /proc/apanic_console /data/dontpanic/apanic_console +chown root log /data/dontpanic/apanic_console +chmod 0640 /data/dontpanic/apanic_console + +copy /proc/apanic_threads /data/dontpanic/apanic_threads +chown root log /data/dontpanic/apanic_threads +chmod 0640 /data/dontpanic/apanic_threads + +write /proc/apanic_console 1 + +# Same reason as /data above +chown system cache /cache +chmod 0770 /cache + +# This may have been created by the recovery
Re: [PATCH android/device/linaro/beagleboard] Delete init.rc
Looks good to me. Will you creates patches for the other two boards? /Patrik On 14 March 2011 15:38, Jeremy Chang jeremy.ch...@linaro.org wrote: Move init.rc to the common directory Signed-off-by: Jeremy Chang jeremy.ch...@linaro.org --- AndroidBoard.mk |2 +- init.rc | 411 --- 2 files changed, 1 insertions(+), 412 deletions(-) delete mode 100644 init.rc diff --git a/AndroidBoard.mk b/AndroidBoard.mk index ea57188..934d19a 100644 --- a/AndroidBoard.mk +++ b/AndroidBoard.mk @@ -22,7 +22,7 @@ include $(BUILD_KEY_CHAR_MAP) file := $(TARGET_ROOT_OUT)/init.rc ALL_PREBUILT += $(file) -$(file) : $(LOCAL_PATH)/init.rc | $(ACP) +$(file) : $(LOCAL_PATH)/../common/init.rc | $(ACP) $(transform-prebuilt-to-target) file := $(TARGET_ROOT_OUT)/init.omap3.rc diff --git a/init.rc b/init.rc deleted file mode 100644 index 50d2dc6..000 --- a/init.rc +++ /dev/null @@ -1,411 +0,0 @@ -on early-init -start ueventd - -on init - -sysclktz 0 - -loglevel 3 - -# setup the global environment -export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin -export LD_LIBRARY_PATH /vendor/lib:/system/lib -export ANDROID_BOOTLOGO 1 -export ANDROID_ROOT /system -export ANDROID_ASSETS /system/app -export ANDROID_DATA /data -export EXTERNAL_STORAGE /mnt/sdcard -export ASEC_MOUNTPOINT /mnt/asec -export LOOP_MOUNTPOINT /mnt/obb -export BOOTCLASSPATH /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar - -# Backward compatibility -symlink /system/etc /etc -symlink /sys/kernel/debug /d - -# Right now vendor lives on the same filesystem as system, -# but someday that may change. -symlink /system/vendor /vendor - -# create mountpoints -mkdir /mnt 0775 root system -mkdir /mnt/sdcard system system - -# Create cgroup mount point for cpu accounting -mkdir /acct -mount cgroup none /acct cpuacct -mkdir /acct/uid - -# Backwards Compat - XXX: Going away in G* -symlink /mnt/sdcard /sdcard - -mkdir /system -mkdir /data 0771 system system -mkdir /cache 0770 system cache -mkdir /config 0500 root root - -# Directory for putting things only root should see. -#mkdir /mnt/secure 0700 root root - -# Directory for staging bindmounts -#mkdir /mnt/secure/staging 0700 root root - -# Directory-target for where the secure container -# imagefile directory will be bind-mounted -#mkdir /mnt/secure/asec 0700 root root - -# Secure container public mount points. -#mkdir /mnt/asec 0700 root system -#mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000 - -# Filesystem image public mount points. -#mkdir /mnt/obb 0700 root system -#mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000 - -write /proc/sys/kernel/panic_on_oops 1 -write /proc/sys/kernel/hung_task_timeout_secs 0 -write /proc/cpu/alignment 4 -write /proc/sys/kernel/sched_latency_ns 1000 -write /proc/sys/kernel/sched_wakeup_granularity_ns 200 -write /proc/sys/kernel/sched_compat_yield 1 -write /proc/sys/kernel/sched_child_runs_first 0 - -# Create cgroup mount points for process groups -mkdir /dev/cpuctl -mount cgroup none /dev/cpuctl cpu -chown system system /dev/cpuctl -chown system system /dev/cpuctl/tasks -chmod 0777 /dev/cpuctl/tasks -write /dev/cpuctl/cpu.shares 1024 - -mkdir /dev/cpuctl/fg_boost -chown system system /dev/cpuctl/fg_boost/tasks -chmod 0777 /dev/cpuctl/fg_boost/tasks -write /dev/cpuctl/fg_boost/cpu.shares 1024 - -mkdir /dev/cpuctl/bg_non_interactive -chown system system /dev/cpuctl/bg_non_interactive/tasks -chmod 0777 /dev/cpuctl/bg_non_interactive/tasks -# 5.0 % -write /dev/cpuctl/bg_non_interactive/cpu.shares 52 - -on fs -# mount mtd partitions -# Mount /system rw first to give the filesystem a chance to save a checkpoint -mount yaffs2 mtd@system /system -mount yaffs2 mtd@system /system ro remount -mount yaffs2 mtd@userdata /data nosuid nodev -mount yaffs2 mtd@cache /cache nosuid nodev - -on post-fs -# once everything is setup, no need to modify / -mount rootfs rootfs / rw remount - -# We chown/chmod /data again so because mount is run as root + defaults -chown system system /data -chmod 0771 /data - -# Create dump dir and collect dumps. -# Do this before we mount cache so eventually we can use cache for -# storing dumps on platforms which do not have a dedicated dump partition. - -mkdir /data/dontpanic -chown root log /data/dontpanic -chmod 0750 /data/dontpanic - -# Collect apanic data, free
Re: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions
On 14 March 2011 16:28, Paul Larson paul.lar...@linaro.org wrote: On Mon, Mar 14, 2011 at 9:37 AM, Jeremy Chang jeremy.ch...@linaro.orgwrote: +# mount mmc partitions +mount ext4 mmc@blk0p3 /system +mount ext4 mmc@blk0p3 /system ro remount +mount ext4 mmc@blk0p5 /cache +mount ext4 mmc@blk0p6 /data +mount ext4 mmc@blk0p7 /sdcard In my understanding, this will require a very particular sd card partition layout, which seems to use quite a few partitions. Is this documented somewhere? I'm trying to think about whether it will be possible to make this coexist with Linaro image testing in our validation environment where we currently have 2 partitions for booting a master image, and two partitions for booting a new linaro image we wish to test. An Android system has a rootfs (either in flash or RAM), one system partition that is mounted read only as /system, one user data partition mounted as /data, a cache partition and then we decided to use the rest as sdcard. It was documented as a bug https://bugs.launchpad.net/linaro-image-tools/+bug/724207 on the image tool. /Patrik Thanks, Paul Larson ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH] [android/devices/linaro/common] Correct permission, owner and group on files in the root tarball
On 15 March 2011 12:28, Alexander Sack a...@linaro.org wrote: would be great to have a more verbose git comment as of why we are doing this. e.g. what was the problem and what was the solution. also why do we need to have a copy of mktarball.sh rather than fixing that one directly. This patch fixes the permission problem in our root tarball. I think we should try come to a conclusion on how we are going to handle the kernel for the different builds first and then start building the boot tarball instead of our root tarball. When we use the boot tarball it make sense moving this correction (for the rootfs) into the android version of mktarball.sh and contribute it. On Fri, Mar 11, 2011 at 4:05 PM, Patrik Ryd patrik@linaro.org wrote: Fix for LP #731780. --- tasks/mktarball.sh | 60 tasks/tarballs.mk |4 ++- 2 files changed, 63 insertions(+), 1 deletions(-) create mode 100755 tasks/mktarball.sh diff --git a/tasks/mktarball.sh b/tasks/mktarball.sh new file mode 100755 index 000..622ff47 --- /dev/null +++ b/tasks/mktarball.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +# This is a modified copy of build/tools/mktarball.sh + +# $1: path to fs_get_stats program +# $2: start dir +# $3: subdir to tar up (from $2) +# $4: target tar name +# $5: target tarball name (usually $(3).bz2) + +if [ $# -ne 5 ]; then +echo Error: wrong number of arguments in cmd: $0 $* +exit 1 +fi + +fs_get_stats=`readlink -f $1` +start_dir=`readlink -f $2` +dir_to_tar=$3 +target_tar=`readlink -f $4` +target_tarball=`readlink -f $5` + +cd $2 + +#tar --no-recursion -cvf ${target_tar} ${dir_to_tar} +rm ${target_tar} /dev/null 21 + +# do dirs first +subdirs=`find ${dir_to_tar} -type d -print` +files=`find ${dir_to_tar} \! -type d -print` +for f in ${subdirs} ${files} ; do +curr_perms=`stat -c 0%a $f` +[ -d $f ] is_dir=1 || is_dir=0 +f2=`echo ${f#*/}` +new_info=`${fs_get_stats} ${curr_perms} ${is_dir} ${f2}` +new_uid=`echo ${new_info} | awk '{print $1;}'` +new_gid=`echo ${new_info} | awk '{print $2;}'` +new_perms=`echo ${new_info} | awk '{print $3;}'` +#echo $f: dir: $is_dir curr: $curr_perms uid: $new_uid gid: $new_gid \ +# perms: $new_perms +tar --no-recursion --numeric-owner --owner $new_uid \ +--group $new_gid --mode $new_perms -p -rf ${target_tar} ${f} +done + +if [ $? -eq 0 ] ; then +case ${target_tarball} in +*.bz2 ) +bzip2 -c ${target_tar} ${target_tarball} +;; +*.gz ) +gzip -c ${target_tar} ${target_tarball} +;; +esac +success=$? +[ $success -eq 0 ] || rm -f ${target_tarball} +rm -f ${target_tar} +exit $success +fi + +rm -f ${target_tar} +exit 1 diff --git a/tasks/tarballs.mk b/tasks/tarballs.mk index e569e98..e6354fc 100644 --- a/tasks/tarballs.mk +++ b/tasks/tarballs.mk @@ -2,11 +2,13 @@ # Trigger build of tar balls for the linaro boards # +LINARO_MKTARBALL := device/linaro/common/tasks/mktarball.sh + ### ## root tarball define build-roottarball-target $(hide) echo Target root fs tarball: $(INSTALLED_ROOTTARBALL_TARGET) -$(hide) $(MKTARBALL) $(FS_GET_STATS) \ +$(hide) $(LINARO_MKTARBALL) $(FS_GET_STATS) \ $(PRODUCT_OUT)/root . $(PRIVATE_ROOT_TAR) \ $(INSTALLED_ROOTTARBALL_TARGET) endef -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev -- - Alexander ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH-Android] Patches to build Android using GCC 4.5/4.6.
On 18 March 2011 07:06, Jim Huang jim.hu...@linaro.org wrote: On 17 March 2011 23:35, Patrik Ryd patrik@linaro.org wrote: Hi, I think your patches are good enough (now after the review) to start pushing them to a toolchain_preview branch. That way people can use the toolchain_preview branch when working with the toolchain. At the same time someone can try to replace some of your patches with solutions that solves the problems instead of hiding them. :) The goal is to get good patches to the linaro_android branch and in the end get them all the way to AOSP if possible. hi Patrik, So, it implies that we should have an branch in manifests? http://git.linaro.org/gitweb?p=android/platform/manifests.git;a=summary True. Also, we would take that branch as the testbed for toolchain/NDK benchmarking. Yes, but the goal is to be able at some point to move over to the official linaro_android... branch. BR, Patrik Sincerely, -jserv ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH v2 android/system/vold] Promote the max partition support to 8
Looks good to me. /Patrik On 22 March 2011 13:58, Jeremy Chang jeremy.ch...@linaro.org wrote: This is needed for supporting multiple partition layout. Delete MAX_PARTS define since it's not used and also to make it look consistent. Change-Id: Ic4e1b5f7219cb51f02d9e0d2c14046da9f7b51f1 Signed-off-by: Jeremy Chang jeremy.ch...@linaro.org --- DirectVolume.h |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/DirectVolume.h b/DirectVolume.h index 4bf14ff..4cd5725 100644 --- a/DirectVolume.h +++ b/DirectVolume.h @@ -21,13 +21,11 @@ #include Volume.h -#define MAX_PARTS 4 - typedef android::Listchar * PathCollection; class DirectVolume : public Volume { public: -static const int MAX_PARTITIONS = 4; +static const int MAX_PARTITIONS = 8; protected: PathCollection *mPaths; intmDiskMajor; -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH android/device/linaro/pandaboard] Add vold.fstab
On 23 March 2011 09:01, Jeremy Chang jeremy.ch...@linaro.org wrote: vold.fstab is the vold configuration file to tell what the device to mount. Signed-off-by: Jeremy Chang jeremy.ch...@linaro.org --- device.mk | 16 pandaboard.mk |1 + vold.fstab| 15 +++ 3 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 device.mk create mode 100644 vold.fstab diff --git a/device.mk b/device.mk new file mode 100644 index 000..79979e3 --- /dev/null +++ b/device.mk @@ -0,0 +1,16 @@ +# Copyright (C) 2010 The Android Open Source Project Still think you should have Linaro above since you wrote this small file from scratch. /Patrik +# +# Licensed under the Apache License, Version 2.0 (the License); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an AS IS BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +PRODUCT_COPY_FILES := \ +device/linaro/beagleboard/vold.fstab:system/etc/vold.fstab diff --git a/pandaboard.mk b/pandaboard.mk index b7aab1c..7c15efd 100644 --- a/pandaboard.mk +++ b/pandaboard.mk @@ -28,6 +28,7 @@ PRODUCT_PACKAGES := \ $(ZEROXBENCHMARK_NATIVE_APPS) $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) +$(call inherit-product, device/linaro/pandaboard/device.mk) # Overrides PRODUCT_BRAND := pandaboard diff --git a/vold.fstab b/vold.fstab new file mode 100644 index 000..c17bb64 --- /dev/null +++ b/vold.fstab @@ -0,0 +1,15 @@ +## Vold 2.0 Generic fstab +## - San Mehat (s...@android.com) +## + +### +## Regular device mount +## +## Format: dev_mount label mount_point part sysfs_path1... +## label- Label for the volume +## mount_point - Where the volume will be mounted +## part - Partition # (1 based), or 'auto' for first usable partition. +## sysfs_path - List of sysfs paths to source devices +## + +dev_mount sdcard /mnt/sdcard 7 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0 -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Pathes for Produce boottarball that includes rootfs, kernel and bootloader for Android
Hi, I will push some patches for review. They are all for Android. For the blueprint https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-platform-kernel-boottarball . I have had problems setting the subject correctly, but they are for the android manifest, linaro/device/common, linaro/device/beagleboard and build gits. BR, Patrik ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH] Added kernel and u-boot
--- default.xml | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/default.xml b/default.xml index dc6411d..09fca60 100644 --- a/default.xml +++ b/default.xml @@ -7,21 +7,24 @@ remote=korg / remote name=linaro - fetch=git://git.linaro.org/android/ / + fetch=git://git.linaro.org/ / remote name=0xbench fetch=git://gitorious.org/0xbench/ / !-- Linaro changes -- - project path=device/linaro/beagleboard name=device/linaro/beagleboard revision=linaro_android_2.3.3 remote=linaro / - project path=device/linaro/pandaboard name=device/linaro/pandaboard revision=linaro_android_2.3.3 remote=linaro / - project path=device/linaro/u8500href name=device/linaro/u8500href revision=linaro_android_2.3.3 remote=linaro / - project path=device/linaro/common name=device/linaro/common revision=linaro_android_2.3.3 remote=linaro / - project path=system/vold name=platform/system/vold revision=linaro_android_2.3.3 remote=linaro / - project path=build name=platform/build revision=linaro_android_2.3.3 remote=linaro + project path=device/linaro/beagleboard name=android/device/linaro/beagleboard revision=linaro_android_2.3.3 remote=linaro / + project path=device/linaro/pandaboard name=android/device/linaro/pandaboard revision=linaro_android_2.3.3 remote=linaro / + project path=device/linaro/u8500href name=android/device/linaro/u8500href revision=linaro_android_2.3.3 remote=linaro / + project path=device/linaro/common name=android/device/linaro/common revision=linaro_android_2.3.3 remote=linaro / + project path=system/vold name=android/platform/system/vold revision=linaro_android_2.3.3 remote=linaro / + project path=build name=android/platform/build revision=linaro_android_2.3.3 remote=linaro copyfile src=core/root.mk dest=Makefile / /project + project path=kernel name=people/jstultz/android.git revision=linaro-android.38 remote=linaro / + project path=u-boot name=boot/u-boot-linaro-stable.git revision=master remote=linaro / + project path=packages/apps/0xbench name=0xbench revision=master remote=0xbench / !-- standard Andorid manifest -- -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH 2/2] Enable u-boot
Use u-boot as the 2NDBOOTLOADER. --- BoardConfig.mk |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 11b49a8..54d3675 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -4,9 +4,12 @@ # TARGET_BOARD_PLATFORM := omap3 -TARGET_NO_BOOTLOADER := true +TARGET_NO_BOOTLOADER := false TARGET_NO_KERNEL := false KERNEL_CONFIG := android_omap3_defconfig +UBOOT_CONFIG := omap3_beagle_config +INSTALLED_2NDBOOTLOADER_TARGET := u-boot.bin +TARGET_NO_RECOVERY := true TARGET_NO_RADIOIMAGE := true TARGET_PROVIDES_INIT_RC := true BOARD_USES_GENERIC_AUDIO := false -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH 1/2] kernel in root tar
--- tasks/kernel.mk |8 tasks/tarballs.mk |9 + 2 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 tasks/kernel.mk diff --git a/tasks/kernel.mk b/tasks/kernel.mk new file mode 100644 index 000..513bafa --- /dev/null +++ b/tasks/kernel.mk @@ -0,0 +1,8 @@ +android_kernel: + cd $(TOP)/kernel \ + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig $(KERNEL_CONFIG) \ + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage + +$(PRODUCT_OUT)/kernel: android_kernel + echo HUPP : $(PRODUCT_OUT) : $(TOP) : $(KERNEL_CONFIG) : $(PRODUCT_OUT)/kernel + ln -sf ../../../../kernel/arch/arm/boot/uImage $(PRODUCT_OUT)/kernel \ No newline at end of file diff --git a/tasks/tarballs.mk b/tasks/tarballs.mk index e6354fc..6547230 100644 --- a/tasks/tarballs.mk +++ b/tasks/tarballs.mk @@ -21,7 +21,16 @@ root_tar := $(PRODUCT_OUT)/root.tar INSTALLED_ROOTTARBALL_TARGET := $(root_tar).$(ROOT_TARBALL_FORMAT) $(INSTALLED_ROOTTARBALL_TARGET): PRIVATE_ROOT_TAR := $(root_tar) + +ifneq ($(strip $(TARGET_NO_KERNEL)),true) +$(INSTALLED_ROOTTARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_RAMDISK_FILES) $(PRODUCT_OUT)/kernel + cp $(PRODUCT_OUT)/kernel $(PRODUCT_OUT)/root/kernel + $(build-roottarball-target) + +else $(INSTALLED_ROOTTARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_RAMDISK_FILES) $(build-roottarball-target) +endif + roottarball: $(INSTALLED_ROOTTARBALL_TARGET) \ No newline at end of file -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH 2/2] Rules for building u-boot
--- tasks/uboot.mk | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 tasks/uboot.mk diff --git a/tasks/uboot.mk b/tasks/uboot.mk new file mode 100644 index 000..3d297c0 --- /dev/null +++ b/tasks/uboot.mk @@ -0,0 +1,10 @@ +android_uboot: + rm -fr $(PRODUCT_OUT)/obj/u-boot + mkdir $(PRODUCT_OUT)/obj/u-boot + cd $(TOP)/u-boot \ + make O=../$(PRODUCT_OUT)/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi- $(UBOOT_CONFIG) \ + make O=../$(PRODUCT_OUT)/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi- + +$(PRODUCT_OUT)/u-boot.bin: android_uboot + ln -sf obj/u-boot/u-boot.bin $(PRODUCT_OUT)/u-boot.bin + -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH] Added missing in build-boottarball-target
--- core/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Makefile b/core/Makefile index 8b7d6de..857dd20 100644 --- a/core/Makefile +++ b/core/Makefile @@ -794,7 +794,7 @@ stnod: systemtarball-nodeps ### ## boot tarball define build-boottarball-target -$(hide) echo Target boot fs tarball: $(INSTALLED_BOOTTARBALL_TARGET) +$(hide) echo Target boot fs tarball: $(INSTALLED_BOOTTARBALL_TARGET) $(hide) mkdir -p $(PRODUCT_OUT)/boot $(hide) cp -f $(INTERNAL_BOOTIMAGE_FILES) $(PRODUCT_OUT)/boot/. $(hide) echo $(BOARD_KERNEL_CMDLINE) $(PRODUCT_OUT)/boot/cmdline @@ -809,7 +809,7 @@ endif boot_tar := $(PRODUCT_OUT)/boot.tar INSTALLED_BOOTTARBALL_TARGET := $(boot_tar).$(BOOT_TARBALL_FORMAT) -$(INSTALLED_BOOTTARBALL_TARGET): PRIVATE_BOOT_TAR := $(boot_tar) +PRIVATE_BOOT_TAR := $(boot_tar) $(INSTALLED_BOOTTARBALL_TARGET): $(FS_GET_STATS) $(INTERNAL_BOOTIMAGE_FILES) $(build-boottarball-target) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH] Added kernel and u-boot
On 6 April 2011 19:17, Jeremy Chang jeremy.ch...@linaro.org wrote: On Wed, Apr 6, 2011 at 1:08 AM, Patrik Ryd patrik@linaro.org wrote: --- default.xml | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/default.xml b/default.xml index dc6411d..09fca60 100644 --- a/default.xml +++ b/default.xml @@ -7,21 +7,24 @@ remote=korg / remote name=linaro - fetch=git://git.linaro.org/android/ / + fetch=git://git.linaro.org/ / remote name=0xbench fetch=git://gitorious.org/0xbench/ / !-- Linaro changes -- - project path=device/linaro/beagleboard name=device/linaro/beagleboard revision=linaro_android_2.3.3 remote=linaro / - project path=device/linaro/pandaboard name=device/linaro/pandaboard revision=linaro_android_2.3.3 remote=linaro / - project path=device/linaro/u8500href name=device/linaro/u8500href revision=linaro_android_2.3.3 remote=linaro / - project path=device/linaro/common name=device/linaro/common revision=linaro_android_2.3.3 remote=linaro / - project path=system/vold name=platform/system/vold revision=linaro_android_2.3.3 remote=linaro / - project path=build name=platform/build revision=linaro_android_2.3.3 remote=linaro + project path=device/linaro/beagleboard name=android/device/linaro/beagleboard revision=linaro_android_2.3.3 remote=linaro / + project path=device/linaro/pandaboard name=android/device/linaro/pandaboard revision=linaro_android_2.3.3 remote=linaro / + project path=device/linaro/u8500href name=android/device/linaro/u8500href revision=linaro_android_2.3.3 remote=linaro / + project path=device/linaro/common name=android/device/linaro/common revision=linaro_android_2.3.3 remote=linaro / + project path=system/vold name=android/platform/system/vold revision=linaro_android_2.3.3 remote=linaro / + project path=build name=android/platform/build revision=linaro_android_2.3.3 remote=linaro copyfile src=core/root.mk dest=Makefile / /project + project path=kernel name=people/jstultz/android.git revision=linaro-android.38 remote=linaro / + project path=u-boot name=boot/u-boot-linaro-stable.git revision=master remote=linaro / + project path=packages/apps/0xbench name=0xbench revision=master remote=0xbench / !-- standard Andorid manifest -- -- 1.7.1 I think the name for the kernel should be people/jstultz/android and should be boot/u-boot-linaro-stable for u-boot. Rigth. I will fix. /Patrik -- Jeremy ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH 1/2] kernel in root tar
On 5 April 2011 22:52, Alexander Sack a...@linaro.org wrote: On Tue, Apr 5, 2011 at 7:09 PM, Patrik Ryd patrik@linaro.org wrote: --- tasks/kernel.mk | 8 tasks/tarballs.mk | 9 + 2 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 tasks/kernel.mk diff --git a/tasks/kernel.mk b/tasks/kernel.mk new file mode 100644 index 000..513bafa --- /dev/null +++ b/tasks/kernel.mk @@ -0,0 +1,8 @@ +android_kernel: + cd $(TOP)/kernel \ + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig $(KERNEL_CONFIG) \ + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage here TARGET_TOOLS_PREFIX arm-eabi- toolchain could be used as well I guess. Maybe give this a try together with the u-boot one. If I can assume* that TARGET_TOOLS_PREFIX is relative to the Android source root (normally is, unless you change it yourself) I could do make ARCH=arm CROSS_COMPILE=../$(TARGET_TOOLS_PREFIX) defconfig $(KERNEL_CONFIG) \ Any better idea? /Patrik --- * Assumption is the mother of all fuckups (http://www.youtube.com/watch?v=wg4trPZFUwc) -- - Alexander ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/common] Building u-boot
Introduced a alternative way of building u-boot instead of forcing u-boot to be built as if it was Androids 2ndbootloader. --- tasks/bootfiles.mk | 12 tasks/kernel.mk|1 - tasks/uboot.mk |3 +-- 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 tasks/bootfiles.mk diff --git a/tasks/bootfiles.mk b/tasks/bootfiles.mk new file mode 100644 index 000..8489e69 --- /dev/null +++ b/tasks/bootfiles.mk @@ -0,0 +1,12 @@ + +ifeq ($(TARGET_USE_UBOOT),true) +bootfiles: $(PRODUCT_OUT)/u-boot.bin +endif + +bootfiles: + $(hide) mkdir -p $(PRODUCT_OUT)/boot +ifeq ($(TARGET_USE_UBOOT),true) + cp $(PRODUCT_OUT)/u-boot.bin $(PRODUCT_OUT)/boot +endif + +$(INSTALLED_BOOTTARBALL_TARGET): bootfiles \ No newline at end of file diff --git a/tasks/kernel.mk b/tasks/kernel.mk index 8d4cabf..a016d6e 100644 --- a/tasks/kernel.mk +++ b/tasks/kernel.mk @@ -4,5 +4,4 @@ android_kernel: make ARCH=arm CROSS_COMPILE=../$(TARGET_TOOLS_PREFIX) uImage $(PRODUCT_OUT)/kernel: android_kernel - echo HUPP : $(PRODUCT_OUT) : $(TOP) : $(KERNEL_CONFIG) : $(PRODUCT_OUT)/kernel ln -sf ../../../../kernel/arch/arm/boot/uImage $(PRODUCT_OUT)/kernel \ No newline at end of file diff --git a/tasks/uboot.mk b/tasks/uboot.mk index 3d297c0..fc4a7da 100644 --- a/tasks/uboot.mk +++ b/tasks/uboot.mk @@ -1,6 +1,5 @@ android_uboot: - rm -fr $(PRODUCT_OUT)/obj/u-boot - mkdir $(PRODUCT_OUT)/obj/u-boot + mkdir -p $(PRODUCT_OUT)/obj/u-boot cd $(TOP)/u-boot \ make O=../$(PRODUCT_OUT)/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi- $(UBOOT_CONFIG) \ make O=../$(PRODUCT_OUT)/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi- -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/pandaboard 3/3] Configure build to use u-boot
Introduced a alternative way of building u-boot instead of forcing u-boot to be built as if it was Androids 2ndbootloader. --- BoardConfig.mk |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 07488f9..5314353 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -4,11 +4,12 @@ # TARGET_BOARD_PLATFORM := omap4 -TARGET_NO_BOOTLOADER := false +TARGET_NO_BOOTLOADER := true # Uses u-boot instead TARGET_NO_KERNEL := false KERNEL_CONFIG := android_omap4_defconfig -UBOOT_CONFIG := omap4_panda -INSTALLED_2NDBOOTLOADER_TARGET := $(PRODUCT_OUT)/u-boot.bin +TARGET_USE_UBOOT := true +UBOOT_CONFIG := omap4_panda_config +TARGET_USE_XLOADER := false TARGET_NO_RECOVERY := true TARGET_NO_RADIOIMAGE := true TARGET_PROVIDES_INIT_RC := true -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/pandaboard 1/3] Enable kernel
Set TARGET_NO_KERNEL to false in BoardConfig and use android_omap4_defconfig when building kernel. --- BoardConfig.mk |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 82a06bd..6b808e2 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -5,7 +5,8 @@ TARGET_BOARD_PLATFORM := omap4 TARGET_NO_BOOTLOADER := true -TARGET_NO_KERNEL := true +TARGET_NO_KERNEL := false +KERNEL_CONFIG := android_omap4_defconfig TARGET_NO_RADIOIMAGE := true TARGET_PROVIDES_INIT_RC := true BOARD_USES_GENERIC_AUDIO := false -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/pandaboard 2/3] Enable u-boot
Use u-boot as the 2NDBOOTLOADER. --- BoardConfig.mk |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 6b808e2..07488f9 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -4,9 +4,12 @@ # TARGET_BOARD_PLATFORM := omap4 -TARGET_NO_BOOTLOADER := true +TARGET_NO_BOOTLOADER := false TARGET_NO_KERNEL := false KERNEL_CONFIG := android_omap4_defconfig +UBOOT_CONFIG := omap4_panda +INSTALLED_2NDBOOTLOADER_TARGET := $(PRODUCT_OUT)/u-boot.bin +TARGET_NO_RECOVERY := true TARGET_NO_RADIOIMAGE := true TARGET_PROVIDES_INIT_RC := true BOARD_USES_GENERIC_AUDIO := false -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/beagleboard] Configure build to use u-boot
Introduced a alternative way of building u-boot instead of forcing u-boot to be built as if it was Androids 2ndbootloader. --- BoardConfig.mk |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 227f676..e538591 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -4,11 +4,12 @@ # TARGET_BOARD_PLATFORM := omap3 -TARGET_NO_BOOTLOADER := false +TARGET_NO_BOOTLOADER := true # Uses u-boot instead TARGET_NO_KERNEL := false KERNEL_CONFIG := android_omap3_defconfig +TARGET_USE_UBOOT := true UBOOT_CONFIG := omap3_beagle_config -INSTALLED_2NDBOOTLOADER_TARGET := $(PRODUCT_OUT)/u-boot.bin +TARGET_USE_XLOADER := false TARGET_NO_RECOVERY := true TARGET_NO_RADIOIMAGE := true TARGET_PROVIDES_INIT_RC := true -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/u8500href] Updated Boardconfig to keep it similar to the beagle and panda
--- BoardConfig.mk |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 882a994..e8135c1 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -4,8 +4,13 @@ # TARGET_BOARD_PLATFORM := montblanc -TARGET_NO_BOOTLOADER := true +TARGET_NO_BOOTLOADER := true # Uses u-boot instead TARGET_NO_KERNEL := true +KERNEL_CONFIG := +TARGET_USE_UBOOT := false +UBOOT_CONFIG := +TARGET_USE_XLOADER := false +TARGET_NO_RECOVERY := true TARGET_NO_RADIOIMAGE := true TARGET_PROVIDES_INIT_RC := true BOARD_USES_GENERIC_AUDIO := true -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/common] Added support for xloader (MLO)
--- tasks/bootfiles.mk |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tasks/bootfiles.mk b/tasks/bootfiles.mk index 8489e69..c9cea21 100644 --- a/tasks/bootfiles.mk +++ b/tasks/bootfiles.mk @@ -8,5 +8,8 @@ bootfiles: ifeq ($(TARGET_USE_UBOOT),true) cp $(PRODUCT_OUT)/u-boot.bin $(PRODUCT_OUT)/boot endif +ifeq ($(TARGET_USE_XLOADER),true) + cp $(XLOADER_BINARY) $(PRODUCT_OUT)/boot +endif $(INSTALLED_BOOTTARBALL_TARGET): bootfiles \ No newline at end of file -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [Android: device/linaro/pandaboard] MLO for panda
On 11 April 2011 17:20, Jim Huang jim.hu...@linaro.org wrote: On 11 April 2011 23:14, Patrik Ryd patrik@linaro.org wrote: diff --git a/BoardConfig.mk b/BoardConfig.mk index 5314353..457ab4f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -9,7 +9,8 @@ TARGET_NO_KERNEL := false KERNEL_CONFIG := android_omap4_defconfig TARGET_USE_UBOOT := true UBOOT_CONFIG := omap4_panda_config -TARGET_USE_XLOADER := false +TARGET_USE_XLOADER := true +XLOADER_BINARY := device/linaro/pandaboard/MLO.panda hi Patrik, Why can't we simply use 'MLO' as the name of first stage boot loader? I'll change it to MLO. I just got the binary from asac and included it in the build (we pull down source with repo, but don't build at at the moment). I tried to copy it during the build with PRODUCT_COPY_FILES := \ device/linaro/beagleboard/vold.fstab:system/etc/vold.fstab \ device/linaro/pandaboard/MLO.panda:boot/MBL.panda in device.mk, but it did not work. Do you have any idea why? I would prefer to use the standard Android way of doing things instead of invention my own rules in the build system. /Patrik By the way, although we usually call Pandaboard as 'panda', it still makes sense to use the fully qualified name, doesn't it? Regards, -jserv ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/common] Rename the kernel to uImage for Linaro Android build
From: Patrik Ryd patrik@linaro.org In the Linaro set up u-boot will look for uImage (and not for kernel). --- tasks/kernel.mk |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/kernel.mk b/tasks/kernel.mk index a016d6e..f0ebb93 100644 --- a/tasks/kernel.mk +++ b/tasks/kernel.mk @@ -3,5 +3,5 @@ android_kernel: make ARCH=arm CROSS_COMPILE=../$(TARGET_TOOLS_PREFIX) defconfig $(KERNEL_CONFIG) \ make ARCH=arm CROSS_COMPILE=../$(TARGET_TOOLS_PREFIX) uImage -$(PRODUCT_OUT)/kernel: android_kernel - ln -sf ../../../../kernel/arch/arm/boot/uImage $(PRODUCT_OUT)/kernel \ No newline at end of file +$(PRODUCT_OUT)/uImage: android_kernel + ln -sf ../../../../kernel/arch/arm/boot/uImage $(PRODUCT_OUT)/uImage \ No newline at end of file -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: build.git] Rename the kernel to uImage for Linaro Android build
In the Linaro set up u-boot will look for uImage (and not for kernel). This patch is Linaro specific and should not be contibuted to AOSP. --- target/board/Android.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/board/Android.mk b/target/board/Android.mk index 82dee3c..f3e4729 100644 --- a/target/board/Android.mk +++ b/target/board/Android.mk @@ -15,7 +15,7 @@ else endif # TARGET_NO_BOOTLOADER ifneq ($(strip $(TARGET_NO_KERNEL)),true) - INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel + INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/uImage else INSTALLED_KERNEL_TARGET := endif -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [Android: build.git] Create uInitrd instead of ramdisk.img
On 19 April 2011 10:39, Alexander Sack a...@linaro.org wrote: On Tue, Apr 19, 2011 at 10:35 AM, Patrik Ryd patrik@linaro.org wrote: - $(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) | $(MINIGZIP) $@ + $(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) | $(MINIGZIP) $(PRODUCT_OUT)/obj/temp_ramdisk.img + mkimage -A arm -O linux -T ramdisk -n Android Ramdisk Image -d $(PRODUCT_OUT)/obj/temp_ramdisk.img $@ any reason why we use temp_ramdisk.img vs. keeping the original ramdisk.img name? Not really. /Patrik -- - Alexander ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH v2 Android: build.git 1/2] Rename the kernel to uImage for Linaro Android build
In the Linaro set up u-boot will look for uImage (and not for kernel). This patch is Linaro specific and should not be contibuted to AOSP. --- target/board/Android.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/board/Android.mk b/target/board/Android.mk index 82dee3c..f3e4729 100644 --- a/target/board/Android.mk +++ b/target/board/Android.mk @@ -15,7 +15,7 @@ else endif # TARGET_NO_BOOTLOADER ifneq ($(strip $(TARGET_NO_KERNEL)),true) - INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel + INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/uImage else INSTALLED_KERNEL_TARGET := endif -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[PATCH v2 Android: build.git 2/2] Create uInitrd instead of ramdisk.img
In the Linaro set up u-boot will look for uImage and uInitrd. This patch is Linaro specific and should not be contibuted to AOSP. --- core/Makefile |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/Makefile b/core/Makefile index 857dd20..79d59a5 100644 --- a/core/Makefile +++ b/core/Makefile @@ -309,13 +309,14 @@ INTERNAL_RAMDISK_FILES := $(filter $(TARGET_ROOT_OUT)/%, \ $(ALL_GENERATED_SOURCES) \ $(ALL_DEFAULT_INSTALLED_MODULES)) -BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/ramdisk.img +BUILT_RAMDISK_TARGET := $(PRODUCT_OUT)/uInitrd # We just build this directly to the install location. INSTALLED_RAMDISK_TARGET := $(BUILT_RAMDISK_TARGET) $(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_RAMDISK_FILES) | $(MINIGZIP) $(call pretty,Target ram disk: $@) - $(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) | $(MINIGZIP) $@ + $(hide) $(MKBOOTFS) $(TARGET_ROOT_OUT) | $(MINIGZIP) $(PRODUCT_OUT)/obj/ramdisk.img + mkimage -A arm -O linux -T ramdisk -n Android Ramdisk Image -d $(PRODUCT_OUT)/obj/ramdisk.img $@ ifneq ($(strip $(TARGET_NO_KERNEL)),true) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [Android: device/linaro/common] Rename the kernel to uImage for Linaro Android build
On 18 April 2011 08:46, Jim Huang jim.hu...@linaro.org wrote: On 18 April 2011 14:40, patrik@linaro.org wrote: From: Patrik Ryd patrik@linaro.org In the Linaro set up u-boot will look for uImage (and not for kernel). --- tasks/kernel.mk | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) hi Patrik, Does this imply that we requires u-boot as necessary support for common LEB? We do at the moment. This patch together with the two others I just sent for review (build.git, use uImage for kernel and uInitrd instead of ramdisk.img) are there to make u-boot happy. And we have included u-boot in the boottarball. (See https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-platform-kernel-boottarball for details) /Patrik I am not sure if we should introduce an abstract provider for kernel image, but I prefer to specify in board configurations since we might migrate to other 'fastboot' compatible boot loader implementations such as lk (little kernel) used in Qualcomm patform. Thanks, -jserv diff --git a/tasks/kernel.mk b/tasks/kernel.mk index a016d6e..f0ebb93 100644 --- a/tasks/kernel.mk +++ b/tasks/kernel.mk @@ -3,5 +3,5 @@ android_kernel: make ARCH=arm CROSS_COMPILE=../$(TARGET_TOOLS_PREFIX) defconfig $(KERNEL_CONFIG) \ make ARCH=arm CROSS_COMPILE=../$(TARGET_TOOLS_PREFIX) uImage -$(PRODUCT_OUT)/kernel: android_kernel - ln -sf ../../../../kernel/arch/arm/boot/uImage $(PRODUCT_OUT)/kernel \ No newline at end of file +$(PRODUCT_OUT)/uImage: android_kernel + ln -sf ../../../../kernel/arch/arm/boot/uImage $(PRODUCT_OUT)/uImage \ No newline at end of file -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: platform/manifest.git] Added manifest for LEB for Pandaboard
--- LEB-panda.xml | 195 + 1 files changed, 195 insertions(+), 0 deletions(-) create mode 100644 LEB-panda.xml diff --git a/LEB-panda.xml b/LEB-panda.xml new file mode 100644 index 000..3b11bd6 --- /dev/null +++ b/LEB-panda.xml @@ -0,0 +1,195 @@ +?xml version=1.0 encoding=UTF-8? +manifest + remote name=korg + fetch=git://android.git.kernel.org/ + review=review.source.android.com / + default revision=refs/tags/android-2.3.3_r1a + remote=korg / + + remote name=linaro + fetch=git://git.linaro.org/ / + + remote name=0xbench + fetch=git://gitorious.org/0xbench/ / + + remote name=omapzoom + fetch=git://git.omapzoom.org/repo/ / + + + !-- Linaro changes -- + project path=device/linaro/pandaboard name=android/device/linaro/pandaboard revision=LEB-panda remote=linaro / + project path=device/linaro/common name=android/device/linaro/common revision=linaro_android_2.3.3 remote=linaro / + project path=system/vold name=android/platform/system/vold revision=linaro_android_2.3.3 remote=linaro / + project path=build name=android/platform/build revision=linaro_android_2.3.3 remote=linaro +copyfile src=core/root.mk dest=Makefile / + /project + + project path=kernel name=people/jstultz/android revision=linaro-android.38 remote=linaro / + project path=u-boot name=boot/u-boot-linaro-stable revision=master remote=linaro / + + project path=packages/apps/0xbench name=0xbench revision=master remote=0xbench / + + !-- x-loader -- + project path=device/linaro/x-loader name=x-loader revision=master remote=omapzoom / + + !-- standard Andorid manifest -- + project path=bionic name=platform/bionic / + project path=bootable/bootloader/legacy name=platform/bootable/bootloader/legacy / + project path=bootable/diskinstaller name=platform/bootable/diskinstaller / + project path=bootable/recovery name=platform/bootable/recovery / + project path=cts name=platform/cts / + project path=dalvik name=platform/dalvik / + project path=development name=platform/development / + project path=device/common name=device/common / + project path=device/htc/common name=device/htc/common / + project path=device/htc/passion name=device/htc/passion / + project path=device/htc/passion-common name=device/htc/passion-common / + project path=device/sample name=device/sample / + project path=device/samsung/crespo name=device/samsung/crespo / + project path=external/apache-http name=platform/external/apache-http / + project path=external/astl name=platform/external/astl / + project path=external/bison name=platform/external/bison / + project path=external/blktrace name=platform/external/blktrace / + project path=external/bluetooth/bluez name=platform/external/bluetooth/bluez / + project path=external/bluetooth/glib name=platform/external/bluetooth/glib / + project path=external/bluetooth/hcidump name=platform/external/bluetooth/hcidump / + project path=external/bouncycastle name=platform/external/bouncycastle / + project path=external/bsdiff name=platform/external/bsdiff / + project path=external/bzip2 name=platform/external/bzip2 / + project path=external/chromium name=platform/external/chromium / + project path=external/clearsilver name=platform/external/clearsilver / + project path=external/dbus name=platform/external/dbus / + project path=external/dhcpcd name=platform/external/dhcpcd / + project path=external/dnsmasq name=platform/external/dnsmasq / + project path=external/dropbear name=platform/external/dropbear / + project path=external/e2fsprogs name=platform/external/e2fsprogs / + project path=external/easymock name=platform/external/easymock / + project path=external/elfcopy name=platform/external/elfcopy / + project path=external/elfutils name=platform/external/elfutils / + project path=external/embunit name=platform/external/embunit / + project path=external/emma name=platform/external/emma / + project path=external/esd name=platform/external/esd / + project path=external/expat name=platform/external/expat / + project path=external/fdlibm name=platform/external/fdlibm / + project path=external/freetype name=platform/external/freetype / + project path=external/fsck_msdos name=platform/external/fsck_msdos / + project path=external/genext2fs name=platform/external/genext2fs / + project path=external/giflib name=platform/external/giflib / + project path=external/grub name=platform/external/grub / + project path=external/gtest name=platform/external/gtest / + project path=external/guava name=platform/external/guava / + project path=external/icu4c name=platform/external/icu4c / + project path=external/iproute2 name=platform/external/iproute2 / + project path=external/ipsec-tools name=platform/external/ipsec-tools / + project path=external/iptables name=platform/external/iptables / + project path=external/jdiff name=platform/external/jdiff / + project
[Android: device/linaro/common.git] Mount /system as /dev/block/mmcblk0p2
Mounting system as mmc@blk0p2 did not work. Replaced it with /dev/block/mmcbkk0p2 as a temporary solution. --- init.rc |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/init.rc b/init.rc index c2836b9..e5b64ed 100644 --- a/init.rc +++ b/init.rc @@ -91,10 +91,9 @@ loglevel 3 on fs # mount mmc partitions -mount ext4 mmc@blk0p2 /system -mount ext4 mmc@blk0p2 /system ro remount -mount ext4 mmc@blk0p3 /cache -mount ext4 mmc@blk0p5 /data +mount ext4 /dev/block/mmcblk0p2 /system ro +mount ext4 /dev/block/mmcblk0p3 /cache +mount ext4 /dev/block/mmcblk0p5 /data on post-fs # once everything is setup, no need to modify / -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[Android: device/linaro/pandaboard.git] The init.omap4.sh file should be in the system partition.
Bug #770389 --- AndroidBoard.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/AndroidBoard.mk b/AndroidBoard.mk index 941416a..c417cac 100644 --- a/AndroidBoard.mk +++ b/AndroidBoard.mk @@ -30,7 +30,7 @@ ALL_PREBUILT += $(file) $(file) : $(LOCAL_PATH)/init.omap4.rc | $(ACP) $(transform-prebuilt-to-target) -file := $(TARGET_ROOT_OUT)/system/etc/init.omap4.sh +file := $(PRODUCT_OUT)/system/etc/init.omap4.sh ALL_PREBUILT += $(file) $(file) : $(LOCAL_PATH)/init.omap4.sh | $(ACP) $(transform-prebuilt-to-target) -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: [PATCH android/device/linaro/pandaboard] vold.fstab: Change the sys path for mmc device
On 30 April 2011 20:47, Jeremy Chang jeremy.ch...@linaro.org wrote: Hi, What you think about this patch for kernel version 2.6.38.3? It's meant to be applied for beaglexM and pandaboard. We need this for vold to mount sdcard partition. It looks good to me. Unless someone complains I'll push it later today. /Patrik Thanks, -Jeremy On Wed, Apr 27, 2011 at 9:52 PM, Jeremy Chang jeremy.ch...@linaro.org wrote: After kernel bumped to 2.6.38.3, mmc sys path changed Signed-off-by: Jeremy Chang jeremy.ch...@linaro.org --- vold.fstab | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vold.fstab b/vold.fstab index 04b9690..10fe0c4 100644 --- a/vold.fstab +++ b/vold.fstab @@ -12,4 +12,4 @@ ## sysfs_path - List of sysfs paths to source devices ## -dev_mount sdcard /mnt/sdcard 6 /devices/platform/mmci-omap-hs.0/mmc_host/mmc0 +dev_mount sdcard /mnt/sdcard 6 /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0 -- 1.7.1 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: What is upstreaming and why should we bother? Presentation @ LDS on May 12th at 10:00 local time.
Hi, The Android track has a similar session where we are going to discuss upstreaming to the Android project. https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-o-upstreaming https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-o-upstreamingWe will discuss what can be upstreamed to the Android Open Source Project (AOSP) and touch subjects like copyright and the contribution agreement between Linaro and AOSP. /Patrik On 5 May 2011 16:41, anmar.ou...@linaro.org anmar.ou...@linaro.org wrote: Hello all: Lee will be giving a talk about upstreaming in his electrifying presentation titled What is upstreaming and why should we bother?. The presentation [1] is targeted at managers involved in such act or engineers who just started upstreaming, or want to do it. Please spread the work to everyone you think can benefit from this. We will tape it so it will be available on youtube post LDS. The presentation is scheduled for 10:00 on Thursday (May 12th) local time. Please check the schedules regularly as it might change. Slides [1] will be available by Tuesday. anmar [1] - https://blueprints.launchpad.net/linaro/+spec/linaro-other-o-how-upstreaming-works ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Gerrit userstory for multi-branch development
On 18 May 2011 13:07, Linus Walleij linus.wall...@linaro.org wrote: 2011/5/16 Paul Sokolovsky paul.sokolov...@linaro.org: You expressed concern that Gerrit is not too flexible for working with multiple topic branches, in particular, that it enforces work against single (master) branch (as far as I understood). It was mainly me blathering about Gerrit in that session so don't go after Arnd... I take a step back: there is nothing technical wrong with Gerrit really, the problem is how it is used. And the problem is that Gerrit is often used (also by Google) as a one-stop shop for integration. This means: you don't have what the kernel developers refer to as topic branches. Instead, in the Google case, look for example here: http://android.git.kernel.org/?p=kernel/experimental.git;a=summary (...) 4 months agoandroid-goldfish-2.6.35 7 months agoandroid-msm-2.6.35-wip 8 months agolinux-tegra-2.6.36-wip 10 months ago android-2.6.34-test2 These are indeed branches, but *what* is the topic actually? Well, it turs out the topic is: branch to rebase an big whole shebang mega-patchset on top of a new kernel upstream realease. That's not what kernel developers mean by topic branch. which is for example: http://git.kernel.org/?p=linux/kernel/git/tip/linux-2.6-tip.git;a=summary With examples like this it is not strange that Gerrit is used as it is in companies doing Android development. I think it basically boils down to the fact that a single Gerrit branch is seen as the place to integrate, whereas in kernel terms, you should integrate a single topic (such as i2c updates, boardfiles, regulators etc) and the system integrator should use plain git (no web interface!) to integrate the result with an octopus merge to produce a complete product. The result of the octopus merge should be frozen, i.e. it is not allowed to be used as a starting point for further development. If we have gerrit, build servers and test farm set up and we have managed to get the whole continuous integration process going is there the anything that prevents that we push to a topic branch for review and that the first step before the build starts it to do a merge of all topic branches for the kernel. On most companies where I know the details, nobody even has a clue what an octopus merge is. Eevrything is integrated in Gerrit directly, on a single branch. One reason is that I think you have to configure Gerrit for each new branch you create or delete, and that means a real bad fit with the kernel model of quickly creating/deleting and rebasing branches. Branches are configured in the same way as in git. :) You do a git push to the branch you want to create. The difference is that when you do your git push gerrit will check if you have the permission to create branches. /Patrik So: Gerrit is indeed a good review system and has the ability to use (topic) branches. But the examples from companies like Google are not very good models of what to do with them. Now there may be a reason why everything is still integrated on a single branch, and that is cross-subsystem dependency hell. If all drivers you develop are cross-dependent on other drivers, you end up in this place, such as you want to develop a driver for I2C peripheral X but you don't have a driver for the I2C bus yet (and a hundre times more complex examples). What you need to do in that case is to create new topic branch based on top of the i2c-driver topic branch and so on, and then you have to use just git, using Gerrit at the same time will make it necessary to add/remove/rebase branches at neckbreaking speed. If you just use a singe branch the integration seems simpler to the organization. Yours, Linus Walleij ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Android: Duplication in LEB-panda.xml manifest
On 20 May 2011 11:47, Kan-Ru Chen ka...@0xlab.org wrote: Hi, I'm developing on the linaro_android_2.3.3 branch and using the LEB-panda.xml manifest. I found there are two records for path frameworks/base, pointing to different remotes. Do you know which is the correct one to base on? You're right. We must fix that. They both point to the same commit. The first line points to git.linaro.organd the second to android.git.kernel.org. I will fix the problem. I will remove the second line. /Patrik Cheers, Kanru ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Customization of Gerrit for Android
Hi, It sounds like we have found someone to volunteer for the first steps of the Android review blueprint https://blueprints.launchpad.net/linaro-android/+spec/linaro-android-o-code-review /Patrik On 14 June 2011 05:46, James Westby james.wes...@linaro.org wrote: Hi Zach, Thanks for the prompt response. Please asssume that you are talking to someone that has never used Gerrit before :-) On Mon, 13 Jun 2011 20:27:34 -0500, Zach Pfeffer zach.pfef...@linaro.org wrote: James, Thanks for jumping on this. The need for Gerrit grows by the day. The first thing I'd want to do would be to log in using my openid and upload my ssh key to it. Openid is easy I think, I'll make sure it's documented in the RT ticket that openid is what we want the service to use for auth. Is uploading your ssh key a standard part of Gerrit? Second, I'd want to sync the Android-LEB and push a test change. What does syncing and pushing involve? I assume they are native parts of Gerrit, but do we need to adjust our hosting of the Android trees on git.linaro.org to support this? Third, I'd want to take the test change through the Gerrit lifecycle. This is just the review cycle that is a standard part of Gerrit? From there I'd want to hook up auto-merging and per-change build validation. This would take approved changes and attempt to merge them in to a staging tree. From there it would do a build test, and then ideally push the results through LAVA. If all of that is successful then it would replace the current LEB tip with the staging tree and start again? Thanks, James -Zach On 13 June 2011 19:34, James Westby james.wes...@linaro.org wrote: Hi Zach, We have a request in the queue to set up Gerrit for the Android team, and I know it's something that you consider very important. We haven't yet talked specifics of the configuration of Gerrit, and so I don't yet have a solid idea of what work there is for the Infrastructure team there. I'd like to rectify that and create an implementation plan for the first steps to where you want to go. To that end, if we had a vanilla Gerrit instance up and running tomorrow, what would be the first things that you would want to do to it before it would be useful to you? Thanks, James ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Announcement:Linaro Android 2.3.4
Hi, Linaro Android has now moved up to 2.3.4 and all of our patches on the linaro_android_2.3.3 branches have been rebased. The official builds (https://android-build.linaro.org/index) are now based on the linaro_android_2.3.4 branch of the manifest. Please rebase any dev_branches you have to 2.3.4. The linaro_android_2.3.3 branch will no longer be supported. Regards Patrik ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: Switching to Gerrit for Android code hosting - last stage
Hi, I have followed (and updated) the instructions on https://wiki.linaro.org/Platform/Android/Gerrit . I can not log in with my launchpad account. I get the message The requested URL /OpenID was not found on this server. /Patrik On 6 August 2011 07:56, James Westby james.wes...@canonical.com wrote: On Fri, 5 Aug 2011 15:57:59 +0100, Paul Sokolovsky paul.sokolov...@linaro.org wrote: Hello, Following today's work session preparing to switching Gerrit, everything is ready for the cutover now: First build from Gerrit repositories is finished successfully: https://android-build.linaro.org/jenkins/job/pfalcon_beagle-gerrit/4 Gerrit Web UI is migrated to the final location: http://review.android.git.linaro.org/ Gitweb is installed at http://android.git.linaro.org/gitweb Anon git access to repositories in Gerrit available via git://android.git.linaro.org/... It's too late to do the cutover now of course, so I'd like to propose to do it on Wed 10th to be sure that all folks are back from the Connect and final bits are settled. Hi, This sounds fine to me. Do you anticipate that this step will require any coordination with IS? Thanks, James ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Announcement:Linaro Android 2.3.5
Hi, Linaro Android has now moved up to 2.3.5. The daily builds (https://android-build.linaro.org/index) are now based on the linaro_android_2.3.5 branch of the manifest. Please rebase any dev_branches you have to 2.3.5. The linaro_android_2.3.4 branch will no longer be supported. Regards Patrik ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Hi everyone, I'm glad to announce the Linaro Android image 11.08 RC for Panda LEB.
Hi everyone, As our release plan, you can get the 11.08 release candidate of Linaro Android image for Panda LEB: https://android-build.linaro.org/builds/~linaro-android/leb-panda-11.08-release/#build=https://android-build.linaro.org/builds/~linaro-android/leb-panda-11.08-release/#build=4 4 After you download these 3 files (if you download them with wget in console, you may need to enable --no-check-certificate option), https://android-build.linaro.org/jenkins/job/linaro-android_leb-panda-11.08-release/4/artifact/build/out/target/product/pandaboard/boot.tar.bz2 https://android-build.linaro.org/jenkins/job/linaro-android_leb-panda-11.08-release/4/artifact/build/out/target/product/pandaboard/system.tar.bz2 https://android-build.linaro.org/jenkins/job/linaro-android_leb-panda-11.08-release/4/artifact/build/out/target/product/pandaboard/userdata.tar.bz2 flash them into a SD card with Linaro image tools (bzr branch lp:linaro-image-tools, if you're already a launch member): sudo ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdx --dev panda --system system.tar.bz2 --boot boot.tar.bz2 --userdata userdata.tar.bz2 The build uses the TI landing team kernel and support hardware accelerated 3D. Android version 2.3.5. It comes up in 1080P when a HP LP2065 monitor is connected via a DVI adapter. Thank you all for your great efforts! BR Botao Sun ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Hi everyone, I'm glad to announce the Linaro Android image 11.08 RC for Panda upstream build.
Hi everyone, As our release plan, you can get the 11.08 release candidate of Linaro Android image for Panda upstream build: https://android-build.linaro.org/builds/~linaro-android/panda-11.08-release/#build=4 After you download these 3 files (if you download them with wget in console, you may need to enable --no-check-certificate option), https://android-build.linaro.org/jenkins/job/linaro-android_panda-11.08-release/4/artifact/build/out/target/product/pandaboard/boot.tar.bz2 https://android-build.linaro.org/jenkins/job/linaro-android_panda-11.08-release/4/artifact/build/out/target/product/pandaboard/system.tar.bz2 https://android-build.linaro.org/jenkins/job/linaro-android_panda-11.08-release/4/artifact/build/out/target/product/pandaboard/userdata.tar.bz2 flash them into a SD card with Linaro image tools (bzr branch lp:linaro-image-tools, if you're already a launch member): sudo ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdx --dev panda --system system.tar.bz2 --boot boot.tar.bz2 --userdata userdata.tar.bz2 The build uses the Linaro kernel 3.0+ and Android version 2.3.5. It boots and comes up in 640x480 on a HP LP2065 monitor (HDMI - DVI converter used) Thank you all for your great efforts! Regards Patrik ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: how can i enable hw 3D acceleration on snowball for android?
The Android build from ST-Ericsson for snowball should show up at igloocommunity.org soon. /Patrik On 31 August 2011 06:23, ZHANGYUZHENG yuzheng.zh...@tieto.com wrote: I see snowball uses the mali400 gpu. To enable hw 3D acceleration, i got the mali driver and android HAL source code from the ARM web site, but no mali DDK cause it uses commercial license. So how can I enable hw 3D acceleration on snowball for android? Is it in developing? __**_ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/**mailman/listinfo/linaro-devhttp://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: where is the graphics git ?
Hi, If you are looking for any of the Android gits they have been moved to... http://android.git.linaro.org/gitweb /Patrik On 20 September 2011 03:52, Jello huang ruifeihu...@gmail.com wrote: hi Benjamin, i wanna to find the graphics HAL ,but can not find out at http://git.linaro.org ? Thanks Jello Huang ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Announcement:Linaro Android 2.3.7 builds
Hi, Linaro Android has now moved up to 2.3.7 for all builds. The daily builds (https://android-build.linaro.org/https://android-build.linaro.org/builds/~linaro-android/panda) are now based on the linaro_android_2.3.7 branch of the manifest. If you have any development branches based on linaro_android_2.3.5 please update to linaro_android_2.3.7. linaro_android_2.3.5 will no longer be supported. Regards Patrik Ryd ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Re: RFC: Ideas for Linaro
We could just use https://www.google.com/moderator/#0. /Patrik On 5 January 2012 00:18, Joey STANFORD j...@linaro.org wrote: Hi Gang, During some roadmapping work today the discussion of capturing and voting on ideas for Linaro came up. The idea was to possibly recreate a Linaro version of this http://brainstorm.ubuntu.com/ for everyone to contribute to. I'm looking for +1 and -1 feedback from folks about whether this would be useful (vs interesting). Joey ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev