Elecard iTelec STB-610

From PdaXrom embedded

Jump to: navigation, search

Contents

mtd partitions

pdaXrom-NG running on Elecard iTelec STB 610 board (rev.1)
dev:  size     erasesize name
mtd0: 00018000 00004000 "UBL"
mtd1: 00038000 00004000 "U-boot"
mtd2: 00004000 00004000 "U-boot Env"
mtd3: 00400000 00004000 "kernel"
mtd4: 000e4000 00004000 "sysconfig"
mtd5: 00008000 00004000 "hwconfig"
mtd6: 03ac0000 00004000 "root"

Install new kernel

nand erase clean 0x54000 0x400000
tftp 0x80700000 uImage
nand write.jffs2 0x80700000 0x54000 0x3e0000

Install new rootfs (jffs2)

Put rootfs.jffs2 to tftp directory and run next commands:

nand erase clean 0x540000 0x3ac0000
mw.b 0x80700000 ff 0x1800000
tftp 0x80700000 rootfs.jffs2
nand write.jffs2 0x80700000 0x540000 0x1800000

Configure environment:

setenv bootargs mem=96M console=ttyS0,115200n8 video=dm64xxfb:output=pal mtdparts=davinci_nand:96k(UBL)ro,224k(UBoot)ro,16k(UBootEnv)ro,4M(Kernel),912k(sysconfig),32k(hwconfig),-(root) root=/dev/mtdblock6 rootfstype=jffs2
saveenv

Install new roofs (squashfs)

Put rootfs.img to tftp directory and run next commands:

nand erase clean 0x540000 0x3ac0000
mw.b 0x80700000 ff 0x2000000
tftp 0x80700000 rootfs.img
nand write.jffs2 0x80700000 0x540000 0x2000000

Configure environment:

setenv bootargs mem=96M console=ttyS0,115200n8 video=dm64xxfb:output=pal mtdparts=davinci_nand:96k(UBL)ro,224k(UBoot)ro,16k(UBootEnv)ro,4M(Kernel),912k(sysconfig),32k(hwconfig),-(root) root=/dev/mtdblock6 rootfstype=squashfs
saveenv
Personal tools