embeded/FPGA - ALTERA2026. 5. 8. 12:28

9년 전에 조사한 적이 있었네 -_-

2017.12.26 - [embeded/FPGA - ALTERA] - GHDL - 시뮬레이터

 

$ ghdl
Command 'ghdl' not found, but can be installed with:
sudo snap install ghdl         # version 3.0.0, or
sudo apt  install ghdl-common  # version 1.0.0+dfsg-6
See 'snap info ghdl' for additional versions.

$ sudo apt  install ghdl-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  ghdl-common
0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.
Need to get 154 kB of archives.
After this operation, 2,444 kB of additional disk space will be used.
Get:1 http://kr.archive.ubuntu.com/ubuntu jammy/universe amd64 ghdl-common amd64 1.0.0+dfsg-6 [154 kB]
Fetched 154 kB in 0s (4,318 kB/s)   
Selecting previously unselected package ghdl-common.
(Reading database ... 304538 files and directories currently installed.)
Preparing to unpack .../ghdl-common_1.0.0+dfsg-6_amd64.deb ...
Unpacking ghdl-common (1.0.0+dfsg-6) ...
Setting up ghdl-common (1.0.0+dfsg-6) ...
Processing triggers for man-db (2.10.2-1) ...

$ sudo apt-get install ghdl*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ghdl-gcc' for glob 'ghdl*'
Note, selecting 'ghdl-mcode' for glob 'ghdl*'
Note, selecting 'ghdl-common' for glob 'ghdl*'
Note, selecting 'ghdl-llvm' for glob 'ghdl*'
Note, selecting 'ghdl' for glob 'ghdl*'
ghdl-common is already the newest version (1.0.0+dfsg-6).
The following additional packages will be installed:
  gcc-10-base libgnat-10
Suggested packages:
  gtkwave
The following NEW packages will be installed:
  gcc-10-base ghdl ghdl-gcc ghdl-llvm ghdl-mcode libgnat-10
0 upgraded, 6 newly installed, 0 to remove and 54 not upgraded.
Need to get 15.5 MB of archives.
After this operation, 60.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y 

 

[링크 : https://github.com/ghdl/setup-ghdl]

[링크 : https://askubuntu.com/questions/1199027/ghdl-in-ubuntu-18-040-lts-gtkwave-vlsi-fpga-vhdl]

[링크 : https://github.com/ghdl/ghdl/releases]

 

by gpt  

test.vhd
entity test is
end;

architecture sim of test is
begin
    process
    begin
        report "Hello GHDL";
        wait;
    end process;
end;

컴파일:

ghdl -a test.vhd

엘라보레이션:

ghdl -e test

실행:

ghdl -r test

출력:

Hello GHDL
5. GTKWave 함께 설치 (파형 보기)

보통 같이 설치합니다.

sudo apt install gtkwave

VCD 생성 실행 예시:

ghdl -r test --vcd=test.vcd
gtkwave test.vcd

 

먼가 되긴한데.. 문법이 다른가?

$ cat test.vhd 
entity test is
end;

architecture sim of test is
begin
    process
    begin
        report "Hello GHDL";
        wait;
    end process;
end;

$ ghdl -a 7seg.vhdl 


$ ghdl -r test
test.vhd:8:9:@0ms:(report note): Hello GHDL

$ ghdl -r test --vcd=test.vcd
test.vhd:8:9:@0ms:(report note): Hello GHDL

$ gtkwave test.vcd
Gtk-Message: 12:29:46.165: Failed to load module "canberra-gtk-module"

GTKWave Analyzer v3.3.104 (w)1999-2020 BSI

No symbols in VCD file..nothing to do!


$ sudo apt install libcanberra-gtk-module libcanberra-gtk3-module


$ gtkwave test.vcd

GTKWave Analyzer v3.3.104 (w)1999-2020 BSI

No symbols in VCD file..nothing to do!

$ cat test.vcd
$date
  Fri May  8 12:29:32 2026
$end
$version
  GHDL v0
$end
$timescale
  1 fs
$end
$scope module standard $end
$upscope $end
$scope module test $end
$upscope $end
$enddefinitions $end
#0


Posted by 구차니
embeded/FPGA - ALTERA2026. 5. 2. 22:54

정말로 dip 을 전부 0 으로 바꾸고 하니 켜진다.

 

de1soc_lxde_1604_readme.txt

Prerequisite: you need at least a 8Gb microSD card

Setup steps:
1. Unzip the image file
2. Insert the microSD card to the host PC and write the image file into the microSD with the Win32DiskImager tool
3. Insert the programmed microSD card to the DE1-SoC board
3. Set the MSEL[4:0] on your DE1-SoC to 00000
4. Connect a VGA monitor to the DE1-SoC board
5. Conect USB mouse and keyboard to the USB ports on the board
6. Power on the board and you will see the LXDE graphical environment

Additional information:
1. You can read the DE1-SoC-Getting_Started_Guide.pdf in the system CD for more details about setting up the Board
2. The Quartus project is built in Quartus II v16.0. The project is located at /Demonstrations/SOC_FPGA/DE1_SOC_Linux_FB (rev.F Board,version 5.1.1)
3. The Linux kernel version is 4.5. You can get the kernel source code from https://github.com/altera-opensource/linux-socfpga 
4. The default password fot root user is terasic

 

파티션이 어떻게 구성되었나 했는데 그냥 SD 카드에 rootfs 자체를 올려 버린 듯.

 

root / terasic

ubunt 16.04

U-Boot SPL 2013.01.01 (Oct 12 2016 - 10:38:03)
BOARD : Altera SOCFPGA Cyclone V Board
CLOCK: EOSC1 clock 25000 KHz
CLOCK: EOSC2 clock 25000 KHz
CLOCK: F2S_SDR_REF clock 0 KHz
CLOCK: F2S_PER_REF clock 0 KHz
CLOCK: MPU clock 925 MHz
CLOCK: DDR clock 400 MHz
CLOCK: UART clock 100000 KHz
CLOCK: MMC clock 50000 KHz
CLOCK: QSPI clock 3613 KHz
RESET: COLD
INFO : Watchdog enabled
SDRAM: Initializing MMR registers
SDRAM: Calibrating PHY
SEQ.C: Preparing to start memory calibration
SEQ.C: CALIBRATION PASSED
SDRAM: 1024 MiB
ALTERA DWMMC: 0


U-Boot 2013.01.01 (Oct 12 2016 - 10:40:34)

CPU   : Altera SOCFPGA Platform
BOARD : Altera SOCFPGA Cyclone V Board
I2C:   ready
DRAM:  1 GiB
MMC:   ALTERA DWMMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Skipped ethaddr assignment due to invalid EMAC address in EEPROM
Net:   mii0
Warning: failed to set MAC address

Hit any key to stop autoboot:  0
reading u-boot.scr
200 bytes read in 3 ms (64.5 KiB/s)
## Executing script at 02000000
reading soc_system.rbf
7007184 bytes read in 327 ms (20.4 MiB/s)
## Starting application at 0x3FF795A4 ...
## Application terminated, rc = 0x0
reading zImage
5538512 bytes read in 259 ms (20.4 MiB/s)
reading socfpga.dtb
31245 bytes read in 5 ms (6 MiB/s)
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x00000100
   reserving fdt memory region: addr=0 size=1000
   Loading Device Tree to 03ff5000, end 03fffa0c ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.5.0-00183-g4647b69-dirty (root@matthew) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #52 SMP Thu Oct 27 17:10:02 CST 2016
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Terasic DE-0(Atlas)
[    0.000000] Truncating RAM at 0x00000000-0x40000000 to -0x30000000
[    0.000000] Consider using a HIGHMEM enabled kernel.
[    0.000000] cma: Reserved 512 MiB at 0x10000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 13 pages/cpu @cf8c3000 s21824 r8192 d23232 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 195072
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 241776K/786432K available (8614K kernel code, 577K rwdata, 2160K rodata, 600K init, 159K bss, 20368K reserved, 524288K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0a8db9c   (10775 kB)
[    0.000000]       .init : 0xc0a8e000 - 0xc0b24000   ( 600 kB)
[    0.000000]       .data : 0xc0b24000 - 0xc0bb46fc   ( 578 kB)
[    0.000000]        .bss : 0xc0bb46fc - 0xc0bdc524   ( 160 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x02060000 -> 0x32460000
[    0.000000] L2C: platform provided aux values permit register corruption.
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32460000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001
[    0.000000] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.000005] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
[    0.000016] Switching to timer-based delay loop, resolution 10ns
[    0.000311] Console: colour dummy device 80x30
[    0.000329] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=1000000)
[    0.000341] pid_max: default: 32768 minimum: 301
[    0.000427] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000437] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000941] CPU: Testing write buffer coherency: ok
[    0.000969] ftrace: allocating 26820 entries in 79 pages
[    0.041869] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.042092] Setting up static identity map for 0x8280 - 0x82d8
[    0.043433] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.043494] Brought up 2 CPUs
[    0.043508] SMP: Total of 2 processors activated (400.00 BogoMIPS).
[    0.043513] CPU: All CPU(s) started in SVC mode.
[    0.044174] devtmpfs: initialized
[    0.050496] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.050777] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074717] NET: Registered protocol family 16
[    0.083918] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.090177] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.090191] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.121529] SCSI subsystem initialized
[    0.121788] usbcore: registered new interface driver usbfs
[    0.121847] usbcore: registered new interface driver hub
[    0.121909] usbcore: registered new device driver usb
[    0.122039] soc:usbphy@0 supply vcc not found, using dummy regulator
[    0.122789] media: Linux media interface: v0.10
[    0.122847] Linux video capture interface: v2.00
[    0.122899] pps_core: LinuxPPS API ver. 1 registered
[    0.122906] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.122932] PTP clock support registered
[    0.123089] FPGA manager framework
[    0.123660] Bluetooth: Core ver 2.21
[    0.123710] NET: Registered protocol family 31
[    0.123717] Bluetooth: HCI device and connection manager initialized
[    0.123732] Bluetooth: HCI socket layer initialized
[    0.123743] Bluetooth: L2CAP socket layer initialized
[    0.123768] Bluetooth: SCO socket layer initialized
[    0.125402] clocksource: Switched to clocksource timer1
[    0.173018] NET: Registered protocol family 2
[    0.173512] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.173589] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.173695] TCP: Hash tables configured (established 8192 bind 8192)
[    0.173770] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.173814] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.174000] NET: Registered protocol family 1
[    0.174331] RPC: Registered named UNIX socket transport module.
[    0.174340] RPC: Registered udp transport module.
[    0.174346] RPC: Registered tcp transport module.
[    0.174351] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.175514] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.184446] NFS: Registering the id_resolver key type
[    0.184495] Key type id_resolver registered
[    0.184502] Key type id_legacy registered
[    0.184563] ntfs: driver 2.1.32 [Flags: R/W].
[    0.184838] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.185430] SGI XFS with ACLs, security attributes, no debug enabled
[    0.189606] io scheduler noop registered (default)
[    0.211937] Console: switching to colour frame buffer device 128x48
[    0.224086] altvipfb ff200100.vip2: fb0: altvipfb frame buffer device at 0x10400000+0x300000
[    0.227906] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.228925] console [ttyS0] disabled
[    0.228966] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 39, base_baud = 6250000) is a 16550A
[    0.852835] console [ttyS0] enabled
[    0.856932] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 40, base_baud = 6250000) is a 16550A
[    0.867533] brd: module loaded
[    0.872162] CAN device driver interface
[    0.876535] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    0.881569]  Ring mode enabled
[    0.884608]  DMA HW capability register supported
[    0.889135]  Enhanced/Alternate descriptors
[    0.893481]  Enabled extended descriptors
[    0.897480]  RX Checksum Offload Engine supported (type 2)
[    0.902938]  TX Checksum insertion supported
[    0.907195]  Enable RX Mitigation via HW Watchdog Timer
[    0.912913] socfpga-dwmac ff702000.ethernet eth0: No MDIO subnode found
[    0.925033] libphy: stmmac: probed
[    0.928449] eth0: PHY ID 00221611 at 1 IRQ POLL (stmmac-0:01) active
[    0.935262] ffb40000.usb supply vusb_d not found, using dummy regulator
[    0.941921] ffb40000.usb supply vusb_a not found, using dummy regulator
[    1.225353] dwc2 ffb40000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM
[    1.325742] dwc2 ffb40000.usb: DWC OTG Controller
[    1.330452] dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1
[    1.337516] dwc2 ffb40000.usb: irq 41, io mem 0x00000000
[    1.343072] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.349848] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.357047] usb usb1: Product: DWC OTG Controller
[    1.361732] usb usb1: Manufacturer: Linux 4.5.0-00183-g4647b69-dirty dwc2_hsotg
[    1.369016] usb usb1: SerialNumber: ffb40000.usb
[    1.374165] hub 1-0:1.0: USB hub found
[    1.377947] hub 1-0:1.0: 1 port detected
[    1.382544] usbcore: registered new interface driver usb-storage
[    1.388912] mousedev: PS/2 mouse device common for all mice
[    1.394776] i2c /dev entries driver
[    1.398719] usbcore: registered new interface driver uvcvideo
[    1.404442] USB Video Class driver (1.1.1)
[    1.408544] gspca_main: v2.14.0 registered
[    1.412684] usbcore: registered new interface driver benq
[    1.418129] usbcore: registered new interface driver conex
[    1.423641] usbcore: registered new interface driver cpia1
[    1.429166] usbcore: registered new interface driver dtcs033
[    1.434849] usbcore: registered new interface driver etoms
[    1.440374] usbcore: registered new interface driver finepix
[    1.446081] usbcore: registered new interface driver jeilinj
[    1.451767] usbcore: registered new interface driver jl2005bcd
[    1.457660] usbcore: registered new interface driver kinect
[    1.463259] usbcore: registered new interface driver konica
[    1.468869] usbcore: registered new interface driver mars
[    1.474306] usbcore: registered new interface driver mr97310a
[    1.480114] usbcore: registered new interface driver nw80x
[    1.485665] usbcore: registered new interface driver ov519
[    1.491179] usbcore: registered new interface driver ov534
[    1.496707] usbcore: registered new interface driver ov534_9
[    1.502407] usbcore: registered new interface driver pac207
[    1.508022] usbcore: registered new interface driver gspca_pac7302
[    1.514224] usbcore: registered new interface driver pac7311
[    1.519924] usbcore: registered new interface driver se401
[    1.525458] usbcore: registered new interface driver sn9c2028
[    1.531234] usbcore: registered new interface driver gspca_sn9c20x
[    1.537453] usbcore: registered new interface driver sonixb
[    1.543055] usbcore: registered new interface driver sonixj
[    1.548667] usbcore: registered new interface driver spca500
[    1.554350] usbcore: registered new interface driver spca501
[    1.560046] usbcore: registered new interface driver spca505
[    1.565743] usbcore: registered new interface driver spca506
[    1.571427] usbcore: registered new interface driver spca508
[    1.577134] usbcore: registered new interface driver spca561
[    1.582820] usbcore: registered new interface driver spca1528
[    1.588610] usbcore: registered new interface driver sq905
[    1.594122] usbcore: registered new interface driver sq905c
[    1.599737] usbcore: registered new interface driver sq930x
[    1.605354] usbcore: registered new interface driver sunplus
[    1.611038] usbcore: registered new interface driver stk014
[    1.616648] usbcore: registered new interface driver stk1135
[    1.622338] usbcore: registered new interface driver stv0680
[    1.628038] usbcore: registered new interface driver t613
[    1.633477] usbcore: registered new interface driver gspca_topro
[    1.639522] usbcore: registered new interface driver touptek
[    1.645202] usbcore: registered new interface driver tv8532
[    1.650813] usbcore: registered new interface driver vc032x
[    1.656422] usbcore: registered new interface driver vicam
[    1.661949] usbcore: registered new interface driver xirlink-cit
[    1.668019] usbcore: registered new interface driver gspca_zc3xx
[    1.674066] usbcore: registered new interface driver ALi m5602
[    1.679952] usbcore: registered new interface driver STV06xx
[    1.685663] usbcore: registered new interface driver gspca_gl860
[    1.692422] Bluetooth: HCI UART driver ver 2.3
[    1.696882] Bluetooth: HCI UART protocol H4 registered
[    1.701998] Bluetooth: HCI UART protocol BCSP registered
[    1.707334] Bluetooth: HCI UART protocol LL registered
[    1.712452] Bluetooth: HCI UART protocol ATH3K registered
[    1.717848] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.724164] Bluetooth: HCI UART protocol Intel registered
[    1.729624] Bluetooth: HCI UART protocol BCM registered
[    1.734829] Bluetooth: HCI UART protocol QCA registered
[    1.740146] usbcore: registered new interface driver bcm203x
[    1.745897] usbcore: registered new interface driver bpa10x
[    1.751512] usbcore: registered new interface driver bfusb
[    1.757078] usbcore: registered new interface driver btusb
[    1.762548] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    1.768296] Synopsys Designware Multimedia Card Interface Driver
[    1.774581] dw_mmc ff704000.dwmmc0: IDMAC supports 32-bit address mode.
[    1.781394] dw_mmc ff704000.dwmmc0: Using internal DMA controller.
[    1.787583] dw_mmc ff704000.dwmmc0: Version ID is 240a
[    1.792741] dw_mmc ff704000.dwmmc0: DW MMC controller at irq 30,32 bit host data width,1024 deep fifo
[    1.835392] dw_mmc ff704000.dwmmc0: 1 slots initialized
[    1.841009] ledtrig-cpu: registered to indicate activity on CPUs
[    1.847224] usbcore: registered new interface driver usbhid
[    1.852773] usbhid: USB HID core driver
[    1.856833] fpga_manager fpga0: Altera SOCFPGA FPGA Manager registered
[    1.863818] altera_hps2fpga_bridge ff400000.fpga-bridge: fpga bridge [lwhps2fpga] registered
[    1.872466] altera_hps2fpga_bridge ff500000.fpga-bridge: fpga bridge [hps2fpga] registered
[    1.880947] altera_hps2fpga_bridge ff600000.fpga-bridge: fpga bridge [fpga2hps] registered
[    1.889675] altera_fpga2sdram_bridge soc:fpga2sdram-bridge: fpga bridge [fpga2sdram] registered
[    1.898357] altera_fpga2sdram_bridge soc:fpga2sdram-bridge: driver initialized with handoff 00000000
[    1.907794] fpga-region soc:base-fpga-region: FPGA Region probed
[    1.914046] oprofile: no performance counters
[    1.918508] oprofile: using timer interrupt.
[    1.923835] NET: Registered protocol family 10
[    1.929063] sit: IPv6 over IPv4 tunneling driver
[    1.934268] NET: Registered protocol family 17
[    1.938743] NET: Registered protocol family 15
[    1.943172] can: controller area network core (rev 20120528 abi 9)
[    1.949389] NET: Registered protocol family 29
[    1.953821] can: raw protocol (rev 20120528)
[    1.958089] can: broadcast manager protocol (rev 20120528 t)
[    1.963731] can: netlink gateway (rev 20130117) max_hops=1
[    1.969497] Bluetooth: RFCOMM TTY layer initialized
[    1.974374] Bluetooth: RFCOMM socket layer initialized
[    1.979523] Bluetooth: RFCOMM ver 1.11
[    1.983271] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.988582] Bluetooth: BNEP filters: protocol multicast
[    1.993792] Bluetooth: BNEP socket layer initialized
[    1.998756] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.004655] Bluetooth: HIDP socket layer initialized
[    2.009666] 8021q: 802.1Q VLAN Support v1.8
[    2.013867] lib80211: common routines for IEEE802.11 drivers
[    2.019591] Key type dns_resolver registered
[    2.023943] ThumbEE CPU extension supported.
[    2.028223] Registering SWP/SWPB emulation handler
[    2.034119] of_cfs_init
[    2.036666] of_cfs_init: OK
[    2.041328] Bluetooth: Starting self testing
[    2.085351] usb 1-1: new high-speed USB device number 2 using dwc2
[    2.097751] Bluetooth: ECDH test passed in 50876 usecs
[    2.103948] Bluetooth: SMP test passed in 134 usecs
[    2.108870] Bluetooth: Finished self testing
[    2.113431] ttyS0 - failed to request DMA
[    2.117487] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    2.117520] Waiting for root device /dev/mmcblk0p2...
[    2.132287] mmc0: new high speed SDHC card at address b36c
[    2.138252] mmcblk0: mmc0:b36c SDABC 30.0 GiB
[    2.143713]  mmcblk0: p1 p2 p3
[    2.225780] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    2.295525] usb 1-1: New USB device found, idVendor=0424, idProduct=2512
[    2.302206] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.309957] hub 1-1:1.0: USB hub found
[    2.313816] hub 1-1:1.0: 2 ports detected
[    2.450577] EXT4-fs (mmcblk0p2): recovery complete
[    2.456318] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.464400] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.477897] devtmpfs: mounted
[    2.481304] Freeing unused kernel memory: 600K (c0a8e000 - c0b24000)
[    2.700821] systemd[1]: System time before build time, advancing clock.
[    2.721925] systemd[1]: Failed to insert module 'autofs4': No such file or directory
[    2.750264] random: systemd urandom read with 58 bits of entropy available
[    2.759785] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    2.778156] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.1 LTS!

[    2.816078] systemd[1]: Set hostname to <DE1_SoC>.
[    3.207584] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    3.225650] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    3.245557] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    3.265561] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    3.285724] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    3.305561] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    3.325467] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    3.345613] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    3.365471] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    3.385651] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    3.416756] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    3.435713] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    3.485790] systemd[1]: Starting Nameserver information manager...
         Starting Nameserver information manager...
[    3.507481] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    3.576219] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    3.597416] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    3.617216] systemd[1]: Starting Set console keymap...
         Starting Set console keymap...
[    3.647681] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    3.675946] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    3.695782] systemd[1]: Reached target User and Group Name Lookups.
[  OK  ] Reached target User and Group Name Lookups.
[    3.715593] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    3.735763] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    3.815900] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[    3.837510] systemd[1]: Started Read required files in advance.
[  OK  ] Started Read required files in advance.
[    3.871472] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    3.904989] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Set console keymap.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Nameserver information manager.
         Starting udev Kernel Device Manager...
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Tell Plymouth To Write Out Runtime Data...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Coldplug all Devices.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
         Starting Raise network interfaces...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Started ACPI Events Check.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Generic Board Startup...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[  OK  ] Started Regular background program processing daemon.
         Starting Permit User Sessions...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started ACPI event daemon.
         Starting System Logging Service...
         Starting Accounts Service...
         Starting LSB: Start busybox udhcpd at boot time...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Modem Manager...
         Starting Network Manager...
[  OK  ] Started Daily apt activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
         Starting Login Service...
         Starting Cape Manager Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started System Logging Service.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Generic Board Startup.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started Cape Manager Service.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started LSB: Start busybox udhcpd at boot time.
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
         Starting Network Manager Wait Online...
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Started ifup for eth0.
         Starting Light Display Manager...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Accounts Service.
[  OK  ] Started Modem Manager.
         Starting Hostname Service...
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Light Display Manager.
[  OK  ] Started Hostname Service.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Created slice User Slice of root.
         Starting User Manager for UID 0...
[  OK  ] Started Session c1 of user root.
[  OK  ] Started User Manager for UID 0.
         Starting Disk Manager...
[  OK  ] Started Disk Manager.
[  OK  ] Started Network Manager Wait Online.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Apache2 web server...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Hold until boot process finishes up...
[  OK  ] Started Hold until boot process finishes up.
[  OK  ] Started Getty on tty1.
         Starting Set console scheme...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Set console scheme.
[  OK  ] Started LSB: Apache2 web server.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Stop ureadahead data collection 45s after completed startup.
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.1 LTS DE1_SoC ttyS0

default username:password is [ubuntu:temppwd]

DE1_SoC login:

