View: 42828|Reply: 284

RK3399: doesn't boot from mmc0

[Copy link]

1

threads

3

posts

15

credits

Novice

Rank: 1

credits
15
Published in 2018-8-7 03:13:07 | Show all floors |Read mode
Hi all,
I tried to start Ubuntu images (both server and desktop) at my rk3399 board. I did everything in accordance to user manual provided.
So I built an image and flashed it as it was described:
  1. └─► ./build/flash_tool.sh -c rk3399 -p system -i out/system.img
  2. PARTITIONS OFFSET: 0 sectors.
  3. Downloading bootloader succeeded.
  4. Write LBA from file (100%)
  5. Reset Device OK.
Copy code
I suppose that step was successful.
After that I rebooted the board and I observed a kernel panic in the serial console:
  1. [    1.839392] List of all partitions:
  2. [    1.839736] 0100            4096 ram0  (driver?)
  3. [    1.840221] b300        15267840 mmcblk1  driver: mmcblk
  4. [    1.840730]   b301            4000 mmcblk1p1 f998affd-f620-45bb-bd4e-25863223e075
  5. [    1.841445]   b302              64 mmcblk1p2 a959f87e-8b97-49bb-928b-536cc29d2893
  6. [    1.842131]   b303            4096 mmcblk1p3 f6ddff17-fa59-47b5-b086-0a18f82e2b00
  7. [    1.842834]   b304            4096 mmcblk1p4 345afe59-21b4-4f26-9663-d63f3e21444e
  8. [    1.843535]   b305            4096 mmcblk1p5 07cba284-fed7-4722-87fa-89939117e34a
  9. [    1.844237]   b306          114688 mmcblk1p6 f5dba273-ad16-4fcd-a06e-996aa0c4bd26
  10. [    1.844920]   b307         3963904 mmcblk1p7 b921b045-1df0-41c3-af44-4c6f280d3fae
  11. [    1.845627] b360            4096 mmcblk1rpmb  (driver?)
  12. [    1.846117] b340            4096 mmcblk1boot1  (driver?)
  13. [    1.846635] b320            4096 mmcblk1boot0  (driver?)
  14. [    1.847130] No filesystem could mount root, tried:  ext4
  15. [    1.847672] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,7)
  16. [    1.848424] CPU: 4 PID: 1 Comm: swapper/0 Not tainted 4.4.103 #1
  17. [    1.848961] Hardware name: Rockchip RK3399 Excavator Board (Linux Opensource) (DT)
  18. [    1.849633] Call trace:
  19. [    1.849885] [<ffffff80080880e8>] dump_backtrace+0x0/0x220
  20. [    1.850379] [<ffffff800808832c>] show_stack+0x24/0x30
  21. [    1.850837] [<ffffff80083a3020>] dump_stack+0xbc/0xf4
  22. [    1.851295] [<ffffff80081619a4>] panic+0xec/0x23c
  23. [    1.851729] [<ffffff8009041268>] change_floppy+0x0/0x124
  24. [    1.852208] [<ffffff80090413fc>] mount_root+0x70/0x80
  25. [    1.852663] [<ffffff8009041574>] prepare_namespace+0x168/0x1b0
  26. [    1.853190] [<ffffff8009040e10>] kernel_init_freeable+0x21c/0x23c
  27. [    1.853745] [<ffffff8008bd6270>] kernel_init+0x18/0x100
  28. [    1.854211] [<ffffff80080826e0>] ret_from_fork+0x10/0x30
  29. [    1.854693] CPU0: stopping
  30. [    1.854946] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.103 #1
  31. [    1.855477] Hardware name: Rockchip RK3399 Excavator Board (Linux Opensource) (DT)
Copy code
So, kernel is not able to mount rootfs. It is a stable behavior for both server and desktop versions. Any ideas?

All the commands, images and archives are from the 'downloads' area for rk3399 board.

1

threads

3

posts

15

credits

Novice

Rank: 1

credits
15
 Author| Published in 2018-8-9 05:11:14 | Show all floors
