>>>>>> Got NAND Flash device! Start installation...

mtd_erasesize=20000
page_size=800
flash size: 0x20000000
reserved remapping size: 0xce (0x6f995000000001 sectors)
Extract XML configuration file, configuration.xml, from /mnt/usbmounts/sda/install.img...
command: tar -xf /mnt/usbmounts/sda/install.img configuration.xml nandwrite flash_erase
In my system...
[time] t=000.081
In my system...
Loading XML configuration file, configuration.xml...
<?xml version="1.0" encoding="ISO-8859-1" ?>
<packageFile>
    <info>
        <company>Realtek Semiconductor Corp.</company>
        <description>This image file contains 3 Darwin packages. The first one is for AVHDD on NOR, the second one is for AVHDD on NAND, and the third one is for AVHDD on ISO image.</description>
        <version>0.0.1</version>
        <releaseDate>08/28/13 20:20</releaseDate>
        <signature>Darwin image files</signature>
    </info>
    <installerAP>
        <fileName>install_a</fileName>
        <hashValue>3b331876ed8f50bacb4b2706e9cc1f3d</hashValue>
        <install_bootloader>y</install_bootloader>
        <install_factory>n</install_factory>
        <update_etc>y</update_etc>
        <update_userdata>y</update_userdata>
        <install_cardreader>n</install_cardreader>
    </installerAP>
    <package>
        <info>
            <description>This is Jupiter AVHDD on NAND</description>
            <version>N/A</version>
        </info>
        <nand>
            <image type="linuxKernel">
                <fileName>package2/vmlinux.develop.avhdd.darwin.ostar.nand.bin</fileName>
                <targetAddress>0x80100000</targetAddress>
                <version>SVN:179</version>
            </image>
            <image type="audioKernel">
                <fileName>package2/bluecore.audio</fileName>
                <targetAddress>0x81b00000</targetAddress>
                <version>N/A</version>
            </image>
            <image type="videoKernel">
                <fileName>package2/video_firmware.bin</fileName>
                <targetAddress>0x81d80000</targetAddress>
                <version>N/A</version>
            </image>
            <image type="bootloader">
                <fileName>package2/bootloader.tar</fileName>
                <version>N/A</version>
            </image>
            <image type="audioFile">
                <fileName>package2/bootfile.audio</fileName>
                <targetAddress>0x83000000</targetAddress>
                <version>N/A</version>
            </image>
            <image type="videoFile">
                <fileName>package2/bootfile.video</fileName>
                <targetAddress>0x83100000</targetAddress>
                <version>N/A</version>
            </image>
            <image type="squash">
                <fileName>package2/squashfs1.img</fileName>
                <mountPoint>/</mountPoint>
            </image>
            <image type="yaffs2">
                <fileName>package2/usr.local.etc.tar.bz2</fileName>
                <mountPoint>/usr/local/etc</mountPoint>
                <sizeBytesMin>41943040</sizeBytesMin>
            </image>
        </nand>
    </package>
</packageFile>
Company: Realtek Semiconductor Corp.
Description: This image file contains 3 Darwin packages. The first one is for AVHDD on NOR, the second one is for AVHDD on NAND, and the third one is for AVHDD on ISO image.
Version: 0.0.1
Release Date: 08/28/13 20:20
Can not find image description, yaffs2, and mount point, /usr/local/Resource, from flash target!
Can not find image description, squash, and mount point, /usr/local/Resource, from flash target!
Can not find image description, yaffs2, and attribute, userDefined, from flash target!
command: dd if=/dev/mtdblockdisc of=/tmp/fw_tbl.bin bs=2048 skip=8192 count=3
In my system...
3+0 records in
3+0 records out
6144 bytes (6.0KB) copied, 0.002819 seconds, 2.1MB/s
command: dd if=/mnt/usbmounts/sda/install.img
..mount_point /usr/local/etc size=0x2800000
command: dd if=/tmp/fw_tbl.bin of=/dev/mtdblockdisc bs=131072 seek=128
In my system...
0+1 records in
0+1 records out
6144 bytes (6.0KB) copied, 0.030742 seconds, 195.2KB/s
command: dd if=/mnt/usbmounts/sda/install.img
...68440+0 records in
68440+0 records out
35041280 bytes (33.4MB) copied, 2.158518 seconds, 15.5MB/s
[time] t=002.208
Image type: bootloader
Image name: package2/bootloader.tar
command: mkdir -p /tmp/tar_file_tmp
In my system...
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bootloader.tar | tar -xf - -C /tmp/tar_file_tmp
In my system...
[time] t=000.132
[install_a.cpp:484] install_bootloader tag is 'y'
/tmp/tar_file_tmp/logo.bin not exist.
/tmp/tar_file_tmp/logo2.bin not exist.
/tmp/tar_file_tmp/logo3.bin not exist.
/tmp/tar_file_tmp/logo4.bin not exist.
/tmp/tar_file_tmp/logo5.bin not exist.
/tmp/tar_file_tmp/logo6.bin not exist.
/tmp/tar_file_tmp/logo7.bin not exist.
/tmp/tar_file_tmp/logo8.bin not exist.
get_flash_wp(/sys/realtek_boards/pcb_enum/PIN_FLASH_WP): [0x101018303] -> 101018303
flash type: nand
no room for bootcode size in HW setting
Begin:[TC58NVG2S3E][FFFFFFFF FF FF]
[FFFFFFFF FF FF]
[FFFFFFFF FF FF]
blk_state_len =0x60
get original param in block 30, size 0x3a0
......../..///.................................................................................................................................................................................//////////..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../..///.................................................................................................................................................................................//////////..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../..///.................................................................................................................................................................................//////////..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../..///.................................................................................................................................................................................//////////....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................do_exit_n
blk_state:
d0 bb bb 23 23 23 23 ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff 23 23 23 79 79 79 79 79 79 79 79 79 79 79 79
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 ff ff ff ff ff ff ff ff

