Difference between revisions of "EBC Exercise 21a Boot Sequence"
(→systemd: Added) |
m (→Both: Corrected prompt) |
||
(26 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
== Booting Up == | == Booting Up == | ||
+ | [[File:Bootloader.jpg|200px|right]] | ||
+ | You need to attach a 3.3V FTDI cable to see the boot sequence. | ||
+ | [[File:FTDIcable.jpg|200px|thumb|FTDI cable]] | ||
− | + | === BeagleBone Black === | |
+ | [[File:FDTIconnector.jpg|200px|FTDI connector]] | ||
+ | [[File:SerialDebug.png|200px|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. | ||
+ | |||
+ | === BeagleBone Blue === | ||
+ | [[File:FDTItoJST.png|200px||FTDI to JST cable]] | ||
+ | [[File:BlueUT0JSTconnecter.png|200px|Blue UT0 connector]] | ||
+ | |||
+ | On the FDTI connector look for the black lead which is marked with a little triangle. This connects to black lead on the JST cable. | ||
+ | Then plug the JST cable into UT0 on the Blue. | ||
+ | |||
+ | === Both === | ||
+ | Boot up your bone and connect to the serial port using the '''screen''' command. Hit return and log in. You may need to give yourself access to /dev/ttyUSB0 before running screen. | ||
+ | |||
+ | host$ '''ls -ls /dev/ttyUSB0 ''' | ||
+ | 0 crw-rw---- 1 root dialout 188, 0 Sep 22 09:36 /dev/ttyUSB0 | ||
+ | host$ '''sudo adduser $USER dialout''' | ||
host$ '''screen /dev/ttyUSB0 115200''' | host$ '''screen /dev/ttyUSB0 115200''' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | The | + | Debian GNU/Linux 8 yoder-debian-bone ttyS0 |
+ | BeagleBoard.org Debian Image 2016-08-28 | ||
+ | Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian | ||
+ | default username:password is [debian:temppwd] | ||
+ | The IP Address for usb0 is: 192.168.7.2 | ||
− | + | bone login: '''debian''' | |
− | + | Password: | |
− | + | Last login: Mon Dec 26 14:51:16 EST 2022 from 192.168.7.1 on pts/1 | |
− | + | bone$ | |
Run the following on your host to learn how to log data with '''screen''' | Run the following on your host to learn how to log data with '''screen''' | ||
Line 33: | Line 49: | ||
Now shutdown and be ready to hit return when you get the u-boot prompt. | Now shutdown and be ready to hit return when you get the u-boot prompt. | ||
− | + | bone$ '''reboot''' | |
− | + | [ 94.382034] reboot: Restarting system | |
− | + | ||
− | + | Only one message when the kernel shuts down in quiet mode. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | [ | ||
− | |||
== U-Boot Starting == | == U-Boot Starting == | ||
− | + | U-Boot SPL 2016.03-00001-g9a81f4a (May 27 2016 - 12:25:00) | |
− | U-Boot SPL | + | Trying to boot from MMC |
− | + | bad magic | |
− | + | U-Boot 2016.03-00001-g9a81f4a (May 27 2016 - 12:25:00 -0500), Build: jenkins-github_Bootloader-Builder-394 | |
− | + | Watchdog enabled | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | U-Boot | ||
− | |||
I2C: ready | I2C: ready | ||
− | DRAM: | + | DRAM: 512 MiB |
− | + | Reset Source: Global warm SW reset has occurred. | |
− | + | Reset Source: Power-on reset has occurred. | |
− | |||
− | |||
− | |||
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 | MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 | ||
− | + | Using default environment | |
+ | Net: <ethaddr> not set. Validating first E-fuse MAC | ||
+ | cpsw, usb_ether | ||
− | + | Press SPACE to abort autoboot in 2 seconds | |
− | + | => | |
− | |||
== U-Boot help == | == U-Boot help == | ||
You are now in the u-boot boot loader. Try '''help''' | You are now in the u-boot boot loader. Try '''help''' | ||
− | + | => help | |
? - alias for 'help' | ? - alias for 'help' | ||
askenv - get environment variables from stdin | askenv - get environment variables from stdin | ||
Line 81: | Line 81: | ||
boot - boot default, i.e., run 'bootcmd' | boot - boot default, i.e., run 'bootcmd' | ||
bootd - boot default, i.e., run 'bootcmd' | bootd - boot default, i.e., run 'bootcmd' | ||
+ | bootelf - Boot from an ELF image in memory | ||
bootm - boot application image from memory | bootm - boot application image from memory | ||
bootp - boot image via network using BOOTP/TFTP protocol | bootp - boot image via network using BOOTP/TFTP protocol | ||
+ | bootvx - Boot vxWorks from an ELF image | ||
+ | bootz - boot Linux zImage image from memory | ||
cmp - memory compare | cmp - memory compare | ||
coninfo - print console devices and information | coninfo - print console devices and information | ||
cp - memory copy | cp - memory copy | ||
crc32 - checksum calculation | crc32 - checksum calculation | ||
− | + | dfu - Device Firmware Upgrade | |
dhcp - boot image via network using DHCP/TFTP protocol | dhcp - boot image via network using DHCP/TFTP protocol | ||
+ | dm - Driver model low level access | ||
echo - echo args to console | echo - echo args to console | ||
editenv - edit environment variable | editenv - edit environment variable | ||
+ | eeprom - EEPROM sub-system | ||
env - environment handling commands | env - environment handling commands | ||
exit - exit script | exit - exit script | ||
ext2load- load binary file from a Ext2 filesystem | ext2load- load binary file from a Ext2 filesystem | ||
ext2ls - list files in a directory (default /) | ext2ls - list files in a directory (default /) | ||
− | ext4load- load binary file from a | + | ext4load- load binary file from a Ext4 filesystem |
ext4ls - list files in a directory (default /) | ext4ls - list files in a directory (default /) | ||
+ | ext4size- determine a file's size | ||
+ | ext4write- create a file in the root directory | ||
false - do nothing, unsuccessfully | false - do nothing, unsuccessfully | ||
+ | fastboot- use USB Fastboot protocol | ||
fatinfo - print information about filesystem | fatinfo - print information about filesystem | ||
fatload - load binary file from a dos filesystem | fatload - load binary file from a dos filesystem | ||
fatls - list files in a directory (default /) | fatls - list files in a directory (default /) | ||
+ | fatsize - determine a file's size | ||
+ | fatwrite- write file into a dos filesystem | ||
+ | fdt - flattened device tree utility commands | ||
+ | fstype - Look up a filesystem type | ||
go - start application at address 'addr' | go - start application at address 'addr' | ||
+ | gpio - query and control gpio pins | ||
+ | gpt - GUID Partition Table | ||
help - print command description/usage | help - print command description/usage | ||
i2c - I2C sub-system | i2c - I2C sub-system | ||
− | |||
iminfo - print header information for application image | iminfo - print header information for application image | ||
imxtract- extract a part of a multi-image | imxtract- extract a part of a multi-image | ||
itest - return true/false on integer compare | itest - return true/false on integer compare | ||
+ | load - load binary file from a filesystem | ||
loadb - load binary file over serial line (kermit mode) | loadb - load binary file over serial line (kermit mode) | ||
loads - load S-Record file over serial line | 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) | loady - load binary file over serial line (ymodem mode) | ||
loop - infinite loop on address range | loop - infinite loop on address range | ||
+ | ls - list files in a directory (default /) | ||
md - memory display | md - memory display | ||
+ | mdio - MDIO utility commands | ||
+ | mii - MII utility commands | ||
mm - memory modify (auto-incrementing address) | mm - memory modify (auto-incrementing address) | ||
mmc - MMC sub system | mmc - MMC sub system | ||
mmcinfo - display MMC info | mmcinfo - display MMC info | ||
− | |||
mw - memory write (fill) | mw - memory write (fill) | ||
− | |||
− | |||
− | |||
nfs - boot image via network using NFS protocol | nfs - boot image via network using NFS protocol | ||
nm - memory modify (constant address) | nm - memory modify (constant address) | ||
+ | part - disk partition related commands | ||
ping - send ICMP ECHO_REQUEST to network host | ping - send ICMP ECHO_REQUEST to network host | ||
printenv- print environment variables | printenv- print environment variables | ||
+ | pxe - commands to get and boot from pxe files | ||
reset - Perform RESET of the CPU | reset - Perform RESET of the CPU | ||
run - run commands in an environment variable | run - run commands in an environment variable | ||
− | + | save - save file to a filesystem | |
setenv - set environment variables | setenv - set environment variables | ||
sf - SPI flash sub-system | sf - SPI flash sub-system | ||
showvar - print local hushshell variables | showvar - print local hushshell variables | ||
+ | size - determine a file's size | ||
sleep - delay execution for some time | sleep - delay execution for some time | ||
source - run script from memory | source - run script from memory | ||
+ | spl - SPL configuration | ||
+ | sspi - SPI utility command | ||
+ | sysboot - command to get and boot from syslinux files | ||
test - minimal test like /bin/sh | test - minimal test like /bin/sh | ||
tftpboot- boot image via network using TFTP protocol | tftpboot- boot image via network using TFTP protocol | ||
true - do nothing, successfully | true - do nothing, successfully | ||
+ | usb - USB sub-system | ||
+ | usbboot - boot from USB device | ||
version - print monitor, compiler and linker version | version - print monitor, compiler and linker version | ||
Line 144: | Line 166: | ||
boot - boot default, i.e., run 'bootcmd' | boot - boot default, i.e., run 'bootcmd' | ||
U-boot# '''print bootcmd''' | U-boot# '''print bootcmd''' | ||
− | bootcmd= | + | bootcmd=run findfdt; run distro_bootcmd |
− | |||
− | |||
− | |||
− | Figure out what's happening above by | + | Figure out what's happening above by printing '''findfdt''' and '''distro_bootcmd''' |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== U-Boot print == | == U-Boot print == | ||
It might be helpful to print the contents of all the variables and save it for future reference. | It might be helpful to print the contents of all the variables and save it for future reference. | ||
− | + | => '''print''' | |
− | + | arch=arm | |
+ | args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=PARTUUID=${uuid} ro rootfstype=${mmcrootfstype} ${cmdline} | ||
+ | args_mmc_old=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=${oldroot} ro rootfstype=${mmcrootfstype} ${cmdline} | ||
+ | args_mmc_uuid=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=UUID=${uuid} ro rootfstype=${mmcrootfstype} ${cmdline} | ||
+ | args_netinstall=setenv bootargs ${netinstall_bootargs} ${optargs} ${cape_disable} ${cape_enable} root=/dev/ram rw ${cmdline} | ||
+ | args_uenv_root=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=${uenv_root} ro rootfstype=${mmcrootfstype} ${cmdline} | ||
+ | autoconf=off | ||
baudrate=115200 | baudrate=115200 | ||
− | + | board=am335x | |
− | + | board_name=A335BNLT | |
− | + | board_rev=0A5C | |
− | + | boot=${interface} dev ${mmcdev}; if ${interface} rescan; then gpio set 54;setenv bootpart ${mmcdev}:1; if test -e ${interface} ${bootpart} /etc/fstab; then setenv mmcpart 1;fi; echo Checking for: /uEnv.txt ...;if test -e ${interface} ${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 ${interface} ${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; if test -n ${uname_r}; then echo Running nfsboot_uname_r ...;run nfsboot_uname_r;fi;echo Running nfsboot ...;run nfsboot;fi;fi; echo Checking for: /${script} ...;if test -e ${interface} ${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 ${interface} ${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 ${interface} ${bootpart} /boot/uEnv.txt; then gpio set 55;load ${interface} ${bootpart} ${loadaddr} /boot/uEnv.txt;env import -t ${loadaddr} ${filesize};echo Loaded environment from /boot/uEnv.txt;if test -n ${cape}; then echo debug: [cape=${cape}] ... ;setenv fdtfile ${fdtbase}-${cape}.dtb; echo Using: dtb=${fdtfile} ...;fi; if test -n ${dtb}; then echo debug: [dtb=${dtb}] ... ;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; setenv oldroot /dev/mmcblk${mmcdev}p${mmcpart};echo Running uname_boot ...;run uname_boot;fi;fi;done;fi; | |
− | bootdelay= | + | boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} |
+ | boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf | ||
+ | boot_fdt=try | ||
+ | boot_prefixes=/ /boot/ | ||
+ | boot_script_dhcp=boot.scr.uimg | ||
+ | boot_scripts=boot.scr.uimg boot.scr | ||
+ | boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp | ||
+ | bootcmd=run findfdt; run distro_bootcmd | ||
+ | bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi | ||
+ | bootcmd_legacy_mmc0=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv interface mmc; setenv mmcdev 0; setenv bootpart 0:1 ; run boot | ||
+ | bootcmd_legacy_mmc1=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv interface mmc; setenv mmcdev 1; setenv bootpart 1:1 ; run boot | ||
+ | bootcmd_mmc0=setenv devnum 0; run mmc_boot | ||
+ | bootcmd_mmc1=setenv devnum 1; run mmc_boot | ||
+ | bootcmd_nand=run nandboot | ||
+ | bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi | ||
+ | bootcount=8 | ||
+ | bootdelay=2 | ||
+ | bootdir=/boot | ||
bootenv=uEnv.txt | bootenv=uEnv.txt | ||
− | bootfile= | + | bootfile=zImage |
+ | bootm_size=0x10000000 | ||
+ | bootpart=0:2 | ||
+ | bootscript=echo Running bootscript from mmc${bootpart} ...; source ${loadaddr} | ||
console=ttyO0,115200n8 | console=ttyO0,115200n8 | ||
+ | cpu=armv7 | ||
+ | device=eth0 | ||
+ | dfu_alt_info_emmc=rawemmc raw 0 3751936 | ||
+ | dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 0x80;spl-os-image.raw raw 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_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 0x80000;ramdisk ram 0x81000000 0x4000000 | ||
+ | distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done | ||
+ | eth1addr=c8:a0:30:b7:f9:71 | ||
ethact=cpsw | ethact=cpsw | ||
− | ethaddr= | + | ethaddr=c8:a0:30:b7:f9:6f |
− | importbootenv=echo Importing environment from | + | failumsboot=echo; echo FAILSAFE: U-Boot UMS (USB Mass Storage) enabled, media now available over the usb slave port ...; ums 0 ${interface} 1; |
− | + | fdt_addr_r=0x88000000 | |
− | + | fdtaddr=0x88000000 | |
+ | 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 if test $board_rev = BLA0; then setenv fdtfile am335x-boneblue.dtb; setenv fdtbase am335x-boneblue; elif test $board_rev = BBG1; then setenv fdtfile am335x-bonegreen.dtb; setenv fdtbase am335x-bonegreen; elif test $board_rev = GW1A; then setenv fdtfile am335x-bonegreen-wireless.dtb; setenv fdtbase am335x-bonegreen-wireless; elif test $board_rev = AIA0; then setenv fdtfile am335x-abbbi.dtb; setenv fdtbase am335x-abbbi; elif test $board_rev = EIA0; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; elif test $board_rev = SE0A; then setenv fdtfile am335x-sancloud-bbe.dtb; setenv fdtbase am335x-sancloud-bbe; elif test $board_rev = ME06; then setenv fdtfile am335x-bonegreen.dtb; setenv fdtbase am335x-bonegreen; elif test $board_rev = M10A; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; elif test $board_rev = GH01; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; else setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; fi; 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; | ||
+ | finduuid=part uuid ${interface} ${bootpart} uuid | ||
+ | gw_ip=192.168.1.1 | ||
+ | importbootenv=echo Importing environment from ${interface} ...; env import -t -r $loadaddr $filesize | ||
+ | kernel_addr_r=0x82000000 | ||
loadaddr=0x82000000 | loadaddr=0x82000000 | ||
− | loadbootenv= | + | loadbootenv=load ${interface} ${bootpart} ${loadaddr} ${bootenv} |
− | + | loadbootscript=load ${interface} ${bootpart} ${loadaddr} ${scriptfile}; | |
− | + | loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${interface} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile} | |
− | + | loadimage=load ${interface} ${bootpart} ${loadaddr} ${bootdir}/${bootfile} | |
− | + | loadramdisk=load ${interface} ${mmcdev} ${rdaddr} ramdisk.gz | |
− | + | loadrd=load ${interface} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize} | |
− | + | mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi | |
− | + | mmcboot=${interface} dev ${mmcdev}; if ${interface} rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadimage; then run mmcloados;fi;fi ;fi; | |
− | + | mmcdev=0 | |
− | + | mmcloados=run args_mmc; 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; | |
− | + | mmcrootfstype=ext4 rootwait | |
− | + | 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; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr} | |
− | + | netloadfdt=tftp ${fdtaddr} ${fdtfile} | |
− | + | netloadimage=tftp ${loadaddr} ${bootfile} | |
− | + | 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} | |
− | nfsroot | + | 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} ${tftp_dir}${bootfile}; tftp ${fdtaddr} ${tftp_dir}dtbs/${fdtfile}; run nfsargs; bootz ${loadaddr} - ${fdtaddr} |
− | + | nfsboot_uname_r=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} ${tftp_dir}vmlinuz-${uname_r}; tftp ${fdtaddr} ${tftp_dir}dtbs/${uname_r}/${fdtfile}; run nfsargs; bootz ${loadaddr} - ${fdtaddr} | |
− | |||
nfsopts=nolock | nfsopts=nolock | ||
− | + | nfsrootfstype=ext4 rootwait fixrtc | |
− | + | partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs} | |
− | + | pxefile_addr_r=0x80100000 | |
− | + | 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 | rootpath=/export/rootfs | ||
− | + | scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done | |
− | + | scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done | |
− | + | scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi | |
− | + | scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done | |
− | + | script=boot.scr | |
− | + | scriptaddr=0x80000000 | |
− | + | 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 | static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off | ||
− | stderr= | + | stderr=ns16550_serial |
− | stdin= | + | stdin=ns16550_serial |
− | stdout= | + | stdout=ns16550_serial |
+ | uname_boot=setenv bootdir /boot; setenv bootfile vmlinuz-${uname_r}; if test -e ${interface} ${bootpart} ${bootdir}/${bootfile}; then echo loading ${bootdir}/${bootfile} ...; run loadimage;setenv fdtdir /boot/dtbs/${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /usr/lib/linux-image-${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /lib/firmware/${uname_r}/device-tree; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb-${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtbs; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else if test -e ${interface} ${bootpart} ${fdtfile}; then run loadfdt;else echo; echo unable to find [dtb=${fdtfile}] did you name it correctly? ...; run failumsboot;fi;fi;fi;fi;fi;fi;fi;fi; setenv rdfile initrd.img-${uname_r}; if test -e ${interface} ${bootpart} ${bootdir}/${rdfile}; then echo loading ${bootdir}/${rdfile} ...; run loadrd;if test -n ${netinstall_enable}; then run args_netinstall; run message;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uuid}; then run args_mmc_uuid;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; else if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;fi; | ||
+ | usbnet_devaddr=c8:a0:30:b7:f9:71 | ||
+ | vendor=ti | ||
+ | ver=U-Boot 2016.03-00001-g9a81f4a (May 27 2016 - 12:25:00 -0500) | ||
+ | |||
+ | Environment size: 13813/131068 bytes | ||
Based on your investigation above, predict what will happen at boot time, then boot and check yourself. | Based on your investigation above, predict what will happen at boot time, then boot and check yourself. | ||
== U-boot boot == | == U-boot boot == | ||
− | + | => '''boot''' | |
− | + | switch to partitions #0, OK | |
− | + | mmc0 is current device | |
+ | Scanning mmc 0:1... | ||
+ | gpio: pin 56 (gpio 56) value is 0 | ||
+ | gpio: pin 55 (gpio 55) value is 0 | ||
+ | gpio: pin 54 (gpio 54) value is 0 | ||
+ | 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 | |
+ | Checking for: /uEnv.txt ... | ||
+ | 1179 bytes read in 9 ms (127.9 KiB/s) | ||
+ | |||
+ | gpio: pin 55 (gpio 55) value is 1 | ||
Loaded environment from uEnv.txt | Loaded environment from uEnv.txt | ||
Importing environment from mmc ... | Importing environment from mmc ... | ||
− | + | Checking if uenvcmd is set ... | |
− | + | ||
− | + | gpio: pin 56 (gpio 56) value is 1 | |
− | + | Running uenvcmd ... | |
− | + | 1198 bytes read in 29 ms (40 KiB/s) | |
− | + | debug: [/boot/vmlinuz-4.4.19-ti-r41] ... | |
− | + | 7792440 bytes read in 453 ms (16.4 MiB/s) | |
− | + | debug: [/boot/initrd.img-4.4.19-ti-r41] ... | |
− | + | 5076716 bytes read in 299 ms (16.2 MiB/s) | |
− | + | debug: [/boot/dtbs/4.4.19-ti-r41/am335x-boneblack.dtb] ... | |
− | + | 61581 bytes read in 108 ms (556.6 KiB/s) | |
+ | debug: [console=tty0 console=ttyO0,115200n8 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable] ... | ||
+ | debug: [bootz 0x82000000 0x88080000:4d76ec 0x88000000] ... | ||
+ | |||
+ | Kernel image @ 0x82000000 [ 0x000000 - 0x76e738 ] | ||
+ | |||
+ | ## Flattened Device Tree blob at 88000000 | ||
+ | Booting using the fdt blob at 0x88000000 | ||
+ | Using Device Tree in place at 88000000, end 8801208c | ||
Starting kernel ... | Starting kernel ... | ||
− | + | [ 0.001215] clocksource_probe: no matching clocksources found | |
− | + | [ 2.023663] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle | |
+ | [ 2.202865] omap_voltage_late_init: Voltage driver support not added | ||
+ | [ 2.214827] PM: Cannot get wkup_m3_ipc handle | ||
+ | [ 2.324848] bone_capemgr bone_capemgr: slot #0: No cape found | ||
+ | [ 2.368844] bone_capemgr bone_capemgr: slot #1: No cape found | ||
+ | [ 2.412841] bone_capemgr bone_capemgr: slot #2: No cape found | ||
+ | [ 2.456839] bone_capemgr bone_capemgr: slot #3: No cape found | ||
+ | Loading, please wait... | ||
+ | rootfs: clean, 119150/217728 files, 640230/870144 blocks | ||
+ | [ 23.137182] davinci-mcasp 4803c000.mcasp: invalid tdm slots: 0 | ||
+ | |||
+ | |||
+ | Debian GNU/Linux 8 yoder-debian-bone ttyS0 | ||
− | .-- | + | BeagleBoard.org Debian Image 2016-08-28 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian | |
− | + | default username:password is [debian:temppwd] | |
− | + | The IP Address for usb0 is: 192.168.7.2 | |
+ | yoder-debian-bone login: | ||
− | == | + | == Kernel boot messages == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | You can see more details about booting if you edit '''/boot/uEnv.txt''' and find the line | |
− | == | + | cmdline=coherent_pool=1M '''quiet''' cape_universal=enable |
+ | Remove '''quiet''' and reboot. | ||
Here's what I got with '''quiet''' removed. | Here's what I got with '''quiet''' removed. | ||
=== Starting kernel === | === Starting kernel === | ||
− | < | + | Starting kernel ... |
− | Starting kernel ... | + | |
+ | [ 0.000000] Booting Linux on physical CPU 0x0 | ||
+ | [ 0.000000] Initializing cgroup subsys cpuset | ||
+ | [ 0.000000] Initializing cgroup subsys cpu | ||
+ | [ 0.000000] Initializing cgroup subsys cpuacct | ||
+ | [ 0.000000] Linux version 4.4.19-ti-r41 (root@a5-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Wed Aug 24 16:09:37 UTC 2016 | ||
+ | [ 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 model: TI AM335x BeagleBone Black | ||
+ | [ 0.000000] cma: Reserved 24 MiB at 0x9e000000 | ||
+ | [ 0.000000] Memory policy: Data cache writeback | ||
+ | [ 0.000000] CPU: All CPU(s) started in SVC mode. | ||
+ | [ 0.000000] AM335X ES2.0 (sgx neon ) | ||
+ | [ 0.000000] PERCPU: Embedded 13 pages/cpu @df923000 s24320 r8192 d20736 u53248 | ||
+ | [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408 | ||
+ | [ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M cape_universal=enable | ||
+ | [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) | ||
+ | [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) | ||
+ | [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) | ||
+ | [ 0.000000] Memory: 473844K/522240K available (7304K kernel code, 902K rwdata, 3684K rodata, 600K init, 907K bss, 23820K reserved, 24576K cma-reserved, 0K highmem) | ||
+ | [ 0.000000] Virtual kernel memory layout: | ||
+ | [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) | ||
+ | [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) | ||
+ | [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) | ||
+ | [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) | ||
+ | [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) | ||
+ | [ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB) | ||
+ | [ 0.000000] .text : 0xc0008000 - 0xc0ac3350 (10989 kB) | ||
+ | [ 0.000000] .init : 0xc0ac4000 - 0xc0b5a000 ( 600 kB) | ||
+ | [ 0.000000] .data : 0xc0b5a000 - 0xc0c3bbf0 ( 903 kB) | ||
+ | [ 0.000000] .bss : 0xc0c3e000 - 0xc0d20e68 ( 908 kB) | ||
+ | [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 | ||
+ | [ 0.000000] Hierarchical RCU implementation. | ||
+ | [ 0.000000] Build-time adjustment of leaf fanout to 32. | ||
+ | [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. | ||
+ | [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1 | ||
+ | [ 0.000000] NR_IRQS:16 nr_irqs:16 16 | ||
+ | [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts | ||
+ | [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz | ||
+ | [ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns | ||
+ | [ 0.000032] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns | ||
+ | [ 0.000043] OMAP clocksource: timer1 at 24000000 Hz | ||
+ | [ 0.001214] clocksource_probe: no matching clocksources found | ||
+ | [ 0.001402] Console: colour dummy device 80x30 | ||
+ | [ 0.002177] console [tty0] enabled | ||
+ | [ 0.002213] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' | ||
+ | [ 0.002239] This ensures that you still see kernel messages. Please | ||
+ | [ 0.002263] update your kernel commandline. | ||
+ | [ 0.002296] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656) | ||
+ | [ 0.046935] pid_max: default: 32768 minimum: 301 | ||
+ | [ 0.047087] Security Framework initialized | ||
+ | [ 0.047116] Yama: becoming mindful. | ||
+ | [ 0.047161] AppArmor: AppArmor disabled by boot time parameter | ||
+ | [ 0.047334] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
+ | [ 0.047367] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
+ | [ 0.048166] Initializing cgroup subsys io | ||
+ | [ 0.048221] Initializing cgroup subsys memory | ||
+ | [ 0.048280] Initializing cgroup subsys devices | ||
+ | [ 0.048313] Initializing cgroup subsys freezer | ||
+ | [ 0.048344] Initializing cgroup subsys net_cls | ||
+ | [ 0.048374] Initializing cgroup subsys perf_event | ||
+ | [ 0.048403] Initializing cgroup subsys net_prio | ||
+ | [ 0.048440] Initializing cgroup subsys pids | ||
+ | [ 0.048506] CPU: Testing write buffer coherency: ok | ||
+ | [ 0.048576] ftrace: allocating 34016 entries in 67 pages | ||
+ | [ 0.133468] CPU0: thread -1, cpu 0, socket -1, mpidr 0 | ||
+ | [ 0.133622] Setting up static identity map for 0x80008240 - 0x8000828c | ||
+ | [ 0.137064] Brought up 1 CPUs | ||
+ | [ 0.137118] SMP: Total of 1 processors activated (995.32 BogoMIPS). | ||
+ | [ 0.137140] CPU: All CPU(s) started in SVC mode. | ||
+ | [ 0.138570] devtmpfs: initialized | ||
+ | [ 0.158429] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 | ||
+ | [ 0.176605] omap_hwmod: debugss: _wait_target_disable failed | ||
+ | [ 0.230414] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns | ||
+ | [ 0.232593] xor: measuring software checksum speed | ||
+ | [ 0.270919] arm4regs : 1221.000 MB/sec | ||
+ | [ 0.310919] 8regs : 1094.000 MB/sec | ||
+ | [ 0.350916] 32regs : 1093.000 MB/sec | ||
+ | [ 0.390917] neon : 1755.000 MB/sec | ||
+ | [ 0.390937] xor: using function: neon (1755.000 MB/sec) | ||
+ | [ 0.391049] pinctrl core: initialized pinctrl subsystem | ||
+ | [ 0.393007] NET: Registered protocol family 16 | ||
+ | [ 0.396529] DMA: preallocated 1024 KiB pool for atomic coherent allocations | ||
+ | [ 0.397763] cpuidle: using governor ladder | ||
+ | [ 0.397810] cpuidle: using governor menu | ||
+ | [ 0.402881] OMAP GPIO hardware version 0.1 | ||
+ | [ 0.414683] No ATAGs? | ||
+ | [ 0.414725] hw-breakpoint: debug architecture 0x4 unsupported. | ||
+ | [ 0.415433] omap4_sram_init:Unable to allocate sram needed to handle errata I688 | ||
+ | [ 0.415479] omap4_sram_init:Unable to get sram pool needed to handle errata I688 | ||
+ | [ 0.490981] raid6: int32x1 gen() 263 MB/s | ||
+ | [ 0.559004] raid6: int32x1 xor() 240 MB/s | ||
+ | [ 0.627080] raid6: int32x2 gen() 375 MB/s | ||
+ | [ 0.694977] raid6: int32x2 xor() 280 MB/s | ||
+ | [ 0.763039] raid6: int32x4 gen() 391 MB/s | ||
+ | [ 0.830943] raid6: int32x4 xor() 264 MB/s | ||
+ | [ 0.898939] raid6: int32x8 gen() 358 MB/s | ||
+ | [ 0.967046] raid6: int32x8 xor() 232 MB/s | ||
+ | [ 1.034951] raid6: neonx1 gen() 1450 MB/s | ||
+ | [ 1.102946] raid6: neonx1 xor() 846 MB/s | ||
+ | [ 1.170918] raid6: neonx2 gen() 1880 MB/s | ||
+ | [ 1.238928] raid6: neonx2 xor() 1150 MB/s | ||
+ | [ 1.306921] raid6: neonx4 gen() 1982 MB/s | ||
+ | [ 1.374915] raid6: neonx4 xor() 1199 MB/s | ||
+ | [ 1.442929] raid6: neonx8 gen() 1209 MB/s | ||
+ | [ 1.510961] raid6: neonx8 xor() 670 MB/s | ||
+ | [ 1.510981] raid6: using algorithm neonx4 gen() 1982 MB/s | ||
+ | [ 1.511000] raid6: .... xor() 1199 MB/s, rmw enabled | ||
+ | [ 1.511019] raid6: using intx1 recovery algorithm | ||
+ | [ 1.519854] edma 49000000.edma: TI EDMA DMA engine driver | ||
+ | [ 1.524636] SCSI subsystem initialized | ||
+ | [ 1.525375] usbcore: registered new interface driver usbfs | ||
+ | [ 1.525472] usbcore: registered new interface driver hub | ||
+ | [ 1.525580] usbcore: registered new device driver usb | ||
+ | [ 1.526170] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe | ||
+ | [ 1.526255] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe | ||
+ | [ 1.526402] media: Linux media interface: v0.10 | ||
+ | [ 1.526477] Linux video capture interface: v2.00 | ||
+ | [ 1.526587] pps_core: LinuxPPS API ver. 1 registered | ||
+ | [ 1.526610] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> | ||
+ | [ 1.526659] PTP clock support registered | ||
+ | [ 1.527547] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 | ||
+ | [ 1.528806] NetLabel: Initializing | ||
+ | [ 1.528847] NetLabel: domain hash size = 128 | ||
+ | [ 1.528864] NetLabel: protocols = UNLABELED CIPSOv4 | ||
+ | [ 1.528934] NetLabel: unlabeled traffic allowed by default | ||
+ | [ 1.529281] clocksource: Switched to clocksource timer1 | ||
+ | [ 1.636087] NET: Registered protocol family 2 | ||
+ | [ 1.636882] TCP established hash table entries: 4096 (order: 2, 16384 bytes) | ||
+ | [ 1.636955] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) | ||
+ | [ 1.637027] TCP: Hash tables configured (established 4096 bind 4096) | ||
+ | [ 1.637113] UDP hash table entries: 256 (order: 1, 8192 bytes) | ||
+ | [ 1.637150] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) | ||
+ | [ 1.637541] NET: Registered protocol family 1 | ||
+ | [ 1.638079] RPC: Registered named UNIX socket transport module. | ||
+ | [ 1.638116] RPC: Registered udp transport module. | ||
+ | [ 1.638135] RPC: Registered tcp transport module. | ||
+ | [ 1.638153] RPC: Registered tcp NFSv4.1 backchannel transport module. | ||
+ | [ 1.638771] Unpacking initramfs... | ||
+ | [ 1.995660] Freeing initrd memory: 4960K (c8080000 - c8558000) | ||
+ | [ 1.996220] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available | ||
+ | [ 1.998983] futex hash table entries: 256 (order: 2, 16384 bytes) | ||
+ | [ 1.999140] audit: initializing netlink subsys (disabled) | ||
+ | [ 1.999231] audit: type=2000 audit(1.936:1): initialized | ||
+ | [ 2.008864] zbud: loaded | ||
+ | [ 2.009659] VFS: Disk quotas dquot_6.6.0 | ||
+ | [ 2.009935] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) | ||
+ | [ 2.012494] NFS: Registering the id_resolver key type | ||
+ | [ 2.012582] Key type id_resolver registered | ||
+ | [ 2.012603] Key type id_legacy registered | ||
+ | [ 2.012644] nfs4filelayout_init: NFSv4 File Layout Driver Registering... | ||
+ | [ 2.013003] fuse init (API version 7.23) | ||
+ | [ 2.013716] SGI XFS with ACLs, security attributes, realtime, no debug enabled | ||
+ | [ 2.021375] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) | ||
+ | [ 2.021715] io scheduler noop registered | ||
+ | [ 2.021749] io scheduler deadline registered | ||
+ | [ 2.021828] io scheduler cfq registered (default) | ||
+ | [ 2.023174] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 | ||
+ | [ 2.024851] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle | ||
+ | [ 2.026344] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled | ||
+ | [ 2.029166] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250 | ||
+ | [ 2.918750] console [ttyS0] enabled | ||
+ | [ 2.923717] [drm] Initialized drm 1.1.0 20060810 | ||
+ | [ 2.981304] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 | ||
+ | [ 2.987506] davinci_mdio 4a101000.mdio: detected phy mask fffffffe | ||
+ | [ 2.994101] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe] | ||
+ | [ 3.007809] libphy: 4a101000.mdio: probed | ||
+ | [ 3.011993] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 | ||
+ | [ 3.022102] cpsw 4a100000.ethernet: Detected MACID = c8:a0:30:b7:f9:6f | ||
+ | [ 3.030630] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | ||
+ | [ 3.037407] ehci-platform: EHCI generic platform driver | ||
+ | [ 3.042908] ehci-omap: OMAP-EHCI Host Controller driver | ||
+ | [ 3.048610] usbcore: registered new interface driver usb-storage | ||
+ | [ 3.056624] 47401300.usb-phy supply vcc not found, using dummy regulator | ||
+ | [ 3.067332] 47401b00.usb-phy supply vcc not found, using dummy regulator | ||
+ | [ 3.076472] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver | ||
+ | [ 3.082365] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1 | ||
+ | [ 3.090513] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 | ||
+ | [ 3.097387] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 | ||
+ | [ 3.104694] usb usb1: Product: MUSB HDRC host driver | ||
+ | [ 3.109713] usb usb1: Manufacturer: Linux 4.4.19-ti-r41 musb-hcd | ||
+ | [ 3.115773] usb usb1: SerialNumber: musb-hdrc.1.auto | ||
+ | [ 3.121785] hub 1-0:1.0: USB hub found | ||
+ | [ 3.125693] hub 1-0:1.0: 1 port detected | ||
+ | [ 3.138657] mousedev: PS/2 mouse device common for all mice | ||
+ | [ 3.146409] omap_rtc 44e3e000.rtc: already running | ||
+ | [ 3.151745] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 | ||
+ | [ 3.159683] i2c /dev entries driver | ||
+ | [ 3.164777] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec | ||
+ | [ 3.172143] cpuidle: enable-method property 'ti,am3352' found operations | ||
+ | [ 3.179605] omap_hsmmc 48060000.mmc: Got CD GPIO | ||
+ | [ 3.244437] mmc0: host does not support reading read-only switch, assuming write-enable | ||
+ | [ 3.254049] hidraw: raw HID events driver (C) Jiri Kosina | ||
+ | [ 3.260239] usbcore: registered new interface driver usbhid | ||
+ | [ 3.265937] usbhid: USB HID core driver | ||
+ | [ 3.270042] mmc0: new high speed SDHC card at address b368 | ||
+ | [ 3.275966] ashmem: initialized | ||
+ | [ 3.280478] remoteproc0: wkup_m3 is available | ||
+ | [ 3.285043] remoteproc0: Note: remoteproc is still under development and considered experimental. | ||
+ | [ 3.294086] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. | ||
+ | [ 3.304943] mmcblk0: mmc0:b368 G5334 7.46 GiB | ||
+ | [ 3.311023] mmcblk0: p1 | ||
+ | [ 3.317199] NET: Registered protocol family 10 | ||
+ | [ 3.326661] mip6: Mobile IPv6 | ||
+ | [ 3.329868] NET: Registered protocol family 17 | ||
+ | [ 3.334555] Key type dns_resolver registered | ||
+ | [ 3.338948] mpls_gso: MPLS GSO support | ||
+ | [ 3.343029] omap_voltage_late_init: Voltage driver support not added | ||
+ | [ 3.353815] PM: Cannot get wkup_m3_ipc handle | ||
+ | [ 3.358384] ThumbEE CPU extension supported. | ||
+ | [ 3.362734] Registering SWP/SWPB emulation handler | ||
+ | [ 3.368534] registered taskstats version 1 | ||
+ | [ 3.372906] zswap: loaded using pool lzo/zbud | ||
+ | [ 3.380662] Btrfs loaded | ||
+ | [ 3.390869] mmc1: MAN_BKOPS_EN bit is not set | ||
+ | [ 3.399395] mmc1: new high speed MMC card at address 0001 | ||
+ | [ 3.410610] mmcblk1: mmc1:0001 MMC02G 1.79 GiB | ||
+ | [ 3.420997] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB | ||
+ | [ 3.427389] Key type encrypted registered | ||
+ | [ 3.434687] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0 | ||
+ | [ 3.444020] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB | ||
+ | [ 3.451982] mmcblk1: p1 | ||
+ | [ 3.474639] tps65217 0-0024: TPS65217 ID 0xe version 1.2 | ||
+ | [ 3.480588] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write | ||
+ | [ 3.487799] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz | ||
+ | [ 3.495055] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write | ||
+ | [ 3.502480] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write | ||
+ | [ 3.509797] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write | ||
+ | [ 3.517107] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write | ||
+ | [ 3.524090] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz | ||
+ | [ 3.530741] remoteproc0: powering up wkup_m3 | ||
+ | [ 3.535250] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735 | ||
+ | [ 3.542828] remoteproc0: remote processor wkup_m3 is now up | ||
+ | [ 3.548538] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191 | ||
+ | [ 3.560056] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,0A5C,3513BBBK3281' | ||
+ | [ 3.567428] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4 | ||
+ | [ 3.613289] bone_capemgr bone_capemgr: slot #0: No cape found | ||
+ | [ 3.657285] bone_capemgr bone_capemgr: slot #1: No cape found | ||
+ | [ 3.701285] bone_capemgr bone_capemgr: slot #2: No cape found | ||
+ | [ 3.745285] bone_capemgr bone_capemgr: slot #3: No cape found | ||
+ | [ 3.751174] bone_capemgr bone_capemgr: initialized OK. | ||
+ | [ 3.758351] PM: bootloader does not support rtc-only! | ||
+ | [ 3.764074] omap_rtc 44e3e000.rtc: setting system clock to 2016-09-22 13:34:17 UTC (1474551257) | ||
+ | [ 3.773005] of_cfs_init | ||
+ | [ 3.775639] of_cfs_init: OK | ||
+ | [ 3.784831] Freeing unused kernel memory: 600K (c0ac4000 - c0b5a000) | ||
+ | Loading, please wait... | ||
+ | starting version 230 | ||
+ | [ 3.887157] random: systemd-udevd: uninitialized urandom read (16 bytes read, 16 bits of entropy available) | ||
+ | [ 3.907924] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available) | ||
+ | [ 3.918299] random: systemd-udevd: uninitialized urandom read (16 bytes read, 16 bits of entropy available) | ||
+ | [ 3.928734] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) | ||
+ | [ 3.938312] random: systemd-udevd: uninitialized urandom read (16 bytes read, 17 bits of entropy available) | ||
+ | [ 3.948413] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) | ||
+ | [ 3.963192] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) | ||
+ | [ 3.973490] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) | ||
+ | [ 3.983446] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) | ||
+ | [ 3.993541] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) | ||
+ | Begin: Loading essential drivers ... done. | ||
+ | Begin: Running /scripts/init-premount ... done. | ||
+ | Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. | ||
+ | Begin: Running /scripts/local-premount ... done. | ||
+ | Begin: Will now check root file system ... fsck from util-linux 2.25.2 | ||
+ | [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 | ||
+ | rootfs: clean, 119279/217728 files, 640901/870144 blocks | ||
+ | done. | ||
+ | [ 7.064838] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) | ||
+ | done. | ||
+ | Begin: Running /scripts/local-bottom ... done. | ||
+ | Begin: Running /scripts/init-bottom ... done. | ||
+ | [ 7.632895] systemd[1]: Failed to insert module 'kdbus': Function not implemented | ||
+ | [ 7.681963] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) | ||
+ | [ 7.700860] systemd[1]: Detected architecture arm. | ||
+ | |||
+ | Welcome to �[1mDebian GNU/Linux 8 (jessie)�[0m! | ||
+ | |||
+ | [ 7.715064] systemd[1]: Set hostname to <yoder-debian-bone>. | ||
+ | [ 8.243335] systemd[1]: Reached target Encrypted Volumes. | ||
+ | [OK] Reached target Encrypted Volumes. | ||
+ | [ 8.258765] systemd[1]: Created slice User and Session Slice. | ||
+ | [OK] Created slice User and Session Slice. | ||
+ | [ 8.278603] systemd[1]: Listening on Journal Audit Socket. | ||
+ | [OK] Listening on Journal Audit Socket. | ||
+ | [ 8.290348] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. | ||
+ | [OK] Started Dispatch Password Requests to Console Directory Watch. | ||
+ | [ 8.310181] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. | ||
+ | [OK] Listening on /dev/initctl Compatibility Named Pipe. | ||
+ | [ 8.331306] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. | ||
+ | [OK] Set up automount Arbitrary Executab...ats File System Automount Point. | ||
+ | [ 8.354264] systemd[1]: Listening on Journal Socket (/dev/log). | ||
+ | [OK] Listening on Journal Socket (/dev/log). | ||
+ | [ 8.374124] systemd[1]: Listening on udev Kernel Socket. | ||
+ | [OK] Listening on udev Kernel Socket. | ||
+ | [ 8.385908] systemd[1]: Reached target Remote File Systems (Pre). | ||
+ | [OK] Reached target Remote File Systems (Pre). | ||
+ | [ 8.405892] systemd[1]: Reached target Remote File Systems. | ||
+ | [OK] Reached target Remote File Systems. | ||
+ | [ 8.418237] systemd[1]: Listening on udev Control Socket. | ||
+ | [OK] Listening on udev Control Socket. | ||
+ | [ 8.430123] systemd[1]: Listening on fsck to fsckd communication Socket. | ||
+ | [OK] Listening on fsck to fsckd communication Socket. | ||
+ | [ 8.450256] systemd[1]: Listening on Journal Socket. | ||
+ | [OK] Listening on Journal Socket. | ||
+ | [ 8.462411] systemd[1]: Started Forward Password Requests to Wall Directory Watch. | ||
+ | [OK] Started Forward Password Requests to Wall Directory Watch. | ||
+ | [ 8.481887] systemd[1]: Reached target Paths. | ||
+ | [OK] Reached target Paths. | ||
+ | [ 8.494192] systemd[1]: Listening on Syslog Socket. | ||
+ | [OK] Listening on Syslog Socket. | ||
+ | [ 8.506712] systemd[1]: Created slice System Slice. | ||
+ | [OK] Created slice System Slice. | ||
+ | [ 8.522139] systemd[1]: Mounting POSIX Message Queue File System... | ||
+ | Mounting POSIX Message Queue File System... | ||
+ | [ 8.565986] systemd[1]: Starting Remount Root and Kernel File Systems... | ||
+ | Starting Remount Root and Kernel File Systems... | ||
+ | [ 8.618477] systemd[1]: Starting Journal Service... | ||
+ | Starting Journal Service... | ||
+ | [ 8.697064] systemd[1]: Starting Load Kernel Modules... | ||
+ | [ 8.705373] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro | ||
+ | Starting Load Kernel Modules... | ||
+ | [ 8.752345] systemd[1]: Starting Create list of required static device nodes for the current kernel... | ||
+ | Starting Create list of required st... nodes for the current kernel... | ||
+ | [ 8.858357] systemd[1]: Mounting /sys/kernel/debug... | ||
+ | Mounting /sys/kernel/debug... | ||
+ | [ 8.930638] systemd[1]: Created slice system-getty.slice. | ||
+ | [OK] Created slice system-getty.slice. | ||
+ | [ 8.973861] systemd[1]: Reached target Slices. | ||
+ | [OK] Reached target Slices. | ||
+ | [ 8.999111] systemd[1]: Created slice system-serial\x2dgetty.slice. | ||
+ | [OK] Created slice system-serial\x2dgetty.slice. | ||
+ | [ 9.021807] systemd[1]: Reached target Swap. | ||
+ | [OK] Reached target Swap. | ||
+ | [ 9.054383] systemd[1]: Mounted POSIX Message Queue File System. | ||
+ | [OK] Mounted POSIX Message Queue File System. | ||
+ | [ 9.086058] systemd[1]: Mounted /sys/kernel/debug. | ||
+ | [OK] Mounted /sys/kernel/debug. | ||
+ | [ 9.098691] systemd[1]: Started Journal Service. | ||
+ | [OK] Started Journal Service. | ||
+ | [OK] Started Remount Root and Kernel File Systems. | ||
+ | [OK] Started Load Kernel Modules. | ||
+ | [OK] Started Create list of required sta...ce nodes for the current kernel. | ||
+ | Starting Create Static Device Nodes in /dev... | ||
+ | Starting Apply Kernel Variables... | ||
+ | Mounting FUSE Control File System... | ||
+ | Mounting Configuration File System... | ||
+ | Starting Load/Save Random Seed... | ||
+ | Starting udev Coldplug all Devices... | ||
+ | Starting Flush Journal to Persistent Storage... | ||
+ | [OK] Mounted Configuration File System. | ||
+ | [OK] Mounted FUSE Control File System. | ||
+ | [OK] Started Create Static Device Nodes in /dev. | ||
+ | [OK] Started Apply Kernel Variables. | ||
+ | [OK] Started Load/Save Random Seed. | ||
+ | [ 9.718236] systemd-journald[537]: Received request to flush runtime journal from PID 1 | ||
+ | [OK] Reached target Local File Systems (Pre). | ||
+ | [OK] Reached target Local File Systems. | ||
+ | Starting Raise network interfaces... | ||
+ | Starting udev Kernel Device Manager... | ||
+ | [OK] Started Flush Journal to Persistent Storage. | ||
+ | Starting Create Volatile Files and Directories... | ||
+ | [OK] Started udev Kernel Device Manager. | ||
+ | Starting LSB: Tune IDE hard disks... | ||
+ | [OK] Started Create Volatile Files and Directories. | ||
+ | Starting Network Time Synchronization... | ||
+ | Starting Update UTMP about System Boot/Shutdown... | ||
+ | [OK] Started Network Time Synchronization. | ||
+ | [OK] Started Update UTMP about System Boot/Shutdown. | ||
+ | [OK] Started LSB: Tune IDE hard disks. | ||
+ | [OK] Reached target System Time Synchronized. | ||
+ | [OK] Started udev Coldplug all Devices. | ||
+ | [OK] Reached target System Initialization. | ||
+ | Starting Restore Sound Card State... | ||
+ | [OK] Listening on cloud9.socket. | ||
+ | [OK] Listening on bonescript.socket. | ||
+ | [OK] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. | ||
+ | [OK] Started Daily Cleanup of Temporary Directories. | ||
+ | [OK] Reached target Timers. | ||
+ | [OK] Listening on node-red.socket. | ||
+ | [OK] Listening on D-Bus System Message Bus Socket. | ||
+ | [OK] Reached target Sockets. | ||
+ | [OK] Reached target Basic System. | ||
+ | Starting Generic Board Startup... | ||
+ | Starting Avahi mDNS/DNS-SD Stack... | ||
+ | Starting Cape Manager Service... | ||
+ | Starting LSB: Start busybox udhcpd at boot time... | ||
+ | [OK] Started Entropy daemon using the HAVEGE algorithm. | ||
+ | Starting LSB: Load kernel modules needed to enable cpufreq scaling... | ||
+ | [OK] Started Bonescript autorun. | ||
+ | Starting Restore /etc/resolv.conf i...e the ppp link was shut down.... | ||
+ | [OK] Started Regular background program processing daemon. | ||
+ | [ 13.102614] random: nonblocking pool is initialized | ||
+ | [OK] Started D-Bus System Message Bus. | ||
+ | [OK] Started Avahi mDNS/DNS-SD Stack. | ||
+ | Starting Connection service... | ||
+ | Starting System Logging Service... | ||
+ | [OK] Started BB WL18xx wlan0 Service. | ||
+ | Starting Login Service... | ||
+ | [OK] Started System Logging Service. | ||
+ | [OK] Started Restore Sound Card State. | ||
+ | [OK] Started Cape Manager Service. | ||
+ | [OK] Started Restore /etc/resolv.conf if...ore the ppp link was shut down.. | ||
+ | [ 15.028289] using random self ethernet address | ||
+ | [ 15.032924] using random host ethernet address | ||
+ | [ 15.080200] using host ethernet address: C8:A0:30:B7:F9:70 | ||
+ | [ 15.085685] using self ethernet address: C8:A0:30:B7:F9:71[ 15.255829] Mass Storage Function, version: 2009/09/11 | ||
+ | [ 15.282794] LUN: removable file: (no medium) | ||
+ | [ 15.338111] net eth0: initializing cpsw version 1.12 (0) | ||
+ | [ 15.343559] net eth0: initialized cpsw ale version 1.4 | ||
+ | [ 15.348775] net eth0: ALE Table size 1024 | ||
+ | [ 15.373739] LUN: removable read only file: /var/cache/doc-beaglebone-getting-started/beaglebone-getting-started-2015-12-04.img | ||
+ | [ 15.385325] Number of LUNs=1 | ||
+ | [OK] Started LSB: Start busybox udhcpd at boot time. | ||
+ | [OK] Started Connection service. | ||
+ | [ 15.614361] net eth0: phy found : id is : 0x7c0f1 | ||
+ | [ 15.683908] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready | ||
+ | [ 15.692351] usb0: HOST MAC c8:a0:30:b7:f9:70 | ||
+ | [ 15.721801] usb0: MAC c8:a0:30:b7:f9:71 | ||
+ | [ 15.757527] g_multi gadget: Multifunction Composite Gadget | ||
+ | [ 15.763153] g_multi gadget: g_multi ready | ||
+ | [OK] Started Login Service. | ||
+ | [ 16.375961] g_multi gadget: high-speed config #1: Multifunction with RNDIS | ||
+ | [OK] Started LSB: Load kernel modules needed to enable cpufreq scaling. | ||
+ | Starting LSB: set CPUFreq kernel parameters... | ||
+ | Starting WPA supplicant... | ||
+ | Starting Hostname Service... | ||
+ | [OK] Started Raise network interfaces. | ||
+ | [OK] Started Hostname Service. | ||
+ | Stopping LSB: Start busybox udhcpd at boot time... | ||
+ | [OK] Started LSB: set CPUFreq kernel parameters. | ||
+ | [OK] Stopped LSB: Start busybox udhcpd at boot time. | ||
+ | [OK] Started WPA supplicant. | ||
+ | [OK] Reached target Network. | ||
+ | [OK] Reached target Network is Online. | ||
+ | Starting LSB: Advanced IEEE 802.11 management daemon... | ||
+ | Starting /etc/rc.local Compatibility... | ||
+ | Starting Permit User Sessions... | ||
+ | [OK] Started OpenBSD Secure Shell server. | ||
+ | [OK] Started LSB: Advanced IEEE 802.11 management daemon. | ||
+ | [OK] Started /etc/rc.local Compatibility. | ||
+ | [OK] Started Permit User Sessions. | ||
+ | [OK] Started Getty on tty1. | ||
+ | Starting LSB: Start busybox udhcpd at boot time... | ||
+ | [OK] Started LSB: Start busybox udhcpd at boot time. | ||
+ | [OK] Found device /dev/ttyS0. | ||
+ | [OK] Started Serial Getty on ttyS0. | ||
+ | [ 24.512280] davinci-mcasp 4803c000.mcasp: invalid tdm slots: 0 | ||
+ | [ 27.039099] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 | ||
+ | [ 27.395051] tda998x 0-0070: found TDA19988 | ||
+ | [ 27.494498] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x]) | ||
+ | [ 27.666538] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). | ||
+ | [ 27.673348] [drm] No driver support for vblank timestamp query. | ||
+ | [ 28.057739] tilcdc 4830e000.lcdc: No connectors reported connected with modes | ||
+ | [ 28.289846] [drm] Cannot find any crtc or sizes - going 1024x768 | ||
+ | |||
+ | |||
+ | Debian GNU/Linux 8 yoder-debian-bone ttyS0 | ||
+ | |||
+ | BeagleBoard.org Debian Image 2016-08-28 | ||
+ | |||
+ | Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian | ||
+ | |||
+ | default username:password is [debian:temppwd] | ||
+ | |||
+ | The IP Address for usb0 is: 192.168.7.2 | ||
+ | yoder-debian-bone login: [ 28.669804] Console: switching to colour frame buffer device 128x48 | ||
+ | [ 28.977776] tilcdc 4830e000.lcdc: fb0: frame buffer device | ||
+ | [ 29.129500] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0 | ||
+ | [ 29.368073] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 | ||
+ | [ 29.685221] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 | ||
+ | [ 33.668403] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok | ||
+ | [ 33.972674] bone_capemgr bone_capemgr: part_number 'cape-universaln', version 'N/A' | ||
+ | [ 34.000640] bone_capemgr bone_capemgr: slot #4: override | ||
+ | [ 34.006262] bone_capemgr bone_capemgr: Using override eeprom data at slot 4 | ||
+ | [ 34.013438] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,cape-universaln' | ||
+ | [ 34.364580] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0 | ||
+ | [ 34.390274] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1 | ||
+ | [ 34.416541] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2 | ||
+ | [ 34.437073] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3 | ||
+ | [ 34.462417] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4 | ||
+ | [ 34.484217] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5 | ||
+ | [ 34.508607] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6 | ||
+ | [ 34.529743] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7 | ||
+ | [ 34.556563] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8 | ||
+ | [ 34.577798] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9 | ||
+ | [ 34.601853] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10 | ||
+ | [ 34.626168] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11 | ||
+ | [ 34.651351] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12 | ||
+ | [ 34.670323] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13 | ||
+ | [ 34.696061] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14 | ||
+ | [ 34.717090] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15 | ||
+ | [ 34.745719] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16 | ||
+ | [ 34.763771] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17 | ||
+ | [ 34.789134] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18 | ||
+ | [ 34.813830] gpio-of-helper ocp:cape-universal: Allocated GPIO id=19 | ||
+ | [ 34.833908] gpio-of-helper ocp:cape-universal: Allocated GPIO id=20 | ||
+ | [ 34.865054] gpio-of-helper ocp:cape-universal: Allocated GPIO id=21 | ||
+ | [ 34.894656] gpio-of-helper ocp:cape-universal: Allocated GPIO id=22 | ||
+ | [ 34.922150] gpio-of-helper ocp:cape-universal: Allocated GPIO id=23 | ||
+ | [ 34.949775] gpio-of-helper ocp:cape-universal: Allocated GPIO id=24 | ||
+ | [ 34.980587] gpio-of-helper ocp:cape-universal: Allocated GPIO id=25 | ||
+ | [ 35.009752] gpio-of-helper ocp:cape-universal: Allocated GPIO id=26 | ||
+ | [ 35.037774] gpio-of-helper ocp:cape-universal: Allocated GPIO id=27 | ||
+ | [ 35.065842] gpio-of-helper ocp:cape-universal: Allocated GPIO id=28 | ||
+ | [ 35.097765] gpio-of-helper ocp:cape-universal: Allocated GPIO id=29 | ||
+ | [ 35.118941] gpio-of-helper ocp:cape-universal: Allocated GPIO id=30 | ||
+ | [ 35.152175] gpio-of-helper ocp:cape-universal: Allocated GPIO id=31 | ||
+ | [ 35.179848] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32 | ||
+ | [ 35.187844] gpio-of-helper ocp:cape-universal: ready | ||
+ | [ 35.233688] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 191, base_baud = 3000000) is a 8250 | ||
+ | [ 35.274247] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 192, base_baud = 3000000) is a 8250 | ||
+ | [ 35.313736] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 193, base_baud = 3000000) is a 8250 | ||
+ | [ 35.351856] platform 48300180.eqep: Cannot lookup hwmod 'eqep0' | ||
+ | [ 35.387665] platform 48302180.eqep: Cannot lookup hwmod 'eqep1' | ||
+ | [ 35.419199] platform 48304180.eqep: Cannot lookup hwmod 'eqep2' | ||
+ | [ 35.461676] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz | ||
+ | [ 35.492186] bone_capemgr bone_capemgr: slot #4: dtbo 'cape-universaln-00A0.dtbo' loaded; overlay id #0 | ||
+ | [ 36.935231] eqep 48300180.eqep: ver. 1.0 | ||
+ | [ 37.181480] eqep 48300180.eqep: failed to get clock | ||
+ | [ 37.266945] eqep: probe of 48300180.eqep failed with error -2 | ||
+ | [ 37.489999] eqep 48302180.eqep: ver. 1.0 | ||
+ | [ 37.507853] CAN device driver interface | ||
+ | [ 37.653641] eqep 48302180.eqep: failed to get clock | ||
+ | [ 37.669575] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=200) | ||
+ | [ 37.801624] eqep: probe of 48302180.eqep failed with error -2 | ||
+ | [ 37.927494] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=201) | ||
+ | [ 37.954568] eqep 48304180.eqep: ver. 1.0 | ||
+ | [ 37.982355] eqep 48304180.eqep: failed to get clock | ||
+ | [ 38.027724] eqep: probe of 48304180.eqep failed with error -2 | ||
+ | |||
+ | |||
+ | Debian GNU/Linux 8 yoder-debian-bone ttyS0 | ||
+ | |||
+ | BeagleBoard.org Debian Image 2016-08-28 | ||
+ | |||
+ | Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian | ||
+ | |||
+ | default username:password is [debian:temppwd] | ||
+ | |||
+ | The IP Address for usb0 is: 192.168.7.2 | ||
+ | yoder-debian-bone login: | ||
− | + | === Stopping kernel === | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | bone$ '''halt''' | |
− | + | reboot | |
− | + | Stopping Entropy daemon using the HAVEGE algorithm... | |
− | Stopping / | + | [OK] Stopped target Sound Card. |
− | Stopping | + | [OK] Stopped target Timers. |
− | Stopping | + | [OK] Reached target Unmount All Filesystems. |
− | Stopping | + | Starting Store Sound Card State... |
− | Stopping | + | [OK] Stopped Daily Cleanup of Temporary Directories. |
− | Stopping | + | [OK] Stopped target System Time Synchronized. |
− | Stopping | + | [OK] Stopped target Graphical Interface. |
− | Stopping | + | [OK] Stopped target Multi-User System. |
− | Stopping | + | Stopping Regular background program processing daemon... |
− | Stopping | + | Stopping Avahi mDNS/DNS-SD Stack... |
− | + | Stopping OpenBSD Secure Shell server... | |
− | + | [OK] Stopped target Login Prompts. | |
− | + | Stopping Serial Getty on ttyGS0... | |
− | + | Stopping Getty on tty1... Stopping Serial Getty on ttyS0... | |
− | Stopped Login Service | + | Stopping System Logging Service... |
− | Stopped Serial Getty on | + | Stopping Login Service... |
− | Stopped Getty on | + | Stopping Bonescript autorun... |
− | Stopped | + | Stopping LSB: Start busybox udhcpd at boot time... |
− | + | Stopping LSB: Advanced IEEE 802.11 management daemon... | |
− | + | Stopping LSB: set CPUFreq kernel parameters... | |
− | Stopped /etc/ | + | [OK] Stopped Avahi mDNS/DNS-SD Stack. |
− | + | [OK] Stopped Entropy daemon using the HAVEGE algorithm. | |
− | + | [OK] Stopped Bonescript autorun. | |
− | Stopping Permit User Sessions... | + | [OK] Stopped Regular background program processing daemon. |
− | + | [OK] Stopped Login Service. | |
− | + | [OK] Stopped OpenBSD Secure Shell server. | |
− | + | [OK] Stopped Getty on tty1. | |
− | + | [OK] Stopped System Logging Service. | |
− | + | [OK] Stopped Serial Getty on ttyS0. | |
− | + | [OK] Stopped Serial Getty on ttyGS0. | |
− | Stopped | + | [OK] Started Store Sound Card State. |
− | + | [OK] Stopped LSB: Advanced IEEE 802.11 management daemon. | |
− | + | [OK] Stopped LSB: Start busybox udhcpd at boot time. | |
− | + | [OK] Stopped LSB: set CPUFreq kernel parameters. | |
− | + | Stopping LSB: Load kernel modules needed to enable cpufreq scaling... | |
− | + | [OK] Removed slice system-serial\x2dgetty.slice. | |
− | + | [OK] Stopped /etc/rc.local Compatibility. | |
− | + | [OK] Stopped target Network is Online. | |
− | + | Stopping Permit User Sessions... | |
− | + | [OK] Removed slice system-getty.slice. | |
− | + | [OK] Stopped Permit User Sessions. | |
− | + | [OK] Stopped LSB: Load kernel modules needed to enable cpufreq scaling. | |
− | Stopping | + | [OK] Stopped target Remote File Systems. |
− | + | [OK] Stopped target Remote File Systems (Pre). | |
− | Stopping | + | [OK] Stopped target Network. |
− | Stopped | + | Stopping Connection service... |
− | + | Stopping Raise network interfaces... | |
− | + | Stopping WPA supplicant... | |
− | + | [OK] Stopped WPA supplicant. | |
− | + | [OK] Stopped Connection service. | |
− | + | Stopping D-Bus System Message Bus... | |
− | + | [OK] Stopped D-Bus System Message Bus. | |
− | + | [OK] Stopped target Basic System. | |
− | + | [OK] Stopped target Slices. | |
− | Sending SIGTERM to remaining processes... | + | [OK] Removed slice User and Session Slice. |
− | Sending SIGKILL to remaining processes... | + | [OK] Stopped target Sockets. |
− | Unmounting file systems. | + | [OK] Closed Avahi mDNS/DNS-SD Stack Activation Socket. |
− | + | [OK] Closed Syslog Socket. | |
− | + | [OK] Closed cloud9.socket. | |
− | [ | + | [OK] Closed bonescript.socket. |
− | + | [OK] Closed node-red.socket. | |
− | Detaching loop devices. | + | [OK] Stopped target Paths. |
− | Detaching DM devices. | + | [OK] Stopped Dispatch Password Requests to Console Directory Watch. |
− | [ | + | [OK] Stopped Forward Password Requests to Wall Directory Watch. |
− | [ | + | [OK] Closed D-Bus System Message Bus Socket. |
− | [ | + | [OK] Stopped target System Initialization. |
− | [ | + | Stopping Update UTMP about System Boot/Shutdown... |
− | + | Stopping Load/Save Random Seed... | |
+ | [OK] Stopped target Encrypted Volumes. | ||
+ | Stopping Network Time Synchronization... | ||
+ | [OK] Stopped target Swap. | ||
+ | [OK] Stopped Network Time Synchronization. | ||
+ | [OK] Stopped Load/Save Random Seed. | ||
+ | [OK] Stopped Update UTMP about System Boot/Shutdown. | ||
+ | [OK] Stopped Create Volatile Files and Directories. | ||
+ | [OK] Stopped Raise network interfaces. | ||
+ | [OK] Stopped target Local File Systems. | ||
+ | [OK] Stopped target Local File Systems (Pre). | ||
+ | [OK] Stopped Remount Root and Kernel File Systems. | ||
+ | [OK] Stopped Create Static Device Nodes in /dev. | ||
+ | [OK] Stopped Apply Kernel Variables. | ||
+ | [OK] Stopped Load Kernel Modules. | ||
+ | [OK] Reached target Shutdown. | ||
+ | [ 88.816418] watchdog watchdog0: watchdog did not stop! | ||
+ | [ 88.858414] systemd-shutdown[1]: Sending SIGTERM to remaining processes... | ||
+ | [ 88.887621] systemd-journald[537]: Received SIGTERM from PID 1 (systemd-shutdow). | ||
+ | [ 88.911831] systemd-shutdown[1]: Sending SIGKILL to remaining processes... | ||
+ | [ 88.936982] systemd-shutdown[1]: Hardware watchdog 'OMAP Watchdog', version 0 | ||
+ | [ 88.946448] systemd-shutdown[1]: Unmounting file systems. | ||
+ | [ 88.953475] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'. | ||
+ | [ 94.188368] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro,data=ordered | ||
+ | [ 94.226688] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'. | ||
+ | [ 94.240075] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro,data=ordered | ||
+ | [ 94.248286] systemd-shutdown[1]: All filesystems unmounted. | ||
+ | [ 94.254287] systemd-shutdown[1]: Deactivating swaps. | ||
+ | [ 94.260309] systemd-shutdown[1]: All swaps deactivated. | ||
+ | [ 94.266144] systemd-shutdown[1]: Detaching loop devices. | ||
+ | [ 94.278454] systemd-shutdown[1]: All loop devices detached. | ||
+ | [ 94.284704] systemd-shutdown[1]: Detaching DM devices. | ||
+ | [ 94.291876] systemd-shutdown[1]: All DM devices detached. | ||
+ | [ 94.319684] systemd-shutdown[1]: Failed to read reboot parameter file: No such file or directory | ||
+ | [ 94.329474] systemd-shutdown[1]: Rebooting. | ||
+ | [ 94.338711] musb-hdrc musb-hdrc.1.auto: remove, state 4 | ||
+ | [ 94.344523] usb usb1: USB disconnect, device number 1 | ||
+ | [ 94.351943] musb-hdrc musb-hdrc.1.auto: USB bus 1 deregistered | ||
+ | [ 94.382034] reboot: Restarting system | ||
== systemd == | == systemd == |
Latest revision as of 13:38, 26 December 2022
Embedded Linux Class by Mark A. Yoder
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.
Contents
Booting Up
You need to attach a 3.3V FTDI cable to see the boot sequence.
BeagleBone Black
Look for the black lead which is marked with a little triangle. This connects to the pin with the white dot next to it.
BeagleBone Blue
On the FDTI connector look for the black lead which is marked with a little triangle. This connects to black lead on the JST cable. Then plug the JST cable into UT0 on the Blue.
Both
Boot up your bone and connect to the serial port using the screen command. Hit return and log in. You may need to give yourself access to /dev/ttyUSB0 before running screen.
host$ ls -ls /dev/ttyUSB0 0 crw-rw---- 1 root dialout 188, 0 Sep 22 09:36 /dev/ttyUSB0 host$ sudo adduser $USER dialout host$ screen /dev/ttyUSB0 115200 Debian GNU/Linux 8 yoder-debian-bone ttyS0 BeagleBoard.org Debian Image 2016-08-28 Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] The IP Address for usb0 is: 192.168.7.2 bone login: debian Password: Last login: Mon Dec 26 14:51:16 EST 2022 from 192.168.7.1 on pts/1 bone$
Run the following on your host to learn how to log data with screen
host$ man 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 [ 94.382034] reboot: Restarting system
Only one message when the kernel shuts down in quiet mode.
U-Boot Starting
U-Boot SPL 2016.03-00001-g9a81f4a (May 27 2016 - 12:25:00) Trying to boot from MMC bad magic U-Boot 2016.03-00001-g9a81f4a (May 27 2016 - 12:25:00 -0500), Build: jenkins-github_Bootloader-Builder-394 Watchdog enabled I2C: ready DRAM: 512 MiB Reset Source: Global warm SW reset has occurred. Reset Source: Power-on reset has occurred. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds =>
U-Boot help
You are now in the u-boot boot loader. Try help
=> 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' bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol bootvx - Boot vxWorks from an ELF image bootz - boot Linux zImage image from memory 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 dm - Driver model low level access 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 /) ext4size- determine a file's size ext4write- create a file in the root directory false - do nothing, unsuccessfully fastboot- use USB Fastboot protocol fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fatsize - determine a file's size fatwrite- write file into a dos filesystem fdt - flattened device tree utility commands fstype - Look up a filesystem type 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 mw - memory write (fill) 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 pxe - commands to get and boot from pxe files reset - Perform RESET of the CPU run - run commands in an environment variable save - save file to a filesystem setenv - set environment variables sf - SPI flash sub-system showvar - print local hushshell variables size - determine a file's size sleep - delay execution for some time source - run script from memory spl - SPL configuration sspi - SPI utility command sysboot - command to get and boot from syslinux files 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' U-boot# print bootcmd bootcmd=run findfdt; run distro_bootcmd
Figure out what's happening above by printing findfdt and distro_bootcmd
U-Boot print
It might be helpful to print the contents of all the variables and save it for future reference.
=> print arch=arm args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=PARTUUID=${uuid} ro rootfstype=${mmcrootfstype} ${cmdline} args_mmc_old=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=${oldroot} ro rootfstype=${mmcrootfstype} ${cmdline} args_mmc_uuid=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=UUID=${uuid} ro rootfstype=${mmcrootfstype} ${cmdline} args_netinstall=setenv bootargs ${netinstall_bootargs} ${optargs} ${cape_disable} ${cape_enable} root=/dev/ram rw ${cmdline} args_uenv_root=setenv bootargs console=${console} ${optargs} ${cape_disable} ${cape_enable} root=${uenv_root} ro rootfstype=${mmcrootfstype} ${cmdline} autoconf=off baudrate=115200 board=am335x board_name=A335BNLT board_rev=0A5C boot=${interface} dev ${mmcdev}; if ${interface} rescan; then gpio set 54;setenv bootpart ${mmcdev}:1; if test -e ${interface} ${bootpart} /etc/fstab; then setenv mmcpart 1;fi; echo Checking for: /uEnv.txt ...;if test -e ${interface} ${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 ${interface} ${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; if test -n ${uname_r}; then echo Running nfsboot_uname_r ...;run nfsboot_uname_r;fi;echo Running nfsboot ...;run nfsboot;fi;fi; echo Checking for: /${script} ...;if test -e ${interface} ${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 ${interface} ${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 ${interface} ${bootpart} /boot/uEnv.txt; then gpio set 55;load ${interface} ${bootpart} ${loadaddr} /boot/uEnv.txt;env import -t ${loadaddr} ${filesize};echo Loaded environment from /boot/uEnv.txt;if test -n ${cape}; then echo debug: [cape=${cape}] ... ;setenv fdtfile ${fdtbase}-${cape}.dtb; echo Using: dtb=${fdtfile} ...;fi; if test -n ${dtb}; then echo debug: [dtb=${dtb}] ... ;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; setenv oldroot /dev/mmcblk${mmcdev}p${mmcpart};echo Running uname_boot ...;run uname_boot;fi;fi;done;fi; boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf boot_fdt=try boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp bootcmd=run findfdt; run distro_bootcmd bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi bootcmd_legacy_mmc0=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv interface mmc; setenv mmcdev 0; setenv bootpart 0:1 ; run boot bootcmd_legacy_mmc1=gpio clear 56; gpio clear 55; gpio clear 54; gpio set 53; setenv interface mmc; setenv mmcdev 1; setenv bootpart 1:1 ; run boot bootcmd_mmc0=setenv devnum 0; run mmc_boot bootcmd_mmc1=setenv devnum 1; run mmc_boot bootcmd_nand=run nandboot bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi bootcount=8 bootdelay=2 bootdir=/boot bootenv=uEnv.txt bootfile=zImage bootm_size=0x10000000 bootpart=0:2 bootscript=echo Running bootscript from mmc${bootpart} ...; source ${loadaddr} console=ttyO0,115200n8 cpu=armv7 device=eth0 dfu_alt_info_emmc=rawemmc raw 0 3751936 dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 0x80;spl-os-image.raw raw 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_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 0x80000;ramdisk ram 0x81000000 0x4000000 distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done eth1addr=c8:a0:30:b7:f9:71 ethact=cpsw ethaddr=c8:a0:30:b7:f9:6f failumsboot=echo; echo FAILSAFE: U-Boot UMS (USB Mass Storage) enabled, media now available over the usb slave port ...; ums 0 ${interface} 1; fdt_addr_r=0x88000000 fdtaddr=0x88000000 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 if test $board_rev = BLA0; then setenv fdtfile am335x-boneblue.dtb; setenv fdtbase am335x-boneblue; elif test $board_rev = BBG1; then setenv fdtfile am335x-bonegreen.dtb; setenv fdtbase am335x-bonegreen; elif test $board_rev = GW1A; then setenv fdtfile am335x-bonegreen-wireless.dtb; setenv fdtbase am335x-bonegreen-wireless; elif test $board_rev = AIA0; then setenv fdtfile am335x-abbbi.dtb; setenv fdtbase am335x-abbbi; elif test $board_rev = EIA0; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; elif test $board_rev = SE0A; then setenv fdtfile am335x-sancloud-bbe.dtb; setenv fdtbase am335x-sancloud-bbe; elif test $board_rev = ME06; then setenv fdtfile am335x-bonegreen.dtb; setenv fdtbase am335x-bonegreen; elif test $board_rev = M10A; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; elif test $board_rev = GH01; then setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; else setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; fi; 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; finduuid=part uuid ${interface} ${bootpart} uuid gw_ip=192.168.1.1 importbootenv=echo Importing environment from ${interface} ...; env import -t -r $loadaddr $filesize kernel_addr_r=0x82000000 loadaddr=0x82000000 loadbootenv=load ${interface} ${bootpart} ${loadaddr} ${bootenv} loadbootscript=load ${interface} ${bootpart} ${loadaddr} ${scriptfile}; loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${interface} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile} loadimage=load ${interface} ${bootpart} ${loadaddr} ${bootdir}/${bootfile} loadramdisk=load ${interface} ${mmcdev} ${rdaddr} ramdisk.gz loadrd=load ${interface} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize} mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi mmcboot=${interface} dev ${mmcdev}; if ${interface} rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadimage; then run mmcloados;fi;fi ;fi; mmcdev=0 mmcloados=run args_mmc; 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; mmcrootfstype=ext4 rootwait 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; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr} netloadfdt=tftp ${fdtaddr} ${fdtfile} netloadimage=tftp ${loadaddr} ${bootfile} 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} ${tftp_dir}${bootfile}; tftp ${fdtaddr} ${tftp_dir}dtbs/${fdtfile}; run nfsargs; bootz ${loadaddr} - ${fdtaddr} nfsboot_uname_r=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} ${tftp_dir}vmlinuz-${uname_r}; tftp ${fdtaddr} ${tftp_dir}dtbs/${uname_r}/${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} pxefile_addr_r=0x80100000 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 scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done script=boot.scr scriptaddr=0x80000000 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=ns16550_serial stdin=ns16550_serial stdout=ns16550_serial uname_boot=setenv bootdir /boot; setenv bootfile vmlinuz-${uname_r}; if test -e ${interface} ${bootpart} ${bootdir}/${bootfile}; then echo loading ${bootdir}/${bootfile} ...; run loadimage;setenv fdtdir /boot/dtbs/${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /usr/lib/linux-image-${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /lib/firmware/${uname_r}/device-tree; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb-${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtbs; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else if test -e ${interface} ${bootpart} ${fdtfile}; then run loadfdt;else echo; echo unable to find [dtb=${fdtfile}] did you name it correctly? ...; run failumsboot;fi;fi;fi;fi;fi;fi;fi;fi; setenv rdfile initrd.img-${uname_r}; if test -e ${interface} ${bootpart} ${bootdir}/${rdfile}; then echo loading ${bootdir}/${rdfile} ...; run loadrd;if test -n ${netinstall_enable}; then run args_netinstall; run message;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uuid}; then run args_mmc_uuid;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; else if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;fi; usbnet_devaddr=c8:a0:30:b7:f9:71 vendor=ti ver=U-Boot 2016.03-00001-g9a81f4a (May 27 2016 - 12:25:00 -0500) Environment size: 13813/131068 bytes
Based on your investigation above, predict what will happen at boot time, then boot and check yourself.
U-boot boot
=> boot switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 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 Checking for: /uEnv.txt ... 1179 bytes read in 9 ms (127.9 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 ... 1198 bytes read in 29 ms (40 KiB/s) debug: [/boot/vmlinuz-4.4.19-ti-r41] ... 7792440 bytes read in 453 ms (16.4 MiB/s) debug: [/boot/initrd.img-4.4.19-ti-r41] ... 5076716 bytes read in 299 ms (16.2 MiB/s) debug: [/boot/dtbs/4.4.19-ti-r41/am335x-boneblack.dtb] ... 61581 bytes read in 108 ms (556.6 KiB/s) debug: [console=tty0 console=ttyO0,115200n8 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable] ... debug: [bootz 0x82000000 0x88080000:4d76ec 0x88000000] ... Kernel image @ 0x82000000 [ 0x000000 - 0x76e738 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Using Device Tree in place at 88000000, end 8801208c Starting kernel ... [ 0.001215] clocksource_probe: no matching clocksources found [ 2.023663] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 2.202865] omap_voltage_late_init: Voltage driver support not added [ 2.214827] PM: Cannot get wkup_m3_ipc handle [ 2.324848] bone_capemgr bone_capemgr: slot #0: No cape found [ 2.368844] bone_capemgr bone_capemgr: slot #1: No cape found [ 2.412841] bone_capemgr bone_capemgr: slot #2: No cape found [ 2.456839] bone_capemgr bone_capemgr: slot #3: No cape found Loading, please wait... rootfs: clean, 119150/217728 files, 640230/870144 blocks [ 23.137182] davinci-mcasp 4803c000.mcasp: invalid tdm slots: 0 Debian GNU/Linux 8 yoder-debian-bone ttyS0 BeagleBoard.org Debian Image 2016-08-28 Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] The IP Address for usb0 is: 192.168.7.2 yoder-debian-bone login:
Kernel boot messages
You can see more details about booting if you edit /boot/uEnv.txt and find the line
cmdline=coherent_pool=1M quiet cape_universal=enable
Remove quiet and reboot. Here's what I got with quiet removed.
Starting kernel
Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.19-ti-r41 (root@a5-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Wed Aug 24 16:09:37 UTC 2016 [ 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 model: TI AM335x BeagleBone Black [ 0.000000] cma: Reserved 24 MiB at 0x9e000000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.0 (sgx neon ) [ 0.000000] PERCPU: Embedded 13 pages/cpu @df923000 s24320 r8192 d20736 u53248 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408 [ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M cape_universal=enable [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 473844K/522240K available (7304K kernel code, 902K rwdata, 3684K rodata, 600K init, 907K bss, 23820K reserved, 24576K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB) [ 0.000000] .text : 0xc0008000 - 0xc0ac3350 (10989 kB) [ 0.000000] .init : 0xc0ac4000 - 0xc0b5a000 ( 600 kB) [ 0.000000] .data : 0xc0b5a000 - 0xc0c3bbf0 ( 903 kB) [ 0.000000] .bss : 0xc0c3e000 - 0xc0d20e68 ( 908 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000032] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000043] OMAP clocksource: timer1 at 24000000 Hz [ 0.001214] clocksource_probe: no matching clocksources found [ 0.001402] Console: colour dummy device 80x30 [ 0.002177] console [tty0] enabled [ 0.002213] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.002239] This ensures that you still see kernel messages. Please [ 0.002263] update your kernel commandline. [ 0.002296] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656) [ 0.046935] pid_max: default: 32768 minimum: 301 [ 0.047087] Security Framework initialized [ 0.047116] Yama: becoming mindful. [ 0.047161] AppArmor: AppArmor disabled by boot time parameter [ 0.047334] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.047367] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.048166] Initializing cgroup subsys io [ 0.048221] Initializing cgroup subsys memory [ 0.048280] Initializing cgroup subsys devices [ 0.048313] Initializing cgroup subsys freezer [ 0.048344] Initializing cgroup subsys net_cls [ 0.048374] Initializing cgroup subsys perf_event [ 0.048403] Initializing cgroup subsys net_prio [ 0.048440] Initializing cgroup subsys pids [ 0.048506] CPU: Testing write buffer coherency: ok [ 0.048576] ftrace: allocating 34016 entries in 67 pages [ 0.133468] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.133622] Setting up static identity map for 0x80008240 - 0x8000828c [ 0.137064] Brought up 1 CPUs [ 0.137118] SMP: Total of 1 processors activated (995.32 BogoMIPS). [ 0.137140] CPU: All CPU(s) started in SVC mode. [ 0.138570] devtmpfs: initialized [ 0.158429] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.176605] omap_hwmod: debugss: _wait_target_disable failed [ 0.230414] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.232593] xor: measuring software checksum speed [ 0.270919] arm4regs : 1221.000 MB/sec [ 0.310919] 8regs : 1094.000 MB/sec [ 0.350916] 32regs : 1093.000 MB/sec [ 0.390917] neon : 1755.000 MB/sec [ 0.390937] xor: using function: neon (1755.000 MB/sec) [ 0.391049] pinctrl core: initialized pinctrl subsystem [ 0.393007] NET: Registered protocol family 16 [ 0.396529] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.397763] cpuidle: using governor ladder [ 0.397810] cpuidle: using governor menu [ 0.402881] OMAP GPIO hardware version 0.1 [ 0.414683] No ATAGs? [ 0.414725] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.415433] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.415479] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.490981] raid6: int32x1 gen() 263 MB/s [ 0.559004] raid6: int32x1 xor() 240 MB/s [ 0.627080] raid6: int32x2 gen() 375 MB/s [ 0.694977] raid6: int32x2 xor() 280 MB/s [ 0.763039] raid6: int32x4 gen() 391 MB/s [ 0.830943] raid6: int32x4 xor() 264 MB/s [ 0.898939] raid6: int32x8 gen() 358 MB/s [ 0.967046] raid6: int32x8 xor() 232 MB/s [ 1.034951] raid6: neonx1 gen() 1450 MB/s [ 1.102946] raid6: neonx1 xor() 846 MB/s [ 1.170918] raid6: neonx2 gen() 1880 MB/s [ 1.238928] raid6: neonx2 xor() 1150 MB/s [ 1.306921] raid6: neonx4 gen() 1982 MB/s [ 1.374915] raid6: neonx4 xor() 1199 MB/s [ 1.442929] raid6: neonx8 gen() 1209 MB/s [ 1.510961] raid6: neonx8 xor() 670 MB/s [ 1.510981] raid6: using algorithm neonx4 gen() 1982 MB/s [ 1.511000] raid6: .... xor() 1199 MB/s, rmw enabled [ 1.511019] raid6: using intx1 recovery algorithm [ 1.519854] edma 49000000.edma: TI EDMA DMA engine driver [ 1.524636] SCSI subsystem initialized [ 1.525375] usbcore: registered new interface driver usbfs [ 1.525472] usbcore: registered new interface driver hub [ 1.525580] usbcore: registered new device driver usb [ 1.526170] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 1.526255] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe [ 1.526402] media: Linux media interface: v0.10 [ 1.526477] Linux video capture interface: v2.00 [ 1.526587] pps_core: LinuxPPS API ver. 1 registered [ 1.526610] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.526659] PTP clock support registered [ 1.527547] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 1.528806] NetLabel: Initializing [ 1.528847] NetLabel: domain hash size = 128 [ 1.528864] NetLabel: protocols = UNLABELED CIPSOv4 [ 1.528934] NetLabel: unlabeled traffic allowed by default [ 1.529281] clocksource: Switched to clocksource timer1 [ 1.636087] NET: Registered protocol family 2 [ 1.636882] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 1.636955] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 1.637027] TCP: Hash tables configured (established 4096 bind 4096) [ 1.637113] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 1.637150] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 1.637541] NET: Registered protocol family 1 [ 1.638079] RPC: Registered named UNIX socket transport module. [ 1.638116] RPC: Registered udp transport module. [ 1.638135] RPC: Registered tcp transport module. [ 1.638153] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.638771] Unpacking initramfs... [ 1.995660] Freeing initrd memory: 4960K (c8080000 - c8558000) [ 1.996220] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 1.998983] futex hash table entries: 256 (order: 2, 16384 bytes) [ 1.999140] audit: initializing netlink subsys (disabled) [ 1.999231] audit: type=2000 audit(1.936:1): initialized [ 2.008864] zbud: loaded [ 2.009659] VFS: Disk quotas dquot_6.6.0 [ 2.009935] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.012494] NFS: Registering the id_resolver key type [ 2.012582] Key type id_resolver registered [ 2.012603] Key type id_legacy registered [ 2.012644] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.013003] fuse init (API version 7.23) [ 2.013716] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 2.021375] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 2.021715] io scheduler noop registered [ 2.021749] io scheduler deadline registered [ 2.021828] io scheduler cfq registered (default) [ 2.023174] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 2.024851] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 2.026344] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 2.029166] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250 [ 2.918750] console [ttyS0] enabled [ 2.923717] [drm] Initialized drm 1.1.0 20060810 [ 2.981304] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 2.987506] davinci_mdio 4a101000.mdio: detected phy mask fffffffe [ 2.994101] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe] [ 3.007809] libphy: 4a101000.mdio: probed [ 3.011993] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 [ 3.022102] cpsw 4a100000.ethernet: Detected MACID = c8:a0:30:b7:f9:6f [ 3.030630] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.037407] ehci-platform: EHCI generic platform driver [ 3.042908] ehci-omap: OMAP-EHCI Host Controller driver [ 3.048610] usbcore: registered new interface driver usb-storage [ 3.056624] 47401300.usb-phy supply vcc not found, using dummy regulator [ 3.067332] 47401b00.usb-phy supply vcc not found, using dummy regulator [ 3.076472] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 3.082365] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1 [ 3.090513] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 3.097387] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.104694] usb usb1: Product: MUSB HDRC host driver [ 3.109713] usb usb1: Manufacturer: Linux 4.4.19-ti-r41 musb-hcd [ 3.115773] usb usb1: SerialNumber: musb-hdrc.1.auto [ 3.121785] hub 1-0:1.0: USB hub found [ 3.125693] hub 1-0:1.0: 1 port detected [ 3.138657] mousedev: PS/2 mouse device common for all mice [ 3.146409] omap_rtc 44e3e000.rtc: already running [ 3.151745] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 3.159683] i2c /dev entries driver [ 3.164777] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 3.172143] cpuidle: enable-method property 'ti,am3352' found operations [ 3.179605] omap_hsmmc 48060000.mmc: Got CD GPIO [ 3.244437] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.254049] hidraw: raw HID events driver (C) Jiri Kosina [ 3.260239] usbcore: registered new interface driver usbhid [ 3.265937] usbhid: USB HID core driver [ 3.270042] mmc0: new high speed SDHC card at address b368 [ 3.275966] ashmem: initialized [ 3.280478] remoteproc0: wkup_m3 is available [ 3.285043] remoteproc0: Note: remoteproc is still under development and considered experimental. [ 3.294086] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [ 3.304943] mmcblk0: mmc0:b368 G5334 7.46 GiB [ 3.311023] mmcblk0: p1 [ 3.317199] NET: Registered protocol family 10 [ 3.326661] mip6: Mobile IPv6 [ 3.329868] NET: Registered protocol family 17 [ 3.334555] Key type dns_resolver registered [ 3.338948] mpls_gso: MPLS GSO support [ 3.343029] omap_voltage_late_init: Voltage driver support not added [ 3.353815] PM: Cannot get wkup_m3_ipc handle [ 3.358384] ThumbEE CPU extension supported. [ 3.362734] Registering SWP/SWPB emulation handler [ 3.368534] registered taskstats version 1 [ 3.372906] zswap: loaded using pool lzo/zbud [ 3.380662] Btrfs loaded [ 3.390869] mmc1: MAN_BKOPS_EN bit is not set [ 3.399395] mmc1: new high speed MMC card at address 0001 [ 3.410610] mmcblk1: mmc1:0001 MMC02G 1.79 GiB [ 3.420997] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB [ 3.427389] Key type encrypted registered [ 3.434687] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0 [ 3.444020] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB [ 3.451982] mmcblk1: p1 [ 3.474639] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 3.480588] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 3.487799] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 3.495055] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 3.502480] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 3.509797] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 3.517107] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 3.524090] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 3.530741] remoteproc0: powering up wkup_m3 [ 3.535250] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735 [ 3.542828] remoteproc0: remote processor wkup_m3 is now up [ 3.548538] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191 [ 3.560056] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,0A5C,3513BBBK3281' [ 3.567428] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4 [ 3.613289] bone_capemgr bone_capemgr: slot #0: No cape found [ 3.657285] bone_capemgr bone_capemgr: slot #1: No cape found [ 3.701285] bone_capemgr bone_capemgr: slot #2: No cape found [ 3.745285] bone_capemgr bone_capemgr: slot #3: No cape found [ 3.751174] bone_capemgr bone_capemgr: initialized OK. [ 3.758351] PM: bootloader does not support rtc-only! [ 3.764074] omap_rtc 44e3e000.rtc: setting system clock to 2016-09-22 13:34:17 UTC (1474551257) [ 3.773005] of_cfs_init [ 3.775639] of_cfs_init: OK [ 3.784831] Freeing unused kernel memory: 600K (c0ac4000 - c0b5a000) Loading, please wait... starting version 230 [ 3.887157] random: systemd-udevd: uninitialized urandom read (16 bytes read, 16 bits of entropy available) [ 3.907924] random: udevadm: uninitialized urandom read (16 bytes read, 16 bits of entropy available) [ 3.918299] random: systemd-udevd: uninitialized urandom read (16 bytes read, 16 bits of entropy available) [ 3.928734] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 3.938312] random: systemd-udevd: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 3.948413] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 3.963192] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 3.973490] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 3.983446] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) [ 3.993541] random: udevadm: uninitialized urandom read (16 bytes read, 17 bits of entropy available) Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Will now check root file system ... fsck from util-linux 2.25.2 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 rootfs: clean, 119279/217728 files, 640901/870144 blocks done. [ 7.064838] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 7.632895] systemd[1]: Failed to insert module 'kdbus': Function not implemented [ 7.681963] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 7.700860] systemd[1]: Detected architecture arm. Welcome to �[1mDebian GNU/Linux 8 (jessie)�[0m! [ 7.715064] systemd[1]: Set hostname to <yoder-debian-bone>. [ 8.243335] systemd[1]: Reached target Encrypted Volumes. [OK] Reached target Encrypted Volumes. [ 8.258765] systemd[1]: Created slice User and Session Slice. [OK] Created slice User and Session Slice. [ 8.278603] systemd[1]: Listening on Journal Audit Socket. [OK] Listening on Journal Audit Socket. [ 8.290348] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [OK] Started Dispatch Password Requests to Console Directory Watch. [ 8.310181] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [OK] Listening on /dev/initctl Compatibility Named Pipe. [ 8.331306] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [OK] Set up automount Arbitrary Executab...ats File System Automount Point. [ 8.354264] systemd[1]: Listening on Journal Socket (/dev/log). [OK] Listening on Journal Socket (/dev/log). [ 8.374124] systemd[1]: Listening on udev Kernel Socket. [OK] Listening on udev Kernel Socket. [ 8.385908] systemd[1]: Reached target Remote File Systems (Pre). [OK] Reached target Remote File Systems (Pre). [ 8.405892] systemd[1]: Reached target Remote File Systems. [OK] Reached target Remote File Systems. [ 8.418237] systemd[1]: Listening on udev Control Socket. [OK] Listening on udev Control Socket. [ 8.430123] systemd[1]: Listening on fsck to fsckd communication Socket. [OK] Listening on fsck to fsckd communication Socket. [ 8.450256] systemd[1]: Listening on Journal Socket. [OK] Listening on Journal Socket. [ 8.462411] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [OK] Started Forward Password Requests to Wall Directory Watch. [ 8.481887] systemd[1]: Reached target Paths. [OK] Reached target Paths. [ 8.494192] systemd[1]: Listening on Syslog Socket. [OK] Listening on Syslog Socket. [ 8.506712] systemd[1]: Created slice System Slice. [OK] Created slice System Slice. [ 8.522139] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 8.565986] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 8.618477] systemd[1]: Starting Journal Service... Starting Journal Service... [ 8.697064] systemd[1]: Starting Load Kernel Modules... [ 8.705373] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro Starting Load Kernel Modules... [ 8.752345] systemd[1]: Starting Create list of required static device nodes for the current kernel... Starting Create list of required st... nodes for the current kernel... [ 8.858357] systemd[1]: Mounting /sys/kernel/debug... Mounting /sys/kernel/debug... [ 8.930638] systemd[1]: Created slice system-getty.slice. [OK] Created slice system-getty.slice. [ 8.973861] systemd[1]: Reached target Slices. [OK] Reached target Slices. [ 8.999111] systemd[1]: Created slice system-serial\x2dgetty.slice. [OK] Created slice system-serial\x2dgetty.slice. [ 9.021807] systemd[1]: Reached target Swap. [OK] Reached target Swap. [ 9.054383] systemd[1]: Mounted POSIX Message Queue File System. [OK] Mounted POSIX Message Queue File System. [ 9.086058] systemd[1]: Mounted /sys/kernel/debug. [OK] Mounted /sys/kernel/debug. [ 9.098691] systemd[1]: Started Journal Service. [OK] Started Journal Service. [OK] Started Remount Root and Kernel File Systems. [OK] Started Load Kernel Modules. [OK] Started Create list of required sta...ce nodes for the current kernel. Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... Mounting FUSE Control File System... Mounting Configuration File System... Starting Load/Save Random Seed... Starting udev Coldplug all Devices... Starting Flush Journal to Persistent Storage... [OK] Mounted Configuration File System. [OK] Mounted FUSE Control File System. [OK] Started Create Static Device Nodes in /dev. [OK] Started Apply Kernel Variables. [OK] Started Load/Save Random Seed. [ 9.718236] systemd-journald[537]: Received request to flush runtime journal from PID 1 [OK] Reached target Local File Systems (Pre). [OK] Reached target Local File Systems. Starting Raise network interfaces... Starting udev Kernel Device Manager... [OK] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... [OK] Started udev Kernel Device Manager. Starting LSB: Tune IDE hard disks... [OK] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [OK] Started Network Time Synchronization. [OK] Started Update UTMP about System Boot/Shutdown. [OK] Started LSB: Tune IDE hard disks. [OK] Reached target System Time Synchronized. [OK] Started udev Coldplug all Devices. [OK] Reached target System Initialization. Starting Restore Sound Card State... [OK] Listening on cloud9.socket. [OK] Listening on bonescript.socket. [OK] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [OK] Started Daily Cleanup of Temporary Directories. [OK] Reached target Timers. [OK] Listening on node-red.socket. [OK] Listening on D-Bus System Message Bus Socket. [OK] Reached target Sockets. [OK] Reached target Basic System. Starting Generic Board Startup... Starting Avahi mDNS/DNS-SD Stack... Starting Cape Manager Service... Starting LSB: Start busybox udhcpd at boot time... [OK] Started Entropy daemon using the HAVEGE algorithm. Starting LSB: Load kernel modules needed to enable cpufreq scaling... [OK] Started Bonescript autorun. Starting Restore /etc/resolv.conf i...e the ppp link was shut down.... [OK] Started Regular background program processing daemon. [ 13.102614] random: nonblocking pool is initialized [OK] Started D-Bus System Message Bus. [OK] Started Avahi mDNS/DNS-SD Stack. Starting Connection service... Starting System Logging Service... [OK] Started BB WL18xx wlan0 Service. Starting Login Service... [OK] Started System Logging Service. [OK] Started Restore Sound Card State. [OK] Started Cape Manager Service. [OK] Started Restore /etc/resolv.conf if...ore the ppp link was shut down.. [ 15.028289] using random self ethernet address [ 15.032924] using random host ethernet address [ 15.080200] using host ethernet address: C8:A0:30:B7:F9:70 [ 15.085685] using self ethernet address: C8:A0:30:B7:F9:71[ 15.255829] Mass Storage Function, version: 2009/09/11 [ 15.282794] LUN: removable file: (no medium) [ 15.338111] net eth0: initializing cpsw version 1.12 (0) [ 15.343559] net eth0: initialized cpsw ale version 1.4 [ 15.348775] net eth0: ALE Table size 1024 [ 15.373739] LUN: removable read only file: /var/cache/doc-beaglebone-getting-started/beaglebone-getting-started-2015-12-04.img [ 15.385325] Number of LUNs=1 [OK] Started LSB: Start busybox udhcpd at boot time. [OK] Started Connection service. [ 15.614361] net eth0: phy found : id is : 0x7c0f1 [ 15.683908] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.692351] usb0: HOST MAC c8:a0:30:b7:f9:70 [ 15.721801] usb0: MAC c8:a0:30:b7:f9:71 [ 15.757527] g_multi gadget: Multifunction Composite Gadget [ 15.763153] g_multi gadget: g_multi ready [OK] Started Login Service. [ 16.375961] g_multi gadget: high-speed config #1: Multifunction with RNDIS [OK] Started LSB: Load kernel modules needed to enable cpufreq scaling. Starting LSB: set CPUFreq kernel parameters... Starting WPA supplicant... Starting Hostname Service... [OK] Started Raise network interfaces. [OK] Started Hostname Service. Stopping LSB: Start busybox udhcpd at boot time... [OK] Started LSB: set CPUFreq kernel parameters. [OK] Stopped LSB: Start busybox udhcpd at boot time. [OK] Started WPA supplicant. [OK] Reached target Network. [OK] Reached target Network is Online. Starting LSB: Advanced IEEE 802.11 management daemon... Starting /etc/rc.local Compatibility... Starting Permit User Sessions... [OK] Started OpenBSD Secure Shell server. [OK] Started LSB: Advanced IEEE 802.11 management daemon. [OK] Started /etc/rc.local Compatibility. [OK] Started Permit User Sessions. [OK] Started Getty on tty1. Starting LSB: Start busybox udhcpd at boot time... [OK] Started LSB: Start busybox udhcpd at boot time. [OK] Found device /dev/ttyS0. [OK] Started Serial Getty on ttyS0. [ 24.512280] davinci-mcasp 4803c000.mcasp: invalid tdm slots: 0 [ 27.039099] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 27.395051] tda998x 0-0070: found TDA19988 [ 27.494498] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x]) [ 27.666538] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 27.673348] [drm] No driver support for vblank timestamp query. [ 28.057739] tilcdc 4830e000.lcdc: No connectors reported connected with modes [ 28.289846] [drm] Cannot find any crtc or sizes - going 1024x768 Debian GNU/Linux 8 yoder-debian-bone ttyS0 BeagleBoard.org Debian Image 2016-08-28 Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] The IP Address for usb0 is: 192.168.7.2 yoder-debian-bone login: [ 28.669804] Console: switching to colour frame buffer device 128x48 [ 28.977776] tilcdc 4830e000.lcdc: fb0: frame buffer device [ 29.129500] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0 [ 29.368073] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 29.685221] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 33.668403] asoc-simple-card sound: i2s-hifi <-> 48038000.mcasp mapping ok [ 33.972674] bone_capemgr bone_capemgr: part_number 'cape-universaln', version 'N/A' [ 34.000640] bone_capemgr bone_capemgr: slot #4: override [ 34.006262] bone_capemgr bone_capemgr: Using override eeprom data at slot 4 [ 34.013438] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,cape-universaln' [ 34.364580] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0 [ 34.390274] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1 [ 34.416541] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2 [ 34.437073] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3 [ 34.462417] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4 [ 34.484217] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5 [ 34.508607] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6 [ 34.529743] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7 [ 34.556563] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8 [ 34.577798] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9 [ 34.601853] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10 [ 34.626168] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11 [ 34.651351] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12 [ 34.670323] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13 [ 34.696061] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14 [ 34.717090] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15 [ 34.745719] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16 [ 34.763771] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17 [ 34.789134] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18 [ 34.813830] gpio-of-helper ocp:cape-universal: Allocated GPIO id=19 [ 34.833908] gpio-of-helper ocp:cape-universal: Allocated GPIO id=20 [ 34.865054] gpio-of-helper ocp:cape-universal: Allocated GPIO id=21 [ 34.894656] gpio-of-helper ocp:cape-universal: Allocated GPIO id=22 [ 34.922150] gpio-of-helper ocp:cape-universal: Allocated GPIO id=23 [ 34.949775] gpio-of-helper ocp:cape-universal: Allocated GPIO id=24 [ 34.980587] gpio-of-helper ocp:cape-universal: Allocated GPIO id=25 [ 35.009752] gpio-of-helper ocp:cape-universal: Allocated GPIO id=26 [ 35.037774] gpio-of-helper ocp:cape-universal: Allocated GPIO id=27 [ 35.065842] gpio-of-helper ocp:cape-universal: Allocated GPIO id=28 [ 35.097765] gpio-of-helper ocp:cape-universal: Allocated GPIO id=29 [ 35.118941] gpio-of-helper ocp:cape-universal: Allocated GPIO id=30 [ 35.152175] gpio-of-helper ocp:cape-universal: Allocated GPIO id=31 [ 35.179848] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32 [ 35.187844] gpio-of-helper ocp:cape-universal: ready [ 35.233688] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 191, base_baud = 3000000) is a 8250 [ 35.274247] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 192, base_baud = 3000000) is a 8250 [ 35.313736] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 193, base_baud = 3000000) is a 8250 [ 35.351856] platform 48300180.eqep: Cannot lookup hwmod 'eqep0' [ 35.387665] platform 48302180.eqep: Cannot lookup hwmod 'eqep1' [ 35.419199] platform 48304180.eqep: Cannot lookup hwmod 'eqep2' [ 35.461676] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz [ 35.492186] bone_capemgr bone_capemgr: slot #4: dtbo 'cape-universaln-00A0.dtbo' loaded; overlay id #0 [ 36.935231] eqep 48300180.eqep: ver. 1.0 [ 37.181480] eqep 48300180.eqep: failed to get clock [ 37.266945] eqep: probe of 48300180.eqep failed with error -2 [ 37.489999] eqep 48302180.eqep: ver. 1.0 [ 37.507853] CAN device driver interface [ 37.653641] eqep 48302180.eqep: failed to get clock [ 37.669575] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=200) [ 37.801624] eqep: probe of 48302180.eqep failed with error -2 [ 37.927494] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=201) [ 37.954568] eqep 48304180.eqep: ver. 1.0 [ 37.982355] eqep 48304180.eqep: failed to get clock [ 38.027724] eqep: probe of 48304180.eqep failed with error -2 Debian GNU/Linux 8 yoder-debian-bone ttyS0 BeagleBoard.org Debian Image 2016-08-28 Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] The IP Address for usb0 is: 192.168.7.2 yoder-debian-bone login:
Stopping kernel
bone$ halt reboot Stopping Entropy daemon using the HAVEGE algorithm... [OK] Stopped target Sound Card. [OK] Stopped target Timers. [OK] Reached target Unmount All Filesystems. Starting Store Sound Card State... [OK] Stopped Daily Cleanup of Temporary Directories. [OK] Stopped target System Time Synchronized. [OK] Stopped target Graphical Interface. [OK] Stopped target Multi-User System. Stopping Regular background program processing daemon... Stopping Avahi mDNS/DNS-SD Stack... Stopping OpenBSD Secure Shell server... [OK] Stopped target Login Prompts. Stopping Serial Getty on ttyGS0... Stopping Getty on tty1... Stopping Serial Getty on ttyS0... Stopping System Logging Service... Stopping Login Service... Stopping Bonescript autorun... Stopping LSB: Start busybox udhcpd at boot time... Stopping LSB: Advanced IEEE 802.11 management daemon... Stopping LSB: set CPUFreq kernel parameters... [OK] Stopped Avahi mDNS/DNS-SD Stack. [OK] Stopped Entropy daemon using the HAVEGE algorithm. [OK] Stopped Bonescript autorun. [OK] Stopped Regular background program processing daemon. [OK] Stopped Login Service. [OK] Stopped OpenBSD Secure Shell server. [OK] Stopped Getty on tty1. [OK] Stopped System Logging Service. [OK] Stopped Serial Getty on ttyS0. [OK] Stopped Serial Getty on ttyGS0. [OK] Started Store Sound Card State. [OK] Stopped LSB: Advanced IEEE 802.11 management daemon. [OK] Stopped LSB: Start busybox udhcpd at boot time. [OK] Stopped LSB: set CPUFreq kernel parameters. Stopping LSB: Load kernel modules needed to enable cpufreq scaling... [OK] Removed slice system-serial\x2dgetty.slice. [OK] Stopped /etc/rc.local Compatibility. [OK] Stopped target Network is Online. Stopping Permit User Sessions... [OK] Removed slice system-getty.slice. [OK] Stopped Permit User Sessions. [OK] Stopped LSB: Load kernel modules needed to enable cpufreq scaling. [OK] Stopped target Remote File Systems. [OK] Stopped target Remote File Systems (Pre). [OK] Stopped target Network. Stopping Connection service... Stopping Raise network interfaces... Stopping WPA supplicant... [OK] Stopped WPA supplicant. [OK] Stopped Connection service. Stopping D-Bus System Message Bus... [OK] Stopped D-Bus System Message Bus. [OK] Stopped target Basic System. [OK] Stopped target Slices. [OK] Removed slice User and Session Slice. [OK] Stopped target Sockets. [OK] Closed Avahi mDNS/DNS-SD Stack Activation Socket. [OK] Closed Syslog Socket. [OK] Closed cloud9.socket. [OK] Closed bonescript.socket. [OK] Closed node-red.socket. [OK] Stopped target Paths. [OK] Stopped Dispatch Password Requests to Console Directory Watch. [OK] Stopped Forward Password Requests to Wall Directory Watch. [OK] Closed D-Bus System Message Bus Socket. [OK] Stopped target System Initialization. Stopping Update UTMP about System Boot/Shutdown... Stopping Load/Save Random Seed... [OK] Stopped target Encrypted Volumes. Stopping Network Time Synchronization... [OK] Stopped target Swap. [OK] Stopped Network Time Synchronization. [OK] Stopped Load/Save Random Seed. [OK] Stopped Update UTMP about System Boot/Shutdown. [OK] Stopped Create Volatile Files and Directories. [OK] Stopped Raise network interfaces. [OK] Stopped target Local File Systems. [OK] Stopped target Local File Systems (Pre). [OK] Stopped Remount Root and Kernel File Systems. [OK] Stopped Create Static Device Nodes in /dev. [OK] Stopped Apply Kernel Variables. [OK] Stopped Load Kernel Modules. [OK] Reached target Shutdown. [ 88.816418] watchdog watchdog0: watchdog did not stop! [ 88.858414] systemd-shutdown[1]: Sending SIGTERM to remaining processes... [ 88.887621] systemd-journald[537]: Received SIGTERM from PID 1 (systemd-shutdow). [ 88.911831] systemd-shutdown[1]: Sending SIGKILL to remaining processes... [ 88.936982] systemd-shutdown[1]: Hardware watchdog 'OMAP Watchdog', version 0 [ 88.946448] systemd-shutdown[1]: Unmounting file systems. [ 88.953475] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'. [ 94.188368] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro,data=ordered [ 94.226688] systemd-shutdown[1]: Remounting '/' read-only with options 'errors=remount-ro,data=ordered'. [ 94.240075] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro,data=ordered [ 94.248286] systemd-shutdown[1]: All filesystems unmounted. [ 94.254287] systemd-shutdown[1]: Deactivating swaps. [ 94.260309] systemd-shutdown[1]: All swaps deactivated. [ 94.266144] systemd-shutdown[1]: Detaching loop devices. [ 94.278454] systemd-shutdown[1]: All loop devices detached. [ 94.284704] systemd-shutdown[1]: Detaching DM devices. [ 94.291876] systemd-shutdown[1]: All DM devices detached. [ 94.319684] systemd-shutdown[1]: Failed to read reboot parameter file: No such file or directory [ 94.329474] systemd-shutdown[1]: Rebooting. [ 94.338711] musb-hdrc musb-hdrc.1.auto: remove, state 4 [ 94.344523] usb usb1: USB disconnect, device number 1 [ 94.351943] musb-hdrc musb-hdrc.1.auto: USB bus 1 deregistered [ 94.382034] reboot: 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.
Embedded Linux Class by Mark A. Yoder