cancel
Showing results for 
Search instead for 
Did you mean: 

after rebuild kernel then machine stop to Waiting for here root device /dev/mmcblk0p6...

bkwak
Associate II

I am tring to rebuild kenel for STM32MP157C-DK2 using below url. ​

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel

After I did 5.4 but it does not work and stop to this point ( root device /dev/mmcblk0p6...).

Let me know how to can rebuild kernel for working.

Thank you.

[   1.857417] can: netlink gateway (rev 20170425) max_hops=1

[   1.863493] Key type dns_resolver registered

[   1.867295] ThumbEE CPU extension supported.

[   1.871370] Registering SWP/SWPB emulation handler

[   1.877193] registered taskstats version 1

[   1.880218] Loading compiled-in X.509 certificates

[   1.909860] stm32-cpufreq stm32-cpufreq: Failed to get chip info: -517

[   1.916712] mmci-pl18x 58007000.sdmmc: allocated mmc-pwrseq

[   1.930026] stm32-cpufreq stm32-cpufreq: Failed to get chip info: -517

[   1.936906] mmci-pl18x 58007000.sdmmc: allocated mmc-pwrseq

[   1.942262] stm32_rtc 5c004000.rtc: setting system clock to 2020-02-29 01:00:23 UTC (1582938023)

[   1.952596] Waiting for root device /dev/mmcblk0p6...

1 ACCEPTED SOLUTION

Accepted Solutions
Bernard PUEL
ST Employee

The pb was found in the wiki article:

PC $> make ARCH=arm multi_v7_defconfig

should be:

PC $> make ARCH=arm multi_v7_defconfig fragment*.config

The article was updated accordingly. Thanks for pointing this and sorry for the inconvenience !

View solution in original post

15 REPLIES 15
MNoor.1
Associate II

I have the same problem. I selected all sd/mmc related drivers from menuconfig to be built and installed, but still not working.

Boot logs are attached.

I think boot is not contuniuing (there is no code) so there is this problem.

If you can, download newest version on the net.

bkwak
Associate II

Thanks for info. ​

Is there more new version than linux-4.19.94.tar.xz ?  (I used linux-4.19.94.tar.xz ) 

Dzhon.11
Associate

我在使用DK1的时也�?�到这个问题,对比�?程是一致的,目�?怀疑相关的命令有细微的错误。

https://blog.csdn.net/Ambitious_Man/article/details/103699146

�?�以结�?�使用这个网站的命令�?��?程,​就能正常�?�动了。

mleo
Senior II

Hi,

Issue confirmed - reproduced, investigation ongoing.

Milan

Bernard PUEL
ST Employee

Hi all,

Just to double check:

did you well update your DK2 board with the V1.2.0 starter package (before updating the uimage with drm modification) ? I mean reflashing completely your sd card with V1.2.0.

Bernard PUEL
ST Employee

The pb was found in the wiki article:

PC $> make ARCH=arm multi_v7_defconfig

should be:

PC $> make ARCH=arm multi_v7_defconfig fragment*.config

The article was updated accordingly. Thanks for pointing this and sorry for the inconvenience !

When I try:

PC $> make ARCH=arm multi_v7_defconfig fragment*.config

inside kernel source folder I get:

no matches found: fragment*.config

But, when I execute the command with the right fragment path:

PC $> make ARCH=arm multi_v7_defconfig ../fragment*.config

I get the following errors:

HOSTCC scripts/basic/fixdep

HOSTCC scripts/kconfig/conf.o

YACC  scripts/kconfig/zconf.tab.c

LEX   scripts/kconfig/zconf.lex.c

HOSTCC scripts/kconfig/zconf.tab.o

HOSTLD scripts/kconfig/conf

#

# configuration written to .config

#

scripts/kconfig/Makefile:109: *** No configuration exists for this target on this architecture. Stop.

Makefile:532: recipe for target '../fragment-03-systemd.config' failed

make[1]: *** [../fragment-03-systemd.config] Error 2

Makefile:286: recipe for target '__build_one_by_one' failed

make: *** [__build_one_by_one] Error 2