Update the Porting Guide wiki page

master
Florent Revest 2017-07-09 15:01:43 +01:00
parent 9fd9785e91
commit cf2d82deb8
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ layout: documentation
<div class="page-header">
<h1 id="usb">USB</h1>
</div>
<p>If you have your AsteroidOS system running, you will want to get a shell access to it with adb over USB. Try to run adb devices&nbsp;from your computer when your watch has been booted for a few seconds and check if you see your device. If you dont, you may have a problem with your USB setup.</p>
<p>First of all, try to replicate the config of your Android Wears init scripts in <a href="https://github.com/AsteroidOS/meta-dory-hybris/blob/master/recipes-core/initrdscripts/initramfs-boot-android/init.sh#L26">your ramdisks init script</a>. Once youre sure the USB config is the same, you should try to run <a href="https://github.com/AsteroidOS/meta-dory-hybris/blob/master/recipes-core/initrdscripts/initramfs-boot-android/init.sh#L52">adbd from your ramdisk</a> instead of the rootfs, if it solves the problem you may have an issue with usb_moded not starting adbd properly.</p>
<p>If you have your AsteroidOS system running, you will want to get a shell access to it with adb or SSH over USB. Use <i>dmesg -w</i> on your computer to check if your watch appears after having been booted for a few seconds. If you dont see your watch, you may have a problem with your USB setup.</p>
<p>First of all, try to replicate the config of your Android Wears init scripts in <a href="https://github.com/AsteroidOS/meta-dory-hybris/blob/master/recipes-core/initrdscripts/initramfs-boot-android/init.sh#L26">your ramdisks init script</a>. Once youre sure the USB config is the same, you should try to run <a href="https://github.com/AsteroidOS/meta-dory-hybris/blob/master/recipes-core/initrdscripts/initramfs-boot-android/init.sh#L52">adbd from your ramdisk</a> instead of the rootfs, if it solves the problem you may have an issue with usb_moded not starting adbd or RNDIS properly.</p>
<p>If the problem is the same, you may have a problem with your kernels config or drivers. First of all, make sure CONFIG_USB_G_ANDROID is still enabled in the generated build/tmp-glibc/work/XXX-oe-linux-gnueabi/linux-XXX/*/git/.config as it is quite common to find bitbake removing this option. If the option is still there, your kernel may need special patches.</p>
<div class="page-header">
<h1 id="display">Display</h1>