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
#21
[Image: IBgiOfv.jpg]
(10-14-2018, 08:29 PM)Im4Tinker Wrote:
(10-14-2018, 07:14 PM)k247tEK Wrote:
Code:
sudo apt-get update
sudo apt-get upgrade

I made an alias Tongue
Code:
echo "alias Sup='sudo apt-get update && sudo apt-get upgrade'" >>$HOME/.bash_aliases
## don't forget to re-source it
. $HOME/.bash_aliases


here is the result, I do not understand
French

Reply
#22
I think you probably need to compile them at a PC, not on Tinker.
Because even if you can success to compile on Tinker, I believe it would run for a very long time.
Reply
#23
you think that's for her?
French

Reply
#24
Yes, you should use a PC with enough memory. Compilation can break with some weird errors if not enough memory. Last time I compiled on my machine it stopped with weird error also I have 16GB and Ryzen7 8-core. But started once more and closed some other apps, it compiled complete in 41 minutes.
Reply
#25
(10-15-2018, 08:46 AM)lobo Wrote: Yes, you should use a PC with enough memory. Compilation can break with some weird errors if not enough memory. Last time I compiled on my machine it stopped with weird error also I have 16GB and Ryzen7 8-core. But started once more and closed some other apps, it compiled complete in 41 minutes.

Yes, you are right!!
Beside the CPU performance, the memory free size also is one of issue.
Or need to limit the compiling thread to lower (it can save more memory)
[-] The following 1 user Likes Craz_tyle's post:
  • kbungo
Reply
#26
ok I will try in a pc on virtualbox, you think that will solve my problem?
French

Reply
#27
I'm using VMWare to compile but VMWare should do the job pretty much the same.
Reply
#28
i try build Android 6.0.1 (only 6 is longterm stable with my application)
i installing ubuntu 18.04
i spending three night and
first i stuck in step 4/2 (uboot.img). In my repo not found rk3288_secure_defconfig, but i change for rk3288_defconfig and its (i think so) ok
now i stuck in step 4/3 (system.img) on error (with openjdk-8):
Your version is: openjdk version "1.8.0_191" OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12) OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode).
The required version is: "1.7.x"

I try install 1.7. with this instruction:
https://askubuntu.com/questions/1034387/...-lts-64bit
but i have error:
You asked for an OpenJDK 7 build but your version is
java version "1.7.0_80" Java™ SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot™ 64-Bit Server VM (build 24.80-b11, mixed mode).

i try install openjdk7:
apt-get install openjdk-7-jre
but that unavailable

i download open7jdk from link:
https://openjdk-sources.osci.io/openjdk7...b00.tar.xz
but idk how to install this

please help
i must decompile original build for change bootlogo and put my boot animation
Reply
#29
Exclamation 
Hello. I use Ubuntu 18.04. I have problem with Compiling system image

When I run in terminal:
Code:
make -j28 > buildlog.log 2>&1 &

I got error:
Code:
[  0% 9/35212] target Java: bouncycastle-nojarjar (out/target/common/obj/JAVA_LIBRARIES/bouncycastle-nojarjar_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (32 seconds) ####

can anyone help me, please ?
Reply
#30
Hi all!
I'm using ubuntu 18.04.1 on a laptop with Intel® Core ™ i3 processor CPU M 370 @ 2.40GHz × 4!
- I added manually to "rockchip_defconfig"
CONFIG_HID_MULTITOUCH = m
CONFIG_CAN = y
CONFIG_CAN_DEV = y
CONFIG_CAN_MCP251X = y

- I added manually in "hid-core.c"
under the
"bool hid_ignore (struct hid_device * hdev)"
this
"case USB_VENDOR_ID_DWAV: * /
/ * These are handled by usbtouchscreen. hdev-> type is probably
* HID_TYPE_USBNONE, but we say! HID_TYPE_USBMOUSE to match
* usbtouchscreen. * /
/ * if ((hdev-> product == USB_DEVICE_ID_EGALAX_TOUCHCONTROLLER ||
hdev-> product == USB_DEVICE_ID_DWAV_TOUCHCONTROLLER) &&
hdev-> type! = HID_TYPE_USBMOUSE)
return true;
break; * / "

- I added manually this file "mcp2515-can0-overlay.dts" to the kernel / arch / arm / boot / dts folder
I have installed build environment
I followed all the steps described and found:
 - work just if "repo init -u https://bitbucket.org/TinkerBoard_Android/manifest.git -b /sbc/tinkerboard/asus/Android-6.0.1"
 and   curl: (22) The requested URL returned error: 404

          Server does not provide clone.bundle; ignoring.
not working at me with git@bitbucket

- yoza@yoza-eME732:~/kernel/drivers/hid$ make hid-core.c
make: Nothing to be done for 'hid-core.c'.
#### make completed successfully  ####

 - yoza@yoza-eME732:~$ cd kernel
yoza@yoza-eME732:~/kernel$ make ARCH=arm rockchip_defconfig
arch/arm/configs/rockchip_defconfig:305:warning: override: RTL8723BS changes choice state
#
# configuration written to .config
#

#### make completed successfully (12 seconds) ####

yoza@yoza-eME732:~/kernel$ make ARCH=arm rk3288-miniarm.img j4
scripts/kconfig/conf --silentoldconfig Kconfig
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      drivers/hid/hid-core.o
drivers/hid/hid-core.c: In function 'hid_ignore':
drivers/hid/hid-core.c:2307:27: error: expected expression before '/' token
scripts/Makefile.build:308: recipe for target 'drivers/hid/hid-core.o' failed
make[2]: *** [drivers/hid/hid-core.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/hid' failed
make[1]: *** [drivers/hid] Error 2
Makefile:829: recipe for target 'drivers' failed
make: *** [drivers] Error 2

#### make failed to build some targets (44 seconds) ####



 - yoza@yoza-eME732:~/u-boot$ make rk3288_defconfig
#### make completed successfully (6 seconds) ####
yoza@yoza-eME732:~/u-boot$ make -j4
#### make completed successfully (22 seconds) ####



What can I do !!
Thank you!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)