- Preparing the Target
- Preparing the Host
- Booting the Board
- Additional Information
This document will describe in detail the procedures for booting a Linux kernel image and mounting a root file system from a hard disk on the Intel Atom E6XX with EG20T.
This guide was tested with the Intel Atom E660 with EG20T Development Kit (Formerly Crown Bay) using the GRUB bootloader.
Please see the Additional Information section for instructions on using other bootloaders.
The following configurations are supported:
- BIOS with Grub Bootloader (Non-UEFI)
- BIOS with Grub2 Bootloader (Non-UEFI)
- BIOS with SYSLINUX Bootloader
- BLDK v2 with GRUB2 Bootloader (UEFI)
- Modern GNU/Linux Distribution. While you can use nearly any modern Linux distribution released in the last 24 months, Timesys recommends one of the following:
- Ubuntu (Most recent release or LTS)
- Fedora (Most recent release)
- An internet connection on the Development Host.
- Root or sudo permission on the Development Host.
- A copy of the Linux Kernel (bzImage-3.4-ts-i686) and Root File System (rootfs.tar.gz) for the Target Board downloaded from Factory. These are found in the output directory of your online build, or in the directory build_i686-timesys-linux-<libc>/images/ on the command line.
- If you are booting your root file system over the network, you will need two network cards installed and configured in the Development Host. One to communicate normally with your LAN/WAN while installing host packages, the other to communicate solely with the target board.
- An available serial port on your Development Host.
To boot the Intel Atom E6XX with EG20T, you will need the following items:
- Intel Atom E6XX with EG20T Board
- Serial NULL Modem Cable
- Ethernet Crossover Cable or Ethernet hub/switch and Ethernet Patch Cables
Once you have all of the necessary components, you should perform the following steps:
- Connect the debug port (X16 on the Crown Bay) of the board to the serial port of your workstation using the null modem cable.
- If you are using a cross-over cable, connect the Ethernet port of the board to the second Ethernet port of your workstation.
- If you are using an Ethernet hub or switch, connect the board to the hub with a straight-through Ethernet cable, then connect the hub to the second Ethernet port of your workstation.
- Connect the power supply to your board.
- Start minicom on your host machine in configuration mode. As root:
# minicom -o -s -w
- A menu of configuration should appear. Use the Down-arrow key to scroll down and select the Serial port setup option, and press Enter.
- Verify that the listed serial port is the same one that is connected to the target board. If it is not, press A, and enter the correct device. This is /dev/ttyS0 on most Linux distributions.
- Set the Bps/Par/Bits option by pressing the letter E and using the next menu to set the appropriate values. You press the key that corresponds to the value 115200, then press Enter.
- Set Hardware flow control to No using the F key.
- Set Software flow control to No using the G key.
- Press Enter to return to the main configuration menu, and then press Esc to exit this menu.
- Reset the board, and wait for a moment. If you do not see output from the board, press Enter several times until you see the prompt. If you do not see any output from the board, and have verified that the serial terminal connection is setup correctly, contact your board vendor.
TIP: If you experience an error similar to Device /dev/ttyS0 is locked when starting minicom, it usually means that another process is using the serial port (which is usually another instance of minicom). You can find the process that is currently using the serial port by executing the following:
PID TTY STAT TIME COMMAND
28923 pts/0 S+ 0:00 minicom
This process can also be killed directly with fuser as root. Please use this command with caution:
To quickly connect to a board using Gnu Screen, execute the following:
For more information about using screen, please consult the man page, or view the manual online at http://www.gnu.org/software/screen/manual/screen.html
You must install the root file system, kernel image, and GRUB image to the hard disk.
If you are using a non-EFI BIOS, you should use the following guide:
For EFI-enabled BIOS, use the following guide:
NOTE: The default Timesys builds provide a non-EFI GRUB image by default. You must use the Desktop Factory to produce the EFI-enabled image.
If you followed the instructions in https://linuxlink.timesys.com/docs/wiki/engineering/howto_install_grub_built_by_the_factory, your board should boot to a Linux kernel automatically. However, you may wish to modify your boot process, or enable a serial console in the kernel. These instructions detail how to manually boot a kernel from GRUB. For more information on Grub, see http://www.gnu.org/software/grub/.
You can use kernel command load the kernel that is on the hard disk.
Use the boot command to boot the loaded kernel image.
There are a number of supported bootloaders on this platform. Use the following guides to use them:
- GRUB - https://linuxlink.timesys.com/docs/wiki/engineering/howto_install_grub_built_by_the_factory
- GRUB2 with EFI - https://linuxlink.timesys.com/docs/engineering/wiki/HOWTO_Install_GRUB2_with_EFI_support
- SYSLINUX - https://linuxlink.timesys.com/docs/engineering/wiki/HOWTO_Install_the_SYSLINUX_Bootloader