Linux - Boot Sequence                                 Home : www.sharetechnote.com

 

 

 

Boot Sequence is all of the procedures from when you power on the computer to the point where you see the first command prompt popping up on the screen. The exact details of the process varies a little bit depending on the type of the operating system, overall procedure is almost same as listed below.

 

Steps

Procedure

Description

1

Hardware Boot Power On --> BIOS --> POST

2

OS Loader

In PC, the OS Loader is located in the first sector of the boot  device. This is called MBR (Master Boot Record)

In  Linux  the  OS loader is normally LILO or GRUB

The main job of the OS Loader is to locate the kernel on the disk, load it and run it

3

Kernel Startup

When  the  kernel  is  loaded,  it  initializes  the devices (via their drivers), starts the swapper and mounts the root file system (/).

The  kernel  creates the first process which is numbered 1.  This process executes the program /sbin/init, passing  any parameters that weren’t handled by the kernel already (NOTE : don't get confused with /sbin/init and /etc/init. /sbin/init is an executable and /etc/init is a directory in which many configuration files are located)

4

init and inittab

When  init starts it reads /etc/inittab for further instructions.  This file defines what should be run in different run-levels.

Note : Some Linux (e.g, Ubuntu) does not use 'inittab' for this step. They are using different mechanism (e.g, Upstart) for this step.

5

Boot Scripts Services and programs located in /etc/init.d directory are executed.

6

Sequencing Directories

To make specific scripts  start/stop  at  specific  run-levels  and  in specific  order, there are sequencing directories.  These are normally in /etc/rc[0-6S].d (e.g, rc0.d, rc1.d,rc2.d,rc3.d,rc4.d,rc5.d,rc6.d).  In each of  these  directories  there  are  links (usually symbolic) to the scripts in the /etc/init.d directory.

7

Boot Configuration

Configurations parameters for hardware, various service, application. In Red Hat, it is in /etc/sysconfig. In Ubuntu, they are in /etc/init and several other directories.

 

If you would write down the list of files/programs/shell scripts running during the boot process, it would be as follows

 

Example 1 > : Boot Sequence Log - Beaglebone Green

: Following is a example of boot sequence log from the Linux (Debian) running on Beablebone Green. This is much simpler than what you might get from your Linux PC and better for you to go through for study.

 

root@beaglebone:/# dmesg

 

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Linux version 3.8.13-bone71.1 (pillar@server) (gcc version 4.9.3 20141031 (prerelease) (Linaro GCC 2014.11) ) #1 SMP Wed May 20 20:13:27 PDT 2015

[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone

[    0.000000] Memory policy: ECC disabled, Data cache writeback

[    0.000000] On node 0 totalpages: 130816

[    0.000000] free_area_init_node: node 0, pgdat c08c9480, node_mem_map c0946000

[    0.000000]   Normal zone: 1024 pages used for memmap

[    0.000000]   Normal zone: 0 pages reserved

[    0.000000]   Normal zone: 129792 pages, LIFO batch:31

[    0.000000] AM335X ES2.1 (l2cache sgx neon )

[    0.000000] PERCPU: Embedded 9 pages/cpu @c0d56000 s14080 r8192 d14592 u36864

[    0.000000] pcpu-alloc: s14080 r8192 d14592 u36864 alloc=9*4096

[    0.000000] pcpu-alloc: [0] 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792

[    0.000000] Kernel command line: console=ttyO0,115200n8 capemgr.enable_partno=BB-UART2 root=UUID=951b2ee5-7358-4ffb-898f-63e212a13c5d ro rootfstype=ext4 rootwait fixrtc quiet init=/lib/systemd/systemd

[    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] __ex_table already sorted, skipping sort

[    0.000000] allocated 1048576 bytes of page_cgroup

[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups

[    0.000000] Memory: 511MB = 511MB total

[    0.000000] Memory: 505312k/505312k available, 18976k reserved, 0K highmem

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)

[    0.000000]       .text : 0xc0008000 - 0xc0801254   (8165 kB)

[    0.000000]       .init : 0xc0802000 - 0xc0842700   ( 258 kB)

[    0.000000]       .data : 0xc0844000 - 0xc08cc440   ( 546 kB)

[    0.000000]        .bss : 0xc08cc440 - 0xc0945bc0   ( 486 kB)

[    0.000000] Hierarchical RCU implementation.

[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.

[    0.000000] NR_IRQS:0 nr_irqs:0 0

[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

[    0.000000] Total of 128 interrupts on 1 active controller

[    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz

[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms

[    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz

[    0.000000] Console: colour dummy device 80x30

[    0.000226] Calibrating delay loop... 993.47 BogoMIPS (lpj=969728)

[    0.029186] pid_max: default: 32768 minimum: 301

[    0.029316] Security Framework initialized

[    0.029372] Mount-cache hash table entries: 512

[    0.035120] Initializing cgroup subsys cpuacct

[    0.035144] Initializing cgroup subsys memory

[    0.035182] Initializing cgroup subsys blkio

[    0.035270] CPU: Testing write buffer coherency: ok

[    0.035637] CPU0: thread -1, cpu 0, socket -1, mpidr 0

[    0.035693] Setting up static identity map for 0x804d6f68 - 0x804d6fb4

[    0.036588] Brought up 1 CPUs

[    0.036602] SMP: Total of 1 processors activated (993.47 BogoMIPS).

[    0.037368] devtmpfs: initialized

[    0.045832] omap_hwmod: wd_timer2: _wait_target_disable failed

[    0.097977] pinctrl core: initialized pinctrl subsystem

[    0.098104] rstctl core: initialized rstctl subsystem

[    0.098377] regulator-dummy: no parameters

[    0.098692] NET: Registered protocol family 16

[    0.099238] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.104851] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

[    0.105452] platform 49000000.edma: alias fck already exists

[    0.105469] platform 49000000.edma: alias fck already exists

[    0.105482] platform 49000000.edma: alias fck already exists

[    0.106069] gpiochip_add: registered GPIOs 0 to 31 on device: gpio

[    0.106163] OMAP GPIO hardware version 0.1

[    0.106934] gpiochip_add: registered GPIOs 32 to 63 on device: gpio

[    0.107631] gpiochip_add: registered GPIOs 64 to 95 on device: gpio

[    0.108294] gpiochip_add: registered GPIOs 96 to 127 on device: gpio

[    0.108547] of_get_named_gpio_flags exited with status 52

[    0.108563] gpio-rctrl rstctl.4: loaded OK

[    0.111860] No ATAGs?

[    0.111876] hw-breakpoint: debug architecture 0x4 unsupported.

[    0.113112] cpsw.0: No hwaddr in dt. Using 84:eb:18:af:fc:b5 from efuse

[    0.113132] cpsw.1: No hwaddr in dt. Using 84:eb:18:af:fc:b7 from efuse

[    0.121161] bio: create slab <bio-0> at 0

[    0.127255] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver

[    0.127403] of_get_named_gpio_flags: can't parse gpios property

[    0.127521] vmmcsd_fixed: 3300 mV

[    0.129040] SCSI subsystem initialized

[    0.129275] usbcore: registered new interface driver usbfs

[    0.129333] usbcore: registered new interface driver hub

[    0.129530] usbcore: registered new device driver usb

[    0.130696] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

[    0.131628] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0

[    0.133224] DCDC1: at 1500 mV

[    0.134049] vdd_mpu: 925 <--> 1325 mV at 1325 mV

[    0.134850] vdd_core: 925 <--> 1150 mV at 1125 mV

[    0.135645] LDO1: at 1800 mV

[    0.136427] LDO2: at 3300 mV

[    0.137950] LDO3: 1800 mV

[    0.138753] LDO4: at 3300 mV

[    0.139463] tps65217 0-0024: TPS65217 ID 0xe version 1.2

[    0.139911] omap_i2c 44e0b000.i2c: unable to select pin group

[    0.140366] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz

[    0.141711] omap_i2c 4819c000.i2c: unable to select pin group

[    0.141855] media: Linux media interface: v0.10

[    0.141915] Linux video capture interface: v2.00

[    0.141986] pps_core: LinuxPPS API ver. 1 registered

[    0.141994] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[    0.142018] PTP clock support registered

[    0.142415] Advanced Linux Sound Architecture Driver Initialized.

[    0.143054] NetLabel: Initializing

[    0.143065] NetLabel:  domain hash size = 128

[    0.143071] NetLabel:  protocols = UNLABELED CIPSOv4

[    0.143135] NetLabel:  unlabeled traffic allowed by default

[    0.143334] Switching to clocksource gp_timer

[    0.173871] NET: Registered protocol family 2

[    0.174489] TCP established hash table entries: 4096 (order: 3, 32768 bytes)

[    0.174571] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)

[    0.174721] TCP: Hash tables configured (established 4096 bind 4096)

[    0.174784] TCP: reno registered

[    0.174799] UDP hash table entries: 256 (order: 1, 12288 bytes)

[    0.174825] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)

[    0.175051] NET: Registered protocol family 1

[    0.175429] RPC: Registered named UNIX socket transport module.

[    0.175440] RPC: Registered udp transport module.

[    0.175447] RPC: Registered tcp transport module.

[    0.175454] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.175667] Trying to unpack rootfs image as initramfs...

[    0.357307] Freeing initrd memory: 2800K

[    0.357632] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available

[    0.357879] CPU PMU: attempt to register multiple PMU devices!

[    0.357901] arm-pmu: probe of arm-pmu failed with error -28

[    0.358208] omap2_mbox_probe: platform not supported

[    0.511558] VFS: Disk quotas dquot_6.5.2

[    0.511682] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    0.512360] NFS: Registering the id_resolver key type

[    0.512433] Key type id_resolver registered

[    0.512441] Key type id_legacy registered

[    0.512795] fuse init (API version 7.20)

[    0.513174] Btrfs loaded

[    0.513273] msgmni has been set to 992

[    0.514919] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)

[    0.514937] io scheduler noop registered

[    0.514945] io scheduler deadline registered

[    0.514966] io scheduler cfq registered (default)

[    0.516029] tps65217-bl tps65217-bl: no platform data provided

[    0.516052] tps65217-bl: probe of tps65217-bl failed with error -22

[    0.516612] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.517900] omap_uart 44e09000.serial: did not get pins for uart0 error: -19

