Контроллер fischertechnik TXT4.0 - загрузка

Обсуждаем модели и конструкции, построенные своими руками
Ответить
Аватара пользователя
Mr.Kubikus
Сотрудник ПАКПАК
Сообщения: 1018
Зарегистрирован: 22 окт 2010, 23:57

Контроллер fischertechnik TXT4.0 - загрузка

Сообщение Mr.Kubikus »

Всем привет!

У меня на столе новый контроллер TXT4.0. Посмотрим, как он загружается?

Нам понадобится:
1. Адаптер USB-Serial 3.3 В: 1 шт.
2. Провода соединительные M-M: 3 шт.
3. Контроллер TXT4.0 без корпуса: 1 шт.
4. Источник питания 9В 505287: 1 шт.
5. Кабель USB-mini A: 1 шт. опционально
6. Компьютер: 1 шт.
7. Эмулятор терминала с функцией регистрации журнала picocom: 1 шт.

Подключаем кабель USB-Serial к контактным площадкам разъема J1 контроллера TXT4.0:
txt40-pcb-bottom-serial-port.jpg
txt40-pcb-bottom-serial-port.jpg (180.96 КБ) 8444 просмотра
Запускаем эмулятор терминала:
sudo picocom -b115200 -gboot.log /dev/ttyUSB0

Подаем питание на контроллер TXT4.0. Начинается загрузка. Все отображается на экране терминала и записывается журнал boot.log. Содержимое журнала загрузки (fischertechnik TXT4.0 boot log):

Код: Выделить всё

NOTICE:  CPU: STM32MP157AAD Rev.B
NOTICE:  Model: stm32mp-txt2 (tf-a)
NOTICE:  Board: MB026c Var5 Rev.J-10
INFO:    Reset reason (0x15):
INFO:      Power-on Reset (rst_por)
INFO:    Using NOR
INFO:      Instance 1
INFO:    Boot used partition fsbl1
INFO:    NOR: Memory mapped mode
NOTICE:  BL2: v2.0-r2.0(debug):v2.0-stm32mp-r2-dirty
NOTICE:  BL2: Built : 14:19:43, Dec  7 2020
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-DDR3L 16bits 528Mhz K4B4G1646E (v1,1066-7-7-7,cal)
INFO:    Memory size = 0x20000000 (512 MB)
INFO:    BL2 runs SP_MIN setup
INFO:    BL2: Loading image id 4
INFO:    Loading image id=4 at address 0x2fff0000
INFO:    Image id=4 loaded: 0x2fff0000 - 0x30000000
INFO:    BL2: Loading image id 5
INFO:    Loading image id=5 at address 0xc0100000
INFO:    STM32 Image size : 727835
WARNING: Skip signature check (header option)
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01b1b1b
INFO:    read version 0 current version 0
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0x2fff0000
INFO:    SPSR = 0x1d3
NOTICE:  SP_MIN: v2.0-r2.0(debug):v2.0-stm32mp-r2-dirty
NOTICE:  SP_MIN: Built : 14:19:43, Dec  7 2020
INFO:    ARM GICv2 driver initialized
INFO:    stm32mp HSE (20): Secure only
INFO:    stm32mp PLL2 (27): Secure only
INFO:    stm32mp PLL2_R (30): Secure only
INFO:    SP_MIN: Initializing runtime services
INFO:    BSEC permanent locked user registers: 59 60 67
INFO:    SP_MIN: Preparing exit to normal world


U-Boot 2018.11-stm32mp-r3.1 (Dec 07 2020 - 14:21:17 +0000)

CPU: STM32MP157AAD Rev.B
Model: stm32mp-txt2 (u-boot)
Board: stm32mp1 in trusted mode (ex,stm32mp-txt2)
Board: MB0219 Var4 Rev.H-01
DRAM:  512 MiB
Clocks:
- MPU : 648 MHz
- MCU : 200 MHz
- AXI : 264 MHz
- PER : 24 MHz
- DDR : 528 MHz
Checking for undervoltage lockout on adc@100,chn11
Input voltage is 9369mV, undervoltage lockout is 5400mV
MMC:   STM32 SDMMC2: 0, STM32 SDMMC2: 1
Loading Environment from SPI Flash... SF: Detected mx25r1635f with page size 256 Bytes, erase size 64 KiB, total 2 MiB
OK
In:    serial
Out:   serial
Err:   serial
Watchdog: Started
invalid MAC address in OTP 00:00:00:00:00:00## Error: Can't overwrite "serial#"
## Error inserting "serial#" variable, errno=1
Net:   No ethernet found.
BOOT_ON_POWER is 1
POWER ON
gpio: pin GPIOC3 (gpio 35) value is 0
Boot over nor0!
Hit any key to stop autoboot:  1  0 
gpio: pin GPIOB13 (gpio 29) value is 0
Found valid slot B, 3 attempts remaining
skip remaining slots
Saving Environment to SPI Flash... SF: Detected mx25r1635f with page size 256 Bytes, erase size 64 KiB, total 2 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
Loading fdt
72825 bytes read in 7 ms (9.9 MiB/s)
Loading kernel
6709824 bytes read in 327 ms (19.6 MiB/s)
Starting kernel
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-4.19.49
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6709760 Bytes = 6.4 MiB
   Load Address: c2000040
   Entry Point:  c2000040
   Verifying Checksum ... OK
