S5PV210 development -- QT4.8 porting

Publisher:创新脑细胞Latest update time:2019-08-30 Source: eefocusKeywords:S5PV210 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Today, at the request of netizens, I generated the root file system of the nand platform. Here is a brief explanation.


1. Install the cross compiler

As mentioned before, see: S5PV210 Development - Cross Compiler


2. Install QT4.8 source package

Copy the QT4.8 source package qt_x210v3s_160307.tar.bz2 in the CD to the ubuntu user directory and decompress it:


    tar -xvf qt_x210v3s_160307.tar.bz2


Next, the compilation methods are different for Nand and iNand platforms.


3. NAND platform transplantation

(1) Compile uboot

Execute the following command to compile:


    ./mk -un


Generate uboot.bin in the release directory


(2) Compile the kernel

Execute the following instructions to compile the kernel:

    ./mk -k


Generate zImage-qt in the release directory 


(3) Compile the file system

Execute the following command to compile the file system:

    ./mk -r


A series of errors appear, such as: You must install 'git' on your build machine. You need to install the corresponding software.


See: buildroot


Install the required packages:

sudo apt-get install g++ bison flex texinfo git hgsubversion whois


I am using Ubuntu 10.04, which does not have the hgsubversion software. I used apt-cache search hg to search for installation packages related to hg, and found hgsvn in the list, so I installed this instead.


Generate rootfs.tar in the release directory (the compilation time is a bit long, it takes 2 hours)


(4) Create a file system based on uboot

Download: mkfs.jffs2 and put it in the /sbin directory.


Execute the following command to compile:

    ./mk -rj


Generate rootfs_qt4.jffs2 in the release directory


(5) View the release directory

4. iNand platform migration

(1) Compile uboot

 


Execute the following command to compile:

    ./mk -ui

Generate uboot.bin in the release directory 


(2) Compile the kernel


Execute the following instructions to compile the kernel:

    ./mk -k

Generate zImage-qt in the release directory 


(3) Compile the file system

 

Execute the following command to compile the file system:

    ./mk -r

Generate rootfs.tar in the release directory


(4) Create a file system based on uboot

 

Execute the following command to compile:

    ./mk -re

Generate rootfs_qt4.ext3 in the release directory

Keywords:S5PV210 Reference address:S5PV210 development -- QT4.8 porting

Previous article:S5PV210 Development-- Communication
Next article:S5PV210 Development -- UART Detailed Explanation

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号