This series of videos is very informative and explained extremely well. Especially this one, in which you took the time to create the partitions and filesystems manually for instructional purposes. Thanks for the effort.
@tljstewart3 жыл бұрын
Great videos! It’s difficult to find good content on these subjects.
@Telemanblues Жыл бұрын
Using the STM partition script worked like a charm. First pass of manual partitioning did not work for me for some reason. Awesome series. Thanks for all of you efforts.
@joshhaughton45473 жыл бұрын
Awesome video! Thanks so much for making this. You do a great job of explaining everything!
@vonmakeheat2 жыл бұрын
Ok . I swore off low level coding tutorials for a while u sir got me excited to try this stuff again . I mean the explanation of mounting the rootfs after the cook init layer is literally 🔥
@nandospm3 жыл бұрын
Great tutorial. I tried some different packages and images after last episode and used the FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv file as an argument to the STM32_Programmer_CLI. I am going to try this process next
@amrrasslan43293 жыл бұрын
thx for sharing i hope we see more advanced topics like these hats off to you sir
@zzws5243 жыл бұрын
Really appreciate your effort. Very clear...
@hamedzaheri70503 жыл бұрын
Greate series. Thanks
@adoormanusoman3 жыл бұрын
Hi, please add tutorial on how to add packages to custom Linux using yocto
@subhamdas24912 жыл бұрын
Can we make iot project with this ...like getting digital, analog sensor value & process them in the cloud
@byteslee17292 жыл бұрын
Free knowledge. Wow! I wish all universities taught students like that 😁🤣😂
@anime-id971611 ай бұрын
Instant subscribe You teach me how to using dd and how to make partition via cli which very clear explanation
@Hacker-at-Large3 жыл бұрын
Couldn’t you hear me screaming about expanding rootfs on the development system?
@ShawnHymel3 жыл бұрын
Don't worry...that's something I tackle in the next episode ;)
@Shamino02 жыл бұрын
@@ShawnHymel But you don't really want to hard-code any size for that file system. You always want it to fill all remaining space. My recommendation is to set the file system size to the minimum needed for a running system, and then expand that file system to fill its partition after writing it to the SD card. If you do it from the host, there are many tools. I like the graphical "gparted". Or you could use the "resize2fs" command. Or you could do it on the STM device, if your minimal installation has "resize2fs". It might, because that command is typically part of other low-level ext utilities like fsck, which really need to exist for a functioning system. One approach might be to add a script (maybe via systemd) that runs only on the first boot, which resizes the file system to fill the partition. Then (if you want to be really slick), the script can disable itself, so it won't try to run the next time you boot.
@alexscarbro7963 жыл бұрын
I guess the “Disco” layer is more likely to generate an SD card image since it’s targeted at a specific dev board, whereas this build was for a generic MP1 application?
@sagarshubham86603 жыл бұрын
Hey Shawn and Digikey! Thanks for another great video. Did you get to try genimage for an sdcard image creation? That's how build root does it, for most hardware it has this option anyway, and you can use it with your Yocto build too :) Hope this helps.
@ShawnHymel3 жыл бұрын
I didn't know about genimage, thanks for the tip!
@illie8066 Жыл бұрын
This is a very good series, simple and clear. however, I had a problem booting up the discovery kit and got 2 lines that stopped the boot sequence: [ 33.762475] vref: disabling [ 33.765065] vdda: disabling The whole process wad good, but after connecting the SD-card and starting the board, I got that.
@dnyaneshvarsalve Жыл бұрын
@illie8066 I got the same problem, have you found the solution?
@dnyaneshvarsalve2984 Жыл бұрын
Hi, my problem is solved, edit the file to find rootfs with /dev/mmcblk0p5 instead of /dev/sdc5 (/dev/sdc5 in my case)
@illie8066 Жыл бұрын
Sorry for the late response, I had to put it on hold, So, thank you, @dnyaneshvarsalve2984, it worked for me too!! In my case, the location is: /media/illi/bootfs/mmc0_extlinux/extlinux.conf Naturally, I changed to: APPEND root=/dev/sdb5....... because in my case the partitions are sdb1..5. changed to mmcblk0p5 and it worked and I succeeded in logging the system. Thank you!!
@seeuwenkarel93333 ай бұрын
Hello all, October 2024, building for/using stm32mp157f-dk2, the change of UUID to /dev/mmcblk0p5 in extlinux.conf did not work for me, but using fdisk to change the uuid of the 5th block (the rootfs) to the uuid found in the extlinux.conf (and other files in that same directory) did work for me. The learning curve is steep and bumpy, but many thanks to Shawn and Digikey for get us this far. Cheers.
@nilutpolkashyap3 жыл бұрын
Can the same tutorial be tried with a Raspberry Pi?
@ShawnHymel3 жыл бұрын
Do you mean using the Raspberry Pi as the host machine or creating an image for the Raspberry Pi? If using as the host machine, then it should work, but it will take much longer (as the Pi is slower than most modern PCs). If you mean creating an image for the Pi, then that's also possible. I recommend checking out this tutorial: jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html
@nilutpolkashyap3 жыл бұрын
@@ShawnHymel Thanks a lot. I meant creating an image for the Raspberry Pi. I will surely try it out.
@優さん-n7m Жыл бұрын
Can Cygwin be used to do all this stuff?
@AndersJackson2 жыл бұрын
There are a command, which I don't remember the name of, that expands ext3 and ext4 file systems. It is easy to run that, especially from Raspberry Pi or any other Linux system. "man -k ext4" should give you some clues where to find it.
@Shamino02 жыл бұрын
You're probably thinking of the "resize2fs" command. When run without any parameters other than the device, it will resize the file system to match the partition size. On Debian and related systems, it is part of the "e2fsprogs" package. This is the package that includes pretty low-level ext file utilities like fsck (e2fsck), so I would expect it to be in this minimal Linux build. But maybe the build is extremely minimal and therefore omitted this tool. Of course, it only needs to be on the device if you want to resize the file system from the STM32. You could also do that from the host PC after writing the file system to the SD card.
@ugurcanusta70053 жыл бұрын
Thanks for this video serie, you are being very helpful. Could you do some Qt applications by using this board, it would be great!!!
@Mr_Gaurav3 жыл бұрын
hi i have a microchip sama5d3 xplaned board. I followed the same steps but I am unable to boot through SD card. I have spent two days in trouble shooting but didn't get any luck. can you please help?
@dnyaneshvarsalve Жыл бұрын
after vref disabling and vdda disabling lines printed on terminal, I can't see any login prompt. any idea ?
@antoniofuentes155110 ай бұрын
just have the same issue
@joanelietheiligerruiz31443 жыл бұрын
El Mejor!!!
@fayask9904 Жыл бұрын
Raspberry Pi/beagle bone black /STM32MP157F-DK2 which one is better ??
@batkonashbandera5165 Жыл бұрын
it depends what you need it for. if you need microcontroler for robotics or adc for sensors. BBB is better. If you just need server with some io, raspberry pi will do just fine. Don't do DK2, its crap.
@優さん-n7m Жыл бұрын
A course like this could easily cost thousands of £
@andrsam36823 жыл бұрын
чертов гений
@markmanning2921 Жыл бұрын
not "in root file system", this is horrendously bad English: Correction: "in ***THE*** root file system" yes it matters.