One more thing: I have the following log when I'm trying to re-flash the board:
  1. Welcome to minicom 2.7.1

  2. OPTIONS: I18n
  3. Compiled on Aug 13 2017, 15:25:34.
  4. Port /dev/ttyUSB0, 00:01:09

  5. Press CTRL-A Z for help on special keys

  6. DDR Version 1.08 20170320
  7. In
  8. Channel 0: DDR3, 800MHz
  9. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  10. Channel 1: DDR3, 800MHz
  11. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  12. 256B stride
  13. ch 0 ddrconfig = 0x101, ddrsize = 0x20
  14. ch 1 ddrconfig = 0x101, ddrsize = 0x20
  15. pmugrf_os_reg[2] = 0x32817281, stride = 0x9
  16. OUT
  17. usb boot ver:2017-03-07
  18. ChipType = 0x10
  19. mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
  20. mmc: ERROR: Card did not respond to voltage select!
  21. emmc reinit
  22. mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
  23. mmc: ERROR: Card did not respond to voltage select!
  24. emmc reinit
  25. mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
  26. mmc: ERROR: Card did not respond to voltage select!
  27. SdmmcInit=2 1
  28. UsbHook 457719
  29. powerOn 457840
Copy code

Is it OK?

1

threads

3

posts

15

credits

Novice

Rank: 1

credits
15
 Author| Published in 2018-8-9 05:18:36 | Show all floors
Moreover, tried defaul Debian image - log is in the attachment.

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

62

threads

653

posts

5772

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5772
Published in 2018-8-10 18:53:05 | Show all floors
YaMike replied at 2018-8-9 05:18
Moreover, tried defaul Debian image - log is in the attachment.

Images on our official website have been tested before uploaded. which steps are you operating when the problem occur that you get these fail log?

0

threads

1

posts

6

credits

Novice

Rank: 1

credits
6
Published in 2024-1-20 12:58:04 | Show all floors
I had the same problem reported here, and checking the console output(through the serial pins), I find out the no boot from the microsd card was caused by the sd card, and I confirmed this because when I used a Samsung Pro Plus micro SD card showed the 'SDHCI ERR:cmd:0x102,stat:0x18000' and all the other errors in regards to the voltage level for the micro sd card, so I replaced the micro sd by using an old Samsung Evo Select micro SD card and then when I reboot the pi 800 by using this card(linux image loaded into the EVO Select uSD card) the PI 800 doesn't complain anymore about the voltage level and any SDHCI error print-out and start booting from the uSD card without any problems since the first time. So beware of this, it looks like this orangePI is not prepared to properly boot from a higher speed uSD card like the Samsung PRO Plus (driver stuffs, maybe?, IDK).

Anyway
Published in 2024-2-4 16:11:34 | Show all floors
Fabulous article. That blog post impinges on a whole lot of immediate need conflicts of the contemporary culture. You cannot be uninvolved to help you a lot of these conflicts. It blog post grants ideas and even creative concepts. Highly insightful and even helpful.        транспорт с платформа
Published in 2025-7-3 17:48:04 | Show all floors
never saw a website like this, relaly impressed. compared to other blogs with this article this was definatly the best site. will save.        티비위키 새주소
Published in 2025-7-9 21:26:01 | Show all floors
I’m impressed, I have to admit. Genuinely rarely can i encounter a weblog that’s both educative and entertaining, and without a doubt, you could have hit the nail around the head. Your concept is outstanding; the catch is an issue that too few persons are speaking intelligently about. I am happy we found this inside my hunt for some thing relating to this.        Learn more
Published in 2025-7-10 21:18:43 | Show all floors
Following analyze several of the website content on your own internet site now, and I in fact like your way of running a blog. I book marked that to be able to my save web site listing and can be examining back again shortly. Please attempt my own website as effectively as well as let me know what you believe.        Find out here
Published in 2025-7-23 21:24:05 | Show all floors
Excellent blog here! Also your site loads up very fast! What host are you using? Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol        Continue reading
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list