Hello to everybody. I'm trying to virtualize Linaro-Android 4 with
qemu-linaro on two different kind of machines :
1) Pandaboard ES running Ubuntu with this kernel :
Linux arm 3.7.2-x6 #1 SMP Sat Jan 12 07:16:37 UTC 2013 armv7l armv7l armv7l
GNU/Linux
2) Samsung XE303C12-A01US Chromebook running CHR Ubuntu with this kernel :
Linux localhost.localdomain 3.4.0-5-chromebook #5-Ubuntu SMP Fri Feb 8
14:54:53 UTC 2013 armv7l armv7l armv7l GNU/Linux
To accomplish the goal I made the experiments with two versions of
qemu-linaro :
1) qemu-linaro-1.3.0-2012.12
2) qemu-linaro 1.4 from the GIT rep
In both cases I configured qemu-linaro with these parameters :
--disable-kvm --disable-tcg-interpreter --enable-curses --enable-sdl
--enable-vnc --disable-debug-tcg --enable-vhost-net
I tried to follow two different kind of tutorials :
1)
http://www.linuxforu.com/2011/06/qemu-for-embedded-systems-development-part…
2)
https://wiki.linaro.org/KenWerner/Sandbox/AndroidQEMU?highlight=%28QEMU%29|…<https://wiki.linaro.org/KenWerner/Sandbox/AndroidQEMU?highlight=%28QEMU%29%…>
On the TUTORIAL n. 1:
1) Created a small test program, test.c, with the basic “Hello world”:
#include<stdio.h>
int main(){
printf("Welcome to Open World\n");
}
# gcc test.c -o test
2) Built the Linux kernel for ARM
# tar -jxvf linux-2.6.37.tar.bz2 (but I tried with a lot of other kernel
versions)
# cd linux-2.6.37
# make menuconfig ARCH=arm
# make ARCH=arm uImage -s
# qemu-system-arm -M versatilepb -m 128M -kernel
/home/user/Desktop/linux-2.6.37/arch/arm/boot/uImage
RESULT = black screen inside the qemu-linaro window without error messages
3) Developed a dummy filesystem (hello.c) for testing
#include<stdio.h>
int main(){
while(1){
printf("Hello Open World\n");
getchar();
}
}
# gcc hello.c -static -o hello
4) Created a root filesystem
# echo hello | cpio -o --format=newc > rootfs
5) Testing :
qemu-system-arm -M versatilepb -m 128M -kernel /home/user/Desktop/
linux-2.6.37/arch/arm/boot/uImage -initrd rootfs -append "root=/dev/ram
rdinit=/hello"
RESULT = black screen inside the qemu-linaro window without error messages
On the TUTORIAL n. 2 :
1) Patched :
qemu-linaro-1.3.0-2012.12
with :
sed -i "s/#define INITRD_LOAD_ADDR 0x00d00000/#define INITRD_LOAD_ADDR
0x01d00000/" qemu-linaro-1.3.0-2012.12/hw/arm_boot.c
and also qemu-linaro 1.4 from the GIT rep
with the same patch:
sed -i "s/#define INITRD_LOAD_ADDR 0x00d00000/#define INITRD_LOAD_ADDR
0x01d00000/" qemu-linaro/hw/arm_boot.c
2) wget
http://releases.linaro.org/12.05/android/images/vexpress-ics-gcc47-armlt-tr…
gunzip vexpress-ics-gcc47-armlt-tracking-open.img.gz
sudo kpartx -a vexpress-ics-gcc47-armlt-tracking-open.img
sudo mount /dev/mapper/loop0p1 /mnt -o loop,ro
cp /mnt/uImage /mnt/uInitrd .
sudo umount /mnt
sudo kpartx -d /dev/mapper/loop0p*
dd if=uImage of=vmlinuz skip=64 bs=1
dd if=uInitrd of=initrd.gz skip=64 bs=1
3) Tried to boot Linaro Android 12.05 using qemu-linaro-1.3.0-2012.12 and
also qemu-linaro 1.4 from the GIT rep
on the Pandaboard ES with this :
qemu-system-arm -M vexpress-a9 -m 1024 -smp 1 -snapshot -serial stdio
-no-reboot -kernel vmlinuz -initrd initrd.gz -drive
file=vexpress-ics-gcc47-armlt-tracking-open.img,if=sd,cache=writeback
--append "console=tty0 console=ttyAMA0,38400n8 rootwait ro init=/init
androidboot.console=ttyAMA0"
and on the Samsung XE303C12-A01US Chromebook with this :
qemu-system-arm -M vexpress-a15 -cpu-cortex-a15 -m 1024 -smp 1 -snapshot
-serial stdio -no-reboot -kernel vmlinuz -initrd initrd.gz -drive
file=vexpress-ics-gcc47-armlt-tracking-open.img,if=sd,cache=writeback
--append "console=tty0 console=ttyAMA0,38400n8 rootwait ro init=/init
androidboot.console=ttyAMA0"
I've also tried wth :
qemu-system-arm -M vexpress-a15 -cpu cortex-a15 -m 1024 -smp 1 -snapshot
-serial stdio -no-reboot -kernel uImage -initrd uInitrd -drive
file=vexpress-ics-gcc47-armlt-tracking-open.img,if=sd,cache=writeback
--append "console=tty0 console=ttyAMA0,38400n8 rootwait ro init=/init
androidboot.console=ttyAMA0"
Also tried with different kind of combinations,like :
-M versatilepb ; -M vexpress-a9 ; -cpu cortex-a9 ; -m 512 ;
but the RESULT is still the smae = black screen inside the qemu-linaro
window without error messages. Any help ?
Instead,debian_lenny_armel_desktop is virtualized very well with
qemu-linaro following this procedure :
a) wget vmlinuz-2.6.32-5-versatile,initrd.img-2.6.32-5-versatile and
debian_lenny_armel_desktop from here :
http://people.debian.org/~aurel32/qemu/armel/
b) tried to virtualize debian_lenny_armel_desktop with :
qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd
initrd.img-2.6.32-5-versatile -hda debian_lenny_armel_desktop.qcow2 -append
"root=/dev/sda1"
and it works....
--
Mario.
A request has been received to discontinue the Linaro's support for Origen
4210 Android builds.
Moving ahead the following changes will be applied:
* Daily builds for Origen 4210 will be disabled.
* No more testing will be done on Origen 4210.
* There will be no work done on fixing bugs on the Origen 4210 Android
build.
* There will be no efforts in updating the support for Origen 4210 board
with new Android builds.
Regards,
Vishal
wrong mailing list. forwarding to linaro-android.
---------- Forwarded message ----------
From: Jianchun Zuo
Date: 28 February 2013 01:18
Subject: fetch code issue
Hi,
I'm trying to get Linaro source code according to the guide of "Building
>From Source code" at http://releases.linaro.org/13.01/android/vexpress,
while always failed with message "error: Exited sync due to fetch errors".
Also, I noticed that there is another option -l to specify login-id, and I
just use the default one, is that OK?
Here is the command I used and the error message I met, please help to
check whether there are anything wrong. Thanks.
jzuo@jzuo-ubuntu:~/work/tc2$ *ls*
android build-info.tar.bz2 linaro_android_build_cmds.sh
pinned-manifest.xml source-manifest.xml
jzuo@jzuo-ubuntu:~/work/tc2$ *./linaro_android_build_cmds.sh -m
~/work/tc2/source-manifest.xml -o ~/work/tc2/build-info.tar.bz2 *
... ...
error: *Exited sync due to fetch errors*
Thanks for you help in advance.
Jianchun Zuo
New problem:
$ git clone git://android.git.linaro.org/people/pfefferz/at.git
Cloning into 'at'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
OTOH the repository does exist,
$ git clone ssh://bero@android.git.linaro.org:29418/people/pfefferz/at.git
works just fine.
Did someone tighten permissions on people/ so only the owner can check it
out over git:// or something?
ttyl
bero
On Tue, 2013-02-26 at 11:27 -0800, D D wrote:
> Yes, I have tried both the config in the release notes as well as
> configurations to boot A7.
> The configurations to boot A7 hang while executing the BOOTSCRIPT.
> The release note configurations get past that state, boot up the
> kernel and hang as shown in this thread.
> As a first step, I am just trying to get the release note
> configuration working without the hang.
I've just tested out the 13.01 release notes again by following them to
recreate and replacing my TC2's firmware and configure UEFI; and that
works for me to boot a fresh 13.01 Android image from an SD card.
If you aren't having any success with that configuration, then further
things I can suggest are:
1) To make sure any firmware changes have really taken hold, try erasing
all the NOR flash. You can do this from the bootloader Cmd> prompt by
entering "flash" to get a Flash> prompt, then enter 'eraseall'. After
the flash has finished erasing, reboot the board and the firmware will
be reprogrammed again.
2) In case there is an error in the UEFI config (I know it's a bit
fiddly to enter) then you could try the Linaro firmware zip we have for
the forthcoming 13.02 release [1]. This has a UEFI version which ignores
the SD card UUID and so doesn't need reconfiguring every time you create
a new disk image. It also has the benefit that the default boot config
will work without you needing to manually set anything. If you try this
latest UEFI, I suggest you also erase the flash as above, to make extra
sure there is no old config left over from a previous version.
[1] https://wiki.linaro.org/ARM/VersatileExpress?action=AttachFile&do=get&targe…
--
Tixy
Hi,
here is the test result summary for Linaro android jelly bean 13.02 rc for
different platform
[1] panda 4430 with linaro-android jb 4.2.2
[2] panda 4460 with linaro-android jb 4.2.2
[3] ST snowball with linaro android jb4.2.2
[4] Samsung origen with linaro android jb: 4.2.2
[5] ARM v-express A9 with Linaro-android jb 4.2.2
synopsis: all boards are works well with Linaro-android 4.2.2 release
candidate. on panda4460 and panda 4430 audio playback issue of panda is
fixed.
External sdcard issue on pandaboard was fixed. youtube and video playback
is working Fine. wifi is working Fine, ethernet can be configured from
command line to make its working. powertop and download & install apk is
working Fine.
ST-snowball board toolchain version is changed to 4.7-2013.02, android
version is changed to 4.2.2. external Sdcard partition mount issue is
fixed, playback of video is failed in gallery.
origen is works well with Linaro android jb 4.2.2. with the toolchain
version (4.7-2013.02-01-2~dev), known issue gallery not shown the content,
email, calender, people sync does not work, ethernet can be configured from
command line to make it work. wifi does not work, on tethering target
cannot access internet after getting IP from origen.
ARM vexpress-A9 board with linaro android jb 4.2.2 , kernel version is
changed to 3.8.0-00928-g7d866cd. and toolchain version is upgraded to
4.7-2013.02. External sdcard issue on vexpress is fixed. known issue adb
over usb test Failed, video playback failed in gallery apps, suspend-resume
test not working properly.
[1] panda 4430 with linaro-android jb 4.2.2(column: AE)
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
on panda 4430 audio playback of panda is fixed.
External sdcard issue on pandaboard was fixed. youtube and video playback
is working Fine. wifi is working Fine, ethernet can be manually configured
from command line to make its working. powertop and download & install apk
issue is fixed and working properly. suspend-resume test issue is fixed and
working again.
calender, People sync test are Failed.
known issue: speech recorder give pop ups message "Unfortunately, Speech
Recorder has stopped" and stopped functioning, enabling BT is failed,
usb-camera does not works.
Please see the result spread-sheet for details and bug reports.
[2] panda 4460 with linaro-android jb 4.2.2 (column: AG)
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadGVWd…
on panda 4460 audio playback of panda is fixed.
External sdcard issue on pandaboard was fixed. youtube and video playback
is working Fine. wifi is working Fine, ethernet can be manually configured
from command line to make its working. powertop and download & install apk
issue is fixed and working properly. suspend-resume test issue is fixed and
working again.
calender, People sync test are Failed.
known issue: speech recorder give pop ups message "Unfortunately, Speech
Recorder has stopped" and stopped functioning, enabling BT is failed,
usb-camera does not works.
Please see the result spread-sheet for details and bug reports.
[3] ST-snowball with linaro android jb 4.2.2(column: AA)
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadEF1N…
ST-snowball board with Linaro-android 4.2.2, toolchain version is changed
to 4.7-2013.02,
external Sdcard partition mount issue is fixed, video playback from gallery
apps is failed.
known issue: suspend-resume not working properly, playback of video and
music is failed, calender, people and email sync does not occour.
other than this it keeps exactly the same result from last build tests.
please see the result spreadsheet for details of tests and bug reports.
[4] Samsung origen with linaro android jb: 4.2.2 (column : T)
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadDRDV…
origen is works well with Linaro android 4.2.2. with the toolchain version
(4.7-2013.02-01-2~dev), known issue : external sdcard partition is not
mount gallery not shown its content, email, calender, people sync does not
work, ethernet can be configured from command line to make it work. wifi
does not work, on tethering target cannot access internet after getting IP
from origen.
Please see the result spreadsheet for details test cases, and bug reports.
[5] ARM v-express A9 with Linaro-android jb 4.2.2 (column : AB)
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadExQd…
ARM vexpress-A9 board with linaro android jb 4.2.2 , kernel version is
changed to 3.8.0-00928-g7d866cd. and toolchain version too upgraded to
4.7-2013.02. External sdcard issue on vexpress is fixed.
known issue: adb over usb test Failed, video playback failed in gallery
apps, suspend-resume test not working properly.
Please see the result spreadsheet for test case details and bug reports.
wiki page: https://wiki.linaro.org/Platform/QA/TestCases/Android
Best regards
Soumya Basak
Hi All,
I have tried to use the build scripts(linaro android build
cmds) to build Android for Vexpress but I meet always Git errors during
source downloading.
I did it for different version
2012.07/2012.08/2012.09 and so on and always I met Giterrors (NOT VALID
sha....) on some projects.
Could you help me to solve it?
thanks,
Fabio
Dear sir,
I saw that some devices when I insert the charger inside the plug of the
tablet they switch automatically on (such as Ipad or Iphone). The tablet
that I bought does not support this function but if I insert the charger,
the animation of the battery automatically starts so I believe that the CPU
could start the OS. After some research I figured out that I must modify the
Boot Image and so I need to bake a custom rom able to boot the OS when I
insert the charger into the plug. Can anyone help me? it's really important,
I am been working on this in the last two months with zero results.
PLEASE HELP
THANK YOU
Br,
Mahmoud Ebeid
Tel+ 201007780097 , +971509501644