Skip to main content
SBae.4
Associate II
February 19, 2021
Question

Linux kernel update problem via SDCARD on BOARD (via U-Boot)

  • February 19, 2021
  • 1 reply
  • 3048 views

Hi,

I use stm32mp157a-dk1 board and sdcard boot.

Host PC is win10, virtualbox and ubuntu 20.04.1

I try this example but have some problem.

https://github.com/STMicroelectronics/meta-st-stm32mp/blob/dunfell/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt

I don`t have folder "/media/$USER/bootfs/" and media/$USER/rootfs/lib/modules/

My board complete this step.

0693W000008GdJGQA0.png

But error occurs this command .

/media/sh/bootfs/ is not directory. (*'sh' is my user name)

0693W000008GdJLQA0.png 

What is problem? ^^;;

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
February 22, 2021

Hi @Community member​ ?

When proceed to :

STM32MP > ums 0 mmc 0

A new USB "STMicroelectronics USB Download gadget" should be visible in your Virtual Box. Please check it's not connected windows side.

You should get something like :

PC $> ls -l /dev/disk/by-partlabel/

total 0

lrwxrwxrwx 1 root root 10 Feb 8 08:57 bootfs -> ../../sdb4

lrwxrwxrwx 1 root root 10 Feb 8 08:57 fsbl1 -> ../../sdb1

lrwxrwxrwx 1 root root 10 Feb 8 08:57 fsbl2 -> ../../sdb2

lrwxrwxrwx 1 root root 10 Feb 8 08:57 rootfs -> ../../sdb6

lrwxrwxrwx 1 root root 10 Feb 8 08:57 ssbl -> ../../sdb3

lrwxrwxrwx 1 root root 10 Feb 8 08:57 userfs -> ../../sdb7

lrwxrwxrwx 1 root root 10 Feb 8 08:57 vendorfs -> ../../sdb5

and :

$ ls -al /media/$USER/

total 15

drwxr-x---+ 6 root root 4096 févr. 22 05:36 .

drwxr-xr-x  3 root root 4096 déc. 15 05:48 ..

drwxr-xr-x  6 root root 1024 févr. 5 03:31 bootfs

drwxr-xr-x 19 root root 4096 févr. 5 03:36 rootfs

drwxr-xr-x  7 root root 1024 févr. 5 03:31 userfs

drwxr-xr-x  4 root root 1024 févr. 5 03:31 vendorfs

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
SBae.4
SBae.4Author
Associate II
February 26, 2021

Hi, @Community member​ 

I connected USB in Virtual Box but keyboard is stopped in kernel folder(install_artifact) console.

And at the moments, board is reboot and kernel folder console is available.

So I can`t command ls -l /dev/disk/by-partlabel/ cuz can`t use keyboard.

What is problem? T.T

0693W000007ZXVyQAO.png0693W000007ZXW3QAO.png0693W000007ZXWDQA4.png

Olivier GALLIEN
Technical Moderator
February 26, 2021

Hi @Community member​ ,

I'm afraid this is purely related to your VirtualBox environment for which I can not help much.

Double check and try to get help on some dedicated community.

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.