W dniu 08.08.2012 17:33, Parin Choganwala pisze:
> Ok thank you very much for your help!
>
> i did report a bug on launchpad and trying your scripts. syncing the
> repo right now.
>
> Actually i wanted to make few configuration changes in linux kernel
> itself. Is there any way to run menuconfig during the build process?
> How can i build kernel and android source separately?
I think you can change the kernel config easily but I have not attempted
this with android yet. I'm sure others here can help you.
Best regards
ZK
--
Zygmunt Krynicki
Linaro Validation Team
s/Validation/Android/
Hi,
I am trying to compile Android from source for Pandabaord from
https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-til…
when executing make command I get the following error and build stops. It
looks like some simple copy issue. How to fix it?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
mkdir -p out/target/product/generic/boot
echo "Target boot fs tarball: out/target/product/generic/boot.tar.bz2"
Target boot fs tarball: out/target/product/generic/boot.tar.bz2
mkdir -p out/target/product/generic/boot
cp -f out/target/product/generic/boot/.
cp: missing destination file operand after
`out/target/product/generic/boot/.'
Try `cp --help' for more information.
make: *** [out/target/product/generic/boot.tar.bz2] Error 1
Please help!
Thank you
Parin
Hi,
AFAIK, we reverted our experiments to use =eng instead of =test ...
I understand this was done to prevent ICS/JB from slowing down due to
hundreds of apps getting registered and displayed in the launcher...
Now, what's the plan on how to get the AOSP tests produced in a way
that we can run/use them?
--
Alexander Sack
Technical Director, Linaro Platform Teams
http://www.linaro.org | Open source software for ARM SoCs
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog
Hi Bero,
It is seen that latest bionic patches are causing Origen MM to crash, I
just verified by removing the stream of bionic patches for optimization.
There was a specific failure from memcpy(), this was due to 32 bit
un-aligned address (Source Pointer) passed as an argument , this addess is
obtained from mmap (device space)
It looks like the latest optmizations are not taking this scenario into
consideration and thus causing issues for specific case as mentioned above.
I have not tried disabling NEON flag though.
With Regards,
Annamalai
Hi,
While working on a chrooted Android (the host distribution being a Debian one) stored in a tmpfs (in RAM), I noticed that, sometimes, enabling WLAN fails (the button goes straight from "On" to "Off"). On the console, the module was loaded ("CW1200 WSM init done"), but logcat showed that wpa_supplicant could not find the interface:
E/wpa_supplicant( 8015): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 8015): WEXT: Could not set interface 'wlan0' UP
E/wpa_supplicant( 8015): wlan0: Failed to initialize driver interface
D/wpa_supplicant( 8015): Failed to add interface wlan0
E/WifiStateMachine( 2292): Failed to start supplicant!
When I put udev (in the host system) in charge of firmware loading, this bug always happens ; when I disable udev and let uevent (in the Android chroot) do the job, it only happens one time out of fifteen I would say.
The problem seems to be that libhardware_legacy does not wait for the interface to be created to state that the driver has been loaded, leading the Wifi state machine in Android to load the supplicant before the interface was created. The patch at the end of this mail (concerning libhardware_legacy) enables libhardware_legacy to wait for the interface to be created in /sys/class/net, thus solving the problem.
However, since this problem only occurs in rare cases when not using Linaro Android as intended (from emmc or sd card), I do not know if this is worth having a look at.
Regards,
Yann Benigot
PATCH:
diff --git a/wifi/wifi.c b/wifi/wifi.c
index 301d91b..c2661f2 100644
--- a/wifi/wifi.c
+++ b/wifi/wifi.c
@@ -200,6 +200,8 @@ int wifi_load_driver()
#ifdef WIFI_DRIVER_MODULE_PATH
char driver_status[PROPERTY_VALUE_MAX];
int count = 100; /* wait at most 20 seconds for completion */
+ DIR *ifaceDir;
+ char ifaceDirPath[16+PROPERTY_VALUE_MAX];
if (is_wifi_driver_loaded()) {
return 0;
@@ -218,10 +220,21 @@ int wifi_load_driver()
property_set("ctl.start", FIRMWARE_LOADER);
}
sched_yield();
+ property_get("wifi.interface", iface, WIFI_TEST_INTERFACE);
+ sprintf(ifaceDirPath, "/sys/class/net/%s", iface);
while (count-- > 0) {
if (property_get(DRIVER_PROP_NAME, driver_status, NULL)) {
if (strcmp(driver_status, "ok") == 0)
- return 0;
+ {
+ ifaceDir = opendir(ifaceDirPath);
+ if(ifaceDir != NULL) {
+ closedir(ifaceDir);
+ return 0;
+ }
+ else {
+ LOGI("%s not found, waiting for wifi driver to complete initialization. Will try again %d times.", ifaceDirPath, count-1);
+ }
+ }
else if (strcmp(DRIVER_PROP_NAME, "failed") == 0) {
wifi_unload_driver();
return -1;
Hi~:
I'm a fan of linaro,and I'd like to build the linaro android for
beagleboard.But I can't find any successful cases based on the lasted
release.
So,Can you show me any ideas?
Thanks~