A $9 Introduction to the RISC-V Future of Computing

  Переглядів 327,562

apalrd's adventures

apalrd's adventures

День тому

Is RISC-V the future of computing? I sure hope so. So I tracked down one of the cheapest Linux-capable SBCs that supports this architecture, the Milk-V Duo. For a listed price of $9 (and selling for $5), this little guy offers a RV64 Linux environment complete with busybox, Ethernet, and a wide assortment of IO rivaling some microcontrollers. Today I'm going to steup the board and start learning about RISC-V computing!
Fundamentally, the RISC-V architecture is a document which describes the binary machine lanuage of a 32, 64, or 128 bit processor with integer and optional floating point support, but it's also symbolic of the shift to open computing for the future, and as a computer engineer I'm excited to learn more about it.
Find information about the Group Buy on my Ko-Fi: ko-fi.com/s/3a337eb05c
Milk-V Product Page: milkv.io/duo
Buy the Milk-V Duo on Arace Tech: arace.tech/collections/milk-v...
Buy the Milk-V Duo on Taobao: item.taobao.com/item.htm?spm=...
Milk-V Duo Documentation: milkv.io/docs/duo/overview
Feel free to chat about my upcoming projects on Discord!
/ discord
Blog post with links: www.apalrd.net/posts/2023/ris...
Test Code / Assembly on my Github: github.com/apalrd/riscv-morse/)
IPV6-enabled SD Image on my Github: github.com/apalrd/milkv-duo-b...
I reached out to Milk-V to make this video, they sent me the board, breakout, and camera free of charge but were otherwise not involved in this video.
If you want to hear me talk more about the history of computer architecture, here's a cut clip from this video: • Behind-The-Scenes - RI...
Timestamps:
00:00 - Introduction
00:49 - What Is RISC-V?
01:35 - Unboxing
03:06 - First Boot
05:30 - Writing Code
09:29 - RISC-V Assembly
16:38 - Hardware IO
17:18 - Ethernet
19:39 - Kernel Build
22:04 - USB Host
22:52 - Camera
23:20 - RISC and Me
#riscv #computerarchitecture

КОМЕНТАРІ: 511
@MarkEichin
@MarkEichin 7 місяців тому
I love how this turned from "hello world on a cheap new embedded chip" to "summarize and compare 40+ years of instruction set architectures" while still being comprehensible!
@Mika43344
@Mika43344 5 місяців тому
don't buy it it's too risky
@kayakMike1000
@kayakMike1000 5 місяців тому
​@@Mika43344 ha ha ha. I see what you did there...
@BruceHoult
@BruceHoult 4 місяці тому
It's a nice, well done video. I did notice one problem though: Andrew may have confused Arm and MIPS because he said Arm is like RISC-V in not using flags/condition codes. While ARMv7 (Thumb2) added "cbz"/"cbnz" instructions that branch based on the contents of a register, Arm in fact has NZVC condition codes in the DEC/Motorola tradition (PDP-11, VAX, 6800, 68000, 6502 etc) and all other conditional branches are based on those. The Milk-V Duo is a nice little board and the 1 GHz CPU pretty capable, but the 64 MB RAM is a little limiting. It's enough to run emacs and gcc on the Duo itself to write and compile small to medium programs, which is cool. Meanwhile Milk-V has announced the Duo 256M which increases the RAM to 256 MB, and (weirdly) adds a 1 GHz Arm A53 core to the 1 GHz and 700 MHz RISC-V cores in the original Duo. Price and shipping date haven't been announced yet.
@gaweyn
@gaweyn 3 місяці тому
@@Mika43344 at least it does not cost an arm and a leg
@niv8880
@niv8880 2 місяці тому
@@Mika43344 LOL
@merthyr1831
@merthyr1831 7 місяців тому
Some people might not like having a whole OS for their dev board, but the "Everything is a file" paradigm looks insanely intuitive!
@Zettymaster
@Zettymaster 7 місяців тому
linux is kinda overkill depending on what you are actually planning to use it for. for a lot of embedded stuff an RTOS may be more suitable, but since linux is easy to find stuff for its kinda nice to just have a full OS for. and yes. the unix/*nix/linux way of making basically everything a file is super cool
@jnharton
@jnharton 7 місяців тому
It's certainly a useful and valuable design paradigm, even if it isn't perfect in every situation. Too much complexity at the bottom of the software stack can really make a mess. --- That said, you can "have a whole OS" without necessarily including the Linux kernel and GNU tools. CP/M and MS-DOS, among hundreds of other historical example, were all /operating systems/ in their own right, even though many had little or no built-in support for any kind of local networking of machines.
@top.of.reddit
@top.of.reddit 6 місяців тому
Isn't Linux a "everything is a file" OS? The webcam? A file. The screen? A file. Your keyboard? A file. A file? A file. Nothing? You guessed it, a file.
@merthyr1831
@merthyr1831 6 місяців тому
​@@top.of.reddit For the most part. Since Linux is "Unix-like" and not a real UNIX system it doesn't always follow that design pattern, though. For most hackers and makers it's useful, though! I'm about to start working on a script to control a USB-connected CPU fan using the USB device files, for example.
@absalomdraconis
@absalomdraconis 6 місяців тому
​​@@merthyr1831 : A lot of the certified Unix distributions didn't make everything a file either, it wasn't actually rare. At any rate, the "real" "everything is a file" OS is Plan 9 and it's derivatives, which a bunch of the original Unix guys created as a successor to Unix- in essence, enough of a mess had developed in the Unix space that they had enough reference points to figure out how to make an OS be more Unix than Unix itself. Anything with FUSE support can be turned into a Plan 9-alike, so much of the *nix world will probably eventually drift over in that direction.
@killedbymonkeys
@killedbymonkeys 7 місяців тому
This is really an amazing little chip. Love to see the RISC-V stuff progressing so well.
@apalrdsadventures
@apalrdsadventures 7 місяців тому
I'm really hoping it starts to take over the more niche markets that aren't as well suited for ARM and grows from there. But also, it seems like China is very enthusiastic to make RISC-V based chips to reduce their dependence on ARM Holdings, which should help the whole ecosystem as long as these changes make their way back to GCC / Linux / .. mainline, which at least for this chip is already done.
@asdfghyter
@asdfghyter 7 місяців тому
@@apalrdsadventures didn’t some US senators want to place restrictions on the risc-v for stupid trade war reasons, just because china likes it?
@apalrdsadventures
@apalrdsadventures 7 місяців тому
the RISC-V Foundation is a Swiss non-profit specifically to avoid this issue
@asdfghyter
@asdfghyter 7 місяців тому
@@apalrdsadventures yes, but the idiot senators didn’t care and wanted to forbid american organizations from working on it (not at all for corrupt reasons where they own companies who risc-v would cause more competitors to)
@grosses_wassertier666
@grosses_wassertier666 4 місяці тому
@@apalrdsadventures But Linux actually runs on the ARM core, doesn't it? How do you control wheater to use the ARM or RISC cores? That is what got me to look up this board in the first place. It also has a 8051 core. Why is beyond me. Couldn't you just emulate that? Anyways. Interesting video. I learned a few things about all the differenct insctruction sets. Although I propably missed a good deal that's just over my head.
@_yadokari
@_yadokari 3 місяці тому
Spent the first 10 years of my career writing MIPS assembly. RISC-V is so close to it, and I love it.
@falazarte
@falazarte 7 місяців тому
You are a computer engineer and it shows. Thanks so much for sharing your knowledge with us.
@itssoaztek4592
@itssoaztek4592 7 місяців тому
Fabulous hands-on with affordable hardware I didn't know exist! Very nice explanation at the end about different architectures! (BTW Big thanx for doing some magic on the audio side of things! Excellent listening experience with this video!)
@stephanschmidt2334
@stephanschmidt2334 7 місяців тому
Writing code since 40 years, but learned a lot from your video. Very well done.
@cherrymountains72
@cherrymountains72 7 місяців тому
Very much appreciate your level of explanation and obvious enthusiasms about the topics (and to see you are a fellow t-shirt connaisseur ;-) ). Subscribed and judging by the other comments on this video, I think the algorithm has found you and is pushing you (37K as I write this). Enjoy the ride ;-). Looking forward to watching your older and new video’s! All the best from 🇳🇱
@mouduge
@mouduge 7 місяців тому
I recently discovered your channel, and I love it! Keep it up! 👏
@PaulSpades
@PaulSpades 7 місяців тому
Man, it's so refreshing to hear about a device from somebody that knows what they're talking about (mips, arm, ppc experience). Does this little chip have any audio capabilities?
@apalrdsadventures
@apalrdsadventures 7 місяців тому
It doesn't show up in the peripheral docs, but it looks like it does potentially support using the ADC input for audio. I'm not sure really. My guess is yes, since it's a security camera chip, but software support might not be all there.
@user-yv1qs7sy9d
@user-yv1qs7sy9d 7 місяців тому
@@apalrdsadventures According to the docs there is an audio subsystem with I2S and PCM capabilities. Also, regarding the RISC-V branching instructions, I am not sure what you mean by doing a subtraction first. RISC-V doesn't need an extra subtraction, it happens internally with the branch instructions, which admittedly is a small difference. By the way, BEQZ is not a real instruction, it gets expanded to BEQ x0 by the assembler. The compiler here hides some things.
@deamit6225
@deamit6225 7 місяців тому
a great job on explaning the assembly for each different architecture ^^
@Timi7007
@Timi7007 7 місяців тому
Didn't expect to dive into systems architecture like this when I opened UKposts for dinner, but thanks! The sysadmin stuff is what I do myself, this is a topic I'm not familiar with (other than hearing about it) so this video was really interesting and so well explained/delivered I feel like I actually understood!
@fakecubed
@fakecubed Місяць тому
I come from the computer science world, so while I did some assembly (in MIPS) in college it wasn't a major part of my education. Also did only a little with hardware. If I could do it all again I think I might have chosen computer engineering. I tinker around with dev boards and I love the hardware side of things. While the pure theory stuff with algorithms scratches an intellectual itch, the fact is we live in the physical realm and doing stuff with microcontrollers and small boards and all the various I/O they offer makes for some fun and very practical projects. Honestly, college was wasted on me. I had all this opportunity to take classes in network security, robotics, computer engineering, etc. but never took advantage when I was there. I just wanted to get my degree and get out into the real world. I should have taken so many more electives in related fields. So now I just learn this stuff on my own with the internet as a resource. I'm also really into radio stuff, got my ham license.
@EntirePooch
@EntirePooch 5 місяців тому
Really awesome video, and solid channel! I don't have time to watch most of this right now but i'm commenting to remember to watch it in the future
@HaydenLikeHey
@HaydenLikeHey 6 місяців тому
Great vid! Enjoyed seeing the C for the morse code, the assembly tour, and kernel recompilation! Those are my jams 😎😎
@stevenpauly8319
@stevenpauly8319 6 місяців тому
Really enjoyed your presentation and video. I especially liked your c and asm walkthrough. I think you would make a GREAT teacher as well. Looking for more content like this.
@rufusmurphy9990
@rufusmurphy9990 7 місяців тому
I love the way you present "the most complicated way of producing the ubiquitous 'Hello World' program yet" in such a deadpan manner. apalrds adventures is always full of funny, if unintentional, turns 😂😂😂
@BartPolot
@BartPolot 7 місяців тому
This is one of the best videos I've seen in the past few months, at least. Super well explained, useful interjections and lots of info about the different asm variants. Plus the board itself looks super interesting, I just wish there was a European reseller or something. Or that it wasn't sold out... Again, excellent video, keep up the good work!
@therealchayd
@therealchayd 7 місяців тому
They do ship to Europe, I ordered a bunch of these direct from milk-v and they got to the UK within a week.
@masterkamen371
@masterkamen371 2 місяці тому
​​​@@therealchaydThey do, but it turns a 10€ computer into a 30€ computer. Plus the possibility of huge import taxes. At that point you might as well get a more capable device. It's only worth it if you're buying in quantity.
@miscme7116
@miscme7116 7 місяців тому
Very nice little board. I can think of tons of things to do with this. Thank you for the in-depth and detailed video!
@Metros23
@Metros23 6 місяців тому
As an average Joe, what are some practical uses for this board?
@artistlovepeace
@artistlovepeace 7 місяців тому
Thank you, apalrd's adventures for the demo. Great job!
@ArnaudMEURET
@ArnaudMEURET 7 місяців тому
I really enjoyed the gentle trip back to asm. 😊
@bogey4741
@bogey4741 4 місяці тому
Very nice! Riscv really has got me excited too! I’ve been learning riscv assembly. So fun!
@peterfistin8584
@peterfistin8584 4 місяці тому
Excellent video. I like your straightforward approach of showing the board...showing the compiled code. Good explanation of instructions and history. I have been working with low level code for 12 years now and did not know about the 16-bit ones 😂😂
@martinhsl68hw
@martinhsl68hw 7 місяців тому
Great stuff! Mr Sherlock realized there was some attention being given to something that was not him and came to politely point this out.
@jimlynch9390
@jimlynch9390 7 місяців тому
Wow! I'm seriously impressed by your knowledge and, of course, this video. I was as involved with assembly language 50 years ago as you are now. I cut my teeth on the IBM 7074 and the CDC 6000 series. I also dabbled in Z80, 8080, 6800 and 6502. I wrote a rudimentary OS for the 6502 using a Tarbell floppy controller and a couple of 8" floppy drives all in assembly language. So this video took me back. Thanks!
@apalrdsadventures
@apalrdsadventures 7 місяців тому
I've never had to work on an 8-bit system other than the HCS12 (which is "16-bit" with a lot of 8-bit legacy). All 32-bit from then on!
@ray-charc3131
@ray-charc3131 7 місяців тому
8 bits micro-controller, writing assembly language to it, no need to purchase seperate complier to run it, complier is not free of charge 20 years ago
@BruceHoult
@BruceHoult 4 місяці тому
CDC 6000!!! Wow! Arguably the first RISC ISA (Cray 1 was the 2nd), though the term hadn't been invented yet. With 15 bit and 30 bit instruction lengths it was really quite similar to RISC-V or Thumb-2. The only really weird (but valid) thing was there were no load or store instructions. Instead you just stored the desired memory address into one of the A registers and the corresponding X register was automatically loaded (A1-A5) or stored (A6-A7) from memory. I fall between you and Andrew. I started with 6502 and z80 (and TI and HP programmable calculators before them), went to university and used PDP-11 and VAX, and by the time I graduated the first 68000 Mac was out. I worked on a DG MV10000 supermini (VAX competitor) for a couple of years, but from 1987 on was exclusively Mac, then Linux in the late 90s when MacOS 9 was looking very dated, then back to OSX in combination with Linux. Later I got into compilers and ISA design (proprietary and RISC-V).
@calfolkionized
@calfolkionized 7 місяців тому
Thx for the introduction! Great video!
@digitalsparky
@digitalsparky 7 місяців тому
The major benefits of RISC are that it follows the KISS rule rather well, and is also modular IIRC.
@apalrdsadventures
@apalrdsadventures 7 місяців тому
With optional modules it's performant up to big systems, and without it's scalable down to small systems.
@digitalsparky
@digitalsparky 7 місяців тому
@@apalrdsadventures indeedilydoodily, plus you only have to pay for what you need :D.
@apalrdsadventures
@apalrdsadventures 7 місяців тому
ARM has sorta pay for what you need with the Cortex M/A/R families, but you still have to buy the core from ARM, with no options for alternate designs or designing the core yourself, and there aren't very many options.
@digitalsparky
@digitalsparky 7 місяців тому
@@apalrdsadventures true, and it's proprietary :P.
@RalphHightower
@RalphHightower 7 місяців тому
@apalrdsadventures In my retirement, I'm getting involved with RISC-V and ARM. Intel Core processors are so complex, I doubt I'd pick that up.
@vintagekyoshodotcom
@vintagekyoshodotcom 7 місяців тому
Hello! OI just found your channel! I am so happy I did, you do so many things I want to do or am doing. Use Linux a lot but you do so much more than me. Programming in SDL2 on linux mostly but I have other things too. Looking forward to catching up on all your videos.
@seanomik6176
@seanomik6176 7 місяців тому
Awesome video, I'm going to grab a couple of these soon, thanks!
@comosaycomosah
@comosaycomosah 3 місяці тому
Wow!!!! I gotta buy one of these. Love your videos man keep it up
@bass9112
@bass9112 6 місяців тому
thanks for the code, i will be studying it and using it when i get my board
@WobblycogsUk
@WobblycogsUk 7 місяців тому
I'd love to see more like this. I've recently finished work as full time developer, I never got to do low level stuff but I was always interested. Here's an idea, maybe you could put together a short series of videos, say half a dozen, introducing people to RISC-V and low level development. We could pick up a board like this for cheap it to follow along. Obviously, this is a huge amount of work you'd have at least one person that was really interested :)
@apalrdsadventures
@apalrdsadventures 7 місяців тому
I have a video coming up using this to build a display, so I'm sure there will be plenty of embedded programming in that video. The nice thing about using Linux on this board is the development setup is way easier than using a microcontroller.
@AbhishekNigam
@AbhishekNigam 7 місяців тому
That is a great idea!
@Ismsanmar
@Ismsanmar 7 місяців тому
​@@apalrdsadventures Subscribed, and waiting for that video. I was thinking of using this board to drive a SSD1322 Oled at +60fps to replace some unobtainium VFDs.
@carriagereturned3974
@carriagereturned3974 6 місяців тому
dude, i did asm x86 it is just another level (back in 1999). You cannot compare it to JS or PY.
@AutobotsTransform
@AutobotsTransform 3 місяці тому
This is so interesting and very cool. Thank you for showing this to us. I am definingly going to give this a try.
@apalrdsadventures
@apalrdsadventures 3 місяці тому
Have fun!
@walterpark8824
@walterpark8824 7 днів тому
I like RISC-V. It seems highly comprehensible. This board and the work they put in to making it accessible and usable seems exceptional. I'll pick up a couple. And your discussion of it and of ISA's really enhances and completes the package! Thank you!
@arnesteinarson3645
@arnesteinarson3645 6 місяців тому
As an old "full stack dev" (including assembler on some archs) - it was a joy to listen to your presentation. The right level and speed for a more tech savvy audience. Thanks 🙂
@dasrael
@dasrael 7 місяців тому
Nice use of cloest space, I'm diggin it. Good vidya thanks!
@Glidedon
@Glidedon 3 місяці тому
Nicely done. Very well explained and interesting even though most of the programming stuff was over my head I still gained some insight. Subscribed😊
@apalrdsadventures
@apalrdsadventures 3 місяці тому
Glad you enjoyed it!
@jojodicus
@jojodicus 7 місяців тому
small correction: morse code is not a Huffman code, since it doesn't satisfy the prefix-property (meaning that no encoded letter is included at the beginning of another letter), which is the main point of doing Huffman encoding anyway. the benefit of these prefix codes is, that do not have to incorporate separations for letters, since you know exactly when a new symbol starts. there also exist "morse" codes which are prefix codes, but those are not as commonly used/known as the standard version. small example for the point above: take the morse sequence .-. this can be anything from these words: AE, EN, ETE or R with a prefix code (such as a Huffman code), there would only be one possible translation, even when omitting separation
@scoreunder
@scoreunder 4 місяці тому
this has always irritated me about Morse code
@masterkamen371
@masterkamen371 2 місяці тому
Yes, with Morse code you have to listen for the rhythm, if you listen to it as dots and dashes, chances are you'll just hear gibberish.
@rudypieplenbosch6752
@rudypieplenbosch6752 2 місяці тому
Very interesting, especially the assembly, i remember arm Assembler from a long while ago.
@davross600
@davross600 3 місяці тому
Subbed. Awesome explanation and walkthrough.
@LowkeyAbu
@LowkeyAbu 7 місяців тому
So cool, can't wait to get my tinkering hands on one!
@zyghom
@zyghom 7 місяців тому
and I enjoy your videos from which I am learning and thank you for that ;)
@tirkentube
@tirkentube 7 місяців тому
very well made video my friend. keep it up!
@cheebadigga4092
@cheebadigga4092 7 місяців тому
So technically we could run statically compiled Go tools on it? Not sure if goc supports RISC-V, but since GCC does, GCCGO should work I guess. Edit: Just looked it up, there's actually a goc port for RISC-V. Nice!
@VolcanLAB
@VolcanLAB 5 місяців тому
I just ordered one! Amazing content!
@DiyintheGhetto
@DiyintheGhetto 7 місяців тому
I bought that board a month ago. I haven't gotten to it yet. So far it seems awesome.
@connorhoyle2926
@connorhoyle2926 Місяць тому
This is literally the best video on the milk v duo.
@meowcula
@meowcula 7 місяців тому
It's neat to hear about PowerPC again, I'm going to have to look at what modern applications are still using it.
@blevenzon
@blevenzon 7 місяців тому
Well this was fun, thank you 🙏
@MrjbushM
@MrjbushM 7 місяців тому
Cool little chip, I think I will use it in future projects!
@Razor_Burn
@Razor_Burn 7 місяців тому
Thanks for sharing as most of the online stuff surrounding this neat RISC-V board is in Chinese. Look forward to future Milk-V content 👍
@gregsuarez5205
@gregsuarez5205 Місяць тому
Thanks for the video. I like RISC-V because I'm not locked in a ARM hold. Went to mentioned links but seems sold out. Will try back on occasion. Liked and subscribed!
@marcotenasalais6854
@marcotenasalais6854 4 місяці тому
Finally getting around to ordering some to play with!
@drelephanttube
@drelephanttube 4 місяці тому
Great video, thanks for that!
@bobbymah2682
@bobbymah2682 6 місяців тому
Thanks for this awesome video.
@wardnath
@wardnath 6 місяців тому
Great overview, thanks!
@user-mf3zn3cm8z
@user-mf3zn3cm8z 7 місяців тому
Any help on setting up Visual Studio Code for the MilkV-Duo would be appreciated. Great video! More videos on this part would be super.
@AutomationDnD
@AutomationDnD 6 місяців тому
_Very _*_COOL_* , when younger I did some basic electronics This makes me wanna get BACK To it (totally) *And ALSO* Learn Linux I'm faintly familiar with Linux but....... This is *COOL HARDWARE* ....... Great Presentation
@mischas3672
@mischas3672 4 місяці тому
Great stuff, thank you! Keep fighting the ipv6 fight
@apalrdsadventures
@apalrdsadventures 4 місяці тому
They actually merged my kconfig changes and included them in the future releases, so no more need for my builds to get v6 support!
@thenarrowtruth8480
@thenarrowtruth8480 3 місяці тому
i snapped up out of my chair with the GYAAAATTT eyes at this LITERALLY .... thank you for putting this in my algorithm sir , i could almost cry
@yorks_atheist3069
@yorks_atheist3069 7 місяців тому
Good timing have 2 of these on order with breakout and camera
@rbus
@rbus 7 місяців тому
Been messing with MIPS64, not with SGI hardware (tho I've got an Octane2, O2 and others) but with an Exablox RAID appliance that I picked up on eBay and discovered it's a Cavium Octeon 6-core machine running on a barebones Busybox Debian, 16GB of RAM. Octeon hardware is pretty interesting as there's hardware packet processing, hardware REGEX for packet inspection and gzip compression in hardware.
@emilianotechs
@emilianotechs 7 місяців тому
I did not understand most of this video but I still enjoyed it thank you 😂
@2u263
@2u263 5 місяців тому
👍Fascinating... but I'm banging my head on the Proxmox VDI videos 🤣
@bitlong4669
@bitlong4669 7 місяців тому
Nice explanation. Interesting channel. Subscribed!
@austinrhoads
@austinrhoads 4 місяці тому
This is so cool! I would like to see it run some CLI applications though.
@cyclemoto8744
@cyclemoto8744 6 місяців тому
Thank you. Cheers from OZ
@RalphHightower
@RalphHightower 7 місяців тому
I've done assembly programming on the following systems: DEC PDP-8, DEC PDP-11, Intel 8080/85 (& Zilog Z80), Motorola 680X0, IBM 360/370. At Bankers Trust of SC, I had to add the check number to a tape that was read by a microfiche writer. The PL/1 was impossible to understand with way too many GOTO's. I rewrote that in 370 assembly. The mainframe operators said that the program nearly spun the tape off the tape drive.
@MarcosCpp
@MarcosCpp 5 місяців тому
Caraca, um dos melhores vídeos que assisti ultimamente no UKposts!
@shephusted2714
@shephusted2714 7 місяців тому
we need clx for prosumers and also gpu #eat the document this was an informative look as you included all the arcane and dirty work - setting it up and looking at what is included - riscV will be a force in a few years and challenge arm and x86 - more room for innovation
@vb7913
@vb7913 6 місяців тому
Very knowledgeable video!
@letronix6243
@letronix6243 7 місяців тому
Finally a video about MilkV. That company is new and insane! Not seeing any videos or things on the internet made me think it's a bit underrated.
@apalrdsadventures
@apalrdsadventures 7 місяців тому
Hoping to explore the Mars next, when it releases
@impactframes
@impactframes 7 місяців тому
I didn't knew the riscv until I found it mentioned on a recent comment on a Jhon Carmack post about OSS
@amitvikrampujar5517
@amitvikrampujar5517 6 місяців тому
Great video! Can you suggest any serious application (in the sense that where it's necessary to use) of embedded system that is required by the industry? P.S.: I live in India & here the home automation/smart home doesn't really have any demand
@00Tenrai00
@00Tenrai00 6 місяців тому
Very informative… camera looked better than most mid-rang leaning towards high end commercial security cameras! Good job…
@apalrdsadventures
@apalrdsadventures 6 місяців тому
It's $3.50 for the camera module, but I agree it does look pretty good for the price.
@Gabs_Labs
@Gabs_Labs 6 місяців тому
I don't know most of the terms, but I really liked the video!
@protektwar
@protektwar 3 місяці тому
Are you able to do something else with that board beside the blinking and text in the console? I'm trying to read values from DHT22 sensor and from BMP180... from DHT22 nothing and when interface BMP180 over i2c I'm getting "[ 211.327994] i2c_designware 4000000.i2c: i2c_dw_handle_tx_abort: lost arbitration" I wonder is something works on the board...
@apalrdsadventures
@apalrdsadventures 3 місяці тому
It has a bunch of UARTs, two SPI, and I2C. So yeah, it can do it using the normal Linux functions (uarts act as tty serial, SPI uses spidev, and I2C uses the I2C bus functions in Linux.
@supremebeme
@supremebeme 7 місяців тому
subscribed thanks to laymans explanation of arm vs x86
@u9vata
@u9vata 7 місяців тому
This looks like the most awsome device!
@_TheDudeAbides_
@_TheDudeAbides_ 22 години тому
Amazing video!
@FinlayDaG33k
@FinlayDaG33k 6 місяців тому
I should get looking into this some more, would make like a nice cheap DIY reverse camera for my car.
@microcolonel
@microcolonel 7 місяців тому
It'll be cool to see RTOSes and SeL4 on these types of computers.
@fbifido2
@fbifido2 7 місяців тому
does the board do Hardware Acceleration for audio/video. compression/decompression, network, etc...?
@obsidianskin9502
@obsidianskin9502 6 місяців тому
very compelling video. I might need to get me one of these system on a chip doohickeys
@robertfurr4678
@robertfurr4678 7 місяців тому
I thought that the Duo was doomed to obscurity, but it's been amazing to see it get more popularity and support. Fairly recently I setup X11 forwarding (something it shouldn't do) and used MPV to rickroll Milk-V forum members lol
@apalrdsadventures
@apalrdsadventures 7 місяців тому
I'm guessing it's using quite a bit of swap doing x11 applications?
@robertfurr4678
@robertfurr4678 7 місяців тому
​@@apalrdsadventuresyes, for some reason Milk-V includes a whopping 256mb swap partition with the default image, but you need to manually mkswap and swapon it yourself
@Austin9Lee
@Austin9Lee 6 місяців тому
The shipping price scared me off for now but I want to test drive RISC-V and will keep an eye out for another group-buy. I appreciate your great taste in keyboards and t-shirts
@BruceHoult
@BruceHoult 4 місяці тому
My Duo cost $14.62 USD including shipping from China across the Pacific to New Zealand.
@ToekneeToe
@ToekneeToe 4 місяці тому
Big Thanks!
@manolo-xamigax
@manolo-xamigax 7 місяців тому
Thanks for this refreshingly amateur video. I can hardly remember the last time I heard someone speaking about mips and powerpc in the same breath ! Obviously, I like a lot ideas behind open source ISA, hence RISC V. First time on your channel, I bet I will enjoy watching some more videos. Subscribed, but the way.
@hyretech
@hyretech 5 місяців тому
just missed the group buy... are there any US distributors for this board? (Can I get it on digikey, newark, or mouser?)
@Ben_EH-Heyeh
@Ben_EH-Heyeh 4 місяці тому
Can it run Lem Editor? Ncurses of course. As a test, to write a Machin-Like formula to calculate Pi to 100 and 1000 digits, how long would it take? on this MilkV board?
@BearMeat4Dinner
@BearMeat4Dinner 7 місяців тому
Worth it!!❤❤❤
@KoltPenny
@KoltPenny 2 місяці тому
1:14 "The instruction set is not particularly complex" Well, I think that was the whole point!
@ckbne
@ckbne 7 місяців тому
Another fantastic video thanks again... Is there any possability to compile Handbrake for RISC-V to use these boards as network workers. Super cheap way to get lots of scaled compute! Love to explore this if you have the time. Im dreaming of 10 of these plgugged into a USBC Hub on my PC. My 1000s of DVD can get squeezed into my true NAS a little quicker. Thanks. Craig.
@apalrdsadventures
@apalrdsadventures 7 місяців тому
Handbrake is asking a lot... ffmpeg maybe, although there probably isn't the optimized assembly for libx264/x265 yet compared to x86 and ARM.
@parthsinghrajput2475
@parthsinghrajput2475 7 місяців тому
is this good for some light weight ml projects. I will be using cv2 and mediapipe lib for project.
@JeanMatthieuD
@JeanMatthieuD 7 місяців тому
Great video. Could you talk about the power consumption of the risk platform compared to x86 ? Or power consumption/ features of this board?
@apalrdsadventures
@apalrdsadventures 7 місяців тому
It's fairly implementation-specific, but this particular board uses about 0.4W in my testing (I think there's a pic with the USB-C power meter at one point). It's not doing much computational work, but it's also using basically no power. I'd need a more powerful SBC to do a better test.
@jnharton
@jnharton 7 місяців тому
RISC and CISC are general terms in computer science that describe the inherent complexity of the core instructions. --- Intel x86 hardware is nominally based on CISC design concepts, whereas Berkeley RISC-V is a fairly new architecture based on RISC design concepts. --- It's hard to make a real comparison of power consumption without comparably performant hardware, because you really want to measure computational power/watt of electricity consumed.
@jayt-ph1xd
@jayt-ph1xd 7 місяців тому
Voice volume is good now. Thanks.
@movax20h
@movax20h 5 місяців тому
Pretty cool. I heard of this board few weeks ago, and definitively going to grab few to do some testing and development. If you want to extend storage, you can use micro SD card, USB drive, or just mount some file system over network (i.e. NFS or sshfs). This way you could even get rid of cross-compiling and compile directly on board. Crazy.
@BruceHoult
@BruceHoult 4 місяці тому
Yes, 64 MB is just enough RAM to run a full current version Debian/Ubuntu/Fedora server install with about half the RAM free, making it possible to run emacs, gcc and so forth to edit and build small to medium programs. There has recently been a 256 MB version of this board announced, though we don't yet know the price or delivery date. My first Linux machine in the mid 90s (a Pentium Pro 200) had only 32 MB RAM!! Well, that really wasn't enough for serious work and I soon threw another 128 MB in the free sockets, which was ample at the time.
@movax20h
@movax20h 4 місяці тому
@@BruceHoult I see in their Git repo mention of a new model with 256MB of RAM, plus an extra core (ARM one, as an addition to existing to RISC-V cores; a bit weird, but ok).
@BruceHoult
@BruceHoult 4 місяці тому
@@movax20h yes, I mentioned that new board in the comment you replied to.
@movax20h
@movax20h 4 місяці тому
@@BruceHoult You are right! Thanks.
@GnuReligion
@GnuReligion 6 місяців тому
Hmm, if it has a couple of a/d converters, am wondering now if it has enough pins to control a 3d printer with 5 steppers. Have been able to do this with a stm32f103c8t6.
@JeffGeerling
@JeffGeerling 6 місяців тому
I like your shirt for the kernel build portion :)
@apalrdsadventures
@apalrdsadventures 6 місяців тому
Definitely a lot of kernel building when you play with RISC-V
@dishcleaner2
@dishcleaner2 Місяць тому
Cool video. I recreated the string C library in MIPS assembly back in college. Does anyone know of a good project to get into RISC-V assembly?
@patriot0971
@patriot0971 11 днів тому
I love all these dev boards but for embedded systems it would be hard to beat the older chips like Z80 or 6502 (and derivatives) with mature development tools. These chips will be great for edge computing and custom processing. Love the innovation here.
Raspberry Pi 5 vs N100 PC (featuring Ubuntu 23.10)
14:59
ExplainingComputers
Переглядів 386 тис.
RISC-V Week: 7 days only using RISC-V computers
25:40
ExplainingComputers
Переглядів 192 тис.
Піхотинці - про потребу у людях
00:57
Суспільне Новини
Переглядів 833 тис.
Godzilla Attacks Brawl Stars!!!
00:39
Brawl Stars
Переглядів 9 млн
Піхотинець - про рутину на фронті
00:46
Суспільне Новини
Переглядів 570 тис.
RISC-V 2024 Update: RISE, AI Accelerators & More
14:03
ExplainingComputers
Переглядів 73 тис.
RISC-V isn't killing Arm (yet)
9:05
Jeff Geerling
Переглядів 326 тис.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Переглядів 184 тис.
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 728 тис.
This Might Be The Perfect Mini PC
17:35
Hardware Haven
Переглядів 380 тис.
Explaining RISC-V: An x86 & ARM Alternative
14:24
ExplainingComputers
Переглядів 411 тис.
My DIY 256-Core RISC-V
10:29
bitluni
Переглядів 114 тис.
The Genius of RISC-V Microprocessors - Erik Engheim - ACCU 2022
1:01:17
ACCU Conference
Переглядів 83 тис.
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Переглядів 300 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 41 тис.
НЕ ПОКУПАЙТЕ НОВЫЙ СМАРТФОН, ПОКА НЕ ВЫШЕЛ ЭТОТ [2024]
13:25
Thebox - о технике и гаджетах
Переглядів 80 тис.
Портативная PS 5 🎮 #ps5 #expressly
0:22
ExpresSLY Shorts
Переглядів 193 тис.
Broken Flex Repair #technology #mobilerepair
0:50
ideal institute aligarh
Переглядів 1,5 млн