Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to Jupiter console #20

Open
Miracle-doctor opened this issue Dec 2, 2022 · 3 comments
Open

Cannot connect to Jupiter console #20

Miracle-doctor opened this issue Dec 2, 2022 · 3 comments

Comments

@Miracle-doctor
Copy link

When starting firmware with --console cannot kernel*.json file not created

@mariusmue
Copy link
Contributor

Hi.

When starting firmwire with --console, it usually enoughs to run jupyter console --existing. You are hinting towards an error message encountered during firmwire startup, but without additional logs/infos, it's tough to tell what's going on.

@chromed-lucy
Copy link

chromed-lucy commented Apr 12, 2023

I'm also having this issue.

I'm starting firmwire like so

python3 ./firmwire.py --console --stop https://github.com/grant-h/ShannonFirmware/raw/master/modem_files/CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4 --debug
              ___            __      _                          
-.     .-.   | __|(+) _ _ _ _\ \    / /(+) _ _ ___    .-.     .-
  \   /   \  | _|  | | '_| '  \ \/\/ /  | | '_/ -_)  /   \   /  
   '-'     '-|_|   | |_| |_|_|_\_/\_/   | |_| \___|-'     '-'   
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
                A  baseband  analysis  platform
                   https://github.com/FirmWire

[INFO] firmwire: Downloading https://github.com/grant-h/ShannonFirmware/raw/master/modem_files/CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4...
[DEBUG] urllib3.connectionpool: Starting new HTTPS connection (1): github.com:443
[DEBUG] urllib3.connectionpool: https://github.com:443 "GET /grant-h/ShannonFirmware/raw/master/modem_files/CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4 HTTP/1.1" 302 0
[DEBUG] urllib3.connectionpool: Starting new HTTPS connection (1): raw.githubusercontent.com:443
[DEBUG] urllib3.connectionpool: https://raw.githubusercontent.com:443 "GET /grant-h/ShannonFirmware/master/modem_files/CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4 HTTP/1.1" 200 27040083
[INFO] firmwire: Using cached file CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4
[INFO] firmwire.loader: Reading firmware using ShannonLoader (shannon)
[INFO] firmwire.vendor.shannon.loader: SoC <ShannonSOC S5000AP - 20190103> (automatic)
[INFO] firmwire.emulator.patterndb: Searching for patterns in [40010000 - 425579a0]
[INFO] firmwire.emulator.patterndb: Found symbol boot_mpu_table -> 41777400 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol boot_setup_memory -> 40415088 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol boot_key_check -> 40549f8a [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol OS_fatal_error -> 4054ccb2 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol pal_MemAlloc -> 423916b2 [CACHED]
[INFO] firmwire.vendor.shannon.pattern_handlers: Fixing up TCM region symbol pal_MemAlloc (423916b2 -> 0401581e)
[INFO] firmwire.emulator.patterndb: Found symbol pal_MemFree -> 40cbb1ac [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol pal_MsgSendTo -> 41155e80 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol pal_Sleep -> 40cba1f8 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol log_printf -> 405489ae [CACHED]
[WARN] firmwire.emulator.patterndb: Unable to resolve dynamic symbol log_printf2. Functionality may be affected
[INFO] firmwire.emulator.patterndb: Found symbol pal_SmSetEvent -> 4054d5a2 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol SYM_EVENT_GROUP_LIST -> 416f93ec [CACHED]
[INFO] firmwire.vendor.shannon.pattern_handlers: Dereference [0x416f93ec] -> 0x418385e8
[INFO] firmwire.emulator.patterndb: Found symbol SYM_TASK_LIST -> 0176f534 [CACHED]
[INFO] firmwire.vendor.shannon.pattern_handlers: Found likely task name: b'GMAC\x00\x00\x00\x00UL', keeping task layout
[INFO] firmwire.emulator.patterndb: Found symbol SYM_SCHEDULABLE_TASK_LIST -> 43a36e68 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol SYM_CUR_TASK_ID -> 418385f4 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol SYM_FN_EXCEPTION_SWITCH -> 40c71734 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol SYM_QUEUE_LIST -> 4013d408 [CACHED]
[INFO] firmwire.emulator.patterndb: Skipping symbol QUIRK_SXXXAP_DVFS_HACK for S5000AP
[INFO] firmwire.emulator.patterndb: Skipping symbol QUIRK_S337AP_SHM_HACK for S5000AP
[INFO] firmwire.emulator.patterndb: Found symbol SYM_LTERRC_INT_MOB_CMD_HO_FROM_IRAT_MSG_ID -> 0000c3a3 [CACHED]
[INFO] firmwire.emulator.patterndb: Found symbol DSP_SYNC_WORD_0 -> 4060e214 [CACHED]
[INFO] firmwire.vendor.shannon.pattern_handlers: Retrieved sync word 0: 141
[INFO] firmwire.emulator.patterndb: Found symbol DSP_SYNC_WORD_1 -> 4060e21a [CACHED]
[INFO] firmwire.vendor.shannon.pattern_handlers: Retrieved sync word 1: 286
[INFO] firmwire.emulator.patterndb: Dynamic symbol resolution took 0.02 seconds
[INFO] firmwire.vendor.shannon.loader: Using blank NV data
[INFO] firmwire.loader: Loading complete
[INFO] firmwire: FirmWire initializing ShannonMachine
[INFO] firmwire.emulator.firmwire: FirmWire workspace <Workspace CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4_workspace>
[WARN] firmwire.vendor.shannon.machine: No Ghidra symbol table found. Output will be addresses only
[WARN] firmwire.emulator.firmwire: Memory TOC_BOOT size 0x2e40 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory TOC_BOOT_LOW size 0x2e40 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory TOC_VSS size 0x5e0660 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Peripheral DSPPeripheral at 0x47389c00 is not page aligned. This may causes crashes
[WARN] firmwire.emulator.firmwire: Peripheral DSPPeripheral size 0x100 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory tim0 size 0x100 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory tim1 start address 0x82008100 is not page aligned. This may causes crashes
[WARN] firmwire.emulator.firmwire: Memory tim1 size 0x100 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory tim2 start address 0x82008200 is not page aligned. This may causes crashes
[WARN] firmwire.emulator.firmwire: Memory tim2 size 0x100 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory tim3 start address 0x82008300 is not page aligned. This may causes crashes
[WARN] firmwire.emulator.firmwire: Memory tim3 size 0x100 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory tim4 start address 0x82008400 is not page aligned. This may causes crashes
[WARN] firmwire.emulator.firmwire: Memory tim4 size 0x100 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Memory tim5 start address 0x82008500 is not page aligned. This may causes crashes
[WARN] firmwire.emulator.firmwire: Memory tim5 size 0x100 is not page aligned. Force aligning
[WARN] firmwire.emulator.firmwire: Peripheral TCU size 0x100 is not page aligned. Force aligning
~~~ Memory ranges ~~~
00000000 - 00003000 TOC_BOOT_LOW (rwx)
00003000 - 00008000 SPLIT_3000_5000 (r-x)
00100000 - 00120000 MPU23_00100000 (rw-)
04000000 - 04020000 MPU1_04000000 (r-x)
04800000 - 04804000 MPU2_04800000 (rw-)
40000000 - 40003000 TOC_BOOT (rwx)
40003000 - 40010000 SPLIT_40003000_d000 (r-x)
40010000 - 43010000 TOC_MAIN (rwx)
43010000 - 45600000 SPLIT_43010000_25f0000 (rwx)
45600000 - 45700000 NV (rw-)
45700000 - 46000000 MPU3_45700000 (rwx)
46000000 - 46100000 MPU10_46000000 (rw-)
46100000 - 46800000 MPU9_46100000 (rw-)
46800000 - 47000000 MPU11_46800000 (rw-)
47000000 - 47300000 MPU12_47000000 (rw-)
47300000 - 47389c00 SPLIT_47300000_89c00 (rw-)
47389c00 - 4738ac00 DSPPeripheral (<class 'firmwire.vendor.shannon.hw.DSPPeripheral.DSPPeripheral'>)
4738ac00 - 47400000 SPLIT_4738ac00_75400 (rw-)
47400000 - 47780000 MPU14_47400000 (r--)
47780000 - 47800000 MPU15_47780000 (rw-)
47800000 - 47de1000 TOC_VSS (rwx)
47de1000 - 47f00000 SPLIT_47de1000_11f000 (rw-)
47f00000 - 47f14000 abox (<class 'firmwire.vendor.shannon.hw.abox.ShannonAbox'>)
47f14000 - 48000000 SPLIT_47f14000_ec000 (rw-)
48000000 - 4a800000 MPU5_48000000 (rw-)
4a800000 - 4b000000 MPU21_4a800000 (rwx)
4b000000 - 4b200000 MPU22_4b000000 (rwx)
4b200000 - 4b700000 SHM (<class 'firmwire.vendor.shannon.hw.shannoncp.SHMPeripheral'>)
4b700000 - 4b800000 SPLIT_4b700000_100000 (rw-)
4b800000 - 4b900000 MPU7_4b800000 (rw-)
4b900000 - 4c000000 MPU6_4b900000 (---)
50000000 - 51000000 MPU18_50000000 (rw-)
51000000 - 51400000 MPU19_51000000 (rw-)
51400000 - 51600000 MPU20_51400000 (rw-)
80000000 - 80002000 gic (rwx)
80002000 - 81002000 SPLIT_80002000_1000000 (rw-)
81002000 - 81003000 unk_per8 (<class 'firmwire.vendor.shannon.hw.Unknown2Peripheral.Unknown2Peripheral'>)
81003000 - 82000000 SPLIT_81003000_ffd000 (rw-)
82000000 - 82002000 SOC (<class 'firmwire.vendor.shannon.hw.shannonsoc.ShannonSOCPeripheral'>)
82002000 - 82008000 SPLIT_82002000_6000 (rw-)
82008000 - 82008100 SPLIT_82008000_100 (rw-)
82008100 - 82008200 SPLIT_82008100_100 (rw-)
82008200 - 82008300 SPLIT_82008200_100 (rw-)
82008300 - 82008400 SPLIT_82008300_100 (rw-)
82008400 - 82008500 SPLIT_82008400_100 (rw-)
82008500 - 82009500 tim5 (rw-)
82009500 - 8200f000 SPLIT_82009500_5b00 (rw-)
8200f000 - 82010000 TCU (<class 'firmwire.vendor.shannon.hw.shannon_timer.ShannonTCU'>)
82010000 - 83000000 SPLIT_82010000_ff0000 (rw-)
83000000 - 8300a000 SOC_CLK (<class 'firmwire.vendor.shannon.hw.ClkPeripheral.S5000APClkPeripheral'>)
8300a000 - 84000000 SPLIT_8300a000_ff6000 (rw-)
84000000 - 84001000 boot_uart (<class 'firmwire.vendor.shannon.hw.uart.UARTPeripheral'>)
84001000 - 8f900000 SPLIT_84001000_b8ff000 (rw-)
8f900000 - 8f901000 unk_per10 (<class 'firmwire.hw.peripheral.LoggingPeripheral'>)
8f901000 - 8f910000 SPLIT_8f901000_f000 (rw-)
8f910000 - 8f911000 PMIC (<class 'firmwire.vendor.shannon.hw.PMICPeripheral.PMICPeripheral'>)
8f911000 - 8f920000 SPLIT_8f911000_f000 (rw-)
8f920000 - 8f921000 SIPC (<class 'firmwire.vendor.shannon.hw.sipc.SIPCPeripheral'>)
8f921000 - 8fc22000 SPLIT_8f921000_301000 (rw-)
8fc22000 - 8fc23000 usi2 (<class 'firmwire.hw.peripheral.LoggingPeripheral'>)
8fc23000 - 8fc30000 SPLIT_8fc23000_d000 (rw-)
8fc30000 - 8fc31000 usi1 (<class 'firmwire.hw.peripheral.LoggingPeripheral'>)
8fc31000 - 8fc60000 SPLIT_8fc31000_2f000 (rw-)
8fc60000 - 8fc61000 usi3 (<class 'firmwire.hw.peripheral.LoggingPeripheral'>)
8fc61000 - 8fd20000 SPLIT_8fc61000_bf000 (rw-)
8fd20000 - 8fd21000 usi4 (<class 'firmwire.hw.peripheral.LoggingPeripheral'>)
8fd21000 - c1800000 SPLIT_8fd21000_31adf000 (rw-)
c1800000 - c1805000 marconi (<class 'firmwire.hw.peripheral.CyclicBitPeripheral'>)
c1805000 - c2000000 SPLIT_c1805000_7fb000 (rw-)
c2000000 - c2001000 marconi2 (<class 'firmwire.hw.peripheral.CyclicBitPeripheral'>)
c2001000 - e0000000 SPLIT_c2001000_1dfff000 (rw-)
e0000000 - e2000000 MPU17_e0000000 (r--)
e2000000 - ec000000 SPLIT_e2000000_a000000 (rw-)
ec000000 - ec001000 glink (<class 'firmwire.hw.glink.GLinkPeripheral'>)
ec001000 - 100000000 SPLIT_ec001000_13fff000 (rw-)
[INFO] firmwire.vendor.shannon.machine: Found RWX region [4b000000 - 4b200000]
Loading libpanda from /usr/local/lib/python3.8/dist-packages/pandare/data
[PYPANDA] Panda args: [/usr/local/lib/python3.8/dist-packages/pandare/data/arm-softmmu/libpanda-arm.so -L /usr/local/lib/python3.8/dist-packages/pandare/data/pc-bios -machine configurable -kernel CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4_workspace/ShannonEMU3334_conf.json -gdb tcp::3333 -S -drive if=none,id=drive0,file=CP_G973FXXU3ASG8_CP13372649_CL16487963_QB24948473_REV01_user_low_ship.tar.md5.lz4_workspace/snapshots.qcow2,format=qcow2 -nographic -qmp tcp:127.0.0.1:3334,server,nowait -m 128M -monitor unix:/tmp/pypanda_mwik6tvv9,server,nowait]
[DEBUG] pygdbmi.gdbcontroller: Launching gdb: gdb-multiarch --nx --quiet --interpreter=mi2
[DEBUG] pygdbmi.IoManager: writing: 0-gdb-set target-async on
[DEBUG] pygdbmi.IoManager: {'message': 'thread-group-added',
 'payload': {'id': 'i1'},
 'stream': 'stdout',
 'token': None,
 'type': 'notify'}
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': None,
 'stream': 'stdout',
 'token': 0,
 'type': 'result'}
[DEBUG] pygdbmi.IoManager: writing: 1-gdb-set architecture arm
[DEBUG] pygdbmi.IoManager: {'message': None,
 'payload': 'The target architecture is assumed to be arm\n',
 'stream': 'stdout',
 'type': 'console'}
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': None,
 'stream': 'stdout',
 'token': 1,
 'type': 'result'}
