mtdparts del mtdparts add nand0 0x00100000@0x0 u-boot mtdparts add nand0 0x07f00000@0x00100000 data PogoE02> mtdparts device nand0 , # parts = 2 #: name size offset mask_flags 0: u-boot 0x00100000 0x00000000 0 1: data 0x07f00000 0x00100000 0 active partition: nand0,0 - (u-boot) 0x00100000 @ 0x00000000 defaults: mtdids : none mtdparts: none tftpboot 0x2000000 uboot.2016.05-tld-1.pogo_e02.mtd0.kwb nand erase 0x0 0x80000 nand write 0x2000000 0x0 0x80000 tftpboot 0x2000000 lede-kirkwood-pogo_e02-root.ubi nand erase 0x00100000 0x07f00000 nand write 0x2000000 0x00100000 0x6a0000 setenv ubifs_boot 'if ubi part data && ubifsmount ubi:rootfs && ubifsload 0x800000 /boot/uImage && ubifsumount; then bootm 0x800000; fi' setenv ubifs_bootcmd 'run ubifs_set_bootargs; run ubifs_boot' setenv ubifs_set_bootargs 'setenv bootargs console=$console $mtdparts' setenv bootcmd 'run ubifs_bootcmd; usb start; run usb_bootcmd; usb stop; reset' saveenv