My device is Firefly-RK3288 running ubuntu flashed from:
Firefly-RK3288_Ubuntu14.04_201501271612.img
Is there a build for UBUNTU image with a newer kernel than 3.10 ? I am working on an application where it requires to update according to the kernel version.
output of the following command :
apt-get install -y linux-headers-uname -r
Returns the following errors :
E: Unable to locate package linux-headers-3.10.0
E: Couldn’t find any package by regex ‘linux-headers-3.10.0’
Unfortunately I lost interest into Firefly and moved to NUC from Intel.
It is really sad not to see linux development for the Firefly, while the the focus is on Android only.
Well could not wait longer and I am happy with the NUC, more versatile and flexible.
Good luck Firefly while I see you need more than luck though.
I’d like this kind of stuff me too. Also if you have the time to evaluate the RT patches on the RK3288 it would be great for me. I don’t feel confident enough in my linux skills to do that kind of work myself
I also share the feeling of tedd77 about the linux support vs the android one. I can easily understand why this is the case because the commercial applications of the RK3288 have been mainly TV boxes for which the android OS is good. My projects on the contrary are focused on usage where the main concern is the real time behaviour, the CPU efficiency (I need to do a lot of computation), and my GUI needs are rather limited.
The CPU is the main point for me, that’s why I posted a question on this forum concerning the RK3399 (based on 2 Cortex-A72 cores).
To finish on a positive note, I want to say that I greatly appreciate that you have made available such boards for anyone. Thank you for that.
I am ready to give it a chance, but to be honest I am not a geek in linux.
If you are ready to guide me through then please let us proceed.
I read about mainline and it was not advisable to use it, I do not care about the version as much as I care about supported Kernels. I searched everywhere on the internet for the Kernel 3.10 that you currently have and it is not available.
I am unable to compile some softwares due to the lack of kernel headers and that is why I had to move to NUC since everything was available.
Your board is not cheaper than NUC by the way however it is smaller and that is why I am ready to give it another try if you are serious about your offer to help.
Please let me know at your earliest.
Finally my other disappointment was the time t-firefly took to consider my post and to react to it.
I am having an issue.
Do I have to replace the /path/to/prebuilts with something else ?
If not then the command
make -j8 firefly-rk3288.img is failing with path not found
I followed your instructions however I have errors
Should I run the command with sudo make -j8 firefly-rk3288.img
the error is : gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mno-thumb-interwork’
make[2]: *** [scripts/mod/empty.o] Error 1
make[2]: *** Waiting for unfinished jobs…
HOSTCC scripts/selinux/genheaders/genheaders
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h’ is up to date.
CC kernel/bounds.s
gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’
gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
gcc: error: unrecognized command line option ‘-mlittle-endian’
gcc: error: unrecognized command line option ‘-mno-thumb-interwork’
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs…
HOSTCC scripts/dtc/dtc-parser.tab.o
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs…
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/util.o
HOSTLD scripts/dtc/dtc
make: *** [scripts] Error 2
Should I run it without sudo the error is
make: home/admin1/prebuilts/bin/arm-eabi-gcc: Command not found
CHK include/generated/uapi/linux/version.h
HOSTCC scripts/conmakehash
CC scripts/mod/empty.o
HOSTCC scripts/sortextable
/bin/sh: 1: home/admin1/prebuilts/bin/arm-eabi-gcc: not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs…
CC scripts/mod/devicetable-offsets.s
/bin/sh: 1: home/admin1/prebuilts/bin/arm-eabi-gcc: not found
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 127
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs…
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h’ is up to date.
CC kernel/bounds.s
/bin/sh: 1: home/admin1/prebuilts/bin/arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs…
make: *** [scripts] Error 2
My directory structure is :
admin1@ubuntu64b:~$ ls -l
total 79288
-rw-rw-r-- 1 admin1 admin1 81172055 Mar 16 17:15 android-4.4.2_r1.tar.gz
drwxrwxr-x 9 admin1 admin1 4096 Mar 16 18:16 arm-eabi-4.6
drwxrwxr-x 29 admin1 admin1 4096 Mar 16 18:31 firefly-rk3288-kernel
drwxrwxr-x 8 admin1 admin1 4096 Mar 16 18:00 prebuilts
drwxrwxr-x 3 admin1 admin1 4096 Mar 16 17:32 rockchip-mkbootimg
the prebuilts directory structure is
drwxr-xr-x 4 admin1 admin1 4096 Mar 16 17:08 arm-eabi
drwxr-xr-x 2 admin1 admin1 4096 Mar 16 17:08 bin
drwxr-xr-x 2 admin1 admin1 4096 Mar 16 17:08 include
drwxr-xr-x 3 admin1 admin1 4096 Mar 16 17:08 lib
drwxr-xr-x 3 admin1 admin1 4096 Mar 16 17:08 libexec
drwxr-xr-x 6 admin1 admin1 4096 Mar 16 17:12 share
-rw-r–r-- 1 admin1 admin1 1577 Mar 16 17:08 SOURCES
and the bin directory inside the prebuilts, structure is :
-rwxr-xr-x 1 admin1 admin1 626840 Mar 16 17:08 arm-eabi-addr2line
-rwxr-xr-x 1 admin1 admin1 655232 Mar 16 17:08 arm-eabi-ar
-rwxr-xr-x 1 admin1 admin1 1198816 Mar 16 17:08 arm-eabi-as
-rwxr-xr-x 1 admin1 admin1 332792 Mar 16 17:08 arm-eabi-c++
-rwxr-xr-x 1 admin1 admin1 622296 Mar 16 17:08 arm-eabi-c++filt
-rwxr-xr-x 1 admin1 admin1 328696 Mar 16 17:08 arm-eabi-cpp
-rwxr-xr-x 1 admin1 admin1 27456 Mar 16 17:08 arm-eabi-elfedit
-rwxr-xr-x 1 admin1 admin1 332792 Mar 16 17:08 arm-eabi-g++
-rwxr-xr-x 1 admin1 admin1 328696 Mar 16 17:08 arm-eabi-gcc
-rwxr-xr-x 1 admin1 admin1 328696 Mar 16 17:08 arm-eabi-gcc-4.6.x-google
-rwxr-xr-x 1 admin1 admin1 105088 Mar 16 17:08 arm-eabi-gcov
-rwxr-xr-x 1 admin1 admin1 4122744 Mar 16 17:08 arm-eabi-gdb
-rwxr-xr-x 1 admin1 admin1 4122744 Mar 16 17:08 arm-eabi-gdbtui
-rwxr-xr-x 1 admin1 admin1 693624 Mar 16 17:08 arm-eabi-gprof
-rwxr-xr-x 1 admin1 admin1 942848 Mar 16 17:08 arm-eabi-ld
-rwxr-xr-x 1 admin1 admin1 942848 Mar 16 17:08 arm-eabi-ld.bfd
-rwxr-xr-x 1 admin1 admin1 635672 Mar 16 17:08 arm-eabi-nm
-rwxr-xr-x 1 admin1 admin1 806296 Mar 16 17:08 arm-eabi-objcopy
-rwxr-xr-x 1 admin1 admin1 989784 Mar 16 17:08 arm-eabi-objdump
-rwxr-xr-x 1 admin1 admin1 655232 Mar 16 17:08 arm-eabi-ranlib
-rwxr-xr-x 1 admin1 admin1 326904 Mar 16 17:08 arm-eabi-readelf
-rwxr-xr-x 1 admin1 admin1 854968 Mar 16 17:08 arm-eabi-run
-rwxr-xr-x 1 admin1 admin1 626744 Mar 16 17:08 arm-eabi-size
-rwxr-xr-x 1 admin1 admin1 626744 Mar 16 17:08 arm-eabi-strings
-rwxr-xr-x 1 admin1 admin1 806296 Mar 16 17:08 arm-eabi-strip
I even did git clone for the eabi4.6 same error.
donno hat is wrong please assist !!
I am now stuck at the following step: Modify Parameter File
Modify Parameter File
The root file system can reside on different partitions in different storage devices (eMMC, TF card or USB disk, etc). It must be specified in the kernel’s command line. There is a CMDLINE in the paramter file:
Add one of below according to your need: (# and contents after are comments, no need to enter):
root=/dev/block/mtd/by-name/linuxroot # flash partition named “linuxroot”
root=/dev/mmcblk0p1 # First partition of TF card
root=/dev/sda1 # First partition of USB disk
root=LABEL=linuxroot # Partition whose label is “linuxroot”
Not sure what to do here and what parameters to use in the command line.
The 2 last steps are vague for me if you can help.
As for flashing the board that has been done many time so there should be no issue.
In my case I assume that I only need to do the kernel image. I tried with androidtool to download image for kernel
The default Kernel address in Androidtool is 0x0000E000 and this address does not exist in my parameters file.
Thank you for your continuous help and assistance.