Timesys Getting Started Guide for Hagiwara HPU A100
Getting Started Guide for Hagiwara HPU A100
Contents
- Introduction
- Prerequisites
- Preparing the Target
- Preparing the Host
- Booting the Board
- Additional Information
Introduction
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 Hagiwara HPU A100.
This guide was tested with the Hagiwara HPU A100 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
Prerequisites
Host Requirements
To properly boot a board using software from Timesys, your host machine must meet the following requirements:
- 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-5.15-ts-x86_64 ) 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_x86_64-timesys-linux-<libc>/images/ on the command line.
Target Requirements
To boot the Hagiwara HPU A100, you will need the following items:
- Hagiwara HPU A100 Board
- Serial NULL Modem Cable
Once you have all of the necessary components, you should perform the following steps:
- Connect the UART port of the board (CN10 lower port on the HPU A100) to the serial port of your workstation using the NULL modem cable.
- Connect the power supply to your board.
Preparing the Target
Installing Boot Images to your Hard Disk
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:
/docs/wiki/engineering/howto_install_grub_built_by_the_factory
For EFI-enabled BIOS, use the following guide:
/docs/engineering/wiki/HOWTO_Install_GRUB2_with_EFI_support
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.
Preparing the Host
No additional host setup is required to boot from hard disk.
Booting the Board
If you followed the instructions in /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/.
Set your Root Partition
Grub commands affect the active partition. In order to load your kernel, you must set your hard drive RFS partition as active. Non-EFI Grub:
EFI Grub:
Load The Kernel
You can use kernel command load the kernel that is on the hard disk.
Example
Non-EFI Grub:
EFI Grub:
Boot The Kernel
Use the boot command to boot the loaded kernel image.
Additional Information
Factory Documentation
- /docs/wiki/factory/FactoryGSG
- /docs/wiki/factory/FactoryBestPractices
- /docs/wiki/nirvana-workflow/Workflow
- /docs/wiki/factory/FactoryTroubleshooting
- /docs/wiki/factory/FactoryOutput
- /docs/wiki/factory/FactoryArchitecture
Bootloaders
There are a number of supported bootloaders on this platform. Use the following guides to use them: