'INIT: Id "AMA0" respawning too fast: disabled for 5 minutes Beaglebone Black Yocto
I'm having trouble getting a Linux distribution to run on my board. I compiled a new project following the instructions on the yocto website(https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html). I cloned code from Poky repository by tag name yocto-3.1. I'm also add changes to the local.conf file. The compilation was successful but when I upload the code to the SD card and turn on the board I can see the logs but the system locked in the AMA0 initialization. I tested compiling Linux in QEMU and it works. I don't have any idea to solve this problem.
I'm added logs from compilation:
WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 1300 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "beaglebone-yocto"
DISTRO = "poky"
DISTRO_VERSION = "3.1"
TUNE_FEATURES = "arm vfp cortexa8 neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "minimal-yocto-3.1:5d47cdf448b6cff5bb7cc5b0ba0426b8235ec478"
Initialising tasks: 100% |#######################################| Time: 0:00:04
Sstate summary: Wanted 0 Found 0 Missed 0 Current 1311 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3415 tasks of which 3415 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
And also I added logs from the board:
Trying to boot from MMC1
U-Boot 2020.01 (Jan 06 2020 - 20:56:31 +0000)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
WDT: Started with servicing (60s timeout)
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in ROM is de:ad:be:ef:00:01
Address in environment is 24:76:25:ed:f5:2f
, eth1: usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
119 bytes read in 3 ms (38.1 KiB/s)
1: Yocto
Retrieving file: /zImage
7000192 bytes read in 450 ms (14.8 MiB/s)
append: root=PARTUUID=6b718761-02 rootwait console=ttyS0,115200
Retrieving file: /am335x-boneblack.dtb
58300 bytes read in 7 ms (7.9 MiB/s)
Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffee000, end 8ffff3bb ... OK
Starting kernel ...
and continue...
Booting Linux on physical CPU 0x0
Linux version 5.4.20-yocto-standard (oe-user@oe-host) (gcc version 9.3.0 (GCC))0
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: TI AM335x BeagleBone Black
Memory policy: Data cache writeback
cma: Reserved 16 MiB at 0x9e800000
CPU: All CPU(s) started in SVC mode.
AM335X ES2.1 (sgx neon)
Built 1 zonelists, mobility grouping on. Total pages: 129666
Kernel command line: root=PARTUUID=6b718761-02 rootwait console=ttyS0,115200
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 484692K/523264K available (10240K kernel code, 938K rwdata, 3508K rodat)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
ftrace: allocating 35863 entries in 71 pages
rcu: Preemptible hierarchical RCU implementation.
Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
random: get_random_bytes called from start_kernel+0x2bc/0x4e8 with crng_init=0
OMAP clockevent source: timer2 at 24000000 Hz
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963s
OMAP clocksource: timer1 at 24000000 Hz
timer_probe: no matching timers found
Console: colour dummy device 80x30
Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
Setting up static identity map for 0x80100000 - 0x80100060
rcu: Hierarchical SRCU implementation.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191s
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
xor: measuring software checksum speed
arm4regs : 1218.800 MB/sec
8regs : 905.200 MB/sec
32regs : 1172.400 MB/sec
xor: using function: arm4regs (1218.800 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
l3-aon-clkctrl:0000:0: failed to disable
cpuidle: using governor ladder
cpuidle: using governor menu
hw-breakpoint: debug architecture 0x4 unsupported.
Serial: AMBA PL011 UART driver
raid6: int32x8 gen() 151 MB/s
raid6: int32x8 xor() 102 MB/s
raid6: int32x4 gen() 159 MB/s
raid6: int32x4 xor() 113 MB/s
raid6: int32x2 gen() 270 MB/s
raid6: int32x2 xor() 190 MB/s
raid6: int32x1 gen() 226 MB/s
raid6: int32x1 xor() 161 MB/s
raid6: using algorithm int32x2 gen() 270 MB/s
raid6: .... xor() 190 MB/s, rmw enabled
raid6: using intx1 recovery algorithm
edma 49000000.edma: TI EDMA DMA engine driver
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource timer1
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
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.
hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=17 bucket_order=3
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Key type cifs.idmap registered
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler mq-deadline registered
io scheduler kyber registered
OMAP GPIO hardware version 0.1
pinctrl-single 44e10800.pinmux: 142 pins, size 568
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 29, base_baud = 3000000) is a 0
random: fast init done
printk: console [ttyS0] enabled
omap_rng 48310000.rng: Random Number Generator ver. 20
random: crng init done
brd: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
libphy: Fixed MDIO Bus: probed
davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
libphy: 4a101000.mdio: probed
davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710
cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
cpsw 4a100000.ethernet: ALE Table size 1024
cpsw 4a100000.ethernet: Detected MACID = 24:76:25:ed:f5:2d
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap: OMAP-EHCI Host Controller driver
usbcore: registered new interface driver usb-storage
am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, usinr
am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, usinr
omap_rtc 44e3e000.rtc: registered as rtc0
i2c /dev entries driver
omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds ()
omap_hsmmc 48060000.mmc: Got CD GPIO
omap_hsmmc 47810000.mmc: RX DMA channel request failed
mmc0: host does not support reading read-only switch, assuming write-enable
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
mmc0: new high speed SDHC card at address 1234
oprofile: using arm/armv7
mmcblk0: mmc0:1234 SA16G 14.4 GiB
u32 classifier
input device check on
Actions configured
NET: Registered protocol family 10
mmcblk0: p1 p2
Segment Routing with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
ThumbEE CPU extension supported.
omap_voltage_late_init: Voltage driver support not added
Loading compiled-in X.509 certificates
Key type ._fscrypt registered
Key type .fscrypt registered
Btrfs loaded, crc32c=crc32c-generic
Key type encrypted registered
mmc1: new high speed MMC card at address 0001
mmcblk1: mmc1:0001 M62704 3.56 GiB
mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB, chardev (249:0)
mmcblk1: p1
tps65217 0-0024: TPS65217 ID 0xe version 1.2
tda998x 0-0070: found TDA19988
tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
[drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[drm] Cannot find any crtc or sizes
omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[drm] Cannot find any crtc or sizes
omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
printk: console [netcon0] enabled
netconsole: network logging started
omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:01 UTC (9466848)
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
platform regulatory.0: Direct firmware load for regulatory.db failed with error2
cfg80211: failed to load regulatory.db
EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
EXT4-fs (mmcblk0p2): write access will be enabled during recovery
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
Run /sbin/init as init process
INIT: version booting
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt.
Starting udev
udevd[141]: starting version 3.2.9
udevd[142]: starting eudev-3.2.9
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
hwclock: settimeofday: Invalid argument
Fri Mar 9 12:34:56 UTC 2018
INIT: Entering runlevel: 5
Configuring network interfaces... cpsw 4a100000.ethernet: initializing cpsw ver)
SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN872)
udhcpc: started, v1.31.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, forking to background
done.
hwclock: settimeofday: Invalid argument
Starting syslogd/klogd: done
INIT: Id "AMA0" respawning too fast: disabled for 5 minutes
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
