OpenWrt for Zyxel WSM20 (Multy M1) development discussion

yeah, might have misinterpreted ....

I would try to flash the other partition with the stock firmware, like the other zyxels of the same category. although I am convinced that something is wrong with usb adapter

1 Like

can you select uboot console?

do not warry, can you select uboot console?

cool, TFTP flashing appears to be available via serial.

Let's gooo!!

I don't understand you
How have you launched U-Boot menu??

Why would you need to go into the U-Boot Console if he already have an updating protocol through TFTP?

some devices show it automagically, with a count down.

I'm not understanding anything, something has changed now.

it's all good.

I'd like to see the console too, for help output.
printenv is in OpenWrt for Zyxel WSM20 (Multy M1) - #34 by Annick

But how he has triggered it? Before he could only interrupt the bootloader with F key to go into failsafe mode and now he can interrupt to get a U-Boot menu?

I need to get the device on my hands to see all this :slight_smile:

Don't think he was in the right place, or didn't realize the differance.

But if we do a restart of the uboot exploration, and @Annick is now watching, I'd like to retry the reset button for recovery.

maybe it was really a bad uart adapter?

the u-boat is very fast and since there is no on/off button, the time to plug in the 12 volt socket..
you have to type 2 blind to see it appear

2 Likes

How did you discover it was 2 and not another key?

once you're in the uboot cli, do.

setenv bootmenu_delay 10
saveenv

it'll buy you some extra time to interrupt the process, but also
delay the regular boot by 10 sec.

1 Like

How did you discover it was 2 and not another key?

this is the usual command to flash a firmware with u-boot

are you able to tftpboot initram.bin?

1 Like

are you able to tftpboot initram.bin?

no

as always it is imperative for the future to back up the OEM partitions
if there was usb it would be easy but there is none
I can't manage in safe mode to make access work with SCP to recover the partitions

cat /dev/mtd0 > mtd0.bin
cat /dev/mtd1 > mtd1.bin
cat /dev/mtd2 > mtd2.bin
cat /dev/mtdx > mtdx.bin


i still do not understand are you able to select ubbot console?

yest i can select u-boot



*** Invalid selection! ***
=> help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootmenu- ANSI terminal bootmenu
bootnum - MSTC write bootnum into persist

bootp   - boot image via network using BOOTP/TFTP protocol
chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
editenv - edit environment variable
env     - environment handling commands
fdt     - flattened device tree utility commands
go      - start application at address 'addr'
gpio    - query and control gpio pins
help    - print command description/usage
iminfo  - print header information for application image
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing address)
mstc_bootnum- MSTC DUAL image boot and check bootnum

mstc_img_chk- MSTC DUAL image boot and check image

mtdparts- define flash/nand partitions
mtkautoboot- Display MediaTek bootmenu
mtkboardboot- Boot MT7621 firmware
mtkload - MTK image loading utility
mtkupgrade- MTK firmware/bootloader upgrading utility
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nm      - memory modify (constant address)
printenv- print environment variables
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setexpr - set environment variable as the result of eval expression
sleep   - delay execution for some time
source  - run script from memory
tftpboot- boot image via network using TFTP protocol
version - print monitor, compiler and linker version
=>