Hi bodhi I have ask you few question... After successfully flashing your uboot is it ok for me to restart my device? then setenv afterwards? wouldn't cause problems for me cause I haven't populate env's yet if I restart my device?by gendouhydeist - Rescue System
continuing from https://forum.lede-project.org/t/installing-lede-on-nsa325/3611/2 The u-boot from LEDE doesn't work at all I only get /e-data/ # nandwrite /dev/mtd0 kirkwood/generic/u-boot-nsa325/u-boot.kwb Input file is not page aligned Data did not fit into device, due to bad blocks : Success /e-data/tools # dmesg | grep -i bad Scanning device for bad blocksby gendouhydeist - Rescue System
Ok I've used your uboot and it writes properly / # nandwrite /dev/mtd0 /e-data/4089-AD8E/uboot.2016.05-tld-1.nsa325.mtd0.kwb Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 I check the env there's nothing there how I can put everything back? / # fw_printenv Waby gendouhydeist - Rescue System
/e-data/4089-AD8E/tools # flash_erase /dev/mtd0 0 0 Erasing 128 Kibyte @ e0000 -- 100 % complete /e-data/4089-AD8E/tools # nandwrite /dev/mtd0 /e-data/4089-AD8E/tools/u-boot.kwb Input file is not page aligned Data did not fit into device, due to bad blocks : Success Still the same though...by gendouhydeist - Rescue System
https://forum.lede-project.org/t/installing-lede-on-nsa325/3611 bobafetthotmail told me that I should use the one from LEDE snapshot, the one I'm using right now came from buildroot of LEDE. The weird thing is that there's no bad block at all. /e-data/4089-AD8E/tools # dmesg | grep -i bad Scanning device for bad blocksby gendouhydeist - Rescue System
@bodhi My device has different partition, The expected behavior was different from the guide. When I'm deleting 4 blocks it only deletes one. /e-data/4089-AD8E/tools # flash_erase /dev/mtd0 0 4 Erasing 128 Kibyte @ 60000 -- 100 % complete now when I flash the uboot I get this /e-data/4089-AD8E # nandwrite /dev/mtd0 kirkwood/generic/u-boot-nsa325/u-boot.kw b Input file is not pageby gendouhydeist - Rescue System