Firefly Open Source Community

Title: Linux SDK Build Error [Print This Page]

Author: tm-mec    Time: 5/10/2022 22:23
Title: Linux SDK Build Error
Last edited by tm-mec In 5/10/2022 22:36 Editor

Hello,
I'm using the Linux SDK, an rk3566 aio board.

I build it with this commands:
./build.sh aio-3566-jd4-ubuntu.mk
./build.sh

But when building it the device doesn't start and is throwing an error, does someone have an idea?

  1. mount: mounting /dev/mmcblk1p6 on /root failed: Invalid argument
  2. done.
  3. Begin: Running /scripts/local-bottom ... done.
  4. Begin: Running /scripts/init-bottom ... [    4.651715] vendor storage:20190527 r                                                                                                                                                             et = -1
  5. [    4.835173] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
  6. Warning: overlayroot: configuring overlayroot with driver=overlay mode=device op                                                                                                                                                             ts='dev=PARTLABEL=userdata,fstype=ext4,mkfs=1' per kernel cmdline
  7. [    4.963550] EXT4-fs (mmcblk1p7): recovery complete
  8. [    4.965832] EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. O                                                                                                                                                             pts: (null)
  9. mount: mounting /root on /root-ro failed: Invalid argument
  10. Failure: overlayroot: failed to move root away from /root to /root-ro
  11. mount: mounting /dev on /root/dev failed: No such file or directory
  12. mount: mounting /dev on /root/dev failed: No such file or directory
  13. Warning: Something odd, no /lib/modules/4.19.219 in initramfs.
  14. done.
  15. mount: mounting /run on /root/run failed: No such file or directory
  16. run-init: current directory on the same filesystem as the root: error 0
  17. Target filesystem doesn't have requested /sbin/init.
  18. run-init: current directory on the same filesystem as the root: error 0
  19. run-init: current directory on the same filesystem as the root: error 0
  20. run-init: current directory on the same filesystem as the root: error 0
  21. run-init: current directory on the same filesystem as the root: error 0
  22. run-init: current directory on the same filesystem as the root: error 0
  23. No init found. Try passing init= bootarg.


  24. BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash)
  25. Enter 'help' for a list of built-in commands.

  26. (initramfs) [    5.848415] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
  27. [    6.861753] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
  28. [    7.875081] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
  29. [    8.888413] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
  30. [    9.901730] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
  31. [   10.915082] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
  32. [   11.928402] rk-pcie 3c0000000.pcie: PCIe Link Fail
  33. [   11.928469] rk-pcie 3c0000000.pcie: failed to initialize host
  34. [   32.061826] vcc5v0_otg: disabling
  35. [   32.061903] vcc3v3_lcd0_n: disabling
Copy the code

Author: Liuth    Time: 5/11/2022 09:26
have you put the ubuntu rootfs under SDK/ubuntu_rootfs/ and rename it to rk356x_ubuntu_rootfs.img ?
https://wiki.t-firefly.com/en/Co ... d-ubuntu-filesystem
Author: tm-mec    Time: 5/11/2022 14:22
Liuth Posted at 5/11/2022 09:26
have you put the ubuntu rootfs under SDK/ubuntu_rootfs/ and rename it to rk356x_ubuntu_rootfs.img ?
...

yes
Author: katata    Time: 10/1/2025 12:50
Ugh, a Linux SDK build error with that `Invalid argument` mount issue sounds super frustrating! Debugging complex problems reminds me a bit of cooking ¨C you need the right ingredients and steps. Speaking of recipes, I've been really into looking up Grow a Garden Recipes lately for some fresh ideas!
Author: katata    Time: 12/1/2025 13:56
Okay, so it's a "Linux SDK Build Error" thing on the Firefly forum. Verification succeeded though, that's good! But where's the juicy error details? I was hoping to find some blue lock rivals wiki level deep dives on this. Maybe they should focus on helping us "outplay our rivals" in the build process instead of just mentioning the error.
Author: ronpete349    Time: 1/11/2026 06:57
The article is very rich in content and has introduced me to many new perspectives. IĄŻm offering the Test DS0-001 registration test that helped me earn my promotion and raise. ItĄŻs free todayĄŞwishing you all the best in your career endeavors.
Author: tomscot704    Time: 1/14/2026 05:56
The article was brilliantly written and thought-provoking. Using the Sure CPRE-FL_Syll_3.0 pass, I got promoted and received a salary raise. Now itĄŻs open to all for free. Hope you all move up in your careers soon!
Author: jerryth886    Time: 1/16/2026 04:18
Your article was so insightful, IĄŻll carry it with me. Free access to Original C_ARP2P_2508 QuestionsĄŻs content is provided, hoping it will benefit your studies.
Author: jimhall668    Time: 1/16/2026 04:42
The content of the article is very insightful, and IĄŻve benefited a lot. The New study guide C_TS4FI_2023 ppt questions are available for free. Wishing you the best of luck in your exams!
Author: billwhi835    Time: 7 day before
It opened my mind in ways I didnĄŻt expect. ItĄŻs nearly time for my Reliable C-SIGPM-2403 dumps pdf exam ¨C wish me all the best!
Author: sidgree827    Time: yesterday 20:09
Microsoft인증 AZ-140시험패스는 IT업계종사자들이 승진 혹은 연봉협상 혹은 이직 등 보든 면에서 날개를 가해준것과 같습니다.IT업계는 Microsoft인증 AZ-140시험을 패스한 전문가를 필요로 하고 있습니다. ExamPassdump의Microsoft인증 AZ-140덤프로 시험을 패스하고 자격증을 취득하여 더욱더 큰 무대로 진출해보세요.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1