## Flattened Device Tree blob at c4000000
   Booting using the fdt blob at 0xc4000000
   XIP Kernel Image ... OK
   Using Device Tree in place at c4000000, end c4014c78

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.49 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Thu Oct 14 13:17:19 UTC 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    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: stm32mp-txt2 (linux)
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram2@0x10000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0vring1@10042000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10044000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@10044000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram@0x30000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node retram@0x38000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 128 MiB at 0xd4000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x4b0 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s40716 r8192 d20724 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 113680
[    0.000000] Kernel command line: root=/dev/mmcblk2p2 rootwait ro earlyprintk console=ttySTM0,115200 rauc.slot=B
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 306124K/458752K available (10240K kernel code, 831K rwdata, 2932K rodata, 1024K init, 202K bss, 21556K reserved, 131072K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xdc800000 - 0xff800000   ( 560 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdc000000   ( 448 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (11232 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 832 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 203 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008056] Switching to timer-based delay loop, resolution 41ns
[    0.016115] Console: colour dummy device 80x30
[    0.020625] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.031062] pid_max: default: 32768 minimum: 301
[    0.035916] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.042595] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050672] CPU: Testing write buffer coherency: ok
[    0.056110] CPU0: update cpu_capacity 1024
[    0.060234] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.126239] Setting up static identity map for 0xc0100000 - 0xc0100060
[    0.133026] rcu: Hierarchical SRCU implementation.
[    0.162182] EFI services will not be available.
[    0.178057] smp: Bringing up secondary CPUs ...
[    0.238636] CPU1: update cpu_capacity 1024
[    0.238648] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.238882] smp: Brought up 1 node, 2 CPUs
[    0.252877] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.259113] CPU: All CPU(s) started in SVC mode.
[    0.265012] devtmpfs: initialized
[    0.294029] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.302282] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.312215] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.324454] pinctrl core: initialized pinctrl subsystem
[    0.331300] DMI not present or invalid.
[    0.335835] NET: Registered protocol family 16
[    0.347862] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.357527] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.365627] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.371806] Serial: AMBA PL011 UART driver
[    0.378262] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[    0.385546] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.392778] stm32-pm-domain pm_domain: domains probed
[    0.406024] /soc/interrupt-controller@5000d000: bank0
[    0.411110] /soc/interrupt-controller@5000d000: bank1
[    0.416264] /soc/interrupt-controller@5000d000: bank2
[    0.430180] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added
[    0.437799] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added
[    0.445302] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added
[    0.452839] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added
[    0.460323] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added
[    0.467842] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added
[    0.475337] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added
[    0.482877] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added
[    0.490199] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[    0.498477] stm32mp157-pinctrl soc:pin-controller-z@54004000: No package detected, use default one
[    0.507677] stm32mp157-pinctrl soc:pin-controller-z@54004000: at least one GPIO bank is required
[    0.516724] stm32mp157-pinctrl: probe of soc:pin-controller-z@54004000 failed with error -22
[    0.561749] stm32-mdma 58000000.dma: STM32 MDMA driver registered
[    0.573872] REG11: supplied by vdd
[    0.577652] REG18: supplied by vdd
[    0.581575] USB33: supplied by regulator-dummy
[    0.589529] SCSI subsystem initialized
[    0.603906] usbcore: registered new interface driver usbfs
[    0.609487] usbcore: registered new interface driver hub
[    0.615033] usbcore: registered new device driver usb
[    0.620507] pps_core: LinuxPPS API ver. 1 registered
[    0.625535] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.634736] PTP clock support registered
[    0.639022] EDAC MC: Ver: 3.0.0
[    0.643072] Advanced Linux Sound Architecture Driver Initialized.
[    0.651033] clocksource: Switched to clocksource arch_sys_counter
[    0.752248] NET: Registered protocol family 2
[    0.757794] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.765652] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.772844] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.779400] TCP: Hash tables configured (established 4096 bind 4096)
[    0.785973] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.791940] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.798558] NET: Registered protocol family 1
[    0.823976] RPC: Registered named UNIX socket transport module.
[    0.829933] RPC: Registered udp transport module.
[    0.834777] RPC: Registered tcp transport module.
[    0.839503] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.847200] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.857668] Initialise system trusted keyrings
[    0.862614] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.879790] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.886884] NFS: Registering the id_resolver key type
[    0.892131] Key type id_resolver registered
[    0.896335] Key type id_legacy registered
[    0.900600] ntfs: driver 2.1.32 [Flags: R/O].
[    0.905533] jffs2: version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.
[    0.912674] fuse init (API version 7.27)
[    0.920920] NET: Registered protocol family 38
[    0.925452] Key type asymmetric registered
[    0.929570] Asymmetric key parser 'x509' registered
[    0.934591] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.942065] io scheduler noop registered
[    0.946005] io scheduler deadline registered
[    0.950544] io scheduler cfq registered (default)
[    0.955378] io scheduler mq-deadline registered
[    0.959932] io scheduler kyber registered
[    0.965404] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.12
[    0.973020] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.13
[    0.980579] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.3
[    0.988061] phy phy-5a006000.usbphyc.0: Linked as a consumer to regulator.3
[    0.995347] phy phy-5a006000.usbphyc.1: Linked as a consumer to regulator.3
[    1.002789] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    1.011717] pwm-backlight backlight: Linked as a consumer to regulator.7
[    1.018565] pwm-backlight backlight: Dropping the link to regulator.7
[    1.028235] stm32-dma 48000000.dma: STM32 DMA driver registered
[    1.036433] stm32-dma 48001000.dma: STM32 DMA driver registered
[    1.130198] STM32 USART driver initialized
[    1.135662] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 24, base_baud = 6250000) is a stm32-usart
[    1.145344] console [ttySTM0] enabled
[    1.145344] console [ttySTM0] enabled
[    1.152724] bootconsole [earlycon0] disabled
[    1.152724] bootconsole [earlycon0] disabled
[    1.161962] stm32-usart 40010000.serial: interrupt mode used for rx (no dma)
[    1.167544] stm32-usart 40010000.serial: interrupt mode used for tx (no dma)
[    1.176078] random: fast init done
[    1.178398] random: crng init done
[    1.195004] brd: module loaded
[    1.209588] loop: module loaded
[    1.218526] spi_stm32 44004000.spi: driver initialized
[    1.228666] m25p80 spi0.0: mx25r1635f (2048 Kbytes)
[    1.232245] 5 fixed-partitions partitions found on MTD device spi0.0
[    1.238413] Creating 5 MTD partitions on "spi0.0":
[    1.243251] 0x000000000000-0x000000040000 : "fsbl1"
[    1.249631] 0x000000040000-0x000000080000 : "fsbl2"
[    1.254572] 0x000000080000-0x000000180000 : "ssbl"
[    1.259195] 0x000000180000-0x000000190000 : "env"
[    1.264052] 0x000000190000-0x000000200000 : "nor_user"
[    1.270647] libphy: Fixed MDIO Bus: probed
[    1.275140] CAN device driver interface
[    1.278861] m_can 4400e000.can: m_can device registered (irq=30, version=32)
[    1.287067] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.293142] usbcore: registered new interface driver pegasus
[    1.298701] usbcore: registered new interface driver asix
[    1.304103] usbcore: registered new interface driver ax88179_178a
[    1.310159] usbcore: registered new interface driver cdc_ether
[    1.316019] usbcore: registered new interface driver smsc75xx
[    1.321732] usbcore: registered new interface driver smsc95xx
[    1.327410] usbcore: registered new interface driver net1080
[    1.333085] usbcore: registered new interface driver cdc_subset
[    1.338952] usbcore: registered new interface driver zaurus
[    1.344583] usbcore: registered new interface driver cdc_ncm
[    1.350890] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_d not found, using dummy regulator
[    1.359231] dwc2 49000000.usb-otg: Linked as a consumer to regulator.0
[    1.365620] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_a not found, using dummy regulator
[    1.387647] dwc2 49000000.usb-otg: Linked as a consumer to regulator.14
[    1.392910] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[    1.402104] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.407194] ehci-platform: EHCI generic platform driver
[    1.412896] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller
[    1.418569] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assigned bus number 1
[    1.427305] ehci-platform 5800d000.usbh-ehci: irq 62, io mem 0x5800d000
[    1.461097] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00
[    1.467660] hub 1-0:1.0: USB hub found
[    1.470118] hub 1-0:1.0: 2 ports detected
[    1.475489] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.480247] ohci-platform: OHCI generic platform driver
[    1.485883] ohci-platform 5800c000.usbh-ohci: Generic Platform OHCI controller
[    1.492702] ohci-platform 5800c000.usbh-ohci: new USB bus registered, assigned bus number 2
[    1.501363] ohci-platform 5800c000.usbh-ohci: irq 61, io mem 0x5800c000
[    1.576304] hub 2-0:1.0: USB hub found
[    1.578667] hub 2-0:1.0: 2 ports detected
[    1.585120] usbcore: registered new interface driver usb-storage
[    1.595338] stm32_rtc 5c004000.rtc: rtc core: registered 5c004000.rtc as rtc0
[    1.601401] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    1.607085] stm32_rtc 5c004000.rtc: registered rev:1.2
[    1.612908] i2c /dev entries driver
[    1.641655] stm32f7-i2c 40012000.i2c: using dma1chan2 (tx) and dma1chan3 (rx) for DMA transfers
[    1.650307] stm32f7-i2c 40012000.i2c: STM32F7 I2C-1 bus adapter
[    1.671079] genirq: irq_chip stm32-exti-h did not update eff. affinity mask of irq 73
[    1.687332] stm32f7-i2c 40013000.i2c: using dma1chan4 (tx) and dma1chan5 (rx) for DMA transfers
[    1.696276] stm32f7-i2c 40013000.i2c: STM32F7 I2C-2 bus adapter
[    1.723186] stm32f7-i2c 5c002000.i2c: using dma0chan18 (tx) and dma0chan19 (rx) for DMA transfers
[    1.731691] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-3 bus adapter
[    1.740459] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    1.750991] mmci-pl18x 48004000.sdmmc: Linked as a consumer to regulator.5
[    1.756786] mmci-pl18x 48004000.sdmmc: mmc0: PL180 manf 53 rev2 at 0x48004000 irq 49,0 (pio)
[    1.793957] mmci-pl18x 58005000.sdmmc: Linked as a consumer to regulator.5
[    1.799633] mmci-pl18x 58005000.sdmmc: mmc1: PL180 manf 53 rev2 at 0x58005000 irq 59,0 (pio)
[    1.836638] mmci-pl18x 58007000.sdmmc: Linked as a consumer to regulator.5
[    1.847454] mmc0: new high speed SDIO card at address 0001
[    1.851707] mmci-pl18x 58007000.sdmmc: mmc2: PL180 manf 53 rev2 at 0x58007000 irq 60,0 (pio)
[    1.887976] sdhci: Secure Digital Host Controller Interface driver
[    1.892791] sdhci: Copyright(c) Pierre Ossman
[    1.897054] Synopsys Designware Multimedia Card Interface Driver
[    1.904835] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.912891] ledtrig-cpu: registered to indicate activity on CPUs
[    1.920468] stm32-hash 54002000.hash: will run requests pump with realtime priority
[    1.928243] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[    1.936012] stm32-cryp 54001000.cryp: will run requests pump with realtime priority
[    1.945970] stm32-cryp 54001000.cryp: Initialized
[    1.949841] usbcore: registered new interface driver usbhid
[    1.954861] usbhid: USB HID core driver
[    1.959086] fbtft_of_value: buswidth = 8
[    1.969619] mmc2: new DDR MMC card at address 0001
[    1.985266] mmcblk2: mmc2:0001 004G60 3.69 GiB 
[    1.989869] mmcblk2boot0: mmc2:0001 004G60 partition 1 2.00 MiB
[    1.996198] mmcblk2boot1: mmc2:0001 004G60 partition 2 2.00 MiB
[    2.001174] mmcblk2rpmb: mmc2:0001 004G60 partition 3 512 KiB, chardev (243:0)
[    2.024922]  mmcblk2: p1 p2 p3
[    2.271411] graphics fb0: fb_st7789v frame buffer, 240x320, 150 KiB video memory, 4 KiB buffer memory, fps=20, spi2.0 at 62 MHz
[    2.283509] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    2.290771] stm32-rproc m4@0: wdg irq registered
[    2.294244] remoteproc remoteproc0: m4 is available
[    2.300591] stm32-adc-core 48003000.adc: Linked as a consumer to regulator.9
[    2.306381] stm32-adc-core 48003000.adc: Linked as a consumer to regulator.4
[    2.325935] iio iio:device1: Can't get temp channel: -19
[    2.332599] stm32-ddr-pmu: probed (ID=0x00140061 VER=0x00000010), DDR@528MHz
[    2.342444] st,stm32-i2s 4000b000.audio-controller: No cache defaults, reading back from HW
[    2.350741] NET: Registered protocol family 17
[    2.353832] can: controller area network core (rev 20170425 abi 9)
[    2.360037] NET: Registered protocol family 29
[    2.364417] can: raw protocol (rev 20170425)
[    2.368596] can: broadcast manager protocol (rev 20170425 t)
[    2.374284] can: netlink gateway (rev 20170425) max_hops=1
[    2.380243] Key type dns_resolver registered
[    2.384236] ThumbEE CPU extension supported.
[    2.388224] Registering SWP/SWPB emulation handler
[    2.394056] registered taskstats version 1
[    2.397065] Loading compiled-in X.509 certificates
[    2.426146] pwm-backlight backlight: Linked as a consumer to regulator.7
[    2.433005] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01 00:00:11 UTC (946684811)
[    2.441795] ALSA device list:
[    2.443296]   No soundcards found.
[    2.452469] EXT4-fs (mmcblk2p2): INFO: recovery required on readonly filesystem
[    2.458314] EXT4-fs (mmcblk2p2): write access will be enabled during recovery
[    2.491654] EXT4-fs (mmcblk2p2): recovery complete
[    2.496808] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.503561] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.516203] devtmpfs: mounted
[    2.519671] Freeing unused kernel memory: 1024K
[    2.523113] Run /sbin/init as init process
[    2.776100] systemd[1]: System time before build time, advancing clock.
[    2.880866] NET: Registered protocol family 10
[    2.916223] Segment Routing with IPv6
[    2.935026] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    2.955950] systemd[1]: Detected architecture arm.

