Summary of the development data of whole Zhi A13

Source: Internet
Author: User
Tags spl

These days because of the cause of work, began to contact the whole Zhi A13 chip, I collected on the internet for a long time, but the online information on this aspect of the description is very few,

Therefore, only by the data sheet and the official website above the English document development, the following is only a small part of the development, the first general summary, after the proficiency of playing

, and then write a full version of share with everyone.

Relevant information can be queried on the official website Https://www.olimex.com/wiki/A13-OLinuXino#Linux
DDR3 is using the sea lux.
Download the corresponding kernel version first
Write the image to the SD card and you have to unzip it.a13_debian_34_75_wifi_ralink_gcc_gpio_x_i2c_100khz_uvc_ts_ftdi_video_release_9.7z ThisFile
If Windows is decompressed with 7zip, then use theWin32DiskImager.exemake a write to the image fileRelated softwareHttp://sourceforge.net/projects/sevenzip/files/latest/download?source=dlp_top3
If using Linux, use the P7zip package, and if not installed, use the command #apt-get install P7zip for the package installation copya13_debian_34_75_wifi_ralink_gcc_gpio_x_i2c_100khz_uvc_ts_ftdi_video_release_9.7zFile to your directory and unzip it.
#7za e a13_debian_34_75_wifi_ralink_gcc_gpio_x_i2c_100khz_uvc_ts_ftdi_video_release_9.7z
You should get a new 4G file after decompression.
a13_debian_34_75_wifi_ralink_gcc_gpio_x_i2c_100khz_uvc_ts_ftdi_video_release_9.7z
Put the 4G SD card in the card reader and enter the command to view it.
   
Input command to match (table key) for SD follow-up match before you proceed further, you need to determine which one is your SD card or it will damage your hard drive and can be plugged back and forth to determine
Once you know which device was your sdcard like SDA use this text instead of the SdX name in the references B Elow:
   
Of=/dev/sdx

How do I burn a Linux image file to an SD card? Burn-write in Windows: 1 Insert card 2 Start program 3 Select File 4 Click "Write" in Linux environment, assuming the image file to be burned is debian_2g . IMG 1# dd bs=4m oflag=sync if=debian_2g.img OF=/DEV/SDX2# CP DEBIAN_2G.IMG/DEV/SDXWhere SDX is the SD card that is mounted on Linux
Build bootable SD card with Debian to build a Linux-enabled SD cards
1 Creating a tool for connecting Toolchain    

# apt-get Install GCC-ARM-LINUX-GNUEABIHF ncurses-dev uboot-mkimage build-essential git

# older (prior to): Apt-get install Gcc-4.6-arm-linux-gnueabi ncurses-dev uboot-mkimage build-essential git


Building bootable SD card with Debian Linux image for A13 Olinuxino
Building Uboot# mkdir Olinuxino # CD Olinuxino
# git clone-b sunxi https://github.com/linux-sunxi/u-boot-sunxi.git
# CD uboot-allwinner/
# make Cross_compile=arm-linux-gnueabihf-a13-olinuxino_config
# make cross_compile=arm-linux-gnueabihf-
# (older (prior): Make A13_olinuxino Cross_compile=arm-linux-gnueabi
# ls U-boot.bin spl/sunxi-spl.bin

Building the Kernal# CD:
Download kernel This is about 700M, and it's going to be a bit long.# git clone https://github.com/linux-sunxi/linux-sunxi.git
Enter the kernel directory after download# CD linux-sunxi/
Then make the relevant configuration# make Arch=arm a13_defconfig
# make Arch=arm menuconfig

If you want to use GPIOs for instance they is not enabled by default and you can do this by adding:

sun4i_gpio_ugly = y inside. config

Then you can contiue with:

# Make Arch=arm Cross_compile=arm-linux-gnueabi-uimage

When this is finish ' s you'll have uimage ready and you can build the kernel modules:

# Make Arch=arm cross_compile=arm-linux-gnueabi-install_mod_path=out modules

# Make Arch=arm cross_compile=arm-linux-gnueabi-install_mod_path=out Modules_install




Summary of the development data of whole Zhi A13

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.