Rt3883 based Belkin F9K1109 gets LZMA error 1 -.> v22.03 and v21.02 release

no version newer than 19.07 seems to work with this model, the kernel does not load as it seems to be too big. The actual trunk 2022-10-18 has the same problem. It seems to be a similar problem as in: V22.03.0 release does not work on D-Link DIR-645 with the d-link Dir 645 router.

So no supported version nor the trunk is available for this model, is it a general rt3883 target problem?

serial log follows:

¡H¨(IUboot:1.7.4 (Jul 11 2011 - 15:53:59)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fa0000
spi_wait_nsec: 30 
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
..============================================ 
Ralink UBoot Version: 3.5.2.0
-------------------------------------------- 
ASIC 3883_MP (MAC to VITESSE Mode)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: DDR2 
DRAM_SIZE: 512 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 64 MBytes
Flash component: SPI Flash
Date:Jul 11 2011  Time:15:53:59
============================================ 
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 500 MHZ #### 
 estimate memory size =64 Mbytes

Please choose the operation: 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
reset button detected.....entering mini web
.

 NetTxPacket = 0x83FE4400 

 KSEG1ADDR(NetTxPacket) = 0xA3FE4400 

 NetLoopHttpd,call eth_halt ! 

 NetLoopHttpd,call eth_init ! 
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done

 RT3883 RGMII & RTL8367 init
initializing CHIP_RTL8367R_VB 1010

 Header Payload scatter function is Disable !! 

 ETH_STATE_ACTIVE!! 
Using Eth0 (10/100-M) device
starting httpd server from server 10.10.10.123
http start
...............begin upload header...1446
http content-length 5374559
http upgrade size:5374259 
5374259 / 5374259 (80800000)
Bytes transferred = 5374259 (520133 hex)
http upload ready
http upgrade system image from 80800000...
raspi_erase_write: offs:50000, count:520133
raspi_erase: offs:50000 len:520000
.................................ù................................................
raspi_write: to:50000 len:520000 
..................................................................................
...................................................................................raspi_erase: offs:570000 len:10000
.
raspi_write: to:570000 len:10000 
.
.Done!
http upgrade ready
¡H¨(IUboot:1.7.4 (Jul 11 2011 - 15:53:59)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fa0000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 30 
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
..============================================ 
Ralink UBoot Version: 3.5.2.0
-------------------------------------------- 
ASIC 3883_MP (MAC to VITESSE Mode)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: DDR2 
DRAM_SIZE: 512 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 64 MBytes
Flash component: SPI Flash
Date:Jul 11 2011  Time:15:53:59
============================================ 
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 500 MHZ #### 
 estimate memory size =64 Mbytes

Please choose the operation: 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
 4 initializing CHIP_RTL8367R_VB 1010
 3  2  1  0 
initializing CHIP_RTL8367R_VB 1010
   
3: System Boot system code via Flash.
## Booting image at bc050000 ...
.   Image Name:   N750F9K1103VB
   Created:      2022-10-14  22:44:41 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1880929 Bytes =  1.8 MB
   Load Address: 80000000
   Entry Point:  80000000
.............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
¡H¨(IUboot:1.7.4 (Jul 11 2011 - 15:53:59)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fa0000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 30 
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
..============================================ 
Ralink UBoot Version: 3.5.2.0
-------------------------------------------- 
ASIC 3883_MP (MAC to VITESSE Mode)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: DDR2 
DRAM_SIZE: 512 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 64 MBytes
Flash component: SPI Flash
Date:Jul 11 2011  Time:15:53:59
============================================ 
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 500 MHZ #### 
 estimate memory size =64 Mbytes

Please choose the operation: 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
 4 initializing CHIP_RTL8367R_VB 1010
 3  2  1  0 
initializing CHIP_RTL8367R_VB 1010
   
3: System Boot system code via Flash.
## Booting image at bc050000 ...
.   Image Name:   N750F9K1103VB
   Created:      2022-10-14  22:44:41 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1880929 Bytes =  1.8 MB
   Load Address: 80000000
   Entry Point:  80000000
.............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
¡H¨(IUboot:1.7.4 (Jul 11 2011 - 15:53:59)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fa0000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 30 
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
..============================================ 
Ralink UBoot Version: 3.5.2.0
-------------------------------------------- 
ASIC 3883_MP (MAC to VITESSE Mode)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: DDR2 
DRAM_SIZE: 512 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 64 MBytes
Flash component: SPI Flash
Date:Jul 11 2011  Time:15:53:59
============================================ 
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 500 MHZ #### 
 estimate memory size =64 Mbytes

Please choose the operation: 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
 4 initializing CHIP_RTL8367R_VB 1010
 3  2  1  0 
initializing CHIP_RTL8367R_VB 1010
   
3: System Boot system code via Flash.
## Booting image at bc050000 ...
.   Image Name:   N750F9K1103VB
   Created:      2022-10-14  22:44:41 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1880929 Bytes =  1.8 MB
   Load Address: 80000000
   Entry Point:  80000000
.............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
¡H¨(IUboot:1.7.4 (Jul 11 2011 - 15:53:59)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fa0000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 30 
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
..============================================ 
Ralink UBoot Version: 3.5.2.0
-------------------------------------------- 
ASIC 3883_MP (MAC to VITESSE Mode)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: DDR2 
DRAM_SIZE: 512 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 64 MBytes
Flash component: SPI Flash
Date:Jul 11 2011  Time:15:53:59
============================================ 
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 500 MHZ #### 
 estimate memory size =64 Mbytes

Please choose the operation: 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
 4 initializing CHIP_RTL8367R_VB 1010
 3  2  1  0 
initializing CHIP_RTL8367R_VB 1010
   
3: System Boot system code via Flash.
## Booting image at bc050000 ...
.   Image Name:   N750F9K1103VB
   Created:      2022-10-14  22:44:41 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1880929 Bytes =  1.8 MB
   Load Address: 80000000
   Entry Point:  80000000
.............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
¡H¨(IUboot:1.7.4 (Jul 11 2011 - 15:53:59)

It'a a known problem (possibly uboot bug). You can add intermediate loader uimage-lzma-loader. See dlink dir-645.
Just for test you can load openwrt firmware (alredy flashed) and start it from memory by hand:

tftpboot 81000000 firmware.bin
bootm 81000000

FYI:

3 Likes

Very nice, this is an approach, but looking at current release might give an impression that it will just work easily. Funnily I searched git last weekend ...w/o finding sth. My very strange timing :wink:

This change will also work for 22.03 . And best part it conserve precious space on 8MB spi device have . You might build yourself now or wait few days (weeks) to be added to stable .

2 Likes

FYI:

2 Likes

happy to see it, this means that the next build for 22.03 [21.02] will carry the change and the source tree already has it? Without building from source do one have to wait for the next service release or is openwrt build from time to time even if there is no new release?

1 Like

Exactly.

You could use the SNAPSHOT versions of those service releases! They already include the fix!

https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/ramips/rt3883/

https://downloads.openwrt.org/releases/21.02-SNAPSHOT/targets/ramips/rt3883/

Once you installed one of them, you should install auc for easier upgrade and switching releases.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.