Skip to content

upstream-2024-10-03

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Oct 00:49
21c9965

Error: SX1262 is NOT OK. Check the SPI connection
Error: SX1262 is NOT OK. Check the SPI connection

Script started on 2024-10-03 08:55:42+08:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="56" LINES="157"]

+ '[' '' == '' ']'
+ export BUILD_PREFIX=upstream
+ BUILD_PREFIX=upstream
+ '[' '' == '' ']'
++ date +%Y-%m-%d
+ export BUILD_DATE=2024-10-03
+ BUILD_DATE=2024-10-03
+ '[' /dev/ttyUSB0 == '' ']'
+ source /home/pi/.cargo/env
++ export PATH=/home/pi/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
++ PATH=/home/pi/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
+ set +x
----- Download the latest upstream NuttX build for 2024-10-03
+ wget -q https://github.com/lupyuen/incubator-nuttx/releases/download/upstream-2024-10-03/nuttx.zip -O /tmp/nuttx.zip
+ pushd /tmp
/tmp ~/remote-bl602
+ unzip -o nuttx.zip
Archive:  nuttx.zip
  inflating: nuttx                   
  inflating: nuttx.S                 
  inflating: nuttx.bin               
  inflating: nuttx.board             
  inflating: nuttx.bringup           
  inflating: nuttx.config            
  inflating: nuttx.hash              
  inflating: nuttx.hex               
  inflating: nuttx.manifest          
  inflating: nuttx.map               
+ popd
~/remote-bl602
+ set +x
NuttX Source: https://github.com/apache/nuttx/tree/534114395ee9164db241b8ccfb5f731f675559f1
NuttX Apps: https://github.com/apache/nuttx-apps/tree/76d419ca452f3fb85d1e1c845e4a0ba8174fb0f5
----- Enable GPIO 2 and 3
----- Set GPIO 2 and 3 as output
----- Set GPIO 2 to High (BL602 Flashing Mode)
----- Toggle GPIO 3 High-Low-High (Reset BL602)
----- Toggle GPIO 3 High-Low-High (Reset BL602 again)
----- BL602 is now in Flashing Mode
----- Flash BL602 over USB UART with blflash
+ blflash flash /tmp/nuttx.bin --port /dev/ttyUSB0
[INFO  blflash::flasher] Start connection...
[TRACE blflash::flasher] 5ms send count 55
[TRACE blflash::flasher] handshake sent elapsed 258.31µs
[INFO  blflash::flasher] Connection Succeed
[INFO  blflash] Bootrom version: 1
[TRACE blflash] Boot info: BootInfo { len: 14, bootrom_version: 1, otp_info: [0, 0, 0, 0, 3, 0, 0, 0, 61, 9d, c0, 5, b9, 18, 1d, 0] }
[INFO  blflash::flasher] Sending eflash_loader...
  ##>----------------- 3.91KiB/28.58KiB 11.14KiB/s 2s  
  #####>-------------- 7.81KiB/28.58KiB 11.03KiB/s 2s  
  #######>----------- 11.72KiB/28.58KiB 11.01KiB/s 2s  
  ##########>-------- 15.62KiB/28.58KiB 11.02KiB/s 1s  
  ############>------ 19.53KiB/28.58KiB 11.02KiB/s 1s  
  ###############>--- 23.44KiB/28.58KiB 11.03KiB/s 1s  
  ##################> 27.34KiB/28.58KiB 11.04KiB/s 0s  
  ##################> 28.39KiB/28.58KiB 11.04KiB/s 0s  
