ccpaging
Joined: 07 Dec 2006 Posts: 757
小企鹅: 16604
|
Posted: 2008-Mar-08 Sat, pm4:33 |
|
Post subject: [转贴]PdaXrom pdaX86 +-builder |
|
http://akirose.tistory.com/tag/pdaxrom?page=2
google翻译:韩语-》英文
PdaXrom pdaX86 +-builder (ARM Cross Compile built environment)
PDA / Zaurus SL-C1000/3100 - 2007/05/20 09:32
Today is the pdaXrom-builder pdaX86 using ARM Cross Compile environments.
Jangjang 12 hours at the end of the shovel close to success.
Cross Compile the domestic environment for pdaXrom site, the document notes having a very hard time. - _-;
Japan eventually shovel at the end of the site (http://comomo.shacknet.nu/docs/pdaxrom/gentoo_pdaxrom_cross_compiling) Cross Compile Gentoo Linux environment to build a document that I could find. I have written this article to see if maybe I can easily understand. (Japanese to be able to have the condition.)
Gentoo Linux + eventually read at the end of the above article, pdaXrom builder, but the behavior of the various issues and eventually pdaX86 + builder pdaXrom-story building that can be seen.
I was, what specifically are using Linux Ubuntu (Desktop), so I just think it was not only without pdaX86 chosen.
Once the task is to VMware. Thus, you need to use VMware.
Of course, if you have a spare hard disk is no need to specifically VMware.
1. Download the pdaX86
It does not require the installation of special pdaX86. (Live CD image of ...)
This is a little more convenient. PdaX86 basically have to be driven to use a RAM Drive, but ...
RAM Drive is a volatile issue, thanks to cross-compile environment, and a low-capacity shortage has built quite large.
So, we need a hard disk. PdaX86 Live CD to the hard disk at boot time for him to take settinghae RAM Drive behalf of the use of the hard disk to mount.
Once you go to the Download http://pdaxrom.org pdaX86 to download the version you want.
Note that in jawooruseu Beta 1, 3, but using the 2.4.20 kernel pdaX86 to use the 2.6 kernel.
Thus, r121 from some Beta1 iso image, it's also irrelevant pdaX86. Below is a version of the r121 immediately verified, but is not installed in svn.
So, I had to use r121 recommends using r121.
If completed, the download on the fritz so let's do this!
2. VMware's settings
VMware Virtual PC to create a new set of help as follows.
Enough to hold a 20-gigabyte hard disk can be used to give safe.
The type of attention here, I think that pdaX86 SCSI hard disks are not supported. IDE hard disk image format Thus must make.
Lots of space for the 20-gigabyte and 20-gigabyte gave him catch up jueotdago images from the actual size of the 20-gigabyte disk, it does not. (If you have 20 gigabytes to catch allocation ...-.-)
And a little more convenient pdaX86 the boot for the CD-ROM is to use ISO image.
Choice of image files downloaded pdaX86 week.
Turn on the PC settings above finished in a virtual press F2 to set the first boot from the CD-ROM, and set priorities.
This was over, and the setting of VMware.
3. RAM Drive is available HDD is not creating an environment
Once the work of conservation and environmental Cross Compile HDD can use to make.
The above information on the hard disk, such as VMware seoljeonghaeju partition is created and it was not because this format using the boot RAM Drive.
Once fdisk to use to format the hard disk partition to give them a share.
# Fdisk / dev / hda
The above command to start operations in the hard disk's partition.
Help is pressing m can be seen.
1. Linux partition, the partition type (83 times) in his use of this data for as many partitions set up.
2. Linux Swap partition / Solaris (82 times), this type of swap partition itself to be used to set up as many partitions.
(256M enough to be available for free.)
After finishing the partition settings by pressing w When you save your own termination.
Now, as created above ext3 partition and format to give us.
# Mkfs.ext3 / dev/hda1
Ext3 partition of the above commands through deyiteoyong pomethal form.
Swap partition has been created to take advantage of the swap, and allow him to make the swap.
Mkswap # / dev/hda2
Now the setting for the hard disk over!
PdaX86 be able to use the hard disk and let Cross Compile environment settings for building a foundation for this year.
We are set for the hard disk to mount.
# Mkdir / mnt / hd
# Mount / dev/hda1 / mnt / hd
Through the above command / Mnt folder, create a folder called hd hd folder on the Linux partition, we made the connection.
Now, if you set up without any connection or more times.
# Setup
Such a setup commands to the hard fact that we have created, it's coming up to select the disk partition is the one to find it ...
It's just that if seolchihaeju place.
When you reboot command over real quick if we can apply this will come through a reboot.
Enjoy its rebooting (pdaX86 speed is very fast boot!) Df commands through a RAM Drive after a hard disk is not normally used to verify that. Followed by the next level if mounted with more than good!
4. PdaXrom builder for download from the svn
# Mkdir pdaXrom-builder
# Cd pdaXrom-builder
# Svn co https: / / pdaxrom.svn.sourceforge.net / svnroot / pdaxrom / trunk
When executing the order of the above-builder pdaXrom download folder for the pdaXrom generated behind the current svn import source.
There is a folder called trunk source files are generated and wait until all unavailable.
5. Creating the environment for pdaXrom Cross Compile
Now, this article is ready for creating the environment bonronin Cross Compile all over. Now, let's make!
# Cd trunk
#. / Configure akita---2.6 kernel xtools ~ / akita-my-rom \
Http://distroibiblio.org/pub/linux/distributions/pdaxrom/src
Note that the above command to give us their Zaurus models to fit the setting.
SL-C1000 or more of the above command is that the type of aircraft used to apply for support xscale configure command.
In order to fit the configuration of the aircraft itself. / Configure any value for the argument, if you give a list displayed.
Now! Configure the settings to the above, if completed, will be able to see the following lines.
"Setup for SHARP ZAURUS SL-C7x0/7500/860 pdaXrom, target xtools"
If successful, such output will be written. If properly, the next step to go with it.
~ # Cd / rom-my-akita
# Xchain_install make virtual -
PC in my Athlon XP 3200 + Barton, the DDR 1GB Memory specification of approximately 3-40 minutes it takes time to compile.
Spare a moment to take a break. (-);
Once complete, the next largest cross compiler to compile Archive was created to keep.
#-Toolchain make archive
# Make clean (now done all blank him ...-.-
Here's a little more on the most recent naahgamyeon svn to release a specification pdaXrom to build a PC, but as soon waenmanhan but could not compile.
Japan mentioned above 1GB Memory site in the Pentium 4M 2Ghz + 1.5 days (36 hours) is required stating that the story can be seen. For information on that, so I will be deleted.
Now, cross-compilation environment is to set environment variables gatchwojyeot him, so he wanted to compile the program to compile the meantime, let's look at it.
6. Cross Compile environment variable settings, and compile!
#! / Bin / bash
. / Etc / profile
Export PATH = / opt/cross/arm/3.4.6-xscale-softvfp/bin: $ PATH
Export QTDIR = / opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/qt
= Export KDEDIR / opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/qt
Export X11INC = / opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/include
Export X11LIB = / opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/lib
Export PKG_CONFIG_PATH = / opt/cross/arm/3.4.6-xscale-softvfp/armv5tel-cacko-linux/lib/pkgconfig
Echo "Type exit for leave armv5tel-cacko-linux cross environment."
/ Bin / bash
The above information as a shell script to make him the proper file.
Run after run gave permission to create and compile options when it flies over. (It should be noted that the path should be set accurately.)
I will try to compile sample of wget.
~ # Cd / buile/wget-1.9
#. / Configure - build = i686-linux-gnu-host - host = armv5tel-linux-cacko - prefix = / usr
Through the above options, such as different types of programs can be applied to cross-compilation.
Followed by the compilation to make you through the installation and typically make install, but ...
We are using ipkg make install packages created because when you specify a particular folder, and install the DESTDIR.
Make #
# Make DESTDIR = ~ / package/wget_1.9_armv5tel install
Using the above as they built a file folder of the installation.
Written about the environment, building more than Cross Compile finish.
Lynn yiol bookmarks (0) Lynn yiol referrals (0) _________________ SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/ |
|