Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rknand error: when boot using rknan_linux #231

Closed
darkalexpp opened this issue Oct 7, 2020 · 0 comments
Closed

rknand error: when boot using rknan_linux #231

darkalexpp opened this issue Oct 7, 2020 · 0 comments

Comments

@darkalexpp
Copy link

darkalexpp commented Oct 7, 2020

hi,
I have a kernel panic when trying to boot the system, I have an rknand partition, but if I boot from a usb and the partition does not happen the error:

[ 2.933463] EXT4-fs (rknand_linux): mounted filesystem without journal. Opts: (null)
[ 2.940820] VFS: Mounted root (ext4 filesystem) on device 31:1.
[ 2.955145] devtmpfs: mounted
[ 2.959857] Freeing unused kernel memory: 1024K
[ 3.021119] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 3.028724] pgd = c0004000
[ 3.031260] [00000000] *pgd=00000000
[ 3.034621] Internal error: Oops: 805 [#1] SMP ARM
[ 3.039116] Modules linked in:
[ 3.041985] CPU: 0 PID: 72 Comm: rknand Tainted: G W 4.4.194 #14
[ 3.048762] Hardware name: Rockchip (Device Tree)
[ 3.053175] task: ef1f7080 task.stack: ee002000
[ 3.057431] PC is at memcpy+0x50/0x330
[ 3.060947] LR is at 0x34
[ 3.063402] pc : [] lr : [<00000034>] psr: 20000093
[ 3.069282] sp : ee003eb4 ip : 0001e6c8 fp : ee003f74
[ 3.074183] r10: ee13d840 r9 : eeac1000 r8 : 00000001
[ 3.079085] r7 : 00280003 r6 : 00000000 r5 : 00000000 r4 : 00010101
[ 3.085210] r3 : 464c457f r2 : 00000f60 r1 : eeac0020 r0 : 00000000
[ 3.091336] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
[ 3.098114] Control: 10c5387d Table: 6000404a DAC: 00000051
[ 3.103505] Process rknand (pid: 72, stack limit = 0xee002218)
[ 3.108979] Stack: (0xee003eb4 to 0xee004000)
[ 3.113066] 3ea0: 00000000 00004000 00000000
[ 3.120745] 3ec0: 00000000 00000000 00001000 c0742c18 00000000 58350141 00000000 c0c8a7e4
[ 3.128423] 3ee0: ef1f7080 c0fb8534 c0152c30 ffffe000 c1037410 c0f94dc8 eeac0000 c0c8a810
[ 3.136102] 3f00: ef3d9c80 eea93c38 eeaa0000 00000020 c0c8a810 00000000 00000000 00000000
[ 3.143779] 3f20: 00000000 ef1f7080 c0152c30 00000000 00000000 00000000 ef1f7080 c016cc4c
[ 3.151456] 3f40: ee003f40 ee003f40 c07423ac eea78280 ef3d9900 00000000 ee002000 c0f94dc8
[ 3.159135] 3f60: c07423ac ef117de4 ee003fac ee003f78 c0146088 c07423b8 eea782a8 eea782a8
[ 3.166813] 3f80: ee003fac ef3d9900 c0145f18 00000000 00000000 00000000 00000000 00000000
[ 3.174491] 3fa0: 00000000 ee003fb0 c0107f88 c0145f24 00000000 00000000 00000000 00000000
[ 3.182168] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.189845] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 3.197532] [] (memcpy) from [] (nand_blktrans_thread+0x86c/0x9cc)
[ 3.204973] [] (nand_blktrans_thread) from [] (kthread+0x170/0x178)
[ 3.212495] [] (kthread) from [] (ret_from_fork+0x14/0x2c)
[ 3.219278] Code: f5d1f05c f5d1f07c e8b151f8 e2522020 (e8a051f8)
[ 3.224998] ---[ end trace 2107056eb59c5b33 ]---

I also have these errors before mount

[ 1.991205] rknandbase v1.2 2018-05-08
[ 1.994967] No.1 FLASH ID:2c 64 44 4b a9 0
[ 2.000823] MT RR 15 row=400,count 15,status=-1
[ 2.006773] MT RR 15 row=400,count 15,status=-1
[ 2.011042] flash_read_page_en 0 400 error_ecc -1 1
[ 2.017544] MT RR 15 row=500,count 15,status=-1
[ 2.023509] MT RR 15 row=500,count 15,status=-1
[ 2.027773] flash_read_page_en 0 500 error_ecc -1 1
[ 2.034273] MT RR 15 row=600,count 15,status=-1
[ 2.040223] MT RR 15 row=600,count 15,status=-1
[ 2.044475] flash_read_page_en 0 600 error_ecc -1 1
[ 2.051854] MT RR 15 row=b00,count 15,status=-1
[ 2.057807] MT RR 15 row=b00,count 15,status=-1
[ 2.062059] flash_read_page_en 0 b00 error_ecc -1 1
[ 2.068583] MT RR 15 row=c00,count 15,status=-1
[ 2.074531] MT RR 15 row=c00,count 15,status=-1
[ 2.078795] flash_read_page_en 0 c00 error_ecc -1 1
[ 2.085295] MT RR 15 row=d00,count 15,status=-1
[ 2.091253] MT RR 15 row=d00,count 15,status=-1
[ 2.095505] flash_read_page_en 0 d00 error_ecc -1 1
[ 2.102014] MT RR 15 row=e00,count 15,status=-1
[ 2.107963] MT RR 15 row=e00,count 15,status=-1
[ 2.112214] flash_read_page_en 0 e00 error_ecc -1 1
[ 2.117806] random: fast init done
[ 2.121907] MT RR 15 row=f00,count 15,status=-1
[ 2.127858] MT RR 15 row=f00,count 15,status=-1
[ 2.132110] flash_read_page_en 0 f00 error_ecc -1 1
[ 2.136736] No.1 FLASH ID:2c 64 44 4b a9 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant