Difference between revisions of "EBC Boot Sequence"

From eLinux.org
Jump to: navigation, search
m (U-boot boot: Updated for Fall 2014)
m (Looking on the FAT partition: Updating, but not done.)
Line 452: Line 452:
  
 
== Looking on the FAT partition ==
 
== Looking on the FAT partition ==
The SD card you have been using has 2 partitions on it.  Partition 1 is a small FAT partition. These are the files you see appear when you first boot the bone. This contains the boot loaders.  
+
The SD card you have been using has 2 partitions on it.  Partition 1 is a small FAT partition. These are the files you see appear when you first boot the bone. This used to contain the boot loaders.  
  
 
The second partition is ext4 and contains the root file system. These are all the other files.   
 
The second partition is ext4 and contains the root file system. These are all the other files.   
  
 
You can see the FAT partition with:
 
You can see the FAT partition with:
  beagle$ '''mkdir /media/fat'''
+
  bone$ '''mkdir /mnt/fat'''
  beagle$ '''ls /media/fat'''    # Hmm....  nothing there
+
  bone$ '''ls /mnt/fat'''    # Hmm....  nothing there
  beagle$ '''mount /dev/mmcblk0p1 /media/fat'''
+
  bone$ '''mount /dev/mmcblk0p1 /mnt/fat'''
  beagle$ '''ls /media/fat'''    # and now there is
+
  bone$ '''ls /mnt/fat'''    # and now there is
  MLO U-BOOT.BIN UIMAGE uEnv uEnv.txt
+
  App          Docs    ID.txt      nfs-uEnv.txt  README.md START.htm
 +
autorun.inf Drivers LICENSE.txt README.htm    scripts    uEnv.txt
  
 +
If you look in '''/boot''' you'll see the files used to boot.
 
; MLO
 
; MLO
 
: This is the x-loader that the ROM-based loader loads.
 
: This is the x-loader that the ROM-based loader loads.

Revision as of 08:06, 30 September 2014

thumb‎ Embedded Linux Class by Mark A. Yoder

Openlogo-50.png


Up to this point we've always booted the Beagle into Linux and worked from there. Now it's time to learn what has to happen before we can run Linux. To do this you need to look at the output of the serial port so see the boot sequence.

Booting Up

Bootloader.jpg

You need to attach a 3.3V FTDI cable to see the boot sequence.

FTDI cable
FTDI connector
FTDI connector

Look for the black lead which is marked with a little triangle. This connects to the pin with the white dot next to it.

Boot up your bone and connect to the serial port using the screen command. Hit return and log in. You may need to make yourself owner of /dev/ttyUSB0 before running screen.

host$ sudo chown $USER:$USER /dev/ttyUSB0
host$ screen /dev/ttyUSB0 115200
Debian GNU/Linux 7 yoder-debian-bone ttyO0

default username:password is [debian:temppwd]

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

The IP Address for usb0 is: 192.168.7.2 
yoder-debian-bone login: root
Last login: Mon Sep 29 11:30:24 EDT 2014 on ttyO0
Linux yoder-debian-bone 3.8.13-bone64 #1 SMP Thu Aug 21 21:24:58 UTC 2014 armv7l
 
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
 
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@yoder-debian-bone:~# 

While in screen hit Ctrl-a ? to learn how to log data with screen. Turn on logging and capture the boot and shutdown data that is presented on this page. Keep it in a file where you can refer to it later.

Shutdown

Now shutdown and be ready to hit return when you get the u-boot prompt.

bone$ reboot
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Unmounting file systems.
Unmounted /sys/fs/fuse/connections.
Unmounted /sys/kernel/security.
Unmounted /sys/kernel/debug.
Unmounted /dev/mqueue.
Disabling swaps.
Detaching loop devices.
Detaching DM devices.
[60419.344032] (NULL device *): gadget not registered.
[60419.367449] Restarting system.

These first messages are from the kernel shutting down.

U-Boot Starting

The following messages are the boot sequence.

U-Boot SPL 2014.07-00016-g329fca9 (Jul 28 2014 - 12:35:02)

U-Boot 2014.07-00016-g329fca9 (Jul 28 2014 - 12:35:02), Build: jenkins-github_Bootloader-Builder-375

I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0 
U-Boot#

U-Boot help

You are now in the u-boot boot loader. Try help

U-Boot# help
?       - alias for 'help'
askenv  - get environment variables from stdin
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootz   - boot Linux zImage image from memory
chpart  - change active partition
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dfu     - Device Firmware Upgrade
dhcp    - boot image via network using DHCP/TFTP protocol
echo    - echo args to console
editenv - edit environment variable
eeprom  - EEPROM sub-system
env     - environment handling commands
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls  - list files in a directory (default /)
false   - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fatwrite- write file into a dos filesystem
fdt     - flattened device tree utility commands
go      - start application at address 'addr'
gpio    - query and control gpio pins
gpt     - GUID Partition Table
help    - print command description/usage
i2c     - I2C sub-system
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
load    - load binary file from a filesystem
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
ls      - list files in a directory (default /)
md      - memory display
mdio    - MDIO utility commands
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mtdparts- define flash/nand partitions
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
part    - disk partition related commands
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sf      - SPI flash sub-system
showvar - print local hushshell variables
sleep   - delay execution for some time
source  - run script from memory
spl     - SPL configuration
sspi    - SPI utility command
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true    - do nothing, successfully
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version

Discovering what boot does

Your goal is to discover what happens when the boot command is run.

U-Boot# help boot
boot - boot default, i.e., run 'bootcmd'

Usage:
boot 
U-Boot# print bootcmd
bootcmd=gpio set 53; i2c mw 0x24 1 0x3e; run findfdt; setenv mmcdev 0; setenv bootpart 0:1;
run mmcboot;gpio clear 56; gpio clear 55; gpio clear 54; setenv mmcdev 1; setenv bootpart 1:1;
run mmcboot;run nandboot;

Figure out what's happening above by 'pretty printing' bootcmd. That is, properly format the code so you can follow the flow.

gpio set 53;
i2c mw 0x24 1 0x3e;
run findfdt; 

setenv mmcdev 0;
setenv bootpart 0:1;
run mmcboot;

gpio clear 56;
gpio clear 55;
gpio clear 54;
setenv mmcdev 1;
setenv bootpart 1:1;
run mmcboot;
run nandboot;

You can dig further by printing the scripts being run. For example the findfdt script.

U-Boot# print findfdt
findfdt=
if test $board_name = A335BONE;
   then 
   setenv fdtfile am335x-bone.dtb;
   setenv fdtbase am335x-bone;
   fi;
if test $board_name = A335BNLT;
   then 
   setenv fdtfile am335x-boneblack.dtb;
   setenv fdtbase am335x-boneblack;
   fi;
if test $board_name = A33515BB;
   then 
   setenv fdtfile am335x-evm.dtb;
   fi;
if test $board_name = A335X_SK;
   then 
   setenv fdtfile am335x-evmsk.dtb;
   fi;
if test $fdtfile = undefined;
   then echo WARNING: Could not determine device tree to use;
   fi;

Or take a look at mmcboot

mmcboot=
mmc dev ${mmcdev};
if mmc rescan;
  then 
  gpio set 54;
  echo SD/MMC found on device ${mmcdev};
  setenv bootpart ${mmcdev}:1;
  echo Checking for: /uEnv.txt ...;
  if test -e mmc ${bootpart} /uEnv.txt;
     then 
     if run loadbootenv;
        then 
        gpio set 55;
        echo Loaded environment from ${bootenv};
        run importbootenv;
        fi;
     if test -n ${cape};
        then 
        if test -e mmc ${bootpart} ${fdtdir}/${fdtbase}-${cape}.dtb;
           then 
           setenv fdtfile ${fdtbase}-${cape}.dtb;
           fi;
        echo using: $fdtfile...;
        fi;
     echo Checking if uenvcmd is set ...;
     if test -n ${uenvcmd};
        then 
        gpio set 56;
        echo Running uenvcmd ...;
        run uenvcmd;
        fi;
     echo Checking if client_ip is set ...;
     if test -n ${client_ip};
        then 
        if test -n ${dtb};
           then 
           setenv fdtfile ${dtb};
           echo using ${fdtfile} ...;
           fi;
        gpio set 56;
        echo Running nfsboot ...;
        run nfsboot;
        fi;
     fi;
  echo Checking for: /${script} ...;
  if test -e mmc ${bootpart} /${script};
     then 
     gpio set 55;
     setenv scriptfile ${script};
     run loadbootscript;
     echo Loaded script from ${scriptfile};
     gpio set 56;
     run bootscript;
     fi;
  echo Checking for: /boot/${script} ...;
  if test -e mmc ${bootpart} /boot/${script};
     then 
     gpio set 55;
     setenv scriptfile /boot/${script};
     run loadbootscript;
     echo Loaded script from ${scriptfile};
     gpio set 56;
     run bootscript;
     fi;
  echo Checking for: /boot/uEnv.txt ...;
  for i in 1 2 3 4 5 6 7 ;
     do setenv mmcpart ${i};
     setenv bootpart ${mmcdev}:${mmcpart};
     if test -e mmc ${bootpart} /boot/uEnv.txt;
        then 
        gpio set 55;
        load mmc ${bootpart} ${loadaddr} /boot/uEnv.txt;
        env import -t ${loadaddr} ${filesize};
        echo Loaded environment from /boot/uEnv.txt;
        if test -n ${dtb};
           then 
           setenv fdtfile ${dtb};
           echo Using: dtb=${fdtfile} ...;
           fi;
        echo Checking if uname_r is set in /boot/uEnv.txt...;
        if test -n ${uname_r};
           then 
           gpio set 56;
           echo Running uname_boot ...;
           setenv mmcroot /dev/mmcblk${mmcdev}p${mmcpart} ro;
           run uname_boot;
           fi;
        fi;
     done;
  fi;

U-Boot print

It might be helpful to print the contents of all the variables and save it for future reference.

U-boot# print
arch=arm
autoconf=off
baudrate=115200
board=am335x
board_name=A335BNLT
board_rev=000C
boot_fdt=try
bootcmd=gpio set 53; i2c mw 0x24 1 0x3e; run findfdt; setenv mmcdev 0; setenv bootpart 0:1; run mmcboot;gpio clear 56; gpio clear 55; gpio clear 54; setenv mmcdev 1; setenv bootpart 1:1; run mmcboot;run nandboot;
bootcount=7
bootdelay=1
bootenv=uEnv.txt
bootfile=zImage
bootm_size=0x10000000
bootpart=0:2
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
console=ttyO0,115200n8
cpu=armv7
device=eth0
dfu_alt_info_emmc=rawemmc mmc 0 3751936
dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw mmc 0x100 0x100;u-boot.img.raw mmc 0x300 0x400;spl-os-args.raw mmc 0x80 0x80;spl-os-image.raw mmc 0x900 0x2000;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 8;rootfs part 0 9
dfu_alt_info_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 0x80000;ramdisk ram 0x81000000 0x4000000
eth1addr=d0:39:72:1a:5e:cc
ethact=cpsw
ethaddr=d0:39:72:1a:5e:ca
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtdir=/dtbs
fdtfile=undefined
findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; setenv fdtbase am335x-bone; fi; if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-evmsk.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi; 
gw_ip=192.168.1.1
importbootenv=echo Importing environment from mmc ...; env import -t -r $loadaddr $filesize
kernel_addr_r=0x82000000
loadaddr=0x82000000
loadbootenv=load mmc ${bootpart} ${loadaddr} ${bootenv}
loadbootscript=load mmc ${bootpart} ${loadaddr} ${scriptfile};
loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load mmc ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
loadrd=load mmc ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize}
mmcargs=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=${mmcroot} rootfstype=${mmcrootfstype} ${cmdline}
mmcboot=mmc dev ${mmcdev}; if mmc rescan; then gpio set 54;echo SD/MMC found on device ${mmcdev};setenv bootpart ${mmcdev}:1; echo Checking for: /uEnv.txt ...;if test -e mmc ${bootpart} /uEnv.txt; then if run loadbootenv; then gpio set 55;echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n ${cape}; then if test -e mmc ${bootpart} ${fdtdir}/${fdtbase}-${cape}.dtb; then setenv fdtfile ${fdtbase}-${cape}.dtb; fi; echo using: $fdtfile...; fi; echo Checking if uenvcmd is set ...;if test -n ${uenvcmd}; then gpio set 56; echo Running uenvcmd ...;run uenvcmd;fi;echo Checking if client_ip is set ...;if test -n ${client_ip}; then if test -n ${dtb}; then setenv fdtfile ${dtb};echo using ${fdtfile} ...;fi;gpio set 56; echo Running nfsboot ...;run nfsboot;fi;fi; echo Checking for: /${script} ...;if test -e mmc ${bootpart} /${script}; then gpio set 55;setenv scriptfile ${script};run loadbootscript;echo Loaded script from ${scriptfile};gpio set 56; run bootscript;fi; echo Checking for: /boot/${script} ...;if test -e mmc ${bootpart} /boot/${script}; then gpio set 55;setenv scriptfile /boot/${script};run loadbootscript;echo Loaded script from ${scriptfile};gpio set 56; run bootscript;fi; echo Checking for: /boot/uEnv.txt ...;for i in 1 2 3 4 5 6 7 ; do setenv mmcpart ${i};setenv bootpart ${mmcdev}:${mmcpart};if test -e mmc ${bootpart} /boot/uEnv.txt; then gpio set 55;load mmc ${bootpart} ${loadaddr} /boot/uEnv.txt;env import -t ${loadaddr} ${filesize};echo Loaded environment from /boot/uEnv.txt;if test -n ${dtb}; then setenv fdtfile ${dtb};echo Using: dtb=${fdtfile} ...;fi;echo Checking if uname_r is set in /boot/uEnv.txt...;if test -n ${uname_r}; then gpio set 56; echo Running uname_boot ...;setenv mmcroot /dev/mmcblk${mmcdev}p${mmcpart} ro;run uname_boot;fi;fi;done;fi;
mmcdev=0
mmcloados=run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
mmcpart=1
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext4 rootwait fixrtc
mtdids=nand0=omap2-nand.0
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1792k(u-boot),128k(u-boot-spl-os),128k(u-boot-env),5m(kernel),-(rootfs)
nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} u-boot-spl-os; nand read ${loadaddr} kernel; bootz ${loadaddr} - ${fdtaddr}
nandroot=ubi0:rootfs rw ubi.mtd=7,2048
nandrootfstype=ubifs rootwait=1
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}
netmask=255.255.255.0
nfs_options=,vers=3
nfsargs=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=/dev/nfs rw rootfstype=${nfsrootfstype} nfsroot=${nfsroot} ip=${ip} ${cmdline}
nfsboot=echo Booting from ${server_ip} ...; setenv nfsroot ${server_ip}:${root_dir}${nfs_options}; setenv ip ${client_ip}:${server_ip}:${gw_ip}:${netmask}:${hostname}:${device}:${autoconf}; setenv autoload no; setenv serverip ${server_ip}; setenv ipaddr ${client_ip}; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} dtbs/${fdtfile}; run nfsargs; bootz ${loadaddr} - ${fdtaddr}
nfsopts=nolock
nfsrootfstype=ext4 rootwait fixrtc
partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}
ramdisk_addr_r=0x88080000
ramroot=/dev/ram0 rw
ramrootfstype=ext2
rdaddr=0x88080000
root_dir=/home/userid/targetNFS
rootpath=/export/rootfs
script=boot.scr
scriptfile=${script}
server_ip=192.168.1.100
soc=am33xx
spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}
spibusno=0
spiimgsize=0x362000
spiroot=/dev/mtdblock4 rw
spirootfstype=jffs2
spisrcaddr=0xe0000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
uname_boot=setenv bootdir /boot; setenv bootfile vmlinuz-${uname_r}; if test -e mmc ${bootpart} ${bootdir}/${bootfile}; then echo loading ${bootdir}/${bootfile} ...; run loadimage;setenv fdtdir /boot/dtbs/${uname_r}; if test -e mmc ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /usr/lib/linux-image-${uname_r}; if test -e mmc ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /lib/firmware/${uname_r}/device-tree; if test -e mmc ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb-${uname_r}; if test -e mmc ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtbs; if test -e mmc ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb; if test -e mmc ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot; if test -e mmc ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else echo; echo unable to find ${fdtfile} ...; echo booting legacy ...;run mmcargs;bootz ${loadaddr}; fi;fi;fi;fi;fi;fi;fi; setenv rdfile initrd.img-${uname_r}; if test -e mmc ${bootpart} ${bootdir}/${rdfile}; then echo loading ${bootdir}/${rdfile} ...; run loadrd;if test -n ${uuid}; then setenv mmcroot UUID=${uuid} ro;fi;run mmcargs;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; else run mmcargs;bootz ${loadaddr} - ${fdtaddr}; fi;fi;
usbnet_devaddr=d0:39:72:1a:5e:cc
vendor=ti
ver=U-Boot 2014.07-00016-g329fca9 (Jul 28 2014 - 12:35:02)

Environment size: 8540/131068 bytes

Based on your investigation above, predict what will happen at boot time, then boot and check yourself.

U-boot boot

U-Boot# boot
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
Checking for: /uEnv.txt ...
reading uEnv.txt
685 bytes read in 5 ms (133.8 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
789 bytes read in 25 ms (30.3 KiB/s)
5605264 bytes read in 325 ms (16.4 MiB/s)
2860737 bytes read in 174 ms (15.7 MiB/s)
26098 bytes read in 45 ms (565.4 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x558790 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fd45000, end 8ffff6c1 ... OK
   Loading Device Tree to 8fd3b000, end 8fd445f1 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.372393] omap2_mbox_probe: platform not supported
[    0.527193] tps65217-bl tps65217-bl: no platform data provided
[    0.591002] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.628110] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.665218] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.702327] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.720999] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[    0.782684] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    0.794381] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[    0.801664] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
Loading, please wait...
systemd-fsck[206]: rootfs: clean, 150367/469168 files, 783572/1930752 blocks

Debian GNU/Linux 7 yoder-debian-bone ttyO0

default username:password is [debian:temppwd]

Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

The IP Address for usb0 is: 192.168.7.2
yoder-debian-bone login:  root

Looking on the FAT partition

The SD card you have been using has 2 partitions on it. Partition 1 is a small FAT partition. These are the files you see appear when you first boot the bone. This used to contain the boot loaders.

The second partition is ext4 and contains the root file system. These are all the other files.

You can see the FAT partition with:

bone$ mkdir /mnt/fat
bone$ ls /mnt/fat    # Hmm....  nothing there
bone$ mount /dev/mmcblk0p1 /mnt/fat
bone$ ls /mnt/fat    # and now there is
App          Docs     ID.txt       nfs-uEnv.txt  README.md  START.htm
autorun.inf  Drivers  LICENSE.txt  README.htm    scripts    uEnv.txt

If you look in /boot you'll see the files used to boot.

MLO
This is the x-loader that the ROM-based loader loads.
u-boot.bin
This is is U-Boot!
uImage
The kernel
uEnv.txt
Kernel command line arguments
uEnv
a directory of uEnv.txt files for various screen sizes


Look in uEnv.txt

beagle$ cat uEnv.txt
optargs=run_hardware_tests quiet

These are the arguments that are passed to the kernel when it boots. Try editing the file and removing quiet, then reboot. You should see many more boot messages.

Kernel boot messages

Here's what I got with quiet removed.

