Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/TMDSIDK437X: Kernel panic

$
0
0

Part Number: TMDSIDK437X

Tool/software: Linux

Hello,

I just got my hands on the processor sdk linux-rt-am437x-evm-06.00.00.07 and I am trying to boot Linux on an idkAM437x

What I did so far is :

-Create a SD card with the script : create-sdcard.sh

-Create a boot/ directory in the rootfs partition of the sd card

-Paste the following files in that directory : am437x-gp-evm-hdmi.dtb and zImage (from ti-processor-sdk-linux-rt-am437x-evm-06.00.00.07/targetNFS/boot/)

Here is what I get as a result :

0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
 
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
716 bytes read in 3 ms (232.4 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4055552 bytes read in 212 ms (18.2 MiB/s)
52827 bytes read in 13 ms (3.9 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff0000, end 8ffffe5a ... OK
 
Starting kernel ...
 
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.38-rt19-g1224cd679e (oe-user@oe-host) (gcc ver
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
[    0.000000] OF: fdt: Machine model: TI AM437x GP EVM
[    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 0xbd000000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (sgx neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x43c with
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyO0,115200n8 video=HDMI-A-1:800x60
[    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: 976300K/1048576K available (8192K kernel code, 313K rwdat
[    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 : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 314 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 260 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
[    0.000000]  No expedited grace period (rcu_normal_after_boot).
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e43
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478
[    0.000025] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max
[    0.000031] OMAP clocksource: timer1 at 24000000 Hz
[    0.000426] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff
[    0.000431] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000846] Console: colour dummy device 80x30
[    0.000968] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000971] This ensures that you still see kernel messages. Please
[    0.000973] update your kernel commandline.
[    0.001007] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
[    0.060172] pid_max: default: 32768 minimum: 301
[    0.060361] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.060379] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.061287] CPU: Testing write buffer coherency: ok
[    0.061338] CPU0: Spectre v2: using BPIALL workaround
[    0.062326] Setting up static identity map for 0x80100000 - 0x80100060
[    0.062612] rcu: Hierarchical SRCU implementation.
[    0.063331] EFI services will not be available.
[    0.064285] devtmpfs: initialized
[    0.075615] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9
[    0.076047] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
[    0.076073] futex hash table entries: 256 (order: 1, 8192 bytes)
[    0.079318] pinctrl core: initialized pinctrl subsystem
[    0.080057] DMI not present or invalid.
[    0.080779] NET: Registered protocol family 16
[    0.082475] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.158737] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclear
[    0.158963] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (u
[    0.165133] OMAP GPIO hardware version 0.1
[    0.175711] No ATAGs?
[    0.175736] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint
[    0.175751] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.191185] edma 49000000.edma: TI EDMA DMA engine driver
[    0.195598] media: Linux media interface: v0.10
[    0.195652] videodev: Linux video capture interface: v2.00
[    0.195751] pps_core: LinuxPPS API ver. 1 registered
[    0.195760] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
[    0.195782] PTP clock support registered
[    0.195826] EDAC MC: Ver: 3.0.0
[    0.196697] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.197137] Advanced Linux Sound Architecture Driver Initialized.
[    0.198459] clocksource: Switched to clocksource timer1
[    0.207160] NET: Registered protocol family 2
[    0.208071] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 14336
[    0.208143] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.208230] TCP bind hash table entries: 8192 (order: 5, 196608 bytes)
[    0.208993] TCP: Hash tables configured (established 8192 bind 8192)
[    0.209266] UDP hash table entries: 512 (order: 3, 32768 bytes)
[    0.209394] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[    0.209764] NET: Registered protocol family 1
[    0.210486] RPC: Registered named UNIX socket transport module.
[    0.210500] RPC: Registered udp transport module.
[    0.210507] RPC: Registered tcp transport module.
[    0.210512] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.212475] Initialise system trusted keyrings
[    0.212795] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.217906] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.218937] NFS: Registering the id_resolver key type
[    0.218976] Key type id_resolver registered
[    0.218983] Key type id_legacy registered
[    0.219030] ntfs: driver 2.1.32 [Flags: R/O].
[    0.219459] pstore: using deflate compression
[    0.221512] Key type asymmetric registered
[    0.221528] Asymmetric key parser 'x509' registered
[    0.221605] bounce: pool size: 64 pages
[    0.221672] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
[    0.221684] io scheduler noop registered
[    0.221691] io scheduler deadline registered
[    0.221954] io scheduler cfq registered (default)
[    0.221967] io scheduler mq-deadline registered
[    0.221973] io scheduler kyber registered
[    0.224605] pinctrl-single 44e10800.pinmux: 199 pins, size 796
[    0.276992] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.280382] omap8250 44e09000.serial: No clock speed specified: using default
[    0.281137] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 31, base_baud =
[    0.976941] console [ttyS0] enabled
[    0.981104] omap8250 481a6000.serial: No clock speed specified: using default
[    0.989887] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud =
[    1.000912] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.008418] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not foun
[    1.017776] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
[    1.024732] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
[    1.046934] brd: module loaded
[    1.060716] loop: module loaded
[    1.066938] libphy: Fixed MDIO Bus: probed
[    1.138543] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1
[    1.146244] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.153745] libphy: 4a101000.mdio: probed
[    1.157791] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driv
[    1.168391] cpsw 4a100000.ethernet: Detected MACID = 9c:1d:58:7c:b5:91
[    1.175059] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.181450] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.186748] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.195629] i2c /dev entries driver
[    1.200665] sdhci: Secure Digital Host Controller Interface driver
[    1.206880] sdhci: Copyright(c) Pierre Ossman
[    1.212944] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.2
[    1.245499] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.256359] NET: Registered protocol family 10
[    1.262415] Segment Routing with IPv6
[    1.266182] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.272893] NET: Registered protocol family 17
[    1.277658] Key type dns_resolver registered
[    1.282217] omap_voltage_late_init: Voltage driver support not added
[    1.289562] Loading compiled-in X.509 certificates
[    1.309544] GPIO line 119 (SelEMMCorNAND) hogged as output/low
[    1.316492] GPIO line 136 (SelLCDorHDMI) hogged as output/low
[    1.323254] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.328429] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.336107] nand: No NAND device found
[    1.368637] tps65218 0-0024: Failed to set masks in 0x3: -121
[    1.374547] tps65218: probe of 0-0024 failed with error -121
[    1.380617] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[    1.408717] sii902x: probe of 1-003b failed with error -121
[    1.414460] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    1.420639] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not foun
[    1.429997] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
[    1.436926] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
[    1.444346] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000
[    1.453107] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.458417] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    1.491542] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not foun
[    1.500904] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
[    1.507838] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
[    1.515144] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not foun
[    1.524498] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
[    1.531424] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
[    1.538982] hctosys: unable to open rtc device (rtc0)
[    1.544911] vmmcwl_fixed: disabling
[    1.548429] ALSA device list:
[    1.551464]   No soundcards found.
[    1.556200] Waiting for root device PARTUUID=081ada1d-02...
[    1.581370] mmc1: host does not support reading read-only switch, assuming wr
[    1.592467] mmc1: new high speed SDHC card at address 0007
[    1.599404] mmcblk1: mmc1:0007 SD08G 7.42 GiB
[    1.605795]  mmcblk1: p1 p2
[    1.610280] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not foun
[    1.619657] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
[    1.626597] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
[    2.017464] EXT4-fs (mmcblk1p2): recovery complete
[    2.022319] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. O
[    2.030514] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.037424] devtmpfs: error mounting -2
[    2.043148] Freeing unused kernel memory: 1024K
[    2.047828] Run /sbin/init as init process
[    2.051999] Run /etc/init as init process
[    2.056044] Run /bin/init as init process
[    2.060095] Run /bin/sh as init process
[    2.063959] Kernel panic - not syncing: No working init found.  Try passing i

Could you please indicate me what I am doing wrong ? Or what I am missing ?

Thank you in advance,

Regards, Gilles


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>