This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

kernel panic when AM3352 SDK upgrade from 1.00.00.03 to 5.00.00.15

Other Parts Discussed in Thread: AM3352, TPS65910

hi 各位先進

目前我在做SDK5.00.00.15的升級作業

板子是AM3352+emmc 1 (8G)

將原本的device tree及uboot code merge 到新版的code後 complier pass

透過創建SD卡的方是開機後出現kernel panic

log 如下

目前看不出哪裡有問題~請問是否有人遇過相同的狀況~謝謝


U-Boot 2014.07-00001-g4a8e5b8-dirty (Mar 03 2017 - 09:58:27)

I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   cpsw, usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
reading uEnv.txt
58 bytes read in 4 ms (13.7 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
3842560 bytes read in 450 ms (8.1 MiB/s)
40021 bytes read in 44 ms (887.7 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x3aa200 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff3000, end 8ffffc54 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.40-g4796173fc5 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Wed Jul 25 15:43:15 UTC 2018
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0x9d000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk1p2 ro rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 456912K/524288K available (8192K kernel code, 318K rwdata, 2488K rodata, 1024K init, 275K bss, 18224K reserved, 49152K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0d4fb08   ( 319 kB)
[    0.000000]        .bss : 0xc0d4fb08 - 0xc0d948bc   ( 276 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000030] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000077] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000103] OMAP clocksource: timer1 at 24000000 Hz
[    0.000555] timer_probe: no matching timers found
[    0.000980] Console: colour dummy device 80x30
[    0.001035] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.001054] This ensures that you still see kernel messages. Please
[    0.001070] update your kernel commandline.
[    0.001132] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.067563] pid_max: default: 32768 minimum: 301
[    0.068003] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.068042] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.069664] CPU: Testing write buffer coherency: ok
[    0.071026] Setting up static identity map for 0x80100000 - 0x80100060
[    0.071355] Hierarchical SRCU implementation.
[    0.072140] EFI services will not be available.
[    0.075527] devtmpfs: initialized
[    0.097543] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
[    0.098501] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.099109] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.099155] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.106089] pinctrl core: initialized pinctrl subsystem
[    0.107791] DMI not present or invalid.
[    0.108628] NET: Registered protocol family 16
[    0.113664] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.146363] omap_hwmod: debugss: _wait_target_disable failed
[    0.207136] cpuidle: using governor ladder
[    0.207221] cpuidle: using governor menu
[    0.217867] OMAP GPIO hardware version 0.1
[    0.244013] No ATAGs?
[    0.244046] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.276848] edma 49000000.edma: TI EDMA DMA engine driver
[    0.279172] reg-fixed-voltage fixedregulator2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
[    0.286075] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[    0.286429] media: Linux media interface: v0.10
[    0.286531] Linux video capture interface: v2.00
[    0.286774] pps_core: LinuxPPS API ver. 1 registered
[    0.286795] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.286852] PTP clock support registered
[    0.286941] EDAC MC: Ver: 3.0.0
[    0.288018] dmi: Firmware registration failed.
[    0.288851] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.289597] Advanced Linux Sound Architecture Driver Initialized.
[    0.291905] clocksource: Switched to clocksource timer1
[    0.312478] NET: Registered protocol family 2
[    0.314043] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.314183] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.314304] TCP: Hash tables configured (established 4096 bind 4096)
[    0.314505] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.314557] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.314892] NET: Registered protocol family 1
[    0.315725] RPC: Registered named UNIX socket transport module.
[    0.315756] RPC: Registered udp transport module.
[    0.315774] RPC: Registered tcp transport module.
[    0.315792] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.317577] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.317837] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.321123] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.332336] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.333890] NFS: Registering the id_resolver key type
[    0.333970] Key type id_resolver registered
[    0.333991] Key type id_legacy registered
[    0.334091] ntfs: driver 2.1.32 [Flags: R/O].
[    0.338396] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.338437] io scheduler noop registered
[    0.338458] io scheduler deadline registered
[    0.338964] io scheduler cfq registered (default)
[    0.338991] io scheduler mq-deadline registered
[    0.339011] io scheduler kyber registered
[    0.342653] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.349133] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.472896] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.479541] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.118851] console [ttyS0] enabled
[    1.126329] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.137226] panel panel: found backlight
[    1.142011] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.148437] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.155356] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.161334] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.168071] [drm] No driver support for vblank timestamp query.
[    1.230913] Console: switching to colour frame buffer device 60x34
[    1.254865] tilcdc 4830e000.lcdc: fb0:  frame buffer device
[    1.261645] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    1.291308] brd: module loaded
[    1.310090] loop: module loaded
[    1.318478] libphy: Fixed MDIO Bus: probed
[    1.401973] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.409732] davinci_mdio 4a101000.mdio: detected phy mask ffffff80
[    1.424481] libphy: 4a101000.mdio: probed
[    1.428569] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[    1.436798] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver unknown
[    1.445208] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver unknown
[    1.453377] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver unknown
[    1.461464] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver unknown
[    1.469615] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver unknown
[    1.477740] davinci_mdio 4a101000.mdio: phy[6]: device 4a101000.mdio:06, driver unknown
[    1.487646] cpsw 4a100000.ethernet: Detected MACID = 7c:01:0a:a0:f7:59
[    1.494592] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.501004] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.506400] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.515453] cpsw 4a100000.ethernet: cpsw: Detected MACID = 7c:01:0a:a0:f7:5b
[    1.525717] i2c /dev entries driver
[    1.530271] IR NEC protocol handler initialized
[    1.534963] IR RC5(x/sz) protocol handler initialized
[    1.540053] IR RC6 protocol handler initialized
[    1.544681] IR JVC protocol handler initialized
[    1.549247] IR Sony protocol handler initialized
[    1.553931] IR SANYO protocol handler initialized
[    1.558670] IR Sharp protocol handler initialized
[    1.563454] IR MCE Keyboard/mouse protocol handler initialized
[    1.569325] IR XMP protocol handler initialized
[    1.577454] cpuidle: enable-method property 'ti,am3352' found operations
[    1.585183] sdhci: Secure Digital Host Controller Interface driver
[    1.591415] sdhci: Copyright(c) Pierre Ossman
[    1.597186] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.605277] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.614513] ledtrig-cpu: registered to indicate activity on CPUs
[    1.629652] NET: Registered protocol family 10
[    1.637404] Segment Routing with IPv6
[    1.641278] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.648936] NET: Registered protocol family 17
[    1.654169] Key type dns_resolver registered
[    1.658932] omap_voltage_late_init: Voltage driver support not added
[    1.702299] tps65910 0-002d: No interrupt support, no core IRQ
[    1.711874] vrtc: supplied by vbat
[    1.719987] vio: supplied by vbat
[    1.724961] random: fast init done
[    1.729080] vdd1: supplied by vbat
[    1.735227] vdd2: supplied by vbat
[    1.743459] vdig1: supplied by vbat
[    1.749071] vdig2: supplied by vbat
[    1.754717] vpll: supplied by vbat
[    1.760279] vdac: supplied by vbat
[    1.765851] vaux1: supplied by vbat
[    1.771449] vaux2: supplied by vbat
[    1.777136] vaux33: supplied by vbat
[    1.782894] vmmc: supplied by vbat
[    1.788418] vbb: supplied by vbat
[    1.794844] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.804011] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.909402] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.919624] mmc0: new high speed SDHC card at address 0007
[    1.926133] mmcblk0: mmc0:0007 SD16G 14.5 GiB
[    1.933180]  mmcblk0: p1 p2
[    2.015206] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
[    2.027295] hctosys: unable to open rtc device (rtc0)
[    2.033837] lis3_reg: disabling
[    2.037524] ALSA device list:
[    2.040653]   No soundcards found.
[    2.049019] Waiting for root device /dev/mmcblk1p2...
[    2.097363] mmc1: new high speed MMC card at address 0001
[    2.103926] mmcblk1: mmc1:0001 8GME4R 7.28 GiB
[    2.108887] mmcblk1boot0: mmc1:0001 8GME4R partition 1 4.00 MiB
[    2.115443] mmcblk1boot1: mmc1:0001 8GME4R partition 2 4.00 MiB
[    2.121750] mmcblk1rpmb: mmc1:0001 8GME4R partition 3 512 KiB
[    2.129593]  mmcblk1: p1 p2 p3
[    2.143739] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
[    2.165159] EXT4-fs (mmcblk1p2): mounted filesystem with journalled data mode. Opts: (null)
[    2.173908] VFS: Mounted root (ext4 filesystem) readonly on device 179:18.
[    2.187211] devtmpfs: mounted
[    2.195268] Freeing unused kernel memory: 1024K
[    2.294249] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.294249]
[    2.303499] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.303499]

x 出现错误。请重试或与管理员联系。