[    0.518180] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0

[    0.530057] console [ttyO0] enabled

[    0.530742] [drm] Initialized drm 1.1.0 20060810

[    0.537698] brd: module loaded

[    0.541268] loop: module loaded

[    0.541346] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.541389] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.541431] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.541466] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.541500] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.548268] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,\x1a,BBG115080893'

[    0.548292] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-green

[    0.578956] bone-capemgr bone_capemgr.9: slot #0: No cape found

[    0.616064] bone-capemgr bone_capemgr.9: slot #1: No cape found

[    0.653172] bone-capemgr bone_capemgr.9: slot #2: No cape found

[    0.690283] bone-capemgr bone_capemgr.9: slot #3: No cape found

[    0.696492] bone-capemgr bone_capemgr.9: slot #4: specific override

[    0.696518] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4

[    0.696534] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'

[    0.696622] bone-capemgr bone_capemgr.9: enabled_partno part_number 'BB-UART2', version 'N/A', prio '0'

[    0.696635] bone-capemgr bone_capemgr.9: slot #5: generic override

[    0.696646] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5

[    0.696659] bone-capemgr bone_capemgr.9: slot #5: 'Override Board Name,00A0,Override Manuf,BB-UART2'

[    0.696975] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.696990] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.697026] bone-capemgr bone_capemgr.9: initialized OK.