Welcome to [1mLinux[0m!

[    3.002529] systemd[1]: Set hostname to <txt40-IWku>.
[    3.015213] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
[    3.022390] systemd[1]: Set hardware watchdog to 30s.
[    3.635495] systemd[1]: Unnecessary job for dev-ttySTM0.device was removed.
[    3.643924] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[[0;32m  OK  [0m] Started Forward Password Requests to Wall Directory Watch.
[    3.685940] systemd[1]: Created slice system-serial\x2dgetty.slice.
[[0;32m  OK  [0m] Created slice system-serial\x2dgetty.slice.
[    3.722357] systemd[1]: Listening on Network Service Netlink Socket.
[[0;32m  OK  [0m] Listening on Network Service Netlink Socket.
[    3.762476] systemd[1]: Listening on Journal Socket.
[[0;32m  OK  [0m] Listening on Journal Socket.
         Starting Create list of required st…ce nodes for the current kernel...
         Mounting POSIX Message Queue File System...
[[0;32m  OK  [0m] Created slice User and Session Slice.
[[0;32m  OK  [0m] Listening on udev Kernel Socket.
[[0;32m  OK  [0m] Started Hardware RNG Entropy Gatherer Daemon.
         Starting File System Check on Root Device...
         Starting Mount partitions...
         Starting Start psplash boot splash screen...
[[0;32m  OK  [0m] Reached target Remote File Systems.
[[0;32m  OK  [0m] Started Dispatch Password Requests to Console Directory Watch.
[[0;32m  OK  [0m] Reached target Paths.
         Starting Load Kernel Modules...
[[0;32m  OK  [0m] Listening on initctl Compatibility Named Pipe.
[[0;32m  OK  [0m] Reached target Slices.
[[0;32m  OK  [0m] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
[[0;32m  OK  [0m] Listening on Journal Socket (/dev/log).
[[0;32m  OK  [0m] Listening on Syslog Socket.
[[0;32m  OK  [0m] Listening on Process Core Dump Socket.
         Mounting Kernel Debug File System...
         Starting Journal Service...
[[0;32m  OK  [0m] Reached target Swap.
         Mounting Temporary Directory (/tmp)...
[[0;32m  OK  [0m] Started Start psplash boot splash screen.
[[0;32m  OK  [0m] Started Create list of required sta…vice nodes for the current kernel.
[[0;32m  OK  [0m] Mounted POSIX Message Queue File System.
[    4.355926] Bluetooth: Core ver 2.22
[    4.358243] NET: Registered protocol family 31
[    4.363110] Bluetooth: HCI device and connection manager initialized
[    4.368850] Bluetooth: HCI socket layer initialized
[    4.392984] Bluetooth: L2CAP socket layer initialized
[    4.396649] Bluetooth: SCO socket layer initialized
[[0;32m  OK  [0m] Started File System Check on Root Device.
[    4.432542] bt8xxx: loading out-of-tree module taints kernel.
[[0;32m  OK  [0m] Mounted Kernel Debug File System.
[[0;32m  OK  [0m] Mounted Temporary Directory (/tmp).
[    4.456876] BT: Loading driver
         Starting Remount Root and Kernel File Systems...
[[0;32m  OK  [0m] Started Start psplash-systemd progress communication helper.
[    4.666198] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
[[0;32m  OK  [0m] Started Remount Root and Kernel File Systems.
[    4.721854] BT Request firmware: mrvl/sdsd8977_combo_v2.bin
         Starting Create Static Device Nodes in /dev...
[    4.745643] EXT4-fs (mmcblk2p3): recovery complete
[    4.769860] EXT4-fs (mmcblk2p3): mounted filesystem with ordered data mode. Opts: (null)
[[0;32m  OK  [0m] Started Journal Service.
[[0;32m  OK  [0m] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[[0;32m  OK  [0m] Reached target Local File Systems (Pre).
[[0;32m  OK  [0m] Reached target Containers.
         Mounting /var/volatile...
         Starting Flush Journal to Persistent Storage...
[[0;32m  OK  [0m] Mounted /var/volatile.
[[0;32m  OK  [0m] Started udev Kernel Device Manager.
[    5.367860] systemd-journald[137]: Received request to flush runtime journal from PID 1
         Starting Load/Save Random Seed...
[[0;32m  OK  [0m] Started Flush Journal to Persistent Storage.
[[0;32m  OK  [0m] Started Mount partitions.
[[0;32m  OK  [0m] Started Load/Save Random Seed.
[[0;32m  OK  [0m] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[[0;32m  OK  [0m] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[[0;32m  OK  [0m] Started Update UTMP about System Boot/Shutdown.
[[0;32m  OK  [0m] Started Network Time Synchronization.
[[0;32m  OK  [0m] Reached target System Time Synchronized.
[    6.976407] BT: FW download over, size 595348 bytes
[    7.646799] tlv320aic31xx-codec 2-0018: Linked as a consumer to regulator.5
[    7.681408] tlv320aic31xx-codec 2-0018: Linked as a consumer to regulator.7
[    7.687307] tlv320aic31xx-codec 2-0018: Linked as a consumer to regulator.8
[[0;32m  OK  [0m] Started udev Coldplug all Devices.
[    7.960114] input: generic ft5x06 (11) as /devices/platform/soc/40012000.i2c/i2c-1/1-0038/input/input0
[[0;32m  OK  [0m] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight…ightness of backlight:backlight...
[    8.094046] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.219022] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.252240] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    8.270301] cfg80211: failed to load regulatory.db
[    8.324290] mlan: module license 'NXP Proprietary' taints kernel.
[    8.328939] Disabling lock debugging due to kernel taint
[[0;32m  OK  [0m] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[    8.464288] BT FW is active(6)
[    8.597374] BT: Driver loaded successfully
[    8.629143] M4 OK
[    8.670617] Galcore version 6.2.4.174315
[    8.680053] wlan: Loading MWLAN driver
[    8.725399] asoc-simple-card sound: tlv320aic31xx-hifi <-> 4000b000.audio-controller mapping ok
[    8.745315] vendor=0x02DF device=0x9145 class=0 function=1
[    8.770105] SDIO: max_segs=341 max_seg_size=131040
[    8.781685] asoc-simple-card sound: ASoC: no DMI vendor name!
[    8.796178] rx_work=1 cpu_num=2
[    8.813456] wlan: Enable TX SG mode
[    8.820717] wlan: Enable RX SG mode
[    8.901854] Request firmware: mrvl/sdsd8977_combo_v2.bin
[    8.914935] WLAN FW already running! Skip FW download
[    8.921739] WLAN FW is active
[    8.971518] fw_cap_info=0x18fccf03, dev_cap_mask=0xffffffff
[    8.975708] max_p2p_conn = 8, max_sta_conn = 8
[    9.152823] call regulatory_set_wiphy_regd EU
[    9.362029] wlan: version = SD8977-16.68.10.p98-C4X16C679-GPL-(FP68) 
[    9.431450] Set REG 0x80002328: 0x13d57 slew_rate=3
[    9.442013] wlan: Driver loaded successfully
[[0;32m  OK  [0m] Started Load Kernel Modules.
[[0;32m  OK  [0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
[[0;32m  OK  [0m] Started Apply Kernel Variables.
[[0;32m  OK  [0m] Mounted FUSE Control File System.
[[0;32m  OK  [0m] Mounted Kernel Configuration File System.
         Starting Load/Save RF Kill Switch Status...
[[0;32m  OK  [0m] Reached target System Initialization.
[[0;32m  OK  [0m] Started Daily Cleanup of Temporary Directories.
[[0;32m  OK  [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[[0;32m  OK  [0m] Started Runs Nexus Service every 5 min.
[[0;32m  OK  [0m] Started Runs Battery Service every 3 sec.
[[0;32m  OK  [0m] Listening on RPCbind Server Activation Socket.
[[0;32m  OK  [0m] Listening on D-Bus System Message Bus Socket.
[[0;32m  OK  [0m] Reached target Sockets.
[[0;32m  OK  [0m] Reached target Basic System.
[[0;32m  OK  [0m] Started Kernel Logging Service.
[[0;32m  OK  [0m] Started Power Off Service.
[[0;32m  OK  [0m] Started TXTAPI Service.
[[0;32m  OK  [0m] Started Power On Service.
         Starting USB Gadget configuration service...
[[0;32m  OK  [0m] Started System Logging Service.
[[0;32m  OK  [0m] Started Nexus Service.
         Starting Save/Restore Sound Card State...
         Starting Backlight power control...
[[0;32m  OK  [0m] Started Battery Service.
[[0;32m  OK  [0m] Started Node-RED.
         Starting Login Service...
[[0;32m  OK  [0m] Started D-Bus System Message Bus.
         Starting Hostname Service...
[   19.603923] using random self ethernet address
[   19.606919] using random host ethernet address
         Starting Bluetooth service...
[   19.754911] using random self ethernet address
[   19.757901] using random host ethernet address
[   19.887860] usb0: HOST MAC 72:3c:3e:34:38:51
[   19.890985] usb0: MAC 76:3c:3e:34:38:51
[   19.896336] usb1: HOST MAC 7a:3c:3e:34:38:51
[   19.899316] usb1: MAC 7e:3c:3e:34:38:51
[   19.911686] dwc2 49000000.usb-otg: bound driver configfs-gadget
[   20.197723] dwc2 49000000.usb-otg: new device is high-speed
[[0;32m  OK  [0m] Started Load/Save RF Kill Switch Status.
[   20.297641] dwc2 49000000.usb-otg: new device is high-speed
[   20.387423] dwc2 49000000.usb-otg: new address 2
[[0;32m  OK  [0m] Started USB Gadget configuration service.
[   20.422621] configfs-gadget gadget: high-speed config #1: cdc
[[0;32m  OK  [0m] Started Save/Restore Sound Card State.
[[0;32m  OK  [0m] Started Backlight power control.
[[0;32m  OK  [0m] Reached target Sound Card.
[[0;32m  OK  [0m] Created slice system-user\x2druntime\x2ddir.slice.
[[0;32m  OK  [0m] Started /run/user/0 mount wrapper.
[[0;32m  OK  [0m] Started Login Service.
[[0;32m  OK  [0m] Started Hostname Service.
[   21.147717] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   21.158777] Bluetooth: BNEP filters: protocol multicast
[   21.169035] Bluetooth: BNEP socket layer initialized
[[0;32m  OK  [0m] Started Bluetooth service.
[[0;32m  OK  [0m] Reached target Bluetooth.
         Starting Device Id provider service...
[[0;32m  OK  [0m] Started Device Id provider service.
[[0;32m  OK  [0m] Reached target Network (Pre).
         Starting Network Service...
[   21.840086] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[[0;32m  OK  [0m] Started Network Service.
[   22.003634] IPv6: ADDRCONF(NETDEV_UP): pan0: link is not ready
[   22.017271] IPv6: ADDRCONF(NETDEV_UP): usbf0: link is not ready
[   22.031716] usbf0: port 1(usb1) entered blocking state
[   22.042203] usbf0: port 1(usb1) entered disabled state
[   22.062224] device usb1 entered promiscuous mode
[   22.081552] usbf0: port 2(usb0) entered blocking state
[   22.085336] usbf0: port 2(usb0) entered disabled state
[   22.107162] device usb0 entered promiscuous mode
[   22.142589] IPv6: ADDRCONF(NETDEV_UP): uap0: link is not ready
         Starting Network Name Re[   22.180684] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
solution...
[   22.189551] usbf0: port 2(usb0) entered blocking state
[   22.193399] usbf0: port 2(usb0) entered forwarding state
[   22.205997] IPv6: ADDRCONF(NETDEV_CHANGE): usbf0: link becomes ready
         Starting Wait for Network to be Configured...
[[0;32m  OK  [0m] Started Battery Service.
[[0;32m  OK  [0m] Started Network Name Resolution.
[[0;32m  OK  [0m] Reached target Network.
         Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
         Starting Permit User Sessions...
         Starting m4 firmware...
         Starting Zero-configuration networking...
[[0;32m  OK  [0m] Started LLMNR Daemon.
[[0;32m  OK  [0m] Reached target Host and Network Name Lookups.
[[0;32m  OK  [0m] Started The Apache HTTP Server.
         Starting Avahi mDNS/DNS-SD Stack...
[[0;32m  OK  [0m] Started Mosquitto MQTT v3.1/v3.1.1 Broker.
[[0;32m  OK  [0m] Started Permit User Sessions.
[[0;32m  OK  [0m] Started Avahi mDNS/DNS-SD Stack.
[[0;32m  OK  [0m] Started Zero-configuration networking.
[[0;32m  OK  [0m] Started Hostname Avahi publisher.
[[0;32m  OK  [0m] Created slice User Slice of UID 0.
[[0;32m  OK  [0m] Started Session c1 of user root.
         Starting User Manager for UID 0...
[[0;32m  OK  [0m] Started Serial Getty on ttySTM0.
[[0;32m  OK  [0m] Reached target Login Prompts.
[   24.914881] remoteproc remoteproc0: powering up m4
[   24.931843] remoteproc remoteproc0: Booting fw image txt2-M4-rt-core-rev1.elf, size 348172
[   25.061598] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@40000000 (ops 0xc0bdaf28)
[   25.070628] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@40001000 (ops 0xc0bdaf28)
[   25.161209] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@40002000 (ops 0xc0bdaf28)
[   25.170214] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@40003000 (ops 0xc0bdaf28)
[   25.201331] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@40004000 (ops 0xc0bdaf28)
[   25.210379] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@40005000 (ops 0xc0bdaf28)
[   25.251213] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@40006000 (ops 0xc0bdaf28)
[   25.260258] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:spi@4000c000 (ops 0xc0bdaf28)
[   25.301198] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@44000000 (ops 0xc0bdaf28)
[   25.310201] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:serial@44003000 (ops 0xc0bdaf28)
[   25.335084] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:timer@44006000 (ops 0xc0bdaf28)
[   25.361370] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:can@4400e000 (ops 0xc0bdaf28)
[   25.370204] rproc-srm-core m4@0:m4_system_resources: bound m4@0:m4_system_resources:adc@48003000 (ops 0xc0bdaf28)
[   25.406633]  m4@0#vdev0buffer: assigned reserved memory node vdev0buffer@10044000
[   25.424120] virtio_rpmsg_bus virtio0: rpmsg host is online
[   25.447132]  m4@0#vdev0buffer: registered virtio0 (type 7)
[   25.455003] virtio_rpmsg_bus virtio0: creating channel rpmsg-raw-channel addr 0x0
[   25.462303] remoteproc remoteproc0: remote processor m4 is now up
[[0;32m  OK  [0m] Started m4 firmware.
[[0;32m  OK  [0m] Started Battery Service.
[[0;32m  OK  [0m] Started Rauc Check Integrity Service.
         Starting TXT2 Qt menu...
         Stopping Start psplash-systemd progress communication helper...
[[0;32m  OK  [0m] Stopped Start psplash-systemd progress communication helper.
[[0;32m  OK  [0m] Started TXT2 Qt menu.
         Starting led lighting...
[[0;32m  OK  [0m] Started User Manager for UID 0.
[[0;32m  OK  [0m] Started led lighting.
[[0;32m  OK  [0m] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[[0;32m  OK  [0m] Started Update UTMP about System Runlevel Changes.


Fischertechnik distro 3.1.0 txt40-IWku ttySTM0

txt40-IWku login: 
Теперь попробуем разобраться - какую ценную информацию мы можем получить о новом контроллере fischertechnik TXT4.0
С уважением, Григорий
GitHub FB ВК
Аватара пользователя
Mr.Kubikus
Сотрудник ПАКПАК
Сообщения: 1018
Зарегистрирован: 22 окт 2010, 23:57

Re: Контроллер fischertechnik TXT4.0 - загрузка

Сообщение Mr.Kubikus »

Разделяемые библиотеки, которые могут показаться интересными:

Код: Выделить всё

/usr/lib/python3.5/site-packages
-rwxr-xr-x 1 root root 106192 Oct 14 16:57 _ftlock.so
-rwxr-xr-x 1 root root 215544 Oct 14 16:57 _ft.so
/usr/lib
-rwxr-xr-x 1 root root 122276 Oct 14 16:57 /usr/lib/libTxtControlLib.so.0.1.0
-rwxr-xr-x 1 root root 14680 Oct 14 16:57 /usr/lib/libcftlock.so.0.1.0

$ readelf -d _ft.so
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libTxtControlLib.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [_ft.so]

$ readelf -d _ftlock.so
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libcftlock.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [_ftlock.so]

$ readelf -d /usr/lib/libTxtControlLib.so.0.1.0
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libTxtControlLib.so.0]
 
$ readelf -d /usr/lib/libcftlock.so.0.1.0
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libcftlock.so.0]
С уважением, Григорий
GitHub FB ВК
Ответить