2024-09-26 09:53:35 read - data: 2024-09-26 09:53:35 send - data: len:1 2024-09-26 09:53:37 read - data: emmc 2024-09-26 09:53:37 read - data: boot table board switch:0x00000007 2024-09-26 09:53:37 read - data: DDR size: 0x00000800MB 2024-09-26 09:53:37 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:53:37 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:53:37 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:53:37 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:53:37 read - data:  2024-09-26 09:53:37 read - data:  2024-09-26 09:53:37 read - data:  2024-09-26 09:53:37 read - data: Net: gmac0 2024-09-26 09:53:37 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:53:38 read - data:  2 2024-09-26 09:53:39 read - data:  1 2024-09-26 09:53:40 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:53:40 send - data: reboot len:7 2024-09-26 09:53:42 send - data: len:1 2024-09-26 09:53:42 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:31:33 UTC (1893) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:53:42 send - data: reboot len:7 2024-09-26 09:53:44 send - data: len:1 2024-09-26 09:53:44 read - data: pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): recovery complete EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[954]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: recovering journal /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: recovering journal /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: recovering journal /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: recovering journal /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: ?i?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! load jpegd.ko ....OK! 2024-09-26 09:53:44 read - data: load vdec.ko ....OK! 2024-09-26 09:53:44 read - data: load ive.ko ....OK! 2024-09-26 09:53:44 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:53:44 read - data: load dpu_match.ko ....OK! 2024-09-26 09:53:44 read - data: load svp_npu.ko ....OK! 2024-09-26 09:53:44 read - data: load pwm.ko ....OK! 2024-09-26 09:53:44 read - data: load ot_piris.ko ....OK! 2024-09-26 09:53:44 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:53:44 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:53:44 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:53:44 read - data: load ot_user ....OK! 2024-09-26 09:53:44 read - data: load aiisp.ko ....OK! 2024-09-26 09:53:44 read - data: load uvc.ko ....OK! 2024-09-26 09:53:44 read - data: load pm.ko ....OK! 2024-09-26 09:53:44 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:53:44 read - data: load ot_km.ko ....OK! 2024-09-26 09:53:44 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:53:44 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c GPIO initialized! 2024-09-26 09:53:44 read - data: load hi_adc.ko ....OK! 2024-09-26 09:53:44 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:53:44 read - data: mmc lock initialized! 2024-09-26 09:53:44 read - data: IPCAM login: 2024-09-26 09:53:44 send - data: root len:5 2024-09-26 09:53:44 read - data: root 2024-09-26 09:53:44 read - data: ===== watchdog start 1111111 =========== Password: 2024-09-26 09:53:44 send - data: ms3456 len:7 2024-09-26 09:53:44 read - data: 2024-09-26 09:53:44 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:53:44 read - data: login[1856]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:53:44 send - data: reboot len:7 2024-09-26 09:53:46 send - data: len:1 2024-09-26 09:53:46 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:31:36.432 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:31:36.435 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:31:36 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:31:36.440 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:31:36.459 1855] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.461 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:31:36.470 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.470 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.470 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:31:36.478 1855] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.485 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.485 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.485 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.485 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:31:36.485 1855] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:31:36.495 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.521 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.521 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:36.521 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes [1969-12-31 16:31:36 1854] recv signal 15==func:signal_handler file:main.c line:20 cp: can't create '/mnt/nand/log.db': Read-only file system Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:53:46 send - data: reboot len:7 2024-09-26 09:53:47 send - data: len:1 2024-09-26 09:53:47 read - data: reboot 2024-09-26 09:53:47 read - data: 2024-09-26 09:53:47 send - data: len:2 2024-09-26 09:53:47 read - data: reboot: Restarting system emmc boot table board switch:0x00000007 DDR size: 0x00000800MB System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:53:47 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:53:47 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:53:47 read - data:  2024-09-26 09:53:47 read - data:  2024-09-26 09:53:47 read - data:  2024-09-26 09:53:47 read - data: Net: gmac0 2024-09-26 09:53:48 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:53:49 read - data:  2 2024-09-26 09:53:50 read - data:  1 2024-09-26 09:53:51 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:53:51 send - data: reboot len:7 2024-09-26 09:53:52 send - data: len:1 2024-09-26 09:53:52 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:31:43 UTC (1903) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:53:52 send - data: reboot len:7 2024-09-26 09:53:54 send - data: len:1 2024-09-26 09:53:54 read - data: pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: n?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! load jpegd.ko ....OK! load vdec.ko ....OK! 2024-09-26 09:53:54 read - data: load ive.ko ....OK! 2024-09-26 09:53:54 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:53:54 read - data: load dpu_match.ko ....OK! 2024-09-26 09:53:54 read - data: load svp_npu.ko ....OK! 2024-09-26 09:53:54 read - data: load pwm.ko ....OK! 2024-09-26 09:53:54 read - data: load ot_piris.ko ....OK! 2024-09-26 09:53:54 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:53:54 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:53:54 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:53:54 read - data: load ot_user ....OK! 2024-09-26 09:53:54 read - data: load aiisp.ko ....OK! 2024-09-26 09:53:54 read - data: load uvc.ko ....OK! 2024-09-26 09:53:54 read - data: load pm.ko ....OK! 2024-09-26 09:53:54 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:53:54 read - data: load ot_km.ko ....OK! 2024-09-26 09:53:54 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:53:54 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c 2024-09-26 09:53:54 read - data: GPIO initialized! 2024-09-26 09:53:54 read - data: load hi_adc.ko ....OK! 2024-09-26 09:53:54 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:53:54 read - data: mmc lock initialized! 2024-09-26 09:53:54 read - data: IPCAM login: 2024-09-26 09:53:54 send - data: root len:5 2024-09-26 09:53:54 read - data: ===== watchdog start 1111111 =========== root Password: 2024-09-26 09:53:54 send - data: ms3456 len:7 2024-09-26 09:53:54 read - data: 2024-09-26 09:53:54 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:53:54 read - data: login[1856]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:53:54 send - data: reboot len:7 2024-09-26 09:53:56 send - data: len:1 2024-09-26 09:53:56 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: devtmpfs busy - remounted read-only [INF:1969-12-31 16:31:46.432 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:31:46.435 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:31:46 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:31:46.439 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 fopen /mnt/nand/err_log.txt: Read-only file system chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: ReaEXT4-fs (mmcblk0p5): re-mounted. Opts: (null) d-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:31:46.457 1855] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:46.460 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:31:46.487 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:46.489 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:46.490 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes cp: can't create '/mnt/nand2/oem.db': Read-only file system [1969-12-31 16:31:46 1854] recv signal 15==func:signal_handler file:main.c line:20 Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:53:56 send - data: reboot len:7 2024-09-26 09:53:57 send - data: len:1 2024-09-26 09:53:57 read - data: reboot reboot: Restarting system emmc boot table board switch:0x00000007 2024-09-26 09:53:57 read - data: DDR size: 0x00000800MB 2024-09-26 09:53:57 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:53:57 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:53:57 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:53:58 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:53:58 read - data:  2024-09-26 09:53:58 read - data:  2024-09-26 09:53:58 read - data:  2024-09-26 09:53:58 read - data: Net: gmac0 2024-09-26 09:53:58 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:53:59 read - data:  2 2024-09-26 09:54:00 read - data:  1 2024-09-26 09:54:01 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:54:01 send - data: reboot len:7 2024-09-26 09:54:02 send - data: len:1 2024-09-26 09:54:02 read - data: 32768 blocks read: OK 129.92 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:31:53 UTC (1913) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:54:02 send - data: reboot len:7 2024-09-26 09:54:04 send - data: len:1 2024-09-26 09:54:04 read - data: pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: NU?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! 2024-09-26 09:54:04 read - data: load jpegd.ko ....OK! 2024-09-26 09:54:04 read - data: load vdec.ko ....OK! 2024-09-26 09:54:04 read - data: load ive.ko ....OK! 2024-09-26 09:54:04 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:54:04 read - data: load dpu_match.ko ....OK! 2024-09-26 09:54:04 read - data: load svp_npu.ko ....OK! 2024-09-26 09:54:04 read - data: load pwm.ko ....OK! 2024-09-26 09:54:04 read - data: load ot_piris.ko ....OK! 2024-09-26 09:54:04 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:54:04 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:54:04 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:54:04 read - data: load ot_user ....OK! 2024-09-26 09:54:04 read - data: load aiisp.ko ....OK! 2024-09-26 09:54:04 read - data: load uvc.ko ....OK! 2024-09-26 09:54:04 read - data: load pm.ko ....OK! 2024-09-26 09:54:04 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:54:04 read - data: load ot_km.ko ....OK! 2024-09-26 09:54:04 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:54:04 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 2024-09-26 09:54:04 read - data: Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c GPIO initialized! 2024-09-26 09:54:04 read - data: load hi_adc.ko ....OK! 2024-09-26 09:54:04 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:54:04 read - data: mmc lock initialized! 2024-09-26 09:54:04 read - data: ===== watchdog start 1111111 =========== IPCAM login: 2024-09-26 09:54:04 send - data: root len:5 2024-09-26 09:54:04 read - data: root 2024-09-26 09:54:04 read - data: Password: 2024-09-26 09:54:04 send - data: ms3456 len:7 2024-09-26 09:54:04 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:54:04 read - data: login[1856]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:54:04 send - data: reboot len:7 2024-09-26 09:54:06 send - data: len:1 2024-09-26 09:54:06 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:31:56.444 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:31:56.448 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:31:56 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:31:56.452 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:31:56.471 1855] [DB]---> Database is not exist(/mnt/nand/msdb.db)XT4-fs (mmcblk0p5): re-mounted. Opts: (null) 0;39m ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.473 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:31:56.484 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.484 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.484 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:31:56.492 1855] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.498 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.498 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.499 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.499 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:31:56.499 1855] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:31:56.526 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.527 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.527 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:31:56.527 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes cp: can't create '/mnt/nand/log.db': Read-only file system Write error EPIPE [1969-12-31 16:31:56 1854] recv signal 15==func:signal_handler file:main.c line:20 gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:54:06 send - data: reboot len:7 2024-09-26 09:54:08 send - data: len:1 2024-09-26 09:54:08 read - data: reboot 2024-09-26 09:54:08 read - data: 2024-09-26 09:54:08 send - data: len:2 2024-09-26 09:54:08 read - data: reboot: Restarting system emmc boot table board switch:0x00000007 DDR size: 0x00000800MB System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:54:08 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:54:08 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:54:08 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:54:08 read - data:  2024-09-26 09:54:08 read - data:  2024-09-26 09:54:08 read - data:  2024-09-26 09:54:08 read - data: Net: gmac0 2024-09-26 09:54:08 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:54:09 read - data:  2 2024-09-26 09:54:10 read - data:  1 2024-09-26 09:54:11 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:54:11 send - data: reboot len:7 2024-09-26 09:54:13 send - data: len:1 2024-09-26 09:54:13 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:32:04 UTC (1924) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: 2024-09-26 09:54:13 send - data: reboot len:7 2024-09-26 09:54:14 send - data: len:1 2024-09-26 09:54:14 read - data: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[954]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: syntax error: unterminated quoted string Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! 2024-09-26 09:54:14 read - data: load jpegd.ko ....OK! 2024-09-26 09:54:14 read - data: load vdec.ko ....OK! 2024-09-26 09:54:14 read - data: load ive.ko ....OK! 2024-09-26 09:54:14 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:54:14 read - data: load dpu_match.ko ....OK! 2024-09-26 09:54:14 read - data: load svp_npu.ko ....OK! 2024-09-26 09:54:14 read - data: load pwm.ko ....OK! 2024-09-26 09:54:14 read - data: load ot_piris.ko ....OK! 2024-09-26 09:54:14 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:54:14 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:54:14 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:54:14 read - data: load ot_user ....OK! 2024-09-26 09:54:14 read - data: load aiisp.ko ....OK! 2024-09-26 09:54:14 read - data: load uvc.ko ....OK! 2024-09-26 09:54:14 read - data: load pm.ko ....OK! 2024-09-26 09:54:14 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:54:14 read - data: load ot_km.ko ....OK! 2024-09-26 09:54:14 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:54:14 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c GPIO initialized! 2024-09-26 09:54:14 read - data: load hi_adc.ko ....OK! 2024-09-26 09:54:15 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:54:15 read - data: mmc lock initialized! 2024-09-26 09:54:15 read - data: IPCAM login: 2024-09-26 09:54:15 send - data: root len:5 2024-09-26 09:54:15 read - data: root 2024-09-26 09:54:15 read - data: Password: 2024-09-26 09:54:15 send - data: ms3456 len:7 2024-09-26 09:54:15 read - data: ===== watchdog start 1111111 =========== 2024-09-26 09:54:15 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory login[1856]: root login on 'ttyS000' 2024-09-26 09:54:15 read - data: Welcome to Linux. ~ # 2024-09-26 09:54:15 send - data: reboot len:7 2024-09-26 09:54:16 send - data: len:1 2024-09-26 09:54:16 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:32:07.376 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:32:07.380 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:32:07 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:32:07.384 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: settiEXT4-fs (mmcblk0p5): re-mounted. Opts: (null) ng flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:32:07.404 1855] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:07.406 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:07.436 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:07.437 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:07.437 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes cp: can't create '/mnt/nand2/oem.db': Read-only file system [1969-12-31 16:32:07 1854] recv signal 15==func:signal_handler file:main.c line:20 Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:54:16 send - data: reboot len:7 2024-09-26 09:54:18 send - data: len:1 2024-09-26 09:54:18 read - data: reboot reboot: Restarting system emmc boot table board switch:0x00000007 2024-09-26 09:54:18 read - data: DDR size: 0x00000800MB 2024-09-26 09:54:18 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:54:18 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:54:18 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:54:18 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:54:18 read - data:  2024-09-26 09:54:18 read - data:  2024-09-26 09:54:18 read - data:  2024-09-26 09:54:18 read - data: Net: gmac0 2024-09-26 09:54:18 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:54:19 read - data:  2 2024-09-26 09:54:20 read - data:  1 2024-09-26 09:54:21 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:54:21 send - data: reboot len:7 2024-09-26 09:54:23 send - data: len:1 2024-09-26 09:54:23 read - data: 32768 blocks read: OK 129.92 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:32:14 UTC (1934) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB 2024-09-26 09:54:23 send - data: reboot len:7 2024-09-26 09:54:24 send - data: len:1 2024-09-26 09:54:24 read - data: HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 mmc0: new HS200 MMC card at address 0001 mmcblk0: mmc0:0001 004GA0 3.69 GiB mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) printk: console [ttyAMA0] enabled mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[954]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: ~?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! 2024-09-26 09:54:24 read - data: load vfmw.ko ....OK! 2024-09-26 09:54:24 read - data: load rc.ko ....OK! 2024-09-26 09:54:24 read - data: load venc.ko ....OK! 2024-09-26 09:54:24 read - data: load venc_svr.ko ....OK! 2024-09-26 09:54:24 read - data: load h264e.ko ....OK! 2024-09-26 09:54:24 read - data: load h265e.ko ....OK! 2024-09-26 09:54:24 read - data: load jpege.ko ....OK! 2024-09-26 09:54:24 read - data: load jpegd.ko ....OK! 2024-09-26 09:54:24 read - data: load vdec.ko ....OK! 2024-09-26 09:54:24 read - data: load ive.ko ....OK! 2024-09-26 09:54:24 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:54:24 read - data: load dpu_match.ko ....OK! 2024-09-26 09:54:24 read - data: load svp_npu.ko ....OK! 2024-09-26 09:54:24 read - data: load pwm.ko ....OK! 2024-09-26 09:54:24 read - data: load ot_piris.ko ....OK! 2024-09-26 09:54:24 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:54:24 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:54:24 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:54:24 read - data: load ot_user ....OK! 2024-09-26 09:54:24 read - data: load aiisp.ko ....OK! 2024-09-26 09:54:24 read - data: load uvc.ko ....OK! 2024-09-26 09:54:25 read - data: load pm.ko ....OK! 2024-09-26 09:54:25 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:54:25 read - data: load ot_km.ko ....OK! 2024-09-26 09:54:25 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:54:25 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c 2024-09-26 09:54:25 read - data: GPIO initialized! 2024-09-26 09:54:25 read - data: load hi_adc.ko ....OK! 2024-09-26 09:54:25 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:54:25 read - data: mmc lock initialized! 2024-09-26 09:54:25 read - data: ===== watchdog start 1111111 =========== IPCAM login: 2024-09-26 09:54:25 send - data: root len:5 2024-09-26 09:54:25 read - data: root 2024-09-26 09:54:25 read - data: Password: 2024-09-26 09:54:25 send - data: ms3456 len:7 2024-09-26 09:54:25 read - data: 2024-09-26 09:54:25 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:54:25 read - data: login[1857]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:54:25 send - data: reboot len:7 2024-09-26 09:54:26 send - data: len:1 2024-09-26 09:54:26 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:32:17.397 1856] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:32:17.401 1856] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:32:17 1856] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:32:17.405 1856] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-oEXT4-fs (mmcblk0p5): re-mounted. Opts: (null) nly file system [ERR:1969-12-31 16:32:17.424 1856] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:17.426 1856] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:17.435 1856] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:17.435 1856] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:17.435 1856] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:32:17.446 1856] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:17.480 1856] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:17.481 1856] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:17.481 1856] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:17.481 1856] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:32:17.481 1856] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 The system is going down NOW! Sent SIGTERM to all processes cp: can't create '/mnt/nand/msdb.db': Read-only file system Write error EPIPE [1969-12-31 16:32:17 1855] recv signal 15==func:signal_handler file:main.c line:20 gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:54:26 send - data: reboot len:7 2024-09-26 09:54:28 send - data: len:1 2024-09-26 09:54:28 read - data: reboot 2024-09-26 09:54:28 read - data: reboot: Restarting system 2024-09-26 09:54:28 read - data: emmc 2024-09-26 09:54:28 read - data: boot table board switch:0x00000007 2024-09-26 09:54:28 read - data: DDR size: 0x00000800MB 2024-09-26 09:54:28 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:54:28 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:54:28 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:54:28 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:54:28 read - data:  2024-09-26 09:54:28 read - data:  2024-09-26 09:54:28 read - data:  2024-09-26 09:54:28 read - data: Net: gmac0 2024-09-26 09:54:28 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:54:29 read - data:  2 2024-09-26 09:54:30 read - data:  1 2024-09-26 09:54:31 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:54:31 send - data: reboot len:7 2024-09-26 09:54:33 send - data: len:1 2024-09-26 09:54:33 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:32:24 UTC (1944) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB 2024-09-26 09:54:33 send - data: reboot len:7 2024-09-26 09:54:34 send - data: len:1 2024-09-26 09:54:34 read - data: HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 mmc0: new HS200 MMC card at address 0001 mmcblk0: mmc0:0001 004GA0 3.69 GiB mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) printk: console [ttyAMA0] enabled mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: ~?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! 2024-09-26 09:54:34 read - data: load rc.ko ....OK! 2024-09-26 09:54:34 read - data: load venc.ko ....OK! 2024-09-26 09:54:34 read - data: load venc_svr.ko ....OK! 2024-09-26 09:54:34 read - data: load h264e.ko ....OK! 2024-09-26 09:54:34 read - data: load h265e.ko ....OK! 2024-09-26 09:54:34 read - data: load jpege.ko ....OK! 2024-09-26 09:54:34 read - data: load jpegd.ko ....OK! 2024-09-26 09:54:35 read - data: load vdec.ko ....OK! 2024-09-26 09:54:35 read - data: load ive.ko ....OK! 2024-09-26 09:54:35 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:54:35 read - data: load dpu_match.ko ....OK! 2024-09-26 09:54:35 read - data: load svp_npu.ko ....OK! 2024-09-26 09:54:35 read - data: load pwm.ko ....OK! 2024-09-26 09:54:35 read - data: load ot_piris.ko ....OK! 2024-09-26 09:54:35 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:54:35 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:54:35 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:54:35 read - data: load ot_user ....OK! 2024-09-26 09:54:35 read - data: load aiisp.ko ....OK! 2024-09-26 09:54:35 read - data: load uvc.ko ....OK! 2024-09-26 09:54:35 read - data: load pm.ko ....OK! 2024-09-26 09:54:35 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:54:35 read - data: load ot_km.ko ....OK! 2024-09-26 09:54:35 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:54:35 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c 2024-09-26 09:54:35 read - data: GPIO initialized! 2024-09-26 09:54:35 read - data: load hi_adc.ko ....OK! 2024-09-26 09:54:35 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:54:35 read - data: mmc lock initialized! 2024-09-26 09:54:35 read - data: ===== watchdog start 1111111 =========== 2024-09-26 09:54:35 read - data: IPCAM login: 2024-09-26 09:54:35 send - data: root len:5 2024-09-26 09:54:35 read - data: root 2024-09-26 09:54:35 read - data: Password: 2024-09-26 09:54:35 send - data: ms3456 len:7 2024-09-26 09:54:35 read - data: 2024-09-26 09:54:35 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:54:35 read - data: login[1855]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:54:35 send - data: reboot len:7 2024-09-26 09:54:36 send - data: len:1 2024-09-26 09:54:36 read - data: reboot ~ # [INF:1969-12-31 16:32:27.394 1854] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:32:27.398 1854] conf_init done==func:load_conf file:pushmsg.c line:2025 umount: tmpfs busy - remounted read-only [1969-12-31 16:32:27 1854] fopen==func:push_load_conf file:pushmsg.c line:273 umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [ERR:1969-12-31 16:32:27.402 1854] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only [ERR:1969-12-31 16:32:27.421 1854] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.424 1854] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:27.433 1854] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.433 1854] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.433 1854] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:32:27.441 1854] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.447 1854] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.448 1854] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.448 1854] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.448 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:32:27.448 1854] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:27.456 1854] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.457 1854] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.457 1854] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.457 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system cp: can't create '/mnt/nand/log.db': Read-only file system [INF:1969-12-31 16:32:27.465 1854] create oem db.==func:ms_sys_load_cfg file:mssysconf.c line:5848 cp: can't create '/mnt/nand2/oem.db': Read-only file system [1969-12-31 16:32:27 1854] zouwm-debug-----------------af reg==func:flash_db_register file:flash_db_ctl.c line:136 [1969-12-31 16:32:27 1854] zouwm-debug-----------------msdb reg==func:flash_db_register file:flash_db_ctl.c line:136 [1969-12-31 16:32:27 1854] zouwm-debug-----------------oem reg==func:flash_db_register file:flash_db_ctl.c line:136 [ERR:1969-12-31 16:32:27.476 1854] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.476 1854] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.476 1854] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.476 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.477 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.478 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [WRN:1969-12-31 16:32:27.478 1854] no db_version! ==func:db_update file:mssysconf.c line:5206 /bin/sh: can't create /tmp/msserver: Read-only file system The system is going down NOW! Sent SIGTERM to all processes killall: daemon: no process killed [ERR:1969-12-31 16:32:27.519 1854] recv signal 15 ==func:signal_handler file:main.c line:24 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.520 1854] mkdir sd path:/tmp/smtp failed. ==func:mkdir_tmp_folder file:main.c line:67 fopen /mnt/nand/err_log.txt: Read-only file system [1969-12-31 16:32:27 1853] recv signal 15==func:signal_handler file:main.c line:20 [ERR:1969-12-31 16:32:27.866 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.866 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.866 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.866 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.866 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.866 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.866 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.867 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.867 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.867 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.867 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.867 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.867 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.867 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init.gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] dIPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready b not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:27.868 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.224 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.224 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.224 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.224 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.225 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.226 1854] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:28.226 1854] db not init.[ Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:54:36 send - data: reboot len:7 2024-09-26 09:54:38 send - data: len:1 2024-09-26 09:54:38 read - data: reboot random: crng init done random: 1 urandom warning(s) missed due to ratelimiting 2024-09-26 09:54:38 read - data: reboot: Restarting system 2024-09-26 09:54:38 read - data: emmc 2024-09-26 09:54:38 read - data: boot table board switch:0x00000007 2024-09-26 09:54:38 read - data: DDR size: 0x00000800MB 2024-09-26 09:54:38 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:54:38 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:54:38 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:54:38 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:54:38 read - data:  2024-09-26 09:54:38 read - data:  2024-09-26 09:54:38 read - data:  2024-09-26 09:54:38 read - data: Net: gmac0 2024-09-26 09:54:38 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:54:39 read - data:  2 2024-09-26 09:54:40 read - data:  1 2024-09-26 09:54:41 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:54:41 send - data: reboot len:7 2024-09-26 09:54:43 send - data: len:1 2024-09-26 09:54:43 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:32:34 UTC (1954) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 mmc0: new HS200 MMC card at address 0001 mmcblk0: mmc0:0001 004GA0 3.69 GiB mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) printk: console [ttyAMA0] enabled mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:54:43 send - data: reboot len:7 2024-09-26 09:54:45 send - data: len:1 2024-09-26 09:54:45 read - data: pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[954]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: can't open ?: no such file Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! 2024-09-26 09:54:45 read - data: 2024-09-26 09:54:45 send - data: len:2 2024-09-26 09:54:45 read - data: load jpege.ko ....OK! load jpegd.ko ....OK! load vdec.ko ....OK! load ive.ko ....OK! load dpu_rect.ko ....OK! load dpu_match.ko ....OK! load svp_npu.ko ....OK! load pwm.ko ....OK! load ot_piris.ko ....OK! load sensor_i2c.ko ....OK! load mipi_tx.ko ....OK! load mipi_rx.ko ....OK! load ot_user ....OK! load aiisp.ko ....OK! load uvc.ko ....OK! load pm.ko ....OK! load ot_cipher.ko ....OK! 2024-09-26 09:54:45 read - data: load ot_km.ko ....OK! 2024-09-26 09:54:45 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:54:45 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c GPIO initialized! 2024-09-26 09:54:45 read - data: load hi_adc.ko ....OK! 2024-09-26 09:54:45 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:54:45 read - data: mmc lock initialized! 2024-09-26 09:54:45 read - data: ===== watchdog start 1111111 =========== IPCAM login: 2024-09-26 09:54:45 send - data: root len:5 2024-09-26 09:54:45 read - data: root 2024-09-26 09:54:45 read - data: Password: 2024-09-26 09:54:45 send - data: ms3456 len:7 2024-09-26 09:54:45 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:54:45 read - data: login[1856]: root login on 'ttyS000' 2024-09-26 09:54:45 read - data: Welcome to Linux. ~ # 2024-09-26 09:54:45 send - data: reboot len:7 2024-09-26 09:54:47 send - data: len:1 2024-09-26 09:54:47 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:32:37.428 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:32:37.432 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:32:37 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:32:37.436 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:32:37.455 1855] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:mEXT4-fs (mmcblk0p5): re-mounted. Opts: (null) sdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.457 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:37.469 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.470 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.470 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:32:37.478 1855] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.485 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.485 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.485 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.486 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:32:37.486 1855] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:37.513 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.513 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.514 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:37.514 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes [1969-12-31 16:32:37 1854] recv signal 15==func:signal_handler file:main.c line:20 cp: can't create '/mnt/nand/log.db': Read-only file system Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:54:47 send - data: reboot len:7 2024-09-26 09:54:48 send - data: len:1 2024-09-26 09:54:48 read - data: reboot 2024-09-26 09:54:48 read - data: 2024-09-26 09:54:49 send - data: len:2 2024-09-26 09:54:49 read - data: reboot: Restarting system emmc boot table board switch:0x00000007 DDR size: 0x00000800MB System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 Core: 1 devices, 1 uclasses MMC: mmc->ocr_from_bootrom 0xc0ff8080 sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:54:49 read - data:  2024-09-26 09:54:49 read - data:  2024-09-26 09:54:49 read - data:  2024-09-26 09:54:49 read - data: Net: gmac0 2024-09-26 09:54:49 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:54:50 read - data:  2 2024-09-26 09:54:51 read - data:  1 2024-09-26 09:54:52 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:54:52 send - data: reboot len:7 2024-09-26 09:54:53 send - data: len:1 2024-09-26 09:54:53 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:32:44 UTC (1964) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:54:53 send - data: reboot len:7 2024-09-26 09:54:55 send - data: len:1 2024-09-26 09:54:55 read - data: pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: N??: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! load jpegd.ko ....OK! 2024-09-26 09:54:55 read - data: load vdec.ko ....OK! 2024-09-26 09:54:55 read - data: load ive.ko ....OK! 2024-09-26 09:54:55 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:54:55 read - data: load dpu_match.ko ....OK! 2024-09-26 09:54:55 read - data: load svp_npu.ko ....OK! 2024-09-26 09:54:55 read - data: load pwm.ko ....OK! 2024-09-26 09:54:55 read - data: load ot_piris.ko ....OK! 2024-09-26 09:54:55 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:54:55 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:54:55 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:54:55 read - data: load ot_user ....OK! 2024-09-26 09:54:55 read - data: load aiisp.ko ....OK! 2024-09-26 09:54:55 read - data: load uvc.ko ....OK! 2024-09-26 09:54:55 read - data: load pm.ko ....OK! 2024-09-26 09:54:55 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:54:55 read - data: load ot_km.ko ....OK! 2024-09-26 09:54:55 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:54:55 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c 2024-09-26 09:54:55 read - data: GPIO initialized! 2024-09-26 09:54:55 read - data: load hi_adc.ko ....OK! 2024-09-26 09:54:55 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:54:55 read - data: mmc lock initialized! 2024-09-26 09:54:55 read - data: ===== watchdog start 1111111 =========== 2024-09-26 09:54:55 read - data: IPCAM login: 2024-09-26 09:54:55 send - data: root len:5 2024-09-26 09:54:55 read - data: root 2024-09-26 09:54:55 read - data: Password: 2024-09-26 09:54:55 send - data: ms3456 len:7 2024-09-26 09:54:55 read - data: 2024-09-26 09:54:55 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:54:55 read - data: login[1852]: root login on 'ttyS000' 2024-09-26 09:54:55 read - data: Welcome to Linux. ~ # 2024-09-26 09:54:55 send - data: reboot len:7 2024-09-26 09:54:57 send - data: len:1 2024-09-26 09:54:57 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:32:47.424 1851] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:32:47.427 1851] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:32:47 1851] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:32:47.431 1851] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:32:47.450 1851] [DB]---> Database is not exist(/mnt/nand/msdEXT4-fs (mmcblk0p5): re-mounted. Opts: (null) b.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.453 1851] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:47.461 1851] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.461 1851] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.461 1851] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:32:47.469 1851] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.477 1851] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.477 1851] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.477 1851] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.477 1851] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:32:47.478 1851] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:32:47.505 1851] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.505 1851] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.505 1851] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:32:47.505 1851] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes [1969-12-31 16:32:47 1850] recv signal 15==func:signal_handler file:main.c line:20 cp: can't create '/mnt/nand/log.db': Read-only file system Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:54:57 send - data: reboot len:7 2024-09-26 09:54:59 send - data: len:1 2024-09-26 09:54:59 read - data: reboot 2024-09-26 09:54:59 read - data: 2024-09-26 09:54:59 send - data: len:2 2024-09-26 09:54:59 read - data: reboot: Restarting system emmc boot table board switch:0x00000007 DDR size: 0x00000800MB System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:54:59 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:54:59 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:54:59 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:54:59 read - data:  2024-09-26 09:54:59 read - data:  2024-09-26 09:54:59 read - data:  2024-09-26 09:54:59 read - data: Net: gmac0 2024-09-26 09:54:59 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:55:00 read - data:  2 2024-09-26 09:55:01 read - data:  1 2024-09-26 09:55:02 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:55:02 send - data: reboot len:7 2024-09-26 09:55:04 send - data: len:1 2024-09-26 09:55:04 read - data: 32768 blocks read: OK 129.92 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:32:55 UTC (1975) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:55:04 send - data: reboot len:7 2024-09-26 09:55:05 send - data: len:1 2024-09-26 09:55:05 read - data: pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: .??: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! load jpegd.ko ....OK! load vdec.ko ....OK! 2024-09-26 09:55:05 read - data: load ive.ko ....OK! 2024-09-26 09:55:05 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:55:05 read - data: load dpu_match.ko ....OK! 2024-09-26 09:55:05 read - data: load svp_npu.ko ....OK! 2024-09-26 09:55:05 read - data: load pwm.ko ....OK! 2024-09-26 09:55:05 read - data: load ot_piris.ko ....OK! 2024-09-26 09:55:05 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:55:05 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:55:05 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:55:05 read - data: load ot_user ....OK! 2024-09-26 09:55:05 read - data: load aiisp.ko ....OK! 2024-09-26 09:55:05 read - data: load uvc.ko ....OK! 2024-09-26 09:55:05 read - data: load pm.ko ....OK! 2024-09-26 09:55:05 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:55:05 read - data: load ot_km.ko ....OK! 2024-09-26 09:55:05 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:55:06 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c 2024-09-26 09:55:06 read - data: GPIO initialized! 2024-09-26 09:55:06 read - data: load hi_adc.ko ....OK! 2024-09-26 09:55:06 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:55:06 read - data: mmc lock initialized! 2024-09-26 09:55:06 read - data: IPCAM login: 2024-09-26 09:55:06 send - data: root len:5 2024-09-26 09:55:06 read - data: root ===== watchdog start 1111111 =========== Password: 2024-09-26 09:55:06 send - data: ms3456 len:7 2024-09-26 09:55:06 read - data: 2024-09-26 09:55:06 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:55:06 read - data: login[1855]: root login on 'ttyS000' 2024-09-26 09:55:06 read - data: Welcome to Linux. ~ # 2024-09-26 09:55:06 send - data: reboot len:7 2024-09-26 09:55:07 send - data: len:1 2024-09-26 09:55:07 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: devtmpfs busy - remounted read-only [INF:1969-12-31 16:32:58.412 1854] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:32:58.415 1854] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:32:58 1854] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:32:58.419 1854] ========== Msserver begin ===================== ==func:main file:main.c line:314 fopen /mnt/nand/err_EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) log.txt: Read-only file system chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:32:58.457 1854] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:32:58.460 1854] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes [1969-12-31 16:32:58 1853] recv signal 15==func:signal_handler file:main.c line:20 cp: can't create '/mnt/nand/msdb.db': Read-only file system Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:55:07 send - data: reboot len:7 2024-09-26 09:55:09 send - data: len:1 2024-09-26 09:55:09 read - data: reboot reboot: Restarting system emmc boot table board switch:0x00000007 DDR size: 0x00000800MB 2024-09-26 09:55:09 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:55:09 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:55:09 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:55:09 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:55:09 read - data:  2024-09-26 09:55:09 read - data:  2024-09-26 09:55:09 read - data:  2024-09-26 09:55:09 read - data: Net: gmac0 2024-09-26 09:55:09 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:55:10 read - data:  2 2024-09-26 09:55:11 read - data:  1 2024-09-26 09:55:12 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:55:12 send - data: reboot len:7 2024-09-26 09:55:14 send - data: len:1 2024-09-26 09:55:14 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:33:05 UTC (1985) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:55:14 send - data: reboot len:7 2024-09-26 09:55:15 send - data: len:1 2024-09-26 09:55:15 read - data: pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: ?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! 2024-09-26 09:55:15 read - data: load jpegd.ko ....OK! 2024-09-26 09:55:15 read - data: load vdec.ko ....OK! 2024-09-26 09:55:15 read - data: load ive.ko ....OK! 2024-09-26 09:55:15 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:55:15 read - data: load dpu_match.ko ....OK! 2024-09-26 09:55:15 read - data: load svp_npu.ko ....OK! 2024-09-26 09:55:15 read - data: load pwm.ko ....OK! 2024-09-26 09:55:15 read - data: load ot_piris.ko ....OK! 2024-09-26 09:55:15 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:55:15 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:55:15 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:55:15 read - data: load ot_user ....OK! 2024-09-26 09:55:15 read - data: load aiisp.ko ....OK! 2024-09-26 09:55:15 read - data: load uvc.ko ....OK! 2024-09-26 09:55:16 read - data: load pm.ko ....OK! 2024-09-26 09:55:16 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:55:16 read - data: load ot_km.ko ....OK! 2024-09-26 09:55:16 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:55:16 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c 2024-09-26 09:55:16 read - data: GPIO initialized! 2024-09-26 09:55:16 read - data: load hi_adc.ko ....OK! 2024-09-26 09:55:16 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:55:16 read - data: mmc lock initialized! 2024-09-26 09:55:16 read - data: IPCAM login: 2024-09-26 09:55:16 send - data: root len:5 2024-09-26 09:55:16 read - data: root 2024-09-26 09:55:16 read - data: ===== watchdog start 1111111 =========== Password: 2024-09-26 09:55:16 send - data: ms3456 len:7 2024-09-26 09:55:16 read - data: 2024-09-26 09:55:16 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:55:16 read - data: login[1852]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:55:16 send - data: reboot len:7 2024-09-26 09:55:17 send - data: len:1 2024-09-26 09:55:17 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: devtmpfs busy - remounted read-only [INF:1969-12-31 16:33:08.444 1851] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:33:08.447 1851] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:33:08 1851] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:33:08.451 1851] ========== Msserver begin ===================== ==func:main file:main.c line:314 fopen /mnt/nand/EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) err_log.txt: Read-only file system chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:33:08.488 1851] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:08.491 1851] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system The system is going down NOW! Sent SIGTERM to all processes [1969-12-31 16:33:08 1850] recv signal 15==func:signal_handler file:main.c line:20 cp: can't create '/mnt/nand/msdb.db': Read-only file system Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:55:17 send - data: reboot len:7 2024-09-26 09:55:19 send - data: len:1 2024-09-26 09:55:19 read - data: reboot gmac_v200 10290000.ethernet eth0: Link is Down reboot: Restarting system emmc boot table board switch:0x00000007 DDR size: 0x00000800MB 2024-09-26 09:55:19 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:55:19 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:55:19 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:55:19 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:55:19 read - data:  2024-09-26 09:55:19 read - data:  2024-09-26 09:55:19 read - data:  2024-09-26 09:55:19 read - data: Net: gmac0 2024-09-26 09:55:19 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:55:20 read - data:  2 2024-09-26 09:55:21 read - data:  1 2024-09-26 09:55:22 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:55:22 send - data: reboot len:7 2024-09-26 09:55:24 send - data: len:1 2024-09-26 09:55:24 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:33:15 UTC (1995) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: 2024-09-26 09:55:24 send - data: reboot len:7 2024-09-26 09:55:25 send - data: len:1 2024-09-26 09:55:25 read - data: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: ^ ?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! 2024-09-26 09:55:25 read - data: load venc_svr.ko ....OK! 2024-09-26 09:55:25 read - data: load h264e.ko ....OK! 2024-09-26 09:55:25 read - data: load h265e.ko ....OK! 2024-09-26 09:55:25 read - data: load jpege.ko ....OK! 2024-09-26 09:55:25 read - data: load jpegd.ko ....OK! 2024-09-26 09:55:25 read - data: load vdec.ko ....OK! 2024-09-26 09:55:25 read - data: load ive.ko ....OK! 2024-09-26 09:55:25 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:55:25 read - data: load dpu_match.ko ....OK! 2024-09-26 09:55:25 read - data: load svp_npu.ko ....OK! 2024-09-26 09:55:25 read - data: load pwm.ko ....OK! 2024-09-26 09:55:25 read - data: load ot_piris.ko ....OK! 2024-09-26 09:55:26 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:55:26 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:55:26 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:55:26 read - data: load ot_user ....OK! 2024-09-26 09:55:26 read - data: load aiisp.ko ....OK! 2024-09-26 09:55:26 read - data: load uvc.ko ....OK! 2024-09-26 09:55:26 read - data: load pm.ko ....OK! 2024-09-26 09:55:26 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:55:26 read - data: load ot_km.ko ....OK! 2024-09-26 09:55:26 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:55:26 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c GPIO initialized! 2024-09-26 09:55:26 read - data: load hi_adc.ko ....OK! 2024-09-26 09:55:26 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:55:26 read - data: mmc lock initialized! 2024-09-26 09:55:26 read - data: ===== watchdog start 1111111 =========== IPCAM login: 2024-09-26 09:55:26 send - data: root len:5 2024-09-26 09:55:26 read - data: root 2024-09-26 09:55:26 read - data: Password: 2024-09-26 09:55:26 send - data: ms3456 len:7 2024-09-26 09:55:26 read - data: 2024-09-26 09:55:26 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:55:26 read - data: login[1856]: root login on 'ttyS000' Welcome to Linux. 2024-09-26 09:55:26 read - data: ~ # 2024-09-26 09:55:26 send - data: reboot len:7 2024-09-26 09:55:27 send - data: len:1 2024-09-26 09:55:27 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:33:18.407 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:33:18.411 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:33:18 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:33:18.415 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:33:18.435 1855] [DB]--->EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:18.437 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:33:18.445 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:18.446 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:18.446 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:33:18.485 1855] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:18.493 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:18.494 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:18.494 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:18.494 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:33:18.495 1855] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 The system is going down NOW! Sent SIGTERM to all processes [1969-12-31 16:33:18 1854] recv signal 15==func:signal_handler file:main.c line:20 cp: can't create '/mnt/nand/msdb.db': Read-only file system Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:55:27 send - data: reboot len:7 2024-09-26 09:55:29 send - data: len:1 2024-09-26 09:55:29 read - data: reboot 2024-09-26 09:55:29 read - data: 2024-09-26 09:55:29 send - data: len:2 2024-09-26 09:55:29 read - data: reboot: Restarting system emmc boot table board switch:0x00000007 DDR size: 0x00000800MB System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 Core: 1 devices, 1 uclasses MMC: mmc->ocr_from_bootrom 0xc0ff8080 sdhci-bsp: tuning done! valid phase shift [15, 13] Final Phase:30 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:55:29 read - data:  2024-09-26 09:55:29 read - data:  2024-09-26 09:55:29 read - data:  2024-09-26 09:55:29 read - data: Net: gmac0 2024-09-26 09:55:29 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:55:30 read - data:  2 2024-09-26 09:55:31 read - data:  1 2024-09-26 09:55:32 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:55:32 send - data: reboot len:7 2024-09-26 09:55:34 send - data: len:1 2024-09-26 09:55:34 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:33:25 UTC (2005) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 printk: 2024-09-26 09:55:34 send - data: reboot len:7 2024-09-26 09:55:36 send - data: len:1 2024-09-26 09:55:36 read - data: console [ttyAMA0] enabled mmc0: new HS200 MMC card at address 0001 pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered mmcblk0: mmc0:0001 004GA0 3.69 GiB pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[953]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: ??: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! 2024-09-26 09:55:36 read - data: load venc_svr.ko ....OK! 2024-09-26 09:55:36 read - data: load h264e.ko ....OK! 2024-09-26 09:55:36 read - data: load h265e.ko ....OK! 2024-09-26 09:55:36 read - data: load jpege.ko ....OK! 2024-09-26 09:55:36 read - data: load jpegd.ko ....OK! 2024-09-26 09:55:36 read - data: load vdec.ko ....OK! 2024-09-26 09:55:36 read - data: load ive.ko ....OK! 2024-09-26 09:55:36 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:55:36 read - data: load dpu_match.ko ....OK! 2024-09-26 09:55:36 read - data: load svp_npu.ko ....OK! 2024-09-26 09:55:36 read - data: load pwm.ko ....OK! 2024-09-26 09:55:36 read - data: load ot_piris.ko ....OK! 2024-09-26 09:55:36 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:55:36 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:55:36 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:55:36 read - data: load ot_user ....OK! 2024-09-26 09:55:36 read - data: load aiisp.ko ....OK! 2024-09-26 09:55:36 read - data: load uvc.ko ....OK! 2024-09-26 09:55:36 read - data: load pm.ko ....OK! 2024-09-26 09:55:36 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:55:36 read - data: load ot_km.ko ....OK! 2024-09-26 09:55:36 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:55:36 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c GPIO initialized! 2024-09-26 09:55:36 read - data: load hi_adc.ko ....OK! 2024-09-26 09:55:36 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:55:36 read - data: mmc lock initialized! 2024-09-26 09:55:36 read - data: IPCAM login: 2024-09-26 09:55:36 send - data: root len:5 2024-09-26 09:55:36 read - data: ===== watchdog start 1111111 =========== root Password: 2024-09-26 09:55:36 send - data: ms3456 len:7 2024-09-26 09:55:36 read - data: 2024-09-26 09:55:36 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory login[1854]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:55:36 send - data: reboot len:7 2024-09-26 09:55:38 send - data: len:1 2024-09-26 09:55:38 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:33:28.405 1853] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:33:28.409 1853] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:33:28 1853] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:33:28.413 1853] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:33:28.432 1EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) 853] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:28.435 1853] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:33:28.443 1853] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:28.443 1853] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:28.443 1853] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:33:28.457 1853] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:28.464 1853] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:28.485 1853] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:28.485 1853] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:28.485 1853] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:33:28.485 1853] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 The system is going down NOW! Sent SIGTERM to all processes cp: can't create '/mnt/nand/msdb.db': Read-only file system [1969-12-31 16:33:28 1852] recv signal 15==func:signal_handler file:main.c line:20 Write error EPIPE gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:55:38 send - data: reboot len:7 2024-09-26 09:55:39 send - data: len:1 2024-09-26 09:55:39 read - data: reboot gmac_v200 10290000.ethernet eth0: Link is Down reboot: Restarting system emmc 2024-09-26 09:55:39 read - data: boot table board switch:0x00000007 2024-09-26 09:55:39 read - data: DDR size: 0x00000800MB 2024-09-26 09:55:39 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:55:39 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:55:39 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:55:39 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:55:39 read - data:  2024-09-26 09:55:39 read - data:  2024-09-26 09:55:39 read - data:  2024-09-26 09:55:39 read - data: Net: gmac0 2024-09-26 09:55:40 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:55:41 read - data:  2 2024-09-26 09:55:42 read - data:  1 2024-09-26 09:55:43 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:55:43 send - data: reboot len:7 2024-09-26 09:55:44 send - data: len:1 2024-09-26 09:55:44 read - data: 32768 blocks read: OK 129.92 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:33:35 UTC (2015) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB 2024-09-26 09:55:44 send - data: reboot len:7 2024-09-26 09:55:46 send - data: len:1 2024-09-26 09:55:46 read - data: HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 mmc0: new HS200 MMC card at address 0001 mmcblk0: mmc0:0001 004GA0 3.69 GiB mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) printk: console [ttyAMA0] enabled mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[954]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: ^Z?: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! 2024-09-26 09:55:46 read - data: load venc.ko ....OK! 2024-09-26 09:55:46 read - data: load venc_svr.ko ....OK! 2024-09-26 09:55:46 read - data: load h264e.ko ....OK! 2024-09-26 09:55:46 read - data: load h265e.ko ....OK! 2024-09-26 09:55:46 read - data: load jpege.ko ....OK! 2024-09-26 09:55:46 read - data: load jpegd.ko ....OK! 2024-09-26 09:55:46 read - data: load vdec.ko ....OK! 2024-09-26 09:55:46 read - data: load ive.ko ....OK! 2024-09-26 09:55:46 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:55:46 read - data: load dpu_match.ko ....OK! 2024-09-26 09:55:46 read - data: load svp_npu.ko ....OK! 2024-09-26 09:55:46 read - data: load pwm.ko ....OK! 2024-09-26 09:55:46 read - data: load ot_piris.ko ....OK! 2024-09-26 09:55:46 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:55:46 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:55:46 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:55:46 read - data: load ot_user ....OK! 2024-09-26 09:55:46 read - data: load aiisp.ko ....OK! 2024-09-26 09:55:46 read - data: load uvc.ko ....OK! 2024-09-26 09:55:46 read - data: load pm.ko ....OK! 2024-09-26 09:55:46 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:55:46 read - data: load ot_km.ko ....OK! 2024-09-26 09:55:46 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:55:46 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c 2024-09-26 09:55:46 read - data: GPIO initialized! 2024-09-26 09:55:46 read - data: load hi_adc.ko ....OK! 2024-09-26 09:55:46 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:55:46 read - data: mmc lock initialized! 2024-09-26 09:55:46 read - data: IPCAM login: 2024-09-26 09:55:46 send - data: root len:5 2024-09-26 09:55:46 read - data: root 2024-09-26 09:55:46 read - data: ===== watchdog start 1111111 =========== Password: 2024-09-26 09:55:46 send - data: ms3456 len:7 2024-09-26 09:55:46 read - data: 2024-09-26 09:55:46 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory 2024-09-26 09:55:46 read - data: login[1856]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:55:46 send - data: reboot len:7 2024-09-26 09:55:48 send - data: len:1 2024-09-26 09:55:48 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:33:38.385 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:33:38.389 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:33:38 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:33:38.393 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mnt/nas4: Read-only file system [ERR:1969-12-31 16:33:38.412 1855] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:196EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) 9-12-31 16:33:38.415 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:33:38.423 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.423 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.423 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:33:38.437 1855] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.443 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.443 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.443 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.443 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:33:38.444 1855] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:33:38.452 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.453 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.453 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:38.453 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system cp: can't create '/mnt/nand/log.db': Read-only file system [INF:1969-12-31 16:33:38.480 1855] create oem db.==func:ms_sys_load_cfg file:mssysconf.c line:5848 The system is going down NOW! cp: can't create '/mnt/nand2/oem.db': Read-only file system Sent SIGTERM to all processes Read error ECONNRESET [1969-12-31 16:33:38 1854] recv signal 15==func:signal_handler file:main.c line:20 gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:55:48 send - data: reboot len:7 2024-09-26 09:55:49 send - data: len:1 2024-09-26 09:55:49 read - data: reboot gmac_v200 10290000.ethernet eth0: Link is Down reboot: Restarting system emmc 2024-09-26 09:55:49 read - data: boot table board switch:0x00000007 2024-09-26 09:55:49 read - data: DDR size: 0x00000800MB 2024-09-26 09:55:49 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:55:49 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:55:49 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:55:50 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:55:50 read - data:  2024-09-26 09:55:50 read - data:  2024-09-26 09:55:50 read - data:  2024-09-26 09:55:50 read - data: Net: gmac0 2024-09-26 09:55:50 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:55:51 read - data:  2 2024-09-26 09:55:52 read - data:  1 2024-09-26 09:55:53 read - data:  0 Capacity: 3959422976 (3776MB), count=00760000 MMC read: dev # 0, block # 2048, count 32768 ... 2024-09-26 09:55:53 send - data: reboot len:7 2024-09-26 09:55:54 send - data: len:1 2024-09-26 09:55:54 read - data: 32768 blocks read: OK 129.91 MB/s core0 start ATF ... NOTICE: BL31: v2.7(release):163ea2e07-dirty NOTICE: BL31: Built : 21:13:12, Apr 28 2024 NOTICE: IPC: waiting for kernel ethaddr=1C:C3:16:52:14:D2 Run the smc command to switch to the GSL. sram to npu! Booting Linux on physical CPU 0x0000000000 [0x412fd050] Linux version 5.10.0 (renyeguo@xm) (aarch64-v01c01-linux-gnu-gcc (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 10.3.0, GNU ld (GCC-10.3.0 glibc-2.34 ver100.140 2023-11-23 12:00:00) 2.38) #14 SMP Mon Apr 29 19:24:30 CST 2024 Machine model: Vendor HI3519DV500 DEMO Board Memory limited to 1024MB Zone ranges: DMA [mem 0x0000000040030000-0x000000008002ffff] DMA32 empty Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040030000-0x000000008002ffff] Initmem setup node 0 [mem 0x0000000040030000-0x000000008002ffff] On node 0, zone DMA: 976 pages in unavailable ranges cma zone is not set! cma: Reserved 4 MiB at 0x000000007f800000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.2 percpu: Embedded 19 pages/cpu s40344 r8192 d29288 u77824 Detected VIPT I-cache on CPU0 CPU features: detected: GIC system register CPU interface CPU features: detected: ARM errata 1165522, 1319367, or 1530923 Built 1 zonelists, mobility grouping on. Total pages: 258048 Kernel command line: mem=1024M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p5 rootfstype=ext4 ai_parttion=ai1 blkdevparts=mmcblk0:512K(uboot),512K(env),16M(ker1),16M(ker2),512M(fs1),512M(fs2),64M(cfg),64M(oem),64M(data1),512M(ai1),512M(ai2),256M(data2),256M(data3),-(rsd) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 993020K/1048576K available (10046K kernel code, 508K rwdata, 2432K rodata, 1472K init, 304K bss, 51460K reserved, 4096K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 rcu: Hierarchical RCU implementation. rcu: RCU event tracing is enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GICv3: 320 SPIs implemented GICv3: 0 Extended SPIs implemented GICv3: Distributor has no Range Selector support GICv3: 16 PPIs implemented GICv3: CPU0: found redistributor 0 region 0:0x0000000012440000 arch_timer: cp15 timer(s) running at 24.00MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 GICv3: CPU1: found redistributor 100 region 0:0x0000000012460000 CPU1: Booted secondary processor 0x0000000100 [0x412fd050] smp: Brought up 1 node, 2 CPUs SMP: Total of 2 processors activated. CPU features: detected: Privileged Access Never CPU features: detected: User Access Override CPU features: detected: 32-bit EL0 Support CPU features: detected: Common not Private translations CPU features: detected: RAS Extension Support CPU features: detected: Data cache clean to the PoU not required for I/D coherence CPU features: detected: CRC32 instructions CPU features: detected: Speculative Store Bypassing Safe (SSBS) CPU: All CPU(s) started at EL1 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations ASID allocator initialised with 65536 entries Serial: AMBA PL011 UART driver vgaarb: loaded SCSI subsystem initialized ssp-pl022 11070000.spi: deassert reset ssp-pl022 11070000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11071000.spi: deassert reset ssp-pl022 11071000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11072000.spi: deassert reset ssp-pl022 11072000.spi: Failed to work in dma mode, work without dma! ssp-pl022 11073000.spi: deassert reset ssp-pl022 11073000.spi: Failed to work in dma mode, work without dma! usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 [UPS-PHY][ups_phy_module_init]registered new ups phy driver Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arch_sys_counter VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) NET: Registered protocol family 2 IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 workingset: timestamp_bits=62 max_order=18 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Key type cifs.idmap registered fuse: init (API version 7.32) SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled ceph: loaded (mds proto 32) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler mq-deadline registered io scheduler kyber registered cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded bsp_nand: Failed to locate of_node [id: 0] tun: Universal TUN/TAP device driver, 1.6 gmac_v200 10290000.ethernet: invalid resource attached PHY 3 to driver RTL8201F Fast Ethernet, PHY_ID=0x1cc816 ETH: rmii, phy_addr=3 PPP generic driver version 2.4.2 PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice bsp_rtc 11110000.rtc: registered as rtc0 bsp_rtc 11110000.rtc: setting system clock to 1970-01-01T00:33:45 UTC (2025) bsp_rtc 11110000.rtc: RTC driver for bsp enabled i2c /dev entries driver bsp-i2c 11060000.i2c: deassert reset bsp-i2c 11060000.i2c: IRQ index 0 not found bsp-i2c 11061000.i2c: deassert reset bsp-i2c 11061000.i2c: IRQ index 0 not found bsp-i2c 11062000.i2c: deassert reset bsp-i2c 11062000.i2c: IRQ index 0 not found bsp-i2c 11063000.i2c: deassert reset bsp-i2c 11063000.i2c: IRQ index 0 not found bsp-i2c 11064000.i2c: deassert reset bsp-i2c 11064000.i2c: IRQ index 0 not found bsp-i2c 11065000.i2c: deassert reset bsp-i2c 11065000.i2c: IRQ index 0 not found bsp-i2c 11066000.i2c: deassert reset bsp-i2c 11066000.i2c: IRQ index 0 not found bsp-i2c 11067000.i2c: deassert reset bsp-i2c 11067000.i2c: IRQ index 0 not found usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... usbcore: registered new interface driver usbhid usbhid: USB HID core driver [WING-USB][wing_usb_module_init]register wing usb driver mmc0: SDHCI controller on 10020000.eMMC [10020000.eMMC] using ADMA 64-bit mmc1: SDHCI controller on 10030000.SDIO [10030000.SDIO] using ADMA 64-bit NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 8021q: 802.1Q VLAN Support v1.8 Key type ceph registered libceph: loaded (mon/osd proto 15/24) uart-pl011 11040000.uart: deassert reset 11040000.uart: ttyAMA0 at MMIO 0x11040000 (irq = 16, base_baud = 0) is a PL011 rev2 mmc0: tuning done! valid phase shift [15, 12] Final Phase:29 mmc0: new HS200 MMC card at address 0001 mmcblk0: mmc0:0001 004GA0 3.69 GiB mmcblk0boot0: mmc0:0001 004GA0 partition 1 2.00 MiB mmcblk0boot1: mmc0:0001 004GA0 partition 2 2.00 MiB mmcblk0rpmb: mmc0:0001 004GA0 partition 3 512 KiB, chardev (250:0) printk: console [ttyAMA0] enabled mmcblk0: p1(uboot) p2(env) p3(ker1) p4(ker2) p5(fs1) p6(fs2) p7(cfg) p8(oem) p9(data1) p10(ai1) p11(ai2) p12(data2) p13(data3) p14(rsd) pl061_gpio 11090000.gpio_chip: PL061 GPIO chip registered 2024-09-26 09:55:54 send - data: reboot len:7 2024-09-26 09:55:56 send - data: len:1 2024-09-26 09:55:56 read - data: pl061_gpio 11091000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11092000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11093000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11094000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11095000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11096000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11097000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11098000.gpio_chip: PL061 GPIO chip registered pl061_gpio 11099000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109a000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109b000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109c000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109d000.gpio_chip: PL061 GPIO chip registered pl061_gpio 1109e000.gpio_chip: PL061 GPIO chip registered clk: Not disabling unused clocks ALSA device list: No soundcards found. uart-pl011 11040000.uart: no DMA platform data EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:5. devtmpfs: mounted Freeing unused kernel memory: 1472K Run /sbin/init as init process [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/null: File exists [RCS]: /etc/init.d/S01udev random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[954]: starting eudev-3.2.10 [RCS]: /etc/init.d/S80network ip: RTNETLINK answers: File exists [RCS]: /etc/init.d/S90app Welcome to Linux. /dev/mmcblk0p8: 13/16384 files (7.7% non-contiguous), 7481/65536 blocks EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) oem_write: write flag mismatch! /dev/mmcblk0p7: 23/16384 files (8.7% non-contiguous), 8400/65536 blocks EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p9: 138/16384 files (0.7% non-contiguous), 23433/65536 blocks EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± /dev/mmcblk0p10: 17/32768 files (0.0% non-contiguous), 6721/131072 blocks EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null) ¡°ret=0¡± The output is: Read old:MSC84H7701Sm1A0E0370N50000000000 MSC84H77 found in the output this device is stitch panorama,srcFile=/etc/stitch/4mp,dstFile=/mnt/nand3/stitch/4mp Directory src stitch file /etc/stitch/4mp exists. Directory dst stitch file /mnt/nand3/stitch/4mp exists. Mem: Total=2048, ARM=1024, MMZ=1024 mmz_start: 0x80100000, mmz_size: 1023M ==check sns id==== bsp-i2c 11064000.i2c: wait idle abort!, RIS: 0x611 CMD_I2C_READ error! i2cAddr=0x303e, i2cData=0, Sensor_ID=0x90 Not found the sensor type, Regard it unknow!!! sh: n??: not found Hi3516dv300 only use inner codec !!! ==== Your camera Cpu type is hi3519dv500 ==== ==== Your input Sensor type is imx664_slave ==== ot_osal: loading out-of-tree module taints kernel. 0x80100000 1023M Media Memory Zone Manager load ot_mmz ....OK! sys_config_parse_board,182: ==========board_type: dmeb========== sys_config_parse_board,189: g_board 1 sensor_cfg,570: ==========sensor0: imx664_slave========== sensor_cfg,570: ==========sensor1: imx664_slave========== sensor_cfg,570: ==========sensor2: imx664_slave========== sensor_cfg,570: ==========sensor3: imx664_slave========== ot_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load base.ko ....OK! load vb.ko ....OK! load vca.ko ....OK! load sys.ko ....OK! load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! load tde.ko ....OK! load region.ko ....OK! load gdc.ko ....OK! load vpp.ko ....OK! load vgs.ko ....OK! load dis.ko ....OK! load vi.ko ....OK! load isp.ko ....OK! load vpss.ko ....OK! load mcf.ko ....OK! load gfbg.ko ....OK! load vo_dev.ko ....OK! load vo.ko ....OK! load chnl.ko ....OK! load vfmw.ko ....OK! load rc.ko ....OK! load venc.ko ....OK! load venc_svr.ko ....OK! load h264e.ko ....OK! load h265e.ko ....OK! load jpege.ko ....OK! load jpegd.ko ....OK! 2024-09-26 09:55:56 read - data: load vdec.ko ....OK! 2024-09-26 09:55:56 read - data: load ive.ko ....OK! 2024-09-26 09:55:56 read - data: load dpu_rect.ko ....OK! 2024-09-26 09:55:56 read - data: load dpu_match.ko ....OK! 2024-09-26 09:55:56 read - data: load svp_npu.ko ....OK! 2024-09-26 09:55:56 read - data: load pwm.ko ....OK! 2024-09-26 09:55:56 read - data: load ot_piris.ko ....OK! 2024-09-26 09:55:56 read - data: load sensor_i2c.ko ....OK! 2024-09-26 09:55:56 read - data: load mipi_tx.ko ....OK! 2024-09-26 09:55:56 read - data: load mipi_rx.ko ....OK! 2024-09-26 09:55:56 read - data: load ot_user ....OK! 2024-09-26 09:55:56 read - data: load aiisp.ko ....OK! 2024-09-26 09:55:56 read - data: load uvc.ko ....OK! 2024-09-26 09:55:56 read - data: load pm.ko ....OK! 2024-09-26 09:55:56 read - data: load ot_cipher.ko ....OK! 2024-09-26 09:55:56 read - data: load ot_km.ko ....OK! 2024-09-26 09:55:56 read - data: Watchdog Timer: 0.01 initialized. default_margin = 60 sec (nodeamon = 0) ot_wtdg init ok. ver=Jan 25 2024, 09:30:09. 2024-09-26 09:55:56 read - data: GPIO module: built on Nov 29 2023 at 20:02:55 Reference Linux version 5.10.0 GPIO module version 1.0.0 File /media/capo/3f671e05-1ad7-4374-b5ba-c02c270760de/home/buer/share/WokeSpace/branch/804/dv500/hi3519dv500-kernel/src/drivers/gpio/gpio.c GPIO initialized! 2024-09-26 09:55:56 read - data: load hi_adc.ko ....OK! 2024-09-26 09:55:56 read - data: load hi_pwm.ko ....OK! 2024-09-26 09:55:56 read - data: mmc lock initialized! 2024-09-26 09:55:56 read - data: IPCAM login: 2024-09-26 09:55:56 send - data: root len:5 2024-09-26 09:55:56 read - data: root 2024-09-26 09:55:56 read - data: Password: 2024-09-26 09:55:56 send - data: ms3456 len:7 2024-09-26 09:55:56 read - data: ===== watchdog start 1111111 =========== 2024-09-26 09:55:56 read - data: rm: can't remove '/tmp/cmdsunpath': No such file or directory rm: can't remove '/tmp/cmdsunpath2': No such file or directory login[1856]: root login on 'ttyS000' Welcome to Linux. ~ # 2024-09-26 09:55:56 send - data: reboot len:7 2024-09-26 09:55:58 send - data: len:1 2024-09-26 09:55:58 read - data: reboot ~ # umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only umount: tmpfs busy - remounted read-only [INF:1969-12-31 16:33:48.397 1855] load_conf==func:load_conf file:pushmsg.c line:2021 [INF:1969-12-31 16:33:48.401 1855] conf_init done==func:load_conf file:pushmsg.c line:2025 [1969-12-31 16:33:48 1855] fopen==func:push_load_conf file:pushmsg.c line:273 [ERR:1969-12-31 16:33:48.405 1855] ========== Msserver begin ===================== ==func:main file:main.c line:314 umount: devtmpfs busy - remounted read-only chattr: setting flags on /mnt/mmc/: Read-only file system chattr: setting flags on /mnt/nas0: Read-only file system chattr: setting flags on /mnt/nas1: Read-only file system chattr: setting flags on /mnt/nas2: Read-only file system chattr: setting flags on /mnt/nas3: Read-only file system chattr: setting flags on /mEXT4-fs (mmcblk0p5): re-mounted. Opts: (null) nt/nas4: Read-only file system [ERR:1969-12-31 16:33:48.424 1855] [DB]---> Database is not exist(/mnt/nand/msdb.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:48.426 1855] [DB]---> Database is not exist(/mnt/nand/msdb_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand/msdb.db': Read-only file system [ERR:1969-12-31 16:33:48.435 1855] [DB]====>db is bad,use backup--cp -f /opt/app/msdb.db /mnt/nand/msdb.db ==func:ms_check_db_integrity file:main.c line:223 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:48.435 1855] [DB]---> Database is not exist(/mnt/nand2/oem.db) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:48.435 1855] [DB]---> Database is not exist(/mnt/nand/oem_backup) ==func:db_check_integrity file:msdb.c line:569 fopen /mnt/nand2/db_log.txt: Read-only file system cp: can't create '/mnt/nand2/oem.db': Read-only file system [ERR:1969-12-31 16:33:48.444 1855] [DB]====>db is bad,use backup--cp -f /opt/app/oem.db /mnt/nand2/oem.db ==func:ms_check_db_integrity file:main.c line:267 fopen /mnt/nand2/db_log.txt: Read-only file system [ERR:1969-12-31 16:33:48.470 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:48.471 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand/msdb.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:48.471 1855] db init failed. ==func:db_init file:msdb.c line:384 fopen /mnt/nand/err_log.txt: Read-only file system [ERR:1969-12-31 16:33:48.471 1855] db not init. ==func:is_db_init file:msdb.c line:411 fopen /mnt/nand/err_log.txt: Read-only file system [INF:1969-12-31 16:33:48.471 1855] create new db.==func:ms_sys_load_cfg file:mssysconf.c line:5817 cp: can't create '/mnt/nand/msdb.db': Read-only file system The system is going down NOW! [ERR:1969-12-31 16:33:48.481 1855] [sqlite_debug]open sqlite fail with:14,file:/mnt/nand2/oem.db ==func:sqlite_debug file:ccsqlite.c line:28 fopen /mnt/nand/err_log.txt: Read-only file system Sent SIGTERM to all processes [1969-12-31 16:33:48 1854] recv signal 15==func:signal_handler file:main.c line:20 gmac_v200 10290000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sent SIGKILL to all processes Requesting system reboot 2024-09-26 09:55:58 send - data: reboot len:7 2024-09-26 09:55:59 send - data: len:1 2024-09-26 09:55:59 read - data: reboot reboot: Restarting system emmc 2024-09-26 09:55:59 read - data: boot table board switch:0x00000007 2024-09-26 09:56:00 read - data: DDR size: 0x00000800MB 2024-09-26 09:56:00 read - data: System startup Uncompress Ok! U-Boot 2022.07 (Apr 15 2024 - 09:34:58 +0800)48.8.5.7 DRAM: Relocation Offset is: 1773f000 Relocating to 5ff3f000, new gd at 5fafede0, sp at 5fafedd0 2024-09-26 09:56:00 read - data: Core: 1 devices, 1 uclasses MMC: 2024-09-26 09:56:00 read - data: mmc->ocr_from_bootrom 0xc0ff8080 2024-09-26 09:56:00 read - data: sdhci-bsp: tuning done! valid phase shift [15, 12] Final Phase:29 MMC/SD Card: MID: 0x11 Read Block: 512 Bytes Write Block: 512 Bytes Chip Size: 3776M Bytes (High Capacity) Name: "004GA" Chip Type: MMC Version: 5.0 Speed: 150000000Hz Bus Width: 8bit Mode: HS200 Boot Mode: normal(), 51 ms bsp-sdhci: 0 (eMMC) Loading Environment from MMC... OK In: serial Out: serial Err: serial  2024-09-26 09:56:00 read - data:  2024-09-26 09:56:00 read - data:  2024-09-26 09:56:00 read - data:  2024-09-26 09:56:00 read - data: Net: gmac0 2024-09-26 09:56:00 read - data: Hit any key to stop autoboot: 3 2024-09-26 09:56:02 read - data: 2024-09-26 09:56:02 send - data: len:2 2024-09-26 09:56:04 read - data: 2024-09-26 09:56:04 send - data: len:1 2024-09-26 09:56:06 read - data: 2024-09-26 09:56:06 send - data: len:1 2024-09-26 09:56:08 read - data: 2024-09-26 09:56:08 send - data: len:2 2024-09-26 09:56:10 read - data: 2024-09-26 09:56:10 send - data: len:1 2024-09-26 09:56:12 read - data: 2024-09-26 09:56:12 send - data: len:1 2024-09-26 09:56:14 read - data: 2024-09-26 09:56:14 send - data: len:2 2024-09-26 09:56:16 read - data: 2024-09-26 09:56:16 send - data: len:1 2024-09-26 09:56:18 read - data: 2024-09-26 09:56:18 send - data: len:1 2024-09-26 09:56:20 read - data: 2024-09-26 09:56:21 send - data: len:2 2024-09-26 09:56:23 read - data: 2024-09-26 09:56:23 send - data: len:1 2024-09-26 09:56:25 read - data: 2024-09-26 09:56:25 send - data: len:1 2024-09-26 09:56:27 read - data: 2024-09-26 09:56:27 send - data: len:2 2024-09-26 09:56:29 read - data: 2024-09-26 09:56:29 send - data: len:1 2024-09-26 09:56:31 read - data: 2024-09-26 09:56:31 send - data: len:1 2024-09-26 09:56:33 read - data: 2024-09-26 09:56:33 send - data: len:2 2024-09-26 09:56:35 read - data: 2024-09-26 09:56:35 send - data: len:1 2024-09-26 09:56:37 read - data: 2024-09-26 09:56:37 send - data: len:1 2024-09-26 09:56:39 read - data: 2024-09-26 09:56:39 send - data: len:2 2024-09-26 09:56:41 read - data: 2024-09-26 09:56:41 send - data: len:1 2024-09-26 09:56:43 read - data: 2024-09-26 09:56:43 send - data: len:1 2024-09-26 09:56:45 read - data: 2024-09-26 09:56:46 send - data: len:2 2024-09-26 09:56:48 read - data: 2024-09-26 09:56:48 send - data: len:1 2024-09-26 09:56:50 read - data: 2024-09-26 09:56:50 send - data: len:1 2024-09-26 09:56:52 read - data: 2024-09-26 09:56:52 send - data: len:2 2024-09-26 09:56:54 read - data: 2024-09-26 09:56:54 send - data: len:1 2024-09-26 09:56:56 read - data: 2024-09-26 09:56:56 send - data: len:1 2024-09-26 09:56:58 read - data: 2024-09-26 09:56:58 send - data: len:2 2024-09-26 09:57:00 read - data: 2024-09-26 09:57:00 send - data: len:1 2024-09-26 09:57:02 read - data: 2024-09-26 09:57:02 send - data: len:1 2024-09-26 09:57:04 read - data: 2024-09-26 09:57:04 send - data: len:2 2024-09-26 09:57:06 read - data: 2024-09-26 09:57:06 send - data: len:1 2024-09-26 09:57:08 read - data: 2024-09-26 09:57:08 send - data: len:1 2024-09-26 09:57:10 read - data: 2024-09-26 09:57:11 send - data: len:2 2024-09-26 09:57:13 read - data: 2024-09-26 09:57:13 send - data: len:1 2024-09-26 09:57:15 read - data: 2024-09-26 09:57:15 send - data: len:1 2024-09-26 09:57:17 read - data: 2024-09-26 09:57:17 send - data: len:2 2024-09-26 09:57:19 read - data: 2024-09-26 09:57:19 send - data: len:1 2024-09-26 09:57:21 read - data: 2024-09-26 09:57:21 send - data: len:1 2024-09-26 09:57:23 read - data: 2024-09-26 09:57:23 send - data: len:2 2024-09-26 09:57:25 read - data: 2024-09-26 09:57:25 send - data: len:1 2024-09-26 09:57:27 read - data: 2024-09-26 09:57:27 send - data: len:1 2024-09-26 09:57:29 read - data: 2024-09-26 09:57:29 send - data: len:2 2024-09-26 09:57:31 read - data: 2024-09-26 09:57:31 send - data: len:1 2024-09-26 09:57:33 read - data: 2024-09-26 09:57:33 send - data: len:1 2024-09-26 09:57:35 read - data: 2024-09-26 09:57:35 send - data: len:2 2024-09-26 09:57:37 read - data: 2024-09-26 09:57:37 send - data: len:1 2024-09-26 09:57:39 read - data: 2024-09-26 09:57:39 send - data: len:1 2024-09-26 09:57:41 read - data: 2024-09-26 09:57:42 send - data: len:2 2024-09-26 09:57:44 read - data: 2024-09-26 09:57:44 send - data: len:1 2024-09-26 09:57:46 read - data: 2024-09-26 09:57:46 send - data: len:1 2024-09-26 09:57:48 read - data: 2024-09-26 09:57:48 send - data: len:2 2024-09-26 09:57:50 read - data: 2024-09-26 09:57:50 send - data: len:1 2024-09-26 09:57:52 read - data: 2024-09-26 09:57:52 send - data: len:1 2024-09-26 09:57:54 read - data: 2024-09-26 09:57:54 send - data: len:2 2024-09-26 09:57:56 read - data: 2024-09-26 09:57:56 send - data: len:1 2024-09-26 09:57:58 read - data: 2024-09-26 09:57:58 send - data: len:1 2024-09-26 09:58:00 read - data: 2024-09-26 09:58:00 send - data: len:2 2024-09-26 09:58:02 read - data: 2024-09-26 09:58:02 send - data: len:1 2024-09-26 09:58:04 read - data: 2024-09-26 09:58:04 send - data: len:1 2024-09-26 09:58:06 read - data: 2024-09-26 09:58:07 send - data: len:2 2024-09-26 09:58:09 read - data: 2024-09-26 09:58:09 send - data: len:1 2024-09-26 09:58:11 read - data: 2024-09-26 09:58:11 send - data: len:1 2024-09-26 09:58:13 read - data: 2024-09-26 09:58:13 send - data: len:2 2024-09-26 09:58:15 read - data: 2024-09-26 09:58:15 send - data: len:1 2024-09-26 09:58:17 read - data: 2024-09-26 09:58:17 send - data: len:1 2024-09-26 09:58:19 read - data: 2024-09-26 09:58:19 send - data: len:2 2024-09-26 09:58:21 read - data: 2024-09-26 09:58:21 send - data: len:1 2024-09-26 09:58:23 read - data: 2024-09-26 09:58:23 send - data: len:1 2024-09-26 09:58:25 read - data: 2024-09-26 09:58:25 send - data: len:2 2024-09-26 09:58:27 read - data: 2024-09-26 09:58:27 send - data: len:1 2024-09-26 09:58:29 read - data: 2024-09-26 09:58:29 send - data: len:1 2024-09-26 09:58:31 read - data: 2024-09-26 09:58:32 send - data: len:2 2024-09-26 09:58:34 read - data: 2024-09-26 09:58:34 send - data: len:1 2024-09-26 09:58:36 read - data: 2024-09-26 09:58:36 send - data: len:1 2024-09-26 09:58:38 read - data: 2024-09-26 09:58:38 send - data: len:2 2024-09-26 09:58:40 read - data: 2024-09-26 09:58:40 send - data: len:1 2024-09-26 09:58:42 read - data: 2024-09-26 09:58:42 send - data: len:1 2024-09-26 09:58:44 read - data: 2024-09-26 09:58:44 send - data: len:2 2024-09-26 09:58:46 read - data: 2024-09-26 09:58:46 send - data: len:1 2024-09-26 09:58:48 read - data: 2024-09-26 09:58:48 send - data: len:1 2024-09-26 09:58:50 read - data: 2024-09-26 09:58:50 send - data: len:2 2024-09-26 09:58:52 read - data: 2024-09-26 09:58:52 send - data: len:1 2024-09-26 09:58:54 read - data: 2024-09-26 09:58:54 send - data: len:1 2024-09-26 09:58:56 read - data: 2024-09-26 09:58:56 send - data: len:2 2024-09-26 09:58:58 read - data: 2024-09-26 09:58:58 send - data: len:1 2024-09-26 09:59:00 read - data: 2024-09-26 09:59:00 send - data: len:1 2024-09-26 09:59:02 read - data: 2024-09-26 09:59:03 send - data: len:2 2024-09-26 09:59:05 read - data: 2024-09-26 09:59:05 send - data: len:1 2024-09-26 09:59:07 read - data: 2024-09-26 09:59:07 send - data: len:1 2024-09-26 09:59:09 read - data: 2024-09-26 09:59:09 send - data: len:2 2024-09-26 09:59:11 read - data: 2024-09-26 09:59:11 send - data: len:1