[    0.698445] OneNAND driver initializing

[    0.699284] usbcore: registered new interface driver cdc_ether

[    0.699333] usbcore: registered new interface driver rndis_host

[    0.699429] usbcore: registered new interface driver cdc_ncm

[    0.699768] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.699920] usbcore: registered new interface driver cdc_acm

[    0.699929] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

[    0.699937] Initializing USB Mass Storage driver...

[    0.700000] usbcore: registered new interface driver usb-storage

[    0.700008] USB Mass Storage support registered.

[    0.700159] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)

[    0.700392] musb-hdrc musb-hdrc.0.auto: pdev->id = 0

[    0.700406] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:480 dsps_musb_init: OK

[    0.700431] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[    0.700442] musb-hdrc: MHDRC RTL version 2.0

[    0.700449] musb-hdrc: setup fifo_mode 4

[    0.700466] musb-hdrc: 28/31 max ep, 16384/16384 memory

[    0.700549] musb-hdrc musb-hdrc.0.auto: *** mode=3

[    0.700561] musb-hdrc musb-hdrc.0.auto: *** power=250

[    0.700952] bone-capemgr bone_capemgr.9: loader: before slot-5 BB-UART2:00A0 (prio 0)

[    0.700967] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-UART2:00A0 (prio 0)

