My board is based on ls1012ardb, my sdk is lsdk2108.
My NOR flash layout is:
[ 2.310553] 0x000000000000-0x000000100000 : "pbl"
[ 2.323334] 0x000000100000-0x000000280000 : "uboot"
[ 2.335312] 0x000000280000-0x0000002c0000 : "uboot-env"
[ 2.347304] 0x0000002c0000-0x000000fc0000 : "kernel"
[ 2.359308] 0x000001000000-0x000001c00000 : "rootfs"
[ 2.371346] 0x000001c00000-0x000002000000 : "data"
boot args is:
set bootargs console=ttyS0,115200 noinitrd root=/dev/mtdblock4 rootfstype=squashfs rootwait rw earlycon=uart8250,mmio,0x21c0500 quiet lpj=250000
The rootfs is built by command "flex-builder -i mkrfs -r yocto:tiny"
[ 3.259000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 3.267769] devtmpfs: mounted
[ 3.276036] Freeing unused kernel memory: 6656K
[ 3.280714] Run /sbin/init as init process
[ 3.284858] with arguments:
[ 3.287836] /sbin/init
[ 3.290542] with environment:
[ 3.293705] HOME=/
[ 3.296074] TERM=linux
INIT: version 2.99 booting
INIT: /etc/inittab[32]: missing id field
[ 3.751928] Unable to handle kernel paging request at virtual address 00403260540003e1
[ 3.760040] Mem abort info:
[ 3.762861] ESR = 0x96000004
[ 3.765917] EC = 0x25: DABT (current EL), IL = 32 bits
[ 3.771265] SET = 0, FnV = 0
[ 3.774322] EA = 0, S1PTW = 0
[ 3.777473] Data abort info:
[ 3.780378] ISV = 0, ISS = 0x00000004
[ 3.784226] CM = 0, WnR = 0
[ 3.787204] [00403260540003e1] address between user and kernel address ranges
[ 3.794375] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 3.799956] Modules linked in:
[ 3.803022] CPU: 0 PID: 121 Comm: pidof Not tainted 5.10.35-00002-gd06856fba47f-dirty #10
[ 3.811213] Hardware name: LS1012A RDB Board (DT)
[ 3.815925] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 3.821949] pc : wq_worker_comm+0x78/0xd0
[ 3.825964] lr : wq_worker_comm+0x78/0xd0
[ 3.829977] sp : ffff800012f9ba60
[ 3.833294] x29: ffff800012f9ba60 x28: ffff800010122a60
[ 3.838619] x27: ffffffffffffffff x26: ffff0000017800c0
[ 3.843943] x25: 0000000000000127 x24: 0000000000000000
[ 3.849267] x23: ffff800012f9bae8 x22: ffff8000124f0fb8
[ 3.854592] x21: 000000000000000c x20: 0000000000000040
[ 3.859916] x19: ffff0000010c4040 x18: 0000000000001000
[ 3.865240] x17: 0000000000000000 x16: 0000000000000000
[ 3.870564] x15: ffff000001780520 x14: 0000000000000001
[ 3.875888] x13: ffff800012f9bad0 x12: 0000000000000010
[ 3.881212] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 3.886536] x9 : ffff800012f9baf0 x8 : fefefefefefefeff
[ 3.891859] x7 : 0000000000000040 x6 : ffff800012f9bae8
[ 3.897184] x5 : 000000006574656c x4 : 0000000000000000
[ 3.902507] x3 : ffff8000124f0fb8 x2 : ffff0000017800c0
[ 3.907830] x1 : 0000000004208060 x0 : b9403260540003a1
[ 3.913155] Call trace:
[ 3.915604] wq_worker_comm+0x78/0xd0
[ 3.919273] proc_task_name+0x4c/0x138
[ 3.923028] do_task_stat+0x358/0xa38
[ 3.926693] proc_tgid_stat+0x14/0x20
[ 3.930359] proc_single_show+0x5c/0x110
[ 3.934291] seq_read_iter+0x258/0x460
[ 3.938045] seq_read+0xdc/0x130
[ 3.941277] vfs_read+0xac/0x1d8
[ 3.944507] ksys_read+0x6c/0x100
[ 3.947826] __arm64_sys_read+0x1c/0x28
[ 3.951670] el0_svc_common.constprop.0+0x78/0x1a0
[ 3.956470] do_el0_svc+0x24/0x90
[ 3.959791] el0_svc+0x14/0x20
[ 3.962846] el0_sync_handler+0xb0/0xb8
[ 3.966687] el0_sync+0x178/0x180
[ 3.970010] Code: d50323bf d65f03c0 aa1303e0 940010c1 (f9402018)
[ 3.976115] ---[ end trace ca17af90850baae9 ]---
Segmentation fault
Starting udev
[ 4.050720] Unable to handle kernel paging request at virtual address 0040d3f37bc2312c
[ 4.058676] Mem abort info:
[ 4.061471] ESR = 0x96000004
[ 4.064537] EC = 0x25: DABT (current EL), IL = 32 bits
[ 4.069864] SET = 0, FnV = 0
[ 4.072928] EA = 0, S1PTW = 0
[ 4.076078] Data abort info:
[ 4.078967] ISV = 0, ISS = 0x00000004
[ 4.082819] CM = 0, WnR = 0
[ 4.085788] [0040d3f37bc2312c] address between user and kernel address ranges
[ 4.092945] Internal error: Oops: 96000004 [#2] PREEMPT SMP
[ 4.098526] Modules linked in:
[ 4.101590] CPU: 0 PID: 94 Comm: kworker/0:2 Tainted: G D 5.10.35-00002-gd06856fba47f-dirty #10
[ 4.111609] Hardware name: LS1012A RDB Board (DT)
[ 4.116333] Workqueue: events linkwatch_event
[ 4.120698] pstate: 40000005 (nZcv daif -PAN -UAO -TCO BTYPE=--)
[ 4.126717] pc : linkwatch_do_dev+0x5c/0xf0
[ 4.130907] lr : linkwatch_do_dev+0xa4/0xf0
[ 4.135095] sp : ffff800012e1bce0
[ 4.138412] x29: ffff800012e1bce0 x28: ffff00000118e000
[ 4.143737] x27: ffff80001279fa48 x26: ffff000000254140
[ 4.149061] x25: ffff8000128c1e68 x24: 0000000000000000
[ 4.154385] x23: ffff8000128c1e78 x22: ffff800012e1bd68
[ 4.159709] x21: ffff80001279f9f0 x20: 0000000000000064
[ 4.165033] x19: ffff00000118e000 x18: 0000000000001000
[ 4.170357] x17: 0000000000000000 x16: 0000000000000000
[ 4.175681] x15: 00008e27a6679cae x14: 00000000000003cd
[ 4.181005] x13: 00000000000003cd x12: 0000000000005db1
[ 4.186329] x11: 071c71c71c71c71c x10: 00000000000009c0
[ 4.191653] x9 : ffff00000108b76c x8 : fefefefefefefeff
[ 4.196976] x7 : 0000000000000018 x6 : ffff00000108b76c
[ 4.202300] x5 : 000073746e657665 x4 : 0000000000000000
[ 4.207625] x3 : 00000000ffffffff x2 : ffff800027c23000
[ 4.212949] x1 : ffff000000254140 x0 : a940d3f37bc2312c
[ 4.218273] Call trace:
[ 4.220723] linkwatch_do_dev+0x5c/0xf0
[ 4.224565] __linkwatch_run_queue+0xe0/0x218
[ 4.228930] linkwatch_event+0x2c/0x40
[ 4.232686] process_one_work+0x1bc/0x338
[ 4.236700] worker_thread+0x50/0x420
[ 4.240367] kthread+0x154/0x158
[ 4.243598] ret_from_fork+0x10/0x34
[ 4.247181] Code: 12800003 d538d082 f9426260 8b020000 (885f7c05)
[ 4.253286] ---[ end trace ca17af90850baaea ]---
[ 4.257931] note: kworker/0:2[94] exited with preempt_count 1
[ 8.306704] Unable to handle kernel paging request at virtual address 00030021d0000417
[ 8.314660] Mem abort info:
[ 8.317463] ESR = 0x96000004
[ 8.320529] EC = 0x25: DABT (current EL), IL = 32 bits
[ 8.325856] SET = 0, FnV = 0
[ 8.328920] EA = 0, S1PTW = 0
[ 8.332069] Data abort info:
[ 8.334959] ISV = 0, ISS = 0x00000004
[ 8.338804] CM = 0, WnR = 0
[ 8.341773] [00030021d0000417] address between user and kernel address ranges
[ 8.348928] Internal error: Oops: 96000004 [#3] PREEMPT SMP
[ 8.354508] Modules linked in:
[ 8.357574] CPU: 0 PID: 70 Comm: kworker/0:1H Tainted: G D 5.10.35-00002-gd06856fba47f-dirty #10
[ 8.367680] Hardware name: LS1012A RDB Board (DT)
[ 8.372399] Workqueue: kblockd blk_mq_timeout_work
[ 8.377203] pstate: 40000005 (nZcv daif -PAN -UAO -TCO BTYPE=--)
[ 8.383221] pc : blk_mq_queue_tag_busy_iter+0xc0/0x340
[ 8.388368] lr : blk_mq_queue_tag_busy_iter+0x2d0/0x340
[ 8.393597] sp : ffff800012b4bca0
[ 8.396914] x29: ffff800012b4bca0 x28: ffff8000124d6000
[ 8.402239] x27: ffff0000003ee5c8 x26: ffff8000127d7a08
[ 8.407563] x25: 0000000000000000 x24: ffff0000011e17c0
[ 8.412887] x23: fffffdffbffdf000 x22: ffff0000011e17c0
[ 8.418211] x21: 91030021d0000321 x20: 0000000000000000
[ 8.423535] x19: ffff0000011e1b70 x18: 000000000000000e
[ 8.428859] x17: 0000000000000001 x16: 0000000000000019
[ 8.434183] x15: 0000000000000000 x14: 00000000000000d7
[ 8.439507] x13: 0000000000000000 x12: 0000000000000000
[ 8.444831] x11: 0000000000000000 x10: 00000000000009c0
[ 8.450155] x9 : ffff0000003e336c x8 : fefefefefefefeff
[ 8.455479] x7 : 0000000000000018 x6 : ffff0000003e336c
[ 8.460803] x5 : 0000000000000002 x4 : 0000000000000000
[ 8.466126] x3 : 0000000000000001 x2 : ffff800027c23000
[ 8.471450] x1 : 0000000000000001 x0 : ffff000001181700
[ 8.476773] Call trace:
[ 8.479225] blk_mq_queue_tag_busy_iter+0xc0/0x340
[ 8.484022] blk_mq_timeout_work+0x144/0x1a8
[ 8.488298] process_one_work+0x1bc/0x338
[ 8.492312] worker_thread+0x50/0x420
[ 8.495980] kthread+0x154/0x158
[ 8.499212] ret_from_fork+0x10/0x34
[ 8.502794] Code: 6b14003f 540005a9 f9402700 f874d815 (7941eea0)
[ 8.508898] ---[ end trace ca17af90850baaeb ]---
Solved! Go to Solution.
Dear Chavira:
Thanks for helping. The rootfs is built by command "flex-builder -i mkrfs -r yocto:tiny" , it is not work for me. Finally, I make rootfs from busybox. It works for me.
Thank you for contacting NXP support!
If your board is based on LS1012ARDB, please install the pre-compiled image on your board and try to boot.
We have a manual to deploy images to different devices that you can boot, please read that manual for your boot type.
Flash Bank Usage | QorIQ SDK v2.0-1703 Documentation | NXP Semiconductors
Dear Chavira:
Thanks for helping. The rootfs is built by command "flex-builder -i mkrfs -r yocto:tiny" , it is not work for me. Finally, I make rootfs from busybox. It works for me.