Part Number: PROCESSOR-SDK-AM335X
Tool/software: Linux
I am using sitara- AM335X with linux version Linux version 3.14.26-gb9df364-dirty, I am using SD card booting and the booting is not successful every time.
Please find below the logs of successful boot and failure boot and our observation.
Successful boot :
[ 2.460638] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.468546] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.644248] EXT4-fs (mmcblk0p2): recovery complete
[ 2.660860] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.669580] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.693864] devtmpfs: mounted
[ 2.697814] Freeing unused kernel memory: 404K (c0803000 - c0868000)
INIT: version 2.88 booting
Starting udev
[ 3.665442] udev[751]: starting version 164
[ 4.085361] remoteproc0: failed to load am335x-pm-firmware.elf
[ 4.092519] remoteproc0: powering up wkup_m3
[ 4.097466] remoteproc0: Direct firmware load failed with error -2
[ 4.104014] remoteproc0: Falling back to user helper
[ 5.379690] remoteproc0: request_firmware failed: -2
[ 5.385235] wkup_m3 44d00000.wkup_m3: rproc_boot failed
[ 8.786799] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
ERROR: could not open directory /lib/modules/3.14.26-gb9df364-dirty: No such file or directory
WARNING: -e needs -E or -F
ERROR: could not open directory /lib/modules/3.14.26-gb9df364-dirty: No such file or directory
FATAL: could not search modules: No such file or directory
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[ 9.171087] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[ 9.871434] random: nonblocking pool is initialized
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1686: No soundcards found...
Configuring network interfaces... run-parts: /etc/network/if-pre-up.d/wpa-supplicant exited with code 139
done.
/etc/rcS.d/S55bootmisc.sh: line 68: 1225 Segmentation fault /etc/init.d/hwclock.sh start
Wed Jun 26 02:48:00 UTC 2013
/etc/rcS.d/S55bootmisc.sh: line 77: 1229 Segmentation fault /etc/init.d/hwclock.sh stop
INIT: Entering runlevel: 5
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am335x-evm ttyO0
Arago 2013.05 am335x-evm ttyO0
Failure Boot :
[ 2.361257] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 2.370798] libphy: 4a101000.mdio: probed
[ 2.375146] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 2.386901] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:60:1a:15
[ 2.401581] input: gpio_buttons.6 as /devices/gpio_buttons.6/input/input1
[ 2.412266] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.421398] sr_init: No PMIC hook to init smartreflex
[ 2.427823] sr_init: platform driver register failed for SR
[ 2.480965] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.489823] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.514052] devtmpfs: mounted
[ 2.517997] Freeing unused kernel memory: 404K (c0803000 - c0868000)
INIT: version 2.88 booting
INIT: Entering runlevel: 5
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org (none) ttyO0
Arago 2013.05 (none) ttyO0
(none) login:
Our Observation :
As seen above if booting is successful, log message "Starting udev" is getting printed immediately after "INIT: version 2.88 booting". (Highlighted in RED above)
if booting is failed, log message "INIT: Entering runlevel: 5" is getting printed immediately after "INIT: version 2.88 booting". and a none login is getting appeared.(Highlighted in RED above)
What could be the possible cases for this occurrence.
Thanks in advance.