[    0.700982] bone-capemgr bone_capemgr.9: loader: after slot-5 BB-UART2:00A0 (prio 0)

[    0.700998] bone-capemgr bone_capemgr.9: slot #5: Requesting part number/version based 'BB-UART2-00A0.dtbo

[    0.701014] bone-capemgr bone_capemgr.9: slot #5: Requesting firmware 'BB-UART2-00A0.dtbo' for board-name 'Override Board Name', version '00A0'

[    0.701044] bone-capemgr bone_capemgr.9: slot #5: dtbo 'BB-UART2-00A0.dtbo' loaded; converting to live tree

[    0.701210] bone-capemgr bone_capemgr.9: slot #5: #2 overlays

[    0.702102] musb-hdrc musb-hdrc.1.auto: pdev->id = 1

[    0.702121] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:480 dsps_musb_init: OK

[    0.702148] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[    0.702157] musb-hdrc: MHDRC RTL version 2.0

[    0.702164] musb-hdrc: setup fifo_mode 4

[    0.702177] musb-hdrc: 28/31 max ep, 16384/16384 memory

[    0.702277] musb-hdrc musb-hdrc.1.auto: *** mode=1

[    0.702287] musb-hdrc musb-hdrc.1.auto: *** power=250

[    0.702298] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver

[    0.702549] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1

[    0.702580] musb-hdrc musb-hdrc.1.auto: supports USB remote wakeup

[    0.702646] usb usb1: default language 0x0409

[    0.702679] usb usb1: udev 1, busnum 1, minor = 0

[    0.702689] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    0.702701] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    0.702710] usb usb1: Product: MUSB HDRC host driver

[    0.702720] usb usb1: Manufacturer: Linux 3.8.13-bone71.1 musb-hcd

[    0.702729] usb usb1: SerialNumber: musb-hdrc.1.auto

[    0.703116] usb usb1: usb_probe_device

[    0.703132] usb usb1: configuration #1 chosen from 1 choice

[    0.703172] usb usb1: adding 1-0:1.0 (config #1, interface 0)

[    0.703279] hub 1-0:1.0: usb_probe_interface

[    0.703291] hub 1-0:1.0: usb_probe_interface - got id

[    0.703307] hub 1-0:1.0: USB hub found

[    0.703328] hub 1-0:1.0: 1 port detected

[    0.703338] hub 1-0:1.0: standalone hub

[    0.703347] hub 1-0:1.0: individual port power switching

[    0.703356] hub 1-0:1.0: no over-current protection

[    0.703365] hub 1-0:1.0: Single TT

[    0.703374] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)

[    0.703384] hub 1-0:1.0: power on to power good time: 10ms

[    0.703405] hub 1-0:1.0: local power source is good

[    0.703457] hub 1-0:1.0: enabling power on all ports

[    0.704055] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2

[    0.704359] bone-capemgr bone_capemgr.9: slot #5: Applied #2 overlays.