'embeded > FPGA - ALTERA' 카테고리의 다른 글

ghdl 사용해봄  (0) 2026.05.08
altera cyclone V HPS BOOTSEL, CLOCKSEL  (0) 2026.04.29
DE1-SOC getting started guide 따라하기  (0) 2026.04.28
nios II 단종  (0) 2026.03.22
de1-soc system builder 에서 hps 추가 후 빌드 실패  (0) 2026.03.21
Posted by 구차니
embeded/FPGA - ALTERA2026. 4. 29. 22:56

de1-soc 회로도를 보면 다음과 같이 연결되어 있다.

 

674 page

 

675~7 page

678 page

 

689 page

 

697 page

 

 

[링크 : https://www.intel.com/programmable/technical-pdfs/683126.pdf]

 

MSEL의 012는 BOOTSEL(BSEL)

MSEL의 34는 CLKSEL(CSEL) 인데

리눅스 부팅시에는

 - BSEL 5번 (HPS boot from FPGA)

 - CSEL 1번 (osc1_clk(10~12.5Mhz) / ID mode div 128 / Data transfer mode div 1 / mpu multi 32 / PLL Lock)

LXDE 부팅시에는

 - BSEL 7번 (QSPI boot)

 - CSEL 3번 ( osc1_clk(25~50Mhz)  / ID mode div 512/ Data transfer mode div 4 / mpu multi 8 / PLL Lock )

으로 해석하면 되려나?

 

그냥(?) 리눅스 셋팅 LXDE 셋팅

2026.04.28 - [embeded/FPGA - ALTERA] - DE1-SOC getting started guide 따라하기

'embeded > FPGA - ALTERA' 카테고리의 다른 글

ghdl 사용해봄  (0) 2026.05.08
DE1-SOC LXDE 부팅 완료  (0) 2026.05.02
DE1-SOC getting started guide 따라하기  (0) 2026.04.28
nios II 단종  (0) 2026.03.22
de1-soc system builder 에서 hps 추가 후 빌드 실패  (0) 2026.03.21
Posted by 구차니
embeded/FPGA - ALTERA2026. 4. 28. 21:19

메뉴얼과는 다르게 hps가 먼저 붙고 FPGA가 나중에 붙도록 수정되어 있다

[링크 : https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=886]

 

 

하라는대로 

CD(?) 내의 아래 경로에 sof 파일을 5CSEMA5 에 굽고

DE1-SoC_v.5.1.3_HWrevF.revG_SystemCD\Demonstrations\FPGA\my_first_fpga

 

전원을 껐다 켜주니

리눅스도 켜지고, 7seg 에서 숫자도 잘 돌아간다.

 

근데 이미지가 좀 잘못되었나.. (저에 멀 구었는지 기억이..)

starting kernel 에서 안넘어가네 -_-

 

+

메뉴얼을 보니 잘못된 이미지로 한 듯. 이전에 멀 구웠는지 까먹었는데

lxde 였던것 같기도 한데. MSEL을 다르게 설정하지 않아서 정상적으로 안켜진듯

3. Set the MSEL[4:0] on your DE1-SoC to 00000

 

아래 링크는 2026.04.28 까진 살아있음

[링크 : http://www.terasic.com/downloads/cd-rom/de1-soc/linux_BSP/DE1_SoC_SD.zip]

 

U-Boot SPL 2013.01.01 (Nov 04 2013 - 19:51:38)
BOARD : Altera SOCFPGA Cyclone V Board
SDRAM: Initializing MMR registers
SDRAM: Calibrating PHY
SEQ.C: Preparing to start memory calibration
SEQ.C: CALIBRATION PASSED
ALTERA DWMMC: 0


U-Boot 2013.01.01 (Oct 24 2013 - 17:40:22)

CPU   : Altera SOCFPGA Platform
BOARD : Altera SOCFPGA Cyclone V Board
DRAM:  1 GiB
MMC:   ALTERA DWMMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   mii0
Warning: failed to set MAC address

Hit any key to stop autoboot:  0
reading u-boot.scr
** Unable to read file u-boot.scr **
Optional boot script not found. Continuing to boot normally
reading zImage
3809104 bytes read in 1283 ms (2.8 MiB/s)
reading socfpga.dtb
17119 bytes read in 13 ms (1.3 MiB/s)
fpgaintf
ffd08028: 00000000    ....
fpga2sdram
ffc25080: 00000000    ....
axibridge
ffd0501c: 00000000    ....
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x00000100
   Loading Device Tree to 03ff8000, end 03fff2de ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Linux version 3.12.0-00307-g507abb4-dirty (root@matthew) (gcc version 4.6.3 (Sou             rcery CodeBench Lite 2012.03-57) ) #2 SMP Mon Jan 6 19:54:56 CST 2014
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Altera SOCFPGA, model: Altera SOCFPGA Cyclone V
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @80fd1000 s11328 r8192 d13248 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1031484K/1048576K available (5637K kernel code, 253K rwdata, 1424K rodat             a, 343K init, 256K bss, 17092K reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x806ed828   (7063 kB)
      .init : 0x806ee000 - 0x80743c40   ( 344 kB)
      .data : 0x80744000 - 0x807834f0   ( 254 kB)
       .bss : 0x807834f0 - 0x807c355c   ( 257 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
ftrace: allocating 17704 entries in 52 pages
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x8051f018 - 0x8051f070
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
NET: Registered protocol family 16
fpga bridge driver
DMA: preallocated 256 KiB pool for atomic coherent allocations
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410030c9, AUX_CTRL 0x32460000, Cache size: 512 kB
syscon fffef000.l2-cache: regmap [mem 0xfffef000-0xfffeffff] registered
syscon ffd05000.rstmgr: regmap [mem 0xffd05000-0xffd05fff] registered
syscon ffc25000.sdrctl: regmap [mem 0xffc25000-0xffc25fff] registered
syscon ff800000.l3regs: regmap [mem 0xff800000-0xff800fff] registered
syscon ffd08000.sysmgr: regmap [mem 0xffd08000-0xffd0bfff] registered
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
altera_hps2fpga_bridge fpgabridge.2: fpga bridge [hps2fpga] registered as device              hps2fpga
altera_hps2fpga_bridge fpgabridge.2: init-val not specified
altera_hps2fpga_bridge fpgabridge.3: fpga bridge [lshps2fpga] registered as devi             ce lwhps2fpga
altera_hps2fpga_bridge fpgabridge.3: init-val not specified
altera_hps2fpga_bridge fpgabridge.4: fpga bridge [fpga2hps] registered as device              fpga2hps
altera_hps2fpga_bridge fpgabridge.4: init-val not specified
bio: create slab <bio-0> at 0
FPGA Mangager framework driver
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@l             inux.it>
PTP clock support registered
Switched to clocksource timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
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.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
arm-pmu arm-pmu: PMU:CTI successfully enabled
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
NTFS driver 2.1.30 [Flags: R/W].
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 2014
io scheduler noop registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 194, base_baud = 6250000) is a              16550A
console [ttyS0] enabled
altera_fpga_manager ff706000.fpgamgr: fpga manager [Altera FPGA Manager] registe             red as minor 0
brd: module loaded
cadence-qspi ff705000.spi: DMA NOT enabled
cadence-qspi ff705000.spi: master is unqueued, this is deprecated
m25p80 spi2.0: unrecognized JEDEC id ffffff
cadence-qspi ff705000.spi: Cadence QSPI controller driver
dw_spi_mmio fff01000.spi: master is unqueued, this is deprecated
CAN device driver interface
c_can_platform ffc00000.d_can: invalid resource
c_can_platform ffc00000.d_can: control memory is not used for raminit
c_can_platform ffc00000.d_can: c_can_platform device registered (regs=c08e4000,              irq=163)
stmmac - user ID: 0x10, Synopsys ID: 0x37
 Ring mode enabled
 DMA HW capability register supported
 Enhanced/Alternate descriptors
        Enabled extended descriptors
 RX Checksum Offload Engine supported (type 2)
 TX Checksum insertion supported
 Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
eth0: PHY ID 00221611 at 1 IRQ 0 (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
Synopsys Designware Multimedia Card Interface Driver
dwmmc_socfpga ff704000.dwmmc0: Using internal DMA controller.
dwmmc_socfpga ff704000.dwmmc0: Version ID is 240a
dwmmc_socfpga ff704000.dwmmc0: DW MMC controller at irq 171, 32 bit host data wi             dth, 1024 deep fifo
mmc_host mmc0: Bus speed (slot 0) = 12500000Hz (slot req 400000Hz, actual 390625             HZ div = 16)
dwmmc_socfpga ff704000.dwmmc0: 1 slots initialized
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
dwmmc_socfpga ff704000.dwmmc0: data FIFO error (status=00000800)
mmc0: problem reading SD Status register.
mmc_host mmc0: Bus speed (slot 0) = 12500000Hz (slot req 12500000Hz, actual 1250             0000HZ div = 0)
mmc0: new high speed SDHC card at address 59b4
mmcblk0: mmc0:59b4       14.9 GiB
 mmcblk0: p1 p2 p3
dwc2 ffb40000.usb: DWC OTG Controller
dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1
dwc2 ffb40000.usb: irq 160, io mem 0x00000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 3.12.0-00307-g507abb4-dirty dwc2_hsotg
usb usb1: SerialNumber: ffb40000.usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
oprofile: using arm/armv7-ca9
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
ThumbEE CPU extension supported.
Registering SWP/SWPB emulation handler
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 340K (806ee000 - 80743000)
usb 1-1: new high-speed USB device number 2 using dwc2
INIT: version 2.88 booting
usb 1-1: New USB device found, idVendor=0424, idProduct=2512
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 2 ports detected
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... eth0: device MAC address 92:af:4f:06:84:db
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
Starting portmap daemon...
Sat Sep 28 04:37:00 UTC 2013
INIT: Entering runlevel: 5
Starting OpenBSD Secure Shell server: sshd
done.
Starting syslogd/klogd: done
Starting Lighttpd Web Server: lighttpd.
Starting blinking LED server
Stopping Bootlog daemon: bootlogd.
libphy: stmmac-0:01 - Link is Up - 1000/Full
stmmac: Energy-Efficient Ethernet initialized

Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3
 ttyS0

socfpga login: root
root@socfpga:~# uname -a
Linux socfpga 3.12.0-00307-g507abb4-dirty #2 SMP Mon Jan 6 19:54:56 CST 2014 armv7l GNU/Linux
root@socfpga:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 92:af:4f:06:84:db
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:592 (592.0 B)
          Interrupt:152 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@socfpga:~# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 0 (v7l)
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32             
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

processor       : 1
model name      : ARMv7 Processor rev 0 (v7l)
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32             
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : Altera SOCFPGA
Revision        : 0000
Serial          : 0000000000000000
root@socfpga:~# cat /proc/meminfo
MemTotal:        1031824 kB
MemFree:         1016496 kB
Buffers:             924 kB
Cached:             5220 kB
SwapCached:            0 kB
Active:             4316 kB
Inactive:           3028 kB
Active(anon):       1228 kB
Inactive(anon):       16 kB
Active(file):       3088 kB
Inactive(file):     3012 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 4 kB
Writeback:             0 kB
AnonPages:          1200 kB
Mapped:             1776 kB
Shmem:                44 kB
Slab:               5296 kB
SReclaimable:       1696 kB
SUnreclaim:         3600 kB
KernelStack:         368 kB
PageTables:          120 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      515912 kB
Committed_AS:      12020 kB
VmallocTotal:    1024000 kB
VmallocUsed:        1060 kB
VmallocChunk:    1018588 kB        
root@socfpga:~# free -h
             total         used         free       shared      buffers
Mem:       1031824        15396      1016428            0          924
-/+ buffers:              14472      1017352
Swap:            0            0            0
root@socfpga:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root              1007.9M    161.8M    794.9M  17% /
devtmpfs                503.7M      4.0K    503.6M   0% /dev
tmpfs                   503.8M     40.0K    503.8M   0% /var/volatile
tmpfs                   503.8M         0    503.8M   0% /media/ram
root@socfpga:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,user_xattr,barrier=1,data=             ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=515740k,nr_inodes=128935,mode=7             55)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /var/volatile type tmpfs (rw,relatime)
tmpfs on /media/ram type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)

 

요즘 256MB 짜리 메모리 가지고 놀다가 1GB 보니 겁나 커보이네 -_ㅠ

망할 메모리 수급 이슈 ㅠㅠ

 

그나저나 RGB 모니터가 없어서

RGB -> HDMI 컨버터 + HDMI to USB 캡쳐 이용해서 보는데 먼가 나온다.

 

프레임 버퍼도 없는데 멀로 출력한거지?

root@socfpga:~# ls -al /dev/fb*
ls: /dev/fb*: No such file or directory
root@socfpga:~# ls -al /dev/video*
ls: /dev/video*: No such file or directory

 

root@socfpga:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1316 S    init [5]
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u4:0]
    7 root         0 SW   [migration/0]
    8 root         0 SW   [rcu_bh]
    9 root         0 SW   [rcu_sched]
   10 root         0 SW   [migration/1]
   11 root         0 SW   [ksoftirqd/1]
   12 root         0 SW   [kworker/1:0]
   13 root         0 SW<  [kworker/1:0H]
   14 root         0 SW<  [khelper]
   15 root         0 SW   [kdevtmpfs]
   16 root         0 SW<  [netns]
   17 root         0 SW<  [writeback]
   18 root         0 SW<  [bioset]
   19 root         0 SW<  [kblockd]
   20 root         0 SW   [khubd]
   21 root         0 SW<  [rpciod]
   22 root         0 SW   [kworker/1:1]
   23 root         0 SW   [khungtaskd]
   24 root         0 SW   [kswapd0]
   25 root         0 SW   [fsnotify_mark]
   26 root         0 SW<  [nfsiod]
   27 root         0 SW   [kworker/u4:1]
   32 root         0 SW<  [ff705000.spi]
   35 root         0 SW<  [fff01000.spi]
   40 root         0 SW<  [kpsmoused]
   41 root         0 SW   [kworker/0:1]
   42 root         0 SW<  [dw-mci-card]
   43 root         0 SW   [mmcqd/0]
   44 root         0 SW<  [dwc2]
   45 root         0 SW<  [deferwq]
   46 root         0 SW   [kjournald]
  129 daemon    1460 S    /sbin/portmap
  148 root      3592 S    /usr/sbin/sshd
  152 root      1660 S    /sbin/syslogd -n -O /var/log/messages
  155 root      1660 S    /sbin/klogd -n
  159 root      1964 S    /usr/sbin/lighttpd -f /etc/lighttpd.conf
  164 root     10628 S    /www/pages/cgi-bin/scroll_server
  179 root      2500 S    -sh
  180 root      1564 S    /sbin/getty 38400 tty1
  193 root      1948 R    ps

 

root@socfpga:~# netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      129/portmap  
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      159/lighttpd 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      148/sshd     
tcp6       0      0 :::22                   :::*                    LISTEN      148/sshd

 

80 번 포트가 있는데 해보니 에러가 나서

 lighttpd.conf 보고 해당 경로 가서 파일 목록 보고 입력하니 정상적으로 뜬다.

 

22번 포트가 열려 있으니 ssh도 ok

 

문서 보는데 이 설정이 멀 의미하는지 찾아봐야겠다

그냥(?) 리눅스 셋팅 LXDE 셋팅

 

밑면의 실크에 따르면

MSEL[0:2] 가 BOOTSEL

MSEL[3:4]는 CLOCKSEL 이다.

'embeded > FPGA - ALTERA' 카테고리의 다른 글

DE1-SOC LXDE 부팅 완료  (0) 2026.05.02
altera cyclone V HPS BOOTSEL, CLOCKSEL  (0) 2026.04.29
nios II 단종  (0) 2026.03.22
de1-soc system builder 에서 hps 추가 후 빌드 실패  (0) 2026.03.21
fpga sdk for openCL  (0) 2026.03.18
Posted by 구차니
embeded/luckfox2026. 4. 27. 16:46

 

~/work/work/rockchip$ tree -L 1
.
├── luckfox-pico
├── luckfox_pico_rknn_example
└── rknn-toolkit2

$ export LUCKFOX_SDK_PATH=/home/minimonk/work/work/rockchip/luckfox-pico

$ cd luckfox_pico_rknn_example/

$ ./build.sh 
1) uclibc
2) glibc
Enter your choice [1-2]: 1
You selected: uclibc
你选择了: uclibc
1) luckfox_pico_retinaface_facenet    3) luckfox_pico_yolov5
2) luckfox_pico_retinaface_facenet_spidev
Enter your choice [1-3]: 2
You selected: luckfox_pico_retinaface_facenet_spidev
你选择了: luckfox_pico_retinaface_facenet_spidev
1) LUCKFOX_PICO_PLUS
2) LUCKFOX_PICO_PRO_MAX
Enter your choice [1-2]: 1

~/work/work/rockchip/luckfox_pico_rknn_example$ find ./ -name model
./scripts/luckfox_onnx_to_rknn/model
./example/luckfox_pico_yolov5/model
./example/luckfox_pico_retinaface_facenet_spidev/model
./example/luckfox_pico_retinaface_facenet/model
./install/uclibc/luckfox_pico_retinaface_facenet_demo/model
./install/uclibc/luckfox_pico_retinaface_facenet_spidev_plus_demo/model
./install/uclibc/luckfox_pico_yolov5_demo/model
./install/uclibc/luckfox_pico_retinaface_facenet_spidev_pro_max_demo/model
./install/glibc/luckfox_pico_retinaface_facenet_demo/model
./install/glibc/luckfox_pico_retinaface_facenet_spidev_plus_demo/model
./install/glibc/luckfox_pico_yolov5_demo/model
./install/glibc/luckfox_pico_retinaface_facenet_spidev_pro_max_demo/model

~/work/work/rockchip/luckfox_pico_rknn_example/example/luckfox_pico_retinaface_facenet_spidev/model$ ls -al
합계 4128
drwxrwxr-x 2 minimonk minimonk    4096  4월 27 16:43 .
drwxrwxr-x 5 minimonk minimonk    4096  4월 27 16:43 ..
-rwxrwxr-x 1 minimonk minimonk  651491  4월 27 16:43 RetinaFace.rknn
-rwxrwxr-x 1 minimonk minimonk 3557710  4월 27 16:43 mobilefacenet.rknn
-rwxrwxr-x 1 minimonk minimonk    2143  4월 27 16:43 test.jpg

 

빌드해서 넣으면 인자로 여러가지 파일들을 넣으라는데, 위의 model 경로에서 복사하면 된다.

[root@luckfox root]# ./luckfox_pico_retinaface_facenet_spidev 
opencv-mobile MIPI CSI camera with v4l2 rkaiq
opencv-mobile HW JPG encoder with rk mpp
./luckfox_pico_retinaface_facenet_spidev <retinaface model_path> <facenet model_path> <reference pic_path>

 

LCD가 없으니 확인을 못하겠다 -_-

[root@luckfox root]# ./luckfox_pico_retinaface_facenet_spidev RetinaFace.rknn mobilefacenet.rknn test.jpg
opencv-mobile MIPI CSI camera with v4l2 rkaiq
opencv-mobile HW JPG encoder with rk mpp
Stop Application ...
killall: rkipc: no process killed
rkipc exit
ls: /oem/usr/etc/init.d/S??*: No such file or directory
Screen OFF!
init retinaface
init facenet
Retinaface Info
model input num: 1, output num: 3
input tensors:
  index=0, name=input.1, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1228800, fmt=NHWC, type=INT8,0
[  285.380267] venc_release 51
output tensors:
[ 2605.777774] stream_cif_mipi_id0: s_power 1, entity use_count 1
  index=0, name=515, n_dims=3, dims=[1, 16800, 4, 0], n_elems=67200, size=67200, fmt=UNDEFINED, type=INT8, qn1
  index=1, name=553, n_dims=3, dims=[1, 16800, 2, 0], n_elems=33600, size=33600, fmt=UNDEFINED, type=INT8, qn6
  index=2, name=592, n_dims=3, dims=[1, 16800, 10, 0], n_elems=168000, size=168000, fmt=UNDEFINED, type=INT8,4
input_attrs[0].size_with_stride=1228800
output mem [0] = 67200 
output mem [1] = 33600 
output mem [2] = 168000 
model is NHWC input fmt
Facenet Info
model input num: 1, output num: 1
input tensors:
  index=0, name=input.1, n_dims=4, dims=[1, 160, 160, 3], n_elems=76800, size=76800, fmt=NHWC, type=INT8, qnt2
output tensors:
  index=0, name=313, n_dims=2, dims=[1, 128, 0, 0], n_elems=128, size=128, fmt=UNDEFINED, type=INT8, qnt_type5
input_attrs[0].size_with_stride=76800
output mem [0] = 128 
Init success 
   devpath = /dev/video11
   driver = rkisp_v7
   card = rkisp_mainpath
   bus_info = platform:rkisp-vir0
   version = 20500
   capabilities = 84201000
   device_caps = 4201000
   fmt = UYVY 4:2:2  59565955
   fmt = Y/CbCr 4:2:2  3631564e
   fmt = Y/CrCb 4:2:2  3136564e
   fmt = Y/CrCb 4:2:0  3132564e
       size = 32 x 32  ~  2304 x 1296  (+8 +8)
[ 2605.912726] stream_cif_mipi_id0: open video, entity use_countt 2
   fmt = Y/CbCr 4:2:0  3231564e
[ 2605.912833] stream_cif_mipi_id1: open video, entity use_countt 1
   fmt = Y/CrCb 4:2:0 (N-C)  31324d4e
[ 2605.919858] rkisp rkisp-vir0: first params buf queue
   fmt = Y/CbCr 4:2:0 (N-C)  32314d4e
[ 2605.922766] rkisp_hw ffa00000.rkisp: set isp clk = 198000000Hz
rkaiq log level ff1
[ 2605.924587] rkcif-mipi-lvds: stream[0] start streaming
XCORE:K:rk_aiq_init_lib, ISP HW ver: 32
[ 2605.924712] rockchip-mipi-csi2 mipi0-csi2: stream on, src_sd: ec2bbf4f, sd_name:rockchip-csi2-dphy0
XCORE:K:
[ 2605.924726] rockchip-mipi-csi2 mipi0-csi2: stream ON
************************** VERSION INFOS **************************
[ 2605.924777] rockchip-csi2-dphy0: dphy0, data_rate_mbps 510
version release date: 2024-2-18
[ 2605.924811] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0, ret 0
         AIQ:       AIQ v5.0x5.0

git logs:
25bd14e RV1106: smart_door: release rga/isp/mpp for V1.3.0
99d080a RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.2
6458e2a RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.1
e8dab39 RV1106: CVR: release rga/isp/mpp for V1.1.0
a021b32 RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.0

************************ VERSION INFOS END ************************

XCORE:K:rk_aiq_uapi_sysctl_preInit_scene: main_scene: normal, sub_scene: day
XCORE:E:invalid main scene len!

IPCSERVER:K:cid[0] Process path:/tmp/UNIX.domain0, sockfd:26
XCORE:K:cid[0] rk_aiq_uapi_sysctl_init success. iq:/oem/usr/share/iqfiles/sc3336_CMK-OT2119-PC1_30IRC-F16.json
XCORE:K:cid[0] rk_aiq_uapi_sysctl_prepare success. mode:0 
/dev/video11 does not support changing fps
rga_api version 1.10.1_[0]
CAMHW:K:cid[0] start success. isGroup:0, isOnline:1, isMultiIsp:0, init_ens:0x1bfc0ffc4739
XCORE:K:cid[0] rk_aiq_uapi_sysctl_start success.
CAMHW:K:camId:0, notify_isp_stream_status on

 

