Linksys EA7500 V3 - Flashing doubt [Solved]

Hello, I'm following the installation method indicated in the link below. I can see the boot process via UART, but the option to select what it indicates never appears * Open the device, connect UART and select “ 1. System Load Linux to SDRAM via TFTP.” during startup"

I'm using Linux Mint and I've already tried screen and picocom.

I have this steps already OK

Router IP: 192.168.1.1
TFTP server IP: 192.168.1.100
TFTP file name: 7531.bin

Thanks for any help.

does anything appear ?

I can see all the boot process by UART but i don't get any prompt to choose that option.

Note: It's my first time flashing by UART :slight_smile:

Please post the output from UART up until the kernel starts.

Use the </> button when you paste the captured text.

1 Like

Did you try to interrupt the boot process by spamming the router with e.g. CTRL+C repeatedly directly after power on?
Sometimes pressing enter or space repeatedly might also work.

1 Like

No i didn't but today a started the process again and i got the option to choose and i did manage for flash both files. Then i did some packged updates and rebooted the router. Then the router reboot again to linksys firmware. I will try the process again from start.

Upgrading packages is not recommended:

Of course you can install packages you do not already have or use the image builder to build a specific image for you including packages you want:

1 Like

Fixed. I did the flash again but after send the 7531.bin file from the server i flashed the lastest opewnwrt image 24.10.5.

Before i was flashing 24.10.4 and then upgrading by luci to 24.10.5

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

1 Like

Today i power On the router again and it started the linksys firmware again, how can i make openwrt permanent?

It is a dual boot router, OpenWRT is only present on the first partition according to the wiki.

See what happens if you change to the first boot partition, so change 2 in 1 to go to the first partition:

Maybe you have written your OpenWRT firmware to the second partition?

Edit: I think you can get the current boot partition with: fw_printenv
see: https://openwrt.org/docs/techref/bootloader/uboot.config#accessing_u-boot_environment_variables_in_net_console

root@OpenWrt:~# fw_printenv
arch=arm
auto_recovery=yes
baudrate=115200
board=leopard_evb
board_name=leopard_evb
boot0=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename};bootm
boot1=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename};run boot_wr_img;run write_image2;run boot_rd_img;bootm
boot2=run boot_rd_img;bootm
boot3=download_setting uboot;tftpboot ${loadaddr} ${uboot_filename};run wr_uboot;invaild_env
boot4=loadb;run wr_uboot;invaild_env
boot5=download_setting ctp;tftpboot ${loadaddr} ${ctp_filename};run wr_ctp
boot6=run wr_cumstom_image;invaild_env
boot7=download_setting flashimage;tftpboot ${loadaddr} ${flashimage_filename};run wr_flashimage;invaild_env
boot8=nand read ${loadaddr} 0x29c0000 0x2800000;nand erase.spread 0x1C0000 0x2800000;image_blks 2048;nand write ${loadaddr} 0x1C0000 0x2800000;run boot2
boot9=nand read ${loadaddr} 0x29c0000 0x2000;image_blks 2048;nand read ${loadaddr} 0x29c0000 ${img_align_size};bootm
boot_part_ready=3
boot_rd_ctp=nand read 0x40000000 0x1C0000 0xF20000
boot_rd_img=nand read ${loadaddr} 0x1C0000 0x2000;image_blks 2048;nand read ${loadaddr} 0x1C0000 ${img_align_size}
boot_ver=0.1.3
boot_wr_img=filesize_check 0x2800000;if test ${filesize_result} = good; then image_blks 131072;nand erase.spread 0x1C0000 ${filesize};image_blks 2048;nand write ${loadaddr} 0x1C0000 ${filesize};fi
bootcmd=No
bootdelay=3
bootfile=lede_uImage
bootmenu_0=1. System Load Linux to SDRAM via TFTP.=run boot0
bootmenu_1=2. System Load Linux Kernel then write to Flash via TFTP.=run boot1
bootmenu_2=3. Boot system code via Flash.=run boot2
bootmenu_3=4. System Load U-Boot then write to Flash via TFTP.=run boot3
bootmenu_4=5. System Load U-Boot then write to Flash via Serial.=run boot4
bootmenu_5=6. System Load CTP then write to Flash via TFTP.=run boot5
bootmenu_6=7. Debugger load image then write to Flash.=run boot6
bootmenu_7=8. System Load flashimage then write to Flash via TFTP.=run boot7
bootmenu_delay=30
cbt_env_flag=1
cpu=armv7
ctp_filename=ctp.bin
ethact=mtk_eth
ethaddr=00:0C:E7:11:22:33
flashimage_filename=flashimage.bin
invaild_env=no
ipaddr=192.168.1.1
kernel_filename=7531.bin
loadaddr=0x42007F1C
serverip=192.168.1.100
soc=leopard
stderr=serial
stdin=serial
stdout=serial
uboot_filename=u-boot-mtk.bin
vendor=mediatek
wr_ctp=filesize_check 0xF20000;if test ${filesize_result} = good; then nand erase.spread 0x1C0000 0xF20000 ;nand write ${loadaddr} 0x1C0000 0xF20000;fi
wr_cumstom_image=custom_image_check 0x8000000;if test ${img_result} = good; then nand erase.chip ;nand write 0x40000000 0x0 0x1800000;fi
wr_flashimage=filesize_check 0x8000000;if test ${filesize_result} = good; then nand erase.chip ;nand write ${loadaddr} 0x0 ${filesize};fi
wr_uboot=filesize_check 0x100000;if test ${filesize_result} = good; then mtk_image_blks 131072;nand erase.spread 0x00000 ${filesize} ;mtk_image_blks 2048;nand write ${loadaddr} 0x00000 ${filesize};fi
write_image2=filesize_check 0x2800000;if test ${filesize_result} = good; then image_blks 131072;nand erase.spread 0x29c0000 ${filesize};image_blks 2048;nand write ${loadaddr} 0x29c0000 ${filesize};fi
recovery_enable=1
boot_part=1
bootimage=1

Well set to 2 and see what is there but probably also the OEM software.
If so it seems you did not upload the openwrt software to the first partition.

I do not have your router so just speculating

I didn't understand what you said. It's on partition 1 according to my log, right?