After modifying some boot function i accenditaly stuck the conduit into a boot loop. Since i couldn’t do anything to stop it, i used U-boot and tried to flash the memory to install a fresh firmware, but something went wrong.
I followed the instructions and managed to set the tftp client to fetch the files from my computer but i can’t sem to write it onto the memory.
tftp_kernel=tftp 0x20000000 oe_uImage.bin && run erase_kernel && nand write.jffs2 kernel
tftp_rootfs=tftp 0x20000000 oe_rootfs.jffs2 && run erase_rootfs && nand write.jffs2 rootfs
when i try running these functions it stops after the erase and doesn’t go further, it prints the nand –help command as if it wasn’t recognized.
I tried replacing these commands by
tftp_kernel=tftp 0x20000000 oe_uImage.bin && run erase_kernel && nand write.jffs2 0x00200000 kernel 0x00600000
tftp_rootfs=tftp 0x20000000 oe_rootfs.jffs2 && run erase_rootfs && nand write.jffs2 0x1800000 rootfs 0xe800000
It runs but gives me this
NAND write: device 0 offset 0x1800000, size 0xe800000
RomBOOT
AT91Bootstrap 3.5.3-r2 (Sat Aug 29 01:15:35 CDT 2015)
NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0x32
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 0x4, sector: 0x200
NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x2ef00000
NAND: Done to load image
following this it boots back to Uboot without changing anything.
Is it possible to fix ?