Can you help me and share me firmware extracted G0 IPC_G0_CN_STD_5.5.53_180716??
And please confir me and more explaine me this:
1.It is ok understand
printenv
2.
It is ok understand
Use the following commands to set the camera IP address and the
TFTP server IP address:
setenv ipadrs <your_choice_for_the_camera>
setenv serverip <your_TFTP_server_address>
saveenv
3. It is ok understand
Then the kernel bootargs need to be changed to get the kernel to boot into a debug mode:
setenv bootargs console=ttyAMA0,115200 init=/bin/sh rootfs=0x82000000 rootfstype=initrd debug single loglevel=9
saveenv
4.
It is ok understand- copy file uImage from extract new firmware to directory of root TFTP server ???????????
-------------------------------------------------------------
Copy the kernel image uImage to your tftp root folder.
Boot over tftp and the camera should end up at a shell prompt, hopefully not a psh prompt.
tftp uImage
bootm
-----------------------------------------------------------
5.
It is ok understand-- addres like 192.168.1.201 is your NAS with NFS name CCTV1 ????????????????????
It's really handy to be able to copy / paste command lines from a text file (eg via Notepad) into the PuTTY command line.
These can be done singly or in multiple.
If the modified bootargs do boot into an ash shell, that's great as it will provide the access to do the needed work.
But at that point, the environment is not yet complete.
These commands are needed to take it a few steps further:
Adjust the IP addresses to match your network and your NAS for the NFS share and sharename.
/bin/mount -t proc proc /proc
/bin/mount -t sysfs none /sys
/bin/mount -t ramfs ramfs /home
/etc/S_udev
ifconfig eth0 192.168.1.64 up
mount -t nfs -o nolock 192.168.1.201:/cctv1 /mnt/nfs00
cd /mnt/nfs00
----------------------------------------------------------------
6. Can you explaine me more this point step by step ?
At this point there is a fully usable linux environment.
The uImage kernel can be applied to mtdblock5 & 6 (sys0, sys1) and all the remaining files from the unpacked firmware copied into /dav both when it's mounted from mtdblock7 and also mtdblock8 (app0 and app1).
Finally - reboot, interrupt the bootloader with Control-U and put the bootargs environment variable back the way it was to begin with so that the camera no longer boots into a shell in debug mode.