ITOP-4412 Development Board---Linux system learning download steps

Source: Internet
Author: User

This article goes from Schindler to Forum:http://www.topeetboard.com

1,cd/home/topeet/linux-simple/console under the establishment . C File

2, compile the command, in this directory

#arm-none-linux-gnueabi-gcc-o HelloWorld helloworld.c-static

The red file is required to be modified according to the established. C file .

3.copy the compiled files to the System/bin directory

Go to cd/home/topeet/linux-simple/system/bin directory , execute copy

Cp/home/topeet/linux-simple/console/helloworld HelloWorld

The red file is required to be modified according to the established. C file .

3, return to the Linux-simple directory , perform compression packaging

Make_ext4fs-s-L 314572800-a root-l Linux system.img system

Red is required to be modified according to the upper level of the Bin directory, where the upper level of the Bin directory is the system, under Android may be root, modified according to the situation

4, the Development Board power, press any key to enter the uboot mode, connect the OTG line , enter the fastboot command in the HyperTerminal, the computer prompts to connect to the mobile phone, enter U Sb-fastboot-tool folder, execute cmd.exe, burn write kernel file fastboot.exe Flash system system.img, Execute fastboot reboot after completion, Development Board restart complete Burn Write

5 . After reboot, execute the LS command in HyperTerminal, go to bin directory , find the generated program file, such as Helloworld, enter command hello in HyperTerminal World to complete the operation.

ITOP-4412 Development Board---Linux system learning download steps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.