Ник:
Пароль:

Контакты

E-mail: info@starterkit.ru
тел.: +7 922 680-21-73
тел.: +7 922 680-21-74
Телеграм: t.me/starterkit_ru

Способы оплаты

User Info


Добро пожаловать,
Guest

Регистрация или входРегистрация или вход
Потеряли пароль?Потеряли пароль?

Ник:
Пароль:

ПользователейПользователей:0
Поисковых ботовПоисковых ботов:2
ГостейГостей:1

ОбновитьПодробнееВсегоВсего:3
Форум » starterkit.ru » Embedded Linux
Оптимизация времени загруки системы
sasamy
Добавлено 25.02.2026 23:41
0
Сообщение: 1
sasamy
4.71

Пункты: 95701
Регистрация: 14.08.2009
Давно назревала тема - что можно сделать чтобы ускорить загрузку системы.
Исходные данные - процессор allwinner a40i, штатный buildroot-2022.08.8-sk-a40i, собран дефолтный конфиг с qt5

Для начала - лог загрузки приложения (affine) из обычного загрузочного скрипта

/etc/init.d/S90affine

#!/bin/sh

. /etc/profile.d/profile.sh
export HOME=/root

case "$1" in
start)
sleep 0.5
echo "-> Start Application..."
/usr/lib/qt/examples/widgets/painting/affine/affine &
;;
stop)
killall affine
;;
restart|reload)
"$0" stop
"$0" start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac

exit $?


Задержка sleep 0.5 добавлена чтобы успел загрузиться сервис оконной системы weston


