rocketracoon
New Member
- Messages
- 1
- Points
- 3
i have this camera : DS-2CD2386G2-I(U)
then i connected through external uart with linux gtkterm, and i can interact with u-boot by send ctrl+u in the first 3 seconds.
I want full shell to interact with camera, then i first used : printenv , then tried to change bootargs , thes saveenv then launched manually loadk and bootm, but seem that saveenv can't save on bootargs, but can save other keys eg bootdelay.
i want full shell to dump ip camera rootfs block
Printenv result
tried :
where replaced init=/linuxrc with init=/bin/sh
then saveenv, then printenv again without success.
then i connected through external uart with linux gtkterm, and i can interact with u-boot by send ctrl+u in the first 3 seconds.
I want full shell to interact with camera, then i first used : printenv , then tried to change bootargs , thes saveenv then launched manually loadk and bootm, but seem that saveenv can't save on bootargs, but can save other keys eg bootdelay.
i want full shell to dump ip camera rootfs block
Printenv result
arch=armbaudrate=115200board=nvt-na51055board_name=nvt-na51055bootargs=earlyprintk console=ttyS0,115200 rootwait nprofile_irq_duration=on root=ubi0:rootfs rootfstype=ubifs ubi.fm_autoconvert=1 init=/linuxrc KRN_PRT=pri mdio_intf=<NULL> phy_addr=0 mac=3c:1b:f8:e5:65:c0 rst_flag=0 bld_rev=3673745 flash_type=spinand flash_size=128MB dram_size=1024MB devtype=0x2404c chip_id=0x1 nvt_chip_id=0x5021 trspt_mode=0x0 sys_nobackup=1 dram2_size=0x20000000 dram2_base_addr=0x40000000 boot_mode=0 power_mode=0 dram0_size_fast=0 dram0_size_capture=0bootcmd=loadk;bootmbootdelay=3cpu=armv7dbg=0ethact=eth_hikethaddr=3c:1b:f8:e5:65:c0fdtcontroladdr=6f9c5e0gatewayip=192.168.1.254hostname=soclnxipaddr=192.168.1.67netmask=255.255.255.0phy_addr=0serverip=192.168.1.128soc=nvt-na51055_a32stderr=serialstdin=serialstdout=serialtrspt_mode=0vendor=novatekver=U-Boot 2019.04-svn3673745 (Sep 14 2023 - 20:14:47 +0800)verify=0tried :
setenv bootargs 'earlyprintk console=ttyS0,115200 rootwait nprofile_irq_duration=on root=ubi0:rootfs rootfstype=ubifs ubi.fm_autoconvert=1 init=/bin/sh KRN_PRT=pri mdio_intf=<NULL> phy_addr=0 mac=3c:1b:f8:e5:65:c0 rst_flag=0 bld_rev=3673745 flash_type=spinand flash_size=128MB dram_size=1024MB devtype=0x2404c chip_id=0x1 nvt_chip_id=0x5021 trspt_mode=0x0 sys_nobackup=1 dram2_size=0x20000000 dram2_base_addr=0x40000000 boot_mode=0 power_mode=0 dram0_size_fast=0 dram0_size_capture=0'where replaced init=/linuxrc with init=/bin/sh
then saveenv, then printenv again without success.