Starting kernel

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.25 (koen@Angstrom-F16-vm-rpm) (gcc version 4.5.4 20120305 (prerelease) (GCC) ) #1 Fri Aug 10 10:33:12 CEST 2012
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES1.0 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyO0,115200n8 run_hardware_tests root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait ip=none
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    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: 256MB = 256MB total
[    0.000000] Memory: 253240k/253240k available, 8904k 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 : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf800000 - 0xc0000000   (   8 MB)
[    0.000000]       .text : 0xc0008000 - 0xc047fa10   (4575 kB)
[    0.000000]       .init : 0xc0480000 - 0xc04b8000   ( 224 kB)
[    0.000000]       .data : 0xc04b8000 - 0xc050a168   ( 329 kB)
[    0.000000]        .bss : 0xc050a18c - 0xc0575894   ( 430 kB)
[    0.000000] NR_IRQS:410 nr_irqs:410 410
[    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: GPTIMER2 at 24000000 Hz
[    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000183] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[    0.058563] pid_max: default: 32768 minimum: 301
[    0.058746] Security Framework initialized
[    0.058807] Mount-cache hash table entries: 512
[    0.059234] Initializing cgroup subsys cpuacct
[    0.059295] Initializing cgroup subsys memory
[    0.059326] Initializing cgroup subsys devices
[    0.059356] Initializing cgroup subsys freezer
[    0.059356] Initializing cgroup subsys blkio
[    0.059387] Initializing cgroup subsys perf_event
[    0.059478] CPU: Testing write buffer coherency: ok
[    0.060729] devtmpfs: initialized
[    0.081268] omap_hwmod: gfx: failed to hardreset
[    0.097991] omap_hwmod: pruss: failed to hardreset
[    0.098571] print_constraints: dummy: 
[    0.098876] NET: Registered protocol family 16
[    0.100128] OMAP GPIO hardware version 0.1
[    0.101409] omap_mux_init: Add partition: #1: core, flags: 0
[    0.102935]  omap_i2c.1: alias fck already exists
[    0.103363] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.103546]  omap2_mcspi.1: alias fck already exists
[    0.103698]  omap2_mcspi.2: alias fck already exists
[    0.103881]  edma.0: alias fck already exists
[    0.103881]  edma.0: alias fck already exists
[    0.103912]  edma.0: alias fck already exists
[    0.104003] cape: pcm register
[    0.114349] bio: create slab <bio-0> at 0
[    0.115661] SCSI subsystem initialized
[    0.116607] usbcore: registered new interface driver usbfs
[    0.116760] usbcore: registered new interface driver hub
[    0.116943] usbcore: registered new device driver usb
[    0.117095] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.117248] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.117797] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.119110] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.119720] Switching to clocksource gp timer
[    0.147979] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.148193] musb-hdrc musb-hdrc.0: dma type: pio
[    0.148406] MUSB0 controller's USBSS revision = 4ea20800
[    0.148895] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
[    0.149230] musb-hdrc musb-hdrc.1: dma type: pio
[    0.149383] MUSB1 controller's USBSS revision = 4ea20800
[    0.149536] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.149627] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.149871] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.149871] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.149902] usb usb1: Product: MUSB HDRC host driver
[    0.149932] usb usb1: Manufacturer: Linux 3.2.25 musb-hcd
[    0.149932] usb usb1: SerialNumber: musb-hdrc.1
[    0.150695] hub 1-0:1.0: USB hub found
[    0.150726] hub 1-0:1.0: 1 port detected
[    0.151275] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
[    0.151702] NET: Registered protocol family 2
[    0.151947] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.152404] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.152648] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.152770] TCP: Hash tables configured (established 8192 bind 8192)
[    0.152801] TCP reno registered
[    0.152801] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.152832] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.153137] NET: Registered protocol family 1
[    0.153533] RPC: Registered named UNIX socket transport module.
[    0.153533] RPC: Registered udp transport module.
[    0.153564] RPC: Registered tcp transport module.
[    0.153564] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.155517] audit: initializing netlink socket (disabled)
[    0.155578] type=2000 audit(0.150:1): initialized
[    0.157165] VFS: Disk quotas dquot_6.5.2
[    0.157226] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.158416] msgmni has been set to 494
[    0.159545] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.159667] io scheduler noop registered
[    0.159667] io scheduler deadline registered
[    0.159759] io scheduler cfq registered (default)
[    0.160858] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.162414] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.792907] console [ttyO0] enabled
[    0.797210] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.805175] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.813049] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.820953] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.828826] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.838073] brd: module loaded
[    0.846069] loop: module loaded
[    0.849487] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.910339] No daughter card found
[    0.913970] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.929260] Board name: A335BONE
[    0.932678] Board version: 00A3
[    0.936004] The board is a AM335x Beaglebone.
[    0.941284] tps65217 1-0024: TPS65217 ID 0x7 version 1.0
[    0.948760] print_constraints: DCDC1: 900 <--> 1800 mV at 1800 mV 
[    0.957275] print_constraints: DCDC2: 900 <--> 3300 mV at 1275 mV 
[    0.965728] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV 
[    0.974151] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV 
[    0.982604] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV 
[    0.990936] print_constraints: LDO3: 1800 <--> 3300 mV at 3300 mV 
[    0.999359] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV 
[    1.006408] Maximum current provided by the USB port is 500mA which is not sufficient when operating @OPP120 and OPPTURBO. The current requirement for some use-cases using OPP100 might also exceed the maximum current that the USB port can provide. Unless you are fully confident that the current requirements for OPP100 use-case don't exceed the USB limits, switching to AC power is recommended.
[    1.043487]  omap_i2c.3: alias fck already exists
[    1.048706] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[    1.059112] at24 3-0054: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    1.120361] BeagleBone cape EEPROM: could not read eeprom at address 0x54
[    1.127563] at24 3-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    1.190368] BeagleBone cape EEPROM: could not read eeprom at address 0x55
[    1.197570] at24 3-0056: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    1.260375] BeagleBone cape EEPROM: could not read eeprom at address 0x56
[    1.267578] at24 3-0057: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    1.330383] BeagleBone cape EEPROM: could not read eeprom at address 0x57
[    1.337707]  omap_hsmmc.0: alias fck already exists
[    1.343017] BeagleBone cape: exporting ADC pins to sysfs
[    1.348876] Beaglebone: initializing onboard LEDs
[    1.353881] BeagleBone cape: exporting SPI pins as spidev
[    1.360107] BeagleBone cape: initializing w1-gpio
[    1.365234] w1-gpio connected to P8_6
[    1.369781] SCSI Media Changer driver v0.25 
[    1.374694] CAN device driver interface
[    1.378753] CAN bus driver for Bosch D_CAN controller 1.0
[    1.430419] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    1.436920] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    1.444580] davinci_mdio.0: probed
[    1.448181] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[    1.457061] usbcore: registered new interface driver cdc_acm
[    1.463073] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.471618] usbcore: registered new interface driver usblp
[    1.477478] usbcore: registered new interface driver cdc_wdm
[    1.483520] usbcore: registered new interface driver uas
[    1.489135] Initializing USB Mass Storage driver...
[    1.494445] usbcore: registered new interface driver usb-storage
[    1.500793] USB Mass Storage support registered.
[    1.505767] usbcore: registered new interface driver libusual
[    1.512329] mousedev: PS/2 mouse device common for all mice
[    1.518829] dev addr = cfa08608
[    1.522186] pdev addr = cfa08600
[    1.526397] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[    1.533142] omap_rtc: already running
[    1.537170] i2c /dev entries driver
[    1.541351] Linux media interface: v0.10
[    1.545593] Linux video capture interface: v2.00
[    1.550811] Driver for 1-wire Dallas network protocol.
[    1.557617] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.565521] cpuidle: using governor ladder
[    1.570037] cpuidle: using governor menu
[    1.577178] usbcore: registered new interface driver usbhid
[    1.583099] usbhid: USB HID core driver
[    1.588195] usbcore: registered new interface driver snd-usb-audio
[    1.595794] ALSA device list:
[    1.598907]   No soundcards found.
[    1.602966] TCP cubic registered
[    1.606353] Initializing XFRM netlink socket
[    1.610931] NET: Registered protocol family 17
[    1.615661] NET: Registered protocol family 15
[    1.620361] can: controller area network core (rev 20090105 abi 8)
[    1.626983] NET: Registered protocol family 29
[    1.631713] can: raw protocol (rev 20090105)
[    1.636230] Registering the dns_resolver key type
[    1.641296] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    1.649383] ThumbEE CPU extension supported.
[    1.653961] mux: Failed to setup hwmod io irq -22
[    1.659759] Power Management for AM33XX family
[    1.664672] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    1.671417] Copied the M3 firmware to UMEM
[    1.681396] registered taskstats version 1
[    1.686035] Detected MACID=d4:94:a1:39:ed:c
[    1.691589] omap_rtc omap_rtc: setting system clock to 2000-01-01 01:35:27 UTC (946690527)
[    1.701171] Waiting for root device /dev/mmcblk0p2...
[    1.741912] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.753051] mmc0: new high speed SDHC card at address 1234
[    1.759460] mmcblk0: mmc0:1234 SA04G 3.67 GiB 
[    1.766632]  mmcblk0: p1 p2
[    1.830230] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.838897] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.856109] devtmpfs: mounted
[    1.859680] Freeing init memory: 224K

