Тёмный

How Linux Boots on an Embedded Device - part 1 

Tomaž Zaman
Подписаться 36 тыс.
Просмотров 9 тыс.
50% 1

Thanks to PCBway for sponsoring this video! www.pcbway.com/
Useful links for more research:
➡️ ARM secure boot: trustedfirmwar...
➡️ Bootlin cross compile tutorials: bootlin.com/do...
➡️ TFT server setup: www.baeldung.c...
➡️ Our CPU: www.nxp.com/pr...

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@BreakerSpace
@BreakerSpace 6 дней назад
You will get lower initial bump in viewership metrics on this video, but please don't let that discourage you. Not only people will search for and watch this for a longer time, many would come back to watch again for specific references. RU-vid analytics makes creating the popcorn content more rewarding than hearty meals like this, but please don't let that get to you. Thankfully you actually have a product to make (instead of breaking it as a RU-vidr as your primary goal) so it gives me hope that you will not break to the pressure of algorithm & I can keep coming back for more great content that RU-vid is desperately starting to lack.
@tomazzaman
@tomazzaman 6 дней назад
Absolutely, I'm in no rush whatsoever, I prefer to make videos I feel passionate about rather than chasing views. I mean, those are nice, but I'd rather they grow organically because people share the same passion, but for me are not the be all end all. Will continue with content like this, don't worry! :)
@itsamemarkus
@itsamemarkus 6 дней назад
It's awesome you started this series. From what the previous videos looked like, the router will probably be a really nice device. In addition to that it could be a great learning opportunity when we have those videos (+ maybe good documentation).
@revealingfacts4all
@revealingfacts4all 6 дней назад
just PSA... embedded engineer here. You actually do NOT need a JTAG programmer to walk in the 2nd stage boot loader on many SoCs including NXP. Now, I'm not familiar with your exact SoC but I am with other iMX and S32 SoCs from NXP as well as Jacinto processors from Ti and they all have CPU pins you pull up or down to tell that first stage boot loader, in the CPU, where to look for the 2nd stage boot loader - such as a serial port you connect over USB.
@tomazzaman
@tomazzaman 6 дней назад
Thanks for the correction! Much appreciated!
@omegatotal
@omegatotal 4 дня назад
You can also use a raspberry pi as a SPI or other flash ROM programmer in most cases, and it sometimes works in system depending on the system you're working on. I recently backed up the flash on a network switch and then put an open source of variant on it, only a raspberry pi in a few jumper leads were needed
@OtoBrglez
@OtoBrglez 6 дней назад
I don’t want to say ur doing god’s work here. But definitely work of many professors of CS around the globe! Beautiful work!
@AhmadSwailem
@AhmadSwailem 6 дней назад
I like the way how you share interesting things on the way up .. As usual, Good luck ❤
@TheMegahafo
@TheMegahafo 5 дней назад
I would seriously consider to buy the device I understand its inner workings. Great series. Thank you.
@m-aslan
@m-aslan 6 дней назад
a full tutorial will be great
@Saphykitten
@Saphykitten 5 дней назад
You’re doing something you’re passionate about and sharing it with an enthusiasm that is absolutely enchanting. Randomly coming across your video series has encouraged me to upgrade my network and learn more about how networking works. Kudos~
@tomazzaman
@tomazzaman 5 дней назад
Thank you!
@Ginita12
@Ginita12 5 дней назад
I watched all the videos , even though I'm not a programmer at all . I'm just curious how your enterprise is evolving little by little. I'm here since you "hacked your isp" video . very interesting channel you have here . keep going .
@pahnazd
@pahnazd 6 дней назад
I... understood a few of those words! :D This is way above my knowledge level, but it's still very enjoyable seeing how you progress.
@tomazzaman
@tomazzaman 6 дней назад
Thank you!
@trentbillington1093
@trentbillington1093 6 дней назад
Haha, chatgpt is probably the most computationally expensive way to convert hex to decimal 😭
@tomazzaman
@tomazzaman 6 дней назад
Yep, very likely!
@Kabodanki
@Kabodanki 6 дней назад
This series is incredible, man I will buy one for sure. That is exactly what I wanted, ubiquity won't have my money. Overkill, I don't care lol
@phillipmcmahon5949
@phillipmcmahon5949 6 дней назад
Awesome content once again! I hope your project continues going from strength to strength. Did you make contact with the team over at Vyos?
@shapelessed
@shapelessed 6 дней назад
20:48 - Ahh. The pesky CRC checksum mismatches... I recently added CRC error detection to the filesystem I've been working on, I can say confidently - It was a pain.
@pianoman4Jesus
@pianoman4Jesus 6 дней назад
Excellent tutorial series, Tomaž! 😎👍
@ghangj
@ghangj 5 дней назад
I love this.
@examen1996
@examen1996 5 дней назад
Say you will be able to boot vyos and your device will sell good, and by how things seem to be going , this is very likely, how would you license vyos ? I'm absolutely sure that it would benefit them, maybe even more than you, as it would be a better appliance for the os, but would you be allowed to preload it ? Congrats on your work!
@interruptlabs
@interruptlabs 3 дня назад
Nice!
@Monkeyindatrees
@Monkeyindatrees 5 дней назад
Why not using a risc-v chip? Arm will be expensive in licensing. If you want uptimized router then you could also use a fpga
@tfiatd
@tfiatd 5 дней назад
Doubt risc-v hardware is mature enough to both conveniently be there in router form, and to have this level of industry support at the moment. Nothing like mostly preconfigured boot images.
@tomazzaman
@tomazzaman 5 дней назад
Exaxctly. Risc-v is not anywhere near prodution ready yet.
@Monkeyindatrees
@Monkeyindatrees 3 дня назад
@@tfiatd then find a riscv chip and make the kernel drivers yourself? + freebsd has a much better and solid networking stack. Yes it is the hard route, but. No pain no gain
@dkaaakd
@dkaaakd 5 дней назад
Isn't ls1046a supported by openocd (even with a config for ardb)? Hence the claim that working with JTAG requires software with a large license cost is false?
@tomazzaman
@tomazzaman 5 дней назад
You're not wrong, there are other ways, but debuggers in general are expensive, wouldn't you agree? We also need their IDE for other things (RAM testing), not just JTAG work, so I should have been more clear on that. Thanks!
@dkaaakd
@dkaaakd 5 дней назад
@@tomazzaman I would say that debuggers are used to be expensive in general; but then ARM opensourced CMSIS and things started to change. If I understand correctly, you're using LS1046ARDB devboard, which has CMSIS-DAP port (J33). OpenOCD supports CMSIS-DAP, thus I would expect it to be possible to do the flashing using just devboard, micro-usb cable, memory layout and open-source software. Not sure what their IDE does for "RAM testing" (DDR timings validation?), but I expect loading firmware / debugging be just a question of what toolchain you're more familiar with, and if you'd like to invest some time into configuring OSS toolchain.
@tomazzaman
@tomazzaman 5 дней назад
Thanks for the heads up! And yes, DDR timings validation is what I had in mind. Also, good stuff you're giving me here. I haven't tried this J33 yet, so maybe that's worth a video in itself? Will report :)
@tfiatd
@tfiatd 5 дней назад
And a reminder to all, this is still peanuts compared to the shit you’ll have to deal with should you choose to do all of this manually.
@paterley9155
@paterley9155 5 дней назад
At 10 minutes when talking about erasing the nor flash, you say 7 zeroes, but only typed 6
@tomazzaman
@tomazzaman 5 дней назад
I did put the correct word on the screen with an asterisk.
@paterley9155
@paterley9155 5 дней назад
@@tomazzaman Ahh, must have missed that. Glad you noticed too!
@tfiatd
@tfiatd 4 дня назад
Also no, save yourself the hassle, anything but GPT! That thing has zero clue on this with all the confidence!
@lanefu
@lanefu 4 дня назад
Always bragging you have an ARM SoC that has vendor support and documentation
@laser-sj
@laser-sj 6 дней назад
And this is exactly why i hate Linux.... its way overcomplicated for what it needs to be. 😂
@Debloper
@Debloper 6 дней назад
...as opposed to Windows or macOS, that are super simple, very easy, user friendly & completely open source - to compile a custom image to boot into any target ASIC or FPGA. 👁👄👁
@hexlocation
@hexlocation 6 дней назад
Computers are complicated :p
@int32_
@int32_ 6 дней назад
good luck doing this with windows...
@sasjadevries
@sasjadevries 6 дней назад
But his video was all about UBoot and embedded memory... he ran over what happens before Linux boots up.
@laser-sj
@laser-sj 5 дней назад
​@@Debloper as opposed to a ground up built embeded system using open source software.
Далее
AI can't cross this line and we don't know why.
24:07
Просмотров 571 тыс.
Семья с двойным дном. Рассказ
2:45:06
RS232 flow control
14:49
Просмотров 103 тыс.
DON'T Underestimate This Cheap MicroServer
18:07
Просмотров 206 тыс.
DIY Laser Image Projector (100ft+ Range!)
20:08
Просмотров 151 тыс.
I Made The Ultimate Cheating Device
9:39
Просмотров 545 тыс.
HTTP 1 Vs HTTP 2 Vs HTTP 3!
7:37
Просмотров 144 тыс.
How Optimizations made Mario 64 SLOWER
20:41
Просмотров 313 тыс.
The Genius Behind the Quantum Navigation Breakthrough
20:47
Семья с двойным дном. Рассказ
2:45:06