please choosego to mobile | Continue to access the PC version
View: 5811|Reply: 67

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

5192

credits

Administrator

Rank: 9Rank: 9Rank: 9

credits
5192
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?

4

threads

260

posts

702

credits

Senior member

Rank: 4

credits
702
Published in 2024-1-17 21:19:52 | Show all floors
This is usually a superb posting, With thanks to get allowing people this review. Continue to keep writing.        ufa656

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-1-20 21:48:45 | Show all floors
That's the reason it is advisable that you need to right inspection earlier than writing. You can set up a lot better present with this.        new88
Published in 2024-1-20 22:27:27 | Show all floors
desroduct Description : Here at Jammin’ J Auto & Tire, we try our best to be the best!  Our technicians look over your vehicle and photograph potential problem areas and make this available to you, the customer, almost instantly as the check is completed.  A link is provided to the customer via text or email and you are able to view the actual concerns without having to leave work, and being able to see the actual problem on the spot. Next, the customer is contacted to discuss your repair and give detailed, upfront pricing for all repair or maintenance needs.  We have found this system to be very effective in communicating the health of your vehicle which aids our goal of being your long term vehicle service provider by allowing us to help you plan for your vehicle’s next needed service before it becomes an emergency.  Our system also automatically schedules your next oil maintenance service based upon your vehicle history and will text you a reminder days before your appointment. This service has made our loyal customers very happy.        St. Louis Auto Repair
Published in 2024-1-20 23:47:21 | Show all floors
des  Vanguard Specialty Imaging is the leader in thoracic outlet syndrome diagnosis and education. We created the NeoVista® MRI, widely known as the thoracic outlet syndrome test of choice. Vanguard Specialty Imaging can help you find a thoracic outlet syndrome specialist, and will help you understand thoracic outlet syndrome symptoms, thoracic outlet syndrome diagnosis, and treatment options, including thoracic outlet syndrome exercises. For all your thoracic outlet syndrome questions, visit tosmri.com. Don’t guess with TOS!        thoracic outlet syndrome,
Published in 2024-1-22 13:54:12 | Show all floors
That definitely possibly an amazing organize i always in truth definitely relished checking out. It's not necessarily specifically frequent i always add some choice to identify a selected matter.        klebefolie steinoptik
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list