[DEBUG] pygdbmi.IoManager: writing: 2-gdb-set arm abi AAPCS
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': None,
 'stream': 'stdout',
 'token': 2,
 'type': 'result'}
[DEBUG] pygdbmi.IoManager: writing: 3-target-select remote 127.0.0.1:3333
[DEBUG] pygdbmi.IoManager: {'message': 'thread-group-started',
 'payload': {'id': 'i1', 'pid': '42000'},
 'stream': 'stdout',
 'token': None,
 'type': 'notify'}
[DEBUG] pygdbmi.IoManager: {'message': None,
 'payload': 'warning: No executable has been specified and target does not '
            'support\n'
            'determining executable automatically.  Try using the "file" '
            'command.',
 'stream': 'stdout',
 'type': 'log'}
[DEBUG] pygdbmi.IoManager: {'message': None, 'payload': '\n', 'stream': 'stdout', 'type': 'log'}
[DEBUG] pygdbmi.IoManager: {'message': 'thread-created',
 'payload': {'group-id': 'i1', 'id': '1'},
 'stream': 'stdout',
 'token': None,
 'type': 'notify'}
[DEBUG] pygdbmi.IoManager: {'message': None,
 'payload': '0x00000000 in ?? ()\n',
 'stream': 'stdout',
 'type': 'console'}
