The camera boots fine but I cannot see picture in preview?
Bootlog:
`U-Boot 2013.07 (Aug 26 2019 - 16:11:21)
Board: ISVP (Ingenic XBurst T21 SoC)
DRAM: 64 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 442k for U-Boot at: 83f90000
Reserving 32784k for malloc() at: 81f8c000
Reserving 32 Bytes for Board Info at: 81f8bfe0
Reserving 124 Bytes for Global Data at: 81f8bf64
Reserving 128k for boot params() at: 81f6bf64
Stack Pointer at: 81f6bf48
Now running in RAM - U-Boot at: 83f90000
MMC: msc: 0
the manufacturer ef
SF: Detected W25Q128
In: serial
Out: serial
Err: serial
Net: cpm_mphyc_rst = 0x01000000 cpm_mphyc = 0x00000000
Jz4775-9161
the manufacturer ef
SF: Detected W25Q128
ReadFlashData ret=0
Enter into Check Update:1 **
Card did not respond to voltage select!
Bad device mmc 0
Card did not respond to voltage select!
Bad device mmc 0
Cannot parse config file '/etc/fw_env.config': No such file or directory
Starting majestic: OK
Cannot parse config file '/etc/fw_env.config': No such file or directory
Welcome to OpenIPC
openipc-t21 login: Modules are loaded: root@openipc-t21:~# lsmod
Module Size Used by Tainted: G
audio 70503 0
sensor_ov2735b_t21 9563 0
tx_isp_t21 684130 1 sensor_ov2735b_t21
sinfo 16674 0
vfat 9441 0
fat 56106 1 vfat`
I used original bootloader, because ethernet didn't work with openipc one. Then the OpenIPC couldn't detect sensor. I added manually: export SENSOR=ov2735b and then it works.
The camera boots fine but I cannot see picture in preview? Bootlog: `U-Boot 2013.07 (Aug 26 2019 - 16:11:21)
Board: ISVP (Ingenic XBurst T21 SoC) DRAM: 64 MiB Top of RAM usable for U-Boot at: 84000000 Reserving 442k for U-Boot at: 83f90000 Reserving 32784k for malloc() at: 81f8c000 Reserving 32 Bytes for Board Info at: 81f8bfe0 Reserving 124 Bytes for Global Data at: 81f8bf64 Reserving 128k for boot params() at: 81f6bf64 Stack Pointer at: 81f6bf48 Now running in RAM - U-Boot at: 83f90000 MMC: msc: 0 the manufacturer ef SF: Detected W25Q128
In: serial Out: serial Err: serial Net: cpm_mphyc_rst = 0x01000000 cpm_mphyc = 0x00000000 Jz4775-9161 the manufacturer ef SF: Detected W25Q128
ReadFlashData ret=0 Enter into Check Update:1 ** Card did not respond to voltage select! Bad device mmc 0 Card did not respond to voltage select! Bad device mmc 0
main_loop: bootcmd="sf probe 0; setenv setargs setenv bootargs console=ttyS1,115200 panic=10 root=/dev/mtdblock3 init=/init mtdparts=jz_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data) mem=40m rmem=24M@0x2800000; run setargs; sf read 0x80600000 0x50000 0x200000; bootm 0x80600000"
Hit any key to stop autoboot: 0 the manufacturer ef SF: Detected W25Q128
--->probe spend 4 ms SF: 2097152 bytes @ 0x50000 Read: OK --->read spend 675 ms
Booting kernel from Legacy Image at 80600000 ...
Image Name: Linux-3.10.14isvp_turkey_1.0 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1539857 Bytes = 1.5 MiB Load Address: 80010000 Entry Point: 8034af20 Verifying Checksum ... OK Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.14isvp_turkey_1.0 (runner@fv-az1432-726) (buildroot-gcc-13.2.0) #2 PREEMPT Tue Jul 2 00:46:11 UTC 2024 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 RESET ERROR PC:801B6B20 [ 0.000000] [<801b6b20>] __delay+0x0/0x10 [ 0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst) [ 0.000000] FPU revision is: 00b70000 [ 0.000000] CCLK:864MHz L2CLK:432Mhz H0CLK:225MHz H2CLK:225Mhz PCLK:112Mhz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 00459000 @ 00010000 (usable) [ 0.000000] memory: 00037000 @ 00469000 (usable after init) [ 0.000000] User-defined physical RAM map: [ 0.000000] memory: 02800000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x027fffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x027fffff] [ 0.000000] Primary instruction cache 16kB, 8-way, VIPT, linesize 32 bytes. [ 0.000000] Primary data cache 16kB, 8-way, VIPT, no aliases, linesize 32 bytes [ 0.000000] pls check processor_id[0x00d00100],sc_jz not support! [ 0.000000] MIPS secondary cache 64kB, 8-way, linesize 32 bytes. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 10160 [ 0.000000] Kernel command line: console=ttyS1,115200 panic=10 root=/dev/mtdblock3 init=/init mtdparts=jz_sfc:256k(boot),64k(env),2048k(kernel),5120k(rootfs),-(rootfs_data) mem=40m rmem=24M@0x2800000 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 35216k/40960k available (3350k kernel code, 5744k reserved, 1099k data, 220k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] NR_IRQS:422 [ 0.000000] clockevents_config_and_register success. [ 0.000031] Calibrating delay loop... 858.52 BogoMIPS (lpj=4292608) [ 0.037690] pid_max: default: 32768 minimum: 301 [ 0.042700] Mount-cache hash table entries: 512 [ 0.047937] Initializing cgroup subsys debug [ 0.052202] Initializing cgroup subsys freezer [ 0.058643] devtmpfs: initialized [ 0.064612] regulator-dummy: no parameters [ 0.069256] NET: Registered protocol family 16 [ 0.122116] bio: create slab at 0
[ 0.140028] jz-dma jz-dma: JZ SoC DMA initialized
[ 0.147686] usbcore: registered new interface driver usbfs
[ 0.153568] usbcore: registered new interface driver hub
[ 0.159524] usbcore: registered new device driver usb
[ 0.165459] (null): set:280 hold:281 dev=112500000 h=562 l=562
[ 0.175266] Switching to clocksource jz_clocksource
[ 0.185606] jz-dwc2 jz-dwc2: cgu clk gate get error
[ 0.190917] DWC IN OTG MODE
[ 0.194578] dwc2 dwc2: Keep PHY ON
[ 0.197956] dwc2 dwc2: Using Buffer DMA mode
[ 0.202471] dwc2 dwc2: Core Release: 3.00a
[ 0.206591] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
[ 0.213098] dwc2 dwc2: new USB bus registered, assigned bus number 1
[ 0.221258] hub 1-0:1.0: USB hub found
[ 0.225013] hub 1-0:1.0: 1 port detected
[ 0.229139] dwc2 dwc2: DWC2 Host Initialized
[ 0.234053] NET: Registered protocol family 2
[ 0.239283] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.246319] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.252838] TCP: Hash tables configured (established 512 bind 512)
[ 0.259105] TCP: reno registered
[ 0.262416] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.268280] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.274999] NET: Registered protocol family 1
[ 0.279768] RPC: Registered named UNIX socket transport module.
[ 0.285792] RPC: Registered udp transport module.
[ 0.290506] RPC: Registered tcp transport module.
[ 0.295251] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.302842] freq_udelay_jiffys[0].max_num = 10
[ 0.307292] dwc2 dwc2: ID PIN CHANGED!
[ 0.311250] cpufreq udelay loops_per_jiffy
[ 0.315593] 12000 59619 59619
[ 0.318858] 24000 119239 119239
[ 0.322504] 60000 298097 298097
[ 0.325876] 120000 596195 596195
[ 0.329406] 200000 993659 993659
[ 0.333122] 300000 1490488 1490488
[ 0.336758] 600000 2980977 2980977
[ 0.340550] 792000 3934890 3934890
[ 0.344184] 1008000 5008042 5008042
[ 0.347979] 1200000 5961955 5961955
[ 0.373490] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.382399] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[ 0.388957] msgmni has been set to 68
[ 0.395458] io scheduler noop registered
[ 0.399400] io scheduler cfq registered (default)
[ 0.420261] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
[ 0.428320] console [ttyS1] enabled, bootconsole disabled
[ 0.428320] console [ttyS1] enabled, bootconsole disabled
[ 0.456878] brd: module loaded
[ 0.468875] loop: module loaded
[ 0.472943] logger: created 256K log 'log_main'
[ 0.493308] jz SADC driver registeres over!
[ 0.505777] jz TCU driver register completed
[ 0.512362] the id code = ef4018, the flash name is WIN25Q128
[ 0.518313] JZ SFC Controller for SFC channel 0 driver register
[ 0.524889] 5 cmdlinepart partitions found on MTD device jz_sfc
[ 0.531231] Creating 5 MTD partitions on "jz_sfc":
[ 0.536214] 0x000000000000-0x000000040000 : "boot"
[ 0.543273] 0x000000040000-0x000000050000 : "env"
[ 0.550270] 0x000000050000-0x000000250000 : "kernel"
[ 0.557466] 0x000000250000-0x000000750000 : "rootfs"
[ 0.564784] 0x000000750000-0x000001000000 : "rootfs_data"
[ 0.572666] SPI NOR MTD LOAD OK
[ 0.576328] Bus Mode Reg after reset: 0x00020101, cnt=0
[ 0.608627] libphy: jz_mii_bus: probed
[ 0.613406] =======>gmacdev = 0x8211b400<================
[ 0.618999] =========>gmacdev->MacBase = 0xb34b0000 DmaBase = 0xb34b1000
[ 0.626434] Bus Mode Reg after reset: 0x00020101, cnt=0
[ 0.634046] jz_mac jz_mac.0: JZ on-chip Ethernet MAC driver, Version 1.0
[ 0.641511] i2c /dev entries driver
[ 0.647620] jzmmc_v1.2 jzmmc_v1.2.0: vmmc regulator missing
[ 0.654072] jzmmc_v1.2 jzmmc_v1.2.0: register success!
[ 0.659469] jzmmc_v1.2 jzmmc_v1.2.1: vmmc regulator missing
[ 0.665894] jzmmc_v1.2 jzmmc_v1.2.1: register success!
[ 0.672366] ipip: IPv4 over IPv4 tunneling driver
[ 0.678307] TCP: cubic registered
[ 0.683975] NET: Registered protocol family 10
[ 0.690019] NET: Registered protocol family 17
[ 0.696667] soc_vpu probe success,version:1.0.0-03203fd46d
[ 0.703282] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 0.711489] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.723375] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.735997] devtmpfs: mounted
[ 0.739581] Freeing unused kernel memory: 220K (80469000 - 804a0000)
[ 0.780275] usb 1-1: new high-speed USB device number 2 using dwc2
[ 1.540746] jffs2: notice: (570) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Cannot parse config file '/etc/fw_env.config': No such file or directory
Cannot parse config file '/etc/fw_env.config': No such file or directory
Tue Jul 2 00:48:33 GMT 2024
Seeding 2048 bits and crediting
Saving 2048 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting rngd: OK
Loading modules...
modprobe: module exfat not found in modules.dep
Starting mdev...
Cannot parse config file '/etc/fw_env.config': No such file or directory
Cannot parse config file '/etc/fw_env.config': No such file or directory
Cannot parse config file '/etc/fw_env.config': No such file or directory
Starting network...
Cannot parse config file '/etc/fw_env.config': No such file or directory
udhcpc: started, v1.36.1
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
Cannot parse config file '/etc/fw_env.config': No such file or directory
Cannot parse config file '/etc/fw_env.config': No such file or directory
udhcpc: no lease, forking to background
Starting ntpd: OK
Starting dropbear: OK
Starting crond: OK
Loading vendor modules...
Cannot parse config file '/etc/fw_env.config': No such file or directory
ingenic: Get data from sinfo and set SENSOR as ov2735b
Cannot parse config file '/etc/fw_env.config': No such file or directory
Error: environment not initialized
ISP_PARAM: isp_clk=125000000 SENSOR: ov2735b SENSOR_PARAM: sensor_gpio_func=0
Cannot parse config file '/etc/fw_env.config': No such file or directory Starting majestic: OK Cannot parse config file '/etc/fw_env.config': No such file or directory
Welcome to OpenIPC openipc-t21 login:
Modules are loaded:
root@openipc-t21:~# lsmod Module Size Used by Tainted: Gaudio 70503 0 sensor_ov2735b_t21 9563 0 tx_isp_t21 684130 1 sensor_ov2735b_t21 sinfo 16674 0 vfat 9441 0 fat 56106 1 vfat`