Difference between revisions of "IoTGateway/BSP/Linux/Quark/FAQ"
From ESS-WIKI
Daniel.hung (talk | contribs) |
|||
Line 6: | Line 6: | ||
--> | --> | ||
− | = | + | ==Compiling== |
− | ==GRUB== | + | ===GRUB=== |
Please refer to the following sections for details | Please refer to the following sections for details | ||
* Getting Started / Build Instructions / To build grub individually <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#To_build_grub_individually|LBV2]])</sub> | * Getting Started / Build Instructions / To build grub individually <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#To_build_grub_individually|LBV2]])</sub> | ||
− | == | + | ===Kernel=== |
Please refer to the following sections for details | Please refer to the following sections for details | ||
* Getting Started / Build Instructions / To build linux kernel individually <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#To_build_linux_kernel_individually|LBV2]])</sub> | * Getting Started / Build Instructions / To build linux kernel individually <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#To_build_linux_kernel_individually|LBV2]])</sub> | ||
− | == | + | ==Application== |
− | === | + | ===Static busybox=== |
The following steps demonstrate how to build the static busybox. | The following steps demonstrate how to build the static busybox. | ||
* Install cross tool chain | * Install cross tool chain | ||
Line 41: | Line 41: | ||
: Eventually, the two files, busybox and busybox_unstripped, are built and located in directory <tt>"~/code/test_quark/busybox-1.22.1"</tt>. | : Eventually, the two files, busybox and busybox_unstripped, are built and located in directory <tt>"~/code/test_quark/busybox-1.22.1"</tt>. | ||
− | + | ==SDcard image== | |
− | |||
− | =SDcard image= | ||
To build from prebuilt image, please refer to the following sections for details. | To build from prebuilt image, please refer to the following sections for details. | ||
* Getting Started / Introducing BSP / Prebuilt image <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#Prebuilt_image|LBV2]])</sub> | * Getting Started / Introducing BSP / Prebuilt image <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#Prebuilt_image|LBV2]])</sub> | ||
Line 49: | Line 47: | ||
* Getting Started / Build Instructions / To build all image files <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#To_build_all_image_files|LBV2]])</sub> | * Getting Started / Build Instructions / To build all image files <sub>([[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide#To_build_all_image_files|LBV2]])</sub> | ||
− | + | ==Mini-PCIe== | |
− | |||
− | = | ||
− | |||
− | |||
− | |||
− | + | ==UART== |
Revision as of 07:12, 26 July 2016
Quark - Frequently Asked Questions
Compiling
GRUB
Please refer to the following sections for details
- Getting Started / Build Instructions / To build grub individually (LBV2)
Kernel
Please refer to the following sections for details
- Getting Started / Build Instructions / To build linux kernel individually (LBV2)
Application
Static busybox
The following steps demonstrate how to build the static busybox.
- Install cross tool chain
- To build all image files
- To build toolchain installer
- Setting up SDK
- Setting up cross compiling environment
- Install static linked libraries for cross compiling
- (Because the static linked libraries contained in cross toolchain installer are not full enough as contained in the yocto building environment.)
- $ pushd ${BSP_HOME}/${BDIR}/tmp/sysroots/quark && tar zcvf ~/static_lib.tgz `find ./ -name "*.a"` && popd
- (Copy ~/static_lib.tgz from docker container to home directory in local file system if needed)
- $ sudo tar xvf ~/static_lib.tgz -C /opt/iot-devkit/${POKY}/sysroots/i586-poky-linux --no-same-owner
- Unpack busybox tarball
- $ mkdir -p ~/code/test_quark
- $ tar xvf busybox-1.22.1.tar.bz2 -C ~/code/test_quark
- $ cd ~/code/test_quark/busybox-1.22.1
- Select the option, "Busybox Settings ---> Build Options---> [*] Build BusyBox as a static binary (no shared libs)"
- $ make menuconfig
- Exit and Save
- do compiling
- $ make
- Eventually, the two files, busybox and busybox_unstripped, are built and located in directory "~/code/test_quark/busybox-1.22.1".
SDcard image
To build from prebuilt image, please refer to the following sections for details.
- Getting Started / Introducing BSP / Prebuilt image (LBV2)
To build from BSP, please refer to the following sections for details.
- Getting Started / Build Instructions / To build all image files (LBV2)