[INFO  blflash::flasher] Finished 2.565336336s 11.14KiB/s
[TRACE blflash::flasher] 5ms send count 500
[TRACE blflash::flasher] handshake sent elapsed 5.1913ms
[INFO  blflash::flasher] Entered eflash_loader
[INFO  blflash::flasher] Skip segment addr: 0 size: 47504 sha256 matches
[INFO  blflash::flasher] Skip segment addr: e000 size: 272 sha256 matches
[INFO  blflash::flasher] Skip segment addr: f000 size: 272 sha256 matches
[INFO  blflash::flasher] Erase flash addr: 10000 size: 143504
[INFO  blflash::flasher] Program flash... 1a16f580d4582f8e4ac4f3285ce960c95bb259877391427076e5c126be14d419
  >------------------ 3.91KiB/140.14KiB 81.83KiB/s 2s  
  #>---------------- 11.72KiB/140.14KiB 81.78KiB/s 2s  
  ##>--------------- 19.53KiB/140.14KiB 81.83KiB/s 2s  
  ###>-------------- 27.34KiB/140.14KiB 81.88KiB/s 2s  
  ####>------------- 35.16KiB/140.14KiB 81.92KiB/s 2s  
  #####>------------ 42.97KiB/140.14KiB 81.95KiB/s 1s  
  ######>----------- 50.78KiB/140.14KiB 81.97KiB/s 1s  
  #######>---------- 58.59KiB/140.14KiB 81.99KiB/s 1s  
  ########>--------- 66.41KiB/140.14KiB 82.01KiB/s 1s  
  #########>-------- 74.22KiB/140.14KiB 82.06KiB/s 1s  
  ##########>------- 82.03KiB/140.14KiB 82.09KiB/s 1s  
  ###########>------ 89.84KiB/140.14KiB 82.11KiB/s 1s  
  ############>----- 97.66KiB/140.14KiB 82.11KiB/s 1s  
  ############>---- 105.47KiB/140.14KiB 82.12KiB/s 1s  
  #############>--- 113.28KiB/140.14KiB 82.13KiB/s 1s  
  ##############>-- 121.09KiB/140.14KiB 82.13KiB/s 0s  
  ###############>- 128.91KiB/140.14KiB 82.13KiB/s 0s  
  ################> 136.72KiB/140.14KiB 82.13KiB/s 0s  
[INFO  blflash::flasher] Program done 1.706899758s 82.15KiB/s
[INFO  blflash::flasher] Skip segment addr: 1f8000 size: 5671 sha256 matches
[INFO  blflash] Success
+ set +x
----- Set GPIO 2 to Low (BL602 Normal Mode)
----- Toggle GPIO 3 High-Low-High (Reset BL602)
----- BL602 is now in Normal Mode
----- Toggle GPIO 3 High-Low-High (Reset BL602)
----- Here is the BL602 Output...
�EXCEPTION: Illegal instruction. MCAUSE: 00000002, EPC: 2300f486, MTVAL: 00000000
PANIC!!! Exception = 00000002
Current Version: NuttX  12.6.0 534114395e Oct  3 2024 00:48:44 risc-v
Assertion failed panic: at file: :0 task: Idle_Task process: Kernel 0x230024ea
EPC: 2300f486
A0: 00000000 A1: ffff0000 A2: 00000001 A3: 4201576c
A4: 0000ffff A5: 00000001 A6: 42013188 A7: 42010000
T0: ffffff54 T1: 230055fa T2: 41bd1488 T3: 420130a8
T4: 00000000 T5: 00000000 T6: c48af7ec
S0: 42015400 S1: 42010000 S2: 00000003 S3: 42011000
S4: 42010000 S5: 00000000 S6: 000001b6 S7: 23007000
S8: 4201fa38 S9: 00000001 S10: 00000090 S11: 00022090
SP: 420153d0 FP: 42015400 TP: 005d13e5 RA: 2300f454
User Stack:
  base: 0x42013550
  size: 00008176
    sp: 0x420153d0
0x420153b0: 000001b6 00000000 42010000 42011000 00000003 42010000 42015400 2300f454
0x420153d0: 42010000 42012af0 42010000 23009080 00001ff0 42013540 42013550 420106a8
0x420153f0: 420154c8 4201545c 42010000 2300dfa4 2301dce4 42015760 0000000 42015738
0x42015410: 2301dce4 00000000 42010000 420106a8 4202137c 00033090 42020000 42011000
0x42015430: 42010000 42012af0 42010000 2300e114 2301dcd9 420154a8 00000003 2301dcd8
0x42015450: 4202137c 42010000 42020000 420106a8 420154c8 42015760 42015738 420106a8
0x42015470: 42013000 4210000 42010000 2300e1dc 00000000 00000000 420154a8 420106a8
0x42015490: 42013000 00033090 42011000 23003842 42010000 23020e78 00000003 00000000
0x420154b0: 00000000 00000000 42013188 42010000 7974742f 42007853 42015790 420106a8
0x420154d0: 42013000 42012af0 42011000 230026fa 23000000 42015540 0001aac0 420106a8
0x420154f0: 072483ae 1f33974d 06d16368 4202109c 23000000 00022090 4202109c 23000cb6
0x42015510: 144a13a1 38d3b7f5 9a001c03 420106a8 56ae665c 8168d21e 4f79a821 230000ea
0x42015530: e18426cb 60f36fc4 230000d6 2300004a 00000000 00000000 00000000 00000000
   PID GROUP PRI POLICY   TYPE    NPX STATE   EVENT      SIGMASK          STACKBASE  STACKSIZE      USED   FILLED    COMMAND
  ----   --- --- -------- ------- --- ------- ---------- ---------------- 0x420129f0      8192       788     9.6%    irq
      0     0   0 FIFO     Kthread -   Running            0000000000000000 0x42013550      8176       632     7.7%    Idle_Task