[링크 : https://github.com/LuckfoxTECH/luckfox_pico_rknn_example.git]

  [링크 : https://wiki.luckfox.com/Luckfox-Pico-Ultra/RKNN]

  [링크 : https://github.com/LuckfoxTECH/luckfox-pico]

 

rtsp로 전송

~/work/work/rockchip/luckfox_pico_rkmpi_example$ ./build.sh 
1) uclibc
2) glibc
Enter your choice [1-2]: 1
You selected: uclibc
你选择了: uclibc
1) luckfox_pico_rtsp_opencv      4) luckfox_pico_rtsp_retinaface_osd
2) luckfox_pico_rtsp_opencv_capture  5) luckfox_pico_rtsp_yolov5
3) luckfox_pico_rtsp_retinaface
Enter your choice [1-5]: 3

 

아놔.. 파일명도 달라지고 경로는 고정이고! 너무하네!

[root@luckfox root]# ./luckfox_pico_rtsp_retinaface
Stop Application ...
killall: rkipc: no process killed
killall: udhcpc: no process killed
rkipc exit
ls: /oem/usr/etc/init.d/S??*: No such file or directory
E RKNN: failed to open model: ./model/retinaface.rknn
rknn_init fail! ret=-1

 

아무튼 실행하면 vlc 통해서 300msec 정도 버퍼링은 해주어야 정상적으로 나온다.

100msec 하면 첫 프레임만 뜨고 그 이후로 멈춰버리는 듯.

[root@luckfox root]# ./luckfox_pico_rtsp_retinaface
Stop Application ...
killall: rkipc: no process killed
killall: udhcpc: no process killed
rkipc exit
ls: /oem/usr/etc/init.d/S??*: No such file or directory
model input num: 1, output num: 3
input tensors:
  index=0, name=input.1, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1228800, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=1.000000
output tensors:
  index=0, name=515, n_dims=3, dims=[1, 16800, 4, 0], n_elems=67200, size=67200, fmt=UNDEFINED, type=INT8, qnt_type=AFFINE, zp=-125, scale=1.951411
  index=1, name=553, n_dims=3, dims=[1, 16800, 2, 0], n_elems=33600, size=33600, fmt=UNDEFINED, type=INT8, qnt_type=AFFINE, zp=-2, scale=0.243586
  index=2, name=592, n_dims=3, dims=[1, 16800, 10, 0], n_elems=168000, size=168000, fmt=UNDEFINED, type=INT8, qnt_type=AFFINE, zp=-119, scale=1.485194
input_attrs[0].size_with_stride=1228800
output mem [0] = 67200 
output mem [1] = 33600 
output mem [2] = 168000 
model is NHWC input fmt
model input height=640, width=640, channel=3
Create Pool success !
rkaiq log level ff1
XCORE:K:rk_aiq_init_lib, ISP HW ver: 32
XCORE:K:
************************** VERSION INFOS **************************
version release date: 2024-2-18
         AIQ:       AIQ v5.0x5.0

git logs:
25bd14e RV1106: smart_door: release rga/isp/mpp for V1.3.0
99d080a RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.2
6458e2a RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.1
e8dab39 RV1106: CVR: release rga/isp/mpp for V1.1.0
a021b32 RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.0

************************ VERSION INFOS END ************************

ID: 0, sensor_name is m00_b_sc3336 4-0030, iqfiles is /etc/iqfiles
XCORE:K:rk_aiq_uapi_sysctl_preInit_devBufCnt: dev_ent:rkraw_rx, buf_cnt:2
XCORE:E:invalid main scene len!

IPCSERVER:K:cid[0] Process path:/tmp/UNIX.domain0, sockfd:22
XCORE:K:cid[0] rk_aiq_uapi_sysctl_init success. iq:/etc/iqfiles/sc3336_CMK-OT2119-PC1_30IRC-F16.json
XCORE:K:cid[0] rk_aiq_uapi_sysctl_prepare success. mode:0 
rk_aiq_uapi2_sysctl_init/prepare succeed
CAMHW:K:cid[0] start success. isGroup:0, isOnline:1, isMultiIsp:0, init_ens:0x1bfc0ffc4739
XCORE:K:cid[0] rk_aiq_uapi_sysctl_start success.
rk_aiq_uapi2_sysctl_start succeed
rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
log_file = (nil) 
RTVersion        16:42:27-552 {dump              :064} ---------------------------------------------------------
RTVersion        16:42:27-553 {dump              :065} rockit version: git-4720dc10a Tue Apr 30 15:47:55 2024 +0800
RTVersion        16:42:27-554 {dump              :066} rockit building: built- 2024-04-30 15:53:43
RTVersion        16:42:27-555 {dump              :067} ---------------------------------------------------------
(null)           16:42:27-555 {log_level_init    :207} 

 please use echo name=level > /tmp/rt_log_level set log level 
name: all cmpi mb sys vdec venc rgn vpss vgs tde avs wbc vo vi ai ao aenc adec
log_level: 0 1 2 3 4 5 6 

rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
(null)           16:42:27-555 {read_log_level    :098} text is all=4
(null)           16:42:27-556 {read_log_level    :100} module is all, log_level is 4
[INFO  rtsp_demo.c:280:rtsp_new_demo] rtsp server demo starting on port 554
(null)           16:42:27-561 {monitor_log_level :149} #Start monitor_log_level thread, arg:(nil)
[DEBUG rtsp_demo.c:480:rtsp_new_session] add session path: /live/0
rtsp streamq_alloc size is 1753484
vi_dev_init
RKViDev          16:42:27-563 {vi_set_dev_attr   :612} VI_DEV_ATTR_S all parameter reserved
RTIsp3x          16:42:27-565 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
RTDeviceSensorV4 16:42:27-567 {ispOpenDevice     :502} v4l2_open(/dev/video0), handler=55
RTDeviceSensorV4 16:42:27-568 {ispOpenDevice     :502} v4l2_open(/dev/v4l-subdev2), handler=57
RTDeviceSensorV4 16:42:27-568 {close             :112} do RTDeviceSensorV4L2 close
RTDeviceSensorV4 16:42:27-569 {close             :112} do RTDeviceSensorV4L2 close
RKViChn          16:42:27-570 {prepareRuntime    :354} ---------------------------------------------------------
RKViChn          16:42:27-570 {prepareRuntime    :356} vi version: 1.22, name:vvi
RKViChn          16:42:27-572 {prepareRuntime    :357} rockit-ko version: vmpi:28ee389dbc33
RKViChn          16:42:27-572 {prepareRuntime    :358} rockit-ko building: -2024-05-24-18:15:06
RKViChn          16:42:27-573 {prepareRuntime    :359} ---------------------------------------------------------
cmpi             16:42:27-573 {prepareRuntime    :378} mb pool create success, MBCnt= 2
RTIsp3x          16:42:27-575 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
cmpi             16:42:27-576 {createRuntime     :634} >>>>>>>>> Sensor link info dump: <<<<<<<<<
cmpi             16:42:27-577 {createRuntime     :636}   vicap media name           : /dev/media0
cmpi             16:42:27-577 {createRuntime     :637}   vicap model name           : rkcif-mipi-lvds
cmpi             16:42:27-577 {createRuntime     :638}   camera id                  : 0
cmpi             16:42:27-578 {createRuntime     :639}   sensor name                : m00_b_sc3336 4-0030
cmpi             16:42:27-578 {createRuntime     :641}   stream_cif_mipi_id0 video name: /dev/video0
cmpi             16:42:27-578 {createRuntime     :642}   stream_cif_mipi_id1 video name: /dev/video1
cmpi             16:42:27-578 {createRuntime     :643}   stream_cif_mipi_id2 video name: /dev/video2
cmpi             16:42:27-579 {createRuntime     :644}   stream_cif_mipi_id3 video name: /dev/video3
cmpi             16:42:27-580 {createRuntime     :646}   sensor raw width           : 2304
cmpi             16:42:27-580 {createRuntime     :647}   sensor raw height          : 1296
cmpi             16:42:27-580 {createRuntime     :648} ---------------------------------------------------------
cmpi             16:42:27-580 {createRuntime     :654}   isp media name           : /dev/media1
cmpi             16:42:27-580 {createRuntime     :655}   isp model name           : rkisp0
cmpi             16:42:27-581 {createRuntime     :656}   isp driver name          : rkisp-vir0
cmpi             16:42:27-581 {createRuntime     :657}   isp dev name             : /dev/v4l-subdev3
cmpi             16:42:27-581 {createRuntime     :659}   isp rawrd0_m_path        : /dev/video17
cmpi             16:42:27-581 {createRuntime     :660}   isp rawrd1_l_path        : 
cmpi             16:42:27-582 {createRuntime     :661}   isp rawrd2_s_path        : /dev/video18
cmpi             16:42:27-582 {createRuntime     :664}   mainpath video name      : /dev/video11
cmpi             16:42:27-582 {createRuntime     :665}   selfpath video name      : /dev/video12
cmpi             16:42:27-582 {createRuntime     :666}   bypasspath video name    : /dev/video13
cmpi             16:42:27-582 {createRuntime     :667}   sensor link type         : 2
cmpi             16:42:27-582 {createRuntime     :668}   sensor is united         : 0
cmpi             16:42:27-583 {createRuntime     :672} ---------------------------------------------------------
cmpi             16:42:27-583 {createRuntime     :711} [non-WRAP MODE]: buff size = 518400
RTIsp3x          16:42:27-586 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
RTDeviceV4L2     16:42:27-587 {open              :137} cameraIndex:0, entityName:rkisp_mainpath
RTDeviceV4L2     16:42:27-588 {open              :143} open video name(/dev/video11)
RKViChn          16:42:27-589 {setFrameRate      :1469} [vi] dev(0) ch(0) illegal param s32SrcFrameRate(0) s32DstFrameRate(0)
RTDeviceV4L2     16:42:27-590 {ispCameraInfo     :567} current device:/dev/video11 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
RTDeviceV4L2     16:42:27-590 {ispInitFormat     :767} ioctl VIDIOC_S_FMT OK
cmpi             16:42:27-590 {start             :1093} =========== vi Start startRuntime ===========
RTDeviceV4L2     16:42:27-591 {ispStreamOn       :458} do ispStreamOn start
CAMHW:K:camId:0, notify_isp_stream_status on
RTDeviceV4L2     16:42:27-616 {ispStreamOn       :511} do ispStreamOn done
venc_init
MpiAdapterEncode 16:42:27-617 {ma_encode_create  :1743} ringbuf buf_size 520192
=== 0 ===
MpiAdapterEncode 16:42:27-621 {ma_encode_create  :1782} mem_fd = 61
init success
cmpi             16:42:27-652 {mb_get_buffer_by_i:433} allocated buffer(this=0x3cd938, data=(nil), size=0, id=-1)
cmpi             16:42:27-653 {getFrameRuntime   :1347} -------------------------------vviBuf->buf_size: 520192
=== 1 ===
MpiAdapterEncode 16:42:27-743 {ma_encode_get_pack:2079} map ptr: 0xa44ee000, fd 63
[DEBUG utils.c:134:rtsp_codec_data_parse_from_user_h264] sps 29
[DEBUG utils.c:142:rtsp_codec_data_parse_from_user_h264] pps 4
cmpi             16:42:27-745 {mb_get_buffer_by_i:433} allocated buffer(this=0x4fc440, data=(nil), size=0, id=-1)
cmpi             16:42:27-745 {getFrameRuntime   :1347} -------------------------------vviBuf->buf_size: 520192

 

facenet만으로 얼굴 영역만 탐지. 1TOPS라 그런가 제법 빠르게 반응하는 느낌

 

CPU는 대충 65% 정도.. rtsp 부하인가?

 

