YaMike post at 2018-8-7 03:13:07

RK3399: doesn't boot from mmc0

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:
└─► ./build/flash_tool.sh -c rk3399 -p system -i out/system.img
PARTITIONS OFFSET: 0 sectors.
Downloading bootloader succeeded.
Write LBA from file (100%)
Reset Device OK.
I suppose that step was successful.
After that I rebooted the board and I observed a kernel panic in the serial console:
[    1.839392] List of all partitions:
[    1.839736] 0100            4096 ram0(driver?)
[    1.840221] b300      15267840 mmcblk1driver: mmcblk
[    1.840730]   b301            4000 mmcblk1p1 f998affd-f620-45bb-bd4e-25863223e075
[    1.841445]   b302            64 mmcblk1p2 a959f87e-8b97-49bb-928b-536cc29d2893
[    1.842131]   b303            4096 mmcblk1p3 f6ddff17-fa59-47b5-b086-0a18f82e2b00
[    1.842834]   b304            4096 mmcblk1p4 345afe59-21b4-4f26-9663-d63f3e21444e
[    1.843535]   b305            4096 mmcblk1p5 07cba284-fed7-4722-87fa-89939117e34a
[    1.844237]   b306          114688 mmcblk1p6 f5dba273-ad16-4fcd-a06e-996aa0c4bd26
[    1.844920]   b307         3963904 mmcblk1p7 b921b045-1df0-41c3-af44-4c6f280d3fae
[    1.845627] b360            4096 mmcblk1rpmb(driver?)
[    1.846117] b340            4096 mmcblk1boot1(driver?)
[    1.846635] b320            4096 mmcblk1boot0(driver?)
[    1.847130] No filesystem could mount root, tried:ext4
[    1.847672] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,7)
[    1.848424] CPU: 4 PID: 1 Comm: swapper/0 Not tainted 4.4.103 #1
[    1.848961] Hardware name: Rockchip RK3399 Excavator Board (Linux Opensource) (DT)
[    1.849633] Call trace:
[    1.849885] [<ffffff80080880e8>] dump_backtrace+0x0/0x220
[    1.850379] [<ffffff800808832c>] show_stack+0x24/0x30
[    1.850837] [<ffffff80083a3020>] dump_stack+0xbc/0xf4
[    1.851295] [<ffffff80081619a4>] panic+0xec/0x23c
[    1.851729] [<ffffff8009041268>] change_floppy+0x0/0x124
[    1.852208] [<ffffff80090413fc>] mount_root+0x70/0x80
[    1.852663] [<ffffff8009041574>] prepare_namespace+0x168/0x1b0
[    1.853190] [<ffffff8009040e10>] kernel_init_freeable+0x21c/0x23c
[    1.853745] [<ffffff8008bd6270>] kernel_init+0x18/0x100
[    1.854211] [<ffffff80080826e0>] ret_from_fork+0x10/0x30
[    1.854693] CPU0: stopping
[    1.854946] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.103 #1
[    1.855477] Hardware name: Rockchip RK3399 Excavator Board (Linux Opensource) (DT)
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.

comewe7091 post at 2026-2-7 22:57:29

Quickly your website can irrefutably acquire well known being among the most regarding submitting buyers, due to its thorough content articles or simply just essential critiques.        ufars ทางเข้า

YaMike post at 2018-8-9 05:11:14

One more thing: I have the following log when I'm trying to re-flash the board:
Welcome to minicom 2.7.1

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

Press CTRL-A Z for help on special keys

DDR Version 1.08 20170320
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg = 0x32817281, stride = 0x9
OUT
usb boot ver:2017-03-07
ChipType = 0x10
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
SdmmcInit=2 1
UsbHook 457719
powerOn 457840

Is it OK?

YaMike post at 2018-8-9 05:18:36

Moreover, tried defaul Debian image - log is in the attachment.

admin post at 2018-8-10 18:53:05

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?

brochagdl post at 2024-1-20 12:58:04

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

addington.wylan post at 2024-2-4 16:11:34

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.        транспорт с платформа

aali post at 2025-7-3 17:48:04

never saw a website like this, relaly impressed. compared to other blogs with this article this was definatly the best site. will save.        티비위키 새주소

aali post at 2025-7-9 21:26:01

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

aali post at 2025-7-10 21:18:43

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

comewe7091 post at 2025-7-23 21:24:05

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
page: [1] 2 3 4 5 6 7 8 9 10
View full version: RK3399: doesn't boot from mmc0