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.

Linux/AM3354: Kernel boot issue

Part Number: AM3354
Other Parts Discussed in Thread: DP83848C, AM3352, TPS65910, TMDXEVM3358

Tool/software: Linux

hello !

I meet this issue that kernel boot stopped at "random: fast init done",wait about 2 minutes later,then display "random: crng init done".at last stop any more.

I use ti-processor-sdk-linux-am335x-evm-04.03.00.05-Linux-x86-Install.bin。

board is based on am335x_evm-20120705。

what cased this issued, can you help me?

below is uart log:

U-Boot SPL 2017.01 (May 03 2018 - 10:22:32)
Trying to boot from MMC1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2017.01 (May 03 2018 - 10:22:32 +0800)

CPU : AM335X-GP rev 2.1
Model: TI AM335x EVM-SK
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net: Could not get PHY for cpsw: addr 0
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
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3524424 bytes read in 398 ms (8.4 MiB/s)
41577 bytes read in 64 ms (633.8 KiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff2000, end 8ffff268 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.69-g9ce43c71ae (root@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #12 PREEMPT Thu May 3 10:20:53 CST 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] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9d000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=a24d9917-02 rw 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: 457968K/524288K available (7168K kernel code, 277K rwdata, 2296K rodata, 1024K init, 278K bss, 17168K 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 - 0xc0800000 (8160 kB)
[ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
[ 0.000000] .data : 0xc0c00000 - 0xc0c45410 ( 278 kB)
[ 0.000000] .bss : 0xc0c45410 - 0xc0c8ad74 ( 279 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000044] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000204] clocksource_probe: no matching clocksources found
[ 0.000370] Console: colour dummy device 80x30
[ 0.000395] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000401] This ensures that you still see kernel messages. Please
[ 0.000405] update your kernel commandline.
[ 0.000429] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.089212] pid_max: default: 32768 minimum: 301
[ 0.089340] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089350] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090112] CPU: Testing write buffer coherency: ok
[ 0.090489] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.091261] EFI services will not be available.
[ 0.092433] devtmpfs: initialized
[ 0.103493] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.103816] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.103843] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.107311] pinctrl core: initialized pinctrl subsystem
[ 0.108525] NET: Registered protocol family 16
[ 0.110447] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.123501] omap_hwmod: debugss: _wait_target_disable failed
[ 0.199202] cpuidle: using governor ladder
[ 0.229189] cpuidle: using governor menu
[ 0.234787] OMAP GPIO hardware version 0.1
[ 0.249568] No ATAGs?
[ 0.249594] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.286745] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.287602] reg-fixed-voltage fixedregulator2: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_wl12xx_gpio, deferring probe
[ 0.290603] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.290751] media: Linux media interface: v0.10
[ 0.290805] Linux video capture interface: v2.00
[ 0.290852] pps_core: LinuxPPS API ver. 1 registered
[ 0.290859] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.290880] PTP clock support registered
[ 0.290916] EDAC MC: Ver: 3.0.0
[ 0.291980] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.293384] clocksource: Switched to clocksource timer1
[ 0.302735] NET: Registered protocol family 2
[ 0.303539] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.303586] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.303625] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.303702] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.303718] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.303849] NET: Registered protocol family 1
[ 0.304275] RPC: Registered named UNIX socket transport module.
[ 0.304287] RPC: Registered udp transport module.
[ 0.304293] RPC: Registered tcp transport module.
[ 0.304298] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.305191] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.307405] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.314439] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.315349] NFS: Registering the id_resolver key type
[ 0.315393] Key type id_resolver registered
[ 0.315400] Key type id_legacy registered
[ 0.315443] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.317237] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.317257] io scheduler noop registered
[ 0.317264] io scheduler deadline registered
[ 0.317402] io scheduler cfq registered (default)
[ 0.318720] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.321683] backlight supply power not found, using dummy regulator
[ 0.376026] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.379592] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 0.974377] console [ttyS0] enabled
[ 0.979619] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 0.986471] [drm] Initialized
[ 0.990521] panel panel: found backlight
[ 0.995469] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.002120] [drm] No driver support for vblank timestamp query.
[ 1.033697] Console: switching to colour frame buffer device 60x34
[ 1.041505] tilcdc 4830e000.lcdc: fb0: frame buffer device
[ 1.086529] brd: module loaded
[ 1.095850] loop: module loaded
[ 1.101173] libphy: Fixed MDIO Bus: probed
[ 1.173447] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.179598] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
[ 1.186733] libphy: 4a101000.mdio: probed
[ 1.190772] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver NS DP83848C 10/100 Mbps PHY
[ 1.201399] cpsw 4a100000.ethernet: Detected MACID = 54:4a:16:ce:25:a9
[ 1.208206] cpsw 4a100000.ethernet: device node lookup for pps timer failed
[ 1.215377] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[ 1.223642] cpsw 4a100000.ethernet: cpsw: Detected MACID = 54:4a:16:ce:25:ab
[ 1.232235] mousedev: PS/2 mouse device common for all mice
[ 1.238292] i2c /dev entries driver
[ 1.243674] cpuidle: enable-method property 'ti,am3352' found operations
[ 1.251327] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.258559] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.265778] NET: Registered protocol family 10
[ 1.271636] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.278505] NET: Registered protocol family 17
[ 1.283295] Key type dns_resolver registered
[ 1.287917] omap_voltage_late_init: Voltage driver support not added
[ 1.323569] tps65910 0-002d: No interrupt support, no core IRQ
[ 1.330505] tps65910 0-002d: Error in configuring external control EN1
[ 1.337146] tps65910 0-002d: Failed to initialise ext control config
[ 1.343650] vrtc: supplied by vbat
[ 1.347262] vrtc: failed to enable
[ 1.350704] tps65910 0-002d: failed to register tps65910-pmic regulator
[ 1.357404] tps65910-pmic: probe of tps65910-pmic failed with error -121
[ 1.364925] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.371316] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.524162] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.530621] input: gpio_buttons0 as /devices/platform/gpio_buttons0/input/input0
[ 1.539492] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.545341] hctosys: unable to open rtc device (rtc0)
[ 1.547951] lis3_reg: disabling
[ 1.557986] Waiting for root device PARTUUID=a24d9917-02...
[ 2.283385] random: fast init done
[ 181.825502] random: crng init done