i'm the original poster in that reddit thread. edit see below
i understand its not supported by openwrt , i would consider my post here as a hardware mod/hack .
identical cpu means i can use the same pinout for jtag /spi flashing.
just trying to save something from the landfill/ learning stuff just in case.
i just reread what i typed above ,please understand i have no intention of being rude,thank you for trying to help me
oh, and i'm hoping the serial console log before i bricked my device would help for finding offsets and other lowlevel stuff.
edit: oh you mean the archived openwrt forum post OP ,i guess i'll try .
i'll try that and reply back if successful. what i understand is the cpu will go into boot from uart when the flash is corrupt or missing but after boot i get eeprom ok message on the serial console so maybe it wont work without bootsel pin shorting or driving it high, but the jtag spi pinout page i linked above says the cpu (thats in my board) ignores bootsel pin status
You will need several things, which you'll likely have to find somewhere outside the OpenWrt project:
Lantiq UART loader script
U-boot compiled to run from RAM
U-boot compiled to install in flash
When the SoC goes into UART mode (either by jumping the resistor, or having it fail to boot normally) use the script to upload the RAM bootloader. The RAM bootloader should then run and you can use commands on its console to upload and install the flash bootloader. Then boot to flash and use the flash bootloader to install the OS image.
thanks , will try to find them online.
i'm guessing but the u-boot compiled to install in flash ,can i get it from the original firmware image.
i understand there may be other uboot versions and as per the openwrt wiki the original u-boot was buggy/had issues can i use updated an updated uboot (custom compiled for this cpu that i may find on the internet) with the original firmware.