Finish
write bootcode success
command: rm -rf /tmp/tar_file_tmp
In my system...
Image type: linuxKernel
Image name: package2/vmlinux.develop.avhdd.darwin.ostar.nand.bin
command: /flash_erase /dev/mtddisc 16908288 43
In my system...
Erase Total 43 Units
Performing Flash Erase of length 131072 at offset 0x1560000 done
[time] t=000.468
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/vmlinux.develop.avhdd.darwin.ostar.nand.bin | /nandwrite -c -x -s 16908288 -l 5524444 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
.....Writing data finishes !!
[time] t=004.882
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x1580000
Image version: 0x0
Image target addr: 0x80100000
Image offset: 0x1020000
Image length: 0x544bdc
Image paddings: 0x560000
Image checksum: 0x0
Image type: audioKernel
Image name: package2/bluecore.audio
command: /flash_erase /dev/mtddisc 22544384 7
In my system...
Erase Total 7 Units
Performing Flash Erase of length 131072 at offset 0x1640000 done
[time] t=000.059
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bluecore.audio | /nandwrite -c -x -s 22544384 -l 818752 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
.Writing data finishes !!
[time] t=000.770
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x1660000
Image version: 0x0
Image target addr: 0x81b00000
Image offset: 0x1580000
Image length: 0xc7e40
Image paddings: 0xe0000
Image checksum: 0x0
Image type: videoKernel
Image name: package2/video_firmware.bin
command: /flash_erase /dev/mtddisc 23461888 18
In my system...
Erase Total 18 Units
Performing Flash Erase of length 131072 at offset 0x1880000 done
[time] t=000.080
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/video_firmware.bin | /nandwrite -c -x -s 23461888 -l 2330256 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
..Writing data finishes !!
[time] t=002.091
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x18a0000
Image version: 0x0
Image target addr: 0x81d80000
Image offset: 0x1660000
Image length: 0x238e90
Image paddings: 0x240000
Image checksum: 0x0
Image type: audioFile
Image name: package2/bootfile.audio
command: /flash_erase /dev/mtddisc 25821184 1
In my system...
Erase Total 1 Units
Performing Flash Erase of length 131072 at offset 0x18a0000 done
[time] t=000.048
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bootfile.audio | /nandwrite -c -x -s 25821184 -l 95129 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
Writing data finishes !!
[time] t=000.138
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x18c0000
Image version: 0x0
Image target addr: 0x83000000
Image offset: 0x18a0000
Image length: 0x17399
Image paddings: 0x20000
Image checksum: 0x0
Image type: videoFile
Image name: package2/bootfile.video
command: /flash_erase /dev/mtddisc 25952256 12
In my system...
Erase Total 12 Units
Performing Flash Erase of length 131072 at offset 0x1a20000 done
[time] t=000.069.
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bootfile.video | /nandwrite -c -x -s 25952256 -l 1499875 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
.Writing data finishes !!
[time] t=001.383
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x1a40000
Image version: 0x0
Image target addr: 0x83100000
Image offset: 0x18c0000
Image length: 0x16e2e3
Image paddings: 0x180000
Image checksum: 0x0
Image type: audioFile
Image name: package2/bootfile.audio
command: /flash_erase /dev/mtddisc 27525120 12
In my system...
Erase Total 12 Units
Performing Flash Erase of length 131072 at offset 0x1ba0000 done
[time] t=000.070
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bootfile.audio | /nandwrite -c -x -s 27525120 -l 95129 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
Writing data finishes !!
[time] t=000.141
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x1bc0000
Image version: 0x0
Image target addr: 0x83000000
Image offset: 0x1a40000
Image length: 0x17399
Image paddings: 0x180000
Image checksum: 0x0
Image type: videoFile
Image name: package2/bootfile.video
command: /flash_erase /dev/mtddisc 29097984 20
In my system...
Erase Total 20 Units
Performing Flash Erase of length 131072 at offset 0x1e20000 done
[time] t=000.084
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bootfile.video | /nandwrite -c -x -s 29097984 -l 1499875 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
..Writing data finishes !!
[time] t=001.368
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x1e40000
Image version: 0x0
Image target addr: 0x83100000
Image offset: 0x1bc0000
Image length: 0x16e2e3
Image paddings: 0x280000
Image checksum: 0x0
Image type: audioFile
Image name: package2/bootfile.audio
command: /flash_erase /dev/mtddisc 31719424 12
In my system...
Erase Total 12 Units
Performing Flash Erase of length 131072 at offset 0x1fa0000 done
[time] t=000.070
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bootfile.audio | /nandwrite -c -x -s 31719424 -l 95129 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
Writing data finishes !!
[time] t=000.141
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x1fc0000
Image version: 0x0
Image target addr: 0x83000000
Image offset: 0x1e40000
Image length: 0x17399
Image paddings: 0x180000
Image checksum: 0x0
Image type: videoFile
Image name: package2/bootfile.video
command: /flash_erase /dev/mtddisc 33292288 20
In my system...
Erase Total 20 Units
Performing Flash Erase of length 131072 at offset 0x2220000 done
[time] t=000.084
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/bootfile.video | /nandwrite -c -x -s 33292288 -l 1499875 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
.Writing data finishes !!
[time] t=001.369
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0x2240000
Image version: 0x0
Image target addr: 0x83100000
Image offset: 0x1fc0000
Image length: 0x16e2e3
Image paddings: 0x280000
Image checksum: 0x0
Image type: yaffs2
Image name: package2/usr.local.etc.tar.bz2
partition_size=0x2800000
mount point=/usr/local/etc
Image version: 0x0
Image target addr: 0x0
Image offset: 0x1be40000
Image length: 0x2b8a
Image paddings: 0x2800000
Image checksum: 0x0
command: mkdir -p /tmp/etc
In my system...
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/usr.local.etc.tar.bz2 | tar -xjf - -C /tmp/etc
In my system...
[time] t=000.094
command: /flash_erase /dev/mtddisc 467927040 320
In my system...
.Erase Total 320 Units
Performing Flash Erase of length 131072 at offset 0x1e620000 done
[time] t=001.670
command: dd if=/mnt/usbmounts/sda/install.img | tar -xf - mkyaffs2image
In my system...
..68440+0 records in
68440+0 records out
35041280 bytes (33.4MB) copied, 2.003364 seconds, 16.7MB/s
[time] t=002.063
In my system...
command: /mkyaffs2image /tmp/etc/ /tmp/etc.img all-root /dev/mtddisc && /nandwrite -c -y -n -o -s 467927040 -l 11146 /dev/mtddisc /tmp/etc.img
In my system...
mkyaffs2image: image building tool for YAFFS2 built Dec  9 2010
Processing directory /tmp/etc/ into image file /tmp/etc.img
Object 257, /tmp/etc//smixer.conf is a file, 1 data chunks written
Object 258, /tmp/etc//rcS is a file, 1 data chunks written
Object 259, /tmp/etc//profile is a file, 1 data chunks written
Object 260, /tmp/etc//ppp is a directory
Object 261, /tmp/etc//ppp/pap-secrets is a file, 1 data chunks written
Object 262, /tmp/etc//ppp/firewall-masq is a file, 2 data chunks written
Object 263, /tmp/etc//ppp/firewall-standalone is a file, 1 data chunks written
Object 264, /tmp/etc//ppp/pppoe-server-options is a file, 1 data chunks written
Object 265, /tmp/etc//ppp/pppoe.conf is a file, 3 data chunks written
Object 266, /tmp/etc//pcm is a directory
Object 267, /tmp/etc//pcm/dpl.conf is a file, 1 data chunks written
Object 268, /tmp/etc//pcm/dsnoop.conf is a file, 1 data chunks written
Object 269, /tmp/etc//pcm/modem.conf is a file, 1 data chunks written
Object 270, /tmp/etc//pcm/side.conf is a file, 1 data chunks written
Object 271, /tmp/etc//pcm/surround40.conf is a file, 1 data chunks written
Object 272, /tmp/etc//pcm/dmix.conf is a file, 1 data chunks written
Object 273, /tmp/etc//pcm/surround71.conf is a file, 1 data chunks written
Object 274, /tmp/etc//pcm/rear.conf is a file, 1 data chunks written
Object 275, /tmp/etc//pcm/surround51.conf is a file, 1 data chunks written
Object 276, /tmp/etc//pcm/iec958.conf is a file, 1 data chunks written
Object 277, /tmp/etc//pcm/front.conf is a file, 1 data chunks written
Object 278, /tmp/etc//pcm/default.conf is a file, 1 data chunks written
Object 279, /tmp/etc//pcm/hdmi.conf is a file, 1 data chunks written
Object 280, /tmp/etc//pcm/surround41.conf is a file, 1 data chunks written
Object 281, /tmp/etc//pcm/surround50.conf is a file, 1 data chunks written
Object 282, /tmp/etc//pcm/center_lfe.conf is a file, 1 data chunks written
Object 283, /tmp/etc//passwd is a file, 1 data chunks written
Object 284, /tmp/etc//magic is a file, 1 data chunks written
Object 285, /tmp/etc//ld.so.conf is a file, 1 data chunks written
Object 286, /tmp/etc//hosts is a file, 1 data chunks written
Object 287, /tmp/etc//hdd.old is a directory
Object 288, /tmp/etc//hdd.old/dvdvr is a directory
Object 289, /tmp/etc//hdd.old/fat32 is a directory
Object 290, /tmp/etc//hdd.old/root is a directory
Object 291, /tmp/etc//hdd.old/root/lock is a directory
Object 292, /tmp/etc//hdd.old/root/recovery is a directory
Object 293, /tmp/etc//hdd.old/livepause is a directory
Obje.ct 294, /tmp/etc//hdd is a symlink to "/tmp/hdd"
Object 295, /tmp/etc//group is a file, 1 data chunks written
Object 296, /tmp/etc//dvdplayer is a directory
Object 297, /tmp/etc//dvdplayer/dmem.bin is a file, 1 data chunks written
Object 298, /tmp/etc//cards is a directory
Object 299, /tmp/etc//cards/aliases.conf is a file, 1 data chunks written
Object 300, /tmp/etc//cards/USB-Audio.conf is a file, 4 data chunks written
Object 301, /tmp/etc//asound.conf is a file, 1 data chunks written
Object 302, /tmp/etc//alsa.conf is a file, 5 data chunks written
Operation complete.
46 objects in 12 directories
91 NAND pages
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
Writing data finishes !!
[time] t=000.231
partition length: 0x2800000
Can not find image description, yaffs2, and mount point, /, from flash target!
Image type: squash
Image name: package2/squashfs1.img
partition_size=0xce0000
mount point=/
Image version: 0x0
Image target addr: 0x0
Image offset: 0x1b160000
Image length: 0xcdf000
Image paddings: 0xce0000
Image checksum: 0x0
command: /flash_erase /dev/mtddisc 454426624 103
In my system...
Erase Total 103 Units
Performing Flash Erase of length 131072 at offset 0x1be20000 done
[time] t=000.579
command: tar -O -xf /mnt/usbmounts/sda/install.img package2/squashfs1.img | /nandwrite -c -x -s 454426624 -l 13496320 /dev/mtddisc -
In my system...
nandwrite $ Revision: 1.50 r1.0$
Linux version 0x2060c
............Writing data finishes !!
[time] t=011.834
command: dd if=/mnt/usbmounts/sda/install.img
partition length: 0xce0000
command: dd if=/tmp/fw_tbl.bin of=/dev/mtdblockdisc bs=131072 seek=128
In my system...
0+1 records in
0+1 records Install completed !
out
6144 bytes (6.0KB) copied, 0.102668 seconds, 58.4KB/s
update_nand_xml (Done.)

[total time] t=054.333
rebooting...