Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu
Which version of system do you use? Khadas official images, self built images, or others?
Self-built
Please describe your issue below:
Will images built for VIM3 with fenix run on VIM4? If not, will the fenix repo on github be updated to support VIM4 boards? I’d like to build custom images based on Ubuntu 20.04 that run on this platform
Yes, there already has a early version to support VIM4, you can check the VIM4 branch.
We are work on a new version to support VIM4, I will push to GitHub soon.
Nice. What distro do you want to make as there are so many flavors already and what difference will it have than the already existing ones?
No there is clear tutorial on how to make a distro but you can follow fenix guide to create your own distro for vim4 and make the necessary changes as per your taste.
I want to have the latest fedora run on it. I’m a Java developer so new to building Linux distributions. But as long as there is some documentation I’ll be able to work with it.
What would the high level steps be for getting fedora running on vim4?
hei, what is the status of this?
would be really nice to have ubuntu20 support so to install ROS noetic (last ros1 supported version)
the alternative is to build ros1 from source on ubuntu22, which seems a very painfull process…
thanks!
@numbqq so I built it correctly, I get the .img file but when I try to flash it on my VIM4 I get this error:
pol@pol-P15:~/repos/khadas/utils$ aml-burn-tool -b VIM4 -i /home/pol/repos/khadas/fenix/build/images/vim4-ubuntu-20.04-minimal-linux-5.4-fenix-1.0.11-220609-emmc-develop.raw.img
Burning image ‘/home/pol/repos/khadas/fenix/build/images/vim4-ubuntu-20.04-minimal-linux-5.4-fenix-1.0.11-220609-emmc-develop.raw.img’ for ‘VIM4’ to eMMC…
next try index 3, current opt arg /home/pol/repos/khadas/fenix/build/images/vim4-ubuntu-20.04-minimal-linux-5.4-fenix-1.0.11-220609-emmc-develop.raw.img
MSG[TLS]pkg path /home/pol/repos/khadas/fenix/build/images/vim4-ubuntu-20.04-minimal-linux-5.4-fenix-1.0.11-220609-emmc-develop.raw.img
MSG[TLS]exe run path:/home/pol/repos/khadas/utils/aml-flash-tool/tools/adnl
MSG[FLW]Aml_flow_init version V1.1-trunk Nov 1 2019!
MSG[FLW]Tooltype 3
DBG[FLW]ok in load lib AmlImagePack.so
MSG[FLW]OK leave Aml_flow_init
ERR[FLW]f(lua_res_release)L134:lua_res_release!
[ERR]f(AmlImagePack.cpp)L150:Err aml pkg magic 0x5085db4e
[ERR]f(aml_img_api_4_dll.cpp)L36:Fail in open img[/home/pol/repos/khadas/fenix/build/images/vim4-ubuntu-20.04-minimal-linux-5.4-fenix-1.0.11-220609-emmc-develop.raw.img]
ERR[FLW]f(usb_flow_img_load)L71:Fail in open img[/home/pol/repos/khadas/fenix/build/images/vim4-ubuntu-20.04-minimal-linux-5.4-fenix-1.0.11-220609-emmc-develop.raw.img]
ERR[FLW]f(Aml_Image_load)L176:Fail in read item from img, ret -72
ERR[TLS]f(main.cpp)L199:Fail in load img
You can log in using the debug port, desktop does not start and all I see is Khadas spash screen. I did not attempt to try to find a problem, just installed 22. and it works.
Just thought about this, might try this using the debug port and see what happens. login will be khadas
@foxsquirrel
thank you for the tip
I have been using Fenix to build all the possible combination of display managers and nothing seems to work.
the only image working out of the box is the -server, which does not provide a gui interface (of course)
Have you tried working on it via the backdoor debug port ? I don’t know enough about that issue to begin troubleshooting. It seems odd that it is actually running and gui is not. It might be the drivers for that kernel version and Ubuntu version just will not work.
I would like to get 20.04 going on the VIM4, if you find a solution please keep me in the loop.
Sorey but how is the usb host related?
Even if I flash the ubuntu server and then I install a gui via apt i have the same issue
The display manager does not work (service lightdm not started at boot for example
I will work on this more today
It’s not really a big issue to work without gui to be honest, just less convenient