Damaged UBIFS & Syscfg linksys Ea8100 v1

I directly connected to my ea8100 Linksys router using serial port after I connected wrongly and without knowing the dangers of two commands (never test these two)
nand erase ubifs
nand erase syscfg
I wrote, after turning the router off and on again, the router did not boot, and even its lights did not turn on, and serial communication was not established, and nothing booted at all!!!!

Is there a way to fix the router?
How can I check if the bootloader is damaged or not?
Should I use CFE files if I want to rewrite the bootloader or ubifs? Where should I find the file for this router?

I don't know much about electronics and the destructive effects of these two commands on NAND.

what I would like to know is, how did you get here? what lead you to running those two commands?

I just bought an ea8100 v1 router (expensive in my country)
At first, I put openwrt on it from the web environment, but the router booted on the original OEM firmware after 3 attempts to reboot, as a result, I connected to the router through the serial port and installed this firmware on both A/B partitions.
https://downloads.openwrt.org/releases/23.05.2/targets/ramips/mt7621/openwrt-23.05.2-ramips-mt7621-linksys_ea8100-v1-squashfs-factory.bin
I installed it and after that the router fell into an infinite restart loop and nothing would boot
I was trying to understand the problem and fix it when I came to your post in the forum and mistakenly entered the two commands you entered.
I didn't know that this was irreversible and I thought that I could restore the router to normal by just reinstalling the OEM, but after turning the router off and on, nothing booted and the serial connection did not show anything.
Now I did not know the destructive effect of these two commands and how I should communicate with the router so that I can return the router to normal mode.

I found these links which are almost related to my problem but I don't understand what to do
https://forum.openwrt.org/t/creating-a-ubifs-for-nand-kernel-cmdline-arguments