[DEBUG] pygdbmi.IoManager: {'message': 'stopped',
 'payload': {'frame': {'addr': '0x00000000',
                       'arch': 'arm',
                       'args': [],
                       'func': '??'},
             'stopped-threads': 'all',
             'thread-id': '1'},
 'stream': 'stdout',
 'token': None,
 'type': 'notify'}
[DEBUG] pygdbmi.IoManager: {'message': 'connected',
 'payload': None,
 'stream': 'stdout',
 'token': 3,
 'type': 'result'}
[DEBUG] pygdbmi.IoManager: writing: 4-data-list-register-names
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': {'register-names': ['r0',
                                'r1',
                                'r2',
                                'r3',
                                'r4',
                                'r5',
                                'r6',
                                'r7',
                                'r8',
                                'r9',
                                'r10',
                                'r11',
                                'r12',
                                'sp',
                                'lr',
                                'pc',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                'cpsr',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                '',
                                'sp_usr',
                                'lr_usr',
                                'r8_fiq',
                                'r9_fiq',
                                'r10_fiq',
                                'r11_fiq',
                                'r12_fiq',
                                'sp_fiq',
                                'lr_fiq',
                                'sp_irq',
                                'lr_irq',
                                'sp_svc',
                                'lr_svc',
                                'sp_abt',
                                'lr_abt',
                                'sp_und',
                                'lr_und',
                                'spsr_fiq',
                                'spsr_irq',
                                'spsr_svc',
                                'spsr_abt',
                                'spsr_und']},
 'stream': 'stdout',
 'token': 4,
 'type': 'result'}
