Hi,

After checking, it's patch issue.  We need absolute path for $B2G_HOME.
Please try the patch below.

==============================================
diff --git a/run-emulator.sh b/run-emulator.sh
index 201fa90..f6e793e 100755
--- a/run-emulator.sh
+++ b/run-emulator.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-B2G_HOME=$(dirname $BASH_SOURCE)
+B2G_HOME=$(cd $(dirname $BASH_SOURCE); pwd)
 
 . $B2G_HOME/load-config.sh
==============================================

Best Regards,
Shianyow

----- Original Message -----
From: "ARMageddon" <[email protected]>
To: [email protected]
Cc: [email protected], "ARMageddon" <[email protected]>
Sent: Saturday, November 3, 2012 11:34:42 PM
Subject: Re: [b2g] Black Screen on emulator-ARM

Thankyou very much for your answer Shian-Yow,
in fact ./flash.sh gaia does not work:
1) first of all it tries to run adb with a incorrect path, I solved this 
prepending a "../" in the makefile to $(ADB)
2) the real problem is when it tries to push the files on /sdcard; sdcard is 
readonly and seems to be a hard link that I can't remove/rename
# ls -al mnt
d--------- system   system            2012-11-03 14:12 sdcard
3) /sdcard therefore is completely void, so nothing gets copied to it, 
therefore there is no media

In the log I see:
"emulator: autoconfig: -sdcard ./out/target/product/generic//system.img"
so I suppose there is a problem when building the system image.

Anyway after executing flash gaia and adb shell stop b2g/start black screen 
remains.

Do you have any suggestions on how I could solve this?
Thank you!


On Saturday, November 3, 2012 2:40:40 PM UTC+1, Shian-Yow Wu wrote:
> Please try if this workaround works for you.
> $ ./run_emulator.sh
> 
> $ ./flash.sh gaia
> 
> $ adb shell stop b2g
> 
> $ adb shell start b2g
> 
> 
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to