[    0.704373] bone-capemgr bone_capemgr.9: loader: done slot-5 BB-UART2:00A0 (prio 0)

[    0.704402] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.704418] bone-capemgr bone_capemgr.9: loader: after slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.704440] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware 'cape-bone-2g-emmc1.dtbo' for board-name 'Bone-LT-eMMC-2G', version '00A0'

[    0.704456] bone-capemgr bone_capemgr.9: slot #4: dtbo 'cape-bone-2g-emmc1.dtbo' loaded; converting to live tree

[    0.704688] bone-capemgr bone_capemgr.9: slot #4: #2 overlays

[    0.705220] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.

[    0.705235] bone-capemgr bone_capemgr.9: loader: done slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.705610] mousedev: PS/2 mouse device common for all mice

[    0.707167] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

[    0.707357] i2c /dev entries driver

[    0.708414] pps_ldisc: PPS line discipline registered

[    0.708496] Driver for 1-wire Dallas network protocol.

[    0.709631] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

[    0.710107] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com

[    0.710142] cpuidle: using governor ladder

[    0.710152] cpuidle: using governor menu

[    0.710410] of_get_named_gpio_flags exited with status 6

[    0.710421] of_get_named_gpio_flags: can't parse gpios property

[    0.710430] of_get_named_gpio_flags: can't parse gpios property

[    0.710450] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed

[    0.717678] omap_hsmmc mmc.5: Failed to get rstctl; not using any

[    0.717994] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25

[    0.718043] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24

[    0.718203] mmc.5 supply vmmc_aux not found, using dummy regulator

[    0.718540] omap_hsmmc mmc.5: pins are not configured from the driver

[    0.745147] of_get_named_gpio_flags: can't parse gpios property

[    0.745161] of_get_named_gpio_flags: can't parse gpios property

[    0.745169] of_get_named_gpio_flags: can't parse gpios property

[    0.745200] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn

[    0.745258] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn

[    0.745270] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn

[    0.745466] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3

[    0.745508] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2

[    0.745843] mmc.11 supply vmmc_aux not found, using dummy regulator

[    0.745911] omap_hsmmc mmc.11: pins are not configured from the driver

[    0.772562] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8

[    0.784263] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22

[    0.791544] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single

[    0.800469] leds-gpio gpio-leds.8: pins are not configured from the driver

[    0.800491] of_get_named_gpio_flags exited with status 53

[    0.800502] of_get_named_gpio_flags exited with status 54

[    0.800512] of_get_named_gpio_flags exited with status 55

[    0.800522] of_get_named_gpio_flags exited with status 56

[    0.800533] of_get_named_gpio_flags exited with status 53

[    0.800663] of_get_named_gpio_flags exited with status 54

[    0.800830] of_get_named_gpio_flags exited with status 55

[    0.800937] of_get_named_gpio_flags exited with status 56

[    0.801237] ledtrig-cpu: registered to indicate activity on CPUs

[    0.801484] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36

[    0.801540] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

[    0.802776] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

[    0.802857] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5

[    0.802897] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6

[    0.805660] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000

[    0.805713] hub 1-0:1.0: hub_suspend

[    0.805740] usb usb1: bus auto-suspend, wakeup 1

[    0.806141] usbcore: registered new interface driver usbhid

[    0.806149] usbhid: USB HID core driver

[    0.806958] ashmem: initialized

[    0.807156] logger: created 256K log 'log_main'

[    0.807344] logger: created 256K log 'log_events'

[    0.807597] logger: created 256K log 'log_radio'

[    0.807792] logger: created 256K log 'log_system'

[    0.809829] TCP: cubic registered

[    0.809910] NET: Registered protocol family 10

[    0.810648] NET: Registered protocol family 17

[    0.810874] Key type dns_resolver registered

[    0.811060] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

[    0.811084] ThumbEE CPU extension supported.

[    0.811112] Registering SWP/SWPB emulation handler

[    0.811826] registered taskstats version 1

[    0.860216] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6

[    0.860238] davinci_mdio 4a101000.mdio: detected phy mask fffffffe

