close

純記錄

 

編譯KERNEL
http://www.t-firefly.com/doc/product/info/id/335.html

 make ARCH=arm64 firefly_linux_defconfig
 make ARCH=arm64 rk3399-firefly-aio-linux.img -j8

 

錯誤1:

scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or direct
 #include <openssl/bio.h>
                         ^

apt-get update

 apt-get install libssl-dev

 

 

錯誤2:

gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mgeneral-regs-only’

 

若少交叉編譯器 請下載

 git clone https://TeeFirefly@gitlab.com/TeeFirefly/prebuilts.git.

加上 CROSS_COMPILE=aarch64-linux-android-

PATH=/home/share/rk3399/kernel/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:$PATH

make ARCH=arm64 rk3399-firefly-aio-linux.img -j8 CROSS_COMPILE=aarch64-linux-android-

 

編譯成功會出現 kernel.img和resource.img.

 

更新ROOT  FS
http://www.t-firefly.com/index.php/doc/product/info/id/334.html

 

問題:

# apt install xubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package xubuntu-desktop

還不知道怎解

 

編譯UBOOT
http://www.t-firefly.com/index.php/doc/product/info/id/321.html
原始碼

https://gitlab.com/TeeFirefly/FireNow-Nougat/tree/firefly-rk3399/u-boot

編譯後產生

u-boot/uboot.img
u-boot/trust.img
u-boot/RK3399MiniLoaderAll_Vx.xx.bin

 

 

 

 

arrow
arrow
    全站熱搜

    立你斯 發表在 痞客邦 留言(0) 人氣()