Stefan Monnier schrieb:
>> I'd like to be able to flash the kernel without using tftp, just with dd:
> 
>> # erase /dev/mtd1
>> # dd if=kernel of=/dev/mtd1
> 
>> Does anyone know a "magic" formula? Having to power off the device and 
>> pressing the reset button is boring ;)
> 
> The OpenWRT wiki ha(s|d) the instructions, tho I can't find them anymore.
> It looked like
> 
>    mtd -e linux <moreargs> <something>.trx

Is this what you meant?

http://wiki.openwrt.org/OpenWrtDocs/Installing

   Reflashing OpenWrt will overwrite the filesystem, erasing all previous
   applications and data. You are strongly urged to back up any changes
   you may have made to the system.

   mtd -r write firmware.trx linux


But this overwrites everything - I'd like to only flash the kernel.


-- 
Tomasz Chmielewski
http://wpkg.org
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to