[링크 : https://wiki.luckfox.com/Luckfox-Pico-Ultra/MPI/]

'embeded > luckfox' 카테고리의 다른 글

luckfox 카메라 모션 디텍트 끄기  (0) 2026.04.27
luckfox rv1106 riscv  (0) 2026.04.24
luckfox rv1106 rockchip RNN  (0) 2026.04.24
luckfox csi 카메라 테스트  (0) 2026.04.23
luckfox pico ultra W 켜봄  (0) 2026.04.22
Posted by 구차니
embeded/luckfox2026. 4. 27. 16:38

카메라 달아놓고 csi 활성화 해두고 리부팅 하면

이런 MD 라는 메시지가 뜨는데 카메라 앞에서 손을 흔들거나 하면 뜬다.

[video.c][rkipc_ivs_get_results]:MD: md_area is 492544, md_area_threshold is 155520
[video.c][rkipc_ivs_get_results]:MD: md_area is 183296, md_area_threshold is 155520

 

일단 rkipc 라는 녀석을 죽이니 vlc 접속은 되는데 영상을 못받아 오는것 같다.

# ps -ef  | grep rkipc
root      458    1  8 15:20 ?        00:00:47 rkipc -a /oem/usr/share/iqfiles
root     3666 1294  0 15:30 ttyFIQ0  00:00:00 grep rkipc

# ls -al /oem/usr/share/iqfiles
total 25804
drwxrwxr-x   11 1005     1005          4096 Jun  9  2025 .
drwxrwxr-x    5 1005     1005          4096 Jun  7  2025 ..
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_os04a10_2CD3T47F(D)WDA3_40IRC-F10
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_sc200ai_CMK-OT2115-PC1_30IRC-F16
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_sc3336_CMK-OT2119-PC1_30IRC-F16
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_sc4336_CMK-OT01_40IRC-F16
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_sc4336_CMK-OT2117-PC1_30IRC-F16
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_sc4336_OT01_40IRC_F16
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_sc500ai_CMK-OT1607-FV1_40IRC-F16
drwxrwxr-x    2 1005     1005          4096 May 20  2025 CAC_sc530ai_CMK-OT2115-PC1_30IRC-F16
-rwxrwxr-x    1 1005     1005        287652 May 20  2025 FakeCamera0.bin
-rw-rw-r--    1 1005     1005        980987 May 20  2025 FakeCamera0.json
drwxrwxr-x    2 1005     1005          4096 Jun  9  2025 ainr
-rwxrwxr-x    1 1005     1005        148196 May 20  2025 gc1084_SV-SMSM50S_80IR-F20.bin
-rw-rw-r--    1 1005     1005        358690 May 20  2025 gc1084_SV-SMSM50S_80IR-F20.json
-rwxrwxr-x    1 1005     1005        269616 May 20  2025 gc2053_CMK-OT2274-V10_28IRC-F20.bin
-rw-rw-r--    1 1005     1005        868999 May 20  2025 gc2053_CMK-OT2274-V10_28IRC-F20.json
-rwxrwxr-x    1 1005     1005        267792 May 20  2025 gc2093_SIDA209300461_60IRC_F20.bin
-rw-rw-r--    1 1005     1005        867815 May 20  2025 gc2093_SIDA209300461_60IRC_F20.json
-rwxrwxr-x    1 1005     1005        180472 May 20  2025 gc4023_CMK-OT2117-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        457670 May 20  2025 gc4023_CMK-OT2117-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        259036 May 20  2025 gc4653_CMK-OT2117-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        840723 May 20  2025 gc4653_CMK-OT2117-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        166884 May 20  2025 gc4653_YT10120_30IRC-4M-F20.bin
-rw-rw-r--    1 1005     1005        444982 May 20  2025 gc4653_YT10120_30IRC-4M-F20.json
-rwxrwxr-x    1 1005     1005        194540 May 20  2025 imx415_CMK-OT2022-PX1_IR0147-36IRC-8M-F20.bin
-rw-rw-r--    1 1005     1005        451241 May 20  2025 imx415_CMK-OT2022-PX1_IR0147-36IRC-8M-F20.json
-rwxrwxr-x    1 1005     1005        288552 May 20  2025 jx_k17_T3801-A_22IRC-5M-F18.bin
-rw-rw-r--    1 1005     1005        939673 May 20  2025 jx_k17_T3801-A_22IRC-5M-F18.json
-rwxrwxr-x    1 1005     1005        181168 May 20  2025 mis2032_CMK-OT2115-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        456614 May 20  2025 mis2032_CMK-OT2115-PC1_30IRC-F16.json
-rw-rw-r--    1 1005     1005        451183 May 20  2025 mis5001_CMK-OT2115-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        291372 May 20  2025 os02h10_CMK-OT2115-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        887689 May 20  2025 os02h10_CMK-OT2115-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        290644 May 20  2025 os02k10_CMK-OT2115-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        881264 May 20  2025 os02k10_CMK-OT2115-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        250068 May 20  2025 os04a10_2CD3T47FDWDA3_40IRC-F10.bin
-rw-rw-r--    1 1005     1005        864066 May 20  2025 os04a10_2CD3T47FDWDA3_40IRC-F10.json
-rwxrwxr-x    1 1005     1005        249620 May 20  2025 os04a10_CMK-OT1607-PV1_50IRC-F16.bin
-rw-rw-r--    1 1005     1005        860090 May 20  2025 os04a10_CMK-OT1607-PV1_50IRC-F16.json
-rwxrwxr-x    1 1005     1005        173420 May 20  2025 sc031gs_CMK-HRG537A5-H211_12IR-F24.bin
-rw-rw-r--    1 1005     1005        434438 May 20  2025 sc031gs_CMK-HRG537A5-H211_12IR-F24.json
-rwxrwxr-x    1 1005     1005        279172 May 20  2025 sc200ai_CMK-OT2115-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        879334 May 20  2025 sc200ai_CMK-OT2115-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        277956 May 20  2025 sc230ai_CMK-OT2115-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        882050 May 20  2025 sc230ai_CMK-OT2115-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        277956 May 20  2025 sc230ai_CMK-OT2350-PC1_65IRC-F16.bin
-rw-rw-r--    1 1005     1005        881996 May 20  2025 sc230ai_CMK-OT2350-PC1_65IRC-F16.json
-rwxrwxr-x    1 1005     1005        279972 May 20  2025 sc231hai_CMK-OT2115-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        888559 May 20  2025 sc231hai_CMK-OT2115-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        279172 May 20  2025 sc301iot_CMK-OT2349-PC1_65IRC-F20.bin
-rw-rw-r--    1 1005     1005        878962 May 20  2025 sc301iot_CMK-OT2349-PC1_65IRC-F20.json
-rwxrwxr-x    1 1005     1005        171728 May 20  2025 sc3336_CMK-OT2119-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        432259 May 20  2025 sc3336_CMK-OT2119-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        235828 May 20  2025 sc3338_FKO1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        774078 May 20  2025 sc3338_FKO1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        181808 May 20  2025 sc401ai_CMK-OT2117-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        460538 May 20  2025 sc401ai_CMK-OT2117-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        149968 May 20  2025 sc4336_CMK-OT2117-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        362699 May 20  2025 sc4336_CMK-OT2117-PC1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        221500 May 20  2025 sc4336_OT01_40IRC_F16.bin
-rw-rw-r--    1 1005     1005        617817 May 20  2025 sc4336_OT01_40IRC_F16.json
-rwxrwxr-x    1 1005     1005        297964 May 20  2025 sc500ai_CMK-OT1607-FV1_40IRC-F16.bin
-rw-rw-r--    1 1005     1005       1083295 May 20  2025 sc500ai_CMK-OT1607-FV1_40IRC-F16.json
-rwxrwxr-x    1 1005     1005        231996 May 20  2025 sc501ai_FKO1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        864644 May 20  2025 sc501ai_FKO1_30IRC-F16.json
-rwxrwxr-x    1 1005     1005        230180 May 20  2025 sc530ai_CMK-OT2115-PC1_30IRC-F16.bin
-rw-rw-r--    1 1005     1005        863030 May 20  2025 sc530ai_CMK-OT2115-PC1_30IRC-F16.json

 

음.. 이래서 다시 기동해도 rtsp는 정상작동하지 않는거였나?

# rkipc -a /oem/usr/share/iqfiles
[common.c][rkipc_version_dump]:rkipc version: unknown rkipc version for missing VCS info
[common.c][rkipc_version_dump]:rkipc info: unknown rkipc build info
[common.c][rkipc_version_dump]:rkipc type: COMPILE_FOR_RV1106_IPC
[rkipc.c][main]:rkipc_ini_path_ is (null), rkipc_iq_file_path_ is /oem/usr/share/iqfiles, rkipc_log_level is 2
[param.c][rk_param_init]:g_ini_path_ is /userdata/rkipc.ini
[isp.c][rk_isp_init]:g_iq_file_dir_ is /oem/usr/share/iqfiles
[isp.c][rk_isp_init]:cam_id is 0, hdr_mode is close, scenario is normal
rkaiq log level ff1
[network.c][ntp_client_thread]:refresh_time_s is 60, ntp_server is 119.28.183.184
[network.c][rk_net_proc]:Creat rk_net_proc thread!
XCORE:K:rk_aiq_init_lib, ISP HW ver: 32
XCORE:K:
************************** VERSION INFOS **************************
version release date: 2024-2-18
         AIQ:       AIQ v5.0x5.0

git logs:
25bd14e RV1106: smart_door: release rga/isp/mpp for V1.3.0
99d080a RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.2
6458e2a RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.1
e8dab39 RV1106: CVR: release rga/isp/mpp for V1.1.0
a021b32 RV1106/RV1103: Battery/Doorbell: release kmpp/rockit-ko for V1.3.0

************************ VERSION INFOS END ************************

[isp.c][sample_common_isp_init]:ID: 0, sensor_name is m00_b_sc3336 4-0030, iqfiles is /oem/usr/share/iqfiles
XCORE:K:rk_aiq_uapi_sysctl_preInit_devBufCnt: dev_ent:rkraw_rx, buf_cnt:2
[isp.c][sample_common_isp_init]:main_scene is normal, sub_scene is day
[isp.c][sample_common_isp_init]:15:32:56.333948: rk_aiq_uapi2_sysctl_preInit_scene begin
XCORE:K:rk_aiq_uapi_sysctl_preInit_scene: main_scene: normal, sub_scene: day
[isp.c][sample_common_isp_init]:15:32:56.334514: rk_aiq_uapi2_sysctl_preInit_scene over
XCORE:E:invalid main scene len!

IPCSERVER:K:cid[0] Process path:/tmp/UNIX.domain0, sockfd:14
XCORE:K:cid[0] rk_aiq_uapi_sysctl_init success. iq:/oem/usr/share/iqfiles/sc3336_CMK-OT2119-PC1_30IRC-F16.json
[isp.c][sample_common_isp_init]:15:32:56.477866: rk_aiq_uapi2_sysctl_init over
XCORE:K:cid[0] rk_aiq_uapi_sysctl_prepare success. mode:0 
[isp.c][sample_common_isp_run]:15:32:56.485777: rk_aiq_uapi2_sysctl_prepare succeed
CAMHW:K:cid[0] start success. isGroup:0, isOnline:1, isMultiIsp:0, init_ens:0x1bfc0ffc4739
XCORE:K:cid[0] rk_aiq_uapi_sysctl_start success.
[isp.c][sample_common_isp_run]:15:32:56.489521: rk_aiq_uapi2_sysctl_start succeed
Possible failure in int write 0 to /sys/class/gpio/gpio36/value
failed to open /sys/class/pwm/pwmchip3/export
[isp.c][rk_isp_set_light_strength]:pwm3 init failed -2
[isp.c][rk_isp_set_blc_strength]:blc mode is not enabled
[isp.c][rk_isp_set_hlc_level]:hlc mode is not enabled
[isp.c][rk_isp_set_white_blance_red]:white blance is auto, not support set gain
[isp.c][rk_isp_set_white_blance_green]:white blance is auto, not support set gain
[isp.c][rk_isp_set_white_blance_blue]:white blance is auto, not support set gain
ALDCH:E:uapi want to disalbe ldch, but ldch has been disalbed!
ALDCH:E:uapi want to disalbe ldch, but ldch has been disalbed!
rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
log_file = (nil) 
RTVersion        15:32:56-607 {dump              :064} ---------------------------------------------------------
RTVersion        15:32:56-608 {dump              :065} rockit version: git-4720dc10a Tue Apr 30 15:47:55 2024 +0800
RTVersion        15:32:56-608 {dump              :066} rockit building: built- 2024-04-30 15:53:43
RTVersion        15:32:56-608 {dump              :067} ---------------------------------------------------------
(null)           15:32:56-609 {log_level_init    :207} 

 please use echo name=level > /tmp/rt_log_level set log level 
name: all cmpi mb sys vdec venc rgn vpss vgs tde avs wbc vo vi ai ao aenc adec
log_level: 0 1 2 3 4 5 6 

rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
(null)           15:32:56-609 {read_log_level    :098} text is all=4
(null)           15:32:56-609 {read_log_level    :100} module is all, log_level is 4
RKSockServer     15:32:56-610 {initNetServer     :088} bind failed, reason: Address already in use
[video.c][rk_video_init]:enable_jpeg is 1, enable_venc_0 is 1, enable_venc_1 is 1, enable_rtsp is 1, enable_rtmp is 0
(null)           15:32:56-614 {monitor_log_level :149} #Start monitor_log_level thread, arg:(nil)
RKViDev          15:32:56-617 {vi_set_dev_attr   :612} VI_DEV_ATTR_S all parameter reserved
RTIsp3x          15:32:56-619 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
RTDeviceSensorV4 15:32:56-622 {ispOpenDevice     :502} v4l2_open(/dev/video0), handler=45
RTDeviceSensorV4 15:32:56-623 {ispOpenDevice     :502} v4l2_open(/dev/v4l-subdev2), handler=47
RTDeviceSensorV4 15:32:56-623 {close             :112} do RTDeviceSensorV4L2 close
RTDeviceSensorV4 15:32:56-624 {close             :112} do RTDeviceSensorV4L2 close
[ERROR rtsp_demo.c:264:rtsp_new_demo] bind socket to address failed : Address already in use
[ERROR rtsp_demo.c:460:rtsp_new_session] param invalid
[ERROR rtsp_demo.c:460:rtsp_new_session] param invalid
RKViChn          15:32:56-630 {prepareRuntime    :354} ---------------------------------------------------------
RKViChn          15:32:56-630 {prepareRuntime    :356} vi version: 1.22, name:vvi
RKViChn          15:32:56-631 {prepareRuntime    :357} rockit-ko version: vmpi:28ee389dbc33
RKViChn          15:32:56-631 {prepareRuntime    :358} rockit-ko building: -2024-05-24-18:15:06
RKViChn          15:32:56-631 {prepareRuntime    :359} ---------------------------------------------------------
cmpi             15:32:56-632 {prepareRuntime    :378} mb pool create success, MBCnt= 2
RTIsp3x          15:32:56-633 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
cmpi             15:32:56-636 {createRuntime     :634} >>>>>>>>> Sensor link info dump: <<<<<<<<<
cmpi             15:32:56-636 {createRuntime     :636}   vicap media name           : /dev/media0
cmpi             15:32:56-637 {createRuntime     :637}   vicap model name           : rkcif-mipi-lvds
cmpi             15:32:56-637 {createRuntime     :638}   camera id                  : 0
cmpi             15:32:56-638 {createRuntime     :639}   sensor name                : m00_b_sc3336 4-0030
cmpi             15:32:56-638 {createRuntime     :641}   stream_cif_mipi_id0 video name: /dev/video0
cmpi             15:32:56-638 {createRuntime     :642}   stream_cif_mipi_id1 video name: /dev/video1
cmpi             15:32:56-638 {createRuntime     :643}   stream_cif_mipi_id2 video name: /dev/video2
cmpi             15:32:56-639 {createRuntime     :644}   stream_cif_mipi_id3 video name: /dev/video3
cmpi             15:32:56-639 {createRuntime     :646}   sensor raw width           : 2304
cmpi             15:32:56-639 {createRuntime     :647}   sensor raw height          : 1296
cmpi             15:32:56-639 {createRuntime     :648} ---------------------------------------------------------
cmpi             15:32:56-639 {createRuntime     :654}   isp media name           : /dev/media1
cmpi             15:32:56-639 {createRuntime     :655}   isp model name           : rkisp0
cmpi             15:32:56-639 {createRuntime     :656}   isp driver name          : rkisp-vir0
cmpi             15:32:56-639 {createRuntime     :657}   isp dev name             : /dev/v4l-subdev3
cmpi             15:32:56-640 {createRuntime     :659}   isp rawrd0_m_path        : /dev/video17
cmpi             15:32:56-640 {createRuntime     :660}   isp rawrd1_l_path        : 
cmpi             15:32:56-640 {createRuntime     :661}   isp rawrd2_s_path        : /dev/video18
cmpi             15:32:56-640 {createRuntime     :664}   mainpath video name      : /dev/video11
cmpi             15:32:56-640 {createRuntime     :665}   selfpath video name      : /dev/video12
cmpi             15:32:56-640 {createRuntime     :666}   bypasspath video name    : /dev/video13
cmpi             15:32:56-640 {createRuntime     :667}   sensor link type         : 2
cmpi             15:32:56-641 {createRuntime     :668}   sensor is united         : 0
cmpi             15:32:56-641 {createRuntime     :672} ---------------------------------------------------------
cmpi             15:32:56-641 {createRuntime     :711} [non-WRAP MODE]: buff size = 4478976
RTIsp3x          15:32:56-650 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
RTDeviceV4L2     15:32:56-652 {open              :137} cameraIndex:0, entityName:rkisp_mainpath
RTDeviceV4L2     15:32:56-653 {open              :143} open video name(/dev/video11)
RKViChn          15:32:56-654 {setFrameRate      :1469} [vi] dev(0) ch(0) illegal param s32SrcFrameRate(0) s32DstFrameRate(0)
RTDeviceV4L2     15:32:56-656 {ispCameraInfo     :567} current device:/dev/video11 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
RTDeviceV4L2     15:32:56-657 {ispInitFormat     :767} ioctl VIDIOC_S_FMT OK
cmpi             15:32:56-658 {start             :1093} =========== vi Start startRuntime ===========
RTDeviceV4L2     15:32:56-659 {ispStreamOn       :458} do ispStreamOn start
CAMHW:K:camId:0, notify_isp_stream_status on
RTDeviceV4L2     15:32:56-678 {ispStreamOn       :511} do ispStreamOn done
[video.c][rk_video_set_frame_rate]:num is 25, den is 1
[video.c][rk_video_set_frame_rate]:old VI framerate is [-1:-1]
[video.c][rk_video_set_frame_rate]:new VI framerate is [25:25]
RKVencChannel    15:32:56-686 {setH265CuDqp      :4003} pstCuDqp illegal param: u32CuDqp -6(expects range [0, 2])
MpiAdapterEncode 15:32:56-687 {ma_encode_create  :1743} ringbuf buf_size 1495040
MpiAdapterEncode 15:32:56-695 {ma_encode_create  :1782} mem_fd = 52
RKViChn          15:32:56-698 {prepareRuntime    :354} ---------------------------------------------------------
RKViChn          15:32:56-699 {prepareRuntime    :356} vi version: 1.22, name:vvi
RKViChn          15:32:56-700 {prepareRuntime    :357} rockit-ko version: vmpi:28ee389dbc33
RKViChn          15:32:56-700 {prepareRuntime    :358} rockit-ko building: -2024-05-24-18:15:06
RKViChn          15:32:56-701 {prepareRuntime    :359} ---------------------------------------------------------
cmpi             15:32:56-701 {prepareRuntime    :378} mb pool create success, MBCnt= 2
RTIsp3x          15:32:56-703 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
cmpi             15:32:56-708 {createRuntime     :634} >>>>>>>>> Sensor link info dump: <<<<<<<<<
cmpi             15:32:56-709 {createRuntime     :636}   vicap media name           : /dev/media0
cmpi             15:32:56-709 {createRuntime     :637}   vicap model name           : rkcif-mipi-lvds
cmpi             15:32:56-710 {createRuntime     :638}   camera id                  : 0
cmpi             15:32:56-710 {createRuntime     :639}   sensor name                : m00_b_sc3336 4-0030
cmpi             15:32:56-711 {createRuntime     :641}   stream_cif_mipi_id0 video name: /dev/video0
cmpi             15:32:56-711 {createRuntime     :642}   stream_cif_mipi_id1 video name: /dev/video1
cmpi             15:32:56-712 {createRuntime     :643}   stream_cif_mipi_id2 video name: /dev/video2
cmpi             15:32:56-712 {createRuntime     :644}   stream_cif_mipi_id3 video name: /dev/video3
cmpi             15:32:56-713 {createRuntime     :646}   sensor raw width           : 2304
cmpi             15:32:56-713 {createRuntime     :647}   sensor raw height          : 1296
cmpi             15:32:56-720 {createRuntime     :648} ---------------------------------------------------------
cmpi             15:32:56-720 {createRuntime     :654}   isp media name           : /dev/media1
cmpi             15:32:56-720 {createRuntime     :655}   isp model name           : rkisp0
cmpi             15:32:56-720 {createRuntime     :656}   isp driver name          : rkisp-vir0
cmpi             15:32:56-720 {createRuntime     :657}   isp dev name             : /dev/v4l-subdev3
cmpi             15:32:56-720 {createRuntime     :659}   isp rawrd0_m_path        : /dev/video17
cmpi             15:32:56-720 {createRuntime     :660}   isp rawrd1_l_path        : 
cmpi             15:32:56-721 {createRuntime     :661}   isp rawrd2_s_path        : /dev/video18
cmpi             15:32:56-721 {createRuntime     :664}   mainpath video name      : /dev/video11
cmpi             15:32:56-721 {createRuntime     :665}   selfpath video name      : /dev/video12
cmpi             15:32:56-721 {createRuntime     :666}   bypasspath video name    : /dev/video13
cmpi             15:32:56-721 {createRuntime     :667}   sensor link type         : 2
cmpi             15:32:56-721 {createRuntime     :668}   sensor is united         : 0
cmpi             15:32:56-722 {createRuntime     :672} ---------------------------------------------------------
cmpi             15:32:56-722 {createRuntime     :711} [non-WRAP MODE]: buff size = 608256
RTIsp3x          15:32:56-726 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
RTDeviceV4L2     15:32:56-728 {open              :137} cameraIndex:0, entityName:rkisp_selfpath
RTDeviceV4L2     15:32:56-730 {open              :143} open video name(/dev/video12)
MpiAdapterEncode 15:32:56-731 {ma_encode_get_pack:2079} map ptr: 0xa45a5000, fd 55
RKViChn          15:32:56-732 {setFrameRate      :1469} [vi] dev(0) ch(1) illegal param s32SrcFrameRate(0) s32DstFrameRate(0)
RTDeviceV4L2     15:32:56-735 {ispCameraInfo     :567} current device:/dev/video12 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
RTDeviceV4L2     15:32:56-736 {ispInitFormat     :767} ioctl VIDIOC_S_FMT OK
cmpi             15:32:56-737 {start             :1093} =========== vi Start startRuntime ===========
RTDeviceV4L2     15:32:56-737 {ispStreamOn       :458} do ispStreamOn start
RTDeviceV4L2     15:32:56-737 {ispStreamOn       :511} do ispStreamOn done
[video.c][rk_video_set_frame_rate]:num is 30, den is 1
[video.c][rk_video_set_frame_rate]:old VI framerate is [-1:-1]
[video.c][rk_video_set_frame_rate]:new VI framerate is [25:30]
RKViChn          15:32:56-740 {setFrameRate      :1469} [vi] dev(0) ch(1) illegal param s32SrcFrameRate(25) s32DstFrameRate(30)
RKVencChannel    15:32:56-741 {setH265CuDqp      :4003} pstCuDqp illegal param: u32CuDqp -6(expects range [0, 2])
MpiAdapterEncode 15:32:56-742 {ma_encode_create  :1743} ringbuf buf_size 204800
MpiAdapterEncode 15:32:56-745 {ma_encode_create  :1782} mem_fd = 59
MpiAdapterEncode 15:32:56-753 {ma_encode_create  :1743} ringbuf buf_size 1048576
MpiAdapterEncode 15:32:56-758 {ma_encode_create  :1782} mem_fd = 61
RKViChn          15:32:56-762 {prepareRuntime    :354} ---------------------------------------------------------
RKViChn          15:32:56-762 {prepareRuntime    :356} vi version: 1.22, name:vvi
RKViChn          15:32:56-763 {prepareRuntime    :357} rockit-ko version: vmpi:28ee389dbc33
RKViChn          15:32:56-764 {prepareRuntime    :358} rockit-ko building: -2024-05-24-18:15:06
RKViChn          15:32:56-770 {prepareRuntime    :359} ---------------------------------------------------------
cmpi             15:32:56-770 {prepareRuntime    :378} mb pool create success, MBCnt= 2
RTIsp3x          15:32:56-772 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
cmpi             15:32:56-776 {createRuntime     :634} >>>>>>>>> Sensor link info dump: <<<<<<<<<
cmpi             15:32:56-776 {createRuntime     :636}   vicap media name           : /dev/media0
cmpi             15:32:56-777 {createRuntime     :637}   vicap model name           : rkcif-mipi-lvds
cmpi             15:32:56-777 {createRuntime     :638}   camera id                  : 0
cmpi             15:32:56-778 {createRuntime     :639}   sensor name                : m00_b_sc3336 4-0030
cmpi             15:32:56-778 {createRuntime     :641}   stream_cif_mipi_id0 video name: /dev/video0
cmpi             15:32:56-779 {createRuntime     :642}   stream_cif_mipi_id1 video name: /dev/video1
cmpi             15:32:56-779 {createRuntime     :643}   stream_cif_mipi_id2 video name: /dev/video2
cmpi             15:32:56-779 {createRuntime     :644}   stream_cif_mipi_id3 video name: /dev/video3
cmpi             15:32:56-780 {createRuntime     :646}   sensor raw width           : 2304
cmpi             15:32:56-780 {createRuntime     :647}   sensor raw height          : 1296
MpiAdapterEncode 15:32:56-784 {ma_encode_get_pack:2079} map ptr: 0xa3afb000, fd 65
cmpi             15:32:56-786 {createRuntime     :648} ---------------------------------------------------------
cmpi             15:32:56-786 {createRuntime     :654}   isp media name           : /dev/media1
cmpi             15:32:56-786 {createRuntime     :655}   isp model name           : rkisp0
cmpi             15:32:56-786 {createRuntime     :656}   isp driver name          : rkisp-vir0
cmpi             15:32:56-787 {createRuntime     :657}   isp dev name             : /dev/v4l-subdev3
cmpi             15:32:56-787 {createRuntime     :659}   isp rawrd0_m_path        : /dev/video17
cmpi             15:32:56-787 {createRuntime     :660}   isp rawrd1_l_path        : 
cmpi             15:32:56-787 {createRuntime     :661}   isp rawrd2_s_path        : /dev/video18
cmpi             15:32:56-787 {createRuntime     :664}   mainpath video name      : /dev/video11
cmpi             15:32:56-787 {createRuntime     :665}   selfpath video name      : /dev/video12
cmpi             15:32:56-787 {createRuntime     :666}   bypasspath video name    : /dev/video13
cmpi             15:32:56-788 {createRuntime     :667}   sensor link type         : 2
cmpi             15:32:56-788 {createRuntime     :668}   sensor is united         : 0
cmpi             15:32:56-788 {createRuntime     :672} ---------------------------------------------------------
cmpi             15:32:56-788 {createRuntime     :711} [non-WRAP MODE]: buff size = 783360
RTIsp3x          15:32:56-791 {ispInitDevice     :591} sensor name = m00_b_sc3336 4-0030
RTDeviceV4L2     15:32:56-793 {open              :137} cameraIndex:0, entityName:rkisp_bypasspath
RTDeviceV4L2     15:32:56-796 {open              :143} open video name(/dev/video13)
RKViChn          15:32:56-796 {setFrameRate      :1469} [vi] dev(0) ch(2) illegal param s32SrcFrameRate(0) s32DstFrameRate(0)
RTDeviceV4L2     15:32:56-798 {ispCameraInfo     :567} current device:/dev/video13 isn't compatible(cap:0x84201000) device,memoryType:4, retry:0
RTDeviceV4L2     15:32:56-800 {ispInitFormat     :767} ioctl VIDIOC_S_FMT OK
cmpi             15:32:56-800 {start             :1093} =========== vi Start startRuntime ===========
RTDeviceV4L2     15:32:56-800 {ispStreamOn       :458} do ispStreamOn start
RTDeviceV4L2     15:32:56-801 {ispStreamOn       :511} do ispStreamOn done
[storage.c][rkipc_storage_set_dev_attr]:mount path is /userdata, dev_path is /dev/block/by-name/userdata
[storage.c][rkipc_storage_para_init]:DevAttr set:  AutoDel--1, FreeSizeDel--500~1000, Path--/userdata/video0, Limit--300
[storage.c][rkipc_storage_para_init]:DevAttr set:  AutoDel--1, FreeSizeDel--500~1000, Path--/userdata/video1, Limit--300
[storage.c][rkipc_storage_para_init]:DevAttr set:  AutoDel--1, FreeSizeDel--500~1000, Path--/userdata/video2, Limit--300
[storage.c][rkipc_storage_auto_delete_init]:mountpath:/userdata,devpath:,devtype:,devattr:
[server.c][rkipc_server_thread]:#Start rkipc_server_thread thread, arg:(nil)
#Start osd_time_server thread, arg:(nil)
[osd.c][osd_time_server]:osd_time_id is 1
[osd.c][osd_time_server]:osd_data.text.font_color is fff799
[osd.c][osd_time_server]:osd_data.text.format is 24hour CHR-YYYY-MM-DD
[storage.c][rkipc_storage_file_scan_thread]:/userdata, /dev/block/by-name/userdata, ext4, rw,relatime
[storage.c][rkipc_storage_file_scan_thread]:[15:32:56.825167] i is 0, before rkipc_storage_read_file_list
[storage.c][rkipc_storage_file_scan_thread]:[15:32:56.826428] i is 0, after rkipc_storage_read_file_list
[storage.c][rkipc_storage_file_scan_thread]:[15:32:56.827605] i is 1, before rkipc_storage_read_file_list
[storage.c][rkipc_storage_file_scan_thread]:[15:32:56.827953] i is 1, after rkipc_storage_read_file_list
[storage.c][rkipc_storage_file_scan_thread]:[15:32:56.828565] i is 2, before rkipc_storage_read_file_list
[storage.c][rkipc_storage_file_scan_thread]:[15:32:56.829483] i is 2, after rkipc_storage_read_file_list
[storage.c][rkipc_storage_file_scan_thread]:total_size = 243631, free_size = 243549
cmpi             15:32:56-832 {mb_create_pool    :231} allocated buffer(this=[0x1d0928, data=0xa2aea000storage.c, size=][rkipc_storage_file_monitor_thread40960]:pHandle->dev_sta.mount_status is , id=4237
)
cmpi             15:32:56-836 {mb_create_pool    :231} allocated buffer(this=0x1d1028, data=0xa2ae0000, size=40960, id=238)
cmpi             15:32:56-838 {attachToChn       :594} The channel attr attach mapid: 0x0.
cmpi             15:32:56-838 {attachToChn       :594} The channel attr attach mapid: 0x0.
cmpi             15:32:56-839 {attachToChn       :594} The channel attr attach mapid: 0x0.
[video.c][rkipc_ivs_get_results]:MD: md_area is 518400, md_area_threshold is 155520
[video.c][rkipc_ivs_get_results]:MD: md_area is 518400, md_area_threshold is 155520
[video.c][rkipc_ivs_get_results]:MD: md_area is 518400, md_area_threshold is 155520
[video.c][rkipc_get_jpeg]:RK_MPI_VENC_GetStream timeout a004800e
[video.c][rkipc_ivs_get_results]:MD: md_area is 319488, md_area_threshold is 155520
[video.c][rkipc_ivs_get_results]:MD: md_area is 492544, md_area_threshold is 155520
[video.c][rkipc_ivs_get_results]:MD: md_area is 183296, md_area_threshold is 155520
[video.c][rkipc_ivs_get_results]:MD: md_area is 189440, md_area_threshold is 155520
^C[rkipc.c][sig_proc]:received signo 2 
[server.c][rkipc_server_deinit]:rkipc_server_deinit failed
RKMpiIvsChannel  15:33:17-299 {getResults        :718} get result timeout

[video.c][rkipc_ivs_get_results]:get chn 0 fail -1609269234
RTDeviceV4L2     15:33:17-350 {ispStreamOff      :521} do ispStreamOff start
RTDeviceV4L2     15:33:17-376 {ispStreamOff      :532} do ispStreamOff done
RTDeviceV4L2     15:33:17-376 {close             :374} do RTDeviceV4L2 close
[osd.c][osd_time_server]:exit
MpiAdapterEncode 15:33:17-396 {ma_encode_destroy :2347} unmap ptr: 0xa45a5000
RTDeviceV4L2     15:33:17-397 {ispStreamOff      :521} do ispStreamOff start
RTDeviceV4L2     15:33:17-416 {ispStreamOff      :532} do ispStreamOff done
RTDeviceV4L2     15:33:17-417 {close             :374} do RTDeviceV4L2 close
MpiAdapterEncode 15:33:17-419 {ma_encode_destroy :2347} unmap ptr: 0xa3afb000
RTDeviceV4L2     15:33:17-420 {ispStreamOff      :521} do ispStreamOff start
CAMHW:K:camId:0, notify_isp_stream_status off
RTDeviceV4L2     15:33:17-496 {ispStreamOff      :532} do ispStreamOff done
RTDeviceV4L2     15:33:17-496 {close             :374} do RTDeviceV4L2 close
[video.c][rkipc_pipe_jpeg_deinit]:RK_MPI_VENC_DestroyChn success
[isp.c][rk_isp_deinit]:cam_id is 0
[isp.c][rk_isp_deinit]:rk_aiq_uapi2_sysctl_stop enter
XCORE:K:cid[0] rk_aiq_uapi_sysctl_stop success.
[isp.c][rk_isp_deinit]:rk_aiq_uapi2_sysctl_deinit enter
MessageParser process loop exit!
IPCSERVER:K:cid[0] Deinit success
XCORE:K:cid[0] rk_aiq_uapi_sysctl_deinit_locked success.
[isp.c][rk_isp_deinit]:rk_aiq_uapi2_sysctl_deinit exit
(null)           15:33:17-638 {monitor_log_level :190} monitor_log_level quit
[param.c][rk_param_deinit]:rk_param_deinit

'embeded > luckfox' 카테고리의 다른 글

luckfox rknn 예제  (0) 2026.04.27
luckfox rv1106 riscv  (0) 2026.04.24
luckfox rv1106 rockchip RNN  (0) 2026.04.24
luckfox csi 카메라 테스트  (0) 2026.04.23
luckfox pico ultra W 켜봄  (0) 2026.04.22
Posted by 구차니
embeded/luckfox2026. 4. 24. 14:38

rockchip rv1106 에는 risc-v MCU가 있는데

luckfox wiki 에는 어떻게 쓰는지 잘 안보이는 느낌이라.. (luckfox pico ultra W 쪽..)

여기저기 뒤지는 중..

 

[링크 : https://www.reddit.com/r/RISCV/comments/181ldns/anyone_have_any_idea_on_how_the_riscv/?tl=ko]

[링크 : https://github.com/LuckfoxTECH/luckfox-pico/issues/99]

[링크 : https://github.com/luyi1888/rv1106-mcu] << mcutool 소스

[링크 : https://github.com/deerpi/arm-rockchip830-linux-uclibcgnueabihf] << riscv용 인진 모르겠음 툴체인

 

[링크 : https://github.com/LuckfoxTECH/luckfox-pico/issues/112]

'embeded > luckfox' 카테고리의 다른 글

luckfox rknn 예제  (0) 2026.04.27
luckfox 카메라 모션 디텍트 끄기  (0) 2026.04.27
luckfox rv1106 rockchip RNN  (0) 2026.04.24
luckfox csi 카메라 테스트  (0) 2026.04.23
luckfox pico ultra W 켜봄  (0) 2026.04.22
Posted by 구차니
embeded/luckfox2026. 4. 24. 14:30

'embeded > luckfox' 카테고리의 다른 글

luckfox rknn 예제  (0) 2026.04.27
luckfox 카메라 모션 디텍트 끄기  (0) 2026.04.27
luckfox rv1106 riscv  (0) 2026.04.24
luckfox csi 카메라 테스트  (0) 2026.04.23
luckfox pico ultra W 켜봄  (0) 2026.04.22
Posted by 구차니
embeded/luckfox2026. 4. 23. 11:28

step 1. 업데이트

USB-C에 겁나 깊이 들어가도록 꽂아야 인식을 한다.

귀찮으면 꽂고 BOOT 누른채로 RESET 눌러주면 시리얼로 포트에서는 다음과 같이 뜨고 있게 된다.

DDR 306b9977f5 wesley.yao 23/12/21-09:28:37,fwver: v1.15
S5P1
4x
f967
rgef1
DDRConf2
DDR3, BW=16 Col=10 Bk=8 CS0 Row=14 CS=1 Size=256MB
924MHz
DDR bin out

U-Boot SPL board init
U-Boot SPL 2017.09 (Jun 09 2025 - 17:15:21)
unknown raw ID 0 0 0
Trying to boot from MMC2
Card did not respond to voltage select!
mmc_init: -95, time 20
Card did not respond to voltage select!
mmc_init: -95, time 20
spl: mmc init failed with error: -95
Trying to boot from MMC1
Best phase range 0-270 (25 len)
Successfully tuned phase to 135, used 4ms
ENVF: Primary 0x00000000 - 0x00008000
ENVF: Primary 0x00000000 - 0x00008000
No misc partition
Trying fit image at 0x440 sector
## Verified-boot: 0
## Checking uboot 0x00200000 (lzma @0x00400000) ... sha256(6d468f8f8d...) + sha256(2939adcf1a...) + OK
## Checking fdt 0x00261190 ... sha256(9f596c5683...) + OK
Total: 405.594/437.396 ms


Jumping to U-Boot(0x00200000)


U-Boot 2017.09 (Jun 09 2025 - 17:15:21 +0800)

Model: Rockchip RV1106 EVB Board
MPIDR: 0xf00
PreSerial: 2, raw, 0xff4c0000
DRAM:  256 MiB
Sysmem: init
Relocation Offset: 0fd80000
Relocation fdt: 0edf9f78 - 0edfede8
CR: M/C/I
Using default environment

mmc@ffa90000: 0, mmc@ffaa0000: 1
Best phase range 0-270 (25 len)
Successfully tuned phase to 135, used 4ms
ENVF: Primary 0x00000000 - 0x00008000
ENVF: Primary 0x00000000 - 0x00008000
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: ENV
DM: v2
No misc partition
boot mode: None
RESC: 'boot', blk@0x00001ed1
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Model: Luckfox Pico Ultra W
Device 'gpio@ff380000': seq 0 is in use by 'gpio@ff380000'
gpio: pin 1 (gpio 1) value is 1
download key pressed... no rockusb, entering download mode...
RKUARTRKUARTRKUARTRKUARTRKUARTRKUARTRKUARTRKUART

 

그러면 메뉴얼 대로 윈도우에서 업데이트 하며 끝 (윈도우에서 되서 귀찮으니 리눅스에서 안해봄..)

소비전력은 1.2W 정도 4.5V / 280mA 뜨는데 허브 쓰지 말고 직접 본체에 꽂아야 할 듯.

[링크 : https://wiki.luckfox.com/Luckfox-Pico-Ultra/Flash-image/]

 

step 2. luckfox-config 에서 csi 활성화

로그인 해서는 csi를 활성화 해주면 되는 것 같은데

[링크 : https://wiki.luckfox.com/Luckfox-Lyra/luckfox-config/]

[root@luckfox root]# luckfox-config

 

 

 

카메라가 인식되면 /userdata 아래에 rkipc.ini가 생긴다는데 그건 좀 뻥같고(!)

[링크 : https://wiki.luckfox.com/Luckfox-Pico-Ultra/CSI-Camera]

 

video0, video1, video2 가 csi 활성화 하면 생기는 것 같다.

[root@luckfox root]# cd /userdata/
[root@luckfox userdata]# ls -al
total 77
drwxr-xr-x    6 root     root          1024 Jan  1  2021 .
drwxr-xr-x   21 root     root          4096 Jan  1  2021 ..
-rw-r--r--    1 root     root            18 Jan  1  2021 ethaddr.txt
-rw-r--r--    1 1005     1005         38454 May 20  2025 image.bmp
drwx------    2 root     root         12288 Jun  9  2025 lost+found
-rw-r--r--    1 root     root         16542 Jan  1  2021 rkipc.ini
drwxr-xr-x    2 root     root          1024 Jan  1  2021 video0
drwxr-xr-x    2 root     root          1024 Jan  1  2021 video1
drwxr-xr-x    2 root     root          1024 Jan  1  2021 video2
-rw-r--r--    1 root     root           145 Jan  1  2021 wpa_supplicant.conf

 

아래는 rkipc.ini 의 csi 설정별 내용.

csi enable 시 csi disable 시
[root@luckfox userdata]# cat rkipc.ini 
[audio.0]
enable = 0
card_name = hw:0,0
encode_type = G711A
format = S16
sample_rate = 8000
channels = 1
frame_size = 1152
bit_rate = 16000
input = mic_in
volume = 50
enable_aed = 0
enable_bcd = 0
enable_vqe = 1
vqe_cfg = /oem/usr/share/vqefiles/config_aivqe.json

[video.source]
enable_aiq = 1
enable_vo = 0
vo_dev_id = 3 ; 0 is hdmi, 3 is mipi
enable_ivs = 1
enable_jpeg = 1
enable_venc_0 = 1
enable_venc_1 = 1
enable_venc_2 = 0
enable_npu = 0
npu_fps = 10
enable_rtsp = 1
enable_rtmp = 0
rotation = 0 ; available value:0 90 180 270

[video.0]
buffer_size = 1492992 ; w * h / 2
buffer_count = 4
enable_refer_buffer_share = 1
stream_type = mainStream
video_type = compositeStream
max_width = 2304
max_height = 1296
width = 2304
height = 1296
rc_mode = CBR
rc_quality = high
src_frame_rate_den = 1
src_frame_rate_num = 25
dst_frame_rate_den = 1
dst_frame_rate_num = 25
target_rate = 0
mid_rate = 1024
max_rate = 2048
min_rate = 0
output_data_type = H.265
smart = close
h264_profile = high
gop = 50
smartp_viridrlen = 25
gop_mode = normalP
stream_smooth = 50
enable_motion_deblur = 1
motion_deblur_strength = 3
enable_motion_static_switch = 0
frame_min_i_qp = 26
frame_min_qp = 28
frame_max_i_qp = 51
frame_max_qp = 51
scalinglist = 0
enable_debreath_effect = 0
debreath_effect_strength = 16
thrd_i = 0,0,0,0,3,3,5,5,8,8,8,15,15,20,25,25
thrd_p = 0,0,0,0,3,3,5,5,8,8,8,15,15,20,25,25
aq_step_i = -8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,7,8
aq_step_p = -8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,7,8
qbias_enable = 1
qbias_i = 171
qbias_p = 85
flt_str_i = 0
flt_str_p = 0
cu_dqp = 1
anti_ring = 2
anti_line = 2
lambds = 4

[video.1]
input_buffer_count = 2 ; only wrap can use one buffer
buffer_size = 202752 ; w * h / 2
buffer_count = 4
enable_refer_buffer_share = 1
stream_type = subStream
video_type = compositeStream
max_width = 704
max_height = 576
width = 704
height = 576
rc_mode = CBR
rc_quality = high
src_frame_rate_den = 1
src_frame_rate_num = 30
dst_frame_rate_den = 1
dst_frame_rate_num = 30
target_rate = 0
mid_rate = 256
max_rate = 512
min_rate = 0
output_data_type = H.265
smart = close
h264_profile = high
gop = 50
smartp_viridrlen = 25
gop_mode = normalP
stream_smooth = 50
enable_motion_deblur = 1
motion_deblur_strength = 3
enable_motion_static_switch = 0
frame_min_i_qp = 26
frame_min_qp = 28
frame_max_i_qp = 51
frame_max_qp = 51
scalinglist = 0
enable_debreath_effect = 0
debreath_effect_strength = 16
cu_dqp = 1
anti_ring = 2
anti_line = 2
lambds = 4

[video.2]
max_width = 960
max_height = 540
width = 960
height = 540

[ivs]
smear = 0
weightp = 0
md = 1
od = 1
md_sensibility = 3 ;available: 1 2 3,max 3

[video.jpeg]
width = 1920
height = 1080
jpeg_buffer_size = 1048576 ; 1024KB
jpeg_qfactor = 70
enable_cycle_snapshot = 0
snapshot_interval_ms = 1000

[isp]
scenario = normal ; normal or custom1
init_form_ini = 1
normal_scene = day
custom1_scene = night
ircut_open_gpio = 36
ircut_close_gpio = 35

; isp.0
[isp.0.adjustment]
contrast    = 50
brightness  = 50
saturation  = 50
sharpness  = 50
fps = 25
hue = 50

[isp.0.exposure]
iris_type = auto
exposure_mode = auto
gain_mode = auto
auto_iris_level = 5
auto_exposure_enabled = 1
audo_gain_enabled = 1
exposure_time = 1/6
exposure_gain = 1

[isp.0.night_to_day]
night_to_day = day
night_to_day_filter_level = 5
night_to_day_filter_time = 5
dawn_time = 07:00:00
dusk_time = 18:00:00
ircut_filter_action = day
over_exposure_suppress = open
over_exposure_suppress_type = auto
fill_light_mode = IR
brightness_adjustment_mode = auto
light_brightness = 1
distance_level = 1

[isp.0.blc]
blc_region = close
blc_strength = 1
wdr = close
wdr_level = 0
hdr = close
hdr_level = 1
hlc = close
hlc_level = 0
dark_boost_level = 0
position_x = 0
position_y = 0
blc_region_width = 120
blc_region_high = 92

[isp.0.white_blance]
white_blance_style = autoWhiteBalance
white_blance_red = 50
white_blance_green = 50
white_blance_blue = 50

[isp.0.enhancement]
noise_reduce_mode = close
denoise_level = 50
spatial_denoise_level = 50
temporal_denoise_level = 50
dehaze = close
dehaze_level = 0
dis = close
gray_scale_mode = [0-255]
distortion_correction = close
ldch_level = 0

[isp.0.video_adjustment]
image_flip = close
scene_mode = indoor
power_line_frequency_mode = PAL(50HZ)

[isp.0.auto_focus]
af_mode = semi-auto
zoom_level = 0
focus_level = 0

; isp.1
[isp.1.adjustment]
contrast    = 50
brightness  = 75
saturation  = 50
sharpness  = 50
fps = 25
hue = 50

[isp.1.exposure]
iris_type = auto
exposure_mode = auto
gain_mode = auto
auto_iris_level = 5
auto_exposure_enabled = 1
audo_gain_enabled = 1
exposure_time = 1/6
exposure_gain = 1

[isp.1.night_to_day]
night_to_day = day
night_to_day_filter_level = 5
night_to_day_filter_time = 5
dawn_time = 07:00:00
dusk_time = 18:00:00
ircut_filter_action = day
over_exposure_suppress = open
over_exposure_suppress_type = auto
fill_light_mode = IR
brightness_adjustment_mode = auto
light_brightness = 1
distance_level = 1

[isp.1.blc]
blc_region = close
blc_strength = 1
wdr = close
wdr_level = 0
hdr = close
hdr_level = 1
hlc = close
hlc_level = 0
dark_boost_level = 0
position_x = 0
position_y = 0
blc_region_width = 120
blc_region_high = 92

[isp.1.white_blance]
white_blance_style = autoWhiteBalance
white_blance_red = 50
white_blance_green = 50
white_blance_blue = 50

[isp.1.enhancement]
noise_reduce_mode = close
denoise_level = 50
spatial_denoise_level = 50
temporal_denoise_level = 50
dehaze = close
dehaze_level = 0
dis = close
gray_scale_mode = [0-255]
distortion_correction = close
ldch_level = 0

[isp.1.video_adjustment]
image_flip = close
scene_mode = indoor
power_line_frequency_mode = PAL(50HZ)

[isp.1.auto_focus]
af_mode = semi-auto
zoom_level = 0
focus_level = 0

[storage]
mount_path = /userdata
free_size_del_min = 500; MB
free_size_del_max = 1000; MB
num_limit_enable = 1; limit by file num

[storage.0]
enable = 0
folder_name = video0
file_format = mp4 ; flv,ts
file_duration = 60
video_quota = 30
file_max_num = 300

[storage.1]
enable = 0
folder_name = video1
file_format = mp4 ; flv,ts
file_duration = 60
video_quota = 30
file_max_num = 300

[storage.2]
enable = 0
folder_name = video2
file_format = mp4 ; flv,ts
file_duration = 60
video_quota = 30
file_max_num = 300

[system.device_info]
deivce_name = RK IP Camera
telecontrol_id = 88
model = RK-003
serial_number = RK-003-A
firmware_version = V0.2.6 build 202108
encoder_version = V1.0 build 202108
web_version = V2.12.2 build 202108
plugin_version = V1.0.0.0
channels_number = 1
hard_disks_number = 1
alarm_inputs_number = 0
alarm_outputs_number = 0
firmware_version_info = CP-3-B
manufacturer = Rockchip
hardware_id = c3d9b8674f4b94f6
user_num = 1

[capability.video]
0 = {"disabled":[{"name":"sStreamType","options":{"subStream":{"sSmart":"close"},"thirdStream":{"sSmart":"close"}},"type":"disabled/limit"},{"name":"sRCMode","options":{"CBR":{"sRCQuality":null}},"type":"disabled"},{"name":"sOutputDataType","options":{"H.265":{"sH264Profile":null}},"type":"disabled"},{"name":"unspport","options":{"iStreamSmooth":null,"sVideoType":null},"type":"disabled"}],"dynamic":{"sSmart":{"open":{"iMinRate":{"dynamicRange":{"max":"iMaxRate","maxRate":1,"min":"iMaxRate","minRate":0.125},"type":"dynamicRange"}}},"sStreamType":{"mainStream":{"iMaxRate":{"options":[256,512,1024,2048,3072,4096,6144],"type":"options"},"sResolution":{"options":["2304*1296","1920*1080","1280*720","960*540","640*360","320*240"],"type":"options"}},"subStream":{"iMaxRate"
1 = :{"options":[128,256,512],"type":"options"},"sResolution":{"options":["704*576","640*480","352*288","320*240"],"type":"options"}},"thirdStream":{"iMaxRate":{"options":[256,512],"type":"options"},"sResolution":{"options":["416*416"],"type":"options"}}}},"layout":{"encoder":["sStreamType","sVideoType","sResolution","sRCMode","sRCQuality","sFrameRate","sOutputDataType","sSmart","sH264Profile","sGOPMode","iMaxRate","iGOP","iStreamSmooth"]},"static":{"iGOP":{"range":{"max":400,"min":1},"type":"range"},"iStreamSmooth":{"range":{"max":100,"min":1,"step":1},"type":"range"},"sFrameRate":{"dynamicRange":{"max":"sFrameRateIn","maxRate":1},"options":["1/2","1","2","4","6","8","10","12","14","16","18","20","25","30"],"type":"options/dynamicRange"},"sH264Profile":{"options":["high","main","baseline"],"type":"options"},"sOutputDataType":{"options"
2 = :["H.264","H.265"],"type":"options"},"sRCMode":{"options":["CBR","VBR"],"type":"options"},"sRCQuality":{"options":["lowest","lower","low","medium","high","higher","highest"],"type":"options"},"sGOPMode":{"options":["normalP","smartP"],"type":"options"},"sSmart":{"options":["open","close"],"type":"options"},"sStreamType":{"options":["mainStream","subStream","thirdStream"],"type":"options"},"sVideoType":{"options":["videoStream","compositeStream"],"type":"options"}}}

[capability.image_adjustment]
0 = {"layout":{"image_adjustment":["iBrightness","iContrast","iSaturation","iSharpness","iHue"]},"static":{"iBrightness":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iContrast":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iHue":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iSaturation":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iSharpness":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}

[capability.image_blc]
0 = {"disabled":[{"name":"sHLC","options":{"open":{"sBLCRegion":null}},"type":"disabled"},{"name":"sBLCRegion","options":{"open":{"iDarkBoostLevel":null,"iHLCLevel":null,"sHLC":null}},"type":"disabled"}],"dynamic":{"sBLCRegion":{"open":{"iBLCStrength":{"range":{"max":100,"min":0,"step":1},"type":"range"}}},"sHDR":{"HDR2":{"iHDRLevel":{"options":[1,2,3,4],"type":"options"}},"close":{"sBLCRegion":{"options":["close","open"],"type":"options"},"sHLC":{"options"
1 = :["close","open"],"type":"options"}}},"sHLC":{"open":{"iDarkBoostLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iHLCLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}},"sWDR":{"open":{"iWDRLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout":{"image_blc":["sHDR","iHDRLevel","sBLCRegion","iBLCStrength","sHLC","iHLCLevel"]},"static":{"sHDR":{"options":["close","HDR2"],"type":"options"}}}

[capability.image_enhancement]
0 = {"dynamic":{"sDehaze":{"open":{"iDehazeLevel":{"range":{"max":10,"min":0,"step":1},"type":"range"}}},"sDistortionCorrection":{"FEC":{"iFecLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"LDCH":{"iLdchLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}},"sNoiseReduceMode":{"2dnr":{"iSpatialDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"3dnr":{"iTemporalDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"mixnr":{"iSpatialDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iTemporalDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout"
1 = :{"image_enhancement":["sNoiseReduceMode","iSpatialDenoiseLevel","iTemporalDenoiseLevel","sDehaze","iDehazeLevel","sGrayScaleMode","sDistortionCorrection","iLdchLevel","iFecLevel"]},"static":{"sDIS":{"options":["open","close"],"type":"options"},"sDehaze":{"options":["open","close","auto"],"type":"options"},"sDistortionCorrection":{"options":["LDCH","close"],"type":"options"},"sFEC":{"options":["open","close"],"type":"options"},"sGrayScaleMode":{"options":["[0-255]","[16-235]"],"type":"options"},"sNoiseReduceMode":{"options":["close","2dnr","3dnr","mixnr"],"type":"options"}}}

[capability.image_exposure]
0 = {"dynamic":{"sExposureMode":{"auto":{"iAutoIrisLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"manual":{"sExposureTime":{"options":["1","1/3","1/6","1/12","1/25","1/50","1/100","1/150","1/200","1/250","1/500","1/750","1/1000","1/2000","1/4000","1/10000","1/100000"],"type":"options"},"sGainMode":{"options":["auto","manual"],"type":"options"}}},"sGainMode":{"manual":{"iExposureGain":{"range":{"max":100,"min":1,"step":1},"type":"range"}}}},"layout":{"image_exposure":["sExposureMode","sExposureTime","sGainMode","iExposureGain","iFPS"]},"static":{"sExposureMode":{"options":["auto","manual"],"type":"options"},"iFPS":{"range":{"max":30,"min":0,"step":1},"type":"range"}}}

[capability.image_night_to_day]
0 = {"disabled":[{"name":"sNightToDay","options":{"day":{"iLightBrightness":null,"sFillLightMode":null},"night":{"iDarkBoostLevel":null,"iHDRLevel":null,"iHLCLevel":null,"sHDR":null,"sHLC":"close"}},"type":"disabled"}],"dynamic":{"sNightToDay":{"auto":{"iNightToDayFilterLevel":{"options":[0,1,2,3,4,5,6,7],"type":"options"},"iNightToDayFilterTime":{"range":{"max":10,"min":3,"step":1},"type":"range"}},"schedule":{"sDawnTime":{"input":"time","type":"input"},"sDuskTime":{"input":"time","type":"input"}}},"sOverexposeSuppress":{"open"
1 = :{"sOverexposeSuppressType":{"options":["auto","manual"],"type":"options"}}},"sOverexposeSuppressType":{"manual":{"iDistanceLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout":{"image_night_to_day":["sNightToDay","iNightToDayFilterLevel","iNightToDayFilterTime","sDawnTime","sDuskTime","sFillLightMode","iLightBrightness"]},"static":{"iLightBrightness":{"range":{"max":100,"min":0,"step":10},"type":"range"},"sNightToDay":{"options":["day","night"],"type":"options"},"sFillLightMode":{"type":"options","options":["IR"]}}}

[capability.image_video_adjustment]
0 = {"layout":{"image_video_adjustment":["sPowerLineFrequencyMode","sImageFlip","iImageRotation"]},"static":{"sImageFlip":{"options":["close","flip","mirror","centrosymmetric"],"type":"options"},"sPowerLineFrequencyMode":{"options":["PAL(50HZ)","NTSC(60HZ)"],"type":"options"},"sSceneMode":{"options":["indoor","outdoor"],"type":"options"},"iImageRotation":{"options":[0,90,180,270],"type":"options"}}}

[capability.image_white_blance]
0 = {"dynamic":{"sWhiteBlanceStyle":{"manualWhiteBalance":{"iWhiteBalanceBlue":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iWhiteBalanceGreen":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iWhiteBalanceRed":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout":{"image_white_blance":["sWhiteBlanceStyle","iWhiteBalanceRed","iWhiteBalanceGreen","iWhiteBalanceBlue"]},"static":{"sWhiteBlanceStyle":{"options":["manualWhiteBalance","autoWhiteBalance","lockingWhiteBalance","fluorescentLamp","incandescent","warmLight","naturalLight"],"type":"options"}}}

[user.0]
user_name = admin
password = YWRtaW4=
user_level = 1 ; administrator=0 operator=1 user=2

[osd.common]
enable_osd = 1
is_presistent_text = 1
attribute = transparent/not-flashing
font_size = 32
font_color_mode = customize
font_color = fff799
alignment = customize
boundary = 0
font_path = /oem/usr/share/simsun_en.ttf
normalized_screen_width = 704
normalized_screen_height = 480

[osd.0]
type = channelName
enabled = 0
position_x = 1104
position_y = 640
display_text = Camera 01

[osd.1]
type = dateTime
enabled = 1
position_x = 16
position_y = 16
date_style = CHR-YYYY-MM-DD
time_style = 24hour
display_week_enabled = 0

[osd.2]
type = character
enabled = 0
position_x = 0
position_y = 0
display_text = null

[osd.3]
type = character
enabled = 0
position_x = 0
position_y = 0
display_text = null

[osd.4]
type = privacyMask
enabled = 0
position_x = 0
position_y = 0
width = 0
height = 0

[osd.5]
type = privacyMask
enabled = 0
position_x = 0
position_y = 0
width = 0
height = 0

[osd.6]
type = image
enabled = 0
position_x = 16
position_y = 640
image_path = /userdata/image.bmp

[event.regional_invasion]
enabled = 1
position_x = 0
position_y = 0
width = 700
height = 560
proportion = 1
sensitivity_level = 90
time_threshold = 1
rockiva_model_type = small ;big medium  small

[roi.0]
stream_type = mainStream
id = 1
enabled = 0
name = test
position_x = 0
position_y = 0
width = 0
height = 0
quality_level = 3

[roi.1]
stream_type = mainStream
id = 2
enabled = 0
name = test
position_x = 0
position_y = 0
width = 0
height = 0
quality_level = 3

[roi.2]
stream_type = subStream
id = 1
enabled = 0
name = test
position_x = 0
position_y = 0
width = 0
height = 0
quality_level = 3

[roi.3]
stream_type = subStream
id = 2
enabled = 0
name = test
position_x = 0
position_y = 0
width = 0
height = 0
quality_level = 3

[roi.4]
stream_type = thirdStream
id = 1
enabled = 0
name = test
position_x = 0
position_y = 0
width = 0
height = 0
quality_level = 3

[roi.5]
stream_type = thirdStream
id = 2
enabled = 0
name = test
position_x = 0
position_y = 0
width = 0
height = 0
quality_level = 3

[region_clip.1]
enabled = 0
position_x = 0
position_y = 0
width = 640
height = 480

[network.ntp]
enable = 1
refresh_time_s = 60
ntp_server = 119.28.183.184
[root@luckfox userdata]# cat rkipc.ini 

[audio.0]
enable                         = 0
card_name                      = hw:0,0
encode_type                    = G711A
format                         = S16
sample_rate                    = 8000
channels                       = 1
frame_size                     = 1152
bit_rate                       = 16000
input                          = mic_in
volume                         = 50
enable_aed                     = 0
enable_bcd                     = 0
enable_vqe                     = 1
vqe_cfg                        = /oem/usr/share/vqefiles/config_aivqe.json


[video.source]
enable_aiq                     = 1
enable_vo                      = 0
vo_dev_id                      = 3
enable_ivs                     = 1
enable_jpeg                    = 1
enable_venc_0                  = 1
enable_venc_1                  = 1
enable_venc_2                  = 0
enable_npu                     = 0
npu_fps                        = 10
enable_rtsp                    = 1
enable_rtmp                    = 0
rotation                       = 0


[video.0]
buffer_size                    = 1492992
buffer_count                   = 4
enable_refer_buffer_share      = 1
stream_type                    = mainStream
video_type                     = compositeStream
max_width                      = 2304
max_height                     = 1296
width                          = 2304
height                         = 1296
rc_mode                        = CBR
rc_quality                     = high
src_frame_rate_den             = 1
src_frame_rate_num             = 25
dst_frame_rate_den             = 1
dst_frame_rate_num             = 25
target_rate                    = 0
mid_rate                       = 1024
max_rate                       = 2048
min_rate                       = 0
output_data_type               = H.265
smart                          = close
h264_profile                   = high
gop                            = 50
smartp_viridrlen               = 25
gop_mode                       = normalP
stream_smooth                  = 50
enable_motion_deblur           = 1
motion_deblur_strength         = 3
enable_motion_static_switch    = 0
frame_min_i_qp                 = 26
frame_min_qp                   = 28
frame_max_i_qp                 = 51
frame_max_qp                   = 51
scalinglist                    = 0
enable_debreath_effect         = 0
debreath_effect_strength       = 16
thrd_i                         = 0,0,0,0,3,3,5,5,8,8,8,15,15,20,25,25
thrd_p                         = 0,0,0,0,3,3,5,5,8,8,8,15,15,20,25,25
aq_step_i                      = -8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,7,8
aq_step_p                      = -8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,7,8
qbias_enable                   = 1
qbias_i                        = 171
qbias_p                        = 85
flt_str_i                      = 0
flt_str_p                      = 0
cu_dqp                         = 1
anti_ring                      = 2
anti_line                      = 2
lambds                         = 4


[video.1]
input_buffer_count             = 2
buffer_size                    = 202752
buffer_count                   = 4
enable_refer_buffer_share      = 1
stream_type                    = subStream
video_type                     = compositeStream
max_width                      = 704
max_height                     = 576
width                          = 704
height                         = 576
rc_mode                        = CBR
rc_quality                     = high
src_frame_rate_den             = 1
src_frame_rate_num             = 30
dst_frame_rate_den             = 1
dst_frame_rate_num             = 30
target_rate                    = 0
mid_rate                       = 256
max_rate                       = 512
min_rate                       = 0
output_data_type               = H.265
smart                          = close
h264_profile                   = high
gop                            = 50
smartp_viridrlen               = 25
gop_mode                       = normalP
stream_smooth                  = 50
enable_motion_deblur           = 1
motion_deblur_strength         = 3
enable_motion_static_switch    = 0
frame_min_i_qp                 = 26
frame_min_qp                   = 28
frame_max_i_qp                 = 51
frame_max_qp                   = 51
scalinglist                    = 0
enable_debreath_effect         = 0
debreath_effect_strength       = 16
cu_dqp                         = 1
anti_ring                      = 2
anti_line                      = 2
lambds                         = 4


[video.2]
max_width                      = 960
max_height                     = 540
width                          = 960
height                         = 540


[ivs]
smear                          = 0
weightp                        = 0
md                             = 1
od                             = 1
md_sensibility                 = 3


[video.jpeg]
width                          = 1920
height                         = 1080
jpeg_buffer_size               = 1048576
jpeg_qfactor                   = 70
enable_cycle_snapshot          = 0
snapshot_interval_ms           = 1000


[isp]
scenario                       = normal
init_form_ini                  = 1
normal_scene                   = day
custom1_scene                  = night
ircut_open_gpio                = 36
ircut_close_gpio               = 35


[isp.0.adjustment]
contrast                       = 50
brightness                     = 50
saturation                     = 50
sharpness                      = 50
fps                            = 25
hue                            = 50


[isp.0.exposure]
iris_type                      = auto
exposure_mode                  = auto
gain_mode                      = auto
auto_iris_level                = 5
auto_exposure_enabled          = 1
audo_gain_enabled              = 1
exposure_time                  = 1/6
exposure_gain                  = 1


[isp.0.night_to_day]
night_to_day                   = day
night_to_day_filter_level      = 5
night_to_day_filter_time       = 5
dawn_time                      = 07:00:00
dusk_time                      = 18:00:00
ircut_filter_action            = day
over_exposure_suppress         = open
over_exposure_suppress_type    = auto
fill_light_mode                = IR
brightness_adjustment_mode     = auto
light_brightness               = 1
distance_level                 = 1


[isp.0.blc]
blc_region                     = close
blc_strength                   = 1
wdr                            = close
wdr_level                      = 0
hdr                            = close
hdr_level                      = 1
hlc                            = close
hlc_level                      = 0
dark_boost_level               = 0
position_x                     = 0
position_y                     = 0
blc_region_width               = 120
blc_region_high                = 92


[isp.0.white_blance]
white_blance_style             = autoWhiteBalance
white_blance_red               = 50
white_blance_green             = 50
white_blance_blue              = 50


[isp.0.enhancement]
noise_reduce_mode              = close
denoise_level                  = 50
spatial_denoise_level          = 50
temporal_denoise_level         = 50
dehaze                         = close
dehaze_level                   = 0
dis                            = close
gray_scale_mode                = [0-255]
distortion_correction          = close
ldch_level                     = 0


[isp.0.video_adjustment]
image_flip                     = close
scene_mode                     = indoor
power_line_frequency_mode      = PAL(50HZ)


[isp.0.auto_focus]
af_mode                        = semi-auto
zoom_level                     = 0
focus_level                    = 0


[isp.1.adjustment]
contrast                       = 50
brightness                     = 75
saturation                     = 50
sharpness                      = 50
fps                            = 25
hue                            = 50


[isp.1.exposure]
iris_type                      = auto
exposure_mode                  = auto
gain_mode                      = auto
auto_iris_level                = 5
auto_exposure_enabled          = 1
audo_gain_enabled              = 1
exposure_time                  = 1/6
exposure_gain                  = 1


[isp.1.night_to_day]
night_to_day                   = day
night_to_day_filter_level      = 5
night_to_day_filter_time       = 5
dawn_time                      = 07:00:00
dusk_time                      = 18:00:00
ircut_filter_action            = day
over_exposure_suppress         = open
over_exposure_suppress_type    = auto
fill_light_mode                = IR
brightness_adjustment_mode     = auto
light_brightness               = 1
distance_level                 = 1


[isp.1.blc]
blc_region                     = close
blc_strength                   = 1
wdr                            = close
wdr_level                      = 0
hdr                            = close
hdr_level                      = 1
hlc                            = close
hlc_level                      = 0
dark_boost_level               = 0
position_x                     = 0
position_y                     = 0
blc_region_width               = 120
blc_region_high                = 92


[isp.1.white_blance]
white_blance_style             = autoWhiteBalance
white_blance_red               = 50
white_blance_green             = 50
white_blance_blue              = 50


[isp.1.enhancement]
noise_reduce_mode              = close
denoise_level                  = 50
spatial_denoise_level          = 50
temporal_denoise_level         = 50
dehaze                         = close
dehaze_level                   = 0
dis                            = close
gray_scale_mode                = [0-255]
distortion_correction          = close
ldch_level                     = 0


[isp.1.video_adjustment]
image_flip                     = close
scene_mode                     = indoor
power_line_frequency_mode      = PAL(50HZ)


[isp.1.auto_focus]
af_mode                        = semi-auto
zoom_level                     = 0
focus_level                    = 0


[storage]
mount_path                     = /userdata
free_size_del_min              = 500
free_size_del_max              = 1000
num_limit_enable               = 1


[storage.0]
enable                         = 0
folder_name                    = video0
file_format                    = mp4
file_duration                  = 60
video_quota                    = 30
file_max_num                   = 300


[storage.1]
enable                         = 0
folder_name                    = video1
file_format                    = mp4
file_duration                  = 60
video_quota                    = 30
file_max_num                   = 300


[storage.2]
enable                         = 0
folder_name                    = video2
file_format                    = mp4
file_duration                  = 60
video_quota                    = 30
file_max_num                   = 300


[system.device_info]
deivce_name                    = RK IP Camera
telecontrol_id                 = 88
model                          = RK-003
serial_number                  = RK-003-A
firmware_version               = V0.2.6 build 202108
encoder_version                = V1.0 build 202108
web_version                    = V2.12.2 build 202108
plugin_version                 = V1.0.0.0
channels_number                = 1
hard_disks_number              = 1
alarm_inputs_number            = 0
alarm_outputs_number           = 0
firmware_version_info          = CP-3-B
manufacturer                   = Rockchip
hardware_id                    = c3d9b8674f4b94f6
user_num                       = 1


[capability.video]
0                              = {"disabled":[{"name":"sStreamType","options":{"subStream":{"sSmart":"close"},"thirdStream":{"sSmart":"close"}},"type":"disabled/limit"},{"name":"sRCMode","options":{"CBR":{"sRCQuality":null}},"type":"disabled"},{"name":"sOutputDataType","options":{"H.265":{"sH264Profile":null}},"type":"disabled"},{"name":"unspport","options":{"iStreamSmooth":null,"sVideoType":null},"type":"disabled"}],"dynamic":{"sSmart":{"open":{"iMinRate":{"dynamicRange":{"max":"iMaxRate","maxRate":1,"min":"iMaxRate","minRate":0.125},"type":"dynamicRange"}}},"sStreamType":{"mainStream":{"iMaxRate":{"options":[256,512,1024,2048,3072,4096,6144],"type":"options"},"sResolution":{"options":["2304*1296","1920*1080","1280*720","960*540","640*360","320*240"],"type":"options"}},"subStream":{"iMaxRate"
1                              = :{"options":[128,256,512],"type":"options"},"sResolution":{"options":["704*576","640*480","352*288","320*240"],"type":"options"}},"thirdStream":{"iMaxRate":{"options":[256,512],"type":"options"},"sResolution":{"options":["416*416"],"type":"options"}}}},"layout":{"encoder":["sStreamType","sVideoType","sResolution","sRCMode","sRCQuality","sFrameRate","sOutputDataType","sSmart","sH264Profile","sGOPMode","iMaxRate","iGOP","iStreamSmooth"]},"static":{"iGOP":{"range":{"max":400,"min":1},"type":"range"},"iStreamSmooth":{"range":{"max":100,"min":1,"step":1},"type":"range"},"sFrameRate":{"dynamicRange":{"max":"sFrameRateIn","maxRate":1},"options":["1/2","1","2","4","6","8","10","12","14","16","18","20","25","30"],"type":"options/dynamicRange"},"sH264Profile":{"options":["high","main","baseline"],"type":"options"},"sOutputDataType":{"options"
2                              = :["H.264","H.265"],"type":"options"},"sRCMode":{"options":["CBR","VBR"],"type":"options"},"sRCQuality":{"options":["lowest","lower","low","medium","high","higher","highest"],"type":"options"},"sGOPMode":{"options":["normalP","smartP"],"type":"options"},"sSmart":{"options":["open","close"],"type":"options"},"sStreamType":{"options":["mainStream","subStream","thirdStream"],"type":"options"},"sVideoType":{"options":["videoStream","compositeStream"],"type":"options"}}}


[capability.image_adjustment]
0                              = {"layout":{"image_adjustment":["iBrightness","iContrast","iSaturation","iSharpness","iHue"]},"static":{"iBrightness":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iContrast":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iHue":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iSaturation":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iSharpness":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}


[capability.image_blc]
0                              = {"disabled":[{"name":"sHLC","options":{"open":{"sBLCRegion":null}},"type":"disabled"},{"name":"sBLCRegion","options":{"open":{"iDarkBoostLevel":null,"iHLCLevel":null,"sHLC":null}},"type":"disabled"}],"dynamic":{"sBLCRegion":{"open":{"iBLCStrength":{"range":{"max":100,"min":0,"step":1},"type":"range"}}},"sHDR":{"HDR2":{"iHDRLevel":{"options":[1,2,3,4],"type":"options"}},"close":{"sBLCRegion":{"options":["close","open"],"type":"options"},"sHLC":{"options"
1                              = :["close","open"],"type":"options"}}},"sHLC":{"open":{"iDarkBoostLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iHLCLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}},"sWDR":{"open":{"iWDRLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout":{"image_blc":["sHDR","iHDRLevel","sBLCRegion","iBLCStrength","sHLC","iHLCLevel"]},"static":{"sHDR":{"options":["close","HDR2"],"type":"options"}}}


[capability.image_enhancement]
0                              = {"dynamic":{"sDehaze":{"open":{"iDehazeLevel":{"range":{"max":10,"min":0,"step":1},"type":"range"}}},"sDistortionCorrection":{"FEC":{"iFecLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"LDCH":{"iLdchLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}},"sNoiseReduceMode":{"2dnr":{"iSpatialDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"3dnr":{"iTemporalDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"mixnr":{"iSpatialDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iTemporalDenoiseLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout"
1                              = :{"image_enhancement":["sNoiseReduceMode","iSpatialDenoiseLevel","iTemporalDenoiseLevel","sDehaze","iDehazeLevel","sGrayScaleMode","sDistortionCorrection","iLdchLevel","iFecLevel"]},"static":{"sDIS":{"options":["open","close"],"type":"options"},"sDehaze":{"options":["open","close","auto"],"type":"options"},"sDistortionCorrection":{"options":["LDCH","close"],"type":"options"},"sFEC":{"options":["open","close"],"type":"options"},"sGrayScaleMode":{"options":["[0-255]","[16-235]"],"type":"options"},"sNoiseReduceMode":{"options":["close","2dnr","3dnr","mixnr"],"type":"options"}}}


[capability.image_exposure]
0                              = {"dynamic":{"sExposureMode":{"auto":{"iAutoIrisLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}},"manual":{"sExposureTime":{"options":["1","1/3","1/6","1/12","1/25","1/50","1/100","1/150","1/200","1/250","1/500","1/750","1/1000","1/2000","1/4000","1/10000","1/100000"],"type":"options"},"sGainMode":{"options":["auto","manual"],"type":"options"}}},"sGainMode":{"manual":{"iExposureGain":{"range":{"max":100,"min":1,"step":1},"type":"range"}}}},"layout":{"image_exposure":["sExposureMode","sExposureTime","sGainMode","iExposureGain","iFPS"]},"static":{"sExposureMode":{"options":["auto","manual"],"type":"options"},"iFPS":{"range":{"max":30,"min":0,"step":1},"type":"range"}}}


[capability.image_night_to_day]
0                              = {"disabled":[{"name":"sNightToDay","options":{"day":{"iLightBrightness":null,"sFillLightMode":null},"night":{"iDarkBoostLevel":null,"iHDRLevel":null,"iHLCLevel":null,"sHDR":null,"sHLC":"close"}},"type":"disabled"}],"dynamic":{"sNightToDay":{"auto":{"iNightToDayFilterLevel":{"options":[0,1,2,3,4,5,6,7],"type":"options"},"iNightToDayFilterTime":{"range":{"max":10,"min":3,"step":1},"type":"range"}},"schedule":{"sDawnTime":{"input":"time","type":"input"},"sDuskTime":{"input":"time","type":"input"}}},"sOverexposeSuppress":{"open"
1                              = :{"sOverexposeSuppressType":{"options":["auto","manual"],"type":"options"}}},"sOverexposeSuppressType":{"manual":{"iDistanceLevel":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout":{"image_night_to_day":["sNightToDay","iNightToDayFilterLevel","iNightToDayFilterTime","sDawnTime","sDuskTime","sFillLightMode","iLightBrightness"]},"static":{"iLightBrightness":{"range":{"max":100,"min":0,"step":10},"type":"range"},"sNightToDay":{"options":["day","night"],"type":"options"},"sFillLightMode":{"type":"options","options":["IR"]}}}


[capability.image_video_adjustment]
0                              = {"layout":{"image_video_adjustment":["sPowerLineFrequencyMode","sImageFlip","iImageRotation"]},"static":{"sImageFlip":{"options":["close","flip","mirror","centrosymmetric"],"type":"options"},"sPowerLineFrequencyMode":{"options":["PAL(50HZ)","NTSC(60HZ)"],"type":"options"},"sSceneMode":{"options":["indoor","outdoor"],"type":"options"},"iImageRotation":{"options":[0,90,180,270],"type":"options"}}}


[capability.image_white_blance]
0                              = {"dynamic":{"sWhiteBlanceStyle":{"manualWhiteBalance":{"iWhiteBalanceBlue":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iWhiteBalanceGreen":{"range":{"max":100,"min":0,"step":1},"type":"range"},"iWhiteBalanceRed":{"range":{"max":100,"min":0,"step":1},"type":"range"}}}},"layout":{"image_white_blance":["sWhiteBlanceStyle","iWhiteBalanceRed","iWhiteBalanceGreen","iWhiteBalanceBlue"]},"static":{"sWhiteBlanceStyle":{"options":["manualWhiteBalance","autoWhiteBalance","lockingWhiteBalance","fluorescentLamp","incandescent","warmLight","naturalLight"],"type":"options"}}}


[user.0]
user_name                      = admin
password                       = YWRtaW4=
user_level                     = 1


[osd.common]
enable_osd                     = 1
is_presistent_text             = 1
attribute                      = transparent/not-flashing
font_size                      = 32
font_color_mode                = customize
font_color                     = fff799
alignment                      = customize
boundary                       = 0
font_path                      = /oem/usr/share/simsun_en.ttf
normalized_screen_width        = 704
normalized_screen_height       = 480


[osd.0]
type                           = channelName
enabled                        = 0
position_x                     = 1104
position_y                     = 640
display_text                   = Camera 01


[osd.1]
type                           = dateTime
enabled                        = 1
position_x                     = 16
position_y                     = 16
date_style                     = CHR-YYYY-MM-DD
time_style                     = 24hour
display_week_enabled           = 0


[osd.2]
type                           = character
enabled                        = 0
position_x                     = 0
position_y                     = 0
display_text                   = null


[osd.3]
type                           = character
enabled                        = 0
position_x                     = 0
position_y                     = 0
display_text                   = null


[osd.4]
type                           = privacyMask
enabled                        = 0
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0


[osd.5]
type                           = privacyMask
enabled                        = 0
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0


[osd.6]
type                           = image
enabled                        = 0
position_x                     = 16
position_y                     = 640
image_path                     = /userdata/image.bmp


[event.regional_invasion]
enabled                        = 1
position_x                     = 0
position_y                     = 0
width                          = 700
height                         = 560
proportion                     = 1
sensitivity_level              = 90
time_threshold                 = 1
rockiva_model_type             = small


[roi.0]
stream_type                    = mainStream
id                             = 1
enabled                        = 0
name                           = test
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0
quality_level                  = 3


[roi.1]
stream_type                    = mainStream
id                             = 2
enabled                        = 0
name                           = test
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0
quality_level                  = 3


[roi.2]
stream_type                    = subStream
id                             = 1
enabled                        = 0
name                           = test
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0
quality_level                  = 3


[roi.3]
stream_type                    = subStream
id                             = 2
enabled                        = 0
name                           = test
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0
quality_level                  = 3


[roi.4]
stream_type                    = thirdStream
id                             = 1
enabled                        = 0
name                           = test
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0
quality_level                  = 3


[roi.5]
stream_type                    = thirdStream
id                             = 2
enabled                        = 0
name                           = test
position_x                     = 0
position_y                     = 0
width                          = 0
height                         = 0
quality_level                  = 3


[region_clip.1]
enabled                        = 0
position_x                     = 0
position_y                     = 0
width                          = 640
height                         = 480


[network.ntp]
enable                         = 1
refresh_time_s                 = 60
ntp_server                     = 119.28.183.184

 

step 3. VLC on windows

리눅스에서는 3.0.16, 윈도우에서는 3.0.23 인데 윈도우는 되고 리눅스에서는 안된다. 머냐.. -_-

그래서! 리눅스 에서 snap으로 3.0.20 으로 설치하니 된다. 구버전이라 먼가 안되는 버그가 있나?

rtsp://192.168.40.216/live/0

 

 

 

리눅스에서 rtsp 포트로 접속하려하면 튕기진 않는데 왜 안되는 것이냐...

$ telnet 192.168.40.216 554
Trying 192.168.40.216...
Connected to 192.168.40.216.
Escape character is '^]'.
SETUP rtsp://192.168.40.216:554/live/0 RTSP/1.0

RTSP/1.0 400 Bad Request
Date: Thu Apr 23 10:45:18 2026
Server: rtsp_demo

Connection closed by foreign host.

 

 

'embeded > luckfox' 카테고리의 다른 글

luckfox rknn 예제  (0) 2026.04.27
luckfox 카메라 모션 디텍트 끄기  (0) 2026.04.27
luckfox rv1106 riscv  (0) 2026.04.24
luckfox rv1106 rockchip RNN  (0) 2026.04.24
luckfox pico ultra W 켜봄  (0) 2026.04.22
Posted by 구차니
embeded/luckfox2026. 4. 22. 16:49

UART2 / 115200bpx / TTL 시리얼 콘솔

[링크 : https://wiki.luckfox.com/Luckfox-Pico-Ultra/UART]

 

ssh / web 로그인 계정

root / luckfox

 

80번 포트로 접속하면 웹으로 뜨는데, ip 카메라 예제인듯. 그런데 카메라가 어떻게 해야 인식되냐..

[링크 : https://wiki.luckfox.com/Luckfox-Pico-Ultra/CSI-Camera/]

 

[링크 : https://wiki.luckfox.com/Luckfox-Pico-Ultra/Login]

 

 

[root@luckfox ]# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 5.8G    194.1M      5.4G   3% /
devtmpfs                 85.4M         0     85.4M   0% /dev
tmpfs                    85.5M         0     85.5M   0% /dev/shm
tmpfs                    85.5M    212.0K     85.3M   0% /tmp
tmpfs                    85.5M    260.0K     85.3M   0% /run
/dev/block/by-name/userdata
                        237.9M     72.0K    228.6M   0% /userdata
/dev/block/by-name/oem
                        487.6M     22.6M    448.9M   5% /oem


[root@luckfox ]# free -h
               total        used        free      shared  buff/cache   available
Mem:           171Mi        16Mi       123Mi       0.0Ki        31Mi       147Mi
Swap:             0B          0B          0B


[root@luckfox ]# cat /proc/cpuinfo 
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : Generic DT based system
Revision        : 0000
Serial          : 4e9080747fb4b024


[root@luckfox ]# netstat -tl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 localhost:5037          0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:1935            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:www             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:5555            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      
netstat: /proc/net/tcp6: No such file or directory

 

별 의미는 없지만 시리얼 콘솔 로그

DDR 306b9977f5 wesley.yao 23/12/21-09:28:37,fwver: v1.15
S5P1
4x
f967
rgef1
DDRConf2
DDR3, BW=16 Col=10 Bk=8 CS0 Row=14 CS=1 Size=256MB
924MHz
DDR bin out

U-Boot SPL board init
U-Boot SPL 2017.09 (May 12 2025 - 21:35:32)
unknown raw ID 0 0 0
Trying to boot from MMC2
Card did not respond to voltage select!
mmc_init: -95, time 20
Card did not respond to voltage select!
mmc_init: -95, time 20
spl: mmc init failed with error: -95
Trying to boot from MMC1
Best phase range 0-270 (25 len)
Successfully tuned phase to 135, used 4ms
ENVF: Primary 0x00000000 - 0x00008000
ENVF: Primary 0x00000000 - 0x00008000
No misc partition
Trying fit image at 0x440 sector
## Verified-boot: 0
## Checking uboot 0x00200000 (lzma @0x00400000) ... sha256(0079031a02...) + sha256(7dee96eaea...) + OK
## Checking fdt 0x00260998 ... sha256(9f596c5683...) + OK
Total: 405.332/437.95 ms

Jumping to U-Boot(0x00200000)


U-Boot 2017.09 (May 12 2025 - 21:35:32 +0800)

Model: Rockchip RV1106 EVB Board
MPIDR: 0xf00
PreSerial: 2, raw, 0xff4c0000
DRAM:  256 MiB
Sysmem: init
Relocation Offset: 0fd81000
Relocation fdt: 0edfa778 - 0edfede0
CR: M/C/I
Using default environment

mmc@ffa90000: 0, mmc@ffaa0000: 1
Best phase range 0-270 (25 len)
Successfully tuned phase to 135, used 3ms
ENVF: Primary 0x00000000 - 0x00008000
ENVF: Primary 0x00000000 - 0x00008000
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: ENV
DM: v2
No misc partition
boot mode: None
RESC: 'boot', blk@0x00001ec0
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Model: Luckfox Pico Ultra W
## retrieving sd_update.txt ...
Card did not respond to voltage select!
mmc_init: -95, time 20
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 924000 KHz
  gpll 1188000 KHz
  cpll 1000000 KHz
  aclk_peri_root 400000 KHz
  hclK_peri_root 200000 KHz
  pclk_peri_root 100000 KHz
  aclk_bus_root 300000 KHz
  pclk_top_root 100000 KHz
  pclk_pmu_root 100000 KHz
  hclk_pmu_root 200000 KHz
Net:   eth0: ethernet@ffa80000
Hit key to stop autoboot('CTRL+C'):  0 
## Booting FIT Image at 0xe8e9740 with size 0x00310000
Fdt Ramdisk skip relocation
No misc partition
Sysmem Warn: kernel 'reserved-memory' "mmc@3f000"(0x0003f000 - 0x00040000) is overlap with "KERNEL" (0x00008000 - 0x0030d404)

sysmem_dump_all:
    --------------------------------------------------------------------
    memory.rgn[0].addr     = 0x00000000 - 0x10000000 (size: 0x10000000)

    memory.total           = 0x10000000 (256 MiB. 0 KiB)
    --------------------------------------------------------------------
    allocated.rgn[0].name  = "UBOOT"  
                    .addr  = 0x0edfa750 - 0x10000000 (size: 0x012058b0)
    allocated.rgn[1].name  = "STACK"  
                    .addr  = 0x0ebfa750 - 0x0edfa750 (size: 0x00200000)
    allocated.rgn[2].name  = "FIT"  
                    .addr  = 0x0e8e9740 - 0x0ebf9744 (size: 0x00310004)
    allocated.rgn[3].name  = "FDT"  
                    .addr  = 0x00c00000 - 0x00c0a404 (size: 0x0000a404)
    allocated.rgn[4].name  = "KERNEL"  
                    .addr  = 0x00008000 - 0x0030d404 (size: 0x00305404)

    kmem-resv.rgn[0].name  = "mmc@3f000" 
                    .addr  = 0x0003f000 - 0x00040000 (size: 0x00001000)

    framework malloc_r     =  16 MiB
    framework malloc_f     = 512 KiB

    allocated.total        = 0x01a260bc (26 MiB. 152 KiB)
    --------------------------------------------------------------------
    LMB.allocated[0].addr  = 0x00008000 - 0x0030d404 (size: 0x00305404)
    LMB.allocated[1].addr  = 0x00c00000 - 0x00c0a404 (size: 0x0000a404)
    LMB.allocated[2].addr  = 0x0e8e9740 - 0x0ebf9780 (size: 0x00310040)
    LMB.allocated[3].addr  = 0x0ebfa750 - 0x10000000 (size: 0x014058b0)

    reserved.core.total    = 0x01a250f8 (26 MiB. 148 KiB)
    --------------------------------------------------------------------

## Loading kernel from FIT Image at 0e8e9740 ...
   Using 'conf' configuration
## Verified-boot: 0
   Trying 'kernel' kernel subimage
     Description:  unavailable
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x0e8f4340
     Data Size:    3166880 Bytes = 3 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x00008000
     Entry Point:  0x00008000
     Hash algo:    sha256
     Hash value:   83fbf25080cf3dda5f8d654c9a9dca84f7bba3cec42e71bc6159184503c38c9b
   Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 0e8e9740 ...
   Using 'conf' configuration
   Trying 'fdt' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x0e8e9f40
     Data Size:    41878 Bytes = 40.9 KiB
     Architecture: ARM
     Load Address: 0x00c00000
     Hash algo:    sha256
     Hash value:   507d711cc7ef081404434f0b3beb303553eb60dabda6df617ab2486aa350ace6
   Verifying Hash Integrity ... sha256+ OK
   Loading fdt from 0x0e8e9740 to 0x00c00000
   Booting using the fdt blob at 0x00c00000
   Loading Kernel Image from 0x0e8f4340 to 0x00008000 ... OK
   kernel loaded at 0x00008000, end = 0x0030d2a0
   Using Device Tree in place at 00c00000, end 00c0d395
## reserved-memory:
  mmc@3f000: addr=3f000 size=1000
Adding bank: 0x00000000 - 0x10000000 (size: 0x10000000)
Total: 819.212/1261.293 ms

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.160 (hxj@luckfox-System-Product-Name) (arm-rockchip830-linux-uclibcgnueabihf-gcc (crosstool-NG 1.24.0) 8.3.0, GN5
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c53c7d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Luckfox Pico Ultra W
[    0.000000] Memory policy: Data cache writeback
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x00000000, size 0 MiB
[    0.000000] Reserved memory: created CMA memory pool at 0x0f600000, size 10 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] cma: Reserved 67584 KiB at 0x0b400000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  rootwait earlycon=uart85
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 174980K/262144K available (3990K kernel code, 385K rwdata, 1868K rodata, 204K init, 148K bss, 9340K reserved, 77824K cma-re)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000533] Console: colour dummy device 80x30
[    0.000573] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000591] pid_max: default: 4096 minimum: 301
[    0.000748] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000763] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001318] CPU: Testing write buffer coherency: ok
[    0.001870] Setting up static identity map for 0x81c0 - 0x81f8
[    0.002343] devtmpfs: initialized
[    0.009719] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.009924] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.009945] futex hash table entries: 16 (order: -5, 192 bytes, linear)
[    0.010023] pinctrl core: initialized pinctrl subsystem
[    0.011146] NET: Registered protocol family 16
[    0.011575] DMA: failed to allocate 0 KiB pool for atomic coherent allocation
[    0.012090] Registered FIQ tty driver
[    0.012392] thermal_sys: Registered thermal governor 'step_wise'
[    0.012399] thermal_sys: Registered thermal governor 'user_space'
[    0.012607] cpuidle: using governor menu
[    0.027540] rockchip-gpio ff380000.gpio: probed /pinctrl/gpio@ff380000
[    0.028149] rockchip-gpio ff530000.gpio: probed /pinctrl/gpio@ff530000
[    0.028752] rockchip-gpio ff540000.gpio: probed /pinctrl/gpio@ff540000
[    0.029453] rockchip-gpio ff550000.gpio: probed /pinctrl/gpio@ff550000
[    0.030097] rockchip-gpio ff560000.gpio: probed /pinctrl/gpio@ff560000
[    0.030184] rockchip-pinctrl pinctrl: probed pinctrl
[    0.040652] fiq_debugger fiq_debugger.0: IRQ uart_irq not found
[    0.040675] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    0.040942] printk: console [ttyFIQ0] enabled
[    0.041110] Registered fiq debugger ttyFIQ0
[    0.042242] reg-fixed-voltage vdd-arm: Fixed regulator specified with variable voltages
[    0.042275] reg-fixed-voltage: probe of vdd-arm failed with error -22
[    0.042901] SCSI subsystem initialized
[    0.043112] usbcore: registered new interface driver usbfs
[    0.043156] usbcore: registered new interface driver hub
[    0.043198] usbcore: registered new device driver usb
[    0.043420] mc: Linux media interface: v0.10
[    0.043463] videodev: Linux video capture interface: v2.00
[    0.044544] Advanced Linux Sound Architecture Driver Initialized.
[    0.045022] Bluetooth: Core ver 2.22
[    0.045087] NET: Registered protocol family 31
[    0.045098] Bluetooth: HCI device and connection manager initialized
[    0.045114] Bluetooth: HCI socket layer initialized
[    0.045126] Bluetooth: L2CAP socket layer initialized
[    0.045146] Bluetooth: SCO socket layer initialized
[    0.045570] rockchip-cpuinfo cpuinfo: SoC            : 11061000
[    0.045593] rockchip-cpuinfo cpuinfo: Serial         : 4e9080747fb4b024
[    0.045977] rockchip,rknpor-powergood ff000000.syscon:rknpor-powergood: probe success!
[    0.046827] clocksource: Switched to clocksource arch_sys_counter
[    0.052880] NET: Registered protocol family 2
[    0.053099] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.053566] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.053598] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.053622] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.053646] TCP: Hash tables configured (established 2048 bind 2048)
[    0.053730] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.053751] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.053874] NET: Registered protocol family 1
[    0.054359] RPC: Registered named UNIX socket transport module.
[    0.054380] RPC: Registered udp transport module.
[    0.054387] RPC: Registered tcp transport module.
[    0.054394] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.055307] rockchip-thermal ff3c8000.tsadc: tsadc is probed successfully!
[    0.056305] Initialise system trusted keyrings
[    0.056545] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.060068] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.060808] NFS: Registering the id_resolver key type
[    0.060867] Key type id_resolver registered
[    0.060876] Key type id_legacy registered
[    0.060918] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.148684] Key type asymmetric registered
[    0.148706] Asymmetric key parser 'x509' registered
[    0.148728] io scheduler mq-deadline registered
[    0.149121] rockchip-usb2phy ff3e0000.usb2-phy: IRQ index 0 not found
[    0.151798] pwm-backlight backlight: supply power not found, using dummy regulator
[    0.154444] dma-pl330 ff420000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.154465] dma-pl330 ff420000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.155233] rockchip-pvtm ff240000.pvtm: pvtm@0 probed
[    0.155396] rockchip-pvtm ff390000.pvtm: pvtm@0 probed
[    0.155717] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    0.156248] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.156914] ff4b0000.serial: ttyS1 at MMIO 0xff4b0000 (irq = 38, base_baud = 1500000) is a 16550A
[    0.160977] rockchip-drm display-subsystem: bound ff990000.vop (ops 0xb0424e8c)
[    0.161037] rockchip-rgb ff000000.syscon:rgb: [drm:rockchip_rgb_bind] *ERROR* failed to find panel or bridge: -517
Seeding 256 bits and crediting
[    0.161198] random: crng init done
Saving 256 bits of creditable seed for next boot
[    0.164770] panel-simple panel: supply power not found, using dummy regulator
Starting syslogd: OK
[    0.173679] brd: module loaded
[    0.178758] loop: module loaded
Starting klogd: [    0.180840] rk_gmac-dwmac ffa80000.ethernet: IRQ eth_lpi not found
OK
[    0.181052] rk_gmac-dwmac ffa80000.ethernet: PTP uses main clock
[    0.181098] rk_gmac-dwmac ffa80000.ethernet: no regulator found
[    0.181112] rk_gmac-dwmac ffa80000.ethernet: clock input or output? (input).
Running sysctl: [    0.181123] rk_gmac-dwmac ffa80000.ethernet: Can not read property: tx_delay.
[    0.181133] rk_gmac-dwmac ffa80000.ethernet: set tx_delay to 0xffffffff
[    0.181143] rk_gmac-dwmac ffa80000.ethernet: Can not read property: rx_delay.
[    0.181152] rk_gmac-dwmac ffa80000.ethernet: set rx_delay to 0xffffffff
[    0.181223] rk_gmac-dwmac ffa80000.ethernet: integrated PHY? (yes).
OK
[    0.181239] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_rx
[    0.181252] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_tx
Populating /dev using udev: [    0.181281] rk_gmac-dwmac ffa80000.ethernet: cannot get clock clk_mac_speed
[    0.181291] rk_gmac-dwmac ffa80000.ethernet: clock input from PHY
[    0.181539] rk_gmac-dwmac ffa80000.ethernet: init for RMII
[    0.181729] rk_gmac-dwmac ffa80000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    0.181749] rk_gmac-dwmac ffa80000.ethernet:         DWMAC4/5
[    0.181762] rk_gmac-dwmac ffa80000.ethernet: DMA HW capability register supported
[    0.181771] rk_gmac-dwmac ffa80000.ethernet: RX Checksum Offload Engine supported
[    0.181780] rk_gmac-dwmac ffa80000.ethernet: TX Checksum insertion supported
[    0.181789] rk_gmac-dwmac ffa80000.ethernet: Wake-Up On Lan supported
[    0.181796] rk_gmac-dwmac ffa80000.ethernet: TSO supported
[    0.181805] rk_gmac-dwmac ffa80000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.181815] rk_gmac-dwmac ffa80000.ethernet: TSO feature enabled
[    0.181825] rk_gmac-dwmac ffa80000.ethernet: Using 40 bits DMA width
[    0.187999] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.188377] phy phy-ff3e0000.usb2-phy.0: illegal mode
[    0.188398] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.188435] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    0.188599] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000022010010
[    0.188647] xhci-hcd xhci-hcd.0.auto: irq 66, io mem 0xffb00000
[    0.189662] hub 1-0:1.0: USB hub found
[    0.189729] hub 1-0:1.0: 1 port detected
[    0.190058] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.190089] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    0.190115] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    0.190191] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.190853] hub 2-0:1.0: USB hub found
[    0.190914] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    0.191247] usbcore: registered new interface driver usb-storage
[    0.191396] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
[    0.191413] udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers
[    0.192759] rockchip-rtc ff1c0000.rtc: registered as rtc0
[    0.192833] rockchip-rtc ff1c0000.rtc: setting system clock to 2021-01-01T12:08:37 UTC (1609502917)
[    0.193070] i2c /dev entries driver
[    0.194334] Goodix-TS 3-0014: supply AVDD28 not found, using dummy regulator
[    0.194492] Goodix-TS 3-0014: supply VDDIO not found, using dummy regulator
[    0.194791] Goodix-TS 3-0014: i2c test failed attempt 1: -6
[    0.226989] Goodix-TS 3-0014: i2c test failed attempt 2: -6
[    0.266829] Goodix-TS 3-0014: I2C communication failure: -6
[    0.269367] usbcore: registered new interface driver uvcvideo
[    0.269393] USB Video Class driver (1.1.1)
[    0.270004] Bluetooth: HCI UART driver ver 2.3
[    0.270022] Bluetooth: HCI UART protocol H4 registered
[    0.270196] cpu cpu0: leakage=15
[    0.270976] Synopsys Designware Multimedia Card Interface Driver
[    0.271925] dtbocfg: 0.1.0
[    0.271968] dtbocfg: OK
[    0.273160] dwmmc_rockchip ffa90000.mmc: IDMAC supports 32-bit address mode.
[    0.273203] dwmmc_rockchip ffa90000.mmc: Using internal DMA controller.
[    0.273222] dwmmc_rockchip ffa90000.mmc: Version ID is 270a
[    0.273259] dwmmc_rockchip ffa90000.mmc: DW MMC controller at irq 55,32 bit host data width,256 deep fifo
[    0.273366] mmc_host mmc0: card is non-removable.
[    0.273601] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.274166] dwmmc_rockchip ffaa0000.mmc: No normal pinctrl state
[    0.274190] dwmmc_rockchip ffaa0000.mmc: No idle pinctrl state
[    0.274337] dwmmc_rockchip ffaa0000.mmc: IDMAC supports 32-bit address mode.
[    0.274370] dwmmc_rockchip ffaa0000.mmc: Using internal DMA controller.
[    0.274385] dwmmc_rockchip ffaa0000.mmc: Version ID is 270a
[    0.274423] dwmmc_rockchip ffaa0000.mmc: DW MMC controller at irq 56,32 bit host data width,256 deep fifo
[    0.274523] dwmmc_rockchip ffaa0000.mmc: allocated mmc-pwrseq
[    0.274539] mmc_host mmc1: card is non-removable.
[    0.275987] rv1106-acodec ff480000.acodec: current soc_id: rv1106
[    0.276077] rv1106-acodec ff480000.acodec: Use pa_ctl_gpio and pa_ctl_delay_ms: 0
[    0.277738] NET: Registered protocol family 17
[    0.277922] Bluetooth: RFCOMM TTY layer initialized
[    0.277946] Bluetooth: RFCOMM socket layer initialized
[    0.277979] Bluetooth: RFCOMM ver 1.11
[    0.278033] [BT_RFKILL]: Enter rfkill_rk_init
[    0.278043] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    0.278629] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 5.
[    0.278672] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 2.
[    0.278694] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 34.
[    0.278707] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[    0.278761] [BT_RFKILL]: Failed to get bt_default_wake_host gpio.
[    0.278807] rfkill_bt: probe of wireless-bluetooth failed with error -1
[    0.278881] Key type dns_resolver registered
[    0.279809] Loading compiled-in X.509 certificates
[    0.295042] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.308528] rockchip-drm display-subsystem: bound ff990000.vop (ops 0xb0424e8c)
[    0.308606] rockchip-drm display-subsystem: bound ff000000.syscon:rgb (ops 0xb04259ec)
[    0.308871] rockchip-drm display-subsystem: failed to parse resources for logo display
[    0.310520] rockchip-vop ff990000.vop: [drm:vop_crtc_atomic_enable] Update mode to 720x720p49, type: 17
[    0.320767] mmc1: queuing unknown CIS tuple 0x10 (5 bytes)
[    0.326008] mmc_host mmc1: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0)
[    0.326192] mmc1: queuing unknown CIS tuple 0x10 (5 bytes)
[    0.327274] mmc1: new SDIO card at address e9ea
[    0.331371] mmc_host mmc0: Bus speed (slot 0) = 49500000Hz (slot req 52000000Hz, actual 49500000HZ div = 0)
[    0.335078] mmc0: new high speed MMC card at address 0001
[    0.335516] mmcblk0: mmc0:0001 TWSC   7.13 GiB 
[    0.335601] mmcblk0boot0: mmc0:0001 TWSC   partition 1 4.00 MiB
[    0.335677] mmcblk0boot1: mmc0:0001 TWSC   partition 2 4.00 MiB
[    0.335856] mmcblk0rpmb: mmc0:0001 TWSC   partition 3 4.00 MiB, chardev (247:0)
[    0.336270]  mmcblk0: p1(env) p2(idblock) p3(uboot) p4(boot) p5(oem) p6(userdata) p7(rootfs)
[    0.592871] Console: switching to colour frame buffer device 90x45
[    0.609117] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[    0.609814] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 0
[    0.610306] input: adc-keys as /devices/platform/adc-keys/input/input0
[    0.689547] ALSA device list:
[    0.689574]   #0: rv1106-acodec
[    0.699613] EXT4-fs (mmcblk0p7): INFO: recovery required on readonly filesystem
[    0.699639] EXT4-fs (mmcblk0p7): write access will be enabled during recovery
[    0.739249] EXT4-fs (mmcblk0p7): recovery complete
[    0.740906] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    0.740976] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[    0.741113] devtmpfs: mounted
[    0.741313] Freeing unused kernel memory: 204K
[    0.741324] Kernel memory protection not selected by kernel config.
[    0.741360] Run /sbin/init as init process
[    0.746627] process '/bin/busybox' started with executable stack
[    0.800628] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[    1.017980] udevd[98]: starting version 3.2.7
[    1.027669] udevd[98]: specified group 'input' unknown
[    1.028737] udevd[98]: specified group 'kvm' unknown
[    1.056428] udevd[99]: starting eudev-3.2.7
done
resize2fs 1.46.5 (30-Dec-2021)
The filesystem is already 1572864 (4k) blocks long.  Nothing to do!

e2fsck 1.46.5 (30-Dec-2021)
userdata: recovering journal
userdata: clean, 15/65536 files, 18585/262144 blocks
[    2.337444] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    2.337494] ext4 filesystem being mounted at /userdata supports timestamps until 2038 (0x7fffffff)
resize2fs 1.46.5 (30-Dec-2021)
The filesystem is already 262144 (1k) blocks long.  Nothing to do!

tune2fs 1.46.5 (30-Dec-2021)
e2fsck 1.46.5 (30-Dec-2021)
oem: recovering journal
oem: clean, 372/32768 files, 12024/131072 blocks
[    2.528590] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
resize2fs 1.46.5 (30-Dec-2021)
The filesystem is already 131072 (4k) blocks long.  Nothing to do!

tune2fs 1.46.5 (30-Dec-2021)
Initializing random number generator... done.
Starting fcgiwrap daemon: OK
Starting nginx...
nginx: [warn] duplicate MIME type "text/html" in /oem/usr/etc/nginx/nginx.conf:43
/dev/block/by-name/userdata on /userdata type ext4 (rw,relatime)
Starting system message bus: [    3.807762] rk_dvbm ffa70000.rkdvbm: probe start
[    3.807800] rk_dvbm ffa70000.rkdvbm: dvbm ctx ae52bfa0
[    3.808102] rk_dvbm ffa70000.rkdvbm: probe success
[    3.822205] sc3336 4-0030: driver version: 00.01.01
[    3.822310] sc3336 4-0030: Failed to get pwdn-gpios
[    3.822324] sc3336 4-0030: could not get default pinstate
[    3.822333] sc3336 4-0030: could not get sleep pinstate
dbus[180]: Unknown username "pulse" in message bus configuration file
[    3.822354] sc3336 4-0030: supply avdd not found, using dummy regulator
done
[    3.822581] sc3336 4-0030: supply dovdd not found, using dummy regulator
[    3.822646] sc3336 4-0030: supply dvdd not found, using dummy regulator
[    3.833239] sc3336 4-0030: Detected OV00cc41 sensor
[    3.844537] rockchip-pinctrl pinctrl: pin gpio3-20 already requested by 4-0030; cannot claim for 4-0031
Starting bluetoothd: [    3.844562] rockchip-pinctrl pinctrl: pin-116 (4-0031) status -22
[    3.844577] rockchip-pinctrl pinctrl: could not request pin 116 (gpio3-20) from group mipi-refclk-out0  on device rockchip-pinctrl
[    3.844588] mis5001 4-0031: Error applying setting, reverse things back
OK
[    3.844610] mis5001: probe of 4-0031 failed with error -22
[    3.874595] rkcifhw ffa10000.rkcif: no iommu attached, using non-iommu buffers
[    3.874620] rkcifhw ffa10000.rkcif: No reserved memory region assign to CIF
[    3.875036] rkcif rkcif-mipi-lvds: rkcif driver version: v00.02.00
[    3.875150] rkcif rkcif-mipi-lvds: attach to cif hw node
[    3.875162] rkcif rkcif-mipi-lvds: failed to get dphy hw node
Starting network: [    3.875173] rkcif rkcif-mipi-lvds: rkcif wait line 0
[    3.875183] rkcif rkcif-mipi-lvds: rkcif fastboot reserve bufs num 3
[    3.875197] : terminal subdev does not exist
[    3.875207] : terminal subdev does not exist
[    3.875215] : terminal subdev does not exist
[    3.875223] : terminal subdev does not exist
[    3.875232] : get_remote_sensor: video pad[0] is null
[    3.875240] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    3.875251] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    3.875259] : get_remote_sensor: video pad[0] is null
[    3.875265] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    3.875273] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    3.875281] : get_remote_sensor: video pad[0] is null
[    3.875288] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    3.875298] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    3.875306] : get_remote_sensor: video pad[0] is null
[    3.875312] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[    3.875321] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[    3.888070] rkcif rkcif-mipi-lvds: No memory-region-thunderboot specified
[    3.889294] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: enter mipi csi2 hw probe!
[    3.889454] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
[    3.889583] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: enter mipi csi2 hw probe!
[    3.889687] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
[    3.890123] rockchip-mipi-csi2 mipi0-csi2: attach to csi2 hw node
[    3.890187] rkcif rkcif-mipi-lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
[    3.890203] rockchip-mipi-csi2: Async registered subdev
[    3.890216] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds!
[    3.912805] rkisp_hw ffa00000.rkisp: is_thunderboot: 0
[    3.912833] rkisp_hw ffa00000.rkisp: Missing rockchip,grf property
[    3.912875] rkisp_hw ffa00000.rkisp: max input:0x0@0fps
OK
[    3.913047] rkisp_hw ffa00000.rkisp: get sram size:253952
[    3.913062] rkisp_hw ffa00000.rkisp: no iommu attached, using non-iommu buffers
[    3.913072] rkisp_hw ffa00000.rkisp: No reserved memory region. default cma area!
[    3.913480] rkisp rkisp-vir0: rkisp driver version: v02.05.00
Starting ntpd: [    3.913649] rkisp rkisp-vir0: No memory-region-thunderboot specified
[    3.920987] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[    3.951080] rockchip-csi2-dphy-hw ff3e8000.csi2-dphy-hw: csi2 dphy hw probe successfully!
[    3.965504] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m00_b_sc3336 4-0030:bus type 5
[    3.965531] rockchip-csi2-dphy csi2-dphy0: csi2 dphy0 probe successfully!
0
[    4.251498] rkcif rkcif-mipi-lvds: clear unready subdev num: 1
[    4.252853] rkcif-mipi-lvds: Async subdev notifier completed
[    4.253907] rkisp-vir0: Async subdev notifier completed
[    4.255015] rkisp rkisp-vir0: clear unready subdev num: 0
[    4.271376] rga: rga2, irq = 40, match scheduler
[    4.272043] rga: rga2 hardware loaded successfully, hw_version:3.3.87975.
[    4.272068] rga: rga2 probe successfully
[    4.272341] rga_iommu: IOMMU binding successfully, default mapping core[0x4]
[    4.273301] rga: Module initialized. v1.3.1
[    4.294691] mpp_vcodec: loading out-of-tree module taints kernel.
[    4.310409] mpp_vcodec: init new
[    4.310561] mpp_service mpp-srv: 424abb9b author: Yandong Lin 2024-04-29 [mpp_enc]: fix wrap enc sw timeout when resolution switch
[    4.310577] mpp_service mpp-srv: probe start
[    4.311717] mpp_rkvenc_540c ffa50000.rkvenc: probing start
OK
[    4.311964] mpp_rkvenc_540c ffa50000.rkvenc: probing finish
[    4.312397] mpp_vepu_pp ffa60000.rkvenc-pp: probe device
[    4.312493] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_a_pp is not found!
[    4.312505] vepu_pp_init:526: No aclk reset resource define
[    4.312515] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_h_pp is not found!
Input      rkcif-mipi-lvds Format:SBGGR10_1X10 Size:2304x1296@30fps Offset(0,0)
[    4.312522] vepu_pp_init:529: No hclk reset resource define
[    4.313753] mpp_vepu_pp ffa60000.rkvenc-pp: probing finish
[    4.314006] mpp_service mpp-srv: probe success
[    4.340565] RKNPU ff660000.npu: RKNPU: rknpu iommu device-tree entry not found!, using non-iommu mode
[    4.341763] RKNPU ff660000.npu: RKNPU: Initialized RKNPU driver: v0.9.2 for 20230825
[    4.341876] RKNPU ff660000.npu: dev_pm_opp_set_regulators: no regulator (rknpu) found: -19
[    4.392470] rockit_load start
[    4.408445] rockit_load end
[    4.417620] rve: rve_irq, irq = 57, match scheduler
/
[    4.417831] rve: Driver loaded successfully rve[2] ver:[2021]58.1a
[    4.417850] rve: probe successfully
Starting sshd: [    4.419577] rve: Module initialized. v1.0.6
sc3336                  9940  1 
cmd parse result:
input  file name      : /oem/usr/share/speaker_test.wav
[    4.746352] rk_gmac-dwmac ffa80000.ethernet eth0: PHY [stmmac-0:02] driver [RK630 PHY] (irq=POLL)
output file name      : (null)
[    4.746684] dwmac4: Master AXI performs any burst length
loop count            : 1
[    4.746712] rk_gmac-dwmac ffa80000.ethernet eth0: No Safety Features support found
channel number        : 1
[    4.746733] rk_gmac-dwmac ffa80000.ethernet eth0: PTP not supported by HW
open sound rate       : 8000
[    4.747071] rk_gmac-dwmac ffa80000.ethernet eth0: configuring for phy/rmii link mode
open sound channel    : 2
[    4.751016] cfg80211: Loading compiled-in X.509 certificates for regulatory database
input stream rate     : 8000
[    4.757565] vsys dev open 27
input channel         : 2
[    4.764043] udevd[337]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video0': No such file or directory
bit_width             : 16
[    4.765354] udevd[338]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video1': No such file or directory
frame_number          : 4
[    4.768595] udevd[339]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video2': No such file or directory
frame_length          : 1024
[    4.774178] udevd[342]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video3': No such file or directory
sound card name       : hw:0,0
[    4.775307] udevd[343]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video4': No such file or directory
device id             : 0
[    4.776456] udevd[344]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video5': No such file or directory
set volume curve      : 0
[    4.778083] udevd[345]: failed to execute '/lib/udev/v4l_id' 'v4l_id /dev/video6': No such file or directory
set volume            : 50
[    4.820573] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
set mute              : 0
[    4.820748] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
set track_mode        : 0
[    4.820767] cfg80211: failed to load regulatory.db
get volume            : 0
get mute              : 0
get track_mode        : 0
query stat            : 0
pause and resume chn  : 0
save file             : 0
query save file stat  : 0
clear buf             : 0
get attribute         : 0
clear attribute       : 0
set loopback mode     : 0
vqe enable            : 0
adec input file name  : (null)
rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
log_file = (nil) 
RTVersion        12:08:42-048 {dump              :064} ---------------------------------------------------------
RTVersion        12:08:42-048 {dump              :065} rockit version: git-4720dc10a Tue Apr 30 15:47:55 2024 +0800
RTVersion        12:08:42-048 {dump              :066} rockit building: built- 2024-04-30 15:53:43
RTVersion        12:08:42-048 {dump              :067} ---------------------------------------------------------
[    5.005141] libaes: exports duplicate symbol aes_decrypt (owned by kernel)
rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
[    5.005470] libaes: exports duplicate symbol aes_decrypt (owned by kernel)
(null)           12:08:42-048 {read_log_level    :098} text is all=4
(null)           12:08:42-048 {read_log_level    :100} module is all, log_level is 4
cmpi             12:08:42-066 {main              :823} start running loop count  = 0
(null)           12:08:42-070 {monitor_log_level :149} #Start monitor_log_level thread, arg:(nil)
OK
cmpi             12:08:42-161 {test_init_mpi_ao  :226} Set volume curve type: 0
cmpi             12:08:42-164 {commandThread     :376} test info : mute = 0, volume = 50
cmpi             12:08:42-167 {sendDataThread    :309} params->s32ChnIndex : 0
[    5.083627] aicbsp_init
/etc/init.d/S50usbdevice: line 144: can't open : no such file
[    5.083648] RELEASE_DATE:2025_0410_b99ca8b6
Debug: configfs_init
[    5.083657] aicbsp_resv_mem_init 
insmod: can't insert 'libaes.ko': invalid module format
[    5.120992] file system registered
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0': No such file or directory
[    5.136941] using random self ethernet address
[    5.136966] using random host ethernet address
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/acm.gs6': No such file or directory
[    5.149777] Mass Storage Function, version: 2009/09/11
[    5.149806] LUN: removable file: (no medium)
[    5.227257] read descriptors
[    5.227329] read strings
[    5.315218] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
[    5.315248] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
[    5.315255] aicbsp: aicbsp_platform_power_on
[    5.339142] aicbsp: aicbsp_sdio_probe:1 vid:0xC8A1  did:0xC08D
[    5.339284] aicbsp: aicbsp_sdio_probe:2 vid:0xC8A1  did:0xC18D
[    5.339298] aicbsp: aicbsp_sdio_probe after replace:1
[    5.339309] AICWFDBG(LOGINFO)        aicwf_sdio_chipmatch USE AIC8800DC
[    5.339316] the device is PRODUCT_ID_AIC8800DC 
[    5.339325] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[    5.339332] aicbsp: aicwf_sdio_reg_init
[    5.339535] aicbsp: Set SDIO Clock 50 MHz
[    5.342726] AICWFDBG(LOGINFO)        btenable = 1 
[    5.342749] AICWFDBG(LOGINFO)        aicbsp: aicbsp_driver_fw_init, chip rev: 7
[    5.342761] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fw_patch_table_8800dc_u02.bin  
[    5.348736] file md5:34860725322202bfc2d80843297562ee
[    5.348836] AICWFDBG(LOGDEBUG)       aicbt_patch_info_unpack head_t->len:6 base_len:4 
[    5.348846] AICWFDBG(LOGDEBUG)       aicbt_patch_info_unpack memcpy_len:5 
[    5.348856] AICWFDBG(LOGDEBUG)       aicbt_patch_info_unpack adid_addrinf:194b44 addr_adid:1017d8 
[    5.348863] AICWFDBG(LOGDEBUG)       aicbt_patch_info_unpack id:0 addr:194000 
[    5.348871] rwnx_plat_bin_fw_upload_android
[    5.348880] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fw_adid_8800dc_u02.bin  
[    5.349349] file md5:95d10e6288e4d3413c0e3508cb9d711a
[    5.350013] rwnx_plat_bin_fw_upload_android
[    5.350031] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fw_patch_8800dc_u02.bin  
cmpi             12:08:42-769 {sendDataThread    :352} eof
[    5.351559] file md5:675951fc926375001f974d729f097164
[    5.356417] AICWFDBG(LOGDEBUG)       [0x40506004]: 0x04318000
[    5.356628] AICWFDBG(LOGDEBUG)       [0x40506004]: 0x04338000
[    5.357928] AICWFDBG(LOGDEBUG)       aicbt_ext_patch_data_load ext_patch_file_name:fw_patch_8800dc_u02_ext0.bin ext_patch_id:0 ext_patch_addr:1 
[    5.357945] rwnx_plat_bin_fw_upload_android
[    5.357954] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fw_patch_8800dc_u02_ext0.bin  
[    5.362354] file md5:d783d229be5a485fdb39cc018abaf55b
[    5.376676] aicbt_patch_table_load bt btmode[1]:1 
[    5.376695] aicbt_patch_table_load bt uart_baud[1]:1500000 
[    5.376703] aicbt_patch_table_load bt uart_flowctrl[1]:1 
[    5.376710] aicbt_patch_table_load bt lpm_enable[1]:0 
[    5.376718] aicbt_patch_table_load bt tx_pwr[1]:28463 
[    5.382231] aicbsp: bt patch version: - Mar 17 2025 11:27:16 - git a6547a6
[    5.382295] ############ aicwifi_init begin 
[    5.382619] AICWFDBG(LOGINFO)        chip_id=7, chip_sub_id=1!!
[    5.382782] AICWFDBG(LOGDEBUG)       set_bbpll_config rd_mem_addr_cfm.memdata:c 
[    5.382801] AICWFDBG(LOGINFO)        set_bbpll_config Crystal not provided by CPU 
[    5.383012] AICWFDBG(LOGDEBUG)       [0x40500010]=6
[    5.386530] ############ system_config_8800dc done
[    5.386543] AICWFDBG(LOGTRACE)       >>> rwnx_plat_patch_load()
[    5.386548] AICWFDBG(LOGINFO)        testmode=0
[    5.386554] AICWFDBG(LOGINFO)        rwnx_plat_patch_loading
[    5.386560] u02 is loaing ###############
[    5.386566] rwnx_plat_bin_fw_upload_android
[    5.386577] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fmacfw_patch_8800dc_u02.bin  
[    5.392826] file md5:ec8ee791723f4bf9825a6c153a7f0a8f
[    5.400526] AICWFDBG(LOGINFO)        dpd calib & write
[    5.400548] aicwf_dpd_calib_8800dc
[    5.400716] AICWFDBG(LOGERROR)       misc_ram_addr=120ebc
[    5.401301] AICWFDBG(LOGTRACE)       bit_mask:ad03e777,8ff693a2,7584ddd,86172087
[    5.401313] rwnx_plat_bin_fw_upload_android
[    5.401323] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fmacfw_calib_8800dc_u02.bin  
[    5.407240] file md5:061790c6181e5974a4c44c515e6d0b69
[    5.416628] AICWFDBG(LOGINFO)        Start app: 00130009, 4
[    5.636219] ############ rwnx_plat_patch_load done
[    5.637013] AICWFDBG(LOGINFO)        wifisetting_cfg_addr=11019c, ldpc_cfg_addr=120980, agc_cfg_addr=120180, txgain_cfg_addr=120000
[    5.638969] ### Upload fmacfw_patch_tbl_8800dc_u02.bin 
[    5.638989] rwnx_load_firmware :firmware path = /oem/usr/ko/aic8800dc_fw/fmacfw_patch_tbl_8800dc_u02.bin  
[    5.643401] file md5:c0538d7493963b1f37938e6e87f9e304
[    5.643418] tbl size = 1008 
[    5.643426] AICWFDBG(LOGINFO)        FMACFW_PATCH_TBL_8800DC_U02_DESCRIBE_BASE = 187c00 
[    5.643687] di Mar 14 2025 12:29:38 - g09cea8d
[    5.643696] patch_tbl:  110888  181219
[    5.643868] patch_tbl:  1108ec  184d59
[    5.644027] patch_tbl:  110874  181279
[    5.644186] patch_tbl:  110658  181b09
[    5.644346] patch_tbl:  1107dc  1874dd
[    5.644498] patch_tbl:  11055c  184135
[    5.644654] patch_tbl:  110758  187485
[    5.644813] patch_tbl:  110620  187631
[    5.644969] patch_tbl:  1107e0  181b99
[    5.645134] patch_tbl:  110838  181dd5
[    5.645339] patch_tbl:  1104f4  182045
[    5.645497] patch_tbl:  110490  182f6d
[    5.645649] patch_tbl:  110420  1822b1
[    5.645808] patch_tbl:  11048c  1823cd
[    5.645963] patch_tbl:  110688  182471
[    5.646119] patch_tbl:  110738  182ead
[    5.646275] patch_tbl:  110528  1877a1
[    5.646428] patch_tbl:  110554  182fc1
[    5.646587] patch_tbl:  110798  183615
[    5.646742] patch_tbl:  1106dc  183061
[    5.648937] patch_tbl:  110584  1830fd
[    5.649129] patch_tbl:  110588  1832d5
[    5.649302] patch_tbl:  110634  1854e1
[    5.649467] patch_tbl:  110638  1856b9
[    5.649632] patch_tbl:  110640  1858c1
[    5.649791] patch_tbl:  11086c  18597d
[    5.649948] patch_tbl:  1105fc  1859d9
[    5.650101] patch_tbl:  1105f0  18655d
[    5.650255] patch_tbl:  110860  185641
[    5.650411] patch_tbl:  11081c  185131
[    5.650565] patch_tbl:  1105a4  185dc1
[    5.650779] patch_tbl:  1105c8  185e91
[    5.650940] patch_tbl:  110810  1851e9
[    5.651097] patch_tbl:  1108c4  183869
[    5.651252] patch_tbl:  1108c8  183705
[    5.651408] patch_tbl:  110628  1839e1
[    5.651562] patch_tbl:  110750  18664d
[    5.651718] patch_tbl:  1106d8  186691
[    5.651876] patch_tbl:  11085c  183e45
[    5.652032] patch_tbl:  110518  186945
[    5.652190] patch_tbl:  1105e0  181f7d
[    5.652346] patch_tbl:  1107d8  18368d
[    5.652503] patch_tbl:  1103d0  1869a5
[    5.652656] patch_tbl:  1106c8  186f81
[    5.652810] patch_tbl:  11056c  186f4d
[    5.652965] patch_tbl:  1106b4  185309
[    5.653121] patch_tbl:  110510  187071
[    5.653279] patch_tbl:  110550  18710d
[    5.653466] patch_tbl:  1104ec  1842a1
[    5.653626] patch_tbl:  1106d4  187389
[    5.653787] patch_tbl:  11064c  186241
[    5.653947] patch_tbl:  110494  184675
[    5.654109] patch_tbl:  110734  184689
[    5.654268] patch_tbl:  11047c  1873d1
[    5.654426] patch_tbl:  110740  18757d
[    5.654582] patch_tbl:  110880  1875e9
[    5.654738] patch_tbl:  110054  181b09
[    5.654897] patch_tbl:  11005c  181b09
[    5.655057] patch_tbl:  110048  182f6d
[    5.655213] patch_tbl:  110088  185929
[    5.655365] patch_tbl:  1100c4  185309
[    5.655518] patch_tbl:  110ef0  185b55
[    5.655670] patch_tbl:  110ec0  183c15
[    5.655830] patch_tbl:  110da0  183c35
[    5.655985] patch_tbl:  110dc0  183ded
[    5.656182] patch_tbl:  110e28  183d81
[    5.656340] patch_tbl:  1100e0  183d2d
[    5.656500] patch_tbl:  110d88  183e29
[    5.656659] patch_tbl:  110d90  186721
[    5.656815] patch_tbl:  110e18  183b95
[    5.660262] patch_tbl:  110bb4  18740d
[    5.660455] patch_tbl:  110960  1835f9
[    5.660627] patch_tbl:  1109c0  18205d
[    5.660790] patch_tbl:  110f08  182291
[    5.660946] patch_tbl:  110b1c  183619
[    5.661106] patch_tbl:  110b24  183619
[    5.661261] patch_tbl:  110b5c  182585
[    5.661423] patch_tbl:  110b64  182585
[    5.661645] patch_tbl:  110b6c  182585
[    5.661810] patch_tbl:  110b74  182585
[    5.661970] patch_tbl:  110b7c  182585
[    5.662129] patch_tbl:  110b8c  182585
[    5.662289] patch_tbl:  110b44  1858c1
[    5.662449] patch_tbl:  110ac0  184311
[    5.662610] patch_tbl:  110aa0  183575
[    5.662769] patch_tbl:  110aa8  1835dd
[    5.662925] patch_tbl:  110a60  186ea1
[    5.663082] patch_tbl:  110e20  186f15
[    5.663238] patch_tbl:  110f3c  187259
[    5.663395] patch_tbl:  110d28  1872ad
cmpi             12:08:43-378 {main              :828} end running loop count  = 0
[    5.663556] patch_tbl:  111418  1871a1
[    5.663712] patch_tbl:  40030084  187c80
[    5.663865] patch_tbl:  40030000  46e68
[    5.664023] patch_tbl:  40030004  2778c
[    5.664178] patch_tbl:  40030008  40908
[    5.664336] patch_tbl:  4003000c  13824
[    5.664493] patch_tbl:  40030010  13864
[    5.664649] patch_tbl:  40030014  13868
[    5.664803] patch_tbl:  40030018  138e4
[    5.664965] patch_tbl:  4003001c  138e8
[    5.665122] patch_tbl:  187c80  d0332b00
[    5.665277] patch_tbl:  187c84  47706008
[    5.665436] patch_tbl:  187c88  47702001
[    5.665595] patch_tbl:  187c8c  bf00bf00
[    5.665751] patch_tbl:  187c90  bf004832
[    5.665906] patch_tbl:  187c94  f3efbf00
[    5.666062] patch_tbl:  187c98  bf004812
[    5.666218] patch_tbl:  187c9c  4620bf00
[    5.666372] patch_tbl:  40030080  fb
[    5.666530] patch_tbl:  4010001c  0
[    5.666699] ############ aicwf_patch_config_8800dc done
[    5.666710] AICWFDBG(LOGINFO)        Read FW mem: 00120000
[    5.669710] AICWFDBG(LOGINFO)        cfm: [00120000] = 00ffd780
[    5.669727] AICWFDBG(LOGINFO)        Start app: 00120000, 5
[    5.674027] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[    5.674044] aicsdio: aicwf_sdio_reg_init
[    5.684763] aicbsp: aicbsp_resv_mem_alloc_skb, alloc resv_mem_txdata succuss, id: 0, size: 98304
[    5.685050] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[    5.685216] tcp_ack_init 
[    5.685234] AICWFDBG(LOGINFO)        aicwf_prealloc_txq_alloc size is diff will to be kzalloc 
[    5.685259] AICWFDBG(LOGINFO)        aicwf_prealloc_txq_alloc txq kzalloc successful 
sh: write error: No such device
[    5.706836] aicbsp: sdio_err:<aicwf_sdio_bus_pwrctl,1449>: bus down
[    5.917470] ieee80211 phy0: HT supp 1, VHT supp 1, HE supp 1
[    5.919587] ieee80211 phy0: 
[    5.919587] *******************************************************
[    5.919587] ** CAUTION: USING PERMISSIVE CUSTOM REGULATORY RULES **
[    5.919587] *******************************************************
[    5.930360] get_txpwr_max:txpwr_max:20 
[    6.073188] vsys_release, 27
[    6.073204] vrgn_release, 123
[    6.073234] vi_release 99
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCGIFFLAGS: No such device
RKSockServer     12:08:44-087 {start             :162} accept failed
[    6.073286] venc_release 51
[    6.807700] rk_gmac-dwmac ffa80000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    6.970661] of_dma_request_slave_channel: dma-names property of node '/serial@ff4b0000' missing or empty
Device setup complete
[    6.970697] dw-apb-uart ff4b0000.serial: failed to request DMA, use interrupt mode
/usr/bin/luckfox-config: line 234: warning: command substitution: ignored null byte in input
(null)           12:08:45-073 {monitor_log_level :190} monitor_log_level quit
Complete configuration loading
Found ADC keys device: /dev/input/event0
/root/main.py and /root/boot.py not exist ,pass...
OK
RTC does not require time calibration
[root@luckfox ]# =========================================
=== This system is the factory default system, intended for testing purposes only. ===
=== For detailed instructions, visit https://wiki.luckfox.com/. ===
=========================================

 

'embeded > luckfox' 카테고리의 다른 글

luckfox rknn 예제  (0) 2026.04.27
luckfox 카메라 모션 디텍트 끄기  (0) 2026.04.27
luckfox rv1106 riscv  (0) 2026.04.24
luckfox rv1106 rockchip RNN  (0) 2026.04.24
luckfox csi 카메라 테스트  (0) 2026.04.23
Posted by 구차니