__________________________________________________________________________________________
PAC-4010 User Manual V1.0 Copyright 2016 Advantech Co. Ltd. All rights reserved. Page
77
5.4 Build Firmware Image
Table 5-6: Generate LMP Firmware Image from Scratch
$ cd <workspace>
$ make disclean
$ make all
$ make imgclean
$ make image
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
Table 5-7: Re-build Specific Package and Generate New LMP Firmware Image
$ cd <workspace>
$ make
<package>.rebuild
$ make
<package>.install
$ make binary
Re-build specific package
Update package installation files in chroot
Generate new LMP firmware image
Table 5-8: Configure Linux Kernel Parameters
$ cd <workspace>
$ make linux-kernel config
Run Linux menuconfig
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
Install LMP firmware image to hard drive
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.
Summary of Contents for PAC-4010
Page 2: ......