Is it possible to flash Linux kernel directly on BCM43XX - based 
hardware (ASUS WL-500gP etc.), without using tftp?

According to /proc/mtd, kernel is located on /dev/mtd1:

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "cfe"
mtd1: 007b0000 00010000 "linux"
mtd2: 006d0000 00010000 "rootfs"
mtd3: 00010000 00010000 "nvram"


When we look at the contents of /dev/mtd1, it begins with "HDR0" - so 
perhaps Linux kernel has to be converted into some special format first?

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 ;)


-- 
Tomasz Chmielewski
http://wpkg.org
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to