123
Return to list Post new posts
Author: pbies

Orange Pi RK3399 questions

[Copy link]

13

threads

93

posts

682

credits

Senior member

Rank: 4

credits
682
Published in 2019-5-9 23:59:26 | Show all floors
After reading this excellent blog post by Dieter Reuter, I said to myself that compiling the kernel on this very same board could be a good idea.
I cloned the kernel:
  1. git clone   https://github.com/orangepi-xunlong/OrangePiRK3399_kernel.git
Copy code

Unfortunately,
  1. zcat /proc/config.gz > .config
Copy code

does not work.
  1.     1. /proc/config.gz
  2.     2. /boot/config
  3.     3. /boot/config-$(uname -r)
Copy code

do not work either, I suspect the config extension have not been built for this kernel.
  1. sudo modprobe configs
  2. modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.103/modules.dep.bin'
  3. modprobe: FATAL: Module configs not found in directory /lib/modules/4.4.103
Copy code


Then, I thought I could get the configuration from the kernel image file.
It was nowhere to be found...

So, I unzipped the img I flashed on the device on a X86 Linux machine, mounted the boot img

  1. sudo mount -t msdos -o loop boot.img /mnt/firmware/
  2. gounthar@maurice:~/Desktop/rk-linux/out$ ll /mnt/firmware/
  3. total 19212
  4. drwxr-xr-x 3 root root    16384 janv.  1  1970 ./
  5. drwxr-xr-x 3 root root     4096 mai    2 16:22 ../
  6. drwxr-xr-x 2 root root     2048 oct.  16  2018 extlinux/
  7. -rwxr-xr-x 1 root root 19568648 oct.  16  2018 image*
  8. -rwxr-xr-x 1 root root    78885 oct.  16  2018 rk3399~1.dtb*
Copy code


and it does not work
  1. /usr/src/linux-headers-4.18.0-17/scripts/extract-ikconfig /mnt/firmware/image >config
  2. extract-ikconfig: Cannot find kernel config.
Copy code


The file command says image is just data. Could it be linked that I'm doing that on a X86 machine?
I then transfered the image file to the RK3399 to see if I have a different result:
  1. root@linaro-alip:/home/linaro/OrangePiRK3399_kernel# file /tmp/image
  2. /tmp/image: data
  3. root@linaro-alip:/home/linaro/OrangePiRK3399_kernel# ./scripts/extract-ikconfig /tmp/image
  4. extract-ikconfig: Cannot find kernel config.
Copy code

0

threads

451

posts

1120

credits

Gold member

Rank: 6Rank: 6

credits
1120
Published in 2023-12-13 04:27:18 | Show all floors
Mastering 구글 seo is a transformative journey that can catapult your online presence to new heights, capturing the attention of a broader audience.

0

threads

451

posts

1120

credits

Gold member

Rank: 6Rank: 6

credits
1120
Published in 2023-12-16 22:49:02 | Show all floors
I'm always recommending 오피사이트 to my friends for big savings.

0

threads

451

posts

1120

credits

Gold member

Rank: 6Rank: 6

credits
1120
Published in 2023-12-23 21:16:04 | Show all floors
Thanks to 해외축구중계, I'm never out of touch with the soccer world's pulse.

0

threads

451

posts

1120

credits

Gold member

Rank: 6Rank: 6

credits
1120
Published in 2024-1-15 15:42:53 | Show all floors
I gotta bookmark   this website   it seems  very beneficial   very beneficial        คืนยอดเสีย ทุกวัน
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list