Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dedo@dedo-laptop:~/Desktop/osmocom-bb/src/host/osmocon$ ./osmocon -p /dev/ttyUSB0 -m c140xor -c ../../target/firmware/board/compal_e86/layer1.highram.bin ../../target/firmware/board/compal_e86/chainload.compalram.bin
- got 2 bytes from modem, data looks like: 00 81 ..
- got 5 bytes from modem, data looks like: 1b f6 02 00 41 ....A
- got 1 bytes from modem, data looks like: 01 .
- got 1 bytes from modem, data looks like: 40 @
- Received PROMPT1 from phone, responding with CMD
- read_file(../../target/firmware/board/compal_e86/chainload.compalram.bin): file_size=5632, hdr_len=4, dnload_len=15341
- got 1 bytes from modem, data looks like: 1b .
- got 1 bytes from modem, data looks like: f6 .
- got 1 bytes from modem, data looks like: 02 .
- got 1 bytes from modem, data looks like: 00 .
- got 1 bytes from modem, data looks like: 41 A
- got 1 bytes from modem, data looks like: 02 .
- got 1 bytes from modem, data looks like: 43 C
- Received PROMPT2 from phone, starting download
- handle_write(): 1023 bytes (1023/15341)
- handle_write(): 768 bytes (1791/15341)
- handle_write(): 768 bytes (2559/15341)
- handle_write(): 768 bytes (3327/15341)
- handle_write(): 768 bytes (4095/15341)
- handle_write(): 768 bytes (4863/15341)
- handle_write(): 768 bytes (5631/15341)
- handle_write(): 768 bytes (6399/15341)
- handle_write(): 768 bytes (7167/15341)
- handle_write(): 768 bytes (7935/15341)
- handle_write(): 768 bytes (8703/15341)
- handle_write(): 768 bytes (9471/15341)
- handle_write(): 768 bytes (10239/15341)
- handle_write(): 768 bytes (11007/15341)
- handle_write(): 768 bytes (11775/15341)
- handle_write(): 768 bytes (12543/15341)
- handle_write(): 768 bytes (13311/15341)
- handle_write(): 768 bytes (14079/15341)
- handle_write(): 768 bytes (14847/15341)
- handle_write(): 494 bytes (15341/15341)
- handle_write(): finished
- got 1 bytes from modem, data looks like: 1b .
- got 1 bytes from modem, data looks like: f6 .
- got 1 bytes from modem, data looks like: 02 .
- got 1 bytes from modem, data looks like: 00 .
- got 1 bytes from modem, data looks like: 41 A
- got 1 bytes from modem, data looks like: 03 .
- got 1 bytes from modem, data looks like: 42 B
- Received DOWNLOAD ACK from phone, your code is running now!
- Enabled Compal ramloader -> Calypso romloader chainloading mode
- Sending Calypso romloader beacon...
- Sending Calypso romloader beacon...
- Sending Calypso romloader beacon...
- Sending Calypso romloader beacon...
- Received ident ack from phone, sending parameter sequence
- read_file(../../target/firmware/board/compal_e86/layer1.highram.bin): file_size=51924, hdr_len=0, dnload_len=51927
- Received parameter ack from phone, starting download
- Used blocksize for download is 1024 bytes
- Preparing block 1, block checksum is 0xcf
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 1 finished
- Received block ack from phone
- Preparing block 2, block checksum is 0x5c
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 2 finished
- Received block ack from phone
- Preparing block 3, block checksum is 0xe7
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 3 finished
- Received block ack from phone
- Preparing block 4, block checksum is 0xd2
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 4 finished
- Received block ack from phone
- Preparing block 5, block checksum is 0x28
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 5 finished
- Received block ack from phone
- Preparing block 6, block checksum is 0x19
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 6 finished
- Received block ack from phone
- Preparing block 7, block checksum is 0x1d
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 7 finished
- Received block ack from phone
- Preparing block 8, block checksum is 0x04
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 8 finished
- Received block ack from phone
- Preparing block 9, block checksum is 0xf7
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 9 finished
- Received block ack from phone
- Preparing block 10, block checksum is 0x30
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 10 finished
- Received block ack from phone
- Preparing block 11, block checksum is 0x9c
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 11 finished
- Received block ack from phone
- Preparing block 12, block checksum is 0x9a
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 12 finished
- Received block ack from phone
- Preparing block 13, block checksum is 0xce
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 13 finished
- Received block ack from phone
- Preparing block 14, block checksum is 0xba
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 14 finished
- Received block ack from phone
- Preparing block 15, block checksum is 0xb2
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 15 finished
- Received block ack from phone
- Preparing block 16, block checksum is 0xfd
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 16 finished
- Received block ack from phone
- Preparing block 17, block checksum is 0x20
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 17 finished
- Received block ack from phone
- Preparing block 18, block checksum is 0xaa
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 18 finished
- Received block ack from phone
- Preparing block 19, block checksum is 0x4e
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 19 finished
- Received block ack from phone
- Preparing block 20, block checksum is 0x1a
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 20 finished
- Received block ack from phone
- Preparing block 21, block checksum is 0x94
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 21 finished
- Received block ack from phone
- Preparing block 22, block checksum is 0x01
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 22 finished
- Received block ack from phone
- Preparing block 23, block checksum is 0x14
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 23 finished
- Received block ack from phone
- Preparing block 24, block checksum is 0x7b
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 24 finished
- Received block ack from phone
- Preparing block 25, block checksum is 0x58
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 25 finished
- Received block ack from phone
- Preparing block 26, block checksum is 0xab
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 26 finished
- Received block ack from phone
- Preparing block 27, block checksum is 0x36
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 27 finished
- Received block ack from phone
- Preparing block 28, block checksum is 0x49
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 28 finished
- Received block ack from phone
- Preparing block 29, block checksum is 0x7a
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 29 finished
- Received block ack from phone
- Preparing block 30, block checksum is 0xa7
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 30 finished
- Received block ack from phone
- Preparing block 31, block checksum is 0x86
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 31 finished
- Received block ack from phone
- Preparing block 32, block checksum is 0x76
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 32 finished
- Received block ack from phone
- Preparing block 33, block checksum is 0x84
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 33 finished
- Received block ack from phone
- Preparing block 34, block checksum is 0xb5
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 34 finished
- Received block ack from phone
- Preparing block 35, block checksum is 0xd7
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 35 finished
- Received block ack from phone
- Preparing block 36, block checksum is 0x19
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 36 finished
- Received block ack from phone
- Preparing block 37, block checksum is 0xb7
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 37 finished
- Received block ack from phone
- Preparing block 38, block checksum is 0x6a
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 38 finished
- Received block ack from phone
- Preparing block 39, block checksum is 0xf4
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 39 finished
- Received block ack from phone
- Preparing block 40, block checksum is 0x36
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 40 finished
- Received block ack from phone
- Preparing block 41, block checksum is 0xdc
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 41 finished
- Received block ack from phone
- Preparing block 42, block checksum is 0xf8
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 42 finished
- Received block ack from phone
- Preparing block 43, block checksum is 0x67
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 43 finished
- Received block ack from phone
- Preparing block 44, block checksum is 0xf2
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 44 finished
- Received block ack from phone
- Preparing block 45, block checksum is 0x99
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 45 finished
- Received block ack from phone
- Preparing block 46, block checksum is 0xaf
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 46 finished
- Received block ack from phone
- Preparing block 47, block checksum is 0x6c
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 47 finished
- Received block ack from phone
- Preparing block 48, block checksum is 0xb6
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 48 finished
- Received block ack from phone
- Preparing block 49, block checksum is 0xa4
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 49 finished
- Received block ack from phone
- Preparing block 50, block checksum is 0x67
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 50 finished
- Received block ack from phone
- Preparing block 51, block checksum is 0xda
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 51 finished
- Received block ack from phone
- Preparing the last block, filling 804 bytes, block checksum is 0x73
- handle_write_block(): 1024 bytes (1024/1024)
- handle_write_block(): Block 52 finished
- Finished, sent 52 blocks in total
- Received block ack from phone
- Sending checksum: 0xcd
- Checksum on phone side matches, let's branch to your code
- Branching to 0x00820000
- Received branch ack, your code is running now!
- OSMOCOM Layer 1 (revision osmocon_v0.0.0-786-g937023b)
- ======================================================================
- Device ID code: 0xb4fb
- Device Version code: 0x0000
- ARM ID code: 0xfff3
- cDSP ID code: 0x0128
- Die ID code: fb102714bd03943e
- ======================================================================
- REG_DPLL=0x2413
- CNTL_ARM_CLK=0xf0a1
- CNTL_CLK=0xff91
- CNTL_RST=0xfff3
- CNTL_ARM_DIV=0xfff9
- ======================================================================
- THIS FIRMWARE WAS COMPILED WITHOUT TX SUPPORT!!!
- Assert DSP into Reset
- Releasing DSP from Reset
- Setting some dsp_api.ndb values
- Setting API NDB parameters
- DSP Download Status: 0x0001
- DSP API Version: 0x0000 0x0000
- Finishing download �has����tt���� 0x3606 ������
Advertisement
Add Comment
Please, Sign In to add comment