Tinker Board Forum

Full Version: Compiling Tinkerboard's Android
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
doggedly and olegsh91 how did you manage to get the command:
Code:
make -jxx > buildlog.log 2>&1 &
??????????????????????
Thanks!
[Image: VDijv3j.png]

it's good I finish step 3 in virtualbox (ubuntu 16.04) but in step 4 I have an error.

What source code should I put in the {croot} folder?
Hello Leskriim,
the {croot} is only a synonym for the folder where you have downloaded the whole Android source code. So cd to this folder and go on with step 4.
but should the source code be in the {croot} folder? because I think I have to start again because I put everything in home ^^ '
(01-09-2019, 09:02 PM)Leskriim Wrote: [ -> ]but should the source code be in the {croot} folder? because I think I have to start again because I put everything in home ^^ '

{croot} is probably a bad folder name. I used it in the guide to avoid writing out "/home/kbungo/projects/firmware/tinkerboard" every time and having people complain that they don't have a folder named that! it can be in any directory and you should read the rest of the guide as if {croot} is that folder. Smile

(01-05-2019, 12:26 AM)YoZa Wrote: [ -> ]doggedly and olegsh91 how did you manage to get the command:
Code:
make -jxx > buildlog.log 2>&1 &
??????????????????????
Thanks!

make sure you're replacing "-jxx" with a valid number of build threads ("-j1" for example).
I wrote this code
Code:
$ make -j4 > buildlog.log 2>&1 &


but gave me multiple errors!
Hello Leskriim,
it seems that you are not inside the kernel folder. Look with 'ls' if there is a folder 'kernel'. Then change into the directory 'cd kernel', then:
Code:
make ARCH=arm rockchip_defconfig
and
Code:
make ARCH=arm rk3288-miniarm.img -j8

Best would be you mark the whole relevant log and copy it to here with the code button '<>', better than copy screenshots.
I deleted my post because I solved the problem, yes lobo it was a problem related to the location.

So I had good, I waited about 10 minutes and in the end I have an error message:


</bin/sh: 1: lzop: not found
CC arch/arm/boot/compressed/decompress.o
CC arch/arm/boot/compressed/string.o
SHIPPED arch/arm/boot/compressed/hyp-stub.S
SHIPPED arch/arm/boot/compressed/fdt_rw.c
SHIPPED arch/arm/boot/compressed/fdt.h
SHIPPED arch/arm/boot/compressed/libfdt.h
arch/arm/boot/compressed/Makefile:187 : la recette pour la cible « arch/arm/boot/compressed/piggy.lzo » a échouée
make[2]: *** [arch/arm/boot/compressed/piggy.lzo] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2]: *** wait : Aucun processus enfant. Arrêt.
arch/arm/boot/Makefile:61 : la recette pour la cible « arch/arm/boot/compressed/vmlinux » a échouée
make[1]: *** [arch/arm/boot/compressed/vmlinux] Erreur 2
arch/arm/Makefile:329 : la recette pour la cible « zImage » a échouée
make: *** [zImage] Erreur 2
root@leskriim-VirtualBox:/home/leskriim/WORKING_DIRECTORY/kernel#>

sorry if some part of the tutorial I understand wrong but google tradution interpreter not always as if
Hello Leskriim, when ever messages as this come, then there might missing a package on your linux virtual machine. Try to install the missing package:
Code:
sudo apt-get install lzop
it's good it was the problem thank you I could also compile the u-boot but when I go to the last one ie "Compiling system image" nothing happens:

<root @ leskriim-VirtualBox: / home / leskriim / WORKING_DIRECTORY # make -j28> buildlog.log 2> & 1 &
[1] 6404
root @ leskriim-VirtualBox: / home / leskriim / WORKING_DIRECTORY # make -j28> buildlog.log 2> & 1 &
[2] 6591
root @ leskriim-VirtualBox: / home / leskriim / WORKING_DIRECTORY # make -j28> buildlog.log 2> & 1 &
[3] 7031
root @ leskriim-VirtualBox: / home / leskriim / working_directory #>
Pages: 1 2 3 4 5 6 7 8 9 10