完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好
NUC980 从git 抓下之后 使用make uImage 编译出来的档案为1.9mb 比起perbuild 的出来小很多 透过nuwriter烧进去之后 不管如何都是开不起来 kernel panic 以下是开机log 请给予建议 谢谢 ------------------------------------------------------- NUC980 IBR 20180813 Boot from SPI-NAND DDR-OK finish SPI dow螿oad SPL load main U-Boot from SPI NAND Flash! (Sep 5 2019 11:15:45) U-Boot 2016.11-g6b7c340 (Sep 05 2019 - 11:14:43 +0800) CPU: NUC980 Board: NUC980 DRAM: 64 MiB NAND: NAND Flash not found ! NUC980 NAND CONTROLLER IS NOT SUPPORT THE PAGE SIZE. (0, 0) 0 MiB SF: Detected W25N01GV with page size 2 KiB, erase size 128 KiB, total 128 MiB In: serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 SF: Detected W25N01GV with page size 2 KiB, erase size 128 KiB, total 128 MiB device 0 offset 0x200000, size 0x800000 SF: 8388608 bytes @ 0x200000 Read: OK ## Booting kernel from Legacy Image at 00007fc0 ... Image Name: Linux-4.4.207+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2045712 Bytes = 2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK XIP Kernel Image ... OK Starting kernel ... SF: Detected W25N01GV with page size 2 KiB, erase size 128 KiB, total 128 MiB SF: DeviceBooting Linux on physical CPU 0x0 Linux version 4.4.207+ (root@ryan-VirtualBox) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) ) #2 PREEMPT Fri Jan 17 17:25:50 CST 2020 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f CPU: VIVT data cache, VIVT instruction cache Machine: NUC980 Memory policy: Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: root=/dev/ram0 console=ttyS0,115200n8 rdinit=/sbin/init mem=64M PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 60568K/65536K available (2834K kernel code, 229K rwdata, 904K rodata, 148K init, 198K bss, 4968K reserved, 0K cma-reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc03aeda4 (3740 kB) .init : 0xc03af000 - 0xc03d4000 ( 148 kB) .data : 0xc03d4000 - 0xc040d500 ( 230 kB) .bss : 0xc040d500 - 0xc043ed80 ( 199 kB) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Preemptible hierarchical RCU implementation. Build-time adjustment of leaf fanout to 32. NR_IRQS:545 clocksource: nuc980-timer5: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 62215505635 ns sched_clock: 24 bits at 120kHz, resolution 8333ns, wraps every 69905062489ns Console: colour dummy device 80x30 console [ttyS0] enabled Calibrating delay loop... 148.88 BogoMIPS (lpj=744448) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok Setting up static identity map for 0x8400 - 0x843c devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 256 (order: -1, 3072 bytes) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb clocksource: Switched to clocksource nuc980-timer5 NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 NetWinder Floating Point Emulator V0.97 (double precision) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered (default) nuc980_gpio_probe - pdev = nuc980-gpio nuc980-uart.0: ttyS0 at I/O 0x0 (irq = 36, base_baud = 750000) is a NUC980 nuc980-uart.2: ttyS2 at I/O 0x0 (irq = 38, base_baud = 9375000) is a NUC980 brd: module loaded libphy: nuc980_rmii0: probed ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver nuc980-ehci nuc980-ehci: Nuvoton NUC980 EHCI Host Controller nuc980-ehci nuc980-ehci: new USB bus registered, assigned bus number 1 nuc980-ehci nuc980-ehci: irq 23, io mem 0xb0015000 nuc980-ehci nuc980-ehci: USB 2.0 started, EHCI 0.95 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver usb_hcd_nuc980_probe, id = 0, name: nuc980-ohci.0, 0 nuc980-ohci nuc980-ohci.0: Nuvoton NUC980 OHCI Host Controller nuc980-ohci nuc980-ohci.0: new USB bus registered, assigned bus number 2 nuc980-ohci nuc980-ohci.0: irq 24, io mem 0xb0017000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 8 ports detected usb_hcd_nuc980_probe, id = 1, name: nuc980-ohci.1, 0 usb_hcd_nuc980_probe, id = 2, name: nuc980-ohci.2, 0 usb_hcd_nuc980_probe, id = 3, name: nuc980-ohci.3, 0 usb_hcd_nuc980_probe, id = 4, name: nuc980-ohci.4, 0 usb_hcd_nuc980_probe, id = 5, name: nuc980-ohci.5, 0 usb_hcd_nuc980_probe, id = 6, name: nuc980-ohci.6, 0 usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbhid usbhid: USB HID core driver NET: Registered protocol family 17 Warning: unable to open an initial console. Failed to create /dev/root: -2 VFS: Cannot open root device "ram0" or unknown-block(1,0): error -2 Please append a correct "root=" boot option; here are the available partitions: 0100 16384 ram0 (driver?) 0101 16384 ram1 (driver?) 0102 16384 ram2 (driver?) 0103 16384 ram3 (driver?) 0104 16384 ram4 (driver?) 0105 16384 ram5 (driver?) 0106 16384 ram6 (driver?) 0107 16384 ram7 (driver?) 0108 16384 ram8 (driver?) 0109 16384 ram9 (driver?) 010a 16384 ram10 (driver?) 010b 16384 ram11 (driver?) 010c 16384 ram12 (driver?) 010d 16384 ram13 (driver?) 010e 16384 ram14 (driver?) 010f 16384 ram15 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.207+ #2 Hardware name: NUC980 Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r6:c3ac0000 r5:c035b070 r4:c040d7c8 r3:00000000 [] (show_stack) from [] (dump_stack+0x20/0x28) [] (dump_stack) from [] (panic+0xb0/0x248) [] (panic) from [] (mount_block_root+0x208/0x2d8) r3:00000000 r2:00000000 r1:c383fec8 r0:c035b070 r7:c3fec800 [] (mount_block_root) from [] (mount_root+0x68/0x84) r10:c03ca838 r9:0000005a r8:00000000 r7:c03ca830 r6:c040d500 r5:c03ca869 r4:00000000 [] (mount_root) from [] (prepare_namespace+0x16c/0x1cc) r4:c040d524 r3:00000001 [] (prepare_namespace) from [] (kernel_init_freeable+0x184/0x1cc) r5:00000007 r4:c03d12cc [] (kernel_init_freeable) from [] (kernel_init+0x10/0xf4) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c02c62ac r4:00000000 [] (kernel_init) from [] (ret_from_fork+0x14/0x3c) r4:00000000 r3:ffffffff ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) random: nonblocking pool is initialized 使用spi nand的话,uboot和kernel,都使用make nuc980_iot_defconfig看一下 另外1.9MB表示kernel中没有包含rootfs,请根据kernel中选的file system制作rootfs,或在kernel中配置ramfs |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
3294 浏览 9 评论
2970 浏览 16 评论
3473 浏览 1 评论
9023 浏览 16 评论
4061 浏览 18 评论
1140浏览 3评论
589浏览 2评论
const uint16_t Tab[10]={0}; const uint16_t *p; p = Tab;//报错是怎么回事?
579浏览 2评论
用NUC131单片机UART3作为打印口,但printf没有输出东西是什么原因?
2313浏览 2评论
NUC980DK61YC启动随机性出现Err-DDR是为什么?
1876浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-4 02:19 , Processed in 1.138870 second(s), Total 76, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号