Not able to Flash the AOSP Images on RB3-DragonBoard845C

============================================
Not able to flash newly built AOSP and Kernel image on RB3 (845C)

  1. We flashed RB3 bootloader . Bootloader is from Linaro Snapshots
    Package used is 87 but we tried with 83 too

AOSP Info /Kernel build info

we have built AOSP 11 and kernel 11-5.4 for 845C . and trying flash all images using **flash-all-
after issuing this no more response from RB3. See RB3 Firmware is not in right state.Following are
extracted terminal logs for RB3 board.

Launching fastboot                                                              
Fastboot Build Info: Dec 10 2019 01:42:44                                       
qusb2_1:  hstx: 6                                                                
PLL1 locked: 5                                                                  
usb_lane: 0                                                                     
Fastboot: Initializing...                                                       
Fastboot: Processing commands                                                   
Fastboot Action (Press <Right> to select): SAT                                  
Fastboot Action (Press <Right> to select): Rsatbolae                            
Fastboot Action (Press <Right> to select): Rcvr oe                              
Fastboot Action (Press <Right> to select): Pwrof                                
Fastboot Action (Press <Right> to select): Bo oFB                               
Fastboot Action (Press <Right> to select): Bo oQM                               
                 
qusb2_1: hstx: 6                                                                
PLL1 locked: 5                                                                  
usb_lane: 1                                                                     
Dev_EventError: EfiUsbMsgBusEventResume not allowed in state DEV_STATE_DEFAULT_D
Handling Cmd: getvar:slot-count                                                 
Dev_EventError: EfiUsbMsgEndpointStatusChangedTx not allowed in state DEV_STATED
Dev_EventError: EfiUsbMsgEndpointStatusChangedTx not allowed in state DEV_STATED
UsbfnDwcSendCtrlXfer: No Pending CTRL Xfer                                      
Handling Cmd:                                                                   
                                                                            
Fastboot Send Fail                                                              
Dev_EventError: EfiUsbMsgEndpointStatusChangedTx not allowed in state DEV_STATED
Handling Cmd: getvar:partition-type:parti  

Following are the logs at Linux machine side

**icl-aosp@iclaosp-Vostro-15-3510:~/AOSP_Base_11$ fastboot devices
da1ff3f4 fastboot
icl-aosp@iclaosp-Vostro-15-3510:~/AOSP_Base_11$
icl-aosp@iclaosp-Vostro-15-3510:~/AOSP_Base_11$
icl-aosp@iclaosp-Vostro-15-3510:~/AOSP_Base_11$ ./device/linaro/dragonboard/installer/db845c/flash-all-aosp.sh
android out dir:./device/linaro/dragonboard/installer/db845c/…/…/…/…/…//out/target/product/db845c
< waiting for any device >

working on this from last 3 days and not able to progress. . Any known issue on RB3 platform ?
Appreciate quick inputs to resolve this issue.

Solved the issue my self by using USB HUB2.0.

Now i encountered new problem while flashing the images .
Not able to create the vendor partition error while flashing the vendor.img
And I can able to see the .dtb files for vendor boot partition not able to find
**the Logs from Host Terminal

Setting current slot to ‘a’…
OKAY [ 0.004s]
finished. total time: 0.004s
FLASH-ALL-AOSP: Flash boot img
target reported max download size of 805306368 bytes
sending ‘boot_a’ (43536 KB)…
OKAY [ 1.086s]
writing ‘boot_a’…
OKAY [ 0.200s]
finished. total time: 1.286s
FLASH-ALL-AOSP: Flash super/dynamic image
target reported max download size of 805306368 bytes
sending sparse ‘super’ 1/2 (781303 KB)…
OKAY [ 19.098s]
writing ‘super’ 1/2…
OKAY [ 4.843s]
sending sparse ‘super’ 2/2 (502571 KB)…
OKAY [ 12.767s]
writing ‘super’ 2/2…
OKAY [ 3.387s]
finished. total time: 40.095s
FLASH-ALL-AOSP: Flash userdata image
target reported max download size of 805306368 bytes
erasing ‘userdata’…
OKAY [ 4.260s]
sending ‘userdata’ (180 KB)…
OKAY [ 0.010s]
writing ‘userdata’…
OKAY [ 0.006s]
finished. total time: 4.276s
FLASH-ALL-AOSP: Flash vendor_boot image
target reported max download size of 805306368 bytes
sending ‘vendor_boot’ (63124 KB)…
OKAY [ 1.539s]
writing ‘vendor_boot’…
FAILED (remote: Partition not found)
finished. total time: 1.540s
FLASH-ALL-AOSP: Formatting metadata
Warning: metadata type is raw, but ext4 was requested for formatting.
mke2fs 1.44.1 (24-Mar-2018)

Warning: RAID stripe-width 1 not an even multiple of stride 2.

/tmp/TemporaryFile-P9Jhsm: Unimplemented ext2 library function while setting up superblock
/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for metadata

rebooting…

finished. total time: 0.101s

**

**Serial port console Logs

UEFI Total : 801 ms
POST Time [ 3179] OS Loader
Loader Build Info: Dec 10 2019 01:42:45
VB: RWDeviceState: Succeed using devinfo!
Press to enter fastboot, to enter recovery, or to enter EmergD
KeyPress:0, BootReason:0
Fastboot=0, Recovery:0
GetVmData: making ScmCall to get HypInfo
GetVmData: No Vm data present! Status = (0x3)
VM Hyp calls not present
A/B retry count NOT decremented
Booting Into Mission Mode
Loading Image Start : 3185 ms
Loading Image Done : 3185 ms
Total Image Read size : 4096 Bytes
Loading Image Start : 3185 ms
Loading Image Done : 3267 ms
Total Image Read size : 44582912 Bytes
No dtbo partition is found, Skip dtbo
GetVmData: making ScmCall to get HypInfo
GetVmData: No Vm data present! Status = (0x3)
No Ffbm cookie found, ignore: Not Found
Memory Base Address: 0x80000000
Decompressing kernel image start: 3268 ms
Decompressing kernel image done: 3482 ms
BootLinux: failed to get dtbo image
DTB offset is incorrect, kernel image does not have appended DTB
Error: Device Tree blob not found
Cmdline: earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=db1
RAM Partitions
Add Base: 0x0000000080000000 Available Length: 0x00000000FDFA0000
WARNING: Unsupported EFI_RAMPARTITION_PROTOCOL
ERROR: Could not get splash memory region node
kaslr-Seed is added to chosen node

Shutting Down UEFI Boot Services: 3496 ms
BDS: LogFs sync skipped, Unsupported
App Log Flush : 85 ms
Exit BS [ 3585] UEFI End
**

Hello, were you able to solve this? I am having the same problem

hello - were you able to solve this? I am having the same issue - trying to flash android 12 - T

we just flashed boot,system,userdata,super.img images only it’s working.

1 Like

Hey could be a bit more specific on how you solved the first issue you reported ?

Dev_EventError: EfiUsbMsgBusEventResume not allowed in state DEV_STATE_DEFAULT_D