Hi I’m a teenager messing around with SBCs for the first time and I am not much technical. I am technical enough to understand what’s the purpose of the Duo and Risc V in general. Non-technical in the sense that I am new to coding or even compiling anything at all.
I don’t understand how to use the milk-v duo! I bought this back in june or july and I have been able to ssh into this check how much storage it has or how “cat /proc/cpuinfo” but from I haven’t gotten any progress, how will I do any development on this? It overwhelms me. I tried doing sudo apt update but sudo isn’t recognised “not found”. This is pretty much alien to me. Though I wish to learn the risc v assembly, i want to learn low level coding for a change! I absolutely love the idea that computers work by compiling high level langauges into low level like C or something then ASM and if i can learn risc v ASM, i would love to run code on this.
But I don’t understand milk v duo! I would appreciate support
alien is a tool to port RPM packages to Debian-based systems, or something.
You have your expectations, and without understanding what you’re doing and/or what to expect, you’re pretty much guessing around.
Yes, you do not understand. No, it is not Milk-V Duo you don’t understand. No matter which SBC you’re trying, you’re talking about some OS’s components. Not the board, nor the SoC.
By the way, it’d be good to start in the docs first, right?
Hi @reset7396 ,
I think, without offending anyone, it save to say that the Milk V Duo is not the most beginner friendly SBC out there. RaspberryPi and OrangePi etc are much more beginner friendly and you will find many more guides and resources for these boards. That being said, Milk V Duo exposures you to more of what is going on under the hood and can serve as really good platform to get a more detailed understanding of embedded Linux.
What would you like to build with your Duo? You mentioned you wonna work (play) directly Risc V assembler language. I guess in principle you should be able to do this with the system you already have?
As to your question on why sudo apt update returns not found. I assume that you are using the Milk V Linux image on your device. Bear in mind that this image is compiled with Buildroot (it is not Linux distribution) so programs like apt will not be included. Working directly with Buildroot can be very rewarding in terms of knowledge but it can also be a bit tidius. To add additional programs to your Buildroot image, you can either include them when you compile your Buildroot image or compile them interactively on your running system with tinyCC or other available compiler. As alternative, you may want to consider using an image based on one of many popular Linux distros available for Milk V, see this link. If you want a distro that uses apt as package manager I would recommend the Debian image (I use this one on my DuoS boards with emmc) or alternatively the Ubuntu image.
Hello,
I understand reset7396’s frustration, the Duo is a neat little package but the Linux image is not very friendly, at least for me who am a Raspberry Pi and Pine64 user. I plan to build an image where I can install software and compile directly from the board, but is someone knows about an image like that it would be great. You also cannot access the Internet from the Duo, that would also help a lot.
First, you can actually access the internets from a Duo board; yet it may be not very safe.
One option is soldering an 8p8c connector to the Ethernet port pins — a short cut of a patch cord, or a jack, or a mini Ethernet extension board.
Can also use the IO Expansion board (existing on the market or made yourself) as well.
Alternatively, can utilize the USB networking we already have and route traffic thru the computer you’re connecting your Duo board to.
There can be other ways too.
The Alpine Linux image that’s available from the various 3rd party links can be configured to use the ethernet on the IOB (or the onboard ethernet on the Duo S) fairly easily, and has apk available. From there you need to set it to pull the correct date via ntp (each time it starts) and then you can update apk and install software and do work on it via SSH.
If you want to do something with Milk-V Duo, You must build your own custom Buildroot OS image.
The buildroot OS is an embedded Linux distribution, It doesn’t include sudo and something as default image.
If you want to install software you want to use, You need to refer this article(Japanese) or this official documentation to build your own image.
and, you said that you want to learn about RISC-V Development, I recommend that you create a virtual machine(or WSL2 or something), install linux, then install the RISC-V toolchains to develop. (If you want a native development environment, you can choose a more powerful sbc than duo, like VisionFive2, Milk-V Jupiter etc.)