kako zadrzati original environment i imati samo primary boot image? ovaj link sa kopiranjem mtd3 u 4 particije neradi..molim pomoc!!
- before replacing the bootloader, make sure that you flashed secondary bootloader as noted above and that you are running openwrt fw from here
- obtain the replacement booloader by selecting it the buildmenu (configuration), or downlaod from snapshot
- if you compiled u-boot you will find the file
u-boot-bootstrap.bin
in ../trunk/bin/uboot-lantiq-gigaSX76X_DDRsamsung166/
after compilation.
- copy u-boot-bootstrap.bin to /tmp folder inside router filesystem.
- flash env to uboot_env partition with "dd if=/dev/mtdblock3 of=/dev/mtdblock4"
- flash u-boot-bootstrap.bin with "mtd write /tmp/u-boot-bootstrap.bin uboot"
- 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.