BE NOTICE that, it may require you to set up the RNDIS driver again when you're in DIAG mode (in case you set up before, you need to do it again for the DIAG mode, including set the IP address)
Code:
#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@[192_168_15_244] root]# ls /mnt/us -l
-rwxr-xr-x 1 root root 162 Nov 8 17:35 USBnet.xml
drwxr-xr-x 2 root root 8192 Nov 8 17:32 diagnostic_logs
drwxr-xr-x 9 root root 8192 Oct 26 12:31 documents
drwxr-xr-x 10 root root 8192 Nov 8 17:31 linkss
-rwxr-xr-x 1 root root 169891140 Nov 8 03:39 rootfs.img.gz
drwxr-xr-x 9 root root 8192 Nov 8 17:22 system
-rwxr-xr-x 1 root root 4718592 Nov 8 04:16 uImage
drwxr-xr-x 6 root root 8192 Nov 1 06:06 usbnet
[root@[192_168_15_244] root]# dd if=/mnt/us/uImage of=/dev/mmcblk0 bs=4096 seek=65
1152+0 records in
1152+0 records out
4718592 bytes (4.5MB) copied, 0.546835 seconds, 8.2MB/s
[root@[192_168_15_244] root]# zcat /mnt/us/rootfs.img.gz | dd of=/dev/mmcblk0p1 bs=4096
87500+0 records in
87500+0 records out
358400000 bytes (341.8MB) copied, 103.336101 seconds, 3.3MB/s
[root@[192_168_15_244] root]# idme -d --bootmode main; reboot
Devmode enabled
Reading vars from temp storage...
...None found, Copying vars from /proc
Setting bootmode to main
Writing new vars to temp area
You must reboot before new values will take effect
Flashing the rootfs may take up to 2 minutes, be patient.
Seems it's all set.
Thanks for so many works on it.