balbes150 Posted June 13, 2022 Share Posted June 13, 2022 Added alpha version of image build support for RISC-V. So far, this is an early version and some of the functions do not work in it. Currently, support has been added for the StarFive model. https://rvspace.org/ Details can be seen in this topic. https://forum.rvspace.org/t/armbian-for-starfive-build-system-ubuntu-debian/468 Added support for Nezha D1 and Lichee RV (Dock) with Allwinner D1 RISC-V chip. To start the system. Download the image, unpack it, burn it to the SD card. Connect the SD card to the device and turn on the power. Further steps for initial setup are similar for all Armbian systems. For the Nezha D1 model, HDMI, LAN, USB, analog audio via 3.5 jack works. For Lichee RV Dock works HDMI WiFi USB USB-LAN Link to download images. https://disk.yandex.ru/d/da8qJ8wyE1hhcQ https://www.cnx-software.com/2021/12/30/sipeed-lichee-rv-risc-v-module-gets-5-carrier-board-with-hdmi-and-usb-ports-optional-wifi/ forum MangoPI https://forum.mangopi.org/ 2 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 14, 2022 Author Share Posted June 14, 2022 14 часов назад, Rich Neese сказал: is this a uefi or non uefi build / are you flashiing the spi to boot ? There is no UEFI for StarFive yet. The regular\factory u-boot is used in SPI (no u-boot is needed as part of the image). 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 15, 2022 Author Share Posted June 15, 2022 19 часов назад, Rich Neese сказал: might ask why put in tvbox and not its own branch and do you plan to nerge into the armbian-next so we can use the updatedd builder ? I use a separate branch to build RISC-V (it's called risc-v). To be included in the general build system, two conditions are needed, 1. debug the current state and remove temporary hacks. 2. coordinate the addition of a new architecture with the developer community (there are those who do not like when you add something new). 19 часов назад, Rich Neese сказал: BTW Nice work . Have you tested with Sid? I would like to see a debian Sid image for testing . To add Debian, we need to solve a number of problems with creating an additional repository, at the moment I am doing a number of works and after that I may be able to add Debian. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 16, 2022 Author Share Posted June 16, 2022 12 часов назад, Rich Neese сказал: Biggest issue I see is people will say Risc-v is not armhf/arm64 and should not be in the arm builder. Since the Armbian system build images for RPi and x86, it no longer matters, I have already written that "Arm_bian" does not mean ARM devices, but an "automated workplace (arm)" based on Ubuntu\Debian. For everyone. Good news, added initial support for building Armbian image versions for RISC-V models based on Allwinner D1 (Lichee RV, Nezha etc). 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 16, 2022 Author Share Posted June 16, 2022 Added support for Nezha D1 and Lichee RV (Dock) with Allwinner D1 RISC-V chip. To start the system. Download the image, unpack it, burn it to the SD card. Download the bootloader file and burn it to the SD card (a prerequisite, you need to record the bootloader strictly, after recording the system image). Connect the SD card to the device and turn on the power. Further steps for initial setup are similar for all Armbian systems. For the Nezha D1 model, HDMI, LAN, USB, analog audio via 3.5 jack works. https://disk.yandex.ru/i/fNXBTZx4XrgvHw 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 17, 2022 Author Share Posted June 17, 2022 11 часов назад, Rich Neese сказал: where is the os img? In the first message of the topic there is a link to a shared directory with images for all RISC-V. The language depends on what you choose when you first set it up. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 17, 2022 Author Share Posted June 17, 2022 New version 20220617 for all D1 models (Nuzha D1, LiheeRV dock etc). Added support for USB-LAN (tested working with rt8152 module). Important. Now there is no need to write the bootloader to the SD card separately, everything you need is already included in the image, it is enough to download, unpack and burn the image to the SD card, the system is universal and works well on all proven models with D1. Surprisingly, the system works quite smartly for a single-core processor and very modest resources (LicheeRV Dock with 512 MB of RAM) even with XFCE. At a low price for a set of LicheRV + Dock, this is a very promising direction. By the way, versions with 1 GB of RAM for Licher and 2 GB of RAM for Nezha have already been released. https://www.cnx-software.com/2021/12/30/sipeed-lichee-rv-risc-v-module-gets-5-carrier-board-with-hdmi-and-usb-ports-optional-wifi/ 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 18, 2022 Author Share Posted June 18, 2022 Added primary support for building Debian images (sid). I also uploaded a test image (20220618) of Armbian Debian Sid for Starfive to the site. There is a bug, the automatic locale setting does not work at the first start, the US locale is enabled by default, to enable others, you need to manually install and configure. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 20, 2022 Author Share Posted June 20, 2022 10 часов назад, Rich Neese сказал: so when will the sid xfce be ready It may be in a couple of days (but I don't guarantee it). 10 часов назад, Rich Neese сказал: icewm This is the main DE that I usually use. https://disk.yandex.ru/d/vdK8lvH0kUNcjw 9 часов назад, Rich Neese сказал: The sd card autoresize did not do its job .for the rootfs Interestingly, I didn't pay attention to it. Can you show the errors that occur if you run the script to automatically expand the partition ? 0 Quote Link to comment Share on other sites More sharing options...
Superkoning Posted June 21, 2022 Share Posted June 21, 2022 Oh, wow, it just works! I downloaded Armbian_22.08.0-trunk_Nezha_jammy_current_5.19.0_xfce_desktop.img.xz, burned it to a SD-card with balena-Etcher, put it into my Lichee Dock D1, booted it ... and it worked. Amazing! I connected a 10+ year old USB-to-ethernet adapter, and ethernet was working. Really impressive. Thank you! root@nezha:~# uname -a Linux nezha 5.19.0-rc1-d1 #trunk Fri Jun 17 14:51:17 MSK 2022 riscv64 riscv64 riscv64 GNU/Linux and root@nezha:~# lsusb Bus 004 Device 008: ID 0fe6:9700 ICS Advent DM9601 Fast Ethernet Adapter Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 0 Quote Link to comment Share on other sites More sharing options...
Superkoning Posted June 21, 2022 Share Posted June 21, 2022 With "apt update", I get: N: Skipping acquire of configured file 'main/binary-riscv64/Packages' as repository 'http://cli.github.com/packages stable InRelease' doesn't support architecture 'riscv64' N: Skipping acquire of configured file 'main/binary-riscv64/Packages' as repository 'http://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium InRelease' doesn't support architecture 'riscv64' ... is it safe to disable these two repo's? root@nezha:~# apt update Hit:2 http://ports.ubuntu.com jammy InRelease Hit:3 http://ports.ubuntu.com jammy-security InRelease Hit:4 http://ports.ubuntu.com jammy-updates InRelease Hit:5 http://ports.ubuntu.com jammy-backports InRelease Hit:6 http://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu jammy InRelease Hit:1 https://cli.github.com/packages stable InRelease Hit:7 https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. N: Skipping acquire of configured file 'main/binary-riscv64/Packages' as repository 'http://cli.github.com/packages stable InRelease' doesn't support architecture 'riscv64' N: Skipping acquire of configured file 'main/binary-riscv64/Packages' as repository 'http://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium InRelease' doesn't support architecture 'riscv64' 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 21, 2022 Author Share Posted June 21, 2022 45 минут назад, Superkoning сказал: . is it safe to disable these two repo's? yes 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 22, 2022 Author Share Posted June 22, 2022 14 часов назад, Rich Neese сказал: do you have a list for all the parts you put in icewn so we can match ? This is the build system that is used for altlinux (grep icewm) http://git.altlinux.org/people/balbes150/packages/?p=mkimage-profiles.git;a=summary 13 часов назад, Rich Neese сказал: now I wish they wout get jit9 working so we can have a propper web browser and other apps Altlinux has a MIDORI browser, I haven't checked, but it should work. 13 часов назад, Rich Neese сказал: I think it would be cool since we are also working on a riscv pc600 case for the board. sorry, I use a translator and I didn't understand exactly what it was about 10 часов назад, Rich Neese сказал: so keyrings are missing for the repo I haven't had time to add the installation of this package to the build system yet (add it to the list of installed packages when the build system is first started). Just install it through for now (to host) apt install debian-ports-archive-keyring 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 22, 2022 Author Share Posted June 22, 2022 12 часов назад, Rich Neese сказал: so keyrings are missing for the repo Updated the version of the assembler, there should no longer be an error when building Debian. 0 Quote Link to comment Share on other sites More sharing options...
Ricecracker Posted June 22, 2022 Share Posted June 22, 2022 Hi, I tried your image, but it boots automatically to my 4k resolution display. How can I boot into 1080p (in xfce)? I tried setting to 1080p on display settings but it doesn't work, it hangs. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 23, 2022 Author Share Posted June 23, 2022 10 часов назад, Ricecracker сказал: I tried setting to 1080p on display settings but it doesn't work, it hangs. You have not specified the full steps, no one will help without it. 0 Quote Link to comment Share on other sites More sharing options...
Ricecracker Posted June 23, 2022 Share Posted June 23, 2022 (edited) 14 minutes ago, balbes150 said: You have not specified the full steps, no one will help without it. I ran the app xfce4-display-settings , I selected the main display (the only display connected) and set it to 1920x1080, then the system showed the wallpaper, then it went black and nothing displayed again. When restarted it showed 4k resolution instead of the 1920x1080 resolution I set. Edited June 23, 2022 by Ricecracker Changed 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 23, 2022 Author Share Posted June 23, 2022 1 час назад, Ricecracker сказал: I ran the app xfce4-display-settings , I selected the main display (the only display connected) and set it to 1920x1080, then the system showed the wallpaper, then it went black and nothing displayed again. When restarted it showed 4k resolution instead of the 1920x1080 resolution I set. Judging by the description, you could not confirm the change of permission, of course it was not changed. Try to use the forced setting of the maximum resolution through the settings in extlinux.conf (look for information on the Internet, as they do). 0 Quote Link to comment Share on other sites More sharing options...
Ricecracker Posted June 23, 2022 Share Posted June 23, 2022 9 minutes ago, balbes150 said: Judging by the description, you could not confirm the change of permission, of course it was not changed. Try to use the forced setting of the maximum resolution through the settings in extlinux.conf (look for information on the Internet, as they do). Yes, I could not confirm it after clicking apply, the screen was going black. I put in extlinux.conf "video=HDMI-1:1920x1080@60" but that only changed the virtual terminal resolution to 1080p, when it booted to XFCE4 it went back to 4k. Any more advices? Thanks alot for your help btw. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 23, 2022 Author Share Posted June 23, 2022 1 час назад, Ricecracker сказал: Yes, I could not confirm it after clicking apply, the screen was going black. I put in extlinux.conf "video=HDMI-1:1920x1080@60" but that only changed the virtual terminal resolution to 1080p, when it booted to XFCE4 it went back to 4k. Any more advices? I am not a specialist in XFCE, but try immediately after writing the image to the SD card (before the first launch), immediately add the desired resolution to extlinux.conf, so that all the primary XFCE settings would immediately pass with this resolution. 0 Quote Link to comment Share on other sites More sharing options...
Ricecracker Posted June 23, 2022 Share Posted June 23, 2022 1 minute ago, balbes150 said: I am not a specialist in XFCE, but try immediately after writing the image to the SD card (before the first launch), immediately add the desired resolution to extlinux.conf, so that all the primary XFCE settings would immediately pass with this resolution. Ah okay thanks, thats very smart. I will try it 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 23, 2022 Author Share Posted June 23, 2022 New ver 20220622 for D1 (Nezha Lichee RV Mango MQ pro etc) and StarFive V1 (u740) add image Debian Sid (server and DE XFCE). 1 Quote Link to comment Share on other sites More sharing options...
Bret Posted June 23, 2022 Share Posted June 23, 2022 6 hours ago, balbes150 said: New ver 20220622 for D1 (Nezha Lichee RV Mango MQ pro etc) and StarFive V1 (u740) add image Debian Sid (server and DE XFCE). Thank you for all of your work on this! You've made a lot of MangoPi board holders happy 😄 1 Quote Link to comment Share on other sites More sharing options...
Superkoning Posted June 23, 2022 Share Posted June 23, 2022 51 minutes ago, Bret said: Thank you for all of your work on this! You've made a lot of MangoPi board holders happy 😄 Out of curiosity: - does network work? If so, via wifi, or with a ethernet-usb-module? - is the MangoPI pro still for sale? Sold out on Ali, AFAIK 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 24, 2022 Author Share Posted June 24, 2022 ver 20220624 fix locales Sid (debian) 0 Quote Link to comment Share on other sites More sharing options...
Bret Posted June 24, 2022 Share Posted June 24, 2022 22 hours ago, Superkoning said: Out of curiosity: - does network work? If so, via wifi, or with a ethernet-usb-module? - is the MangoPI pro still for sale? Sold out on Ali, AFAIK Yup, both WiFi and Ethernet via a USB Ethernet adapter I have here. HDMI output works on them too, it's a great starting point and the best option at the moment owners of the MQ Pro to get up and running. They're sold out now but there should be another run coming at some point soon given how quickly they've sold out of each run so far. They also have a quad core ARM board coming soon too. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 25, 2022 Author Share Posted June 25, 2022 Yesterday I received a package with several RISC-V . LicheeRV Dock 1Gb RAM https://aliexpress.ru/wholesale?catId=&SearchText=licheerv https://aliexpress.ru/item/1005003741287162.html?spm=a2g0o.store_pc_groupList.8148356.10.634c6c1eCMxAUV&pdp_npi=2%40dis!RUB!433%2C22 руб.!433%2C22 руб.!433%2C22 руб.!!!!%40211675cd16561459245752814e4dac!12000027023691112!sh&_ga=2.236496521.966620063.1656144952-1531286276.1577293564 Mango MQ Pro 1GB RAM https://www.cnx-software.com/2022/04/09/mangopi-mq-pro-a-20-risc-v-alternative-to-raspberry-pi-zero-w/ DongshanNeZhaSTU 512Mb RAM https://dongshanpi.aliexpress.ru/store/all-wholesale-products/1101988308.html?spm=a2g2w.detail.1000061.2.764e6552Vt9KGE&_ga=2.261221893.966620063.1656144952-1531286276.1577293564 quick check showed that the Nasha images run well and work on all D1 models. Show the correct RAM size. With DongshanNeZhaSTU, I have not yet been able to get USB to work, so management is only via LAN (ssh). 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 25, 2022 Author Share Posted June 25, 2022 23.06.2022 в 23:59, Superkoning сказал: - is the MangoPI pro still for sale? Sold out on Ali, AFAIK https://aliexpress.ru/wholesale?SearchText=MangoPi MQ-Pro 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 25, 2022 Author Share Posted June 25, 2022 15.06.2022 в 23:22, Rich Neese сказал: the bit thing is I can build images but they are not extlinux so I have to work on fixing this in the builder I have been working with that more of a straight bootstrap Can I see a link to this build system ? By the way, I used your settings to add ICEWM support and am now finishing the build and testing, after checking I will upload the images (dir 20220624) and update my GIT branch with IceWM support. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted June 25, 2022 Author Share Posted June 25, 2022 Icewm for Sid risc-v https://disk.yandex.ru/i/9JcsIs0qjggEhQ 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.