Hi, thanks I became not to be able to boot from both an SD card and eMMC suddenly. When I'm about to boot from an SD card, I see "kernel panic" in the log, and also when I'm about to boot from eMMC.
I show the log of booting from SD card below. ------------------------------ U-Boot SPL 2013.04-dirty (Jun 19 2013 - 09:57:14) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 OMAP SD/MMC: 0 reading u-boot.img reading u-boot.img U-Boot 2013.04-dirty (Jun 19 2013 - 09:57:14) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 mmc0 is current device micro SD card found mmc0 is current device gpio: pin 54 (gpio 54) value is 1 SD/MMC found on device 0 reading uEnv.txt 33 bytes read in 3 ms (10.7 KiB/s) Loaded environment from uEnv.txt Importing environment from mmc ... gpio: pin 55 (gpio 55) value is 1 4394080 bytes read in 796 ms (5.3 MiB/s) gpio: pin 56 (gpio 56) value is 1 24129 bytes read in 49 ms (480.5 KiB/s) Booting from mmc ... ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Angstrom/3.8.13/beaglebone Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4394016 Bytes = 4.2 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 80f80000 Booting using the fdt blob at 0x80f80000 XIP Kernel Image ... OK OK Using Device Tree in place at 80f80000, end 80f88e40 Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.195687] omap2_mbox_probe: platform not supported [ 0.206335] tps65217-bl tps65217-bl: no platform data provided [ 0.282821] bone-capemgr bone_capemgr.8: slot #0: No cape found [ 0.319929] bone-capemgr bone_capemgr.8: slot #1: No cape found [ 0.357037] bone-capemgr bone_capemgr.8: slot #2: No cape found [ 0.394145] bone-capemgr bone_capemgr.8: slot #3: No cape found [ 0.413857] bone-capemgr bone_capemgr.8: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI) [ 0.423466] bone-capemgr bone_capemgr.8: slot #6: Failed verification [ 0.443649] omap_hsmmc mmc.4: of_parse_phandle_with_args of 'reset' failed [ 0.450936] bone-capemgr bone_capemgr.8: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2) [ 0.517592] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.7 [ 0.529294] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.7) status -22 [ 0.536624] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single [ 0.804078] BUG: spinlock cpu recursion on CPU#0, swapper/0/1 [ 0.810139] lock: 0xde876a30, .magic: dead4ead, .owner: <none>/-1, .owner_cpu: 0 [ 0.818004] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c019dc2f>] (do_raw_spin_lock+0x43/0x108) [ 0.827573] [<c019dc2f>] (do_raw_spin_lock+0x43/0x108) from [<c009b137>] (path_lookupat+0xdf/0x490) [ 0.837035] [<c009b137>] (path_lookupat+0xdf/0x490) from [<c009b4ff>] (filename_lookup+0x17/0x44) [ 0.846303] [<c009b4ff>] (filename_lookup+0x17/0x44) from [<c009c8d3>] (user_path_at_empty+0x35/0x50) [ 0.855945] [<c009c8d3>] (user_path_at_empty+0x35/0x50) from [<c009c8f9>] (user_path_at+0xb/0xc) [ 0.865144] [<c009c8f9>] (user_path_at+0xb/0xc) from [<c009382d>] (sys_chdir+0x1f/0x5a) [ 0.873521] [<c009382d>] (sys_chdir+0x1f/0x5a) from [<c06107d9>] (do_mount_root.part.5+0x9/0x5c) [ 0.882728] [<c06107d9>] (do_mount_root.part.5+0x9/0x5c) from [<c06108d5>] (mount_block_root+0xa9/0x178) [ 0.892649] [<c06108d5>] (mount_block_root+0xa9/0x178) from [<c0610ad3>] (mount_root+0x8b/0xa8) [ 0.901743] [<c0610ad3>] (mount_root+0x8b/0xa8) from [<c0610bb5>] (prepare_namespace+0xc5/0x118) [ 0.910939] [<c0610bb5>] (prepare_namespace+0xc5/0x118) from [<c038282f>] (kernel_init+0x7/0x90) [ 0.920134] [<c038282f>] (kernel_init+0x7/0x90) from [<c000c6fd>] (ret_from_fork+0x11/0x34) [ 0.928868] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 0.963118] devtmpfs: mounted [ 0.966546] Freeing init memory: 264K [ 1.030363] mmc1: BKOPS_EN bit is not set [ 1.037231] mmc1: new high speed MMC card at address 0001 [ 1.043420] mmcblk1: mmc1:0001 MMC02G 1.78 GiB [ 1.048594] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB [ 1.055089] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB [ 1.063673] mmcblk1: p1 p2 [ 1.068918] mmcblk1boot1: unknown partition table [ 1.076003] mmcblk1boot0: unknown partition table [ 1.179854] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 1.188357] pgd = df60c000 [ 1.191196] [00000000] *pgd=9f5d3831, *pte=00000000, *ppte=00000000 [ 1.197800] Internal error: Oops: 817 [#1] SMP THUMB2 [ 1.203069] Modules linked in: [ 1.206262] CPU: 0 Not tainted (3.8.13 #1) [ 1.210910] PC is at page_address+0x8a/0x98 [ 1.215274] LR is at v6_copy_user_highpage_nonaliasing+0x13/0x2a [ 1.221540] pc : [<c0081e36>] lr : [<c00155ef>] psr: 80000133 [ 1.221540] sp : df051d98 ip : c00155dd fp : 00080fea [ 1.233509] r10: 80fea38f r9 : df5e0e78 r8 : c0743c40 [ 1.238955] r7 : b6eea000 r6 : df5e0e40 r5 : e3550000 r4 : c0fe2000 [ 1.245759] r3 : 00080000 r2 : c06c9080 r1 : 000003c0 r0 : 00000000 [ 1.252563] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user [ 1.260186] Control: 50c5387d Table: 9f60c019 DAC: 00000015 [ 1.266176] Process init (pid: 1, stack limit = 0xdf050240) [ 1.271982] Stack: (0xdf051d98 to 0xdf052000) [ 1.276560] 1d80: c0fea000 c0743c40 [ 1.285121] 1da0: df5e0e40 b6eea000 c0743c40 c00155ef df5de2e0 c0743d40 df5de2e0 c0083323 [ 1.293680] 1dc0: 00020001 000000ea 00000000 b6eea000 df5e0e78 df5893a8 00000028 00000001 [ 1.302231] 1de0: b6eea000 c0743d40 ffffffff df5e0e40 df5893a8 df5de2e0 df5e0e78 b6eea000 [ 1.310787] 1e00: 00000001 00000029 df5e0e88 c008472b df60edb8 df5e0e78 80fea38f b6eea000 [ 1.319342] 1e20: c0b0fa60 c0b0fa40 00000000 00000001 00000001 c0075f79 c0b0fa40 b6eea000 [ 1.327899] 1e40: 000000ea df60c000 df5e0e40 df5de2e0 00000029 df60edb8 df5e0e88 c0084803 [ 1.336447] 1e60: df60edb8 00000029 df051fb0 df5de2e0 b6eeaedc df04cac0 df5e0e40 0000081f [ 1.345004] 1e80: 00000029 c001365f 00000400 df5d2000 de88027c df051ea8 00000800 00000000 [ 1.353559] 1ea0: df5de400 c03891bb 22222222 22222222 00100073 df5de2e0 00000000 df5de2e0 [ 1.362186] 1ec0: de88027c c0388f73 00000000 de88024c df5e0e40 df5de2e0 df5de3f8 c0085f09 [ 1.370739] 1ee0: df5de400 df5de2e0 df5de2e0 0000081f c0661934 b6eeaedc c0661844 df051fb0 [ 1.379284] 1f00: bec916bc bec914d8 bec91634 c00083eb 00000003 df5e0e8c df5e0e88 00002000 [ 1.387839] 1f20: b6eea000 c038a4b3 df5e0e88 c019824b df5e0e88 80000013 00000012 b6eea000 [ 1.396390] 1f40: df5e0e8c 0070006f 00000000 80000013 00000003 c038a481 b6eea000 c007e9c7 [ 1.404950] 1f60: 00000073 00000001 df178800 00000001 00000003 00002000 df178800 b6eea000 [ 1.413498] 1f80: 00000003 c008652b 00000012 00000001 00000003 00000001 c0fe2000 a0000010 [ 1.422042] 1fa0: ffffffff b6eeb008 00000002 c000c383 b6ee1000 00000005 b6eeaf78 b6eeaed8 [ 1.430587] 1fc0: bec91508 b6f1d660 b6eeb004 b6eeb008 00000002 bec916bc bec914d8 bec91634 [ 1.439133] 1fe0: b6f1d680 bec91530 b6efebb4 b6efecac a0000010 ffffffff ffffffe2 7fff7fff [ 1.447691] [<c0081e36>] (page_address+0x8a/0x98) from [<c00155ef>] (v6_copy_user_highpage_nonaliasing+0x13/0x2a) [ 1.458425] [<c00155ef>] (v6_copy_user_highpage_nonaliasing+0x13/0x2a) from [<c0083323>] (do_wp_page+0x30b/0x49c) [ 1.469148] [<c0083323>] (do_wp_page+0x30b/0x49c) from [<c008472b>] (handle_pte_fault+0x4bf/0x520) [ 1.478506] [<c008472b>] (handle_pte_fault+0x4bf/0x520) from [<c0084803>] (handle_mm_fault+0x77/0xa0) [ 1.488161] [<c0084803>] (handle_mm_fault+0x77/0xa0) from [<c001365f>] (do_page_fault+0xb3/0x21c) [ 1.497447] [<c001365f>] (do_page_fault+0xb3/0x21c) from [<c00083eb>] (do_DataAbort+0x27/0x64) [ 1.506454] [<c00083eb>] (do_DataAbort+0x27/0x64) from [<c000c383>] (__dabt_usr+0x43/0x60) [ 1.515087] Exception stack(0xdf051fb0 to 0xdf051ff8) [ 1.520394] 1fa0: b6ee1000 00000005 b6eeaf78 b6eeaed8 [ 1.528951] 1fc0: bec91508 b6f1d660 b6eeb004 b6eeb008 00000002 bec916bc bec914d8 bec91634 [ 1.537501] 1fe0: b6f1d680 bec91530 b6efebb4 b6efecac a0000010 ffffffff [ 1.544424] Code: 81f0 9080 c06c 7b40 (c070) f9d0 [ 1.549435] ---[ end trace 3881c007dc3fa2e3 ]--- [ 1.554272] note: init[1] exited with preempt_count 2 [ 1.559844] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.559844] [ 1.569374] drm_kms_helper: panic occurred, switching back to text console ------------------------------ And next, I show the log of booting from eMMC below. ------------------------------ U-Boot SPL 2013.04-dirty (Jun 19 2013 - 09:57:14) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 OMAP SD/MMC: 0 mmc_send_cmd : timeout: No status update reading u-boot.img reading u-boot.img U-Boot 2013.04-dirty (Jun 19 2013 - 09:57:14) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 mmc_send_cmd : timeout: No status update Card did not respond to voltage select! mmc0(part 0) is current device mmc_send_cmd : timeout: No status update Card did not respond to voltage select! No micro SD card found, setting mmcdev to 1 mmc1(part 0) is current device mmc_send_cmd : timeout: No status update gpio: pin 54 (gpio 54) value is 1 SD/MMC found on device 1 reading uEnv.txt 26 bytes read in 3 ms (7.8 KiB/s) Loaded environment from uEnv.txt Importing environment from mmc ... gpio: pin 55 (gpio 55) value is 1 4270840 bytes read in 748 ms (5.4 MiB/s) gpio: pin 56 (gpio 56) value is 1 24129 bytes read in 53 ms (444.3 KiB/s) Booting from mmc ... ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Angstrom/3.8.13/beaglebone Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4270776 Bytes = 4.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 80f80000 Booting using the fdt blob at 0x80f80000 XIP Kernel Image ... OK OK Using Device Tree in place at 80f80000, end 80f88e40 Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.194174] omap2_mbox_probe: platform not supported [ 0.204730] tps65217-bl tps65217-bl: no platform data provided [ 0.281334] bone-capemgr bone_capemgr.8: slot #0: No cape found [ 0.318442] bone-capemgr bone_capemgr.8: slot #1: No cape found [ 0.355548] bone-capemgr bone_capemgr.8: slot #2: No cape found [ 0.392657] bone-capemgr bone_capemgr.8: slot #3: No cape found [ 0.412667] bone-capemgr bone_capemgr.8: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI) [ 0.422283] bone-capemgr bone_capemgr.8: slot #6: Failed verification [ 0.429058] bone-capemgr bone_capemgr.8: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2) [ 0.451714] omap_hsmmc mmc.4: of_parse_phandle_with_args of 'reset' failed [ 0.516183] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.7 [ 0.527924] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.7) status -22 [ 0.535237] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single [ 1.085881] BUG: spinlock cpu recursion on CPU#0, init/1 [ 1.091467] lock: 0xde889430, .magic: dead4ead, .owner: <none>/-1, .owner_cpu: 0 [ 1.099319] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c019bccf>] (do_raw_spin_lock+0x43/0x108) [ 1.108876] [<c019bccf>] (do_raw_spin_lock+0x43/0x108) from [<c009c277>] (do_last.isra.29+0x4b3/0x6fc) [ 1.118600] [<c009c277>] (do_last.isra.29+0x4b3/0x6fc) from [<c009c6df>] (path_openat+0x21f/0x2b0) [ 1.127967] [<c009c6df>] (path_openat+0x21f/0x2b0) from [<c009c915>] (do_filp_open+0x1b/0x4a) [ 1.136889] [<c009c915>] (do_filp_open+0x1b/0x4a) from [<c0093c97>] (do_sys_open+0xbd/0x126) [ 1.145713] [<c0093c97>] (do_sys_open+0xbd/0x126) from [<c000c641>] (ret_fast_syscall+0x1/0x46) [ 1.361624] Unable to handle kernel NULL pointer dereference at virtual address 00000408 [ 1.370103] pgd = df3d8000 [ 1.372936] [00000408] *pgd=9f5de831, *pte=00000000, *ppte=00000000 [ 1.379534] Internal error: Oops: 817 [#1] SMP THUMB2 [ 1.384795] Modules linked in: [ 1.387984] CPU: 0 Not tainted (3.8.13 #1) [ 1.392633] PC is at __memzero+0x1a/0x84 [ 1.396724] LR is at 0x0 [ 1.399366] pc : [<c01923b6>] lr : [<00000000>] psr: 2200a033 [ 1.399366] sp : df051e6c ip : 00000000 fp : 00000010 [ 1.411319] r10: df047764 r9 : 00000000 r8 : 000000d0 [ 1.416759] r7 : 00000002 r6 : df047740 r5 : 00000000 r4 : 00000408 [ 1.423558] r3 : 00000000 r2 : 00000000 r1 : 00000160 r0 : 00000408 [ 1.430365] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user [ 1.437974] Control: 50c5387d Table: 9f3d8019 DAC: 00000015 [ 1.443958] Process systemd (pid: 1, stack limit = 0xdf050240) [ 1.450031] Stack: (0xdf051e6c to 0xdf052000) [ 1.454613] 1e60: c00a1b9f c007c6a9 df0146c0 df5ee040 c008f279 [ 1.463214] 1e80: de89192c 00010000 00000000 00000040 00000000 80000000 000000d0 df0146c0 [ 1.471769] 1ea0: 80000013 00000000 00000000 00000000 becdedc4 c008ef7f c06c2f50 df5e9000 [ 1.480351] 1ec0: df5e9000 de8918d8 000041ed c007c399 c007c38d c00a1db9 00000000 df5e9000 [ 1.488895] 1ee0: df5fe080 c00a2dcf 00000000 df5e9000 df5fe080 c00a2dfd df5e9000 c007c12d [ 1.497445] 1f00: df5e9000 df5fe080 000041ed df5fe080 df5fe080 de8918d8 000001ed 00000000 [ 1.505990] 1f20: 000a81fc c007c25b 00200000 de8918d8 000041ed 00000000 00000000 df5fe080 [ 1.514537] 1f40: de8918d8 000001ed 00000000 c007c2fb c007c2ed 00000000 df5fe080 c009acc5 [ 1.523083] 1f60: df5fe080 de8918d8 de8918d8 00000002 000001ed 80000000 ffffff9c c009cb35 [ 1.531634] 1f80: df5dae50 de891a08 000001ed 000a81fc 00000001 000001ed 00000027 c000c7e4 [ 1.540197] 1fa0: df050000 c000c641 000a81fc 00000001 000a81fc 000001ed 00000001 c2868200 [ 1.548766] 1fc0: 000a81fc 00000001 000001ed 00000027 00000001 000ce0b0 b6f88000 becdedc4 [ 1.557312] 1fe0: 000cd9c0 becde90c 00056478 b6dfca5c 60000010 000a81fc ffffffe2 7fff7fff [ 1.565859] Code: 4694 4696 3940 bfa1 (e8a0) 500c [ 1.570869] ---[ end trace e7a16c5e1735f212 ]--- [ 1.576199] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.576199] [ 1.585722] drm_kms_helper: panic occurred, switching back to text console [ 1.592884] [drm:drm_crtc_helper_set_config], [ 1.597513] [drm:drm_crtc_helper_set_config], [CRTC:3] [NOFB] ------------------------------ So, I tried to rewrite the kernel of eMMC from an SD card by powering up BBB while pushing down S2 button. I used "BBB-eMMC-flasher-2013.09.12.img.xz". But also I see "kernel panic". As the final method to repair the broken BBB, I tried to connect to serial of BBB and got the image from TFTP and booted, but it stopped during the boot proccess with no login prompt appearing. I totally have no idea, can I repair this BBB no more? >Do you have a cape attached? I don't know a cape, maybe I don't have. Any help would be greatly appreciated. Regards. 2014年1月21日火曜日 7時37分17秒 UTC+9 rh_: > > On Mon, 20 Jan 2014 00:07:45 -0800 (PST) > tsuneyama <[email protected] <javascript:>> wrote: > > > Hi, > > I want to transfer the image to the BBB via TFTP and boot it, > > but it stopped it during the boot process. I have no idea what to do. > > Are you saying that this kernel boots from an SD card or eMMC with no > problems? From your log TFTP seems fine, the kernel booted. Do you have > a cape attached? Need more data to help. > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