Welcome to �[1;35mThe Ångström Distribution�[0m!

[    2.390228] NET: Registered protocol family 10
Starting udev Coldplug all Devices...                                          
Starting Remount API VFS...                                                    
Starting Temporary Directory...                                                
Started Set Up Additional Binary Formats                               [�[1;32m  OK  �[0m]
Started Huge Pages File System                                         [�[1;32m  OK  �[0m]
Starting Debug File System...                                                  
Starting POSIX Message Queue File System...                                    
Starting Apply Kernel Variables...                                             
Starting Journal Service...                                                    
Started Journal Service                                                [�[1;32m  OK  �[0m]
Starting Load Kernel Modules...                                                
Starting udev Kernel Device Manager...                                         
Starting File System Check on Root Device...                                   
Started Remount API VFS                                                [�[1;32m  OK  �[0m]
Started Temporary Directory                                            [�[1;32m  OK  �[0m]
Started Debug File System                                       [    3.278259] udevd[64]: starting version 182
       [�[1;32m  OK  �[0m]
Started udev Kernel Device Manager                                     [�[1;32m  OK  �[0m]
Started POSIX Message Queue File System                                [�[1;32m  OK  �[0m]
Started Apply Kernel Variables          [    3.322021] Bluetooth: Core ver 2.16
                [    3.326080] NET: Registered protocol family 31
               [[    3.332092] Bluetooth: HCI device and connection manager initialized
�[1;32m  OK  �[0[    3.340179] Bluetooth: HCI socket layer initialized
m]
[    3.346710] Bluetooth: L2CAP socket layer initialized
[    3.352416] Bluetooth: SCO socket layer initialized
[    3.416198] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Started udev Coldplug all Devices                                      [�[1;32m  OK  �[0m]
[    3.529388] NET: Registered protocol family 23
[    3.573181] IrCOMM protocol (Dag Brattli)
[    3.664764] Bluetooth: RFCOMM TTY layer initialized
[    3.669982] Bluetooth: RFCOMM socket layer initialized
[    3.675476] Bluetooth: RFCOMM ver 1.11
Started Load Kernel Modules                                            [�[1;32m  OK  �[0m]
Started Configuration File System                                      [�[1;32m  OK  �[0m]
Started FUSE Control File System                                       [�[1;32m  OK  �[0m]
systemd-fsck[65]: Angstrom-Cloud9: clean, 51905/218592 files, 304442/873534 blocks
Started File System Check on Root Device                               [�[1;32m  OK  �[0m]
Starting Remount Root FS...                                                    
[    4.846923] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Started Remount Root FS                                                [�[1;32m  OK  �[0m]
Started Run pending postinsts                                          [�[1;32m  OK  �[0m]
Starting Load Random Seed...                                                   
Starting Recreate Volatile Files and Directories...                            
Started Machine ID first boot configure                                [�[1;32m  OK  �[0m]
Started Load Random Seed                                               [�[1;32m  OK  �[0m]
Started Recreate Volatile Files and Directories                        [�[1;32m  OK  �[0m]
Starting Console System Startup Logging...                                     
Starting Restore Sound Card State...                                           
Starting xinetd.service...                                                     
Starting Periodic Command Scheduler...                                         
Started Periodic Command Scheduler                                     [�[1;32m  OK  �[0m]
Starting Avahi mDNS/DNS-SD Stack...                                            
Starting Connection service...                                                 
Starting Timestamping service...                                               
Started Timestamping service                                           [�[1;32m  OK  �[0m]
Starting Angstrom LED config...                                                
Started Angstrom LED config                                            [�[1;32m  OK  �[0m]
Starting Beaglebone cape support...                                            
Starting Start usb mass storage gadget...                                      
Started Start usb mass storage gadget                                  [�[1;32m  OK  �[0m]
Starting Beaglebone 101 presentation...                                        
Started Beaglebone 101 presentation                                    [�[1;32m  OK  �[0m]
Starting Cloud9 IDE...                                                         
Started Cloud9 IDE                                                     [�[1;32m  OK  �[0m]
Starting GateOne daemon...                                                     
Started GateOne daemon                                                 [�[1;32m  OK  �[0m]
[    5.884307]  gadget: Mass Storage Function, version: 2009/09/11
[    5.890625]  gadget: Number of LUNs=1
[    5.894561]  lun0: LUN: removable file: /dev/mmcblk0p1
[    5.900024]  gadget: Mass Storage Gadget, version: 2009/09/11
[    5.906127]  gadget: userspace failed to provide iSerialNumber
[    5.912322]  gadget: g_mass_storage ready
[    5.916564] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    5.922241] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[    5.930175] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    5.937377] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.945007] usb usb2: Product: MUSB HDRC host driver

[    5.950256] usb usb2: Manufacturer: Linux 3.2.25 musb-hcd

[    5.955963] usb usb2: SerialNumber: musb-hdrc.0
[    5.979034] hub 2-0:1.0: USB hub found
[    5.983123] hub 2-0:1.0: 1 port detected
[    5.987304] musb_g_ep0_irq 720: SetupEnd came in a wrong ep0stage setup
Started SSH Key Generation                                             [�[1;32m  OK  �[0m]
Starting Login Service...                                                      
Starting BeagleBone Tester...                                                  
Started BeagleBone Tester                                              [�[1;32m  OK  �[0m]
Starting Permit User Sessions...                                               
Starting D-Bus System Message Bus...                                           
Started Console System Startup Logging                                 [�[1;32m  OK  �[0m]
Started Restore Sound Card State                                       [�[1;32m  OK  �[0m]
Started Permit User Sessions    [    6.350128]  gadget: high-speed config #1: Linux File-Backed Storage
                                       [�[1;32m  OK  �[0m]
Starting Getty on tty1...                                                      
Started Getty on tty1                                                  [�[1;32m  OK  �[0m]
Starting Serial Getty on ttyO0...                                              
Started Serial Getty on ttyO0  Started D-Bus System Message Bus                                       [�[1;32m  OK  �[0m]
xinetd[215]: Starting internet superserver: xinetd.
Started xinetd.service                                                 [�[1;32m  OK  �[0m]
Starting pvr-init.service...                                                   
Started Beaglebone cape support                                        [�[1;32m  OK  �[0m]
Started pvr-init.service                                               [�[1;32m  OK  �[0m]
Started Avahi mDNS/DNS-SD Stack                                        [�[1;32m  OK  �[0m]
Started Connection service                                             [�[1;32m  OK  �[0m]
Started Login Service                                                  [�[1;32m  OK  �[0m]
[    7.832397] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.227478] 
[    8.227478] CPSW phy found : id is : 0x7c0f1
[    8.234436] PHY 0:01 not found
[    8.262908] ADDRCONF(NETDEV_UP): eth0: link is not ready
Starting Gnome Display Manager...                                              
Started Gnome Display Manager                                          [�[1;32m  OK  �[0m]
[   12.222229] PHY: 0:00 - Link is Up - 100/Full
[   12.227050] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

.---O---.                                           
|       |                  .-.           o o        
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution beaglebone ttyO0

Angstrom v2012.05 - Kernel 3.2.25

beaglebone login: root
Last login: Tue Aug 14 10:24:19 UTC 2012 on ttyO0
root@beaglebone:~# 

Stopping kernel

shutdown -r now 
beagle$
Stopping /etc/machine-id...                                                    
Stopping Timestamping service...                                               
Stopping Angstrom LED config...                                                
Stopping Beaglebone cape support...                                            
Stopping Start usb mass storage gadget...                                      
Stopping Gnome Display Manager...                                              
Stopping Periodic Command Scheduler...                                         
Stopping Avahi mDNS/DNS-SD Stack...                                            
Stopping Connection service...                                                 
Stopping BeagleStopping pvr-init.service...                                                   
Starting Store Sound Card State...                                             
Starting Save Random Seed...                                                   
Stopped Periodic Command Scheduler                                     [�[1;32m  OK  �[0m]
Stopped Cloud9 IDE                                                     [�[1;32m  OK  �[0m]
Stopped Login Service                                                  [�[1;32m  OK  �[0m]
Stopped Serial Getty on ttyO0                                          [�[1;32m  OK  �[0m]
Stopped Getty on tty1                                                  [�[1;32m  OK  �[0m]
Stopped GateOne daemon                                                 [�[1;32m  OK  �[0m]
Stopped Beaglebone 101 presentation                                    [�[1;32m  OK  �[0m]
Stopped Gnome Display Manager                                          [�[1;32m  OK  �[0m]
Stopped /etc/mac[  832.455993] musb-hdrc musb-hdrc.0: remove, state 1
hine-id         [  832.461822] usb usb2: USB disconnect, device number 1
                                       [�[1;32m  OK  �[0m]
Stopping Permit User Sessions...                                               
Started Save Random Seed                                               [�[1;32m  OK  �[0m]
Stopped D-Bus Sy[  832.563262] musb-hdrc musb-hdrc.0: USB bus 2 deregistered
stem Message Bus                                       [�[1;32m  OK  �[0m]
Failed to start Store Sound Card State                                 [�[1;31mFAILED�[0m]
See 'systemctl status alsa-store.service' for details.                         
Stopped Start usb mass storage gadget                                  [�[1;32m  OK  �[0m]
Stopped pvr-init.service                                               [�[1;32m  OK  �[0m]
Stopped Permit User Sessions                                           [�[1;32m  OK  �[0m]
Stopping xinetd.service...                                                     
Stopped Avahi mDNS/DNS-SD Stack                                        [�[1;32m  OK  �[0m]
Stopped xinetd.service                                                 [�[1;32m  OK  �[0m]
Stopped Timestamping service                                           [�[1;32m  OK  �[0m]
Stopped Beaglebone cape support                                        [�[1;32m  OK  �[0m]
Stopped Angstrom LED config                                            [�[1;32m  OK  �[0m]
xinetd[360]: Stopping internet superserver: xinetd.
[  833.796325] Bridge firewalling registered
Stopped Connection service                                             [�[1;32m  OK  �[0m]
Starting Console System Reboot Logging...                                      
Stopping Apply Kernel Variables...                                             
Stopped Apply Kernel Variables                                         [�[1;32m  OK  �[0m]
Stopping Load Kernel Modules...                                                
Stopped Load Kernel Modules                                            [�[1;32m  OK  �[0m]
Starting Notify Audit System and Update UTMP about System Shutdown...          
Stopping Remount API VFS...                                                    
Stopped Remount API VFS                                                [�[1;32m  OK  �[0m]
Stopping Temporary Directory...                                                
Stopping Remount Root FS...                                                    
Stopped Remount Root FS                                                [�[1;32m  OK  �[0m]
Started Console System Reboot Logging                                  [�[1;32m  OK  �[0m]
Stopped Temporary Directory                                            [�[1;32m  OK  �[0m]
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Unmounting file systems.
Unmounted /dev/mqueue.
Unmounted /sys/kernel/debug.
[  873.316955] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Disabling swaps.
Detaching loop devices.
Detaching DM devices.
[  873.362060] musb-hdrc musb-hdrc.1: remove, state 1
[  873.367248] usb usb1: USB disconnect, device number 1
[  873.373565] musb-hdrc musb-hdrc.1: USB bus 1 deregistered
[  873.379669] Restarting system.

systemd

beagle$ systemctl
UNIT                      LOAD   ACTIVE SUB       JOB DESCRIPTION
proc-sys...misc.automount loaded active running       Arbitrary Executable File Formats File System Automount Point
sys-devi...et-eth0.device loaded active plugged       /sys/devices/platform/cpsw.0/net/eth0
sys-devi...et-usb0.device loaded active plugged       /sys/devices/platform/omap/musb-ti81xx/musb-hdrc.0/gadget/net/usb0
sys-devi...cblk0p1.device loaded active plugged       /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p
sys-devi...cblk0p2.device loaded active plugged       /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p
sys-devi...mmcblk0.device loaded active plugged       /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:1234/block/mmcblk0
sys-devi...y-ttyO0.device loaded active plugged       /sys/devices/platform/omap/omap_uart.0/tty/ttyO0
sys-devi...y-ttyO1.device loaded active plugged       /sys/devices/platform/omap/omap_uart.1/tty/ttyO1
sys-devi...y-ttyO2.device loaded active plugged       /sys/devices/platform/omap/omap_uart.2/tty/ttyO2
sys-devi...y-ttyO3.device loaded active plugged       /sys/devices/platform/omap/omap_uart.3/tty/ttyO3
sys-devi...y-ttyO4.device loaded active plugged       /sys/devices/platform/omap/omap_uart.4/tty/ttyO4
sys-devi...y-ttyO5.device loaded active plugged       /sys/devices/platform/omap/omap_uart.5/tty/ttyO5
sys-devi...y-ttyS0.device loaded active plugged       /sys/devices/platform/serial8250/tty/ttyS0
sys-devi...y-ttyS1.device loaded active plugged       /sys/devices/platform/serial8250/tty/ttyS1
sys-devi...y-ttyS2.device loaded active plugged       /sys/devices/platform/serial8250/tty/ttyS2
sys-devi...y-ttyS3.device loaded active plugged       /sys/devices/platform/serial8250/tty/ttyS3
sys-devi...et-sit0.device loaded active plugged       /sys/devices/virtual/net/sit0
sys-devi...ty-tty0.device loaded active plugged       /sys/devices/virtual/tty/tty0
sys-devi...ty-tty1.device loaded active plugged       /sys/devices/virtual/tty/tty1
sys-devi...y-tty10.device loaded active plugged       /sys/devices/virtual/tty/tty10
sys-devi...y-tty11.device loaded active plugged       /sys/devices/virtual/tty/tty11
sys-devi...y-tty12.device loaded active plugged       /sys/devices/virtual/tty/tty12
sys-devi...ty-tty2.device loaded active plugged       /sys/devices/virtual/tty/tty2
sys-devi...ty-tty3.device loaded active plugged       /sys/devices/virtual/tty/tty3
sys-devi...ty-tty4.device loaded active plugged       /sys/devices/virtual/tty/tty4
sys-devi...ty-tty5.device loaded active plugged       /sys/devices/virtual/tty/tty5
sys-devi...ty-tty6.device loaded active plugged       /sys/devices/virtual/tty/tty6
sys-devi...ty-tty7.device loaded active plugged       /sys/devices/virtual/tty/tty7
sys-devi...ty-tty8.device loaded active plugged       /sys/devices/virtual/tty/tty8
sys-devi...ty-tty9.device loaded active plugged       /sys/devices/virtual/tty/tty9
-.mount                   loaded active mounted       /
dev-mqueue.mount          loaded active mounted       POSIX Message Queue File System
etc-machine\x2did.mount   loaded active mounted       /etc/machine-id
proc-sys...fmt_misc.mount loaded active mounted       Arbitrary Executable File Formats File System
sys-kernel-debug.mount    loaded active mounted       Debug File System
tmp.mount                 loaded active mounted       Temporary Directory
systemd-...d-console.path loaded active waiting       Dispatch Password Requests to Console Directory Watch
systemd-...word-wall.path loaded active waiting       Forward Password Requests to Wall Directory Watch
avahi-daemon.service      loaded active running       Avahi mDNS/DNS-SD Stack
bone101.service           loaded active running       Beaglebone 101 presentation
cape.service              loaded active exited        Beaglebone cape support
cloud9.service            loaded active running       Cloud9 IDE
connman.service           loaded active running       Connection service
console-...-start.service loaded active exited        Console System Startup Logging
crond.service             loaded active running       Periodic Command Scheduler
dbus.service              loaded active running       D-Bus System Message Bus
dropbear...:59238.service loaded active running       SSH Per-Connection Server
gateone.service           loaded active running       GateOne daemon
gdm.service               loaded active running       Gnome Display Manager
getty@tty1.service        loaded active running       Getty on tty1
leds.service              loaded active exited        Angstrom LED config
network-...t-init.service loaded active exited        Start USB Ethernet gadget
pvr-init.service          loaded active exited        pvr-init.service
remount-rootfs.service    loaded active exited        Remount Root FS
serial-g...@ttyO0.service loaded active running       Serial Getty on ttyO0
systemd-journald.service  loaded active running       Journal Service
systemd-logind.service    loaded active running       Login Service
systemd-...s-load.service loaded active exited        Load Kernel Modules
systemd-...pi-vfs.service loaded active exited        Remount API VFS
systemd-sysctl.service    loaded active exited        Apply Kernel Variables
systemd-...-setup.service loaded active exited        Recreate Volatile Files and Directories
systemd-...ssions.service loaded active exited        Permit User Sessions
timestamp.service         loaded active exited        Timestamping service
udev-trigger.service      loaded active exited        udev Coldplug all Devices
udev.service              loaded active running       udev Kernel Device Manager
udhcpd.service            loaded active running       DHCP server for USB0 network gadget
xinetd.service            loaded active exited        xinetd.service
avahi-daemon.socket       loaded active listening     Avahi mDNS/DNS-SD Stack Activation Socket
dbus.socket               loaded active running       D-Bus System Message Bus Socket
dropbear.socket           loaded active listening     dropbear.socket
systemd-initctl.socket    loaded active listening     /dev/initctl Compatibility Named Pipe
systemd-journald.socket   loaded active running       Journal Socket
systemd-shutdownd.socket  loaded active listening     Delayed Shutdown Socket
udev-control.socket       loaded active listening     udev Control Socket
udev-kernel.socket        loaded active running       udev Kernel Socket
basic.target              loaded active active        Basic System
getty.target              loaded active active        Login Prompts
graphical.target          loaded active active        Graphical Interface
local-fs-pre.target       loaded active active        Local File Systems (Pre)
local-fs.target           loaded active active        Local File Systems
multi-user.target         loaded active active        Multi-User
remote-fs.target          loaded active active        Remote File Systems
sockets.target            loaded active active        Sockets
swap.target               loaded active active        Swap
sysinit.target            loaded active active        System Initialization
systemd-...es-clean.timer loaded active waiting       Daily Cleanup of Temporary Directories

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
JOB    = Pending job for the unit.

86 units listed. Pass --all to see inactive units, too.




thumb‎ Embedded Linux Class by Mark A. Yoder