Closed aarnaud closed 11 months ago
Hi, the feature has not completely been enabled yet, as there is still work to be done on the webui side.
If you want to enable it in the mean time, read the PR, it contains instructions on editing the majestic init script, and set the execution flag on the control applet script.
More PRs fully enabling will be coming soon
Nice, it's working, thanks
Badly the update broke 2 of my cameras:
16:19:30 < majestic> [ main] main@123 Majestic Lite for Ingenic, version master+b5b5dfe, built on 2023-11-17
16:19:30 < majestic> [app_conf] load_config@108 Using /etc/majestic.yaml as main configuration
16:19:31 < majestic> [watchdog] watchdog_start@101 Detected jz Watchdog
16:19:31 < majestic> [watchdog] watchdog_start@121 Watchdog timeout set to 10 seconds
16:19:31 < majestic> [sns_conf] try_sensor_config@13 SENSOR=gc2053
16:19:31 < majestic> [sns_conf] load_sensor_config@44 Using /etc/sensor/gc2053.yaml as sensor config
16:19:31 < majestic> [sns_conf] parse_sensor_config@125 VI: gc2053 @ 0x37 [1920x1080]
16:19:31 < majestic> [ sdk] start_sdk@1254 CPU T31-ZX, SDK SYSUTILS-1.1.6, model Swan, devID 16180006
16:19:31 < majestic> [ sdk] imp_system_init@326 failed to open ISP
16:19:31 < majestic> [ sdk] start_sdk@1363 IMP_System_Init() failed
16:19:31 < majestic> [ main] main@207 Shutdown main thread
Both have T31-ZX
instead T31-X
Can you share output of logcat
? Did you enable ld_preload?
I tried with LD_PRELOAD and without: Is there a way to find and download an old openipc.t31-nor-lite.tgz version from 2nd november ?
logcat
Nov 19 16:07:07 backstreet-2 syslog.info syslogd started: BusyBox v1.36.1
Nov 19 16:07:07 backstreet-2 kern.notice kernel: klogd started: BusyBox v1.36.1 (2023-11-19 20:57:04 UTC)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Initializing cgroup subsys cpu
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.000000] Linux version 3.10.14__isvp_swan_1.0__ (runner@fv-az1040-956) (buildroot-gcc-12.2.0) #2 PREEMPT Sun Nov 19 21:03:41 UTC 2023
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] bootconsole [early0] enabled
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] CPU0 RESET ERROR PC:801BE684
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] [<801be684>] __delay+0x4/0x10
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] FPU revision is: 00b70000
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] cgu_get_rate, parent = 1392000000, rate = 0, m = 129, n = 255, reg val = 0x081000ff
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] cgu_get_rate, parent = 1392000000, rate = 0, m = 129, n = 255, reg val = 0x081000ff
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] CCLK:1392MHz L2CLK:696Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Determined physical RAM map:
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] memory: 00554000 @ 00010000 (usable)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] memory: 0003c000 @ 00564000 (usable after init)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] User-defined physical RAM map:
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] memory: 04000000 @ 00000000 (usable)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Initrd not found or empty - disabling initrd
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] Zone ranges:
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] Normal [mem 0x00000000-0x03ffffff]
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] Movable zone start for each node
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] Early memory node ranges
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] On node 0 totalpages: 16384
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat 8055e050, node_mem_map 81000000
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] Normal zone: 128 pages used for memmap
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] Normal zone: 0 pages reserved
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] Normal zone: 16384 pages, LIFO batch:3
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] pls check processor_id[0x00d00100],sc_jz not support!
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] MIPS secondary cache 128kB, 8-way, linesize 32 bytes.
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.000000] pcpu-alloc: [0] 0
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16256
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.000000] Kernel command line: mem=64M rmem=64M@0x4000000 console=ttyS1,115200n8 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=jz_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data) nog
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Memory: 58768k/65536k available (4049k kernel code, 6768k reserved, 1402k data, 240k init, 0k highmem)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] Preemptible hierarchical RCU implementation.
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000000] NR_IRQS:358
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.000000] clockevents_config_and_register success.
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.000014] Calibrating delay loop... 1391.00 BogoMIPS (lpj=6955008)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.087831] pid_max: default: 32768 minimum: 301
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.092688] Mount-cache hash table entries: 512
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.097590] Initializing cgroup subsys debug
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.101847] Initializing cgroup subsys freezer
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.107797] devtmpfs: initialized
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.112552] regulator-dummy: no parameters
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.116923] NET: Registered protocol family 16
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.124548] Skipping GMAC GPIO setup
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.128713] set gpio strength: 32-2
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.128723] set gpio strength: 33-2set gpio strength: 34-2
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.128734] set gpio strength: 35-2set gpio strength: 36-2
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.128742] set gpio strength: 37-2set gpio pull: 59-90
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.146942] bio: create slab <bio-0> at 0
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.157264] jz-dma jz-dma: JZ SoC DMA initialized
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.163082] usbcore: registered new interface driver usbfs
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.169116] usbcore: registered new interface driver hub
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.174618] usbcore: registered new device driver usb
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.180226] (null): set:249 hold:250 dev=100000000 h=500 l=500
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.188068] Switching to clocksource jz_clocksource
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.195402] dwc2 otg probe start
Nov 19 16:07:07 backstreet-2 kern.warn kernel: [ 0.195430] jz-dwc2 jz-dwc2: cgu clk gate get error
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.200310] DWC IN OTG MODE
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.203956] dwc2 dwc2: Keep PHY ON
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.207324] dwc2 dwc2: Using Buffer DMA mode
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.211652] dwc2 dwc2: Core Release: 3.00a
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.215916] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.222207] dwc2 dwc2: new USB bus registered, assigned bus number 1
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.229788] hub 1-0:1.0: USB hub found
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.233615] hub 1-0:1.0: 1 port detected
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.237620] dwc2 dwc2: DWC2 Host Initialized
Nov 19 16:07:07 backstreet-2 kern.debug kernel: [ 0.241906] dwc2 otg probe success
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.242153] NET: Registered protocol family 2
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.247061] TCP established hash table entries: 512 (order: 0, 4096 bytes)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.254087] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.260459] TCP: Hash tables configured (established 512 bind 512)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.266787] TCP: reno registered
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.269992] UDP hash table entries: 256 (order: 0, 4096 bytes)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.275948] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.282453] NET: Registered protocol family 1
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.287046] RPC: Registered named UNIX socket transport module.
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.293038] RPC: Registered udp transport module.
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.297742] RPC: Registered tcp transport module.
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.302510] RPC: Registered tcp NFSv4.1 backchannel transport module.
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.309646] freq_udelay_jiffys[0].max_num = 10
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.314138] cpufreq udelay loops_per_jiffy
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.318493] dwc2 dwc2: ID PIN CHANGED!
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.322320] 12000 59956 59956
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.325573] 24000 119913 119913
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.328992] 60000 299784 299784
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.332435] 120000 599569 599569
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.336048] 200000 999282 999282
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.339499] 300000 1498924 1498924
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.343320] 600000 2997848 2997848
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.346948] 792000 3957159 3957159
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.350656] 1008000 5036385 5036385
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.354489] 1200000 5995696 5995696
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.368048] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.375176] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
Nov 19 16:07:07 backstreet-2 kern.info sysctl: * Applying /etc/sysctl.conf ...
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.381235] msgmni has been set to 114
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.386273] io scheduler noop registered
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.390194] io scheduler cfq registered (default)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.401867] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.409486] console [ttyS1] enabled, bootconsole disabled
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.429274] brd: module loaded
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.436868] loop: module loaded
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.440343] logger: created 256K log 'log_main'
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.447210] jz TCU driver register completed
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.452554] the id code = 1c7018, the flash name is EN25QH128A
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.458826] JZ SFC Controller for SFC channel 0 driver register
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.465095] 5 cmdlinepart partitions found on MTD device jz_sfc
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.471204] Creating 5 MTD partitions on "jz_sfc":
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.476189] 0x000000000000-0x000000040000 : "boot"
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.482155] 0x000000040000-0x000000050000 : "env"
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.488153] 0x000000050000-0x000000250000 : "kernel"
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.494446] 0x000000250000-0x000000750000 : "rootfs"
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 0.500583] 0x000000750000-0x000001000000 : "rootfs_data"
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.507253] SPI NOR MTD LOAD OK
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.510662] JZ GMAC disabled
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.513712] STA : @@@@@@ rtusb init rt2870 --->
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.518548] usbcore: registered new interface driver rt2870
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.524512] i2c /dev entries driver
Nov 19 16:07:07 backstreet-2 kern.warn kernel: [ 0.529281] jzmmc_v1.2 jzmmc_v1.2.0: vmmc regulator missing
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.535426] jzmmc_v1.2 jzmmc_v1.2.0: register success!
Nov 19 16:07:07 backstreet-2 kern.warn kernel: [ 0.540776] jzmmc_v1.2 jzmmc_v1.2.1: vmmc regulator missing
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.546938] jzmmc_v1.2 jzmmc_v1.2.1: register success!
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.552698] ipip: IPv4 over IPv4 tunneling driver
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.558207] TCP: cubic registered
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.562661] NET: Registered protocol family 10
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.568050] NET: Registered protocol family 17
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.573946] input: gpio-keys as /devices/platform/gpio-keys/input/input0
Nov 19 16:07:07 backstreet-2 kern.err kernel: [ 0.581310] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.592186] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.602049] devtmpfs: mounted
Nov 19 16:07:07 backstreet-2 kern.info sysctl: kernel.printk = 3 3 1 3
Nov 19 16:07:07 backstreet-2 kern.info kernel: [ 0.605539] Freeing unused kernel memory: 240K (80564000 - 805a0000)
Nov 19 16:07:07 backstreet-2 kern.notice kernel: [ 1.700686] jffs2: notice: (444) jffs2_build_xattr_subsystem: complete building xattr subsystem, 51 of xdatum (0 unchecked, 51 orphan) and 51 of xref (0 dead, 51 orphan) found.
Nov 19 16:07:07 backstreet-2 kern.err sysctl: sysctl: error: 'net.core.bpf_jit_enable' is an unknown key
Nov 19 16:07:07 backstreet-2 user.err kernel: [ 2.144784] [resetd] GPIO undefined in /usr/sbin/resetd
Nov 19 16:07:09 backstreet-2 kern.info kernel: [ 4.320186] jzmmc_v1.2 jzmmc_v1.2.1: card insert via sysfs
Nov 19 16:07:09 backstreet-2 kern.info kernel: [ 4.389405] cfg80211: Calling CRDA to update world regulatory domain
Nov 19 16:07:09 backstreet-2 kern.info kernel: [ 4.493853] mmc1: new SDIO card at address 0001
Nov 19 16:07:09 backstreet-2 kern.err kernel: [ 4.692994] [atbm_log]:rx timeout
Nov 19 16:07:09 backstreet-2 kern.err kernel: [ 4.731190] [atbm_log]:is registered as 'ALTOBEAM'
Nov 19 16:07:10 backstreet-2 kern.info kernel: [ 4.986442] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Nov 19 16:07:16 backstreet-2 authpriv.info dropbear[622]: Running in background
Nov 19 16:07:16 backstreet-2 cron.info crond[640]: crond (busybox 1.36.1) started, log level 8
Nov 19 16:07:16 backstreet-2 kern.emerg kernel: [ 11.225502] To control the state of an Ingenic SOC clock, use:
Nov 19 16:07:16 backstreet-2 kern.emerg kernel: [ 11.225502] "echo 0 > /proc/jz/clock/[CLOCK_NAME]/enable" to disable the clock
Nov 19 16:07:16 backstreet-2 kern.emerg kernel: [ 11.225502] "echo 1 > /proc/jz/clock/[CLOCK_NAME]/enable" to enable the clock
Nov 19 16:07:16 backstreet-2 daemon.info ingenic: Loading video system has started...
Nov 19 16:07:16 backstreet-2 daemon.info : starting pid 682, tty '/dev/console': '/sbin/getty -L console 0 vt100 '
Nov 19 16:07:17 backstreet-2 user.info majestic[683]: Majestic Lite for Ingenic, version master+b5b5dfe, built on 2023-11-17
Nov 19 16:07:17 backstreet-2 user.info majestic[683]: Using /etc/majestic.yaml as main configuration
Nov 19 16:07:17 backstreet-2 user.debug majestic[683]: Detected jz Watchdog
Nov 19 16:07:17 backstreet-2 user.debug majestic[683]: Watchdog timeout set to 10 seconds
Nov 19 16:07:17 backstreet-2 user.info majestic[683]: Using /etc/sensor/gc2053.yaml as sensor config
Nov 19 16:07:17 backstreet-2 kern.err kernel: [ 12.245294] [atbm_log]:wlan0:free authen bss ++
Nov 19 16:07:17 backstreet-2 kern.err kernel: [ 12.283011] [atbm_log]:authen:(18:e8:29:94:02:7c),ssid(bluewifi)
Nov 19 16:07:17 backstreet-2 user.err majestic[683]: failed to open ISP
Nov 19 16:07:17 backstreet-2 user.err majestic[683]: IMP_System_Init() failed
Nov 19 16:07:17 backstreet-2 user.info majestic[683]: Shutdown main thread
Nov 19 16:07:17 backstreet-2 kern.err kernel: [ 12.308441] [atbm_log]:wlan0: authenticated
Nov 19 16:07:17 backstreet-2 kern.err kernel: [ 12.308877] [atbm_log]:wlan0:free authen bss ++
Nov 19 16:07:17 backstreet-2 kern.err kernel: [ 12.333019] [atbm_log]:wlan0:free authen bss --
Nov 19 16:07:17 backstreet-2 kern.err kernel: [ 12.344663] [atbm_log]:wlan0: associated
Nov 19 16:07:17 backstreet-2 kern.info kernel: [ 12.348608] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
That's logread
... I need logcat
for diagnostics. Old builds are available here https://t.me/openipc_dev
Thanks for the link.
About logcat
I don't know how, it's seem not present.
Ah I see you are on lite, not included there currently. logcat.zip You can transfer this to the device after extraction and run it
Update: I did a firmware-reset on one of them it's fix the issue, but I had to open it to use UART to install wifi module
unfortunately after transfer:
~# logcat
Error loading shared library libstdc++.so.6: No such file or directory (needed by /sbin/logcat)
Error relocating /sbin/logcat: _ZdlPvj: symbol not found
Error relocating /sbin/logcat: _Znwj: symbol not found
Error relocating /sbin/logcat: __gxx_personality_v0: symbol not found
Error relocating /sbin/logcat: __gxx_personality_v0: symbol not found
So I tried to downgrade, but during the process verification mismatch
:
SoC OK
Skip version checking
Erasing block: 160/160 (100%)
Writing kb: 5116/5116 (100%)
Verifying kb: 1312/5116 (25%) flashcp: verification mismatch at 0x148000
I tried to reflash with UART and sdcard by following https://github.com/themactep/device-wyze-v3/blob/master/installation.md but now the boot stop here even without sdcard :
DDRC_REMAP5 0x13121110
DDRC_AUTOSR_EN 0x00000000
sdram init finished
SDRAM init ok
board_init_r
image entry point: 0x80100000
Is it bad ? What can I do ?
Did you select the proper letter for the first card?
Ah, it was during the upgrade. I see. Connect camera with a trusted usb cable to your pc and reflash it using cloner.
https://openipc.org/utilities Top link on the page.
Thanks a lot for all the share here,
EDITED: I have question to confirm:
I also order a SOIC8 SOP8 Flash Chip IC in case of to flash directly the ship, If I have no choice.
So I success to have u-boot working and reflash the camera but It's booting loop with :
the manufacturer 1c
SF: Detected EN25QH128A
--->probe spend 4 ms
SF: 3145728 bytes @ 0x50000 Read: OK
--->read spend 1010 ms
## Booting kernel from Legacy Image at 80600000 ...
Image Name: Linux-3.10.14__isvp_swan_1.0__-t
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1867683 Bytes = 1.8 MiB
Load Address: 80010000
Entry Point: 803f7770
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
reset in 4ms
Reflash it, and it's fix. Is the memory dying ?
Trying the sysupgrade and verification mismatch
at the end
> sysupgrade -k -r
OpenIPC System Updater v1.0.21
Vendor ingenic
SoC t31
Kernel 21:55:28 2023-11-02
RootFS master+e1ba943, 2023-11-02
Synchronizing time
ntpd: setting time to 2023-11-21 06:55:43.578673 (offset +1587613.742212s)
Tue Nov 21 06:55:43 GMT 2023
Checking for sysupgrade update...
Same version. No update required.
Stop services, sync files, free up memory
Killing majestic ............................ OK
Killing crond ......... OK
Killing klogd .......... OK
Killing ntpd .......... OK
Killing rngd .......... OK
Killing syslogd ......... OK
Uptime:
06:55:52 up 2 min, load average: 1.56, 0.67, 0.25
Memory:
total used free shared buff/cache available
Mem: 59008 8284 47608 0 3116 0
-/+ buffers/cache: 8284 50724
Swap: 0 0 0
Processes:
PID USER COMMAND
1 root init
574 root wpa_supplicant -B -i wlan0 -D nl80211,wext -c /tmp/wpa_supplicant.conf
594 root udhcpc -x hostname:openipc-t31 -A 0 -T 1 -t 1 -R -b -O search -p /var/run/udhcpc.wlan0.pid -i wlan0
651 root /usr/sbin/dropbear -R -B -k -p 22 -K 300
657 root /usr/sbin/httpd httpd -p 85 -f -c /etc/httpd.conf -r Authentication
866 root -sh
962 root {sysupgrade} /bin/sh /usr/sbin/sysupgrade -k -r
1146 root ps
Unmounting SD card
/mnt/mmcblk0p1
- checking for /mnt/mmcblk0p1/autoupdate-kernel.img
- checking for /mnt/mmcblk0p1/autoupdate-rootfs.img
- checking for /mnt/mmcblk0p1/autoupdate-uboot.img
Firmware
Download from https://github.com/OpenIPC/firmware/releases/download/latest/openipc.t31-nor-lite.tgz
Received and unpacked
Kernel
Update kernel from /tmp/uImage.t31
New version, going to update
Erasing block: 58/58 (100%)
Writing kb: 1824/1824 (100%)
Verifying kb: 1824/1824 (100%)
Kernel updated to 21:03:44 2023-11-19
RootFS
Update rootfs from /tmp/rootfs.squashfs.t31
SoC OK
New version, going to update
Erasing block: 160/160 (100%)
Writing kb: 5116/5116 (100%)
Verifying kb: 1312/5116 (25%) flashcp: verification mismatch at 0x148000
@gtxaspec about the issue for Majestic
I thinks it's because the overlayfs, first an update with wipe don't have issue, second:
/overlay/lib:
total 0
drwxr-xr-x 3 root root 0 Nov 15 10:16 modules
/overlay/lib/modules:
total 0
drwxr-xr-x 3 root root 0 Nov 15 10:20 3.10.14__isvp_swan_1.0__
/overlay/lib/modules/3.10.14__isvp_swan_1.0__:
total 3
drwxr-xr-x 2 root root 0 Nov 15 10:18 extra
-rw-r--r-- 1 root root 2343 Nov 15 10:18 modules.dep
/overlay/lib/modules/3.10.14__isvp_swan_1.0__/extra:
total 2656
-rwxr-xr-x 1 root root 1566900 Nov 15 10:18 8189fs.ko
-rwxr-xr-x 1 root root 22368 Nov 15 10:18 sensor_gc2053_t31.ko
-rwxr-xr-x 1 root root 1129876 Nov 15 10:18 tx-isp-t31.ko
So I dirty copy past the module and it's working
Writing kb: 5116/5116 (100%) Verifying kb: 1312/5116 (25%) flashcp: verification mismatch at 0x148000
That sounds like a faulty flash chip or bad soldering. You can touch up legs of the flash chip with a soldering iron to reflow solder and make sure all contacts are good.
@gtxaspec I found the issue that break Majestic after an update, because wifi driver modified modules.dep
so the content doesn't match anymore file path from the update:
I am having the same issue with my V3. Will there be an update that will fix the Majestic issue?
Meanwhile with a recent update you can adjust the volume in cli by following the config in the PR
Ref: https://github.com/OpenIPC/firmware/pull/1148
sh /usr/sbin/imp-control.sh aovol 80
@gtxaspec I found the issue that break Majestic after an update, because wifi driver modified
modules.dep
so the content doesn't match anymore file path from the update:
I had the same issue with an update breaking Majestic.
Okay I see, I success to handle update by using --no_reboot
option and manually edit modules.dep
before rebooting. but yeah not ideal.
I don't know really how we can be handle with sysupgrade.
It's still better solution for me than Cloud service offer by camera manufacturers.
Hi,
Thanks for this great project. Very appreciate.
I tried to control the speaker volume, but nothing works, with the default GPIO51 or the one present in the wyze documentation GPIO63. I tried rebooting too.
I saw commits from @gtxaspec that add libimp_contro, can that help me to adjust the volume, I saw the option.
there is missing execution flag on
/usr/sbin/imp-control.sh
and nothing listen on port 4000 yet.Thanks,