===== Error: SX1262 is NOT OK. Check the SPI connection

Possible LoRa Interference. Close the windows, pull the shades, draw the drapes. Press Enter to retest...+ '[' upstream == '' ']'
+ '[' 2024-10-03 == '' ']'
+ '[' /dev/ttyUSB0 == '' ']'
+ source /home/pi/.cargo/env
++ export PATH=/home/pi/.cargo/bin:/home/pi/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
++ PATH=/home/pi/.cargo/bin:/home/pi/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
+ set +x
----- Enable GPIO 2 and 3
----- Set GPIO 2 and 3 as output
----- Set GPIO 2 to Low (BL602 Normal Mode)
----- Toggle GPIO 3 High-Low-High (Reset BL602)
----- BL602 is now in Normal Mode
----- Toggle GPIO 3 High-Low-High (Reset BL602)
----- Here is the BL602 Output...
�EXCEPTION: Illegal instruction. MCAUSE: 00000002, EPC: 2300f486, MTVAL: 00000000
PANIC!!! Exception = 0000002
Current Version: NuttX  12.6.0 534114395e Oct  3 2024 00:48:44 risc-v
Assertion failed panic: at file: :0 task: Idle_Task process: Kernel 0x230024ea
EPC: 2300f486
A0: 00000000 A1: ffff0000 A2: 00000001 A3: 4201576c
A4: 0000ffff A5: 00000001 A6: 42013188 A7: 42010000
T0: ffffff54 T1: 230055fa T2: 41bd5488 T3: 420130a8
T4: 00000000 T5: 00000000 T6: c48ae7e4
S0: 42015400 S1: 42010000 S2: 00000003 S3: 42011000
S4: 42010000 S5: 00000000 S6: 000001b6 S7: 23007000
S8: 4201fa38 S9: 00000001 S10: 00000090 S11: 00022090
SP: 420153d0 FP: 42015400 TP: 005913e5 RA: 2300f454
User Stack:
  base: 0x42013550
  size: 00008176
    sp: 0x420153d0
0x420153b0: 000001b6 00000000 42010000 42011000 00000003 42010000 42015400 2300f454
0x420153d0: 42010000 42012af0 42010000 23009080 00001ff0 42013540 42013550 420106a8
0x420153f0: 420154c8 4201545c 42010000 2300dfa4 2301dce4 42015760 00000000 42015738
0x42015410: 2301dce4 00000000 42010000 420106a8 4202137c 00033090 42020000 42011000
0x42015430: 42010000 42012af0 42010000 2300e114 2301dcd9 420154a8 00000003 2301dcd8
0x42015450: 4202137c 42010000 42020000 420106a8 420154c8 42015760 42015738 420106a8
0x42015470: 42013000 42010000 42010000 2300e1dc 00000000 00000000 420154a8 420106a8
0x42015490: 42013000 00033090 42011000 23003842 42010000 23020e78 00000003 00000000
0x420154b0: 00000000 00000000 42013188 42010000 7974742f 42007853 42015790 420106a8
0x420154d0: 42013000 42012af0 42011000 230026fa 23000000 42015540 0001aac0 420106a8
0x420154f0: 076682ae 1f23974d 26f16368 4202109c 23000000 00022090 4202109c 23000cb6
0x42015510: 165e11a1 38d3b7f5 9a001d03 420106a8 56ae2654 0168d21e 5b3db821 230000ea
0x42015530: e38420cb 38f3efc4 230000d6 2300004a 00000000 00000000 00000000 00000000
   PID GROUP PRI POLICY   TYPE    NPX STATE   EVENT      SIGMASK          STACKBASE  STACKSIZE      USED   FILLED    COMMAND
  ----   --- --- -------- ------- --- ------- ---------- ---------------- 0x420129f0      8192       788     9.6%    irq
      0     0   0 FIFO     Kthread -   Running            0000000000000000 0x42013550      8176       632     7.7%    Idle_Task

===== Error: SX1262 is NOT OK. Check the SPI connection


Script done on 2024-10-03 08:56:24+08:00 [COMMAND_EXIT_CODE="0"]