board is not booting if oftree (device tree ) is enabled

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

board is not booting if oftree (device tree ) is enabled

3,002 Views
krishna_b
Contributor I

Hi, NXP

 

We are using the imx6solo custom board and when switched on the board. it boots only when the oftree (device tree) is disabled in the bootloader. I'm attatching the logs and device tree files for your reference.

please help us out on.

 

0 Kudos
Reply
3 Replies

2,880 Views
krishna_b
Contributor I

if I enable oftree (kernel device tree) then The boot will stop at this point

 

state: Failed to write state backend bucket, -110
state: Failed to write metadata to file, -110
state: Failed to write state backend bucket, -110
state: Failed to write state to at least 1 buckets. Successfully written to 0 buckets
state: Failed to write packed state, -5
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.15.63-bsp-yocto-ampliphy-i.mx6-pd22.1.0 (oe-user@oe-host) (arm-phytec-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP Mon Dec 5 14:37:18 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: PHYTEC phyCORE-i.MX6 Duallite/SOLO with NAND
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 256 MiB at 0x30000000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000010000000-0x000000003fffffff]
[ 0.000000] HighMem [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000010000000-0x000000004fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x000000004fffffff]
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] percpu: Embedded 12 pages/cpu s18380 r8192 d22580 u49152
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260608
[ 0.000000] Kernel command line: consoleblank=0 console=ttymxc1,115200n8 root=ubi0:root ubi.mtd=root rootfstype=ubifs 24 rootwait ro fsck.repair=yes video=LVDS-1@:1280*800-24
[ 0.000000] Unknown kernel command line parameters "24", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 755432K/1048576K available (12288K kernel code, 1307K rwdata, 4388K rodata, 1024K init, 402K bss, 31000K reserved, 262144K cma-reserved, 261100K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: 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=1.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB

0 Kudos
Reply

2,844 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hello @krishna_b 

I hope you are doing well.

I hope you have followed the steps and suggestions provided in the below given link below.
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Incorporating-Out-of-Tree-Modules-in-YOC...

Please follow the above link if not followed properly.

It will be helpful.

Thanks & Regards,

Dhruvit Vasavada

0 Kudos
Reply

2,953 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @krishna_b,

I hope you are doing well.

Please share more details of the issue as well as environment details and the sequence of commands you run.
It will help us to debug the issue further.

Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply