研一 荔枝派初入坑

本文介绍了如何在研一阶段初次接触并编译U-Boot、Linux内核以及buildroot根文件系统。通过使用`make ARCH=arm menuconfig`配置蓝牙等功能,并利用交叉编译工具链`arm-linux-gnueabihf-`,将编译过程的时间和输出记录到build.log中。最后使用`-j16`选项进行16线程并行编译,以加速构建过程。
摘要由CSDN通过智能技术生成

make ARCH=arm menuconfig #add bluethooth, etc.
time make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 2>&1 | tee build.log(指定交叉编译工具链 log写入文件

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16(-j16 16线程编译)
在这里插入图片描述

u-boot编译完成,linux内核编译完成,buildroot根文件系统编译完成

U-Boot 2017.01-rc2-00057-g32ab180-dirty (Oct 10 2018 - 22:51:48 +0800) inner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:  0MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:   1c28000
Out:   serial@01c28000
Err:  0c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
reading zImage
3811656 bytes read in 203 ms (17.9 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
9591 bytes read in 28 ms (334 KiB/s)
## Flattened Device Tree blob at 41800000
Device Tree to 42dfa000, end 42dff576 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.00000version 4.10.15-licheepi-zero+ (zhang@zhang-virtual-machine) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #20 SMP Tue Oct 9 17:56:19 CST 2018
[    8/08Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.008فinstructions available: patching division code
[    0.008Ydata cache, VIPT aliasing instruction cache
[    0.000t:Machine model: Lichee Pi Zero with Dock
[    8.08icy: Data cache writealloc
[    0.0048mbedded 14 pages/cpu @c3dea000 s24716 r8192 d24436 u57344
[     10{onelists in Zone order, mobility grouping on.  Total
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值