Problems with fastboot


#1

I’ve been unable to get into the mangoh via fastboot to flash a new yocto image. I’ve followed serveral tutorials online but the device still is not showing up. Has anyone run into this problem / have any solutions?


#2

What version do you have?

Release note here mentions various limitaions: http://source.sierrawireless.com/resources/legato/wp85crn/


#3

I’m having the same problem. I’m using the version that shipped with the board.
root@swi-mdm9x15:~# cm info
Device: WP8548
IMEI: 359377060016390
FSN: LL609500260705
Firmware: SWI9X15Y_07.08.02.00 r31088 CARMD-EV-FRMWR1 2016/02/05 23:29:29
Bootloader: SWI9X15Y_07.08.02.00 r31088 CARMD-EV-FRMWR1 2016/02/05 23:29:29

root@swi-mdm9x15:~# legato version
16.01.0.Beta_aa0684bddf31f5ea2d457b53d2218972
root@swi-mdm9x15:~#

Here are my steps:
I created udev rules 51-android.rules and rebooted
SUBSYSTEM==“usb”, ATTRS{idVendor}==“1199”, MODE=“0666”

SUBSYSTEM==“usb”, ATTRS{idVendor}==“18d1”, MODE=“0666”

Put MangOH in boot mode:
root@swi-mdm9x15:~# sys_reboot bootloader

[ 2985.190935] reboot: Restarting system with command ‘bootloader’
[ 2985.196001] Going down for rest�Android Bootloader - UART_DM Initialized!!!

executed fastboot on host connected through both serial and usb
john@john-Latitude-D620:~/android-studio/sdk/platform-tools$ ./fastboot devices
john@john-Latitude-D620:~/android-studio/sdk/platform-tools$ sudo ./fastboot device
[sudo] password for john:
< waiting for device >

Also adb works with other devices such as my phone and a tablet but not with this device. How do I enable it on the MangOH board?


#4

Fastboot should work with latest firmware (release 11 onwards):

http://source.sierrawireless.com/resources/legato/wpfirmwarerelease/

Can you retry that? We just did and it seemed to work.

Target board:

swi-mdm9x15 login: root
Linux swi-mdm9x15 3.14.29ltsi-5d7a6bf7c6_ed88cc68b5 #2 PREEMPT Sat Feb 6 02:37:18 PST 2016 armv7l GNU/Linux
root@swi-mdm9x15:~# sys_reboot bootloader
[ 86.781046] reboot: Restarting system with command ‘bootloader’
[ 86.785960] Going down for rest▒Android Bootloader - UART_DM Initialized!!!
[50] udc_start()
Android Bootloader - UART_DM Initialized!!!

Linux environment:
oem@xxx-linux:~/work/Yocto1_7-latest-Jun23/build_bin/tmp/deploy/images/swi-mdm9x15$ sudo fastboot devices
MDM9615 fastboot
oem@vzhu-linux:~/work/Yocto1_7-latest-Jun23/build_bin/tmp/deploy/images/swi-mdm9x15$ sudo fastboot erase kernel
erasing ‘kernel’…
OKAY [ 0.089s]
finished. total time: 0.090s
oem@xxx-linux:~/work/Yocto1_7-latest-Jun23/build_bin/tmp/deploy/images/swi-mdm9x15$ sudo fastboot erase rootfs
erasing ‘rootfs’…
OKAY [ 0.266s]
finished. total time: 0.266s
oem@xxx-linux:~/work/Yocto1_7-latest-Jun23/build_bin/tmp/deploy/images/swi-mdm9x15$ sudo fastboot flash rootfs rootfs
sending ‘rootfs’ (26496 KB)…
OKAY [ 3.548s]
writing ‘rootfs’…
OKAY [ 4.476s]
finished. total time: 8.024s
oem@xxx-linux:~/work/Yocto1_7-latest-Jun23/build_bin/tmp/deploy/images/swi-mdm9x15$ sudo fastboot flash kernel boot-yocto-mdm9x15.2k.img
sending ‘kernel’ (6208 KB)…
OKAY [ 0.832s]
writing ‘kernel’…
OKAY [ 1.083s]
finished. total time: 1.915s
oem@xxx-linux:~/work/Yocto1_7-latest-Jun23/build_bin/tmp/deploy/images/swi-mdm9x15$ sudo fastboot reboot
rebooting…

finished. total time: 0.001s
oem@xxx-linux:~/work/Yocto1_7-latest-Jun23/build_bin/tmp/deploy/images/swi-mdm9x15$


#5

I tried the 16.04 version 11 and still have the same results. I was able to get a phone into fastboot mode and recognize it using my host PC. Here are the results

MangOH board
swi-mdm9x15 login: root
Linux swi-mdm9x15 3.14.29ltsi-5d7a6bf7c6_ed88cc68b5 #2 PREEMPT Sat Feb 6 02:37:18 PST 2016 armv7l GNU/Linux
root@swi-mdm9x15:~# sys_reboot bootloader
[ 400.531054] reboot: Restarting system with command ‘bootloader’
[ 400.535968] Going down for rest�Android Bootloader - UART_DM Initialized!!!
Android Bootloader - UART_DM Initialized!!!

root@swi-mdm9x15:~# legato version
16.04.0_63633d9200de787b7c2a6dca03d2cff3

On host system:
john@john-Latitude-D620:~$ fastboot devices

Bus 003 Device 032: ID 1199:68c0 Sierra Wireless, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1199 Sierra Wireless, Inc.
idProduct 0x68c0
bcdDevice 0.00
iManufacturer 1 Sierra Wireless, Incorporated
iProduct 2 WP8548
iSerial 3 0123456789ABCDEF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)