Building S3C6410 embedded Linux platform

Publisher:幸福的家园Latest update time:2015-08-17 Source: eefocusKeywords:S3C6410 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. Install VMWare 

    VMWare is a virtual PC software. VMWare's products allow you to run two or more Windows, DOS, and LINUX systems on one machine at the same time. Compared with the "multi-boot" system, VMWare adopts a completely different concept. The multi-boot system can only run one system at a time, and the machine needs to be restarted when the system is switched. VMWare is truly "simultaneous" running, with multiple operating systems on the platform of the main system, just like standard Windows applications. Moreover, you can perform virtual partitions and configurations on each operating system without affecting the data on the real hard disk. You can even connect several virtual machines to a local area network through a network card, which is extremely convenient. The performance of the operating system installed in VMware is much lower than that of the system directly installed on the hard disk. Therefore, it is more suitable for learning and testing.

   http://www.crsky.com/soft/1863.html


   http://dl.pconline.com.cn/html_2/1/59/id=457&pn=0.html

   We use: vmware 7.0.1.exe

2. Install Ubuntu

   Ubuntu is a Linux operating system that is mainly used for desktop applications. Ubuntu has many advantages. Compared with other versions of Linux, Ubuntu also has its own advantages. First, the installation system is very simple and only requires very few settings, which is completely comparable to the Windows desktop system; second, the graphical interface is very user-friendly, imitating the shortcut keys commonly used in XP; and when installing and upgrading programs, the system can install the dependent file packages through the network, so you don't have to worry about the dependencies of the Linux system. Considering everyone's usage habits and learning needs, we chose Ubuntu Linux.

  We use the Ubuntu9.10 CD image 'ubuntu-9.10-desktop-i386.iso' to install
  Ubuntu. The official website: http://www.ubuntu.org.cn
   can download various versions of Ubuntu. Of course, the official website can find all kinds of information about Ubuntu. The
   Ubuntu official forum: http://forum.ubuntu.org.cn/
    can find a lot of practical Ubuntu resources, Chinese forums. Ubuntu also has an official English forum.

3. Set Ubuntu to automatically log in as the root user
Embedded cross-compilation often requires root user privileges. Change the default user of the terminal after logging in to root.
If similar privilege issues occur during the compilation process, be sure to check the current user privileges.
� Create a new terminal in Ubuntu (click here to view the method for creating a new terminal), and enter:
#sudo –s
#sudo passwd
Enter the password to be set, so that we can log in as the root user in the future.
� Enter in the terminal:
#sudo gedit /etc/gdm/custom.conf
A text editor will pop up at this time, modify the content of 'custom.conf' to the following content (if the original file is empty,
enter these contents), save and close, restart Ubuntu, and you will find that you have automatically logged in as the root user.
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=30

 

4. Install the cross compiler
Copy the arm-linux-gcc-4.3.2.tgz file to the /forlinx directory of Ubuntu. The file is located in
the "Utilities" folder of the User Basics CD. Create a new terminal in Ubuntu and enter the following command to install the cross
compiler:
#cd /forlinx (enter the /forlinx directory)
#mkdir /usr/local/arm (create a directory, if the directory already exists, an error will be prompted, just skip it)
#tar zxvf arm-linux-gcc-4.3.2.tgz -C /
(unzip the compiler to /usr/local/arm)

After completion, the "4.3.2" directory will be generated in the /usr/local/arm/ directory.

In this way, the kernel or other applications all use /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc
to specify the use of the cross compiler.

For example, to check the version of this compiler, we can run
#/usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc -v. If
the compiler is installed correctly, the compiler version and other information will be displayed.

Keywords:S3C6410 Reference address:Building S3C6410 embedded Linux platform

Previous article:stm32f firmware library download and simple use
Next article:TinyOS porting of CC2430 microcontroller (windows platform)

Recommended ReadingLatest update time:2024-11-16 14:38

Chapter 9 Hardware Abstraction Layer: HAL
1. In traditional Linux systems, Linux drivers generally have two types of code: code for accessing hardware registers and business logic code. 2. Android's hierarchical structure: application layer, application framework layer, system runtime layer, Linux kernel layer 3. The purpose of adding HAL to Andro
[Microcontroller]
In-depth understanding of ARM architecture (S3C6410) --- Understanding S3C6410
The chip architecture is shown in the figure   The S3C64xx series of application processor chips are Samsung's main 16/32 RISC microprocessors. Samsung currently has launched the S3C6400 and S3C6410, both of which are based on the ARM11 architecture and are hardware pin compatible. It should be said that their fu
[Microcontroller]
In-depth understanding of ARM architecture (S3C6410) --- Understanding S3C6410
ARM11 learning based on S3C6410 (XI) DDR initialization
     Previously, programs were run in the internal stepping stone. But the size of the stepping stone is very small. The size of ARM11 is only 8K. It is definitely not possible to run large programs in such a small space. So external memory is needed. The external memory of ARM11 uses DDR. So the DDR must be initializ
[Microcontroller]
ARM11 learning based on S3C6410 (XI) DDR initialization
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号