Master don't look, to the novice to see
"Compilation 3.4"
"On the PC, my system is Ubuntu 12.04 Desktop 32bit"
-
sudo su
-
wget https://github.com/linux-sunxi/linux-sunxi/archive/sunxi-3.4.zip
-
Unzip sunxi-3.4
-
CD linux*sunxi*3.4
-
Make Sun4i_defconfig ARC H=arm
unzip
make config
when finished
Apt-get Install build-essential u-boot-tools uboot-mkimage gcc-arm-linux-gnueabihf-y
Install the necessary things
Then get the menu and choose what you want (drive something).
Make Menuconfig arch=arm
See Clearly, above is written linux/arm 3.4.29, if you are linux/arm 3.0.xx then you download wrong, if you are linux/i386 or linux/x86_64 that more unreliable, Why don't you download it to I386 's bag? You didn't write arm on arch .
you slowly choose, the following device driver is the driver, network support is the Internet. Pull down, there's something underneath.
The first one (Ge ... Setup) There is a default Hostname, also is the Hostname, can modify their own
to choose something, use a button:
Y set to built-in (deleted)
N set to No (no kernel inside, can increase through module)
M set to module (can increase or decrease by module)
let's see .
This is the network, there is a wireless is wireless, network support the following is the hardware driver
This is the wireless option for everyone to refer to
Devices driver->graphics Support->bootup logo inside has a boot icon, you can choose, haha
This is the Penguin icon for Linux.
You picked it?
OK, left and right button select Exit
Choose Yes, save, OK.
Make Uimage cross_compile=arm-linux-gnueabihf--j2 arch=arm #编译uImage文件
Make Arch=arm cross_compile=arm-linux-gnueabihf--j2 install_mod_path=output modules #编译lib文件夹里的文件
Make Arch=arm cross_compile=arm-linux-gnueabihf--j2 install_mod_path=output modules_install #编译lib文件夹里的文件
MV Arch/arm/boot/uimage Output #移动
above J2 means double thread, can change
Compiling now
OK
Uimage and Lib can be compiled at the same time, open two terminals can be
compiled and copied directly to SD card .
two files are in the output folder.
uimage Copy the FAT partition to the SD card
lib Copy to sd card on Linux partition
then plug the SD card into it.
Remember to take the original backup, or the damage will be tragic
copy process Look at the second floor
Original Tll
Original link: http://forum.cubietech.com/forum.php?mod=viewthread&tid=371