For my porject, i select to boot on SD card or emmc thanks to the u-boot.
But when Linux was loaded, i need to know if i use the SD card or the Emmc.
In the dmesg, i see this :
[ 5.212397] Run /init as init process [ 5.216077] with arguments: [ 5.219087] /init [ 5.221407] with environment: [ 5.221560] mmc1: new high speed SDHC card at address 0001 [ 5.224588] HOME=/ [ 5.230483] mmcblk1: mmc1:0001 00000 29.8 GiB [ 5.232483] TERM=linux [ 5.238196] mmcblk1: p1 p2 p3 [ 5.239653] board=pro [ 7.280315] random: crng init done
Can i recover this information with a command line?
Actually, to know where i am, i do this :
-Create a folderwithe a command line in uboot
-In bash script : look for this folder in sd card and emmc.
Thanks by advance