How Linux Boots on an Embedded Device - part 1

  Рет қаралды 10,139

Tomaž Zaman

Tomaž Zaman

Күн бұрын

Пікірлер: 53
@BreakerSpace
@BreakerSpace 2 ай бұрын
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. KZbin 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 KZbinr 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 KZbin is desperately starting to lack.
@tomazzaman
@tomazzaman 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
Thanks for the correction! Much appreciated!
@omegatotal
@omegatotal 2 ай бұрын
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
@Saphykitten
@Saphykitten 2 ай бұрын
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 2 ай бұрын
Thank you!
@pahnazd
@pahnazd 2 ай бұрын
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 2 ай бұрын
Thank you!
@AhmadSwailem
@AhmadSwailem 2 ай бұрын
I like the way how you share interesting things on the way up .. As usual, Good luck ❤
@TheMegahafo
@TheMegahafo 2 ай бұрын
I would seriously consider to buy the device I understand its inner workings. Great series. Thank you.
@OtoBrglez
@OtoBrglez 2 ай бұрын
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!
@j2klegend
@j2klegend Ай бұрын
Thanks for explaining every bit in detail 👍
@Kabodanki
@Kabodanki 2 ай бұрын
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
@pianoman4Jesus
@pianoman4Jesus 2 ай бұрын
Excellent tutorial series, Tomaž! 😎👍
@m-aslan
@m-aslan 2 ай бұрын
a full tutorial will be great
@Ginita12
@Ginita12 2 ай бұрын
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 .
@ghangj
@ghangj 2 ай бұрын
I love this.
@phillipmcmahon5949
@phillipmcmahon5949 2 ай бұрын
Awesome content once again! I hope your project continues going from strength to strength. Did you make contact with the team over at Vyos?
@trentbillington1093
@trentbillington1093 2 ай бұрын
Haha, chatgpt is probably the most computationally expensive way to convert hex to decimal 😭
@tomazzaman
@tomazzaman 2 ай бұрын
Yep, very likely!
@shapelessed
@shapelessed 2 ай бұрын
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.
@Pea-pod
@Pea-pod Ай бұрын
Hi Tomasz, so given we get no LEDs except a power led which flashes during boot. Any chance you can allow for an oled screen via a knockout panel on the case that can be connected to the i2c bus?
@tfiatd
@tfiatd 2 ай бұрын
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.
@Monkeyindatrees
@Monkeyindatrees 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
Exaxctly. Risc-v is not anywhere near prodution ready yet.
@Monkeyindatrees
@Monkeyindatrees Ай бұрын
@@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
@interruptlabs
@interruptlabs Ай бұрын
Nice!
@dkaaakd
@dkaaakd 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
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 2 ай бұрын
Also no, save yourself the hassle, anything but GPT! That thing has zero clue on this with all the confidence!
@paterley9155
@paterley9155 2 ай бұрын
At 10 minutes when talking about erasing the nor flash, you say 7 zeroes, but only typed 6
@tomazzaman
@tomazzaman 2 ай бұрын
I did put the correct word on the screen with an asterisk.
@paterley9155
@paterley9155 2 ай бұрын
@@tomazzaman Ahh, must have missed that. Glad you noticed too!
@lanefu
@lanefu Ай бұрын
Always bragging you have an ARM SoC that has vendor support and documentation
@laser-sj
@laser-sj 2 ай бұрын
And this is exactly why i hate Linux.... its way overcomplicated for what it needs to be. 😂
@Debloper
@Debloper 2 ай бұрын
...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 2 ай бұрын
Computers are complicated :p
@int32_
@int32_ 2 ай бұрын
good luck doing this with windows...
@sasjadevries
@sasjadevries 2 ай бұрын
But his video was all about UBoot and embedded memory... he ran over what happens before Linux boots up.
@laser-sj
@laser-sj 2 ай бұрын
​@@Debloper as opposed to a ground up built embeded system using open source software.
this new Linux feature makes hacking IMPOSSIBLE
11:08
Low Level
Рет қаралды 404 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 78 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 2,4 МЛН
My most informative video yet! Let's build ourselves a Linux!
30:40
U-Boot Bootloader Firmware Extraction Tools
19:20
Matt Brown
Рет қаралды 9 М.
How a Microcontroller starts
28:49
Artful Bytes
Рет қаралды 34 М.
Titus Reacts to Linus Tech Tips Linux Daily Drive Challenge
20:21
Chris Titus Tech
Рет қаралды 765 М.
10 Gb/s throughput without using CPU cores? ✅ Check.
13:46
Tomaž Zaman
Рет қаралды 33 М.
how is this hacking tool legal?
11:42
Low Level
Рет қаралды 395 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 78 МЛН