2014年2月13日 星期四

透過TFTP與MTD燒錄image

$cat /proc/mtd

dev: size erasesize name
mtd0: 00800000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 007b0000 00010000 "Kernel"

$tftp –gr root_uImage 10.10.10.123
$mtd_write -r write /tmp/root_uImage /dev/mtd4

沒有留言:

張貼留言