[0.000001 0.000001]
[0.111005 0.111004] U-Boot SPL 2022.04 (Feb 12 2026 - 13:27:31 +0300)
[0.139228 0.028223] DRAM: 512 MiB
[0.164972 0.025744] Trying to boot from MMC2
[0.457483 0.292511]
[0.457628 0.000146]
[0.457656 0.000027] U-Boot 2022.04 (Feb 12 2026 - 13:27:31 +0300) Allwinner Technology
[0.462746 0.005090]
[0.462774 0.000029] CPU: Allwinner R40 (SUN8I 1701)
[0.465756 0.002981] Model: Starterkit SK-A40i-SODIMM
[0.471461 0.005706] DRAM: 512 MiB
[0.511108 0.039646] Core: 35 devices, 18 uclasses, devicetree: separate
[0.514380 0.003273] WDT: Not starting watchdog@1c20c90
[0.517272 0.002892] MMC: mmc@1c11000: 1, mmc@1c12000: 2
[0.531671 0.014399] Loading Environment from FAT... Unable to read "uboot.env" from mmc1:1...
[0.595675 0.064004] In: serial@1c28000
[0.596435 0.000760] Out: serial@1c28000
[0.598925 0.002490] Err: serial@1c28000
[0.633214 0.034289] Net: phy interface0
[0.655826 0.022612] eth0: ethernet@1c50000
[0.656772 0.000946] Hit any key to stop autoboot: 0
[0.714058 0.057287] switch to partitions #0, OK
[0.714984 0.000926] mmc1(part 0) is current device
[0.718964 0.003980] Scanning mmc 1:1...
[0.722200 0.003235] Found U-Boot script /boot.scr
[0.726803 0.004603] 277 bytes read in 1 ms (270.5 KiB/s)
[0.729248 0.002445] ## Executing script at 43100000
[0.787357 0.058110] switch to partitions #0, OK
[0.788277 0.000920] mmc1(part 0) is current device
[0.929300 0.141023] 6346840 bytes read in 136 ms (44.5 MiB/s)
[0.936769 0.007469] 33543 bytes read in 2 ms (16 MiB/s)
[0.939278 0.002508] Kernel image @ 0x42000000 [ 0x000000 - 0x60d858 ]
[0.943343 0.004066] ## Flattened Device Tree blob at 43000000
[0.948527 0.005184] Booting using the fdt blob at 0x43000000
[0.952104 0.003577] Loading Device Tree to 49ff4000, end 49fff306 ... OK
[0.993738 0.041634]
[0.993799 0.000061] Starting kernel ...
[0.994624 0.000825]
[1.639388 0.644763] [ 0.000000] Booting Linux on physical CPU 0x0
[1.642238 0.002850] [ 0.000000] Linux version 6.1.0-rc6 (sasa@sasa-HP-255-G8-Notebook-PC) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #3 SMP Mon Feb 9 11:00:00 MSK 2026
[1.670563 0.028325] [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[1.678439 0.007877] [ 0.000000] CPU: div instructions available: patching division code
[1.684106 0.005667] [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[1.692368 0.008262] [ 0.000000] OF: fdt: Machine model: Starterkit SK-A40i-SODIMM
[1.697854 0.005486] [ 0.000000] Memory policy: Data cache writealloc
[1.701178 0.003324] [ 0.000000] cma: Reserved 256 MiB at 0x4fc00000
[1.706295 0.005118] [ 0.000000] Zone ranges:
[1.709182 0.002887] [ 0.000000] Normal [mem 0x0000000040000000-0x000000005fffffff]
[1.715159 0.005977] [ 0.000000] HighMem empty
[1.717678 0.002519] [ 0.000000] Movable zone start for each node
[1.722832 0.005155] [ 0.000000] Early memory node ranges
[1.725800 0.002968] [ 0.000000] node 0: [mem 0x0000000040000000-0x000000005fffffff]
[1.731510 0.005709] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[1.739520 0.008011] [ 0.000000] psci: probing for conduit method from DT.
[1.745054 0.005533] [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[1.750490 0.005436] [ 0.000000] percpu: Embedded 12 pages/cpu s16596 r8192 d24364 u49152
[1.756210 0.005720] [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[1.762256 0.006046] [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk2p2 rootwait
[1.770544 0.008288] [ 0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[1.778816 0.008272] [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[1.787006 0.008190] [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[1.795375 0.008369] [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[1.801205 0.005830] [ 0.000000] Memory: 241156K/524288K available (10240K kernel code, 991K rwdata, 2444K rodata, 1024K init, 284K bss, 20988K reserved, 262144K cma-reserved, 0K highmem)
[1.817249 0.016044] [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[1.823198 0.005949] [ 0.000000] rcu: Hierarchical RCU implementation.
[1.828453 0.005255] [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[1.834130 0.005676] [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[1.842306 0.008176] [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[1.848649 0.006343] [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[1.853814 0.005166] [ 0.000000] GIC: Using split EOI/Deactivate mode
[1.859179 0.005365] [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[1.864925 0.005746] [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[1.873283 0.008358] [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[1.881556 0.008272] [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[1.890253 0.008698] [ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[1.898352 0.008099] [ 0.000015] Switching to timer-based delay loop, resolution 41ns
[1.906132 0.007780] [ 0.000279] Console: colour dummy device 80x30
[1.909377 0.003245] [ 0.000330] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[1.920271 0.010894] [ 0.000348] pid_max: default: 32768 minimum: 301
[1.923621 0.003350] [ 0.000533] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[1.931636 0.008015] [ 0.000549] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[1.939756 0.008120] [ 0.001194] CPU: Testing write buffer coherency: ok
[1.945154 0.005398] [ 0.001530] /cpus/cpu@0 missing clock-frequency property
[1.950825 0.005671] [ 0.001560] /cpus/cpu@1 missing clock-frequency property
[1.954136 0.003311] [ 0.001577] /cpus/cpu@2 missing clock-frequency property
[1.959746 0.005610] [ 0.001595] /cpus/cpu@3 missing clock-frequency property
[1.965095 0.005349] [ 0.001606] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[1.971080 0.005985] [ 0.002372] Setting up static identity map for 0x40100000 - 0x40100060
[1.978706 0.007627] [ 0.002509] rcu: Hierarchical SRCU implementation.
[1.982102 0.003396] [ 0.002515] rcu: Max phase no-delay instances is 1000.
[1.987238 0.005136] [ 0.003196] smp: Bringing up secondary CPUs ...
[1.992809 0.005572] [ 0.013952] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[1.998240 0.005430] [ 0.024800] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[2.003900 0.005661] [ 0.035583] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[2.009296 0.005396] [ 0.035673] smp: Brought up 1 node, 4 CPUs
[2.012356 0.003060] [ 0.035685] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[2.020519 0.008163] [ 0.035693] CPU: All CPU(s) started in HYP mode.
[2.023797 0.003278] [ 0.035696] CPU: Virtualization extensions available.
[2.029069 0.005272] [ 0.036331] devtmpfs: initialized
[2.031869 0.002800] [ 0.043223] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[2.040093 0.008224] [ 0.043449] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[2.051106 0.011013] [ 0.043475] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[2.056876 0.005770] [ 0.052647] pinctrl core: initialized pinctrl subsystem
[2.062549 0.005673] [ 0.054145] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[2.068186 0.005637] [ 0.055464] DMA: preallocated 256 KiB pool for atomic coherent allocations
[2.075876 0.007690] [ 0.056412] thermal_sys: Registered thermal governor 'step_wise'
[2.081903 0.006027] [ 0.056485] cpuidle: using governor menu
[2.084700 0.002798] [ 0.056663] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[2.092996 0.008295] [ 0.056675] hw-breakpoint: maximum watchpoint size is 8 bytes.
[2.098478 0.005482] [ 0.069166] platform 1c20800.pinctrl: Fixing up cyclic dependency with pmic@34 (1c2ac00.i2c)
[2.106838 0.008361] [ 0.071288] platform 1c70000.tcon-top: Fixing up cyclic dependency with 1200000.mixer
[2.115399 0.008560] [ 0.071357] platform 1c70000.tcon-top: Fixing up cyclic dependency with 1100000.mixer
[2.123510 0.008111] [ 0.071671] platform 1c71000.lcd-controller: Fixing up cyclic dependency with 1c70000.tcon-top
[2.131729 0.008219] [ 0.072702] platform panel0: Fixing up cyclic dependency with 1c71000.lcd-controller
[2.139938 0.008209] [ 0.084009] SCSI subsystem initialized
[2.142838 0.002901] [ 0.084462] usbcore: registered new interface driver usbfs
[2.148530 0.005692] [ 0.084505] usbcore: registered new interface driver hub
[2.154052 0.005521] [ 0.084546] usbcore: registered new device driver usb
[2.159571 0.005520] [ 0.084781] mc: Linux media interface: v0.10
[2.162682 0.003111] [ 0.084828] videodev: Linux video capture interface: v2.00
[2.168108 0.005426] [ 0.084914] pps_core: LinuxPPS API ver. 1 registered
[2.173558 0.005450] [ 0.084921] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[2.182323 0.008765] [ 0.084939] PTP clock support registered
[2.187393 0.005070] [ 0.085356] Advanced Linux Sound Architecture Driver Initialized.
[2.193033 0.005640] [ 0.085944] Bluetooth: Core ver 2.22
[2.196168 0.003135] [ 0.085988] NET: Registered PF_BLUETOOTH protocol family
[2.201461 0.005293] [ 0.085994] Bluetooth: HCI device and connection manager initialized
[2.207025 0.005564] [ 0.086012] Bluetooth: HCI socket layer initialized
[2.212510 0.005484] [ 0.086021] Bluetooth: L2CAP socket layer initialized
[2.218163 0.005653] [ 0.086037] Bluetooth: SCO socket layer initialized
[2.223568 0.005405] [ 0.086543] clocksource: Switched to clocksource arch_sys_counter
[2.229329 0.005760] [ 0.094414] NET: Registered PF_INET protocol family
[2.234532 0.005204] [ 0.094641] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[2.240300 0.005768] [ 0.095895] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[2.249126 0.008826] [ 0.095925] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[2.257046 0.007921] [ 0.095939] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[2.265163 0.008116] [ 0.095981] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[2.271110 0.005947] [ 0.096142] TCP: Hash tables configured (established 4096 bind 4096)
[2.278954 0.007844] [ 0.096242] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[2.284821 0.005867] [ 0.096284] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[2.290680 0.005859] [ 0.096478] NET: Registered PF_UNIX/PF_LOCAL protocol family
[2.296330 0.005651] [ 0.096979] RPC: Registered named UNIX socket transport module.
[2.304085 0.007755] [ 0.096991] RPC: Registered udp transport module.
[2.307195 0.003110] [ 0.096996] RPC: Registered tcp transport module.
[2.312543 0.005348] [ 0.096999] RPC: Registered tcp NFSv4.1 backchannel transport module.
[2.318474 0.005930] [ 0.098897] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[2.326753 0.008279] [ 0.099904] Initialise system trusted keyrings
[2.331961 0.005208] [ 0.100125] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[2.337867 0.005905] [ 0.106015] NFS: Registering the id_resolver key type
[2.343293 0.005426] [ 0.106152] Key type id_resolver registered
[2.346124 0.002831] [ 0.106158] Key type id_legacy registered
[2.351647 0.005523] [ 0.106202] ntfs3: Max link count 4000
[2.354550 0.002903] [ 0.106209] ntfs3: Read-only LZX/Xpress compression included
[2.360231 0.005682] [ 0.198494] Key type asymmetric registered
[2.365303 0.005072] [ 0.198509] Asymmetric key parser 'x509' registered
[2.368520 0.003217] [ 0.198667] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[2.376582 0.008062] [ 0.198676] io scheduler mq-deadline registered
[2.382264 0.005682] [ 0.198682] io scheduler kyber registered
[2.385105 0.002841] [ 0.212911] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[2.390859 0.005754] [ 0.226815] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[2.398685 0.007826] [ 0.226908] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[2.404457 0.005772] [ 0.226996] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[2.409963 0.005505] [ 0.227039] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[2.418483 0.008521] [ 0.227459] lima 1c40000.gpu: bus rate = 200000000
[2.423817 0.005334] [ 0.227475] lima 1c40000.gpu: mod rate = 297000000
[2.427066 0.003248] [ 0.227913] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 0
[2.435069 0.008003] [ 0.229715] sun4i-mdio 1c0b080.mdio: supply phy not found, using dummy regulator
[2.443129 0.008060] [ 0.231577] CAN device driver interface
[2.446104 0.002975] [ 0.232804] PPP generic driver version 2.4.2
[2.451482 0.005378] [ 0.233014] PPP BSD Compression module registered
[2.454765 0.003284] [ 0.233023] PPP Deflate Compression module registered
[2.460176 0.005410] [ 0.233214] PPP MPPE Compression module registered
[2.465515 0.005339] [ 0.233221] NET: Registered PF_PPPOX protocol family
[2.470968 0.005454] [ 0.233308] usbcore: registered new interface driver rt2800usb
[2.476479 0.005510] [ 0.233383] usbcore: registered new interface driver rtl8192cu
[2.482841 0.006362] [ 0.233421] usbcore: registered new interface driver rtl8xxxu
[2.487868 0.005027] [ 0.233821] usbcore: registered new interface driver usb-storage
[2.493580 0.005712] [ 0.234279] UDC core: g_serial: couldn't find an available UDC
[2.499103 0.005523] [ 0.234642] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[2.504886 0.005783] [ 0.234649] SPI driver ads7846 has no spi_device_id for ti,ads7843
[2.511117 0.006231] [ 0.234654] SPI driver ads7846 has no spi_device_id for ti,ads7845
[2.518408 0.007291] [ 0.234659] SPI driver ads7846 has no spi_device_id for ti,ads7873
[2.524124 0.005716] [ 0.235269] input: 1c25000.rtp as /devices/platform/soc/1c25000.rtp/input/input0
[2.532210 0.008086] [ 0.236686] sun6i-rtc 1c20400.rtc: registered as rtc0
[2.535542 0.003332] [ 0.236727] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2)
[2.544103 0.008560] [ 0.236846] sun6i-rtc 1c20400.rtc: RTC enabled
[2.549659 0.005556] [ 0.237318] i2c_dev: i2c /dev entries driver
[2.552194 0.002536] [ 0.238741] sun8i-di 1400000.deinterlace: Device registered as /dev/video0
[2.560262 0.008068] [ 0.239154] sunxi cedar version 0.1
[2.563221 0.002959] [ 0.240404] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[2.571399 0.008178] [ 0.240607] usbcore: registered new interface driver btusb
[2.576810 0.005411] [ 0.241944] sun8i-ce 1c15000.crypto: Set mod clock to 300000000 (300 Mhz) from 24000000 (24 Mhz)
[2.585380 0.008569] [ 0.242306] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[2.593582 0.008202] [ 0.242661] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[2.599483 0.005901] [ 0.242842] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[2.607651 0.008168] [ 0.243020] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
[2.616174 0.008523] [ 0.243164] sun8i-ce 1c15000.crypto: Register cbc(aes)
[2.621378 0.005204] [ 0.243198] sun8i-ce 1c15000.crypto: Register ecb(aes)
[2.626836 0.005458] [ 0.243211] sun8i-ce 1c15000.crypto: Register cbc(des3_ede)
[2.632349 0.005512] [ 0.243223] sun8i-ce 1c15000.crypto: Register ecb(des3_ede)
[2.637995 0.005646] [ 0.243235] sun8i-ce 1c15000.crypto: Register md5
[2.641007 0.003012] [ 0.243248] sun8i-ce 1c15000.crypto: Register sha1
[2.646445 0.005438] [ 0.243260] sun8i-ce 1c15000.crypto: Register sha224
[2.652019 0.005574] [ 0.243282] sun8i-ce 1c15000.crypto: Register sha256
[2.657556 0.005537] [ 0.243294] sun8i-ce 1c15000.crypto: DEBUG: Algo of sha384 not supported
[2.663408 0.005852] [ 0.243302] sun8i-ce 1c15000.crypto: DEBUG: Algo of sha512 not supported
[2.669421 0.006013] [ 0.243309] sun8i-ce 1c15000.crypto: Register stdrng
[2.674320 0.004899] [ 0.243341] sun8i-ce 1c15000.crypto: TRNG not supported
[2.680077 0.005757] [ 0.243349] sun8i-ce 1c15000.crypto: CryptoEngine Die ID 0
[2.685588 0.005512] [ 0.244447] usbcore: registered new interface driver usbhid
[2.691082 0.005494] [ 0.244456] usbhid: USB HID core driver
[2.694096 0.003014] [ 0.245202] cedrus 1c0e000.video-codec: Device cedrus-dec registered as /dev/video1
[2.702299 0.008202] [ 0.245351] cedrus 1c0e000.video-codec: Device cedrus-enc registered as /dev/video2
[2.710506 0.008207] [ 0.250649] NET: Registered PF_PACKET protocol family
[2.716044 0.005539] [ 0.250663] can: controller area network core
[2.719094 0.003050] [ 0.250748] NET: Registered PF_CAN protocol family
[2.724414 0.005320] [ 0.250755] can: raw protocol
[2.727187 0.002773] [ 0.250762] can: broadcast manager protocol
[2.732426 0.005239] [ 0.250773] can: netlink gateway - max_hops=1
[2.735584 0.003158] [ 0.251021] Bluetooth: RFCOMM TTY layer initialized
[2.741075 0.005491] [ 0.251042] Bluetooth: RFCOMM socket layer initialized
[2.746612 0.005537] [ 0.251064] Bluetooth: RFCOMM ver 1.11
[2.749617 0.003005] [ 0.251078] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[2.755156 0.005539] [ 0.251084] Bluetooth: BNEP filters: protocol multicast
[2.760573 0.005417] [ 0.251093] Bluetooth: BNEP socket layer initialized
[2.765931 0.005358] [ 0.251099] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[2.771575 0.005645] [ 0.251108] Bluetooth: HIDP socket layer initialized
[2.774989 0.003413] [ 0.251200] Key type dns_resolver registered
[2.780563 0.005574] [ 0.251297] Registering SWP/SWPB emulation handler
[2.785645 0.005082] [ 0.251556] Loading compiled-in X.509 certificates
[2.788940 0.003295] [ 0.267819] sun4i-usb-phy 1c13400.phy: phy0 dr_mode=2
[2.794289 0.005349] [ 0.271351] sun4i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[2.802196 0.007907] [ 0.271655] sun4i-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[2.810373 0.008177] [ 0.272789] printk: console [ttyS0] disabled
[2.813735 0.003363] [ 0.272866] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 84, base_baud = 1500000) is a AW_16550A
[2.822304 0.008569] [ 1.457838] printk: console [ttyS0] enabled
[2.828250 0.005945] [ 1.462738] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 198
[2.834178 0.005928] [ 1.469396] sun4i-pinctrl 1c20800.pinctrl: pin-198 (1c28c00.serial) status -517
[2.842177 0.007999] [ 1.476714] sun4i-pinctrl 1c20800.pinctrl: could not request pin 198 (PG6) from group PG6 on device 1c20800.pinctrl
[2.853156 0.010979] [ 1.487237] dw-apb-uart 1c28c00.serial: Error applying setting, reverse things back
[2.859601 0.006445] [ 1.495097] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 228
[2.867329 0.007729] [ 1.501725] sun4i-pinctrl 1c20800.pinctrl: pin-228 (1c29000.serial) status -517
[2.873149 0.005820] [ 1.509042] sun4i-pinctrl 1c20800.pinctrl: could not request pin 228 (PH4) from group PH4 on device 1c20800.pinctrl
[2.884380 0.011231] [ 1.519564] dw-apb-uart 1c29000.serial: Error applying setting, reverse things back
[2.892904 0.008525] [ 1.527430] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 266
[2.898638 0.005734] [ 1.534042] sun4i-pinctrl 1c20800.pinctrl: pin-266 (1c29400.serial) status -517
[2.906663 0.008025] [ 1.541360] sun4i-pinctrl 1c20800.pinctrl: could not request pin 266 (PI10) from group PI10 on device 1c20800.pinctrl
[2.917737 0.011073] [ 1.552056] dw-apb-uart 1c29400.serial: Error applying setting, reverse things back
[2.924143 0.006406] [ 1.559902] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 276
[2.931932 0.007789] [ 1.566512] sun4i-pinctrl 1c20800.pinctrl: pin-276 (1c29c00.serial) status -517
[2.938219 0.006287] [ 1.573828] sun4i-pinctrl 1c20800.pinctrl: could not request pin 276 (PI20) from group PI20 on device 1c20800.pinctrl
[2.948942 0.010723] [ 1.584524] dw-apb-uart 1c29c00.serial: Error applying setting, reverse things back
[2.957556 0.008615] [ 1.592465] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 96
[2.963130 0.005574] [ 1.599003] sun4i-pinctrl 1c20800.pinctrl: pin-96 (1c71000.lcd-controller) status -517
[2.971314 0.008184] [ 1.606927] sun4i-pinctrl 1c20800.pinctrl: could not request pin 96 (PD0) from group PD0 on device 1c20800.pinctrl
[2.983347 0.012033] [ 1.617363] sun4i-tcon 1c71000.lcd-controller: Error applying setting, reverse things back
[2.991395 0.008048] [ 1.626330] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 273
[2.997214 0.005819] [ 1.632967] sun4i-pinctrl 1c20800.pinctrl: pin-273 (1c06000.spi) status -517
[3.005362 0.008148] [ 1.640025] sun4i-pinctrl 1c20800.pinctrl: could not request pin 273 (PI17) from group PI17 on device 1c20800.pinctrl
[3.016819 0.011457] [ 1.650734] sun6i-spi 1c06000.spi: Error applying setting, reverse things back
[3.022599 0.005780] [ 1.658291] sun4i-mdio 1c0b080.mdio: supply phy not found, using dummy regulator
[3.031917 0.009318] [ 1.666911] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 236
[3.037773 0.005857] [ 1.673531] sun4i-pinctrl 1c20800.pinctrl: pin-236 (1c20800.pinctrl:236) status -517
[3.047863 0.010090] [ 1.682641] sun4i-pinctrl 1c20800.pinctrl: request() failed for pin 16
[3.053154 0.005290] [ 1.689206] sun4i-pinctrl 1c20800.pinctrl: pin-16 (1c2bc00.can) status -517
[3.061183 0.008029] [ 1.696166] sun4i-pinctrl 1c20800.pinctrl: could not request pin 16 (PA16) from group PA16 on device 1c20800.pinctrl
[3.072239 0.011056] [ 1.706789] sun4i_can 1c2bc00.can: Error applying setting, reverse things back
[3.080561 0.008322] [ 1.716127] ehci-platform 1c19000.usb: EHCI Host Controller
[3.085833 0.005273] [ 1.717145] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[3.096377 0.010543] [ 1.721758] ehci-platform 1c19000.usb: new USB bus registered, assigned bus number 1
[3.102410 0.006033] [ 1.730542] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[3.114296 0.011887] [ 1.748470] g_serial gadget.0: Gadget Serial v2.4
[3.117573 0.003277] [ 1.748989] ehci-platform 1c1c000.usb: EHCI Host Controller
[3.123131 0.005558] [ 1.753187] g_serial gadget.0: g_serial ready
[3.128454 0.005322] [ 1.758802] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[3.136648 0.008194] [ 1.764951] ohci-platform 1c19400.usb: Generic Platform OHCI controller
[3.142336 0.005688] [ 1.765242] axp20x-i2c 0-0034: AXP20x variant AXP221 found
[3.147921 0.005584] [ 1.765951] axp20x-i2c 0-0034: mask_invert=true is deprecated; please switch to unmask_base
[3.156281 0.008360] [ 1.766978] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[3.162211 0.005930] [ 1.767008] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 3
[3.170281 0.008070] [ 1.773290] axp20x-gpio: Failed to locate of_node [id: -1]
[3.175878 0.005597] [ 1.777586] ohci-platform 1c19400.usb: new USB bus registered, assigned bus number 4
[3.184161 0.008283] [ 1.791373] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0034/axp221-pek/input/input1
[3.193307 0.009145] [ 1.828595] ohci-platform 1c1c400.usb: irq 117, io mem 0x01c1c400
[3.198551 0.005244] [ 1.832897] vcc-dram: Bringing 1500000uV into 1350000-1350000uV
[3.206589 0.008038] [ 1.840757] ehci-platform 1c19000.usb: irq 85, io mem 0x01c19000
[3.212374 0.005785] [ 1.846947] ohci-platform 1c19400.usb: irq 89, io mem 0x01c19400
[3.218222 0.005848] [ 1.848399] tvd: Bringing 700000uV into 3300000-3300000uV
[3.224092 0.005869] [ 1.858562] ehci-platform 1c1c000.usb: irq 87, io mem 0x01c1c000
[3.234296 0.010205] [ 1.868311] vcc-pe: Bringing 700000uV into 1800000-1800000uV
[3.241548 0.007252] [ 1.875653] vcc-sd-alt: Bringing 700000uV into 1800000-1800000uV
[3.247611 0.006062] [ 1.876564] ehci-platform 1c19000.usb: USB 2.0 started, EHCI 1.00
[3.254009 0.006399] [ 1.888604] hub 1-0:1.0: USB hub found
[3.256895 0.002886] [ 1.892401] hub 1-0:1.0: 1 port detected
[3.264473 0.007579] [ 1.898745] vdd2v5-sata: Bringing 3800000uV into 2500000-2500000uV
[3.270594 0.006120] [ 1.905287] hub 3-0:1.0: USB hub found
[3.273461 0.002867] [ 1.906569] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[3.279935 0.006474] [ 1.907140] axp20x-adc axp22x-adc: DMA mask not set
[3.285631 0.005696] [ 1.908193] axp20x-i2c 0-0034: AXP20X driver loaded
[3.290982 0.005352] [ 1.909148] hub 3-0:1.0: 1 port detected
[3.298942 0.007959] [ 1.932990] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 126, base_baud = 1500000) is a AW_16550A
[3.307381 0.008439] [ 1.936707] hub 2-0:1.0: USB hub found
[3.310368 0.002987] [ 1.943115] 1c29000.serial: ttyS4 at MMIO 0x1c29000 (irq = 127, base_baud = 1500000) is a AW_16550A
[3.319164 0.008796] [ 1.945914] hub 2-0:1.0: 1 port detected
[3.324371 0.005207] [ 1.955702] 1c29400.serial: ttyS5 at MMIO 0x1c29400 (irq = 128, base_baud = 1500000) is a AW_16550A
[3.332714 0.008343] [ 1.955725] sunxi-mmc 1c12000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[3.341308 0.008595] [ 1.958821] sunxi-mmc 1c11000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[3.349932 0.008624] [ 1.968917] 1c29c00.serial: ttyS7 at MMIO 0x1c29c00 (irq = 129, base_baud = 1500000) is a AW_16550A
[3.360575 0.010643] [ 1.968980] hub 4-0:1.0: USB hub found
[3.363466 0.002891] [ 1.969017] hub 4-0:1.0: 1 port detected
[3.377601 0.014136] [ 2.011635] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0b59790)
[3.385452 0.007851] [ 2.020208] sun4i-drm display-engine: bound 1200000.mixer (ops 0xc0b59790)
[3.391202 0.005750] [ 2.027107] sun4i-drm display-engine: bound 1c70000.tcon-top (ops 0xc0b5dc5c)
[3.399828 0.008625] [ 2.034754] lvds-dual-link 0
[3.402379 0.002552] [ 2.037667] lvds-reverse-even-odd 0
[3.405759 0.003380] [ 2.041192] sun4i-drm display-engine: bound 1c71000.lcd-controller (ops 0xc0b5572c)
[3.414518 0.008759] [ 2.049417] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 1
[3.482889 0.068371] [ 2.103364] Console: switching to colour frame buffer device 100x30
[3.488624 0.005735] [ 2.123187] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device
[3.496838 0.008214] [ 2.124561] mmc2: new HS200 MMC card at address 0001
[3.500462 0.003624] [ 2.131662] sun8i-hdmi-phy 1ef0000.hdmi-phy: Enable tvd vcc
[3.506032 0.005570] [ 2.136744] mmcblk2: mmc2:0001 008GB0 7.28 GiB
[3.518519 0.012487] [ 2.152516] sun4i-mdio 1c0b080.mdio: supply phy not found, using dummy regulator
[3.524650 0.006131] [ 2.154147] mmcblk2: p1 p2
[3.536196 0.011546] [ 2.170188] mmcblk2boot0: mmc2:0001 008GB0 8.00 MiB
[3.548070 0.011873] [ 2.182139] usb 1-1: new high-speed USB device number 2 using ehci-platform
[3.561829 0.013759] [ 2.195743] mmcblk2boot1: mmc2:0001 008GB0 8.00 MiB
[3.669307 0.107478] [ 2.303075] sun4i_can 1c2bc00.can: device registered (base=(ptrval), irq=132)
[3.676514 0.007208] [ 2.311510] sun4i-emac 1c0b000.ethernet (unnamed net_device) (uninitialized): get io resource from device: 0x01c0b000, size = 4096
[3.688174 0.011660] [ 2.323299] sun4i-emac 1c0b000.ethernet (unnamed net_device) (uninitialized): failed to request dma channel. dma is disabled
[3.698935 0.010761] [ 2.334525] sun4i-emac 1c0b000.ethernet (unnamed net_device) (uninitialized): configure dma failed. disable dma.
[3.711878 0.012943] [ 2.346676] sun4i-emac 1c0b000.ethernet: eth0: at (ptrval), IRQ 133 MAC: 02:48:e1:7b:3f:32
[3.722327 0.010449] [ 2.357072] dwmac-sun8i 1c50000.ethernet: IRQ eth_wake_irq not found
[3.727708 0.005382] [ 2.363431] dwmac-sun8i 1c50000.ethernet: IRQ eth_lpi not found
[3.739857 0.012149] [ 2.373984] dwmac-sun8i 1c50000.ethernet: PTP uses main clock
[3.745867 0.006010] [ 2.379784] dwmac-sun8i 1c50000.ethernet: Current syscon value is not the default 6 (expect 0)
[3.754142 0.008275] [ 2.387583] hub 1-1:1.0: USB hub found
[3.757272 0.003130] [ 2.388696] dwmac-sun8i 1c50000.ethernet: No HW DMA feature register supported
[3.765130 0.007857] [ 2.392329] hub 1-1:1.0: 4 ports detected
[3.768201 0.003071] [ 2.399387] dwmac-sun8i 1c50000.ethernet: RX Checksum Offload Engine supported
[3.776336 0.008135] [ 2.399394] dwmac-sun8i 1c50000.ethernet: COE Type 2
[3.779838 0.003502] [ 2.399401] dwmac-sun8i 1c50000.ethernet: TX Checksum insertion supported
[3.787464 0.007626] [ 2.422369] dwmac-sun8i 1c50000.ethernet: Normal descriptors
[3.793095 0.005631] [ 2.428044] dwmac-sun8i 1c50000.ethernet: Chain mode enabled
[3.940059 0.146964] [ 2.573797] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[3.955256 0.015198] [ 2.589240] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[3.961251 0.005994] [ 2.596001] ALSA device list:
[3.964173 0.002922] [ 2.599000] #0: H3 Audio Codec
[3.974550 0.010377] [ 2.608511] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[3.982939 0.008389] [ 2.617193] cfg80211: failed to load regulatory.db
[4.006117 0.023178] [ 2.640173] EXT4-fs (mmcblk2p2): INFO: recovery required on readonly filesystem
[4.012055 0.005939] [ 2.647537] EXT4-fs (mmcblk2p2): write access will be enabled during recovery
[4.028116 0.016060] [ 2.662239] EXT4-fs (mmcblk2p2): recovery complete
[4.037738 0.009622] [ 2.671874] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Quota mode: disabled.
[4.046666 0.008928] [ 2.680875] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[4.058679 0.012013] [ 2.692724] devtmpfs: mounted
[4.067089 0.008410] [ 2.701143] Freeing unused kernel image (initmem) memory: 1024K
[4.082875 0.015785] [ 2.716796] Run /sbin/init as init process
[4.221255 0.138381] [ 2.854992] EXT4-fs (mmcblk2p2): re-mounted. Quota mode: disabled.
[4.313207 0.091952] Starting syslogd: OK
[4.343528 0.030321] Starting klogd: OK
[4.360881 0.017353] Running sysctl: OK
[4.463959 0.103078] Simple mixer control 'Headphone',0
[4.466759 0.002800] Capabilities: pvolume pvolume-joined pswitch
[4.469862 0.003103] Playback channels: Front Left - Front Right
[4.475040 0.005178] Limits: Playback 0 - 63
[4.475622 0.000582] Mono:
[4.478180 0.002558] Front Left: Playback 63 [100%] [0.00dB] [on]
[4.481246 0.003065] Front Right: Playback 63 [100%] [0.00dB] [on]
[4.501751 0.020505] Populating /dev using udev: [ 3.180032] udevd[170]: starting version 3.2.11
[6.952628 2.450877] [ 5.586539] random: crng init done
[6.975375 0.022747] [ 5.609602] udevd[171]: starting eudev-3.2.11
[7.420716 0.445341] done
[7.440928 0.020212] Initializing random number generator: OK
[7.453549 0.012620] Saving random seed: OK
[7.527243 0.073694] Starting system message bus: done
[7.591907 0.064664] Starting bluetoothd: OK
[7.630389 0.038482] Starting network: [ 6.786271] dwmac-sun8i 1c50000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[8.392623 0.762234] [ 7.026713] dwmac-sun8i 1c50000.ethernet eth1: PHY [stmmac-1:00] driver [Generic PHY] (irq=POLL)
[8.400703 0.008080] [ 7.035552] dwmac-sun8i 1c50000.ethernet eth1: No Safety Features support found
[8.407303 0.006600] [ 7.042926] dwmac-sun8i 1c50000.ethernet eth1: No MAC Management Counters available
[8.415083 0.007780] [ 7.050618] dwmac-sun8i 1c50000.ethernet eth1: PTP not supported by HW
[8.422107 0.007024] [ 7.057994] dwmac-sun8i 1c50000.ethernet eth1: configuring for phy/mii link mode
[8.448423 0.026316] RTNETLINK answers: File exists
[8.511809 0.063386] FAIL
[8.538409 0.026600] Starting dropbear sshd: OK
[8.586996 0.048587] Starting vsftpd: OK
[9.169176 0.582180] -> Start Application...
[9.304975 0.135799]
[9.314352 0.009376] Welcome to Buildroot
[9.315383 0.001032] buildroot login:


Для процессоров arm (32 битных как в a40) распространена проблема - медленно накапливается энтропия из-за этого все приложения связанные с ГСЧ не стартуют пока не накопится. Самый просто способ попробовать это ускорить - включить в сборку haveged

make menuconfig
Target packages -> Miscellaneous -> [*] haveged


[4.014592 0.003143] [ 2.638742] #0: H3 Audio Codec
[4.023126 0.008534] [ 2.646654] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[4.031593 0.008467] [ 2.655341] cfg80211: failed to load regulatory.db
[4.057110 0.025517] [ 2.680596] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Quota mode: disabled.
[4.066725 0.009614] [ 2.690670] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[4.079570 0.012845] [ 2.703149] devtmpfs: mounted
[4.084435 0.004865] [ 2.708114] Freeing unused kernel image (initmem) memory: 1024K
[4.115965 0.031530] [ 2.739443] Run /sbin/init as init process
[4.213471 0.097506] [ 2.836649] EXT4-fs (mmcblk2p2): re-mounted. Quota mode: disabled.
[4.313787 0.100315] Starting syslogd: OK
[4.356150 0.042364] Starting klogd: OK
[4.387030 0.030879] Running sysctl: OK
[4.520711 0.133681] Simple mixer control 'Headphone',0
[4.523278 0.002568] Capabilities: pvolume pvolume-joined pswitch
[4.526849 0.003571] Playback channels: Front Left - Front Right
[4.531593 0.004744] Limits: Playback 0 - 63
[4.532656 0.001063] Mono:
[4.534529 0.001872] Front Left: Playback 63 [100%] [0.00dB] [on]
[4.537976 0.003447] Front Right: Playback 63 [100%] [0.00dB] [on]
[4.568022 0.030046] Starting haveged: haveged: command socket is listening at fd 3
[4.591717 0.023694] OK
[4.603871 0.012154] Populating /dev using udev: [ 3.277130] udevd[175]: starting version 3.2.11
[4.859860 0.255990] [ 3.482749] random: crng init done
[4.879505 0.019645] [ 3.502677] udevd[177]: starting eudev-3.2.11
[5.400656 0.521151] done
[5.418057 0.017401] Initializing random number generator: OK
[5.427173 0.009116] Saving random seed: OK
[5.482842 0.055669] Starting system message bus: done
[5.543009 0.060167] Starting bluetoothd: OK
[5.566617 0.023608] Starting network: [ 4.697063] dwmac-sun8i 1c50000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[6.313596 0.746979] [ 4.936627] dwmac-sun8i 1c50000.ethernet eth1: PHY [stmmac-1:00] driver [Generic PHY] (irq=POLL)
[6.321843 0.008248] [ 4.945456] dwmac-sun8i 1c50000.ethernet eth1: No Safety Features support found
[6.329468 0.007624] [ 4.953877] dwmac-sun8i 1c50000.ethernet eth1: No MAC Management Counters available
[6.337606 0.008139] [ 4.962003] dwmac-sun8i 1c50000.ethernet eth1: PTP not supported by HW
[6.345420 0.007813] [ 4.969865] dwmac-sun8i 1c50000.ethernet eth1: configuring for phy/mii link mode
[6.371372 0.025953] RTNETLINK answers: File exists
[6.434592 0.063220] FAIL
[6.455244 0.020652] Starting dropbear sshd: OK
[6.507725 0.052481] Starting vsftpd: OK
[7.067383 0.559658] -> Start Application...
[7.186781 0.119398]
[7.190374 0.003593] Welcome to Buildroot
[7.191342 0.000968] buildroot login:


Теперь попробуем запускать приложение без оконной системы - c qt это сделать достаточно просто

удаляем (я временно переместил) скрипт запуска для weston

mv /etc/init.d/S80weston /root

меняем QT_QPA_PLATFORM с wayland на eglfs

vi /etc/profile.d/profile.sh

export QT_QPA_PLATFORM=eglfs

[4.027691 0.004550] [ 2.629026] #0: H3 Audio Codec
[4.030565 0.002874] [ 2.632979] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[4.039036 0.008471] [ 2.641631] cfg80211: failed to load regulatory.db
[4.062260 0.023224] [ 2.663292] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Quota mode: disabled.
[4.070838 0.008578] [ 2.672307] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[4.083579 0.012741] [ 2.684266] devtmpfs: mounted
[4.093837 0.010258] [ 2.694959] Freeing unused kernel image (initmem) memory: 1024K
[4.136138 0.042301] [ 2.736910] Run /sbin/init as init process
[4.224597 0.088459] [ 2.825521] EXT4-fs (mmcblk2p2): re-mounted. Quota mode: disabled.
[4.318993 0.094395] Starting syslogd: OK
[4.347948 0.028955] Starting klogd: OK
[4.377678 0.029730] Running sysctl: OK
[4.474193 0.096515] Simple mixer control 'Headphone',0
[4.476771 0.002578] Capabilities: pvolume pvolume-joined pswitch
[4.480299 0.003528] Playback channels: Front Left - Front Right
[4.485075 0.004777] Limits: Playback 0 - 63
[4.485932 0.000856] Mono:
[4.488100 0.002168] Front Left: Playback 63 [100%] [0.00dB] [on]
[4.491070 0.002970] Front Right: Playback 63 [100%] [0.00dB] [on]
[4.507857 0.016788] Starting haveged: haveged: command socket is listening at fd 3
[4.531440 0.023583] OK
[4.544133 0.012692] Populating /dev using udev: [ 3.207063] udevd[172]: starting version 3.2.11
[4.788123 0.243990] [ 3.388996] random: crng init done
[4.807596 0.019474] [ 3.408559] udevd[174]: starting eudev-3.2.11
[5.302975 0.495378] done
[5.317769 0.014794] Initializing random number generator: OK
[5.326853 0.009084] Saving random seed: OK
[5.391048 0.064195] Starting system message bus: done
[5.451725 0.060677] Starting bluetoothd: OK
[5.475047 0.023322] Starting network: [ 4.572093] dwmac-sun8i 1c50000.ethernet eth1: Register MEM_TYPE_PAGE_POOL RxQ-0
[6.215984 0.740937] [ 4.816725] dwmac-sun8i 1c50000.ethernet eth1: PHY [stmmac-1:00] driver [Generic PHY] (irq=POLL)
[6.224311 0.008327] [ 4.825560] dwmac-sun8i 1c50000.ethernet eth1: No Safety Features support found
[6.230395 0.006083] [ 4.832926] dwmac-sun8i 1c50000.ethernet eth1: No MAC Management Counters available
[6.238499 0.008104] [ 4.840608] dwmac-sun8i 1c50000.ethernet eth1: PTP not supported by HW
[6.246337 0.007838] [ 4.848668] dwmac-sun8i 1c50000.ethernet eth1: configuring for phy/mii link mode
[6.276941 0.030604] RTNETLINK answers: File exists
[6.342024 0.065083] FAIL
[6.362098 0.020074] Starting dropbear sshd: OK
[6.414502 0.052405] Starting vsftpd: OK
[6.465052 0.050550] -> Start Application...
[6.580186 0.115134]
[6.580261 0.000074] Welcome to Buildroot
[6.581185 0.000924] buildroot login:


Меняем параметры запуска ядра - снижаем loglevel

make linux-menuconfig
Boot options --->

(console=ttyS0,115200 root=/dev/mmcblk2p2 rootwait mem=512M loglevel=3) Default kernel command string
Kernel command line type (Always use the default kernel command string) --->


[1.022592 0.000073] Starting kernel ...
[1.023188 0.000596]
[2.369521 1.346334] Starting syslogd: OK
[2.398786 0.029265] Starting klogd: OK
[2.425053 0.026267] Running sysctl: OK
[2.507703 0.082650] Simple mixer control 'Headphone',0
[2.510494 0.002791] Capabilities: pvolume pvolume-joined pswitch
[2.513899 0.003405] Playback channels: Front Left - Front Right
[2.518774 0.004875] Limits: Playback 0 - 63
[2.519481 0.000707] Mono:
[2.521638 0.002156] Front Left: Playback 63 [100%] [0.00dB] [on]
[2.524716 0.003078] Front Right: Playback 63 [100%] [0.00dB] [on]
[2.541495 0.016778] Starting haveged: haveged: command socket is listening at fd 3
[2.564903 0.023409] OK
[2.577035 0.012132] Populating /dev using udev: done
[3.396941 0.819906] Initializing random number generator: OK
[3.406080 0.009139] Saving random seed: OK
[3.479473 0.073393] Starting system message bus: done
[3.547505 0.068032] Starting bluetoothd: OK
[3.584736 0.037231] Starting network: RTNETLINK answers: File exists
[4.485493 0.900757] FAIL
[4.502568 0.017075] Starting dropbear sshd: OK
[4.555476 0.052908] Starting vsftpd: OK
[4.579617 0.024141] -> Start Application...
[4.702868 0.123251]
[4.702960 0.000093] Welcome to Buildroot
[4.703676 0.000715] buildroot login:
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 26.02.2026 01:00 Сообщение: 2
sasamy
4.71

Пункты: 95701
Регистрация: 14.08.2009
Цитата
[4.579617 0.024141] -> Start Application...
[4.702868 0.123251]
[4.702960 0.000093] Welcome to Buildroot
[4.703676 0.000715] buildroot login:


в продолжение та же конфигурация, но применим небольшой трюк - приложение будет запускаться из скрипта который ядро запускает в качестве init, после запуска приложения скрипт запускает штатный init


в конфиге ядра укахываем что использовать в качестве init

(console=ttyS0,115200 root=/dev/mmcblk2p2 rootwait mem=512M loglevel=3 init=/sbin/preinit) Default kernel command string

и создаем этот скрипт

# cat /sbin/preinit
#!/bin/busybox sh

. /etc/profile.d/profile.sh
export HOME=/root
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /tmp

echo "-> Start Application..."
/usr/lib/qt/examples/multimedia/video/qmlvideo/qmlvideo > /tmp/affine.log 2>&1 &

exec /sbin/init

удаляем (я переместил) штатный скрипт запуска приложения

mv /etc/init.d/S90affine /root


[1.016525 0.000103] Starting kernel ...
[1.017889 0.001364]
[2.279700 1.261811] -> Start Application...
[2.480252 0.200552] Starting syslogd: OK
[2.511447 0.031195] Starting klogd: OK
[2.539992 0.028545] Running sysctl: OK
[2.648499 0.108508] Simple mixer control 'Headphone',0
[2.650917 0.002418] Capabilities: pvolume pvolume-joined pswitch
[2.654044 0.003126] Playback channels: Front Left - Front Right
[2.659251 0.005208] Limits: Playback 0 - 63
[2.659910 0.000659] Mono:
[2.662140 0.002230] Front Left: Playback 63 [100%] [0.00dB] [on]
[2.665328 0.003188] Front Right: Playback 63 [100%] [0.00dB] [on]
[2.724005 0.058676] Starting haveged: haveged: command socket is listening at fd 3
[2.777494 0.053489] OK
[2.802290 0.024796] Populating /dev using udev: QStandardPaths: wrong permissions on runtime directory /tmp, 0777 instead of 0700
[3.677624 0.875333] done
[3.707056 0.029433] Initializing random number generator: OK
[3.721273 0.014217] Saving random seed: OK
[3.825883 0.104610] Starting system message bus: done
[3.908684 0.082801] Starting bluetoothd: OK
[3.947510 0.038825] Starting network: RTNETLINK answers: File exists
[4.900945 0.953436] FAIL
[4.925245 0.024300] Starting dropbear sshd: OK
[4.984135 0.058890] Starting vsftpd: OK
[5.109252 0.125117]
[5.109303 0.000051] Welcome to Buildroot
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 26.02.2026 01:04 Сообщение: 3
sasamy
4.71

Пункты: 95701
Регистрация: 14.08.2009
Цитата

[2.279700 1.261811] -> Start Application...


попробуем заменить метод сжатия ядра

make menuconfig
Kernel compression format (lz4 compression) --->

make linux-menuconfig
General setup --->
Kernel compression mode (LZ4) --->


[1.046794 0.000063] Starting kernel ...
[1.047625 0.000832]
[2.111999 1.064374] -> Start Application...
[2.293091 0.181092] Starting syslogd: OK
[2.351145 0.058053] Starting klogd: OK
[2.381227 0.030082] Running sysctl: OK
[2.507857 0.126630] Simple mixer control 'Headphone',0
[2.510337 0.002480] Capabilities: pvolume pvolume-joined pswitch
[2.513777 0.003440] Playback channels: Front Left - Front Right
[2.518606 0.004828] Limits: Playback 0 - 63
[2.519592 0.000986] Mono:
[2.521640 0.002048] Front Left: Playback 63 [100%] [0.00dB] [on]
[2.524808 0.003168] Front Right: Playback 63 [100%] [0.00dB] [on]
[2.563637 0.038829] Starting haveged: haveged: command socket is listening at fd 3
[2.602357 0.038720] OK
[2.629552 0.027195] Populating /dev using udev: QStandardPaths: wrong permissions on runtime directory /tmp, 0777 instead of 0700
[3.433945 0.804393] done
[3.461317 0.027372] Initializing random number generator: OK
[3.477001 0.015684] Saving random seed: OK
[3.563918 0.086917] Starting system message bus: done
[3.648190 0.084272] Starting bluetoothd: OK
[3.691401 0.043211] Starting network: RTNETLINK answers: File exists
[4.597370 0.905970] FAIL
[4.613567 0.016197] Starting dropbear sshd: OK
[4.661263 0.047696] Starting vsftpd: OK
[4.778290 0.117027]
[4.778383 0.000094] Welcome to Buildroot
[4.779235 0.000852] buildroot login:
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 26.02.2026 01:09 Редактировалось 26.02.2026 01:10 Сообщение: 4
sasamy
4.71

Пункты: 95701
Регистрация: 14.08.2009
Цитата

[2.111999 1.064374] -> Start Application...


попробуем прямую загрузку ядра из spl
патч u-boot-2022.04-sk-spl-fat.patch

https://dropmefiles.com/pFLfb

в директорию buildroot-2022.08.8-sk-a40i/boot/uboot

rm -r output/build/uboot-custom/

make

scp output/images/u-boot-sunxi-with-spl.bin root@192.168.0.136:/root/
ssh root@192.168.0.136 dd if=/root/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=8k seek=1


[0.000003 0.000003]
[0.138318 0.138315] U-Boot SPL 2022.04 (Feb 25 2026 - 22:17:54 +0300)
[0.143652 0.005334] DRAM: 512 MiB
[0.169042 0.025390] Trying to boot from MMC2
[1.905305 1.736263] -> Start Application...
[2.168829 0.263525] Starting syslogd: OK
[2.227614 0.058785] Starting klogd: OK
[2.269667 0.042053] Running sysctl: OK
[2.449340 0.179673] Simple mixer control 'Headphone',0
[2.451793 0.002453] Capabilities: pvolume pvolume-joined pswitch
[2.455001 0.003208] Playback channels: Front Left - Front Right
[2.460085 0.005084] Limits: Playback 0 - 63
[2.460971 0.000886] Mono:
[2.463025 0.002053] Front Left: Playback 63 [100%] [0.00dB] [on]
[2.466148 0.003124] Front Right: Playback 63 [100%] [0.00dB] [on]
[2.502443 0.036294] Starting haveged: haveged: command socket is listening at fd 3
[2.541097 0.038655] OK
[2.569946 0.028848] Populating /dev using udev: QStandardPaths: wrong permissions on runtime directory /tmp, 0777 instead of 0700
[4.245300 1.675354] done
[4.264209 0.018909] Initializing random number generator: OK
[4.281661 0.017452] Saving random seed: OK
[4.379820 0.098159] Starting system message bus: done
[4.510093 0.130273] Starting bluetoothd: OK
[4.593154 0.083061] Starting network: RTNETLINK answers: File exists
[5.664428 1.071273] FAIL
[5.714516 0.050089] Starting dropbear sshd: OK
[5.798803 0.084286] Starting vsftpd: OK
[5.975747 0.176945]
[5.975840 0.000093] Welcome to Buildroot
[5.976605 0.000765] buildroot login:
Спуститься к концу Подняться к началу
Персональная информация
Форум » starterkit.ru » Embedded Linux