Orange Pi 5 - Easy Setup and Overview!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

no, it isnt. instead of using the long ass dd command to mirror the image, there is a reason etcher is included and prominently displayed in the chinese-only manual: it has an option to image copy the sd card to the nvme. use gpart to resize the partition afterwards. far simpler. this dude instead of finding a simple case screw to secured the nvme, he hot-glued the nvme to the board. im not saying hes an idiot, but hes a special
breed

👍︎︎ 4 👤︎︎ u/digby5 📅︎︎ Jan 11 2023 🗫︎ replies
👍︎︎ 2 👤︎︎ u/gdeLopata 📅︎︎ Jan 11 2023 🗫︎ replies

The way Orangepi recommends in the manual works faster

👍︎︎ 1 👤︎︎ u/Green-Pewdiepie420 📅︎︎ Jan 11 2023 🗫︎ replies
Captions
Raspberry Pis never seem to be in stock and when they are they sell out quickly you're limited by the quantity you can purchase It's a real mess So what alternatives are out there one of the latest single board computers to hit the market is the orange pi 5 It has some modern hardware making it one of the most powerful single board computer solutions available today and the best part It's actually available today. Like literally you can go buy one right now in this video I'm gonna give a quick overview of the orange pi 5 list some of the pros and cons and then configure it to boot from an m.2 SSD you heard that correct one of the coolest things about the orange pi 5 is that it has an m.2 Slot built right onto the bottom of the board now I've already gone through the learning curve and done all of the hard work in order to make your life easier So let's dig into the orange pi 5 Did you know that only 25% of the people who watch these videos are actually subscribers if you enjoy this kind of content And you'd like to keep up to date with crosstalk's latest videos. Go ahead and hit that subscribe button down below It's like giving us a nice warm virtual hug and best of all, it's absolutely free Let's start by talking about the orange pi 5 hardware. It's got some pretty impressive stats The CPU is a rock chip 8 core 64-bit processor and it comes in flavors of 4 8 16 or 32 gigs of RAM though Honestly 32 gigs of RAM on a single-board computer does seem a bit extreme to me if you need that much RAM You should probably just bump up to an Intel Nook or something However, if you are aware of a great use case for a single-board computer that actually requires 32 gigs of RAM put that down in The comments below I'd be curious to hear about that The orange pi 5 also features a Mali g610 GPU which boasts support for up to 8k video at 60 frames per second Which again, I don't see a lot of people buying this device for 8k video But perhaps if you're using it as a media server or something like that The extra GPU power can be useful beyond the CPU and GPU It also comes with a gigabit NIC a full-size HDMI HDMI connector as well as that m.2 slot for either an NVMe SSD or a combo Wi-Fi Bluetooth card now the orange pi 5 isn't the first board to come out that has an m.2 connector on it But I really really do love this feature for my orange pi 5 I purchased a 128 gig m.2 NVMe drive from Amazon for less than 20 bucks I've got links to all the products that I feature in this video down in the description below The nice thing about the m.2 SSD is that it is much much faster than micro SD as well as more reliable over time Plus the fact that it lives on the bottom of the board keeps everything nice and compact Versus the raspberry pi 4 which requires like an external SSD now The raspberry pi 4 still does have a couple advantages over the orange pi 5 depending on how you're using it such as the dual HDMI connectors versus the single HDMI connector on the orange pi 5 But to me the most glaring omission of the orange pi 5 is the lack of any wireless connectivity whatsoever There's no built-in Wi-Fi or Bluetooth now You can add Wi-Fi and Bluetooth by popping in a combo Wi-Fi and Bluetooth card into the m.2 slot But now you don't have anywhere to put your m.2 SSD So you kind of have to choose between wireless connectivity or onboard storage So either way you can always add external accessories to get everything you need But it would be nice if the orange pi 5 just had a Wi-Fi chip built into it. That'd be amazing one of the other things that I've really found challenging is the lack of online documentation as well as sort of Community feedback about this port it's brand new, right? So it's still in its infancy versus the raspberry pi 4 which has been around for like three years and it's got tons and tons Of online history of people, you know figuring out how to do stuff with it The orange pi 5 doesn't yet even have full OS support dialed in for example If you go to the orange pi 5 official downloads page, the orange pi OS folder is completely empty for this board There's also the popular armbian OS which did not have a page for the orange pi 5 Just a couple of weeks ago when I first received this board now, though It does have an orange pi 5 page and I've been able to Successfully install armbian onto the m.2 SSD of this board and boot off it without a micro SD card So the software and support is getting there but finding any answers about this board is, you know still pretty scarce now in order to Help combat that scarcity. I'm gonna show you in this video how to install orange pies flavor of Ubuntu 22.04 onto the orange pi 5 with a micro SD card and then I'm gonna further show you how to get everything to boot off Of the m.2 SSD so that no micro SD card is needed whatsoever to get started You're going to need an orange pi 5. You're also going to need a micro SD card I've also got some heatsinks that I've put on the board as well as that M.2 SSD links to everything that I use for my own orange pi 5 are down in the description below So in this video, I'm gonna brush through all of these steps pretty quickly But I do have an accompanying blog post which dives into everything into much more detail and allows you to copy and paste the Linux Commands that we're going to be using link down in the description below. All right to get started We are going to first set up our micro SD card. I'm using a SanDisk ultra 32 gigabyte micro SD card This is a class 10 SD card pretty standard stuff I'm gonna pop it into my computer here and then you want to navigate over to the orange pi 5 downloads page Which if you go to the product page for the orange pi 5 it's right here under download Now there are a bunch of different operating system options that you can use The official or orange pi OS doesn't appear to be there yet But they've got an Ubuntu image a Debian image an Android image, etc. We're gonna do the Ubuntu image So I'm going to click downloads here which brings me to this Google Drive and then we've got a couple of different versions We've got the desktop and server version of focal as well as jammy now focal is the 20 3.04 version of Ubuntu and jammy is the 22.04 version of Ubuntu. So we're gonna get the latest and greatest I'm gonna get the desktop version which has the XFCE GUI interface, so we're gonna go ahead and download that once you have that file downloaded You're gonna want to unzip it with something like WinRAR and you're gonna end up with a dot IMG file This is the image that can be flashed onto that micro SD card So let's go ahead and do that next to do that. We're gonna use a program called Balena Etcher now from here We basically pick that image file Then you pick your micro SD card and then you click flash and that's really all there is to it It will now flash the card and then when it's done you can boot the orange pi 5 directly to that micro SD card So while we're waiting for that to happen, let's go ahead and get our orange pi 5 all set up So here you can see the orange pi 5 now I put a bunch of heatsinks over the CPU the RAM chips it basically any exposed chip I went ahead and put a heatsink on I don't know if that's overkill or not But you know look better safe than sorry right on the bottom We have our m.2. So the m.2. This is a 2230 size m.2 It'll also take a 2242 size m.2 using this screw hole right here I was not able to find the appropriate m.2 securing screw So you need one that screws through this hole. This is not threaded So you basically have to find the right screw hardware Which I really was not able to find if you guys know of the right kit to buy So that you can get this screw on here. It's a really thin screw It's not the same standard m.2 screws that go on like a PC motherboard. It's smaller than that I was able to find the actual screw, but just not the part that secures it to the other side of the board So what did I do in that case? I just used some hot glue, right? So I took some hot glue and I popped it in there and it seems to be holding just fine Alright, so there we have that now. I also 3d printed this case here I have the STL file for this 3d printed case in the blog post. I like this one a lot It's really sturdy. Plus it has a lot of ventilation. It has a space for an optional fan If you want to put a fan on it And it also is a lot sturdier than the first case that I printed This is sort of the second design that I've tried out. I actually like this one a lot so we pop the board into this case like so then we put the top on and It snaps together without any screws or anything And now you can see we have access to all of the ports and we can even see our m.2 SSD Through the bottom of vent holes here. So now we have our board. We've got a case The case by the way is optional You don't have to have the case but I like to have it secured into a case and now we need to plug everything in So here I have HDMI. There is a full-size HDMI port I actually like the full-size HDMI port versus the Raspberry Pi which has that mini HDMI connector Ow. Just hit myself in the face with the audio connector Alright, so there is a spot for an eighth inch audio connector right next to the HDMI. That's optional I've got it just plugged into this little Bluetooth speaker right here that I'm not using as Bluetooth since there's no Bluetooth on this device But I do have the eighth inch plug plugged into the Bluetooth speaker. I'm gonna plug in Ethernet This is a gigabit Ethernet port right off the front and then we need a keyboard and mouse So you can use something like this, right? This is sort of a little trackpad USB keyboard mouse this works fine with it But it's just kind of a pain especially for a video like this I like to have a full-size keyboard and mouse and those are going to plug in like so and right as I finish Plugging all of these in our micro SD card is just about finished So I'm gonna pull the micro SD card out of my computer and then pop it into the micro SD card slot on the orange Pi 5 and we should be able to boot right into Ubuntu Alright, so the micro SD card has been inserted and now we just need to plug in power It gets power with USB type-c and it's the power connector that's right up here by the eighth inch audio Plug it in We should see a red light pop up right about there which allows us to know that it has power connected There is also by the way a power button Right here that you can use to reboot or power off or power on the device so that you don't have to keep constantly Plugging and unplugging the USB C power cord and as we can see on the screen here We are booting into Ubuntu and then it's going to automatically log us into the desktop interface logged in ready to go You can change these settings though so that it does require a username and password to log into the desktop But by default it just logs you right in So the first thing that we want to do is figure out what IP address was given to this device by the DHCP server So I'm going to come over here to applications And I'm going to go to terminal emulator I know this is gonna be very hard to see but I'm doing IPA and this is going to show me 192.168.200.158 So what we're going to do next is connect to this computer remotely Through my laptop so that I can actually record the screen and show you guys what I'm doing Okay, so from my laptop, I have used putty to connect to this IP address 192.168.200.158 yours is going to be a different IP address than mine So make sure you get the correct IP and we're gonna log in as root with the default password of orange pi All one word. There we go. We've logged in and we can see right here. It says general system configuration Orange pi dash configs. Let's go ahead and run that and take a quick look around This orange pi configuration utility gives us the ability to change a lot of things about the system itself Or the network or for instance the time zone if I want to select a specific time zone for me I am in America, Los Angeles There we go This is also where you can set settings like whether or not you're automatically logging into SSH when it boots up whether or not you're Automatically logging into the GUI when it boots up all of that can be determined through this configuration interface for now though We're gonna go ahead and exit and let's just run updates for the system So we're gonna say sudo apt update and and sudo apt upgrade dash Y This is a relatively new release. So I don't expect that there will be a lot of updates This should just take a minute. But if you're watching this, you know further in the future You might have more updates than I have here. Okay, so there we go Now if you want to just run off of the micro SD card, you're done at this point, right? You've got a full system up-to-date. You've got the GUI of Ubuntu and everything's ready to rock and roll But we want to be booting off of the m.2 SSD instead before we do that though Let's take a closer look at the different drives that are in play here, right? So we know we have the micro SD card that's gonna be one of our drives We know that we have the m.2 SSD That's going to be another drive and then we also have on board the orange pi 5 is what's called an SPI flash drive So it's a 16 megabyte SPI flash and that SPI flash is basically the way to say hey I'm gonna boot over here or I'm gonna boot over there and we can make changes to that SPI flash So that right now it's by default booting to the micro SD card. We need to tell that SPI flash Hey, no boot to the m.2 instead and there is a real simple way to do that But if you're like me and you've been messing around with the orange pi 5 a lot Every time you make a change or put in a new operating system You basically need to clear out that 16 megabyte SPI flash so that you can reuse it. It won't overwrite So you have to basically completely clear out all the partitions and then run the steps necessary To tell that SPI flash to boot off the m.2. So what we're gonna do here is Optional this is only if you've already put stuff on the m.2 or put stuff on that SPI flash Then you're gonna want to run these commands I mean, it's not gonna hurt if you run them anyways But these are the steps to basically reinstall the operating system onto the m.2 First thing we want to do is sudo fdisk-l and for all of you naysayers out there I know that I am logged in as root so I don't actually have to use sudo for these commands But it's just force a habit and you know, don't be so critical. Here are a few drives that we see in fdisk We have MDT block 0 16 megabytes This is the SPI flash drive and notice that the SPI flash drive right now has seven partitions on it If you are setting this up for the first time, I think you'll have zero partitions I think it'll be completely empty then scrolling down a little bit further. We have NVMe drives. So this is the slash dev slash NVMe zero and one this is my hundred and twenty eight gig NVMe that I've got strapped to the bottom of the orange pi five and Then if we scroll down even further, we've got slash dev slash MMC BLK one. This is the micro SD card So the first thing that I want to do is I want to clear out all of the existing partitions on both the SPI flash As well as the m.2 SSD. So let's do that right now. I'm gonna say sudo gdisk slash dev slash MTD block zero Okay, so if I hit P this is gonna show me all seven of those partitions P means print print out the existing partitions And I just want to delete them one by one So I'm gonna say D for delete and then we're gonna do one then we're gonna D for delete and we're gonna do two and So on and so forth until we get all of these deleted Okay, so now if I hit P we've got nothing I want to hit W which is gonna write these changes and yes And now let's do the same thing for the NVMe. So we're gonna do sudo gdisk slash dev slash NVMe zero and one if I hit P We can see that it currently has two partitions on it one boot partition and one that's just the rest of the space on that m.2, so we're gonna say D 1 D and now those are both gone if we hit P So let's write those changes as well again If I'm going too fast here Full instructions are in the blog post follow along with the blog post at your own speed. I've cleared out the partitions We are basically now ready to image an operating system on to that m.2 As well as tell the SPI flash to boot off of that and m.2 drive, but I don't have the image on here yet So like if you guys remember I downloaded that image from the internet and then I flash that image onto the micro SD card We essentially need to do that same thing. But this time we're gonna flash that image onto the m.2 SSD So to do that, we're gonna use Windows PowerShell But you can actually copy it over any way that you can actually get it onto the device, right? so like if you want to just put it on like a USB thumb drive and then you know bring that over here and plug It in and then copy it off of the USB thumb drive However, you want to do it is totally fine. The point is you need to get that image file Over to the orange pi 5. Okay, so in Windows PowerShell I've put myself into the directory where that image file lives And if I do a dir we can see that I've got the around 8 gigabyte image file. I'm gonna use SCP We're gonna say SCP which is secure copy or secure copy protocol and then I'm gonna hit o tab, right? And that's gonna fill out the rest of the file name for the image file space So that's the source, right? I want to take I'm copying from this source this image file I want to copy it over to the destination and the destination is going to be root at and then the IP address of the orange pi 5 which is 192 168 200 158 in my case your case is going to be different 192 168 200 158 Colon, and now we need to put the directory or file location where we need to store that file So I'm gonna put it in slash home slash orange pi Slash Downloads hit enter it should ask if we want to connect We're gonna say yes, and then it's gonna ask us for our root password, which remember by default is orange pi all one word enter and now that image file is copying from my laptop over to the slash-home slash orange pi slash downloads folder on the micro SD card that it booted up to originally, all right So we're gonna let that copy and then we will come back when it's done and we will flash the m2 SSD Our image file has now been copied over to the micro SD card that is currently running the Ubuntu OS on our orange pi 5 It is now time to prepare That SPI flash drive the 16 megabyte SPI flash drive and to do that we're gonna go back into orange pi config once in orange pi config go to system and Then install and then we want to come down here to option 7 Which is install update the bootloader on SPI flash and click OK followed by yes Now if your SPI flash has already been used like if it's full and pre partitioned You're gonna get an error when you say yes here It'll say something about not enough space on the SPI flash drive If that's the case you got to go back to earlier in this video when I deleted out all of the partitions and Go do that step first for now, though. We're gonna let this run It'll take about five or six minutes for this process to finish once that's completed you're gonna get kicked right back out to the system settings so we can say back and And exit and the next thing that we need to do is actually flash our image our operating system image over to the M.2 SSD and to do that there is a big long command that we need to copy and paste So let me go grab that right here You can see it on my screen and this is a command that I don't have memorized This is actually why I document everything in blog posts is really for my own benefit Right so that I can go back at some point in the future and say, you know, how did I do that again? Oh, yeah, here it is. So we're gonna take this command First we need to be in the folder where we copied that image file. So I copied it to home orange pi downloads So we'll say CD home orange pi downloads And if we look in here, we can see a seven point seven gigabyte file. So we're gonna say sudo DDBs equals 1m and then we can just say if equals o and hit tab and tab is gonna Autocomplete the rest of that file name for us so we don't have to worry about it Then we're gonna say o f equals this is the destination where we are flashing that image file or copying that image file slash dev slash nvme 0 and 1 and then we're gonna say status equals Progress now this is where you're gonna press enter and it's gonna take about two minutes for this command to flash that image file Over to the micro SD card that is running on the orange pi 5 However, due to the magic of editing and the magic of YouTube movie making I have actually done this already in the past This is the second time I'm recording this particular segment of this video Because the last time I recorded it my dog walked underneath my desk and pulled the power plug on my main camera So I lost all of that footage. I'm not gonna run the command here because of that I have already flashed it across if I was running the command However, I would tell you while it's flashing that this is the same process that you're gonna use for almost every operating system that You want to put on that M dot to SSD In fact, I use the exact same process to put armbian on here instead of Ubuntu and it works perfectly fine I was able to boot off of the Armbian image just like I am booting off the Ubuntu image here So we're gonna say shut down dash H now and that is going to shut down our orange pi 5 now that it's shut down I'm going to pull out the micro SD card and then we're gonna hit the power button to power it right back up and What you'll notice here is that it should boot Significantly faster than it did previously. There we go We are now back into the Ubuntu desktop in probably about 10 seconds from when I hit that power button One other thing that you need to know if you want to reuse the micro SD card in The orange pi 5 the data volume of this micro SD card has the same UUID or unique identifier as the data volume on the M dot to SSD So there's a command that you can run that will overwrite and randomize the UUID On this micro SD card so that you can use them both together Otherwise if I put this micro SD card back in and I reboot it's gonna boot right back to this micro SD card because the UUID Matches and it takes precedent over the M dot to SSD So you want to change the UUID if you're going to keep using the micro SD card I'm not going to put instructions for how to do that in this video But the blog post has full instructions on how that is done. Alright, so back in the orange pi This is now running off of our M dot to SSD so it's essentially a completely brand new version of the operating system, right? So if I say IPA in a terminal terminal emulator if the IP address is changed We're now 192 168 200 dot 159 So when we reconnect you want to reconnect to the new IP address This also means that any configuration changes that you had done while you were booting off the micro SD card Such as setting the time zone or setting any other settings in orange pi config Those are all going to have to be redone on this new operating system, but everything is working great Let's go ahead and pull up our web browser and go to YouTube and here we can see that the video is playing very nicely because of the GPU and the power of the CPU of this orange pi 5 and actually I'm wearing the exact same shirt in this video that I'm wearing right now. So it's like YouTube inception or something now remember also that I had plugged in an audio cable That I have plugged into this little Bluetooth box right here. Let me turn it on hundred megabits download eight to twenty five megabits upload priority residential is And then here you can see that I also now have audio coming out of YouTube as well Let me mute that again. All right, now you can see that I also have audio coming out of YouTube as well Everything is working perfectly fine. You can use Bluetooth again if you put in that wireless Wi-Fi and Bluetooth Chip instead of the m.2 Okay So I have now reconnected back into the orange pi 5 and we're going to let me actually stop this So I'm not messing with any of my benchmarks. We're gonna run an SSD Benchmark that will show us just how fast this m.2 SSD is in comparison to the micro SD card So if you go back to the blog post, there's a command that you can copy and paste right here From pi benchmarks calm. This is a great little application What this command does is it goes out and it installs all of the files that you need to run the benchmark Then it runs the benchmark then it asks you for a description as well as your alias And you don't have to put in an alias you can be anonymous if you want But if you do put in an alias it stores all of your benchmarks so you can look them up in the future and see What past benchmarks you have run? So right now it looks like it's running some of those tests and then it's going to ask us for some information So for description, I'm just gonna say orange pi five Ubuntu 2204 m.2 SSD for YouTube and Then for alias, I'm gonna say crosstalk solutions. All right, so the score that we got is really good. Look at that 19924 let's go on and head over to pi benchmarks calm and see how that score stacks up So if we come over here to fastest SSDs the absolute fastest one is Twenty four thousand three hundred and seven our score of nineteen nine puts us in about Sixth place as far as fastest average benchmarks for our particular SSD That's really really good. Now if we look at the fastest benchmarks for SD cards We're coming in at just over 2,000 a score of just over 2,000 So SD card was about 2,000 our m.2 SSD had a benchmark score of nineteen thousand nine hundred So you can see that it is Significantly faster to run off of an m.2 SSD For all of your single board computing needs and now here we can see my test has just popped up as the latest test result And we have our score of nineteen thousand nine hundred twenty four Running this Kiosu OEM PCI NVMe SSD on an orange pi five All right. So there you have it links to everything that I used in this video down in the description below including a link to the blog post that gives you those full-on step-by-step instructions for how to do exactly what I just did and if you're looking to keep this Party going click over here on the right for one of these videos that I have hand-picked for you to watch next The one on top is my very world-famous Getting started with Raspberry Pi 4 video and right below that we have a video on the latest last pass breach, which is important Information for anyone using last pass. Alright, we'll see you guys in the next video
Info
Channel: Crosstalk Solutions
Views: 237,806
Rating: undefined out of 5
Keywords: orange pi 5, orange pi 5 vs raspberry pi 4, orange pi 5 review, orange pi 5 emulation, orange pi 5 gaming, orange pi 5 16gb, orange pi 5 case, orange pi 5 performance, orange pi 5 benchmark, orange pi 5 ubuntu, orange pi 5 projects, raspberry pi 4, orange pi, crosstalk, crosstalk solutions, single board computer, single board computer 2023, single board computer projects, armbian, armbian linux, armbian install
Id: cBqV4QWj0lE
Channel Id: undefined
Length: 28min 9sec (1689 seconds)
Published: Tue Jan 10 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.