View previous topic :: View next topic | |||||||||||||||||
Author | Message | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rogge Tux’s lil’ helper Joined: 13 Oct 2006 |
|
||||||||||||||||
Back to top |
|
||||||||||||||||
NeddySeagoon Administrator Joined: 05 Jul 2003 |
|
||||||||||||||||
Back to top |
|
||||||||||||||||
rogge Tux’s lil’ helper Joined: 13 Oct 2006 |
|
||||||||||||||||
Back to top |
|
||||||||||||||||
|
You cannot post new topics in this forum |
I’m trying to work a Linaro Ubuntu desktop on a zynq 7000 through an SD Card. After making the two partitions on the SD card and inserting in the FPGA, I get this message on my host PC (linked to the card through a serial port using UART) :
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: error mounting -2
Freeing unused kernel memory: 244K (c067b000 - c06b8000)
Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.0-g7565292 #1
Hardware name: Xilinx Zynq Platform
[<c0015388>] (unwind_backtrace) from [<c0011fdc>] (show_stack+0x10/0x14)
[<c0011fdc>] (show_stack) from [<c01a8880>] (dump_stack+0x80/0xcc)
[<c01a8880>] (dump_stack) from [<c0092bb0>] (panic+0x84/0x1fc)
[<c0092bb0>] (panic) from [<c046da5c>] (kernel_init+0xb8/0xe4)
[<c046da5c>] (kernel_init) from [<c000f1b8>] (ret_from_fork+0x14/0x3c)
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.0-g7565292 #1
Hardware name: Xilinx Zynq Platform
[<c0015388>] (unwind_backtrace) from [<c0011fdc>] (show_stack+0x10/0x14)
[<c0011fdc>] (show_stack) from [<c01a8880>] (dump_stack+0x80/0xcc)
[<c01a8880>] (dump_stack) from [<c0013be4>] (ipi_cpu_stop+0x3c/0x6c)
[<c0013be4>] (ipi_cpu_stop) from [<c00142e4>] (handle_IPI+0x5c/0x7c)
[<c00142e4>] (handle_IPI) from [<c00093e0>] (gic_handle_irq+0x74/0x90)
[<c00093e0>] (gic_handle_irq) from [<c0012a94>] (__irq_svc+0x54/0x90)
Exception stack(0xc06b9f38 to 0xc06b9f80)
9f20: 00000000 00000000
9f40: 1f4e0000 dfb95dc0 67b69607 00000000 67dd2149 00000000 dfb95450 00000000
9f60: 00000000 00000000 00000008 c06b9f88 c031d9fc c031da44 60000113 ffffffff
[<c0012a94>] (__irq_svc) from [<c031da44>] (cpuidle_enter_state+0xfc/0x1f4)
[<c031da44>] (cpuidle_enter_state) from [<c00518f8>] (cpu_startup_entry+0x1a0/0x230)
[<c00518f8>] (cpu_startup_entry) from [<c067bc18>] (start_kernel+0x364/0x3d0)
---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
And the VGA-connected monitor does not display anything.
Can someone help me understanding the cause of this problem?
asked Mar 14, 2016 at 14:42
The error tells you that the system cannot find init
.
The system could not mount your drive hence the error devtmpfs: error mounting -2
Your files might be corrupted or your SD card is not recognized and connected properly.
You might need take a look at your file system. Make sure that all the folders like /bin /boot /dev /etc /home /install /lib ...
are all in /
. Remove the extra directory if you have it.
answered Mar 14, 2016 at 16:48
Charles C.Charles C.
3,6184 gold badges29 silver badges49 bronze badges
You may need to check the location of init in your filesystem as the error seems to point out that init is not locatable.
Further, the devtmpfs: error mounting -2
seems to convey that the devtmpfs mounting point is not present in the root partition.
Check whether whether rootfs is available or not in the root partition of card
answered Mar 15, 2016 at 6:22
Karthik BalaguruKarthik Balaguru
7,0687 gold badges44 silver badges62 bronze badges
Я пытаюсь работать с рабочим столом Linaro Ubuntu на zynq 7000 через SD-карту. После создания двух разделов на SD-карте и вставки в FPGA я получаю это сообщение на своем главном ПК (подключенном к карте через последовательный порт с помощью UART):
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: error mounting -2
Freeing unused kernel memory: 244K (c067b000 - c06b8000)
Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.0-g7565292 #1
Hardware name: Xilinx Zynq Platform
[<c0015388>] (unwind_backtrace) from [<c0011fdc>] (show_stack+0x10/0x14)
[<c0011fdc>] (show_stack) from [<c01a8880>] (dump_stack+0x80/0xcc)
[<c01a8880>] (dump_stack) from [<c0092bb0>] (panic+0x84/0x1fc)
[<c0092bb0>] (panic) from [<c046da5c>] (kernel_init+0xb8/0xe4)
[<c046da5c>] (kernel_init) from [<c000f1b8>] (ret_from_fork+0x14/0x3c)
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.0-g7565292 #1
Hardware name: Xilinx Zynq Platform
[<c0015388>] (unwind_backtrace) from [<c0011fdc>] (show_stack+0x10/0x14)
[<c0011fdc>] (show_stack) from [<c01a8880>] (dump_stack+0x80/0xcc)
[<c01a8880>] (dump_stack) from [<c0013be4>] (ipi_cpu_stop+0x3c/0x6c)
[<c0013be4>] (ipi_cpu_stop) from [<c00142e4>] (handle_IPI+0x5c/0x7c)
[<c00142e4>] (handle_IPI) from [<c00093e0>] (gic_handle_irq+0x74/0x90)
[<c00093e0>] (gic_handle_irq) from [<c0012a94>] (__irq_svc+0x54/0x90)
Exception stack(0xc06b9f38 to 0xc06b9f80)
9f20: 00000000 00000000
9f40: 1f4e0000 dfb95dc0 67b69607 00000000 67dd2149 00000000 dfb95450 00000000
9f60: 00000000 00000000 00000008 c06b9f88 c031d9fc c031da44 60000113 ffffffff
[<c0012a94>] (__irq_svc) from [<c031da44>] (cpuidle_enter_state+0xfc/0x1f4)
[<c031da44>] (cpuidle_enter_state) from [<c00518f8>] (cpu_startup_entry+0x1a0/0x230)
[<c00518f8>] (cpu_startup_entry) from [<c067bc18>] (start_kernel+0x364/0x3d0)
---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
А подключенный к VGA монитор ничего не отображает. Может ли кто-нибудь помочь мне понять причину этой проблемы?
2 ответа
Лучший ответ
Ошибка сообщает вам, что система не может найти init
.
Системе не удалось смонтировать диск, поэтому возникает ошибка devtmpfs: error mounting -2
Ваши файлы могут быть повреждены или ваша SD-карта не распознается и не подключается должным образом.
Возможно, вам потребуется взглянуть на свою файловую систему. Убедитесь, что все папки, такие как /bin /boot /dev /etc /home /install /lib ...
, все в /
. Удалите лишний каталог, если он у вас есть.
1
Charles C.
14 Мар 2016 в 16:54
Возможно, вам потребуется проверить расположение init в вашей файловой системе, поскольку ошибка указывает на то, что init не может быть обнаружен.
Кроме того, devtmpfs: error mounting -2
, похоже, указывает на то, что точка монтирования devtmpfs отсутствует в корневом разделе.
Проверить, доступен ли rootfs в корневом разделе карты
0
Karthik Balaguru
15 Мар 2016 в 06:22
I’m trying to run a recent enough kernel (4.9) on an Inforce 6540 board, a single-board computer with a Qualcomm Snapdragon 805 (Also called APQ8084, a SoC with four Krait 450 Cores, ARMv7-A).
The system starts, and print a trace on the serial interface, but can’t run init.
Starting init: /sbin/init exists but couldn’t execute it (error -117)
The error code may also be -2, in both case it makes no sense to me.
I also note that devtmpfs failed to mount. The ext4 rootfs is told to be mounted successfully.
Usual explanations are:
- The kernel lacks devtmpfs support. I checked my config, devtmpfs is enabled.
- The filesystem is corrupted. I replaced the kernel (and the devicetree) with the old custom 3.10 kernel originally used by the board, the old kernel manage to launch init (a link to systemd, which stops a little after, as we may expect from a userland built for a 4.9 kernel running on a 3.10 one). (the kernel and the devicetree are not on the rootfs partition, and are loaded by u-boot).
What may explain that init can’t be run ?
Hereafter follows the whole boot trace from the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.56+linaro (Jacen@dev-computer) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Wed Apr 18 12:05:02 CEST 2018
[ 0.000000] CPU: ARMv7 Processor [513f06f1] revision 1 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt:Machine model: Qualcomm APQ8084/IFC6540
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 15 pages/cpu @ee4b0000 s30796 r8192 d22452 u61440
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 784192
[ 0.000000] Kernel command line: root=/dev/mmcblk0p25 rw rootwait console=ttyMSM0,115200n8 androidboot.bootdevice=msm_sdcc.1 androidboot.serialno=a06b8142 androidboot.baseband=apq mdss_mdp.panel=0:dsi:0:
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 3100492K/3143680K available (8192K kernel code, 734K rwdata, 3176K rodata, 1024K init, 359K bss, 43188K reserved, 0K cma-reserved, 2359296K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0208000 - 0xc0b00000 (9184 kB)
[ 0.000000] .init : 0xc0f00000 - 0xc1000000 (1024 kB)
[ 0.000000] .data : 0xc1000000 - 0xc10b78a8 ( 735 kB)
[ 0.000000] .bss : 0xc10b9000 - 0xc1112cfc ( 360 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] arm_arch_timer: Architected cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000018] Switching to timer-based delay loop, resolution 52ns
[ 0.000200] Console: colour dummy device 80x30
[ 0.000223] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000238] pid_max: default: 32768 minimum: 301
[ 0.000363] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000376] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001050] CPU: Testing write buffer coherency: ok
[ 0.001312] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001426] Setting up static identity map for 0x300000 - 0x300058
[ 0.200688] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.280884] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.361088] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.361323] Brought up 4 CPUs
[ 0.361347] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.361357] CPU: All CPU(s) started in SVC mode.
[ 0.363838] devtmpfs: initialized
[ 0.368946] VFP support v0.3: implementor 51 architecture 64 part 6f variant 3 rev 1
[ 0.369232] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.369254] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.369431] pinctrl core: initialized pinctrl subsystem
[ 0.370514] NET: Registered protocol family 16
[ 0.370824] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.400854] cpuidle: using governor menu
[ 0.401142] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.401155] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.462767] vgaarb: loaded
[ 0.463148] SCSI subsystem initialized
[ 0.463639] usbcore: registered new interface driver usbfs
[ 0.463718] usbcore: registered new interface driver hub
[ 0.463830] usbcore: registered new device driver usb
[ 0.464664] Advanced Linux Sound Architecture Driver Initialized.
[ 0.466310] clocksource: Switched to clocksource arch_sys_counter
[ 0.533598] NET: Registered protocol family 2
[ 0.534156] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.534208] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.534285] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.534341] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.534365] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.534527] NET: Registered protocol family 1
[ 0.535079] RPC: Registered named UNIX socket transport module.
[ 0.535092] RPC: Registered udp transport module.
[ 0.535103] RPC: Registered tcp transport module.
[ 0.535112] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.535438] Trying to unpack rootfs image as initramfs...
[ 0.535787] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
[ 0.535885] Freeing initrd memory: 4K
[ 0.536245] hw perfevents: enabled with armv7_krait PMU driver, 5 counters available
[ 0.538614] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 0.548667] NFS: Registering the id_resolver key type
[ 0.548700] Key type id_resolver registered
[ 0.548712] Key type id_legacy registered
[ 0.549461] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.550229] fuse init (API version 7.26)
[ 0.553343] bounce: pool size: 64 pages
[ 0.553401] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.553575] io scheduler noop registered
[ 0.553588] io scheduler deadline registered
[ 0.553779] io scheduler cfq registered (default)
[ 0.557749] msm_serial f995e000.serial: msm_serial: detected port #0
[ 0.557803] msm_serial f995e000.serial: uartclk = 7372800
[ 0.557852] f995e000.serial: ttyMSM0 at MMIO 0xf995e000 (irq = 170, base_baud = 460800) is a MSM
[ 0.557898] msm_serial: console setup on port #0
[ 1.127057] console [ttyMSM0] enabled
[ 1.132017] msm_serial: driver initialized
[ 1.135541] [drm] Initialized
[ 1.155600] brd: module loaded
[ 1.164058] loop: module loaded
[ 1.164452] SCSI Media Changer driver v0.25
[ 1.166910] spmi spmi-0: PMIC Arb Version-1 (0x20000002)
[ 1.180872] libphy: Fixed MDIO Bus: probed
[ 1.181013] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[ 1.183860] CSLIP: code copyright 1989 Regents of the University of California.
[ 1.193649] usbcore: registered new interface driver ax88179_178a
[ 1.200800] usbcore: registered new interface driver cdc_ether
[ 1.207063] usbcore: registered new interface driver net1080
[ 1.212726] usbcore: registered new interface driver cdc_subset
[ 1.218601] usbcore: registered new interface driver cdc_ncm
[ 1.224574] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.230083] ehci-pci: EHCI PCI platform driver
[ 1.236461] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[ 1.241038] usbcore: registered new interface driver usbserial
[ 1.246351] usbcore: registered new interface driver usbserial_generic
[ 1.252217] usbserial: USB Serial support registered for generic
[ 1.260079] mousedev: PS/2 mouse device common for all mice
[ 1.265667] input: pm8941_pwrkey as /devices/platform/soc/fc4cf000.spmi/spmi-0/0-00/fc4cf000.spmi:pma8084@0:pwrkey@800/input/input0
[ 1.271688] rtc-pm8xxx fc4cf000.spmi:pma8084@0:rtc@6000: rtc core: registered pm8xxx_rtc as rtc0
[ 1.282117] i2c /dev entries driver
[ 1.291579] cpuidle: enable-method property 'qcom,kpss-acc-v2' found operations
[ 1.294356] cpuidle: enable-method property 'qcom,kpss-acc-v2' found operations
[ 1.301643] cpuidle: enable-method property 'qcom,kpss-acc-v2' found operations
[ 1.308978] cpuidle: enable-method property 'qcom,kpss-acc-v2' found operations
[ 1.316569] sdhci: Secure Digital Host Controller Interface driver
[ 1.323352] sdhci: Copyright(c) Pierre Ossman
[ 1.329630] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.406676] mmc0: SDHCI controller on f9824900.sdhci [f9824900.sdhci] using ADMA 64-bit
[ 1.417000] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.419371] usbcore: registered new interface driver usbhid
[ 1.424119] usbhid: USB HID core driver
[ 1.431805] usbcore: registered new interface driver snd-usb-audio
[ 1.444474] oprofile: using timer interrupt.
[ 1.445341] NET: Registered protocol family 10
[ 1.449328] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.452812] NET: Registered protocol family 17
[ 1.458042] Key type dns_resolver registered
[ 1.462550] Registering SWP/SWPB emulation handler
[ 1.490444] mmc0: new HS200 MMC card at address 0001
[ 1.491390] mmcblk0: mmc0:0001 SEM16G 14.7 GiB
[ 1.495108] mmcblk0boot0: mmc0:0001 SEM16G partition 1 4.00 MiB
[ 1.504668] mmcblk0boot1: mmc0:0001 SEM16G partition 2 4.00 MiB
[ 1.505261] mmcblk0rpmb: mmc0:0001 SEM16G partition 3 4.00 MiB
[ 1.511106] rtc-pm8xxx fc4cf000.spmi:pma8084@0:rtc@6000: setting system clock to 1970-01-01 00:00:03 UTC (3)
[ 1.517337] ALSA device list:
[ 1.526473] No soundcards found.
[ 1.527644] Alternate GPT is invalid, using primary �
[ 1.539212] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[ 1.540325] EXT4-fs (mmcblk0p25): couldn't mount as ext3 due to feature incompatibilities
[ 1.554971] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x400900
[ 1.584967] EXT4-fs (mmcblk0p25): recovery complete
[ 1.585980] EXT4-fs (mmcblk0p25): mounted filesystem with ordered data mode. Opts: (null)
[ 1.588779] VFS: Mounted root (ext4 filesystem) on device 179:25.
[ 1.597953] devtmpfs: error mounting -2
[ 1.605619] Freeing unused kernel memory: 1024K
[ 1.611168] random: fast init done
[ 1.613665] EXT4-fs error (device mmcblk0p25): ext4_lookup:1611: inode #2852: comm swapper/0: deleted inode referenced: 2952
[ 1.615789] Starting init: /sbin/init exists but couldn't execute it (error -117)
[ 1.631371] EXT4-fs error (device mmcblk0p25): ext4_lookup:1611: inode #2852: comm swapper/0: deleted inode referenced: 2952
[ 1.634427] Starting init: /bin/sh exists but couldn't execute it (error -117)
[ 1.644861] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 1.651777] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.56+linaro #1
[ 1.664870] Hardware name: Generic DT based system
[ 1.671400] [<c0310518>] (unwind_backtrace) from [<c030c684>] (show_stack+0x10/0x14)
[ 1.676166] [<c030c684>] (show_stack) from [<c061b97c>] (dump_stack+0x78/0x8c)
[ 1.684067] [<c061b97c>] (dump_stack) from [<c03edb40>] (panic+0xdc/0x250)
[ 1.691098] [<c03edb40>] (panic) from [<c0a4611c>] (kernel_init+0x104/0x114)
[ 1.697958] [<c0a4611c>] (kernel_init) from [<c03083b8>] (ret_from_fork+0x14/0x3c)
[ 1.705167] CPU1: stopping
[ 1.712535] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.56+linaro #1
[ 1.715220] Hardware name: Generic DT based system
[ 1.721754] [<c0310518>] (unwind_backtrace) from [<c030c684>] (show_stack+0x10/0x14)
[ 1.726525] [<c030c684>] (show_stack) from [<c061b97c>] (dump_stack+0x78/0x8c)
[ 1.734422] [<c061b97c>] (dump_stack) from [<c030f5b8>] (handle_IPI+0x34c/0x360)
[ 1.741452] [<c030f5b8>] (handle_IPI) from [<c03014a8>] (gic_handle_irq+0x88/0x8c)
[ 1.749011] [<c03014a8>] (gic_handle_irq) from [<c0a4bc4c>] (__irq_svc+0x6c/0xa8)
[ 1.756371] Exception stack(0xedce3f58 to 0xedce3fa0)
[ 1.763929] 3f40: 00000001 c0d2bda8
[ 1.768991] 3f60: 00000001 00000000 c1088754 c10a7a98 00000000 c1003098 65a28bb2 00000000
[ 1.777149] 3f80: 00000000 ed535c00 0682aaab edce3fa8 c0363868 c0840534 60000013 ffffffff
[ 1.785300] [<c0a4bc4c>] (__irq_svc) from [<c0840534>] (cpuidle_enter_state+0x154/0x428)
[ 1.793458] [<c0840534>] (cpuidle_enter_state) from [<c0363a90>] (cpu_startup_entry+0x148/0x218)
[ 1.801613] [<c0363a90>] (cpu_startup_entry) from [<0030154c>] (0x30154c)
[ 1.810366] CPU3: stopping
[ 1.817047] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.9.56+linaro #1
[ 1.819648] Hardware name: Generic DT based system
[ 1.826181] [<c0310518>] (unwind_backtrace) from [<c030c684>] (show_stack+0x10/0x14)
[ 1.830951] [<c030c684>] (show_stack) from [<c061b97c>] (dump_stack+0x78/0x8c)
[ 1.838852] [<c061b97c>] (dump_stack) from [<c030f5b8>] (handle_IPI+0x34c/0x360)
[ 1.845878] [<c030f5b8>] (handle_IPI) from [<c03014a8>] (gic_handle_irq+0x88/0x8c)
[ 1.853434] [<c03014a8>] (gic_handle_irq) from [<c0a4bc4c>] (__irq_svc+0x6c/0xa8)
[ 1.860798] Exception stack(0xedce7f58 to 0xedce7fa0)
[ 1.868352] 7f40: 00000003 c0d2bda8
[ 1.873417] 7f60: 00000001 00000000 c10887a4 c10a7a98 00000001 c1003098 65a41b46 00000000
[ 1.881577] 7f80: 00000001 ed574000 0682aaab edce7fa8 c0363868 c0840534 60000013 ffffffff
[ 1.889725] [<c0a4bc4c>] (__irq_svc) from [<c0840534>] (cpuidle_enter_state+0x154/0x428)
[ 1.897879] [<c0840534>] (cpuidle_enter_state) from [<c0363a90>] (cpu_startup_entry+0x148/0x218)
[ 1.906035] [<c0363a90>] (cpu_startup_entry) from [<0030154c>] (0x30154c)
[ 1.914792] CPU2: stopping
[ 1.921471] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.56+linaro #1
[ 1.924074] Hardware name: Generic DT based system
[ 1.930606] [<c0310518>] (unwind_backtrace) from [<c030c684>] (show_stack+0x10/0x14)
[ 1.935379] [<c030c684>] (show_stack) from [<c061b97c>] (dump_stack+0x78/0x8c)
[ 1.943277] [<c061b97c>] (dump_stack) from [<c030f5b8>] (handle_IPI+0x34c/0x360)
[ 1.950306] [<c030f5b8>] (handle_IPI) from [<c03014a8>] (gic_handle_irq+0x88/0x8c)
[ 1.957862] [<c03014a8>] (gic_handle_irq) from [<c0a4bc4c>] (__irq_svc+0x6c/0xa8)
[ 1.965224] Exception stack(0xedce5f58 to 0xedce5fa0)
[ 1.972780] 5f40: 00000002 c0d2bda8
[ 1.977843] 5f60: 00000001 00000000 c10887a4 c10a7a98 00000001 c1003098 65a5403e 00000000
[ 1.986003] 5f80: 00000001 ed535e00 0682aaab edce5fa8 c0363868 c0840534 60000013 ffffffff
[ 1.994149] [<c0a4bc4c>] (__irq_svc) from [<c0840534>] (cpuidle_enter_state+0x154/0x428)
[ 2.002307] [<c0840534>] (cpuidle_enter_state) from [<c0363a90>] (cpu_startup_entry+0x148/0x218)
[ 2.010464] [<c0363a90>] (cpu_startup_entry) from [<0030154c>] (0x30154c)
[ 2.019227] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
I am working on custom embedded Linux distribution on P2020RDB-PCA board and I’ve got stuck on following errors at boot time:
EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:1.
devtmpfs: error mounting -2
Freeing unused kernel memory: 272K (c07cc000 - c0810000)
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.12.37-rt51+g43cecda #1
Call Trace:
[ef04de70] [c000707c] show_stack+0x44/0x16c (unreliable)
[ef04deb0] [c05f4604] dump_stack+0x78/0xa0
[ef04dec0] [c05f21dc] panic+0xdc/0x208
[ef04df20] [c000295c] kernel_init+0x174/0x178
[ef04df40] [c000f224] ret_from_kernel_thread+0x5c/0x64
Here is full boot log:
U-Boot 2013.01-00115-g831b30d (Jun 14 2013 - 21:48:56)
CPU0: P2020E, Version: 2.1, (0x80ea0021)
Core: E500, Version: 5.1, (0x80211051)
Clock Configuration:
CPU0:1200 MHz, CPU1:1200 MHz,
CCB:600 MHz,
DDR:400 MHz (800 MT/s data rate) (Asynchronous), LBC:37.500 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
Board: P2020RDB-PCA CPLD: V4.2 PCBA: V4.0
rom_loc: nor upper bank
SD/MMC : 4-bit Mode
eSPI : Enabled
I2C: ready
SPI: ready
DRAM: Detected UDIMM
1 GiB (DDR3, 64-bit, CL=6, ECC off)
Flash: 16 MiB
L2: 512 KB enabled
NAND: 128 MiB
MMC: FSL_SDHC: 0
PCIe1: Root Complex of mini PCIe SLOT, no link, regs @ 0xffe0a000
PCIe1: Bus 00 - 00
PCIe2: Root Complex of PCIe SLOT, x1, regs @ 0xffe09000
02:00.0 - 1095:3132 - Mass storage controller
PCIe2: Bus 01 - 02
In: serial
Out: serial
Err: serial
Net: eTSEC2 is in sgmii mode.
uploading VSC7385 microcode from ef000000
PHY reset timed out
eTSEC1, eTSEC2, eTSEC3
Hit any key to stop autoboot: 0
Device: FSL_SDHC
Manufacturer ID: 3
OEM: 5344
Name: SL08G
Tran Speed: 50000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
4275699 bytes read in 240 ms (17 MiB/s)
13899 bytes read in 49 ms (276.4 KiB/s)
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-3.12.37-rt51+g43cecda
Created: 2016-12-12 17:39:15 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 4275635 Bytes = 4.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00c00000
Booting using the fdt blob at 0x00c00000
Uncompressing Kernel Image ... OK
Loading Device Tree to 03ff9000, end 03fff64a ... OK
WARNING: could not find compatible node fsl-usb2-dr: FDT_ERR_NOTFOUND.
Using P2020RDB-PC machine description
Memory CAM mapping: 256/256/256 Mb, residual: 256Mb
Linux version 3.12.37-rt51+g43cecda (emsydev@vmworkstation) (gcc version 4.9.2 (GCC) ) #1 SMP Mon Dec 12 18:37:14 CET 2016
CPU maps initialized for 1 thread per core
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc85xx_rdb_setup_arch()
mpc85xx_qe_init: Could not find Quicc Engine node
MPC85xx RDB board from Freescale Semiconductor
arch: exit
Zone ranges:
DMA [mem 0x00000000-0x2fffffff]
Normal empty
HighMem [mem 0x30000000-0x3fffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x00000000-0x3fffffff]
MMU: Allocated 1088 bytes of context maps for 255 contexts
PERCPU: Embedded 7 pages/cpu @c119a000 s7072 r8192 d13408 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
Kernel command line: root=/dev/mmcblk0p1 rw rootfstype=ext2 rootdelay=3 console=ttyS0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Sorting __ex_table...
Memory: 963620K/1048576K available (6104K kernel code, 320K rwdata, 1864K rodata, 272K init, 1218K bss, 84956K reserved, 262136K highmem)
Kernel virtual memory layout:
* 0xfff5f000..0xfffff000 : fixmap
* 0xffc00000..0xffe00000 : highmem PTEs
* 0xffbfc000..0xffc00000 : early ioremap
* 0xf1000000..0xffbfc000 : vmalloc & ioremap
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
mpc85xx_rdb_pic_init: Could not find qe-ic node
clocksource: timebase mult[d555555] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
mpic: requesting IPIs...
Brought up 2 CPUs
devtmpfs: initialized
NET: Registered protocol family 16
Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->1
PCI host bridge /pcie@ffe09000 (primary) ranges:
MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000
IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
/pcie@ffe09000: PCICSRBAR @ 0xfff00000
Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe0a000 ranges:
MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000
IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
/pcie@ffe0a000: PCICSRBAR @ 0xfff00000
PCI: Probing PCI hardware
fsl-pci ffe09000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0xa0000000-0xbfffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
fsl-pci ffe0a000.pcie: PCI host bridge to bus 0001:02
pci_bus 0001:02: root bus resource [io 0x20000-0x2ffff] (bus address [0x0000-0xffff])
pci_bus 0001:02: root bus resource [mem 0x80000000-0x9fffffff]
pci_bus 0001:02: root bus resource [bus 02-ff]
pci 0001:02:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
pci 0001:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0001:02:00.0: PCI bridge to [bus 03-ff]
pci 0000:00:00.0: BAR 9: can't assign mem pref (size 0x100000)
pci 0000:01:00.0: BAR 6: assigned [mem 0xa0080000-0xa00fffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0: bridge window [io 0x0000-0xffff]
pci 0000:00:00.0: bridge window [mem 0xa0000000-0xbfffffff]
pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
pci 0001:02:00.0: PCI bridge to [bus 03]
pci 0001:02:00.0: bridge window [io 0x20000-0x2ffff]
pci 0001:02:00.0: bridge window [mem 0x80000000-0x9fffffff]
fsl-l2ctlr ffe20000.l2-cache-controller: Entire L2 as cache, provide valid sram address and size
fsl-l2ctlr: probe of ffe20000.l2-cache-controller failed with error -22
bio: create slab <bio-0> at 0
Freescale Elo series DMA driver
fsl-elo-dma ffe0c300.dma: #0 (fsl,eloplus-dma-channel), irq 76
fsl-elo-dma ffe0c300.dma: #1 (fsl,eloplus-dma-channel), irq 77
fsl-elo-dma ffe0c300.dma: #2 (fsl,eloplus-dma-channel), irq 78
fsl-elo-dma ffe0c300.dma: #3 (fsl,eloplus-dma-channel), irq 79
fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-channel), irq 20
fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-channel), irq 21
fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-channel), irq 22
fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-channel), irq 23
qe_init: Could not find Quicc Engine node
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Freescale PMC driver
audit: initializing netlink socket (disabled)
type=2000 audit(0.308:1): initialized
bounce pool size: 64 pages
HugeTLB registered 1 MB page size, pre-allocated 0 pages
HugeTLB registered 4 MB page size, pre-allocated 0 pages
HugeTLB registered 16 MB page size, pre-allocated 0 pages
HugeTLB registered 64 MB page size, pre-allocated 0 pages
HugeTLB registered 256 MB page size, pre-allocated 0 pages
HugeTLB registered 1 GB page size, pre-allocated 0 pages
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.30 [Flags: R/O].
jffs2: version 2.2. (NAND) �Ʃ 2001-2006 Red Hat, Inc.
msgmni has been set to 1500
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 37500000) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42, base_baud = 37500000) is a 16550A
Generic non-volatile memory driver v1.1
brd: module loaded
loop: module loaded
nbd: registered device at major 43
st: Version 20101219, fixed bufsize 32768, s/g segs 256
pci 0000:00:00.0: enabling device (0106 -> 0107)
scsi0 : sata_sil24
scsi1 : sata_sil24
ata1: SATA max UDMA/100 host m128@0xa0000000 port 0xa0004000 irq 24
ata2: SATA max UDMA/100 host m128@0xa0000000 port 0xa0006000 irq 24
ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.5.
number of CFI chips: 1
5 ofpart partitions found on MTD device ef000000.nor
Creating 5 MTD partitions on "ef000000.nor":
0x000000000000-0x000000040000 : "NOR Vitesse-7385 Firmware"
ftl_cs: FTL header not found.
0x000000040000-0x000000080000 : "NOR DTB Image"
ftl_cs: FTL header not found.
0x000000080000-0x000000500000 : "NOR Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000500000-0x000000ec0000 : "NOR JFFS2 Root File System"
ftl_cs: FTL header not found.
0x000000ec0000-0x000001000000 : "NOR U-Boot Image"
ftl_cs: FTL header not found.
ONFI param page 0 valid
ONFI flash detected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABAEAWP), 128MiB, page size: 2048, OOB size: 64
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
6 ofpart partitions found on MTD device ff800000.flash
Creating 6 MTD partitions on "ff800000.flash":
0x000000000000-0x000000100000 : "NAND U-Boot Image"
ftl_cs: FTL header not found.
0x000000100000-0x000000200000 : "NAND DTB Image"
ftl_cs: FTL header not found.
0x000000200000-0x000000600000 : "NAND Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000600000-0x000000a00000 : "NAND Compressed RFS Image"
ftl_cs: FTL header not found.
0x000000a00000-0x000001100000 : "NAND JFFS2 Root File System"
ftl_cs: FTL header not found.
0x000001100000-0x000002000000 : "NAND Writable User area"
ftl_cs: FTL header not found.
eLBC NAND device at 0xff800000, bank 1
fsl_espi ffe07000.spi: master is unqueued, this is deprecated
m25p80 spi32766.0: found s25fl128s, expected m25p80
m25p80 spi32766.0: s25fl128s (16384 Kbytes)
5 ofpart partitions found on MTD device spi32766.0
Creating 5 MTD partitions on "spi32766.0":
0x000000000000-0x000000100000 : "SPI U-Boot Image"
ftl_cs: FTL header not found.
0x000000100000-0x000000180000 : "SPI DTB Image"
ftl_cs: FTL header not found.
0x000000180000-0x000000580000 : "SPI Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000580000-0x000000980000 : "SPI Compressed RFS Image"
ftl_cs: FTL header not found.
0x000000980000-0x000001000000 : "SPI JFFS2 RFS"
ftl_cs: FTL header not found.
fsl_espi ffe07000.spi: at 0xf10e8000 (irq = 59)
libphy: Fixed MDIO Bus: probed
libphy: Freescale PowerQUICC MII Bus: probed
libphy: Freescale PowerQUICC MII Bus: probed
fsl-gianfar ffe24000.ethernet: enabled errata workarounds, flags: 0x4
fsl-gianfar ffe24000.ethernet eth0: mac: 00:04:9f:04:9e:7a
fsl-gianfar ffe24000.ethernet eth0: Running with NAPI enabled
fsl-gianfar ffe24000.ethernet eth0: RX BD ring size for Q[0]: 256
fsl-gianfar ffe24000.ethernet eth0: TX BD ring size for Q[0]: 256
fsl-gianfar ffe25000.ethernet: enabled errata workarounds, flags: 0x4
fsl-gianfar ffe25000.ethernet eth1: mac: 00:04:9f:04:9e:7b
fsl-gianfar ffe25000.ethernet eth1: Running with NAPI enabled
fsl-gianfar ffe25000.ethernet eth1: RX BD ring size for Q[0]: 256
fsl-gianfar ffe25000.ethernet eth1: TX BD ring size for Q[0]: 256
fsl-gianfar ffe26000.ethernet: enabled errata workarounds, flags: 0x4
fsl-gianfar ffe26000.ethernet eth2: mac: 00:04:9f:04:9e:7c
fsl-gianfar ffe26000.ethernet eth2: Running with NAPI enabled
fsl-gianfar ffe26000.ethernet eth2: RX BD ring size for Q[0]: 256
fsl-gianfar ffe26000.ethernet eth2: TX BD ring size for Q[0]: 256
pps pps0: new PPS source ptp0
ucc_geth_driver: QE UCC Gigabit Ethernet Controller
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 28, io mem 0xffe22000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c /dev entries driver
mpc-i2c ffe03000.i2c: timeout 1000000 us
mpc-i2c ffe03100.i2c: timeout 1000000 us
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc@ffe00000/sdhc@2e000: voltage-ranges unspecified
mmc0: Internal clock never stabilised.
mmc0: Internal clock never stabilised.
mmc0: SDHCI controller on ffe2e000.sdhc [ffe2e000.sdhc] using DMA
talitos ffe30000.crypto: hwrng
talitos ffe30000.crypto: max_xor_srcs 6
talitos ffe30000.crypto: fsl,sec3.1 algorithms registered in /proc/crypto
usbcore: registered new interface driver usbhid
mmc0: Internal clock never stabilised.
usbhid: USB HID core driver
mmc0: Internal clock never stabilised.
snd-soc-p1022ds: missing/invalid global utils node
ipip: IPv4 over IPv4 tunneling driver
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Key type dns_resolver registered
mmc0: Internal clock never stabilised.
mmc0: Internal clock never stabilised.
/home/emsydev/QorIQ-SDK-V1.9-20151210-yocto/build_p2020rdb/tmp/work-shared/p2020rdb/kernel-source/drivers/rtc/hctosys.c: unable to open rtc device)
snd-soc-p1022rdk: missing/invalid global utils node
ALSA device list:
No soundcards found.
mmc0: Internal clock never stabilised.
Waiting 3 sec before mounting root device...
mmc0: Internal clock never stabilised.
mmc0: Internal clock never stabilised.
usb 1-1: new high-speed USB device number 2 using fsl-ehci
mmc0: Internal clock never stabilised.
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SL08G 7.40 GiB
mmcblk0: p1 p2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
ata1: SATA link down (SStatus 0 SControl 0)
ata2: SATA link down (SStatus 0 SControl 0)
EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:1.
devtmpfs: error mounting -2
Freeing unused kernel memory: 272K (c07cc000 - c0810000)
Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.12.37-rt51+g43cecda #1
Call Trace:
[ef04de70] [c000707c] show_stack+0x44/0x16c (unreliable)
[ef04deb0] [c05f4604] dump_stack+0x78/0xa0
[ef04dec0] [c05f21dc] panic+0xdc/0x208
[ef04df20] [c000295c] kernel_init+0x174/0x178
[ef04df40] [c000f224] ret_from_kernel_thread+0x5c/0x64
Rebooting in 180 seconds..
The structure of sd card, which I am in process preparing of, has two partitons:
Disk /dev/sdb: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x90d4d9aa
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2016 2099167 2097152 1G 83 Linux
/dev/sdb2 2099200 15523839 13424640 6.4G 83 Linux
On /dev/sdb1, there is boot directory with uImage and device tree:
.:
total 28K
4.0K drwxr-xr-x 4 root root 4.0K Dec 15 07:59 .
4.0K drwxr-x---+ 4 root root 4.0K Dec 15 09:13 ..
4.0K drwxr-xr-x 2 root root 4.0K Dec 15 08:08 boot
16K drwx------ 2 root root 16K Dec 15 07:52 lost+found
./boot:
total 4.2M
4.0K drwxr-xr-x 2 root root 4.0K Dec 15 08:08 .
4.0K drwxr-xr-x 4 root root 4.0K Dec 15 07:59 ..
16K -rw-r--r-- 1 root root 14K Dec 15 08:08 dtb_file
4.1M -rw-r--r-- 1 root root 4.1M Dec 15 08:00 uImage
./lost+found:
total 20K
16K drwx------ 2 root root 16K Dec 15 07:52 .
4.0K drwxr-xr-x 4 root root 4.0K Dec 15 07:59 ..
On /dev/sdb2, there is rootfs, which .tar.gz was build using Yocto Project and Board SDK:
total 84K
4.0K drwxr-xr-x 18 root root 4.0K Dec 14 14:18 .
4.0K drwxr-x---+ 4 root root 4.0K Dec 15 09:13 ..
4.0K drwxr-xr-x 2 root root 4.0K Dec 13 10:04 bin
4.0K drwxr-xr-x 2 root root 4.0K Dec 12 14:29 boot
4.0K drwxr-xr-x 2 root root 4.0K Dec 12 14:29 dev
4.0K drwxr-xr-x 21 root root 4.0K Dec 13 10:04 etc
4.0K drwxr-xr-x 3 root root 4.0K Dec 13 10:04 home
4.0K drwxr-xr-x 4 root root 4.0K Dec 13 10:04 lib
0 lrwxrwxrwx 1 root root 12 Dec 13 10:04 linuxrc -> /bin/busybox
16K drwx------ 2 root root 16K Dec 14 14:09 lost+found
4.0K drwxr-xr-x 2 root root 4.0K Dec 12 14:29 media
4.0K drwxr-xr-x 2 root root 4.0K Dec 12 14:29 mnt
4.0K drwxr-xr-x 2 root root 4.0K Dec 12 14:29 proc
4.0K drwxr-xr-x 2 root root 4.0K Dec 12 14:29 run
4.0K drwxr-xr-x 2 root root 4.0K Dec 13 10:04 sbin
4.0K drwxr-xr-x 2 root root 4.0K Dec 12 14:29 sys
4.0K drwxrwxrwt 2 root root 4.0K Dec 12 14:29 tmp
4.0K drwxr-xr-x 9 root root 4.0K Dec 12 20:35 usr
4.0K drwxr-xr-x 8 root root 4.0K Dec 13 10:04 var
What am I missing so the boot process fails with these two errors?
Я собрал вставлено MLO и uboot.img файл в MMC — карты и теперь пытается загрузить «корневой файловой системы «.there проблема в loading.Following являются линии в конце LOG..:
kjournald начало. Интервал фиксации 5 секунд
EXT3-fs (mmcblk0p2): использование внутреннего журнала
EXT3-fs (mmcblk0p2): восстановление завершено
EXT3-fs (mmcblk0p2): смонтированная файловая система с упорядоченным режимом данных
VFS: Установленный корень (файловая система ext3) на устройстве 179: 2.
devtmpfs: установка ошибок -2
Освобождение начальной памяти: 164K
Паника в ядре — не синхронизация: нет init. Попробуйте передать init = параметр в ядро. См. Руководство по Linux/init.txt для руководства.
вывод printenv:
AM3517_CRANE # printenv
боды = 115200
bootargs = console = ttyO2,115200n8 omapfb.vram = 0: 4M, 1: 4M omapfb.mode = dvi: 1280x800MR-32 @60 root =/dev/mmcblk0p2 rw rootfstype = ext3 rootwait fixrtc nohlt
bootcmd = mmc dev $ {mmcdev}; если mmc rescan; затем обнаружено echo mmc; если запустить loadbootscript; затем echo Load bootscript; запустить bootscript; saveenv; Fi; echo SD/MMC, найденное на устройстве $ {mmcdev}; если запускается loaduimage; затем запустите mmcboot; еще запустить nandboot; Fi; еще запустить nandboot; фи
BootDelay = 5
Bootfile = uImage
bootscript = echo Запуск bootscript из mmc…; source $ {loadaddr}
Консоль = ttyO2,115200n8
dieid # = 4294000100000000015da3960401c020
ethact = DaVinci-ЭМАП
ethaddr = 00: Е0: 4C: 53: 44: 58
= 394 размер файла
IPADDR = 123.12.0.3
loadaddr = 0x82000000
loadbootscript = fatload mmc $ {mmcdev} $ {loadaddr} boot.scr
loaduimage = fatload mmc $ {mmcdev} $ {loadaddr} uImage
mmcargs = setenv bootargs console = ttyO2 omapfb.vram = 0: 4M, 1: 4M omapfb.mode = dvi: 1280x800MR-32 @60
root =/dev/mmcblk0p2 rw rootfstype = ext3 rootwait fixrtc nohlt
mmcboot = echo Загрузка из mmc…; запустить mmcargs; bootm $ {loadaddr}
mmcdev = 0
nandargs = setenv bootargs console = $ {console} root =/dev/mtdblock4 rw rootfstype = jffs2
nandboot = echo Загрузка из nand…; запустить nandargs; nand read $ {loadaddr} 280000 400000; bootm $ {loadaddr}
ServerIP = 123.12.0.2
STDERR = последовательный
STDIN = последовательный
стандартный вывод = последовательный
Размер среды: 1249/131068 байт
Является ли проблема связана с rootfs или uboot или переменными окружения?