[    0.867106] libphy: 4a101000.mdio: probed

[    0.867133] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720

[    0.867303] Detected MACID = 84:eb:18:af:fc:b5

[    0.867405] cpsw 4a100000.ethernet: NAPI disabled

[    0.868288] mmc1: BKOPS_EN bit is not set

[    0.869032] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

[    0.873798] ALSA device list:

[    0.873816]   No soundcards found.

[    0.874568] Freeing init memory: 256K

[    0.877239] mmc1: new high speed MMC card at address 0001

[    0.879523] mmcblk0: mmc1:0001 P1XXXX 3.60 GiB

[    0.879894] mmcblk0boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB

[    0.881784] mmcblk0boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB

[    0.883434]  mmcblk0: p1 p2

[    0.885951]  mmcblk0boot1: unknown partition table

[    0.887981]  mmcblk0boot0: unknown partition table

[    0.952773] udevd[96]: starting version 175

[    2.049839] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    3.275671] udevd[223]: starting version 175

[    4.082726] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro

[    5.463180] omap_rng 48310000.rng: base address of priv is -97452032

[    5.470067] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

[    9.727857]  gadget: using random self ethernet address

[    9.728645] usb0: MAC d6:be:24:a7:5c:1a

[    9.728657] usb0: HOST MAC 84:eb:18:af:fc:b7

[    9.739245]  gadget: Mass Storage Function, version: 2009/09/11

[    9.739268]  gadget: Number of LUNs=1

[    9.739292]  lun0: LUN: removable file: /dev/mmcblk0p1

[    9.739421]  gadget: Multifunction Composite Gadget

[    9.739449]  gadget: g_multi ready

[    9.739489] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver

[    9.739780] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2

[    9.739807] musb-hdrc musb-hdrc.0.auto: supports USB remote wakeup

[    9.739875] usb usb2: default language 0x0409

[    9.739906] usb usb2: udev 1, busnum 2, minor = 128

[    9.739918] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

[    9.739929] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    9.739939] usb usb2: Product: MUSB HDRC host driver

[    9.739949] usb usb2: Manufacturer: Linux 3.8.13-bone71.1 musb-hcd

[    9.739959] usb usb2: SerialNumber: musb-hdrc.0.auto

[    9.743437] usb usb2: usb_probe_device

[    9.743459] usb usb2: configuration #1 chosen from 1 choice

[    9.743514] usb usb2: adding 2-0:1.0 (config #1, interface 0)

[    9.743645] hub 2-0:1.0: usb_probe_interface

[    9.743657] hub 2-0:1.0: usb_probe_interface - got id

[    9.743675] hub 2-0:1.0: USB hub found

[    9.743700] hub 2-0:1.0: 1 port detected

[    9.743710] hub 2-0:1.0: standalone hub

[    9.743718] hub 2-0:1.0: individual port power switching

[    9.743728] hub 2-0:1.0: no over-current protection

[    9.743737] hub 2-0:1.0: Single TT

[    9.743747] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)

[    9.743756] hub 2-0:1.0: power on to power good time: 10ms

[    9.743778] hub 2-0:1.0: local power source is good

[    9.743829] hub 2-0:1.0: enabling power on all ports

[    9.844779] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000

[    9.844839] hub 2-0:1.0: hub_suspend

[    9.844867] usb usb2: bus auto-suspend, wakeup 1

[    9.918601] CAUTION: musb: Babble Interrupt Occurred

[   10.013795] CAUTION: musb: Babble Interrupt Occurred

[   10.126455]  gadget: high-speed config #1: Multifunction with RNDIS

[   21.127903] net eth0: initializing cpsw version 1.12 (0)

[   21.133904] net eth0: phy found : id is : 0x7c0f1

[   21.133937] libphy: PHY 4a101000.mdio:01 not found

[   21.139008] net eth0: phy 4a101000.mdio:01 not found on slave 1

[   21.157627] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

 

 

Reference :

 

[1] Starting Your Software Automatically on Boot