Build Firmware Image; Install Firmware Image To Usb Stick Or Hard Drive; Table 5-6: Generate Lmp Firmware Image From Scratch; Table 5-7: Re-Build Specific Package And Generate New Lmp Firmware Image - Advantech PAC-4010 User Manual

Packetarium xle ultra high performance blade server with 100g switched midplane
Table of Contents

Advertisement

5.4 Build Firmware Image

Table 5-6: Generate LMP Firmware Image from Scratch

$ cd <workspace>
$ make disclean
$ make all
$ make imgclean
$ make image

Table 5-7: Re-build Specific Package and Generate New LMP Firmware Image

$ cd <workspace>
$ make
<package>.rebuild
$ make
<package>.install
$ make binary

Table 5-8: Configure Linux Kernel Parameters

$ cd <workspace>
$ make linux-kernel config
Note!
There are more detailed make commands defined in <workspace>/Makefile.

5.5 Install Firmware Image to USB Stick or Hard Drive

The generated firmware image (binary.img) contains a VFAT partition and the syslinux
boot-loader. After user generates the firmware image, it is ready to be written to a USB
stick or hard drive by:

Table 5-9: Install Firmware Image to USB Stick or Hard Drive

$ cd <workspace>
$ make install DEVICE=/dev/sdX
Note!
1. <sdX> could be sda, sdb, or others, depending on the existence of other
hard drives connected to mSTATA/STATA interface, or USB sockets.
2. This operation will definitely overwrite the contents on the USB stick or hard
drive.
__________________________________________________________________________________________
PAC-4010 User Manual V1.0
Clean up all files generated at build time
Build all add-in/customized packages
Clean up LMP firmware image and related files
Generate LMP firmware image
Re-build specific package
Update package installation files in chroot
Generate new LMP firmware image
Run Linux menuconfig
Install LMP firmware image to hard drive
Copyright 2016 Advantech Co. Ltd. All rights reserved.
77
Page

Advertisement

Table of Contents
loading

Table of Contents