cancel
Showing results for 
Search instead for 
Did you mean: 

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

SBae.4
Associate II

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? ^^;;

5 REPLIES 5
Olivier GALLIEN
ST Employee

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.

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

And I want to buy stm32mp157c-dk2 board but it is out of stock.

When is it available and does it have production planning?

If it isn`t until April, I should buy stm32mp157a-dk1.

Hi @Community member​ ,

Indeed stm32mp157c-dk2 are no longer produced and replaced by stm32mp157F-dk2 with 800Mhz support capability.

You should indeed buy a dk1 ( a @650 or d @800 ) if you don't care about security and Wifi / BLE module

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.

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.