Forums › Devices › OSD32MP15x › Compiling osd32mp1-brk openstlinux for stm ecosystem 4.1
Tagged: openstliux, osd32mp1-brk
I have been trying to compile openstlinux for osd32mp1-brk from source using the layer provided in the folwwoing Github page ( meta-octavo-osd32mp1) i have been following the instructions form the comments on the kirkstone branch how ever i used the the meta layer for openstlinux ecosystem v4.1 instead of 4.0.
In order have a successful compilation of the project using yocto bitbake, i had to mod some files device treefiles stm32mp151.dtsi on booth the kernel source and uboot to support the exti_pwr configurations used by the original patches of osd32mp1-brk.
The compilation worked and i was able to flash the image on the sd card and boot the board however when booting:
– The heartbeat red LED blinks
– USB Remote NDIS doesn’t work like the image provided in the product page –
– I obtain the following error when probing using uart :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | NOTICE: CPU: STM32MP157C?? Rev.Z NOTICE: Model: Octavo OSD32MP1 BRK board INFO: PMIC version = 0x21 INFO: Reset reason (0x14): INFO: Pad Reset from NRST INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000 INFO: FCONF: Reading firmware configuration information for: stm32mp_io INFO: Using SDMMC INFO: Instance 1 INFO: Boot used partition fsbl1 NOTICE: BL2: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f) NOTICE: BL2: Built : 13:14:26, Nov 23 2021 INFO: BL2: Doing platform setup INFO: RAM: DDR3-DDR3L 16bits 533000khz INFO: Memory size = 0x20000000 (512 MB) INFO: BL2: Loading image id 1 INFO: Loading image id=1 at address 0x2ffff000 INFO: Image id=1 loaded: 0x2ffff000 - 0x2ffff226 INFO: FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000 INFO: FCONF: Reading firmware configuration information for: dyn_cfg INFO: FCONF: Reading firmware configuration information for: stm32mp1_firewall INFO: BL2: Loading image id 4 INFO: Loading image id=4 at address 0x2ffc5000 INFO: Image id=4 loaded: 0x2ffc5000 - 0x2ffd9820 INFO: BL2: Skip loading image id 8 INFO: BL2: Skip loading image id 9 INFO: BL2: Loading image id 2 INFO: Loading image id=2 at address 0xc0500000 INFO: Image id=2 loaded: 0xc0500000 - 0xc0513c10 INFO: BL2: Loading image id 16 INFO: Loading image id=16 at address 0x2ffc0000 INFO: Image id=16 loaded: 0x2ffc0000 - 0x2ffc3e16 INFO: BL2: Loading image id 5 INFO: Loading image id=5 at address 0xc0100000 INFO: Image id=5 loaded: 0xc0100000 - 0xc01ece88 NOTICE: BL2: Booting BL32 INFO: Entry point address = 0x2ffc5000 INFO: SPSR = 0x1d3 NOTICE: SP_MIN: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f) NOTICE: SP_MIN: Built : 13:14:26, Nov 23 2021 INFO: ARM GICv2 driver initialized INFO: Set calibration timer to 60 sec INFO: stm32mp1 IWDG1 is secure INFO: SP_MIN: Initializing runtime services INFO: SP_MIN: Preparing exit to normal world U-Boot 2021.10-stm32mp-r2 (Oct 04 2021 - 15:09:26 +0000) CPU: STM32MP157C?? Rev.Z Model: Octavo OSD32MP1 BRK board Board: stm32mp1 in trusted mode (st,stm32mp157c-osd32mp1-brk) DRAM: 512 MiB Clocks: - MPU : 650 MHz - MCU : 208.878 MHz - AXI : 266.500 MHz - PER : 24 MHz - DDR : 533 MHz WDT: Started with servicing (32s timeout) NAND: 0 MiB MMC: STM32 SD/MMC: 0 Loading Environment from MMC... OK In: serial Out: serial Err: serial invalid MAC address 0 in OTP 00:00:00:00:00:00 Net: No ethernet found. Hit any key to stop autoboot: 0 Boot over mmc0! switch to partitions #0, OK mmc0 is current device Scanning mmc 0:8... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 291 bytes read in 76 ms (2.9 KiB/s) Retrieving file: /splash_landscape.bmp 7802 bytes read in 76 ms (99.6 KiB/s) 1: OpenSTLinux Retrieving file: /uImage 7903216 bytes read in 410 ms (18.4 MiB/s) Retrieving file: /st-image-resize-initrd 4059098 bytes read in 248 ms (15.6 MiB/s) append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200 Retrieving file: /stm32mp157c-osd32mp1-brk.dtb 59438 bytes read in 78 ms (744.1 KiB/s) ## Booting kernel from Legacy Image at c2000000 ... Image Name: Linux-5.15.67 Created: 2022-09-08 10:32:54 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 7903152 Bytes = 7.5 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 Loading Ramdisk to cfc21000, end cfffffda ... OK Loading Device Tree to cfc0f000, end cfc2082d ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.15.67 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Sep 8 10:32:54 UTC 2022 [ 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: Octavo OSD32MP1 BRK board [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node mcuram2@10000000, 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 0x10041000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, 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 vdev0buffer@10042000, 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@30000000, 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@38000000, compatible id shared-dma-pool [ 0.000000] cma: Reserved 128 MiB at 0xd8000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000c0000000-0x00000000dfffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000d3ffffff] [ 0.000000] node 0: [mem 0x00000000d4000000-0x00000000d7ffffff] [ 0.000000] node 0: [mem 0x00000000d8000000-0x00000000dfffffff] [ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff] [ 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.2 [ 0.000000] percpu: Embedded 17 pages/cpu s37004 r8192 d24436 u69632 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200 [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 299184K/524288K available (12288K kernel code, 1241K rwdata, 3468K rodata, 1024K init, 201K bss, 94032K reserved, 131072K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 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.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000028] Switching to timer-based delay loop, resolution 41ns [ 0.001322] Console: colour dummy device 80x30 [ 0.001394] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001426] pid_max: default: 32768 minimum: 301 [ 0.001745] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001783] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.003175] CPU: Testing write buffer coherency: ok [ 0.003690] /cpus/cpu@0 missing clock-frequency property [ 0.003757] /cpus/cpu@1 missing clock-frequency property [ 0.003788] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.005510] Setting up static identity map for 0xc0100000 - 0xc0100060 [ 0.005763] rcu: Hierarchical SRCU implementation. [ 0.007561] smp: Bringing up secondary CPUs ... [ 0.008941] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.009190] smp: Brought up 1 node, 2 CPUs [ 0.009229] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.009248] CPU: All CPU(s) started in SVC mode. [ 0.010341] devtmpfs: initialized [ 0.030851] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.031273] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.031316] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.038688] pinctrl core: initialized pinctrl subsystem [ 0.041576] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.045090] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.046994] thermal_sys: Registered thermal governor 'step_wise' [ 0.047374] cpuidle: using governor menu [ 0.047757] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.047789] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.048215] Serial: AMBA PL011 UART driver [ 0.051489] stm32-pm-domain pm_domain: domain core-ret-power-domain registered [ 0.051546] stm32-pm-domain pm_domain: subdomain core-power-domain registered [ 0.051567] stm32-pm-domain pm_domain: domains probed [ 0.107175] Kprobes globally optimized [ 0.119297] SCSI subsystem initialized [ 0.120270] usbcore: registered new interface driver usbfs [ 0.120366] usbcore: registered new interface driver hub [ 0.120450] usbcore: registered new device driver usb [ 0.121001] pps_core: LinuxPPS API ver. 1 registered [ 0.121024] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.121063] PTP clock support registered [ 0.121378] EDAC MC: Ver: 3.0.0 [ 0.122597] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 0.122718] arm-scmi firmware:scmi: SCMI Protocol v2.0 'ST:' Firmware version 0x0 [ 0.126254] clocksource: Switched to clocksource arch_sys_counter [ 0.209642] NET: Registered PF_INET protocol family [ 0.210025] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.211667] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.211737] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.211773] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.211844] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.211949] TCP: Hash tables configured (established 4096 bind 4096) [ 0.212094] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.212149] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.212497] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.217337] RPC: Registered named UNIX socket transport module. [ 0.217376] RPC: Registered udp transport module. [ 0.217390] RPC: Registered tcp transport module. [ 0.217403] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.218115] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available [ 0.218538] Trying to unpack rootfs image as initramfs... [ 0.228666] Initialise system trusted keyrings [ 0.236468] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 0.258460] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.267315] NFS: Registering the id_resolver key type [ 0.267483] Key type id_resolver registered [ 0.267503] Key type id_legacy registered [ 0.267689] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.267726] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.267933] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.268261] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.269246] fuse: init (API version 7.34) [ 0.270520] NET: Registered PF_ALG protocol family [ 0.270568] Key type asymmetric registered [ 0.270583] Asymmetric key parser 'x509' registered [ 0.270726] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.270750] io scheduler mq-deadline registered [ 0.270766] io scheduler kyber registered [ 0.284381] arm-scmi firmware:scmi: Failed. SCMI protocol 23 not active. [ 0.301339] STM32 USART driver initialized [ 0.346378] random: crng init done [ 0.373105] brd: module loaded [ 0.393273] loop: module loaded [ 0.402949] CAN device driver interface [ 0.405957] pegasus: Pegasus/Pegasus II USB Ethernet driver [ 0.406073] usbcore: registered new interface driver pegasus [ 0.406189] usbcore: registered new interface driver asix [ 0.426459] usbcore: registered new interface driver ax88179_178a [ 0.426594] usbcore: registered new interface driver cdc_ether [ 0.426692] usbcore: registered new interface driver smsc75xx [ 0.426782] usbcore: registered new interface driver smsc95xx [ 0.426851] usbcore: registered new interface driver net1080 [ 0.426941] usbcore: registered new interface driver cdc_subset [ 0.427007] usbcore: registered new interface driver zaurus [ 0.427103] usbcore: registered new interface driver cdc_ncm [ 0.428670] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.428746] ehci-platform: EHCI generic platform driver [ 0.429076] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.429120] ohci-platform: OHCI generic platform driver [ 0.430047] usbcore: registered new interface driver usb-storage [ 0.434649] i2c_dev: i2c /dev entries driver [ 0.448024] arm-scmi firmware:scmi: Failed. SCMI protocol 21 not active. [ 0.450459] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com [ 0.450696] arm-scmi firmware:scmi: Failed. SCMI protocol 19 not active. [ 0.452644] sdhci: Secure Digital Host Controller Interface driver [ 0.452678] sdhci: Copyright(c) Pierre Ossman [ 0.452692] Synopsys Designware Multimedia Card Interface Driver [ 0.453266] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.466322] ledtrig-cpu: registered to indicate activity on CPUs [ 0.466514] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active. [ 0.466813] SMCCC: SOC_ID: ID = jep106:0020:0500 Revision = 0x00002001 [ 0.467436] usbcore: registered new interface driver usbhid [ 0.467463] usbhid: USB HID core driver [ 0.472571] NET: Registered PF_PACKET protocol family [ 0.472642] can: controller area network core [ 0.472771] NET: Registered PF_CAN protocol family [ 0.472795] can: raw protocol [ 0.472813] can: broadcast manager protocol [ 0.472836] can: netlink gateway - max_hops=1 [ 0.476722] Key type dns_resolver registered [ 0.476872] ThumbEE CPU extension supported. [ 0.476913] Registering SWP/SWPB emulation handler [ 0.477462] registered taskstats version 1 [ 0.477502] Loading compiled-in X.509 certificates [ 0.551120] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered [ 0.566383] stm32-dma 48000000.dma-controller: STM32 DMA driver registered [ 0.569431] stm32-dma 48001000.dma-controller: STM32 DMA driver registered [ 0.597072] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully [ 0.604252] /soc/interrupt-controller@5000d000: bank0 [ 0.604310] /soc/interrupt-controller@5000d000: bank1 [ 0.604339] /soc/interrupt-controller@5000d000: bank2 [ 0.616804] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOA bank added [ 0.617744] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOB bank added [ 0.618594] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOC bank added [ 0.619412] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOD bank added [ 0.620299] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOE bank added [ 0.621188] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOF bank added [ 0.622070] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOG bank added [ 0.622934] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOH bank added [ 0.623817] stm32mp157-pinctrl soc:pinctrl@50002000: GPIOI bank added [ 0.623922] stm32mp157-pinctrl soc:pinctrl@50002000: Pinctrl STM32 initialized [ 0.626049] stm32mp157-pinctrl soc:pinctrl@54004000: GPIOZ bank added [ 0.626102] stm32mp157-pinctrl soc:pinctrl@54004000: Pinctrl STM32 initialized [ 0.636962] 4000e000.serial: ttySTM2 at MMIO 0x4000e000 (irq = 61, base_baud = 4000000) is a stm32-usart [ 0.639415] stm32-usart 40010000.serial: interrupt mode for rx (no dma) [ 0.639458] stm32-usart 40010000.serial: interrupt mode for tx (no dma) [ 0.639499] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 62, base_baud = 4000000) is a stm32-usart [ 0.653599] Freeing initrd memory: 3964K [ 0.676337] printk: console [ttySTM0] enabled [ 1.842890] 40011000.serial: ttySTM5 at MMIO 0x40011000 (irq = 63, base_baud = 4000000) is a stm32-usart [ 1.853770] 40018000.serial: ttySTM7 at MMIO 0x40018000 (irq = 64, base_baud = 4000000) is a stm32-usart [ 1.864688] 40019000.serial: ttySTM1 at MMIO 0x40019000 (irq = 65, base_baud = 4000000) is a stm32-usart [ 1.875755] m_can_platform 4400e000.can: m_can device registered (irq=57, version=32) [ 1.885779] stm32_rtc 5c004000.rtc: registered as rtc0 [ 1.889699] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T03:35:10 UTC (946697710) [ 1.898722] stm32_rtc 5c004000.rtc: Date/Time must be initialized [ 1.904307] stm32_rtc 5c004000.rtc: registered rev:1.2 [ 1.930750] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter [ 1.956708] stm32f7-i2c 40013000.i2c: STM32F7 I2C-1 bus adapter [ 1.982588] stm32f7-i2c 40015000.i2c: STM32F7 I2C-2 bus adapter [ 2.012326] at24 3-0050: supply vcc not found, using dummy regulator [ 2.018306] at24 3-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write [ 2.024166] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-3 bus adapter [ 2.035599] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0 [ 2.043477] stm32-rproc 10000000.m4: wdg irq registered [ 2.048022] stm32-rproc 10000000.m4: mbox_request_channel_byname() could not locate channel named "detach" [ 2.057029] remoteproc remoteproc0: cannot get detach mbox [ 2.062566] remoteproc remoteproc0: m4 is available [ 2.078508] Freeing unused kernel image (initmem) memory: 1024K [ 2.106698] Run /init as init process Starting version 250.5+ root '/dev/disk/by-partuuid/e91c4e10-16e6-4c0e-bd0e-77becf4a3582' doesn't exist or does not contain a /dev. |
compiling and using 4.0 didn’t also work (even though i didn’t make any modifications) there were errors when booting.
I need to use the ecosystem v4.1 version since that it offers updates on the ADC drivers.
my question is what is that i’m doing wrong ?Â
Hi,
You need to change in boot partition a following record
APPEND root=PARTUUID=491f6117-415d-4f53-88c9-6e0de54deac6 rootwait rw  console=${console},${baudrate}
to
APPEND root=root=/dev/mmcblk0p8 rootwait rw  console=${console},${baudrate}
I do not remember which number is the rootfs partition, it can be 7 or 8 or 9 You need to test or check.
Of course on the boot partition, You find two folders mmc0_extlinux and mmc1_extlinux everything depends on Your configuration.
BR Michal
i have tried all of the above how ever non of them worked, when i try to lsblk the SD card ,it shows partions with (ada0) not mmcblk0px i have also made the partions using the ./create_sdcard_from_flashlayout.sh script and then flash it normaly how ever it still desn’t work properly.
the file output of this script is
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 This file describe How to update manually the partition of SDCARD:1. SDCARD schema of partition2. How to populate each partition3. How to update the kernel/devicetree1. SDCARD schema of partition:------------------------------================================================================================================================================================= = = = = = = = = = = == fsbl1 = fsbl2 = metadata1 = metadata2 = fip-a = fip-b = u-boot-env = bootfs = vendorfs = rootfs = userfs == = = = = = = = = = = == mmcblk0p1 = mmcblk0p2 = mmcblk0p3 = mmcblk0p4 = mmcblk0p5 = mmcblk0p6 = mmcblk0p7 = mmcblk0p8 = mmcblk0p9 = mmcblk0p10 = mmcblk0p11 == (1 ) = (2 ) = (3 ) = (4 ) = (5 ) = (6 ) = (7 ) = (8 ) = (9 ) = (10) = (11) == = = = = = = = = = = =================================================================================================================================================(1):Device: /dev/mmcblk0p1Label: fsbl1Image: arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32(2):Device: /dev/mmcblk0p2Label: fsbl2Image: arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32(3):Device: /dev/mmcblk0p3Label: metadata1Image: arm-trusted-firmware/metadata.bin(4):Device: /dev/mmcblk0p4Label: metadata2Image: arm-trusted-firmware/metadata.bin(5):Device: /dev/mmcblk0p5Label: fip-aImage: fip/fip-stm32mp157c-osd32mp1-brk-trusted.bin(6):Device: /dev/mmcblk0p6Label: fip-bImage: none(7):Device: /dev/mmcblk0p7Label: u-boot-envImage: none(8):Device: /dev/mmcblk0p8Label: bootfsImage: st-image-bootfs-openstlinux-weston-osd32mp1-brk.ext4(9):Device: /dev/mmcblk0p9Label: vendorfsImage: st-image-vendorfs-openstlinux-weston-osd32mp1-brk.ext4(10):Device: /dev/mmcblk0p10Label: rootfsImage: octavo-image-weston-openstlinux-weston-osd32mp1-brk.ext4(11):Device: /dev/mmcblk0p11Label: userfsImage: st-image-userfs-openstlinux-weston-osd32mp1-brk.ext42. How to populate each partition---------------------------------- Populate partition fsbl1 (/dev/mmcblk0p1)dd if=arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32 of=/dev/mmcblk0p1 bs=1M conv=fdatasync status=progress- Populate partition fsbl2 (/dev/mmcblk0p2)dd if=arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32 of=/dev/mmcblk0p2 bs=1M conv=fdatasync status=progress- Populate partition metadata1 (/dev/mmcblk0p3)dd if=arm-trusted-firmware/metadata.bin of=/dev/mmcblk0p3 bs=1M conv=fdatasync status=progress- Populate partition metadata2 (/dev/mmcblk0p4)dd if=arm-trusted-firmware/metadata.bin of=/dev/mmcblk0p4 bs=1M conv=fdatasync status=progress- Populate partition fip-a (/dev/mmcblk0p5)dd if=fip/fip-stm32mp157c-osd32mp1-brk-trusted.bin of=/dev/mmcblk0p5 bs=1M conv=fdatasync status=progress- Populate partition fip-b (/dev/mmcblk0p6)dd if=none of=/dev/mmcblk0p6 bs=1M conv=fdatasync status=progress- Populate partition u-boot-env (/dev/mmcblk0p7)dd if=none of=/dev/mmcblk0p7 bs=1M conv=fdatasync status=progress- Populate partition bootfs (/dev/mmcblk0p8)dd if=st-image-bootfs-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p8 bs=1M conv=fdatasync status=progress- Populate partition vendorfs (/dev/mmcblk0p9)dd if=st-image-vendorfs-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p9 bs=1M conv=fdatasync status=progress- Populate partition rootfs (/dev/mmcblk0p10)dd if=octavo-image-weston-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p10 bs=1M conv=fdatasync status=progress- Populate partition userfs (/dev/mmcblk0p11)dd if=st-image-userfs-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p11 bs=1M conv=fdatasync status=progress3. How to update the kernel/devicetree--------------------------------------The kernel and devicetree are present on "boot" partition.To change kernel and devicetree, you can copy the file on this partitions:- plug SDCARD on your PC- copy kernel uImage on SDCARDsudo cp uImage /media/$USER/bootfs/- copy devicetree uImage on SDCARDsudo cp stm32mp1*.dtb /media/$USER/bootfs/- umount partitions of SDCARDsudo umount /media/$USER/bootfs/(dont't forget to umount the other partitions of SDCARD:sudo umount <code>lsblk --list | grep mmcblk0 | grep part | gawk '{ print $7 }' | tr '\n' ' ')
So the parth should be ” dev/mmcblk0p10″ in this case it Doesn’t work.
In the U-Boot, everything looks good but during the system bring up I can’t see mmc initialization. Check sdmmc section in dts for the kernel. The next thing is NFS, I saw some records in the log, maybe You used NFS rootfs loading previously and forgot to change to mmc.
BR Michal
bm,
The kernel boot options can be set in an extlinux file in /boot folder of the SD card. Please see https://github.com/octavosystems/osd32mp1-build-tools/blob/master/stm32mp157c-osd32mp1-red-extlinux.sh#L26 for example. From the boot log, it looks like the kernel is looking for a partition that has a UUID of e91c4e10-16e6-4c0e-bd0e-77becf4a3582. This does not exist on your SD card. The kernel is getting this from /boot/extlinux/extlinux.conf. This is where you can change the root= from the UUID to the root partition ID of your SD card or the UUID of your root partition. You can find the UUID of the partitions of the SD card you are using by inserting it into a Linux computer and running “blkid”. The output of the command is the UUIDs of all devices and filesystem UUIDs.
Best,
Neeraj
Octavo Systems LLC all rights reserved
OCTAVO is registered in the U.S. Patent and Trademark Office. OSD, C-SiP, and the Octavo Logo are trademarks of Octavo Systems LLC.
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields