View Single Post
Staro 11.09.2013., 14:40   #1259
Shuky
Premium
 
Shuky's Avatar
 
Datum registracije: Feb 2007
Lokacija: Zagreb
Postovi: 683
kako zadrzati original environment i imati samo primary boot image? ovaj link sa kopiranjem mtd3 u 4 particije neradi..molim pomoc!!

  1. before replacing the bootloader, make sure that you flashed secondary bootloader as noted above and that you are running openwrt fw from here
  2. obtain the replacement booloader by selecting it the buildmenu (configuration), or downlaod from snapshot
  3. if you compiled u-boot you will find the file u-boot-bootstrap.bin in ../trunk/bin/uboot-lantiq-gigaSX76X_DDRsamsung166/ after compilation.
  4. copy u-boot-bootstrap.bin to /tmp folder inside router filesystem.
  5. flash env to uboot_env partition with "dd if=/dev/mtdblock3 of=/dev/mtdblock4"
  6. flash u-boot-bootstrap.bin with "mtd write /tmp/u-boot-bootstrap.bin uboot"
  7. now reboot, run recovery HTTP server, and flash image from trunk
a nti ovo ne radi..u smislu da nema environmenta.



setenv ipaddr 192.168.1.1 setenv serverip 192.168.1.254 //unprotect sectors protect off 1:0-20 //first copy nvram to new address: era 0xb0010000 0xb001ffff cp.b 0xb000e000 0xb0010000 0x2000 tftpboot 0x816e0000 u-boot-bootstrap.bin era 0xb0000000 0xb000ffff cp.b 0x816e0000 0xb0000000 0x10000 reset


Hvala samome sebi...idemo dalje na 64mb RAM mod. Softwerski prerequesti zavrseni.
__________________


Zadnje izmijenjeno od: Shuky. 12.09.2013. u 23:29. Razlog: Rijeseno
Shuky je offline   Reply With Quote