This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling Tinkerboard's Android
#51
doggedly and olegsh91 how did you manage to get the command:
Code:
make -jxx > buildlog.log 2>&1 &
??????????????????????
Thanks!
Reply
#52
[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?
French

Reply
#53
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.
Reply
#54
but should the source code be in the {croot} folder? because I think I have to start again because I put everything in home ^^ '
French

Reply
#55
(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).
Reply
#56
I wrote this code
Code:
$ make -j4 > buildlog.log 2>&1 &


but gave me multiple errors!
Reply
#57
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.
Reply
#58
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
French

Reply
#59
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
[-] The following 1 user Likes lobo's post:
  • Leskriim
Reply
#60
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 #>
French

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)