PANDA[core]:loading required plugin hooks
PANDA[core]:initializing hooks
[WARN] firmwire.emulator.firmwire: Unable to find symbol for hook log_printf2. Not enabling
[DEBUG] pygdbmi.IoManager: writing: 5-gdb-set $VBAR=0x0
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': None,
 'stream': 'stdout',
 'token': 5,
 'type': 'result'}
[INFO] firmwire.hw.fifo: SHM raw_tx_buff[QUEUE] \x00\x00\x00\x00\x0d\x90\x00\x00 8
[INFO] firmwire.hw.fifo: SHM raw_tx_buff[QUEUE] \x00\x00\x00\x00\x00\x9f\x00\x00 16
[DEBUG] pygdbmi.IoManager: writing: 6-break-insert *0x40549f8a
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': {'bkpt': {'addr': '0x40549f8a',
                      'disp': 'keep',
                      'enabled': 'y',
                      'number': '1',
                      'original-location': '*0x40549f8a',
                      'thread-groups': ['i1'],
                      'times': '0',
                      'type': 'breakpoint'}},
 'stream': 'stdout',
 'token': 6,
 'type': 'result'}
[INFO] firmwire.vendor.shannon.machine: Disabling task 'SHM'
[INFO] firmwire.vendor.shannon.machine: Creating NOP task at 0x4b004000
[DEBUG] pygdbmi.IoManager: writing: 7-data-read-memory-bytes 1098387424 256
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': {'memory': [{'begin': '0x41780fe0',
                         'contents': '0000000000000000000000000000000098be444300000000000000000000000000000000acbf3d4026000000000800000d066440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
                         'end': '0x417810e0',
                         'offset': '0x00000000'}]},
 'stream': 'stdout',
 'token': 7,
 'type': 'result'}
[DEBUG] pygdbmi.IoManager: writing: 8-data-read-memory-bytes 1098387680 8
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': {'memory': [{'begin': '0x417810e0',
                         'contents': '0000000000000000',
                         'end': '0x417810e8',
                         'offset': '0x00000000'}]},
 'stream': 'stdout',
 'token': 8,
 'type': 'result'}
[DEBUG] pygdbmi.IoManager: writing: 9-data-write-memory-bytes 1098387424 0000000000000000000000000000000098be444300000000000000000000000000000000acbf3d4026000000000800000140004b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': None,
 'stream': 'stdout',
 'token': 9,
 'type': 'result'}
[DEBUG] pygdbmi.IoManager: writing: 10-data-write-memory-bytes 1098387680 0000000000000000
[DEBUG] pygdbmi.IoManager: {'message': 'done',
 'payload': None,
 'stream': 'stdout',
 'token': 10,
 'type': 'result'}
[INFO] firmwire: Machine initialization time took 0.27 seconds
[INFO] firmwire.vendor.shannon.machine: ==== Task List ====
[INFO] firmwire.vendor.shannon.machine: TASK0: Acpm (0x4103dc47)
[INFO] firmwire.vendor.shannon.machine: TASK1: Default (0x41619e3d)
[INFO] firmwire.vendor.shannon.machine: TASK2: DM (0x40550273)
[INFO] firmwire.vendor.shannon.machine: TASK3: DM_TX (0x405504eb)
[INFO] firmwire.vendor.shannon.machine: TASK4: BDA (0x4165fa5f)
[INFO] firmwire.vendor.shannon.machine: TASK5: CIQD (0x4055094d)
[INFO] firmwire.vendor.shannon.machine: TASK6: CIQD_FE (0x40550965)
[INFO] firmwire.vendor.shannon.machine: TASK7: Background (0x41619e4d)
[INFO] firmwire.vendor.shannon.machine: TASK8: TpTest (0x4161b615)
[INFO] firmwire.vendor.shannon.machine: TASK9: TaskReg (0x40556ba5)
[INFO] firmwire.vendor.shannon.machine: TASK10: DBGUNS (0x4073b83f)
[INFO] firmwire.vendor.shannon.machine: TASK11: DBGCMD (0x4077fb5d)
[INFO] firmwire.vendor.shannon.machine: TASK12: DBGCMD2 (0x4077fb8d)
[INFO] firmwire.vendor.shannon.machine: TASK13: InitPacketHandler (0x4163ac6f)
[INFO] firmwire.vendor.shannon.machine: TASK14: PacketHandler (0x4163a981)
[INFO] firmwire.vendor.shannon.machine: TASK15: PBM (0x416bfb81)
[INFO] firmwire.vendor.shannon.machine: TASK16: DS_PBM (0x416bfb8b)
[INFO] firmwire.vendor.shannon.machine: TASK17: ATI (0x4163cd03)
[INFO] firmwire.vendor.shannon.machine: TASK18: MTI (0x40ee22af)
[INFO] firmwire.vendor.shannon.machine: TASK19: SMS (0x41695f51)
[INFO] firmwire.vendor.shannon.machine: TASK20: CC (0x40e36e33)
[INFO] firmwire.vendor.shannon.machine: TASK21: MM (0x40d18cbb)
[INFO] firmwire.vendor.shannon.machine: TASK22: SM (0x40e0c3b1)
[INFO] firmwire.vendor.shannon.machine: TASK23: SS (0x40f4303d)
[INFO] firmwire.vendor.shannon.machine: TASK24: L1C (0x416092c9)
[INFO] firmwire.vendor.shannon.machine: TASK25: PPP (0x4078f161)
[INFO] firmwire.vendor.shannon.machine: TASK26: GDA (0x41639cdd)
[INFO] firmwire.vendor.shannon.machine: TASK27: CDH (0x407cb8d3)
[INFO] firmwire.vendor.shannon.machine: TASK28: VSUP (0x41635663)
[INFO] firmwire.vendor.shannon.machine: TASK29: VCG (0x407dbecf)
[INFO] firmwire.vendor.shannon.machine: TASK30: VCE (0x407a30cf)
[INFO] firmwire.vendor.shannon.machine: TASK31: SAEL3 (0x415da83f)
[INFO] firmwire.vendor.shannon.machine: TASK32: DS_SAEL3 (0x415daa35)
[INFO] firmwire.vendor.shannon.machine: TASK33: PDNMGR (0x415efff3)
[INFO] firmwire.vendor.shannon.machine: TASK34: SIM (0x40e62fa9)
[INFO] firmwire.vendor.shannon.machine: TASK35: DS_SIM (0x40e62fb5)
[INFO] firmwire.vendor.shannon.machine: TASK36: LteRrm (0x40e18595)
[INFO] firmwire.vendor.shannon.machine: TASK37: LTE_L1LC (0x40cd53fb)
[INFO] firmwire.vendor.shannon.machine: TASK38: LteRrc (0x4122d9d1)
[INFO] firmwire.vendor.shannon.machine: TASK39: LteRrc_DS (0x4122e777)
[INFO] firmwire.vendor.shannon.machine: TASK40: LTEL2LRx (0x40663f97)
[INFO] firmwire.vendor.shannon.machine: TASK41: LTEL2LTx (0x4066bce3)
[INFO] firmwire.vendor.shannon.machine: TASK42: LTEL2TCM (0x0400a0c3)
[INFO] firmwire.vendor.shannon.machine: TASK43: LTEL2IDLE (0x04009ff3)
[INFO] firmwire.vendor.shannon.machine: TASK44: LTEL2HTx (0x40d5b1fb)
[INFO] firmwire.vendor.shannon.machine: TASK45: LTEL2HRx (0x40c3fb65)
[INFO] firmwire.vendor.shannon.machine: TASK46: LTE_TLP (0x4067dd49)
[INFO] firmwire.vendor.shannon.machine: TASK47: LTE_MTM (0x40cd94ed)
[INFO] firmwire.vendor.shannon.machine: TASK48: LTE_DM (0x40bc87c7)
[INFO] firmwire.vendor.shannon.machine: TASK49: EDFS (0x40746333)
[INFO] firmwire.vendor.shannon.machine: TASK50: URRC (0x40eddba3)
[INFO] firmwire.vendor.shannon.machine: TASK51: HSPA_CALIBRATION (0x410ba681)
[INFO] firmwire.vendor.shannon.machine: TASK52: LLC (0x412d7307)
[INFO] firmwire.vendor.shannon.machine: TASK53: GRR (0x41602c75)
[INFO] firmwire.vendor.shannon.machine: TASK54: RLC (0x415ff451)
[INFO] firmwire.vendor.shannon.machine: TASK55: GMAC (0x415ff269)
[INFO] firmwire.vendor.shannon.machine: TASK56: GLAPD (0x41601a1b)
[INFO] firmwire.vendor.shannon.machine: TASK57: SNDCP (0x4080b801)
[INFO] firmwire.vendor.shannon.machine: TASK58: SRM (0x416a3f5d)
[INFO] firmwire.vendor.shannon.machine: TASK59: LCSM (0x416db22f)
[INFO] firmwire.vendor.shannon.machine: TASK60: REG_SAP (0x405b834b)
[INFO] firmwire.vendor.shannon.machine: TASK61: AS_SAP (0x405ba5f7)
[INFO] firmwire.vendor.shannon.machine: TASK62: SMS_SAP (0x405d2633)
[INFO] firmwire.vendor.shannon.machine: TASK63: CC_SS_SAP (0x405c955d)
[INFO] firmwire.vendor.shannon.machine: TASK64: SIM_SAP (0x405bad7b)
[INFO] firmwire.vendor.shannon.machine: TASK65: DBG_SAP (0x406bb41b)
[INFO] firmwire.vendor.shannon.machine: TASK66: DS_REG_SAP (0x405b853b)
[INFO] firmwire.vendor.shannon.machine: TASK67: DS_AS_SAP (0x405ba735)
[INFO] firmwire.vendor.shannon.machine: TASK68: DS_SMS_SAP (0x405d286f)
[INFO] firmwire.vendor.shannon.machine: TASK69: DS_CC_SS_SAP (0x405c97b9)
[INFO] firmwire.vendor.shannon.machine: TASK70: DS_SIM_SAP (0x405bafdb)
[INFO] firmwire.vendor.shannon.machine: TASK71: DS_DBG_SAP (0x406bb5b1)
[INFO] firmwire.vendor.shannon.machine: TASK72: MMC (0x405bb971)
[INFO] firmwire.vendor.shannon.machine: TASK73: MMC_IF (0x4151923b)
[INFO] firmwire.vendor.shannon.machine: TASK74: SR_IF (0x406c548d)
[INFO] firmwire.vendor.shannon.machine: TASK75: LTE_MMC_GL1 (0x416f73c5)
[INFO] firmwire.vendor.shannon.machine: TASK76: USAT (0x416ac071)
[INFO] firmwire.vendor.shannon.machine: TASK77: DS_USAT (0x416ac07b)
[INFO] firmwire.vendor.shannon.machine: TASK78: LTE_TCPIP (0x40731bcd)
[INFO] firmwire.vendor.shannon.machine: TASK79: LTE_SISO_ASYNC (0x40731bcb)
[INFO] firmwire.vendor.shannon.machine: TASK80: IMS_CC (0x406dff51)
[INFO] firmwire.vendor.shannon.machine: TASK81: LPP (0x415ef0a1)
[INFO] firmwire.vendor.shannon.machine: TASK82: SHM [DISABLED]
[INFO] firmwire.vendor.shannon.machine: TASK83: UL2CC (0x412e25d1)
[INFO] firmwire.vendor.shannon.machine: TASK84: UL2DL (0x40a300ab)
[INFO] firmwire.vendor.shannon.machine: TASK85: UL2UL (0x41317b71)
[INFO] firmwire.vendor.shannon.machine: TASK86: UDATA (0x4139ac1b)
[INFO] firmwire.vendor.shannon.machine: TASK87: UBMCTask (0x41384491)
[INFO] firmwire.vendor.shannon.machine: TASK88: ephyFramework (0x415f9f0d)
[INFO] firmwire.vendor.shannon.machine: TASK89: syncTask (0x415fabad)
[INFO] firmwire.vendor.shannon.machine: TASK90: recMailTask (0x415fac09)
[INFO] firmwire.vendor.shannon.machine: TASK91: sendMailTask (0x415fac33)
[INFO] firmwire.vendor.shannon.machine: TASK92: BTL (0x4054e741)
[INFO] firmwire.vendor.shannon.machine: TASK93: CLM (0x40f5e8bd)
[INFO] firmwire.vendor.shannon.machine: TASK94: CLTCP (0x40bfb86d)
[INFO] firmwire.vendor.shannon.machine: TASK95: SecuCh (0x40c7da69)
[INFO] firmwire.vendor.shannon.machine: TASK96: SHUB_MSG (0x40f60d5d)
[INFO] firmwire.vendor.shannon.machine: TASK97: SSH (0x40f53a53)
[INFO] firmwire.vendor.shannon.machine: TASK98: CPCOP (0x40f52693)
[INFO] firmwire.vendor.shannon.machine: TASK99: PROXIMITY (0x40f53615)
[INFO] firmwire.vendor.shannon.machine: TASK100: CMMO (0x40f31a49)
[INFO] firmwire: Starting emulator ShannonEMU3334
==> BOOT
==> HALTED
==> CONSOLE
(?) Connect on another terminal with `jupyter console --existing`
(?) Use `self` to access the machine!
[DEBUG] asyncio: Using selector: EpollSelector
NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049


To connect another client to this kernel, use:
    --existing kernel-429.json
[DEBUG] asyncio: Using selector: EpollSelector

and then starting jupyer in a separate tab like so
jupyter console --existing [ZMQTerminalIPythonApp] CRITICAL | Could not find existing kernel connection file kernel*.json

It looks like firmwire should be writing a kernel-429.json config file. But I doesn't seem to be saved anywhere.

@Gio-1230
Copy link

Gio-1230 commented Jul 23, 2023

@Miracle-doctor , @chromed-lucy

hi guys.

Remember, you're working in a docker container.

1. Check the docker process list and you can get container id of firmwire.

host $ docker ps -a
CONTAINER ID   IMAGE                       COMMAND                  CREATED       STATUS 
36de91227b5e   firmwire                    "/bin/bash"              3 hours ago   Up 3 hours```

2. connect your firmwire container.
host $ docker exec -it 36de91227b5e /bin/bash

3. execute jupyter console.
root@36de91227b5e # jupyter console --existing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants